From: Mark Alexander Date: Thu, 27 Mar 1997 22:25:51 +0000 (+0000) Subject: * remote-mips.c: Clean up comment and extraneous semicolon X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b68b97830b92ba5805ab347caa63e30a559c0aa6;p=binutils-gdb.git * remote-mips.c: Clean up comment and extraneous semicolon for mips_monitor_prompt variable. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 448a64500a9..31d622fd4fd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Thu Mar 27 14:21:46 1997 Mark Alexander + + * remote-mips.c: Clean up comment and extraneous semicolon + for mips_monitor_prompt variable. + Thu Mar 27 12:46:58 1997 Mark Alexander * remote-mips.c: Add `set monitor-prompt' command. diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 1b3dc44d4f1..7434b21a424 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -301,18 +301,19 @@ enum mips_monitor_type { }; 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; -; -/* 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. */ static int mips_is_open;