This is the mail archive of the gdb-patches@sourceware.org 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: FYI: fix PR 9708


>>>>> "Daniel" == Daniel Jacobowitz <dan@codesourcery.com> writes:

Tom> Yes, I think we should also omit DW_TAG_subprogram here.  I just didn't
Tom> think of it.  I can either just check it in, or if you have an easy way
Tom> to test it, let me know.  I've appended the patch.

Daniel> The patch looks good to me; would you mind committing it?

I'll commit it shortly, here is the ChangeLog entry:

2010-03-15  Tom Tromey  <tromey@redhat.com>

	* dwarf2read.c (die_needs_namespace): Also return 0 for
	DW_TAG_subprogram.


Tom> opsy. nm pr | grep themagicstatic
Tom> 080497de V _ZZN1K1mEvE14themagicstatic
Tom> 080497dd V _ZZN1K1mEvE14themagicstatic_0

Daniel> For added amusement pipe that to c++filt.  They demangle the same.
Daniel> Doesn't that seem like a bug?

Yeah, though printing the _0 form would also be weird.
Strange situation.

Tom


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