This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: [patch/rfc] Deprecate REGISTER_VIRTUAL_SIZE
- From: David Carlton <carlton at kealia dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com, insight at sources dot redhat dot com
- Date: Tue, 30 Sep 2003 16:14:10 -0700
- Subject: Re: [patch/rfc] Deprecate REGISTER_VIRTUAL_SIZE
- References: <3F75E34F.2090007@redhat.com> <3F79E76A.5060706@redhat.com>
On Tue, 30 Sep 2003 16:28:26 -0400, Andrew Cagney <ac131313@redhat.com> said:
> I've checked this in.
>> 2003-09-27 Andrew Cagney <cagney@redhat.com>
>> * gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_SIZE): Rename
>> REGISTER_VIRTUAL_SIZE.
>> * gdbarch.h, gdbarch.c: Regenerate.
>> * vax-tdep.h, sparc-tdep.c, regcache.h: Update.
>> * regcache.c, mn10300-tdep.c, mips-tdep.c: Update.
>> * infcmd.c, frame.c, findvar.c, cris-tdep.c: Update.
>> Index: doc/ChangeLog
>> 2003-09-22 Andrew Cagney <cagney@redhat.com>
>> * gdbint.texinfo (Target Architecture Definition): Rename
>> REGISTER_VIRTUAL_SIZE to DEPRECATED_REGISTER_VIRTUAL_SIZE.
>> (Target Architecture Definition): Index: mi/ChangeLog
>> 2003-09-22 Andrew Cagney <cagney@redhat.com>
>> * mi-main.c: Rename REGISTER_VIRTUAL_SIZE to
>> DEPRECATED_REGISTER_VIRTUAL_SIZE.
Missed one in insight; I've committed the patch below as obvious.
I saw somebody using insight today; it looked really cool. If my
hands didn't hate pointing devices, I'd be sorely tempted to
switch...
David Carlton
carlton@kealia.com
2003-09-30 David Carlton <carlton@kealia.com>
* generic/gdbtk-register.c (get_register): Replace
REGISTER_VIRTUAL_SIZE by
DEPRECATED_REGISTER_VIRTUAL_SIZE.
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-register.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- src/gdb/gdbtk/generic/gdbtk-register.c 2003/08/05 14:58:29 1.20
+++ src/gdb/gdbtk/generic/gdbtk-register.c 2003/09/30 23:10:55 1.21
@@ -307,7 +307,8 @@
raw_buffer, virtual_buffer);
}
else
- memcpy (virtual_buffer, raw_buffer, REGISTER_VIRTUAL_SIZE (regnum));
+ memcpy (virtual_buffer, raw_buffer,
+ DEPRECATED_REGISTER_VIRTUAL_SIZE (regnum));
stb = mem_fileopen ();
old_chain = make_cleanup_ui_file_delete (stb);