aboutsummaryrefslogtreecommitdiff
path: root/gdb/pyr-xdep.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-xdep.c
parent0c4d2cc2b3a353604c3320b867ce5d471fee1ecb (diff)
downloadgdb-e3af0493062fb35eceb0955a602a3d37a7766967.zip
gdb-e3af0493062fb35eceb0955a602a3d37a7766967.tar.gz
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-xdep.c')
-rw-r--r--gdb/pyr-xdep.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/pyr-xdep.c b/gdb/pyr-xdep.c
index 114ea64..85b1c58 100644
--- a/gdb/pyr-xdep.c
+++ b/gdb/pyr-xdep.c
@@ -273,17 +273,17 @@ core_file_command (filename, from_tty)
if (*(int *)buf >= 0)
break;
- printf ("skipping frame %0x\n", last_frame_address);
+ printf ("skipping frame %s\n", local_hex_string (last_frame_address));
last_frame_offset -= CONTROL_STACK_FRAME_SIZE;
last_frame_address -= CONTROL_STACK_FRAME_SIZE;
}
reg_offset = last_frame_offset;
#if 1 || defined(PYRAMID_CONTROL_FRAME_DEBUGGING)
- printf ("Control stack pointer = 0x%08x\n",
- u.u_pcb.pcb_csp);
- printf ("offset to control stack %d outermost frame %d (%0x)\n",
- reg_stack_offset, reg_offset, last_frame_address);
+ printf ("Control stack pointer = %s\n",
+ local_hex_string (u.u_pcb.pcb_csp));
+ printf ("offset to control stack %d outermost frame %d (%s)\n",
+ reg_stack_offset, reg_offset, local_hex_string (last_frame_address));
#endif /* PYRAMID_CONTROL_FRAME_DEBUGGING */
#else /* not PYRAMID_CORE */
@@ -346,8 +346,8 @@ core_file_command (filename, from_tty)
}
#if 1 || defined(PYRAMID_CONTROL_FRAME_DEBUGGING)
- printf ("Providing CSP (%0x) as nominal address of current frame.\n",
- last_frame_address);
+ printf ("Providing CSP (%s) as nominal address of current frame.\n",
+ local_hex_string(last_frame_address));
#endif PYRAMID_CONTROL_FRAME_DEBUGGING
/* FIXME: Which of the following is correct? */
#if 0