summaryrefslogtreecommitdiff
path: root/gdb/m32r-rom.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@apple.com>1999-09-09 00:02:17 +0000
committerStan Shebs <shebs@apple.com>1999-09-09 00:02:17 +0000
commit754acf44966696ce7bce75ec6d374dbd443970be (patch)
treea4806dbe8f3980165a4f389fcb2a7617aecb9bfa /gdb/m32r-rom.c
parent88d27de31e77c81b718eb8d9aeb16b20814796d3 (diff)
downloadgdb-754acf44966696ce7bce75ec6d374dbd443970be.tar.gz
import gdb-1999-09-08 snapshot
Diffstat (limited to 'gdb/m32r-rom.c')
-rw-r--r--gdb/m32r-rom.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/m32r-rom.c b/gdb/m32r-rom.c
index bbcc1c0cf7b..f6ea251f8a2 100644
--- a/gdb/m32r-rom.c
+++ b/gdb/m32r-rom.c
@@ -35,7 +35,8 @@
#include <time.h> /* for time_t */
#include "gdb_string.h"
#include "objfiles.h" /* for ALL_OBJFILES etc. */
-
+#include "inferior.h" /* for write_pc() */
+#include <ctype.h>
extern void report_transfer_performance PARAMS ((unsigned long, time_t, time_t));
@@ -79,7 +80,7 @@ m32r_load_section (abfd, s, data_count)
print_address_numeric (section_base, 1, gdb_stdout);
printf_filtered ("\n");
gdb_flush (gdb_stdout);
- monitor_printf ("%x mw\r", section_base);
+ monitor_printf ("%s mw\r", paddr_nz (section_base));
for (i = 0; i < section_size; i += 4)
{
QUIT;