Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* step_range_(start|end)
@ 2001-12-17  7:09 Pete Wyckoff
  2001-12-17  7:33 ` step_range_(start|end) Andrew Cagney
  0 siblings, 1 reply; 2+ messages in thread
From: Pete Wyckoff @ 2001-12-17  7:09 UTC (permalink / raw)
  To: gdb

I'm trying to shape up my remote backend to gdb so that it's happy with
things that 5.1 is sending it.  One of these is, for example, "e1,1".
Although gdb is content to accept an error from the remote and issue "s"
(step) instead, I thought it would be nice to make "e" work too.

My confusion, though, is about the two parameters.  There's no entry in
the documentation for 'e', and I find it passing two variables:

    step_range_start
    step_range_end

These are defined as CORE_ADDR, and filled with calls like

    find_pc_line_pc_range (stop_pc, &step_range_start, &step_range_end);

which makes sense to me, but then I see other places like:

      step_range_start = step_range_end = 1;

which sure don't sound like CORE_ADDRs.

What should I do with an 'e' command in the remote backend (other than
ignore it)?

		-- Pete


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

* Re: step_range_(start|end)
  2001-12-17  7:09 step_range_(start|end) Pete Wyckoff
@ 2001-12-17  7:33 ` Andrew Cagney
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cagney @ 2001-12-17  7:33 UTC (permalink / raw)
  To: Pete Wyckoff; +Cc: gdb


> What should I do with an 'e' command in the remote backend (other than
> ignore it)?


For the moment, ignore it.  If it isn't recognized, GDB will do single 
step another way.

Can you file a PR about the start = end = 1 bit. 
(http://sources.redhat.com/gdb/bugs/ )

Andrew


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

end of thread, other threads:[~2001-12-17 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-17  7:09 step_range_(start|end) Pete Wyckoff
2001-12-17  7:33 ` step_range_(start|end) Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox