From 8ffd75c8a93075fb4a23bda7ae66e3b579038c6b Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Fri, 3 May 1991 01:07:12 +0000 Subject: 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. --- gdb/infptrace.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gdb/infptrace.c') diff --git a/gdb/infptrace.c b/gdb/infptrace.c index 03bb271..a5b976d 100644 --- a/gdb/infptrace.c +++ b/gdb/infptrace.c @@ -32,7 +32,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include #include +#ifndef USG #include +#endif + #if !defined (PT_KILL) #define PT_KILL 8 #define PT_STEP 9 @@ -40,9 +43,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define PT_READ_U 3 #define PT_WRITE_U 6 #define PT_READ_I 1 +#define PT_READ_D 2 #define PT_WRITE_I 4 -/* The Following Change is for a Sun */ -#define PT_WRITE_D 4 +#define PT_WRITE_D 5 #endif /* No PT_KILL. */ #ifndef PT_ATTACH -- cgit v1.1