diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-06-09 21:26:48 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-06-09 21:26:48 +0000 |
commit | a1f4a1b6f2e0c887ff5606013d1f72fa0a2f668f (patch) | |
tree | d637e74b5f8641f63a746a972659e91d3c9fc7e8 /gdb/arch-utils.c | |
parent | 9730f241234216351ad23212d0a3f17cfc61a287 (diff) | |
download | gdb-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.c')
-rw-r--r-- | gdb/arch-utils.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index 0f7ea06..ccafd2b 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -299,25 +299,11 @@ legacy_pc_in_sigtramp (CORE_ADDR pc, char *name) } int -legacy_convert_register_p (int regnum, struct type *type) +generic_convert_register_p (int regnum, struct type *type) { return 0; } -void -legacy_register_to_value (struct frame_info *frame, int regnum, - struct type *type, void *to) -{ - internal_error (__FILE__, __LINE__, "legacy_register_to_value called"); -} - -void -legacy_value_to_register (struct frame_info *frame, int regnum, - struct type *type, const void *tmp) -{ - internal_error (__FILE__, __LINE__, "legacy_value_to_register called"); -} - int default_stabs_argument_has_addr (struct gdbarch *gdbarch, struct type *type) { |