summaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-04-12 18:18:59 +0000
committerAndrew Cagney <cagney@redhat.com>2002-04-12 18:18:59 +0000
commit6b7f680522088440790800caef947041c8f1bd99 (patch)
treebf3d431f4ae4be5b14af37c2bae7310ec5aa5916 /gdb/infcmd.c
parent16fb6cbbbb127d5894534941a9caa29e9e97a43a (diff)
downloadgdb-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/infcmd.c')
-rw-r--r--gdb/infcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index a10a91afc60..0680caa05ea 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1590,7 +1590,7 @@ do_registers_info (int regnum, int fpregs)
print_spaces_filtered (15 - strlen (REGISTER_NAME (i)), gdb_stdout);
/* Get the data in raw format. */
- if (read_relative_register_raw_bytes (i, raw_buffer))
+ if (! frame_register_read (selected_frame, i, raw_buffer))
{
printf_filtered ("*value not available*\n");
continue;