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 | ef31c1ea0efc1e66638a426acfe9678f25ebe8c0 (patch) | |
tree | 180c8306784030bb4bd843a34d2ca9965ea4d023 /gdb/remote-mips.c | |
parent | 55b13a653e6f73b82347cba05d8397860c4b0b76 (diff) | |
download | gdb-ef31c1ea0efc1e66638a426acfe9678f25ebe8c0.zip gdb-ef31c1ea0efc1e66638a426acfe9678f25ebe8c0.tar.gz gdb-ef31c1ea0efc1e66638a426acfe9678f25ebe8c0.tar.bz2 |
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 883ee9e..0b75e4c 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 |