diff options
author | Nick Clifton <nickc@redhat.com> | 2020-03-06 14:52:14 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-03-06 14:52:14 +0000 |
commit | 31bf18645d98b4d3d7357353be840e320649a67d (patch) | |
tree | 19e76bea23da3a56de6a64b949a4a8f3cd810fbd /gas/dwarf2dbg.c | |
parent | 09f2921cc95466db159cbf0476e1a8eeeee1806b (diff) | |
download | gdb-31bf18645d98b4d3d7357353be840e320649a67d.zip gdb-31bf18645d98b4d3d7357353be840e320649a67d.tar.gz gdb-31bf18645d98b4d3d7357353be840e320649a67d.tar.bz2 |
Add support for --dwarf-[3|4|5] to assembler command line.
PR 25612
* as.c (dwarf_level): Define.
(show_usage): Add --gdwarf-3, --gdwarf-4 and --gdwarf-5.
(parse_args): Add support for the new options.
as.h (dwarf_level): Prototype.
* dwarf2dbg.c (DWARF2_VERSION): Use dwarf_level as default version
value.
* config/tc-ia64.h (DWARF2_VERISION): Update definition.
(DWARF2_LINE_VERSION): Remove definition.
* doc/as.texi: Document the new options.
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r-- | gas/dwarf2dbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index 40a4435..7384a17 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -89,7 +89,7 @@ #endif #ifndef DWARF2_VERSION -#define DWARF2_VERSION 2 +#define DWARF2_VERSION dwarf_level #endif /* The .debug_aranges version has been 2 in DWARF version 2, 3 and 4. */ |