This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Prevent crashes using $arg0
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Thu, 30 Mar 2006 11:51:29 -0500
- Subject: Re: Prevent crashes using $arg0
- References: <20060207193932.GA28960@nevyn.them.org> <u64nq6h17.fsf@gnu.org> <20060220160428.GD16058@nevyn.them.org> <uirr9bwb4.fsf@gnu.org>
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 <drow@false.org>
> > 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