Re: [PATCH 1/2] gdb: Improve formatting of 'show architecture' messages

Gary Benson
2020-07-08T10:06:04Z

Andrew Burgess wrote:
> This commit changes the output of 'show architecture'. Here is a
> session before this commit:
>
> (gdb) show architecture
> The target architecture is set automatically (currently i386)
> (gdb) set architecture mips
> The target architecture is assumed to be mips
> (gdb) show architecture
> The target architecture is assumed to be mips
> (gdb)
>
> After this commit the session now looks like this:
>
> (gdb) show architecture
> The target architecture is set to "auto" (currently i386).

This is potentially bikeshedding, but should the i386 in this
line be enclosed in quotes also?

Otherwise this LGTM.

Cheers,
Gary

--
Gary Benson - he / him / his
Principal Software Engineer, Red Hat