From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: 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 21:29:00 -0000 [thread overview]
Message-ID: <200506112128.j5BLSqmQ027273@elgar.sibelius.xs4all.nl> (raw)
In-Reply-To: <200506102212.j5AMCOoq028820@elgar.sibelius.xs4all.nl> (message from Mark Kettenis on Sat, 11 Jun 2005 00:12:24 +0200 (CEST))
Date: Sat, 11 Jun 2005 00:12:24 +0200 (CEST)
From: Mark Kettenis <mark.kettenis@xs4all.nl>
Date: Thu, 19 May 2005 13:24:08 -0400
From: Andrew Cagney <cagney@gnu.org>
2005-05-19 Andrew Cagney <cagney@gnu.org>
* regcache.h (regcache_raw_read, regcache_raw_write)
(regcache_raw_read_part, regcache_raw_write_part)
(regcache_cooked_read_part, regcache_cooked_write_part)
(regcache_cooked_read, regcache_cooked_write)
(regcache_raw_supply, regcache_raw_collect)
(regcache_cooked_read_ftype, regcache_save, regcache_restore)
(deprecated_read_register_gen, deprecated_write_register_gen)
(deprecated_read_register_bytes, deprecated_write_register_bytes)
(deprecated_grub_regcache_for_registers): Use gdb_byte for byte
buffer parameters.
* ia64-tdep.c (ia64_extract_return_value): Update.
* frame.c (do_frame_register_read): Update.
* regcache.c (deprecated_grub_regcache_for_registers)
(struct regcache, regcache_save, regcache_restore, regcache_cpy)
(do_cooked_read, regcache_xmalloc, register_buffer)
(deprecated_read_register_bytes, regcache_raw_read)
(regcache_raw_read_signed, regcache_raw_read_unsigned)
(deprecated_read_register_gen, regcache_cooked_read)
(regcache_cooked_read_signed, regcache_cooked_read_unsigned)
(deprecated_write_register_gen, regcache_cooked_write)
(deprecated_write_register_bytes, regcache_raw_read_part)
(regcache_raw_write_part, regcache_cooked_read_part)
(regcache_cooked_write_part, read_register, regcache_raw_supply):
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 *').
Argh, let's blame it on my jetlag, but I meant regcache_raw_supply and
regcache_raw_collect as the function that should take `void *' instead
of `gdb_byte *'. The other regcache_raw_xxx functions can stay as
they are now.
Mark
next prev parent reply other threads:[~2005-06-11 21:29 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
2005-06-11 21:29 ` Mark Kettenis [this message]
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=200506112128.j5BLSqmQ027273@elgar.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--cc=cagney@gnu.org \
--cc=drow@false.org \
--cc=gdb-patches@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