From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24990 invoked by alias); 3 Nov 2003 22:01:06 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24983 invoked from network); 3 Nov 2003 22:01:05 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 3 Nov 2003 22:01:05 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 29B0E2B8F; Mon, 3 Nov 2003 17:01:01 -0500 (EST) Message-ID: <3FA6D01D.5040500@gnu.org> Date: Mon, 03 Nov 2003 22:01:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jim Blandy Cc: gdb@sources.redhat.com Subject: Re: Macro code crasher on re-run References: <20031103040751.GA30979@nevyn.them.org> <20031103045601.GA32557@nevyn.them.org> <20031103210453.GA17444@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-11/txt/msg00019.txt.bz2 > > I haven't debugged it (only Daniel J. has seen the problem, as far as > I know), but I kind of suspect this change: > > 2003-10-22 Andrew Cagney > > * target.c (target_close): New function. > (debug_to_close): Use "target_close". > (push_target): Use "target_close". > (unpush_target): Use "target_close". > (pop_target): Use "target_close". > * target.h (struct target_ops): Add "to_xclose". > (target_open): Delete macro. Move comment to "to_open". > (target_close): Replace macro with function that takes a target. > * top.c (quit_target): Pass "current_target" to "target_close". That's unlikely. The change re-aranged deck chairs. Andrew