diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-14 17:26:35 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-14 17:26:35 +0000 |
commit | cd0bfa36f3fbd866d7fe90b48d5f800d6c0d1577 (patch) | |
tree | 972c4c9384119417bd131068cddf58a69f768fd9 /gdb/mi | |
parent | b9d26eb9b8ee2ef2eab0bad4b0d9ed98a5cc378f (diff) | |
download | gdb-cd0bfa36f3fbd866d7fe90b48d5f800d6c0d1577.zip gdb-cd0bfa36f3fbd866d7fe90b48d5f800d6c0d1577.tar.gz gdb-cd0bfa36f3fbd866d7fe90b48d5f800d6c0d1577.tar.bz2 |
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/mi')
-rw-r--r-- | gdb/mi/mi-main.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 19eba99..db5f3b9 100644 --- a/gdb/mi/mi-main.c +++ b/gdb/mi/mi-main.c @@ -1,5 +1,8 @@ /* MI Command Set. - Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc. + + Copyright 2000, 2001, 2002, 2003, 2004 Free Software Foundation, + Inc. + Contributed by Cygnus Solutions (a Red Hat company). This file is part of GDB. @@ -537,7 +540,8 @@ get_register (int regnum, int format) /* Convert raw data to virtual format if necessary. */ - if (DEPRECATED_REGISTER_CONVERTIBLE (regnum)) + if (DEPRECATED_REGISTER_CONVERTIBLE_P () + && DEPRECATED_REGISTER_CONVERTIBLE (regnum)) { DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL (regnum, register_type (current_gdbarch, regnum), |