diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-05-08 20:52:49 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-05-08 20:52:49 +0000 |
commit | d9d9c31f313042e074b7c77bf6bd1d808202e6fb (patch) | |
tree | 040d3a51591ef45eab2ece457d893b8e5bd96995 /gdb/defs.h | |
parent | 22540ece94de28c19999f66a648be0781889cdda (diff) | |
download | gdb-d9d9c31f313042e074b7c77bf6bd1d808202e6fb.zip gdb-d9d9c31f313042e074b7c77bf6bd1d808202e6fb.tar.gz gdb-d9d9c31f313042e074b7c77bf6bd1d808202e6fb.tar.bz2 |
2003-05-08 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE.
* gdbarch.h: Re-generate.
* defs.h (MAX_REGISTER_RAW_SIZE): Delete macro.
(legacy_max_register_raw_size): Delete declaration.
* regcache.c (legacy_max_register_raw_size): Delete function.
* valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE.
* target.c, stack.c, sparc-tdep.c, sh-tdep.c: Update.
* rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Update.
* remote-rdp.c, remote-array.c, regcache.c: Update.
* ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Update.
* mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Update.
* infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Update.
* findvar.c, dwarf2cfi.c: Update.
Index: tui/ChangeLog
2003-05-08 Andrew Cagney <cagney@redhat.com>
* tuiRegs.c: Use MAX_REGISTER_SIZE instead of
MAX_REGISTER_RAW_SIZE.
Index: mi/ChangeLog
2003-05-08 Andrew Cagney <cagney@redhat.com>
* mi-main.c (register_changed_p): Use MAX_REGISTER_SIZE instead of
MAX_REGISTER_RAW_SIZE.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -1091,22 +1091,6 @@ extern void *alloca (); enum { MAX_REGISTER_SIZE = 16 }; -/* FIXME: cagney/2003-03-01: Hack to prop up old targets while they - migrate to the overhauled register cache. - - The problem is that some architectures specify different sized raw - and cooked (nee virtual) register sizes. They shouldn't. Instead, - all architectures should just implement a gdbarch_register_type(). - That can be used to compute all needed register attributes. While - waiting for the conversion, provide compatibility macros that keep - old code working. */ - -#ifdef MAX_REGISTER_RAW_SIZE -#error MAX_REGISTER_RAW_SIZE defined -#endif -extern int legacy_max_register_raw_size (void); -#define MAX_REGISTER_RAW_SIZE legacy_max_register_raw_size () - /* Static target-system-dependent parameters for GDB. */ /* Number of bits in a char or unsigned char for the target machine. |