From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16884 invoked by alias); 18 Feb 2006 17:42:53 -0000 Received: (qmail 16876 invoked by uid 22791); 18 Feb 2006 17:42:53 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sat, 18 Feb 2006 17:42:52 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FAW6Y-0006GV-B7; Sat, 18 Feb 2006 12:42:46 -0500 Date: Sat, 18 Feb 2006 18:27:00 -0000 From: Daniel Jacobowitz To: Randolph Chung Cc: msnyder@redhat.com, gdb@sources.redhat.com Subject: Re: "run", and executable file/symtab association? Message-ID: <20060218174245.GB24047@nevyn.them.org> Mail-Followup-To: Randolph Chung , msnyder@redhat.com, gdb@sources.redhat.com References: <20060215030909.GB8700@nevyn.them.org> <43F6EEB4.4040002@tausq.org> <20060218152827.GA21241@nevyn.them.org> <43F7592D.40901@tausq.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43F7592D.40901@tausq.org> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00241.txt.bz2 On Sun, Feb 19, 2006 at 01:28:13AM +0800, Randolph Chung wrote: > >pop_target calls current_target->to_close. I am suspecting that it > >should call target_stack->to_close instead. > > hrm, target_stack is "child", and its to_close method is NULL. > target_stack->beneath is "exec" and its to_close is exec_close... Right; but we're not closing exec. Take a look at target_close() which does nothing if the method is NULL. -- Daniel Jacobowitz CodeSourcery