aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMark Alexander <marka@cygnus>1997-03-27 22:25:51 +0000
committerMark Alexander <marka@cygnus>1997-03-27 22:25:51 +0000
commitb68b97830b92ba5805ab347caa63e30a559c0aa6 (patch)
tree8a17d8aa74a404e1e03cc5f54a0aa9384efb71cd /gdb
parentd2ee1370c2264a8752f2491d3b04bc8a728022ae (diff)
downloadgdb-b68b97830b92ba5805ab347caa63e30a559c0aa6.zip
gdb-b68b97830b92ba5805ab347caa63e30a559c0aa6.tar.gz
gdb-b68b97830b92ba5805ab347caa63e30a559c0aa6.tar.bz2
* remote-mips.c: Clean up comment and extraneous semicolon
for mips_monitor_prompt variable.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/remote-mips.c23
2 files changed, 17 insertions, 11 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 448a645..31d622f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
* remote-mips.c: Add `set monitor-prompt' command.
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c
index 1b3dc44..7434b21 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;