"No registers" or "No inferior to debug"?
Eli Zaretskii
eliz@elta.co.il
Tue Oct 21 18:55:00 GMT 2003
> Date: Tue, 21 Oct 2003 11:26:32 -0400
> From: Andrew Cagney <ac131313@redhat.com>
> >
> > (gdb) info registers
> > No program or core file to debug, so no registers.
>
> The point at which the error is detected and thrown is a long way from
> "info registers" so customizing it to mention ", so no registers" will
> be painful.
Is it possible to add "No registers." on a separate line after the
thread of execution comes back to "info registers"? That would
produce
(gdb) info registers
No program or core file to debug.
No registers.
More information about the Gdb
mailing list