Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@redhat.com>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: cagney@gnu.org, gdb-patches@sources.redhat.com, drow@false.org
Subject: Re: [commit] gdb_byte regcache.[hc]
Date: Sat, 11 Jun 2005 01:43:00 -0000	[thread overview]
Message-ID: <42AA41CD.1090309@redhat.com> (raw)
In-Reply-To: <200506102212.j5AMCOoq028820@elgar.sibelius.xs4all.nl>

Mark Kettenis wrote:

> I know it's a bit late (just returned from vacation in .ca ;-), but
> there is a nasty problem with the register cache stuff in this patch
> :-(.  Many bits of native code pass native data types to
> regcache_raw_write, and this now raises a compiler warning.  I'm not
> sure how to solve this; adding casts all over the code is really,
> really ugly, and I really, really don't want to do that.  The best
> thing I can come up with is that we revert the regcache_raw_xxx
> interfaces back to using `void *', whereas we keep the
> regcache_cooked_xxx interface as they are now (using `gdb_byte *').

I'm coming to this discussion even later than you, Mark.
I've gone back thru the archive to catch up, but I'm still
not clear on what is the purpose of gdb_byte (other than
to avoid using bfd_byte).

I thought it was to refer to target data, so we could
differentiate between host bytes and target bytes.
That would make sense.  I'm not convinced that replacing
all uses of void* makes sense.


  reply	other threads:[~2005-06-11  1:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19 17:07 Andrew Cagney
2005-05-19 18:56 ` Daniel Jacobowitz
2005-05-19 19:13   ` Andrew Cagney
2005-06-10 22:12     ` Mark Kettenis
2005-06-11  1:43       ` Michael Snyder [this message]
2005-06-11 21:29       ` Mark Kettenis
2005-06-15 15:48         ` Andrew Cagney
2005-06-15 16:48           ` Mark Kettenis
2005-06-17  1:45             ` Daniel Jacobowitz
2005-06-18 15:24               ` Mark Kettenis

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=42AA41CD.1090309@redhat.com \
    --to=msnyder@redhat.com \
    --cc=cagney@gnu.org \
    --cc=drow@false.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mark.kettenis@xs4all.nl \
    /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