diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-06-06 06:19:57 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-06-06 06:19:57 +0000 |
commit | 5af2d5761ebe4beb2d3a1b78a0003acbda3553e5 (patch) | |
tree | 77373fddd31ef4c6b665bd0798f950d187cf7ba2 /gdb/remote-mips.c | |
parent | 5f9fc155f9a8124f74e82af1ef3918a404959afe (diff) | |
download | gdb-5af2d5761ebe4beb2d3a1b78a0003acbda3553e5.tar.gz |
Delete TARGET_MONITOR_PROMPT.
Diffstat (limited to 'gdb/remote-mips.c')
-rw-r--r-- | gdb/remote-mips.c | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 883ee9e8617..0b75e4cbf7a 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -1,5 +1,5 @@ /* Remote debugging interface for MIPS remote debugging protocol. - Copyright 1993-1995, 2000 Free Software Foundation, Inc. + Copyright 1993, 1994, 1995, 2000 Free Software Foundation, Inc. Contributed by Cygnus Support. Written by Ian Lance Taylor <ian@cygnus.com>. @@ -1654,7 +1654,24 @@ mips_open (name, from_tty) char *name; int from_tty; { - common_open (&mips_ops, name, from_tty, MON_IDT, TARGET_MONITOR_PROMPT); + const char *monitor_prompt = NULL; + if (TARGET_ARCHITECTURE != NULL + && TARGET_ARCHITECTURE->arch == bfd_arch_mips) + { + switch (TARGET_ARCHITECTURE->mach) + { + case bfd_mach_mips4100: + case bfd_mach_mips4300: + case bfd_mach_mips4600: + case bfd_mach_mips4650: + case bfd_mach_mips5000: + monitor_prompt = "<RISQ> "; + break; + } + } + if (monitor_prompt == NULL) + monitor_prompt = "<IDT>"; + common_open (&mips_ops, name, from_tty, MON_IDT, monitor_prompt); } static void |