RFC: Patch to arm-tdep.c -- Register flavors
Fernando Nasser
fnasser@cygnus.com
Sat Apr 1 00:00:00 GMT 2000
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
More information about the Gdb-patches
mailing list