public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
* sid debugger interface extension: step out-of-range packet support
@ 2002-02-12 14:14 Frank Ch. Eigler
  2002-02-12 22:10 ` Andrew Cagney
  2002-02-22 17:05 ` Michael Snyder
  0 siblings, 2 replies; 7+ messages in thread
From: Frank Ch. Eigler @ 2002-02-12 14:14 UTC (permalink / raw)
  To: sid; +Cc: gdb

Hi -

A small amount of new code in sid/include and sid/component/gdb
now allows gdb's "step out-of-range" packet ('e'/'E') to work with
all sid-based simulator targets.  This packet makes remote debugging
potentially significantly faster, because it can replace a sequence of
instruction single-step packets with just one new packet.  This finally
exercises J.T. Conklin's gdb-side extensions from roughly a year ago.

There is a gdb bug that is exposed by this support.  If a breakpoint
placed on the current instruction, and another one on the next
source line, then letting gdb "step" will stop at the next line, but
won't let gdb realize that the second breakpoint was hit.  (This is
because gdb never inserted the breakpoints in gdb/infrun.c's proceed(),
being unaware that remote_resume() meant something other than stepi.)
This looks like this is a minor problem, but just in case, support for
the packet may be forced off from the gdb side and/or from the sid side.

- FChE

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-02-23  3:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-12 14:14 sid debugger interface extension: step out-of-range packet support Frank Ch. Eigler
2002-02-12 22:10 ` Andrew Cagney
2002-02-13  7:13   ` Frank Ch. Eigler
2002-02-13 12:52     ` Andrew Cagney
2002-02-22 17:08     ` Michael Snyder
2002-02-22 17:05 ` Michael Snyder
2002-02-22 19:28   ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).