diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-04-12 18:18:59 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-04-12 18:18:59 +0000 |
commit | 6b7f680522088440790800caef947041c8f1bd99 (patch) | |
tree | bf3d431f4ae4be5b14af37c2bae7310ec5aa5916 /gdb/d30v-tdep.c | |
parent | 16fb6cbbbb127d5894534941a9caa29e9e97a43a (diff) | |
download | gdb-6b7f680522088440790800caef947041c8f1bd99.tar.gz |
* defs.h (read_relative_register_raw_bytes): Delete declaration.
* frame.c (frame_register_read): New function. Return non-zero on
success.
(read_relative_register_raw_bytes_for_frame): Delete.
(read_relative_register_raw_bytes): Delete.
* frame.h (frame_register_read): Declare.
* d30v-tdep.c: Update Copyright. Use frame_register_read.
* sh-tdep.c: Ditto.
* infcmd.c (do_registers_info): Ditto.
* hppa-tdep.c: Ditto.
* rs6000-tdep.c: Ditto.
* h8500-tdep.c: Ditto.
* mips-tdep.c: Ditto.
* h8300-tdep.c: Ditto.
* z8k-tdep.c: Ditto.
Diffstat (limited to 'gdb/d30v-tdep.c')
-rw-r--r-- | gdb/d30v-tdep.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/d30v-tdep.c b/gdb/d30v-tdep.c index ede8dd81f25..b5d3a3b4b93 100644 --- a/gdb/d30v-tdep.c +++ b/gdb/d30v-tdep.c @@ -1,6 +1,7 @@ /* Target-dependent code for Mitsubishi D30V, for GDB. - Copyright 1996, 1997, 1998, 1999, 2000, 2001 - Free Software Foundation, Inc. + + Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software + Foundation, Inc. This file is part of GDB. @@ -725,7 +726,7 @@ d30v_print_register (int regnum, int tabular) { char regbuf[MAX_REGISTER_RAW_SIZE]; - read_relative_register_raw_bytes (regnum, regbuf); + frame_register_read (selected_frame, regnum, regbuf); val_print (REGISTER_VIRTUAL_TYPE (regnum), regbuf, 0, 0, gdb_stdout, 'x', 1, 0, Val_pretty_default); |