diff options
author | Stu Grossman <grossman@cygnus> | 1995-05-11 02:26:00 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1995-05-11 02:26:00 +0000 |
commit | d8afcce964c862098004e98eb09318267b5a464c (patch) | |
tree | 08f8f2e01c8a9fae2d82645284fce9ec19201c90 /gdb/monitor.h | |
parent | 1818c417af463d6f00400e000998166acfa2b1a7 (diff) | |
download | gdb-d8afcce964c862098004e98eb09318267b5a464c.zip gdb-d8afcce964c862098004e98eb09318267b5a464c.tar.gz gdb-d8afcce964c862098004e98eb09318267b5a464c.tar.bz2 |
* hppa-tdep.c (read_unwind_info): Cosmetic cleanup.
* (unwind_command): Clean it up and make it print things out
nicer.
* monitor.c: Add ^C handling capability (mostly ripped off from
remote.c).
* (monitor_printf): Make it check the command echo.
* (monitor_printf_noecho): Similar to above, but doesn't check
for echo.
* (monitor_stop): No longer waits for prompt. That is the job of
the caller. This makes things work much better for monitor_wait,
which waits for the prompt itself.
* (monitor_open): Deal with new monitor_stop semantics. Also,
flush input after sending init strings to get rid of junk that may
be output. Also, don't always send \r to remote. Use
monitor_ops->line_term cuz proper character isn't always \r.
* (monitor_fetch_register): Switch to completely different
algorithm to deal with lame-ass monitors which put spaces in the
middle of numbers, and prompt with a space!!!!!
* (monitor_read_memory_single): New routine to be used with
monitors that can only return one byte/short/long at a time. This
is selected via MO_GETMEM_READ_SINGLE.
* (monitor_load_srec): Use monitor_printf_noecho for sending S
records. Most targets don't echo them.
* (monitor.h): Get rid of cmd_delim. Add line_delim.
* op50n-rom.c (op50n_cmds): Fill it up. Make it work.
* w89k-rom.c: Change all eols from \r to \n. Change load_resp to
^Q to prevent error message.
* config/pa/tm-hppa.h (CALL_DUMMY (for hppro)): Add special
instruction sequence at end to make restore_pc_queue happy.
Diffstat (limited to 'gdb/monitor.h')
-rw-r--r-- | gdb/monitor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/monitor.h b/gdb/monitor.h index d0553d0..64e7870 100644 --- a/gdb/monitor.h +++ b/gdb/monitor.h @@ -104,7 +104,7 @@ struct monitor_ops char *load; /* load command */ char *loadresp; /* Response to load command */ char *prompt; /* monitor command prompt */ - char *cmd_delim; /* end-of-command delimitor */ + char *line_term; /* end-of-command delimitor */ char *cmd_end; /* optional command terminator */ struct target_ops *target; /* target operations */ int stopbits; /* number of stop bits */ @@ -126,6 +126,7 @@ struct monitor_ops matically supply register dump when coming back after a continue. */ #define MO_GETMEM_NEEDS_RANGE 0x8 /* getmem needs start addr and end addr */ +#define MO_GETMEM_READ_SINGLE 0x10 /* getmem can only read one loc at a time */ extern struct monitor_ops *current_monitor; |