* monitor.c (monitor_printable_string): New function to convert a into
authorAndrew Cagney <cagney@redhat.com>
Mon, 14 Dec 1998 03:29:52 +0000 (03:29 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 14 Dec 1998 03:29:52 +0000 (03:29 +0000)
commit20dd6c3bb85049415f8681dbf58fe9023e333778
tree87fe4b151b0ede38beffb2f5154fd9facaf46d92
parentf7e85b1bc11e564d356933c447070a55ff5fa56d
* 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.
gdb/ChangeLog
gdb/monitor.c
gdb/ppcbug-rom.c