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"?


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.

Michael C


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