This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: "No registers" or "No inferior to debug"?
- From: "Eli Zaretskii" <eliz at elta dot co dot il>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: mec at shout dot net, gdb at sources dot redhat dot com
- Date: Tue, 21 Oct 2003 07:45:34 +0200
- Subject: Re: "No registers" or "No inferior to debug"?
- References: <200310202156.h9KLuRKV001659@duracef.shout.net> <3F94640A.4010807@redhat.com>
- Reply-to: Eli Zaretskii <eliz at elta dot co dot il>
> Date: Mon, 20 Oct 2003 18:39:06 -0400
> From: Andrew Cagney <ac131313@redhat.com>
> >
> > (gdb) info registers
> > The program is not being run
> > User: "Oh, okay, I guess I can't see the registers right now."
> >
> > So I like "The program is not being run."
> > "The inferior program is not being run." would be okay too.
>
> Info registers works with a core file. And that is definitly not being run.
Right. So how about
(gdb) info registers
No program or core file to debug, so no registers.