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



Right. So how about


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


Explicit mention of both program and core file would be helpful though.

Andrew



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