From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: William Douglas <william.douglas@intel.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] print_frame add info
Date: Tue, 18 Dec 2012 08:33:00 -0000 [thread overview]
Message-ID: <20121218083252.GA8054@host2.jankratochvil.net> (raw)
In-Reply-To: <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
next prev parent reply other threads:[~2012-12-18 8:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-18 1:40 William Douglas
2012-12-18 8:33 ` Jan Kratochvil [this message]
2012-12-18 16:08 ` Tom Tromey
2012-12-18 21:52 ` Douglas, William
2012-12-19 7:07 ` Jan Kratochvil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121218083252.GA8054@host2.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=william.douglas@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox