From: Andrew Cagney <ac131313@cygnus.com>
To: GDB Patches <gdb-patches@sourceware.cygnus.com>
Subject: [patch] Zap more #ifdef HAVE_VFORK
Date: Mon, 26 Mar 2001 08:45:00 -0000 [thread overview]
Message-ID: <3ABF722C.EDDEF9BC@cygnus.com> (raw)
Missed this when re-fixing the autoconfed vfork() call.
Andrew
? diffs
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.1113
diff -p -r1.1113 ChangeLog
*** ChangeLog 2001/03/26 12:25:30 1.1113
--- ChangeLog 2001/03/26 16:40:15
***************
*** 1,3 ****
--- 1,8 ----
+ 2001-03-26 Andrew Cagney <ac131313@redhat.com>
+
+ * fork-child.c (clone_and_follow_inferior): Delete #ifdef
+ HAVE_VFORK.
+
2001-03-26 Mark Kettenis <kettenis@gnu.org>
* config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
Index: fork-child.c
===================================================================
RCS file: /cvs/src/src/gdb/fork-child.c,v
retrieving revision 1.10
diff -p -r1.10 fork-child.c
*** fork-child.c 2001/03/23 22:48:44 1.10
--- fork-child.c 2001/03/26 16:40:16
*************** clone_and_follow_inferior (int child_pid
*** 421,434 ****
error ("error getting pipe for handoff semaphore");
/* Clone the debugger. */
- #ifdef HAVE_VFORK
if (debug_fork)
debugger_pid = fork ();
else
debugger_pid = vfork ();
- #else
- debugger_pid = fork ();
- #endif
if (debugger_pid < 0)
perror_with_name ("fork");
--- 421,430 ----
From ac131313@cygnus.com Mon Mar 26 09:41:00 2001
From: Andrew Cagney <ac131313@cygnus.com>
To: Elena Zannoni <ezannoni@cygnus.com>
Cc: GDB Patches <gdb-patches@sourceware.cygnus.com>
Subject: Re: [rfa] *read.c -Wuninitialized fixes
Date: Mon, 26 Mar 2001 09:41:00 -0000
Message-id: <3ABF7F22.33B94C20@cygnus.com>
References: <3A2206A3.EA2ACA96@cygnus.com> <3A220727.C4087391@cygnus.com> <15038.44723.24996.553357@kwikemart.cygnus.com>
X-SW-Source: 2001-03/msg00468.html
Content-length: 296
Elena Zannoni wrote:
>
> Better late than never.....
>
> Yes Ok. I committed this given it has been sitting there for sooo long....
Thanks!
Hmm, with these two in I think it is possible to configure GDB with
--enable-gdb-build-warnings=-Wuninitialized,-Werror. Just need to
check.
Andrew
next reply other threads:[~2001-03-26 8:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-26 8:45 Andrew Cagney [this message]
2001-03-26 16:24 ` Kevin Buettner
2001-04-06 11:47 ` Andrew Cagney
2001-04-06 12:14 ` Kevin Buettner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3ABF722C.EDDEF9BC@cygnus.com \
--to=ac131313@cygnus.com \
--cc=gdb-patches@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox