From e3af0493062fb35eceb0955a602a3d37a7766967 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Thu, 19 Sep 1991 02:40:29 +0000 Subject: * 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. --- gdb/pyr-xdep.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gdb/pyr-xdep.c') 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 -- cgit v1.1