* monitor.c (monitor_vsprintf): New function to handle
authorMark Alexander <marka@cygnus>
Wed, 28 Jan 1998 19:52:06 +0000 (19:52 +0000)
committerMark Alexander <marka@cygnus>
Wed, 28 Jan 1998 19:52:06 +0000 (19:52 +0000)
printing of large addresses using %A format specifier.
(monitor_printf_noecho, monitor_printf): Use monitor_vsprintf
instead of vsprintf.
* dve3900-rom.c (_initialize_r3900_rom): Use %A instead of %Lx
to print addresses.

gdb/ChangeLog
gdb/dve3900-rom.c

index ea0e017aad7eb719c0862112f3e5ffe1eebca345..9437cbd60481c82cc54c1b716335fb13e73f0f73 100644 (file)
@@ -1,3 +1,12 @@
+Wed Jan 28 11:23:25 1998  Mark Alexander  <marka@cygnus.com>
+
+       * monitor.c (monitor_vsprintf): New function to handle
+       printing of large addresses using %A format specifier.
+       (monitor_printf_noecho, monitor_printf): Use monitor_vsprintf
+       instead of vsprintf.
+       * dve3900-rom.c (_initialize_r3900_rom): Use %A instead of %Lx
+       to print addresses.
+
 Tue Jan 27 16:14:23 1998  Jason Molenda  (crash@bugshack.cygnus.com)
 
        * configure.in (CONFIG_LDFLAGS): Only add -export-dynamic
index 9a899702fb661560ca18edbeb20396a70bc9c5f3..c76da776d60a306d8f4623fb00aaf10c5c9f28d0 100644 (file)
@@ -901,17 +901,17 @@ _initialize_r3900_rom ()
   r3900_cmds.init = dummy_inits;
   r3900_cmds.cont = "g\r";
   r3900_cmds.step = "t\r";
-  r3900_cmds.set_break = "b %Lx\r";            /* COREADDR */
-  r3900_cmds.clr_break = "b %Lx,0\r";          /* COREADDR */
-  r3900_cmds.fill = "fx %Lx s %x %x\r";                /* COREADDR, len, val */
+  r3900_cmds.set_break = "b %A\r";             /* COREADDR */
+  r3900_cmds.clr_break = "b %A,0\r";           /* COREADDR */
+  r3900_cmds.fill = "fx %A s %x %x\r";         /* COREADDR, len, val */
 
-  r3900_cmds.setmem.cmdb = "sx %Lx %x\r";      /* COREADDR, val */
-  r3900_cmds.setmem.cmdw = "sh %Lx %x\r";      /* COREADDR, val */
-  r3900_cmds.setmem.cmdl = "sw %Lx %x\r";      /* COREADDR, val */
+  r3900_cmds.setmem.cmdb = "sx %A %x\r";       /* COREADDR, val */
+  r3900_cmds.setmem.cmdw = "sh %A %x\r";       /* COREADDR, val */
+  r3900_cmds.setmem.cmdl = "sw %A %x\r";       /* COREADDR, val */
 
-  r3900_cmds.getmem.cmdb = "sx %Lx\r";         /* COREADDR */
-  r3900_cmds.getmem.cmdw = "sh %Lx\r";         /* COREADDR */
-  r3900_cmds.getmem.cmdl = "sw %Lx\r";         /* COREADDR */
+  r3900_cmds.getmem.cmdb = "sx %A\r";          /* COREADDR */
+  r3900_cmds.getmem.cmdw = "sh %A\r";          /* COREADDR */
+  r3900_cmds.getmem.cmdl = "sw %A\r";          /* COREADDR */
   r3900_cmds.getmem.resp_delim = " : ";
   r3900_cmds.getmem.term = " ";
   r3900_cmds.getmem.term_cmd = ".\r";