This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] print_frame add info
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: William Douglas <william dot douglas at intel dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 18 Dec 2012 09:32:52 +0100
- Subject: Re: [PATCH] print_frame add info
- References: <87ehiocel0.fsf@intel.com>
Hello,
On Tue, 18 Dec 2012 02:51:39 +0100, William Douglas wrote:
> I want to have gdb's output for shared objects' stack frames changed to
> append the from /path/to/lib.so.1 even if the function name or file name
> are available.
>
> It would make things easier for me when I don't readily know what
> library a certain file is in and the change doesn't seem especially
> drastic.
This is a several years lasting plan. It was at least posted in:
http://sourceware.org/ml/gdb-patches/2011-07/msg00796.html
* It should be configurable.
* One of the options should be to print just basename.so.
The lines should not become needlessly long.
* IMO it should be before the function name so that one can copy-paste it as
a linespec to "break" and other commands.
But linespec should be able to parse "objectname:funcname" which it
currently cannot.
And I was not sure how well will one parse "objectname:funcname" in linespec,
Keith Seitz is rewriting the linespec parser somehow.
Thanks,
Jan