This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
multi-arch notes (long); Was: Multi-arching tm_print_insn?
- To: Jim Blandy <jimb at cygnus dot com>
- Subject: multi-arch notes (long); Was: Multi-arching tm_print_insn?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 24 Feb 2000 11:56:37 +1100
- CC: gdb at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <200002232238.RAA28167@zwingli.cygnus.com>
Jim Blandy wrote:
>
> What's the story with putting tm_print_insn under gdbarch control? It
> looks like the existing targets just assign to tm_print_insn and
> forget about it; switching architectures won't change your
> disassembler.
>
> Is this not done yet (perhaps waiting on further configury in
> opcodes), or is there some subtlety I haven't noticed?
There isn't any subtlety :-/ It's waiting for someone to put on a
thinking cap and figure out exactly how to generalize it. The target's
I've looked at haven't had alternate assembly formats.
The user interactioin is also tricky. If the user sets the assembly
format, should that carry over when the architecture is changed?
Andrew