This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 08/10] dwz -m support

On Wed, 18 Jul 2012 21:59:04 +0200, Tom Tromey wrote:
> This patch does all the actual work of supporting 'dwz -m'.

It does not work for macscp.exp:
+UNSUPPORTED: gdb.base/macscp.exp: Skipping test because debug information does not include macro information.

There is needed at least the patch below but then is still some mismatch
between main and .dwz file.

There is also this regression:
FAIL: gdb.cp/namespace.exp: whatis C::cOtherFileType
FAIL: gdb.cp/namespace.exp: whatis ::C::cOtherFileType
FAIL: gdb.cp/namespace.exp: print AAA::ALPHA


diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 8868540..a8b848e 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -17863,6 +17863,8 @@ dwarf_decode_macros (struct dwarf2_cu *cu, unsigned int offset,
 	case DW_MACRO_GNU_define_indirect:
 	case DW_MACRO_GNU_undef_indirect:
+	case DW_MACRO_GNU_define_indirect_alt:
+	case DW_MACRO_GNU_undef_indirect_alt:
 	    unsigned int bytes_read;
@@ -17873,6 +17875,7 @@ dwarf_decode_macros (struct dwarf2_cu *cu, unsigned int offset,
 	case DW_MACRO_GNU_transparent_include:
+	case DW_MACRO_GNU_transparent_include_alt:
 	  /* Note that, according to the spec, a transparent include
 	     chain cannot call DW_MACRO_GNU_start_file.  So, we can just
 	     skip this opcode.  */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]