aboutsummaryrefslogtreecommitdiff
path: root/gdb/pyr-tdep.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-09-19 02:40:29 +0000
committerJohn Gilmore <gnu@cygnus>1991-09-19 02:40:29 +0000
commite3af0493062fb35eceb0955a602a3d37a7766967 (patch)
tree1fc4089350cdf9107f88d3b822b9fa0aa211d933 /gdb/pyr-tdep.c
parent0c4d2cc2b3a353604c3320b867ce5d471fee1ecb (diff)
downloadfsf-binutils-gdb-e3af0493062fb35eceb0955a602a3d37a7766967.zip
fsf-binutils-gdb-e3af0493062fb35eceb0955a602a3d37a7766967.tar.gz
fsf-binutils-gdb-e3af0493062fb35eceb0955a602a3d37a7766967.tar.bz2
* i386-xdep.c, pyr-tdep.c, pyr-xdep.c, remote-vx.c, solib.c,
source.c, symfile.c, dbxread.c: Output hex with local_hex_string for Modula-2 support.
Diffstat (limited to 'gdb/pyr-tdep.c')
-rw-r--r--gdb/pyr-tdep.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/pyr-tdep.c b/gdb/pyr-tdep.c
index 27192a3..f3a3cde 100644
--- a/gdb/pyr-tdep.c
+++ b/gdb/pyr-tdep.c
@@ -1,5 +1,5 @@
-/* Low level interface to ptrace, for GDB when running under Unix.
- Copyright (C) 1988, 1989 Free Software Foundation, Inc.
+/* Pyramid target-dependent code for GDB.
+ Copyright (C) 1988, 1989, 1991 Free Software Foundation, Inc.
This file is part of GDB.
@@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+#include "param.h"
+#include "defs.h"
+
/*** Prettier register printing. ***/
/* Print registers in the same format as pyramid's dbx, adb, sdb. */
@@ -74,7 +77,7 @@ pyr_do_registers_info (regnum, fpregs)
if (val == 0)
printf_filtered ("0");
else
- printf_filtered ("0x%08x %d", val, val);
+ printf_filtered ("%s %d", local_hex_string_custom(val,"08"), val);
printf_filtered("\n");
}
}