This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] mips-tdep.c: Make ``show mips abi'' more useful
- From: cgd at broadcom dot com
- To: ac131313 at redhat dot com
- Cc: "Kevin Buettner" <kevinb at redhat dot com>,gdb-patches at sources dot redhat dot com
- Date: 26 Feb 2003 14:32:18 -0800
- Subject: Re: [RFA] mips-tdep.c: Make ``show mips abi'' more useful
- References: <1030226024118.ZM14581@localhost.localdomain><3E5D3242.5080104@redhat.com> <mailpost.1046294979.10353@news-sj1-1>
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?
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)
8-)
chris