Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pete Wyckoff <pw@osc.edu>
To: gdb@sources.redhat.com
Subject: step_range_(start|end)
Date: Mon, 17 Dec 2001 07:09:00 -0000	[thread overview]
Message-ID: <20011217100953.C4370@osc.edu> (raw)

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


             reply	other threads:[~2001-12-17 15:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-17  7:09 Pete Wyckoff [this message]
2001-12-17  7:33 ` step_range_(start|end) Andrew Cagney

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=20011217100953.C4370@osc.edu \
    --to=pw@osc.edu \
    --cc=gdb@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