diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-19 01:36:57 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1991-04-19 01:36:57 +0000 |
commit | f2fc6e7a5c33740b298b2a6d24d89d4bd3a8607b (patch) | |
tree | f773467c87389748760e3ec0127f0ee9300ff236 /gdb/remote-eb.c | |
parent | 70dcc196e1548122d4959b1e9e4b22c41c27a179 (diff) | |
download | gdb-f2fc6e7a5c33740b298b2a6d24d89d4bd3a8607b.zip gdb-f2fc6e7a5c33740b298b2a6d24d89d4bd3a8607b.tar.gz gdb-f2fc6e7a5c33740b298b2a6d24d89d4bd3a8607b.tar.bz2 |
* target.h: Add to_doc and target_preopen.
target.c: Add target_preopen and target_command.
Remove target_info.
(add_target): Call add_cmd and mess with targetlist->doc.
core.c, exec.c, remote-eb.c, remote-nindy.c, remote-vx.c,
remote-vx.68.c, inftarg.c, remote.c: Add doc field to target struct.
Call target_preopen from open routine.
Diffstat (limited to 'gdb/remote-eb.c')
-rw-r--r-- | gdb/remote-eb.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/remote-eb.c b/gdb/remote-eb.c index a140905..9f8cc5e 100644 --- a/gdb/remote-eb.c +++ b/gdb/remote-eb.c @@ -312,6 +312,8 @@ eb_open (name, from_tty) char *p; + target_preopen (from_tty); + /* Find the first whitespace character, it separates dev_name from prog_name. */ if (name == 0) @@ -907,6 +909,11 @@ eb_read_inferior_memory(memaddr, myaddr, len) struct target_ops eb_ops = { "amd-eb", "Remote serial AMD EBMON target", + "Use a remote computer running EBMON connected by a serial line.\n\ +Arguments are the name of the device for the serial line,\n\ +the speed to connect at in bits per second, and the filename of the\n\ +executable as it exists on the remote computer. For example,\n\ + target amd-eb /dev/ttya 9600 demo", eb_open, eb_close, 0, eb_detach, eb_resume, eb_wait, eb_fetch_register, eb_store_register, |