From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29862 invoked by alias); 20 Feb 2006 20:38:10 -0000 Received: (qmail 29854 invoked by uid 22791); 20 Feb 2006 20:38:10 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 20 Feb 2006 20:38:09 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-228-239-249.inter.net.il [84.228.239.249]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id DPI43470 (AUTH halo1); Mon, 20 Feb 2006 22:38:05 +0200 (IST) Date: Mon, 20 Feb 2006 21:22:00 -0000 Message-Id: From: Eli Zaretskii To: gdb-patches@sourceware.org In-reply-to: <20060220160428.GD16058@nevyn.them.org> (message from Daniel Jacobowitz on Mon, 20 Feb 2006 11:04:28 -0500) Subject: Re: Prevent crashes using $arg0 Reply-to: Eli Zaretskii References: <20060207193932.GA28960@nevyn.them.org> <20060220160428.GD16058@nevyn.them.org> 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-02/txt/msg00383.txt.bz2 > 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.