This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: RFC: Patch to arm-tdep.c -- Register flavors
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: RFC: Patch to arm-tdep.c -- Register flavors
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Wed, 16 Feb 2000 13:14:01 -0500
- CC: gdb-patches at sourceware dot cygnus dot com, nickc at cygnus dot com
- Organization: Red Hat , Inc. - Toronto
- References: <38A9C3F4.20C62065@cygnus.com> <38AA269E.DFC07CAE@cygnus.com>
Andrew Cagney wrote:
>
> Fernando Nasser wrote:
> >
> > ChageLog: This patch allows the user to choose between any of the
> > flavors available for the disassembly to be used in the "info reg"
> > command and elsewhere in gdb. It prevents having to maintain this
> > information in two places by using the data kept in the opcodes
> > directory.
>
> With regard to the argumet to set dissassembly-flavour et.al. commands,
> is there anything generic in either BFD or opcodes that can be used to
> determine the names?
>
> The argument to ``set architecture'' is determined by BFD. If an
> equivalent is available for this register/opcode stuff then I think
> there would be a greater chance of consistency between the different
> modules.
>
That's the idea. The proposed code does use opcodes as the source for
everything. Even the help text is built from information gathered from
opcodes. Gdb is now 100% consistent with whatever also uses the opcodes
unified code.
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311
Toronto, Ontario M4P 2C9 Fax: 416-482-6299