This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: fix PR 12707
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 15 Jan 2013 18:21:49 +0100
- Subject: Re: RFC: fix PR 12707
- References: <87r4lno936.fsf@fleche.redhat.com>
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