This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: ARM/linux gdb stops and gives no info
- To: "Peter.Schauer" <Peter dot Schauer at regent dot e-technik dot tu-muenchen dot de>
- Subject: Re: ARM/linux gdb stops and gives no info
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 31 May 2000 08:41:41 +1000
- CC: Fernando Nasser <fnasser at cygnus dot com>, rearnsha at arm dot com, Nicolas dot Thery at Symbian dot com, gdb at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <200005302045.WAA16113@reisser.regent.e-technik.tu-muenchen.de>
"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