summaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-14 17:26:35 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-14 17:26:35 +0000
commit9b6ca4e9e58e549a365f22b669524064fbc8d5ce (patch)
treea614ec550ccd0e79a6b3c5c0ca716ad3b11a6c4a /gdb/infcmd.c
parent0ebb615f39e58774dcb183ab443314d4c37f7697 (diff)
downloadgdb-9b6ca4e9e58e549a365f22b669524064fbc8d5ce.tar.gz
2004-02-14 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate. * gdbarch.h, gdbarch.c: Re-generate. * arch-utils.c (deprecated_register_convertible_not): Delete. * arch-utils.h (deprecated_register_convertible_not): Delete. * mi/mi-main.c (get_register): Update. Update copyright. * infcmd.c (default_print_registers_info): Update.
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r--gdb/infcmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 2de769ed2c6..6e74f4e5431 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1556,7 +1556,8 @@ default_print_registers_info (struct gdbarch *gdbarch,
The function frame_register_read() should have returned the
pre-cooked register so no conversion is necessary. */
/* Convert raw data to virtual format if necessary. */
- if (DEPRECATED_REGISTER_CONVERTIBLE (i))
+ if (DEPRECATED_REGISTER_CONVERTIBLE_P ()
+ && DEPRECATED_REGISTER_CONVERTIBLE (i))
{
DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL (i, register_type (current_gdbarch, i),
raw_buffer, virtual_buffer);