From 680c9dfa720a0585b3b740cd467419f068afc9b4 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Wed, 25 Sep 1991 01:09:15 +0000 Subject: [PATCH] IN_SIGTRAMP bugfix. --- gdb/ChangeLog | 24 +++++++++++++++++++++--- gdb/infrun.c | 4 ++-- gdb/tm-ultra3.h | 2 +- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 928f066..2866786 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,15 @@ +Tue Sep 24 18:05:30 1991 John Gilmore (gnu at cygnus.com) + + * infrun.c (IN_SIGTRAMP): Not parenthesized properly. + Bugfix from Paul Eggert . + * tm-ultra3.h (IN_SIGTRAMP): Ditto. + +Mon Sep 23 15:50:07 1991 John Gilmore (gnu at cygnus.com) + + * Makefile.in: Roll VERSION to 4.1.1. + * source.c (line_info): Peter Schauer fixes a bug I introduced in + hex conversion. + Fri Sep 20 16:10:52 1991 John Gilmore (gnu at cygnus.com) GDB-4.1 release! @@ -10,6 +22,11 @@ Fri Sep 20 16:10:52 1991 John Gilmore (gnu at cygnus.com) * main.c (main): Avoid any output before (gdb) prompt when -q. * language.c (set_language_command): Handle errors by restoring the language string to its current state (fix from A. Beers). + * doc/gdbint.texinfo: Roll in information from README. Rearrange + "how to install" and "how to print the doc" stuff so it drops + easier into README. + * configure.in: Rename rtpc CPU to romp to match config.sub. + * README, WHATS.NEW, TODO: Update for gdb-4.1. Fri Sep 20 17:39:14 1991 Roland H. Pesch (pesch at cygnus.com) @@ -88,7 +105,7 @@ Thu Sep 19 17:04:12 1991 Per Bothner (bothner at cygnus.com) * mipsread.c (parse_partial_symbols): Enter the name of all structs/unions... into the psymtab so we can access them if the symtab is not read in. - * mips-tdep.c: Remove some unneded (?) #includes. + * mips-tdep.c: Remove some unneeded #includes. * xconfig/dec3100: Add HAVE_STRSTR. Thu Sep 19 15:14:23 1991 John Gilmore (gnu at cygnus.com) @@ -162,7 +179,6 @@ Wed Sep 18 15:55:51 1991 John Gilmore (gnu at cygnus.com) (lookup_unsigned_typename): Call above. (create_array_type): Set up range type for array index. (list_symbols): Call typedef_print to print typedefs. - (Currently #ifndef FIXME'd out awaiting integration.) * values.c (unpack_long, value_from_longest): Handle TYPE_CODE_BOOL and TYPE_CODE_CHAR. @@ -204,7 +220,9 @@ Wed Sep 18 15:55:51 1991 John Gilmore (gnu at cygnus.com) Tue Sep 17 08:37:41 1991 John Gilmore (gnu at cygint.cygnus.com) Add Andrew Beers' changes for Modula-2 support. His ChangeLog - entries are enclosed herein: + entries are enclosed herein. Not all of these changes + have been merged into the master GDB sources -- check the + ChangeLog above here for the merge log. Mon Jun 3 17:05:45 EDT 1991 diff --git a/gdb/infrun.c b/gdb/infrun.c index a0776c8..8bf50ec 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -166,7 +166,7 @@ extern struct target_ops child_ops; /* In inftarg.c */ no name, assume we are not in sigtramp). */ #if !defined (IN_SIGTRAMP) #define IN_SIGTRAMP(pc, name) \ - name && !strcmp ("_sigtramp", name) + (name && !strcmp ("_sigtramp", name)) #endif #ifdef TDESC @@ -528,7 +528,7 @@ child_create_inferior (exec_file, allargs, env) #ifdef TIOCGPGRP /* Run inferior in a separate process group. */ debug_setpgrp = setpgrp (getpid (), getpid ()); - if (0 != debug_setpgrp) + if (debug_setpgrp == -1) perror("setpgrp failed in child"); #endif /* TIOCGPGRP */ diff --git a/gdb/tm-ultra3.h b/gdb/tm-ultra3.h index 2b60f90..59dcaa3 100644 --- a/gdb/tm-ultra3.h +++ b/gdb/tm-ultra3.h @@ -177,7 +177,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ */ #if !defined(KERNEL_DEBUGGING) #ifdef SYM1 -# define IN_SIGTRAMP(pc, name) name && !strcmp ("sigtramp", name) +# define IN_SIGTRAMP(pc, name) (name && !strcmp ("sigtramp", name)) #else Need to define IN_SIGTRAMP() for sym2. #endif -- 2.7.4