aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-06-09 21:26:48 +0000
committerAndrew Cagney <cagney@redhat.com>2004-06-09 21:26:48 +0000
commita1f4a1b6f2e0c887ff5606013d1f72fa0a2f668f (patch)
treed637e74b5f8641f63a746a972659e91d3c9fc7e8 /gdb/arch-utils.h
parent9730f241234216351ad23212d0a3f17cfc61a287 (diff)
downloadgdb-a1f4a1b6f2e0c887ff5606013d1f72fa0a2f668f.zip
gdb-a1f4a1b6f2e0c887ff5606013d1f72fa0a2f668f.tar.gz
gdb-a1f4a1b6f2e0c887ff5606013d1f72fa0a2f668f.tar.bz2
2004-06-09 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (:REGISTER_TO_VALUE, VALUE_TO_REGISTER): Do not provide a default value. (CONVERT_REGISTER_P): Default to generic_convert_register_p. * gdbarch.h, gdbarch.c: Re-generate. * arch-utils.c (generic_convert_register_p): Rename legacy_convert_register_p (legacy_register_to_value, legacy_value_to_register): Delete functions. * arch-utils.h (generic_convert_register_p): Rename legacy_convert_register_p. (legacy_register_to_value, legacy_value_to_register): Delete declarations.
Diffstat (limited to 'gdb/arch-utils.h')
-rw-r--r--gdb/arch-utils.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h
index b636a1f..f427424 100644
--- a/gdb/arch-utils.h
+++ b/gdb/arch-utils.h
@@ -113,16 +113,8 @@ extern int generic_register_byte (int regnum);
/* Prop up old targets that use various sigtramp macros. */
extern int legacy_pc_in_sigtramp (CORE_ADDR pc, char *name);
-/* The orginal register_convert*() functions were overloaded. They
- were used to both: convert between virtual and raw register formats
- (something that is discouraged); and to convert a register to the
- type of a corresponding variable. These legacy functions preserve
- that overloaded behavour in existing targets. */
-extern int legacy_convert_register_p (int regnum, struct type *type);
-extern void legacy_register_to_value (struct frame_info *frame, int regnum,
- struct type *type, void *to);
-extern void legacy_value_to_register (struct frame_info *frame, int regnum,
- struct type *type, const void *from);
+/* By default, registers are not convertible. */
+extern int generic_convert_register_p (int regnum, struct type *type);
extern int default_stabs_argument_has_addr (struct gdbarch *gdbarch,
struct type *type);