Re: [PATCH] print_frame add info

Jan Kratochvil
2012-12-18T08:33:07Z

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