diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2025-02-18 14:31:26 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2025-03-10 16:09:02 -0400 |
commit | 32a187da7622e8fdbdd275fb99c78e1927f8f602 (patch) | |
tree | 1310607be0af6428e1d903bea6f9e66938cb5d33 /gdb/m32r-linux-nat.c | |
parent | b3fa38aef59d97a8ce57395b1f3902f6361d9bd4 (diff) | |
download | binutils-32a187da7622e8fdbdd275fb99c78e1927f8f602.zip binutils-32a187da7622e8fdbdd275fb99c78e1927f8f602.tar.gz binutils-32a187da7622e8fdbdd275fb99c78e1927f8f602.tar.bz2 |
libiberty: move DW_LANG_* definitions to dwarf2.def
In order to get a "DW_LANG_* to string" function:
- move the "DW_LANG_*" definitions from dwarf2.h to dwarf2.def
- add the necessary macros in dwarf2.h to generate the enumeration
- add the necessary macros in dwarfnames.c to generate the "to string"
function
include/ChangeLog:
* dwarf2.h (DW_LANG, DW_FIRST_LANG, DW_END_LANG): Define then
undefine.
(enum dwarf_source_language): Remove.
(get_DW_LANG_name): Declare.
* dwarf2.def: Define DW_LANG_* constants.
libiberty/ChangeLog:
* dwarfnames.c (DW_FIRST_LANG, DW_END_LANG, DW_LANG): Define
then undefine.
Change-Id: I440aa2b1f55c7585d7e44c8fa7c41310b0ef2b3a
Cc: binutils@sourceware.org
Diffstat (limited to 'gdb/m32r-linux-nat.c')
0 files changed, 0 insertions, 0 deletions