From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17340 invoked by alias); 15 Dec 2002 19:03:18 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17331 invoked from network); 15 Dec 2002 19:03:17 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by 209.249.29.67 with SMTP; 15 Dec 2002 19:03:17 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18NfuL-0002Gd-00 for ; Sun, 15 Dec 2002 15:02:42 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18Ne2n-0006dR-00 for ; Sun, 15 Dec 2002 14:03:17 -0500 Date: Sun, 15 Dec 2002 12:07:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: PATCH: Fork event updates, part the ninth Message-ID: <20021215190317.GA25451@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i X-SW-Source: 2002-12/txt/msg00457.txt.bz2 Pulling leftovers from my working directory... this patch kills what used to be ->to_next, which hasn't been used for some time. Committed. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer 2002-12-15 Daniel Jacobowitz * target.c (update_current_target): Don't inherit DONT_USE. * target.h (struct target_ops): Remove DONT_USE. (target_next): Remove macro. Index: gdb/target.c =================================================================== RCS file: /cvs/src/src/gdb/target.c,v retrieving revision 1.47 diff -u -p -r1.47 target.c --- gdb/target.c 12 Dec 2002 01:39:34 -0000 1.47 +++ gdb/target.c 15 Dec 2002 18:56:17 -0000 @@ -609,7 +609,6 @@ update_current_target (void) INHERIT (to_get_current_exception_event, t); INHERIT (to_pid_to_exec_file, t); INHERIT (to_stratum, t); - INHERIT (DONT_USE, t); INHERIT (to_has_all_memory, t); INHERIT (to_has_memory, t); INHERIT (to_has_stack, t); Index: gdb/target.h =================================================================== RCS file: /cvs/src/src/gdb/target.h,v retrieving revision 1.33 diff -u -p -r1.33 target.h --- gdb/target.h 12 Dec 2002 01:39:34 -0000 1.33 +++ gdb/target.h 15 Dec 2002 18:56:18 -0000 @@ -295,8 +295,6 @@ struct target_ops struct exception_event_record *(*to_get_current_exception_event) (void); char *(*to_pid_to_exec_file) (int pid); enum strata to_stratum; - struct target_ops - *DONT_USE; /* formerly to_next */ int to_has_all_memory; int to_has_memory; int to_has_stack; @@ -779,11 +777,6 @@ extern void target_load (char *arg, int #define target_get_current_exception_event() \ (*current_target.to_get_current_exception_event) () - -/* Pointer to next target in the chain, e.g. a core file and an exec file. */ - -#define target_next \ - (current_target.to_next) /* Does the target include all of memory, or only part of it? This determines whether we look up the target chain for other parts of