diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-08-10 02:00:16 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-08-10 02:00:16 +0000 |
commit | a7e3c2ad4b6733e3011e00d214ec83139fa3c3d2 (patch) | |
tree | e630433577f79d66d17aaa1e25127cc6b56c6ecb /gdb/arch-utils.h | |
parent | 119d55d8e40fb1ccbd7a92e8c4cd05de0ea2c0c9 (diff) | |
download | gdb-a7e3c2ad4b6733e3011e00d214ec83139fa3c3d2.zip gdb-a7e3c2ad4b6733e3011e00d214ec83139fa3c3d2.tar.gz gdb-a7e3c2ad4b6733e3011e00d214ec83139fa3c3d2.tar.bz2 |
2002-08-09 Andrew Cagney <cagney@redhat.com>
* regcache.c (regcache_dump): Compare the register offset
with REGISTER_BYTE.
* arch-utils.c (generic_register_byte): New function.
* arch-utils.h (generic_register_byte): Declare.
* gdbarch.sh (REGISTER_BYTE): Default to generic_register_byte.
* gdbarch.h, gdbarch.c: Regenerate.
Diffstat (limited to 'gdb/arch-utils.h')
-rw-r--r-- | gdb/arch-utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h index 7ceb8b7..a38272c 100644 --- a/gdb/arch-utils.h +++ b/gdb/arch-utils.h @@ -155,6 +155,9 @@ extern void default_print_float_info (struct gdbarch *gdbarch, extern int generic_register_size (int regnum); +/* Assume that the world is sane, the registers are all adjacent. */ +extern int generic_register_byte (int regnum); + /* Prop up old targets that use various IN_SIGTRAMP() macros. */ extern int legacy_pc_in_sigtramp (CORE_ADDR pc, char *name); |