diff options
author | Mark Alexander <marka@cygnus> | 1998-01-28 19:52:06 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1998-01-28 19:52:06 +0000 |
commit | 29df6f4b7ee6f1dda303fd96ff10350110a1412e (patch) | |
tree | 29e88a0769670f01d55c9a0705be1e790890b6c7 /gdb/dve3900-rom.c | |
parent | f41751664d2e9e7a5145bed54d118f1c6ee82e43 (diff) | |
download | gdb-29df6f4b7ee6f1dda303fd96ff10350110a1412e.zip gdb-29df6f4b7ee6f1dda303fd96ff10350110a1412e.tar.gz gdb-29df6f4b7ee6f1dda303fd96ff10350110a1412e.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/dve3900-rom.c')
-rw-r--r-- | gdb/dve3900-rom.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/dve3900-rom.c b/gdb/dve3900-rom.c index 9a89970..c76da77 100644 --- a/gdb/dve3900-rom.c +++ b/gdb/dve3900-rom.c @@ -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"; |