This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Decode "is a variable with complex or multiple locations" (PR 8399)
- From: Daniel Jacobowitz <drow at false dot org>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches at sourceware dot org, Roland McGrath <roland at redhat dot com>
- Date: Fri, 25 Sep 2009 18:07:16 -0400
- Subject: Re: [rfc] Decode "is a variable with complex or multiple locations" (PR 8399)
- References: <20090916201132.366872766@magilla.sf.frob.com> <20090920205109.GA24360@host0.dyn.jankratochvil.net> <m31vluvghu.fsf@fleche.redhat.com>
On Fri, Sep 25, 2009 at 03:53:01PM -0600, Tom Tromey wrote:
> Jan> (c) "a variable in register rsi" vs. "DW_OP_reg4":
>
> Jan> (c1) Extending the readelf<->gdb shared code to print register
> Jan> names (4->rsi) may not be acceptable for arch-independent readelf.
>
> We can add a callback that GDB would use to supply the register name.
I've always wanted readelf to print these names, anyway.
--
Daniel Jacobowitz
CodeSourcery