ARM/linux gdb stops and gives no info

Andrew Cagney ac131313@cygnus.com
Tue May 30 15:44:00 GMT 2000


"Peter.Schauer" wrote:

> I'd prefer to keep the selected_frame != NULL check in registers_info
> and rather make sure that selected_frame is not NULL in Richard's case,
> although I do not know if this can be done for the ARM.
> 
> On the other hand we could remove the check in registers_info and wait for
> bug reports with GDB crashing in registers_info due to selected_frame == NULL
> and fix their cause.
> 
> Has to be decided by the maintainer of infcmd.c (Fernando ? :-).

Rather than crash, a call to internal_error() would probably be more
friendly :-)

	Andrew

PS: Yes, I agree, ``(gdb) info registers'' shouldn't need a frame.  It's
ISA not ABI.

	Andrew


More information about the Gdb mailing list