This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / gdb / m32r-rom.c
index bbcc1c0cf7b6b31d807e48e40e87360deba93b16..b975acecbca5397de91be9e973eee9f252a712f7 100644 (file)
 #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));
+extern void report_transfer_performance (unsigned long, time_t, time_t);
 
 #ifndef _MSC_VER
 /*
@@ -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;
@@ -188,8 +189,8 @@ m32r_load_gen (filename, from_tty)
   generic_load (filename, from_tty);
 }
 
-static void m32r_open PARAMS ((char *args, int from_tty));
-static void mon2000_open PARAMS ((char *args, int from_tty));
+static void m32r_open (char *args, int from_tty);
+static void mon2000_open (char *args, int from_tty);
 
 /* This array of registers needs to match the indexes used by GDB. The
    whole reason this exists is because the various ROM monitors use
This page took 0.023887 seconds and 4 git commands to generate.