From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9174 invoked by alias); 30 Mar 2006 16:51:32 -0000 Received: (qmail 9166 invoked by uid 22791); 30 Mar 2006 16:51:31 -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; Thu, 30 Mar 2006 16:51:31 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FP0Mr-0000Xt-7E for gdb-patches@sourceware.org; Thu, 30 Mar 2006 11:51:29 -0500 Date: Thu, 30 Mar 2006 17:20:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: Prevent crashes using $arg0 Message-ID: <20060330165129.GH32409@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <20060207193932.GA28960@nevyn.them.org> <20060220160428.GD16058@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00373.txt.bz2 On Mon, Feb 20, 2006 at 10:38:07PM +0200, Eli Zaretskii wrote: > > Date: Mon, 20 Feb 2006 11:04:28 -0500 > > From: Daniel Jacobowitz > > Cc: gdb-patches@sourceware.org > > > > Good idea. > > > > > [Time passes...] Actually, I'm quite sure we should behave like I > > > suggested, since we already do that without the if clause: > > > > > > (gdb) print $arg0 > > > $1 = void > > > (gdb) > > > > And let's test that too. > > > > Does this look better? > > Yes, thanks. Thanks, I've checked this in. -- Daniel Jacobowitz CodeSourcery