bfinish writes to random addresses.
Daniel Jacobowitz
drow@false.org
Tue Jul 25 16:53:00 GMT 2006
On Tue, Jul 25, 2006 at 05:24:32PM +0100, Greg Law wrote:
> >Warning when returning from something with a symbol to something
> >without a symbol is an interesting suggestion. Does anyone else have
> >comments? Should this warn?
> >
> >(gdb) bt
> >#0 foo()
> >#1 0x4000000 in ???
> >(gdb) finish
> >
>
> I was actually suggesting an error rather than a warning. In this case,
> it seems that writing into 0x40000000 is almost certainly not what the
> user wants gdb to be doing.
Surprisingly often it is. We need to be sparing with errors.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list