aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppcbug-rom.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-12-14 03:29:52 +0000
committerAndrew Cagney <cagney@redhat.com>1998-12-14 03:29:52 +0000
commit20dd6c3bb85049415f8681dbf58fe9023e333778 (patch)
tree87fe4b151b0ede38beffb2f5154fd9facaf46d92 /gdb/ppcbug-rom.c
parentf7e85b1bc11e564d356933c447070a55ff5fa56d (diff)
downloadgdb-20dd6c3bb85049415f8681dbf58fe9023e333778.zip
gdb-20dd6c3bb85049415f8681dbf58fe9023e333778.tar.gz
gdb-20dd6c3bb85049415f8681dbf58fe9023e333778.tar.bz2
* monitor.c (monitor_printable_string): New function to convert a into
a printable representation. (monitor_error): Call error after converting string into printable format. (monitor_printf{,_noecho}): If EXTRA_RDEBUG is defined, convert string into printable form before printing. (monitor_expect): Ditto. (monitor_read_memory{,_single}): Call monitor_error, not error. (monitor_read_memory): Return immediately if length is 0. * ppcbug-rom.c (init_ppc_cmds): Fill in dump_registers field, which is now required.
Diffstat (limited to 'gdb/ppcbug-rom.c')
-rw-r--r--gdb/ppcbug-rom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/ppcbug-rom.c b/gdb/ppcbug-rom.c
index 76dd5be..2c58b08 100644
--- a/gdb/ppcbug-rom.c
+++ b/gdb/ppcbug-rom.c
@@ -170,6 +170,7 @@ static void init_ppc_cmds(
OPS->getreg.term_cmd = NULL ; /* getreg.term_cmd */
OPS->register_pattern = "\\(\\w+\\) +=\\([0-9a-fA-F]+\\b\\)"; /* register_pattern */
OPS->supply_register = ppcbug_supply_register; /* supply_register */
+ OPS->dump_registers = "rd\r"; /* dump all registers */
OPS->load_routine = NULL; /* load_routine (defaults to SRECs) */
OPS->load = LOAD_CMD; /* download command */
OPS->loadresp = NULL; /* load response */