public inbox for sid@sourceware.org
 help / color / mirror / Atom feed
From: Mark Salter <msalter@redhat.com>
To: nsd@redhat.com
Cc: fche@redhat.com, cagney@redhat.com, jtc@redback.com,
	sid@sources.redhat.com, gdb-patches@cygnus.com
Subject: Re: Possible remote.c patch for Z-packet breakpoints + Harvard + SID
Date: Mon, 16 Jul 2001 16:42:00 -0000	[thread overview]
Message-ID: <200107162342.f6GNgUn12498@deneb.localdomain> (raw)
In-Reply-To: <200107161931.f6GJVV719853@rtl.cygnus.com>

>>>>> Nick Duffek writes:

> Executive summary for the lists I've added to this thread: Z-packet
> breakpoints don't work with SID on Harvard architectures.

> On 16-Jul-2001, I wrote:

>> When a Harvard-architecture GDB sends an address to SID, the address has a
>> high bit set indicating whether the address space, e.g. instruction
>> vs. data.

FWIW, I recently had to deal with this in RedBoot. Since the RedBoot stub
already had to deal with differentiating code and data addresses, I just
used the same mechanism to convert from a "gdb" address to a hw code or
data address when decoding the Z packet before the __set_breakpoint() is
called.

--Mark


  reply	other threads:[~2001-07-16 16:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <o5pub0sqqy.fsf@toenail.toronto.redhat.com>
2001-07-16 14:35 ` Nick Duffek
2001-07-16 16:42   ` Mark Salter [this message]
     [not found] ` <200107161931.f6GJVV719853.cygnus.project.sid@rtl.cygnus.com>
2001-07-16 15:05   ` Frank Ch. Eigler

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=200107162342.f6GNgUn12498@deneb.localdomain \
    --to=msalter@redhat.com \
    --cc=cagney@redhat.com \
    --cc=fche@redhat.com \
    --cc=gdb-patches@cygnus.com \
    --cc=jtc@redback.com \
    --cc=nsd@redhat.com \
    --cc=sid@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).