This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Prevent crashes using $arg0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]