aboutsummaryrefslogtreecommitdiff
path: root/gdb/cplus-dem.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-05-03 01:07:12 +0000
committerJohn Gilmore <gnu@cygnus>1991-05-03 01:07:12 +0000
commit8ffd75c8a93075fb4a23bda7ae66e3b579038c6b (patch)
tree49685682ddada743c17ff32ee585d5c03b1054d7 /gdb/cplus-dem.c
parent2bff8e38bcfa1cbc460bd605e6907bc99158a096 (diff)
downloadgdb-8ffd75c8a93075fb4a23bda7ae66e3b579038c6b.zip
gdb-8ffd75c8a93075fb4a23bda7ae66e3b579038c6b.tar.gz
gdb-8ffd75c8a93075fb4a23bda7ae66e3b579038c6b.tar.bz2
Mips bringup and general cleanup
* cplus-dem.c: Move CPLUS_MARKER define to after defs.h. * infptrace.c (PT_WRITE_D, PT_READ_D): Use correct values. (This still doesn't seem to make MIPS bkpts work.) * mipsread.c: Remove dup "Reading symbol data..." msg. (symbol_file_command, add_file_command): Remove, obsol. * printcmd.c (ptype_command): Say "an enum" rather than "a enum". Wrap output appropriately. * stack.c (locals_info, catch_info, args_info): Check selected_frame rather than target_has_stack or coredumping. * valprint.c (type_print_varspec_suffix): Wrap "ptype" output of enums appropriately.
Diffstat (limited to 'gdb/cplus-dem.c')
-rw-r--r--gdb/cplus-dem.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/cplus-dem.c b/gdb/cplus-dem.c
index 95c4529..cbb79c4 100644
--- a/gdb/cplus-dem.c
+++ b/gdb/cplus-dem.c
@@ -54,13 +54,6 @@
/* define this if names don't start with _ */
/* #define nounderscore 1 */
-/* This is '$' on systems where the assembler can deal with that.
- Where the assembler can't, it's '.' (but on many systems '.' is
- used for other things). */
-#if !defined (CPLUS_MARKER)
-#define CPLUS_MARKER '$'
-#endif
-
#include <stdio.h>
#include <ctype.h>
@@ -79,6 +72,13 @@
#define strrchr rindex
#endif
+/* This is '$' on systems where the assembler can deal with that.
+ Where the assembler can't, it's '.' (but on many systems '.' is
+ used for other things). */
+#if !defined (CPLUS_MARKER)
+#define CPLUS_MARKER '$'
+#endif
+
#ifndef __STDC__
#define const
#endif