Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Fred Fish <fnf@specifix.com>
To: Daniel Jacobowitz <drow@false.org>
Cc: GDB Patches <gdb-patches@sources.redhat.com>, fnf@specifix.com
Subject: Re: [RFC] Patch for QUIT macro support
Date: Fri, 13 Oct 2006 14:58:00 -0000	[thread overview]
Message-ID: <200610130757.45150.fnf@specifix.com> (raw)
In-Reply-To: <20061013133046.GA9478@nevyn.them.org>

This doesn't fix the issue with QUIT, but it does get rid of
old cruft that is no longer used.

-Fred


2006-10-13  Fred Fish  <fnf@specifix.com>

	* defs.h (request_quit): Remove declaration.
	* utils.c (request_quit): Remove definition.


Index: gdb/gdb/defs.h
===================================================================
RCS file: /services/cvs/cvsroot/latest/gdb/gdb/defs.h,v
retrieving revision 1.1.1.5.2.5
diff -u -p -r1.1.1.5.2.5 defs.h
--- gdb/gdb/defs.h	13 Oct 2006 14:39:17 -0000	1.1.1.5.2.5
+++ gdb/gdb/defs.h	13 Oct 2006 14:49:32 -0000
@@ -342,8 +342,6 @@ extern int subset_compare (char *, char 
 
 extern char *safe_strerror (int);
 
-extern void request_quit (int);
-
 #define	ALL_CLEANUPS	((struct cleanup *)0)
 
 extern void do_cleanups (struct cleanup *);
Index: gdb/gdb/utils.c
===================================================================
RCS file: /services/cvs/cvsroot/latest/gdb/gdb/utils.c,v
retrieving revision 1.1.1.5.2.2
diff -u -p -r1.1.1.5.2.2 utils.c
--- gdb/gdb/utils.c	25 Sep 2006 02:04:53 -0000	1.1.1.5.2.2
+++ gdb/gdb/utils.c	13 Oct 2006 14:49:32 -0000
@@ -906,18 +906,6 @@ quit (void)
 #endif
 }
 
-/* Control C comes here */
-void
-request_quit (int signo)
-{
-  quit_flag = 1;
-  /* Restore the signal handler.  Harmless with BSD-style signals,
-     needed for System V-style signals.  */
-  signal (signo, request_quit);
-
-  if (immediate_quit)
-    quit ();
-}
 \f
 /* Called when a memory allocation fails, with the number of bytes of
    memory requested in SIZE. */


  parent reply	other threads:[~2006-10-13 14:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-13 12:43 Fred Fish
2006-10-13 13:22 ` Fred Fish
2006-10-13 13:30   ` Daniel Jacobowitz
2006-10-13 13:49     ` Fred Fish
2007-01-21 17:44       ` Daniel Jacobowitz
2007-01-21 19:23         ` Fred Fish
     [not found]       ` <200610151800.k9FI0fDS016688@elgar.sibelius.xs4all.nl>
2007-01-22 14:41         ` Fred Fish
2007-02-08 14:34           ` Daniel Jacobowitz
2007-02-08 20:49             ` Nick Roberts
2007-02-08 21:17               ` Fred Fish
2007-02-08 21:51                 ` Nick Roberts
2006-10-13 14:58     ` Fred Fish [this message]
2007-02-08 14:34       ` Daniel Jacobowitz
2006-10-16  0:08 Nick Roberts

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=200610130757.45150.fnf@specifix.com \
    --to=fnf@specifix.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sources.redhat.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