* remote-mips.c: Clean up comment and extraneous semicolon
for mips_monitor_prompt variable.
This commit is contained in:
parent
d2ee1370c2
commit
b68b97830b
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Mar 27 14:21:46 1997 Mark Alexander <marka@cygnus.com>
|
||||||
|
|
||||||
|
* remote-mips.c: Clean up comment and extraneous semicolon
|
||||||
|
for mips_monitor_prompt variable.
|
||||||
|
|
||||||
Thu Mar 27 12:46:58 1997 Mark Alexander <marka@cygnus.com>
|
Thu Mar 27 12:46:58 1997 Mark Alexander <marka@cygnus.com>
|
||||||
|
|
||||||
* remote-mips.c: Add `set monitor-prompt' command.
|
* remote-mips.c: Add `set monitor-prompt' command.
|
||||||
|
|
|
@ -301,18 +301,19 @@ enum mips_monitor_type {
|
||||||
};
|
};
|
||||||
static enum mips_monitor_type mips_monitor = MON_LAST;
|
static enum mips_monitor_type mips_monitor = MON_LAST;
|
||||||
|
|
||||||
/* The default monitor prompt text: */
|
/* The monitor prompt text. If the user sets the PMON prompt
|
||||||
|
to some new value, the GDB `set monitor-prompt' command must also
|
||||||
|
be used to inform GDB about the expected prompt. Otherwise, GDB
|
||||||
|
will not be able to connect to PMON in mips_initialize().
|
||||||
|
If the `set monitor-prompt' command is not used, the expected
|
||||||
|
default prompt will be set according the target:
|
||||||
|
target prompt
|
||||||
|
----- -----
|
||||||
|
pmon PMON>
|
||||||
|
ddb NEC010>
|
||||||
|
lsi PMON>
|
||||||
|
*/
|
||||||
static char *mips_monitor_prompt;
|
static char *mips_monitor_prompt;
|
||||||
;
|
|
||||||
/* For the Cogent PMON world this is still not ideal. The default
|
|
||||||
prompt is "PMON> ", unfortunately the user can change the prompt
|
|
||||||
and the new prompt will survive over a power-cycle (EEPROM). This
|
|
||||||
means that the code should really force the monitor prompt to a
|
|
||||||
known value as the very first action, and that the
|
|
||||||
"mips_monitor_prompt" support is not needed... since the prompt
|
|
||||||
could be explicitly set to TARGET_MONITOR_PROMPT (even though it
|
|
||||||
may be the prompt for a different monitor). However, this will
|
|
||||||
require changing the mips_initialize reset sequence. (TODO) */
|
|
||||||
|
|
||||||
/* Set to 1 if the target is open. */
|
/* Set to 1 if the target is open. */
|
||||||
static int mips_is_open;
|
static int mips_is_open;
|
||||||
|
|
Loading…
Reference in New Issue