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

Andrew Cagney ac131313@redhat.com
Mon Oct 20 22:39:00 GMT 2003


> Look at your use case:
> 
>   (gdb) info registers
>   No registers
>   User: "Huh?  How come there aren't any registers?  Wha?"
> 
>   (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.

Andrew




More information about the Gdb mailing list