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: RFC: fix PR 12707


On Mon, 14 Jan 2013 20:31:09 +0100, Tom Tromey wrote:
> Second, I had to change cmpd-minsyms.exp to account for the symtab.c
> change, which in turn was required to align symbol_find_demangled_name
> with what dwarf2read.c is doing.

Yes, this is a problem I faced when thinking about fixing this issue:


$ nm -C gdb.cp/cmpd-minsyms
000000000040067d W int GDB<char>::even_harder<int>(char)
FSF GDB:
(gdb) b int GDB<char>::even_harder<int>(char)
Breakpoint 1 at 0x400681
patched GDB:
(gdb) b int GDB<char>::even_harder<int>(char)
Function "int GDB<char>::even_harder<int>(char)" not defined.
Make breakpoint pending on future shared library load? (y or [n]) 

(The ticks ' do not help it.)

I find "int GDB<char>::even_harder<int>(char)" to be a valid (or at least also
valid) demangled name for that function so I believe GDB should know that
name.


Thanks,
Jan


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