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-nindy.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-nindy.c')
-rw-r--r-- | gdb/remote-nindy.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c index af19fd4..08cc9de 100644 --- a/gdb/remote-nindy.c +++ b/gdb/remote-nindy.c @@ -220,6 +220,8 @@ nindy_open (name, from_tty) if (!name) error_no_arg ("serial port device name"); + target_preopen (from_tty); + nindy_close (0); have_regs = regs_changed = 0; @@ -932,6 +934,11 @@ nindy_before_main_loop () struct target_ops nindy_ops = { "nindy", "Remote serial target in i960 NINDY-specific protocol", + "Use a remote i960 system running NINDY connected by a serial line.\n\ +Specify the name of the device the serial line is connected to.\n\ +The speed (baud rate), whether to use the old NINDY protocol,\n\ +and whether to send a break on startup, are controlled by options\n\ +specified when you started GDB.", nindy_open, nindy_close, 0, nindy_detach, nindy_resume, nindy_wait, nindy_fetch_registers, nindy_store_registers, |