This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] -data-list-changed-registers
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nick Roberts <nickrob at snap dot net dot nz>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 3 Jun 2005 15:13:26 -0400
- Subject: Re: [PATCH] -data-list-changed-registers
- References: <17053.38913.487990.775198@farnswood.snap.net.nz>
On Wed, Jun 01, 2005 at 11:12:01PM +1200, Nick Roberts wrote:
>
> Currently the GDB/MI command -data-list-changed-registers gives an internal
> error if there is no stack i.e when there is no inferior process:
This has come up before; the right solution is elsewhere. I believe
that updating register_changed_p and get_register to use
get_selected_frame() will work.
I have a big patch for this sort of thing lying around, but the problem
is that many of the references to deprecated_selected_frame should
really by fixed by adding a frame parameter to the function, so that
they can be used on non-selected frames. They need to be looked over
one by one and I haven't gotten round to it yet.
--
Daniel Jacobowitz
CodeSourcery, LLC