This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "No registers" or "No inferior to debug"?


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]