From: Nick Roberts <nickrob@snap.net.nz>
To: Daniel Jacobowitz <drow@false.org>, gdb-patches@sources.redhat.com
Subject: Re: [PATCH] -data-list-changed-registers
Date: Mon, 06 Jun 2005 20:44:00 -0000 [thread overview]
Message-ID: <17060.46539.131335.71422@farnswood.snap.net.nz> (raw)
In-Reply-To: <17057.37727.725621.254956@farnswood.snap.net.nz>
Nick Roberts writes:
> > I think the changes are right in this case, though. Could you take a
> > look at those two functions (the change to make is obvious) and see if
> > that fixes your problem?
>
> If you mean the changes below, then these seem fine and give:
Actually this isn't quite right:
(gdb)
-break-insert main
^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x080484d9",func="main",file="myprog.c",line="55",times="0"}
(gdb)
-data-list-changed-registers
&"No registers.\n"
^error,msg="No registers."
(gdb)
-exec-run
^running
(gdb)
*stopped,changed-registers=[],reason="breakpoint-hit",bkptno="1",thread-id="0",frame={addr="0x080484d9",func="main",args=[{name="argc",value="1"},{name="argv",value="0xbffff794"}],file="myprog.c",fullname="/home/nick/myprog.c",line="55"}
(gdb)
-data-list-changed-registers
^done,changed-registers=["1","3","4","5","6","7","8","9","10","11","12","13","24","26","40","41"]
(gdb)
I think the changed-registers=[] after *stopped occurs because an exception is
raised in register_changed_p in the _first_ call to
mi_cmd_data_list_changed_registers and control doesn't return to to call
do_cleanups (cleanup).
Nick
next prev parent reply other threads:[~2005-06-06 20:44 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-01 11:12 Nick Roberts
2005-06-03 19:13 ` Daniel Jacobowitz
2005-06-03 22:35 ` Nick Roberts
2005-06-03 22:36 ` Daniel Jacobowitz
2005-06-04 11:41 ` Nick Roberts
2005-06-06 20:44 ` Nick Roberts [this message]
2005-06-11 5:54 ` Nick Roberts
2005-06-11 6:50 ` [PATCH] -data-list-changed-registers (Take 2) Nick Roberts
2005-06-13 2:40 ` Daniel Jacobowitz
2005-06-13 4:47 ` Nick Roberts
2005-06-13 13:48 ` Daniel Jacobowitz
2005-06-13 22:38 ` Nick Roberts
2005-06-13 22:42 ` Daniel Jacobowitz
2005-06-14 2:45 ` Nick Roberts
2005-06-17 1:51 ` Daniel Jacobowitz
2005-06-17 3:13 ` Nick Roberts
2005-06-17 3:22 ` Daniel Jacobowitz
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=17060.46539.131335.71422@farnswood.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=drow@false.org \
--cc=gdb-patches@sources.redhat.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