This is the mail archive of the gdb-patches@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: [RFA] mips-tdep.c: Make ``show mips abi'' more useful


At Wed, 26 Feb 2003 21:29:39 +0000 (UTC), "Andrew Cagney" wrote:

Oops! The new output, though, is still confusing. For remote.c's packet commands it outputs either of:

Support for remote protocol `%s' (%s) packet is auto-detected, currently %s.
Support for remote protocol `%s' (%s) packet is currently %s.

which I think is much clearer. Can you just change the messages to something more like that before committing?

Or like the below :-)


FWIW, 'show architecture' says:

(gdb) show architecture
The target architecture is set automatically (currently mips:8000)

which i find very pretty. 8-)

if you actually force it, it says:

(gdb) set architecture mips:8000
The target architecture is assumed to be mips:8000
(gdb) show architecture
The target architecture is assumed to be mips:8000

and back to auto:

(gdb) set architecture auto
The target architecture is set automatically (currently mips:8000)



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