diff options
author | Tom Tromey <tromey@adacore.com> | 2025-02-24 11:25:53 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2025-03-18 12:40:58 -0600 |
commit | 14e39db031266c570aadef8c61e1abbd17bd96da (patch) | |
tree | cd157669f7ae2b5ff109c6eb954aadda92dbaba0 /gdb | |
parent | dfcc760bcc714eb22110aa6fa2380053ccc688c5 (diff) | |
download | binutils-14e39db031266c570aadef8c61e1abbd17bd96da.zip binutils-14e39db031266c570aadef8c61e1abbd17bd96da.tar.gz binutils-14e39db031266c570aadef8c61e1abbd17bd96da.tar.bz2 |
Handle DW_END_default
I noticed that gdb doesn't handle DW_END_default. This patch adds
support for this.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/dwarf2/read.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index 6d173a5..e5417db 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -11783,6 +11783,9 @@ die_byte_order (die_info *die, dwarf2_cu *cu, enum bfd_endian *byte_order) { switch (*endianity) { + case DW_END_default: + /* Nothing. */ + break; case DW_END_big: new_order = BFD_ENDIAN_BIG; break; |