This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [patch] h8 disassembler/simulator unification
- To: Kazu Hirata <kazu at hxi dot com>
- Subject: Re: [patch] h8 disassembler/simulator unification
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 07 Jun 2000 14:48:41 +1000
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <200006041812.LAA02919@cygnus.com>
Kazu Hirata wrote:
>
> Hi,
>
> Attached is a patch that sort of unifies H8/300[HS] disassembler and
> simulator. All it does is to fix formatting.
>
> The real purpose of submitting the "formatting-only" patch is to
> reduce white-space differences between bfd_h8_disassemble () in
> opcodes/h8300-dis.c and compile () in sim/h8300/compile.c so that I
> can use "diff" to compare the above two functions without seeing
> meaningless differences like white-space differences.
>
> The reason for wanting to compare them is because there is a chain of
> bugs in the simulator. That is, fixing one breaks another thing, and
> fixing that breaks yet another thing. At a grance, the cause seems to
> come from the fact that the opcode-interpretation part of compile.c
> has not kept up with that of h8300-dis.c.
>
> So, if you could, please apply the patch below so that people can
> confortably work on the real bug fix. I'll post a bug report
> separately.
>
> Thanks,
>
> Kazu Hirata
Just FYI,
The opcodes patches should be sent to binutils@sourceware.cygnus.com -
the are a part of binutils. The sim stuff gets sent here.
Andrew