]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Handle DW_END_default
authorTom Tromey <tromey@adacore.com>
Mon, 24 Feb 2025 18:25:53 +0000 (11:25 -0700)
committerTom Tromey <tromey@adacore.com>
Tue, 18 Mar 2025 18:40:58 +0000 (12:40 -0600)
I noticed that gdb doesn't handle DW_END_default.  This patch adds
support for this.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/dwarf2/read.c

index 6d173a54af19200f767af29255da2983e07057d1..e5417db8d5f938415de960e4623cf3ca35bca736 100644 (file)
@@ -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;