diff options
author | Richard Henderson <rth@redhat.com> | 1999-06-03 02:51:53 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 1999-06-03 02:51:53 +0000 |
commit | fac0d250c7f0efc521ef26519d8ab384a6f60e4d (patch) | |
tree | 11f9a1ae1357e3b34af43e02750f98f4e1c69d0e /gas/as.c | |
parent | b585bc2c0ac716d16d6db3bdfe9f4524de1d7149 (diff) | |
download | binutils-gdb-fac0d250c7f0efc521ef26519d8ab384a6f60e4d.tar.gz |
* as.c (parse_args): Add option -gdwarf2 to allow requesting
DWARF2 debug info (line information only, at this point).
* as.h: Update comment about supported debug formats.
* dwarf2dbg.c, dwarf2dbg.h: New files.
* Makefile.am (GAS_CFILES, HFILES, GENERIC_OBJS): Add them.
Diffstat (limited to 'gas/as.c')
-rw-r--r-- | gas/as.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -143,6 +143,7 @@ Options:\n\ m include macro expansions\n\ n omit forms processing\n\ s include symbols\n\ + L include line debug statistics (if applicable)\n\ =file set listing file name (must be last sub-option)\n")); fprintf (stream, _("\ @@ -365,7 +366,9 @@ parse_args (pargc, pargv) #define OPTION_STRIP_LOCAL_ABSOLUTE (OPTION_STD_BASE + 15) {"strip-local-absolute", no_argument, NULL, OPTION_STRIP_LOCAL_ABSOLUTE}, #define OPTION_TRADITIONAL_FORMAT (OPTION_STD_BASE + 16) - {"traditional-format", no_argument, NULL, OPTION_TRADITIONAL_FORMAT} + {"traditional-format", no_argument, NULL, OPTION_TRADITIONAL_FORMAT}, +#define OPTION_GDWARF2 (OPTION_STD_BASE + 17) + {"gdwarf2", no_argument, NULL, OPTION_GDWARF2} }; /* Construct the option lists from the standard list and the @@ -546,6 +549,10 @@ the GNU General Public License. This program has absolutely no warranty.\n")); debug_type = DEBUG_STABS; break; + case OPTION_GDWARF2: + debug_type = DEBUG_DWARF2; + break; + case 'J': flag_signed_overflow_ok = 1; break; |