This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: RFA: cleanup INIT_DISASSEMBLE_INFO macro
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 02 Sep 2003 14:35:38 +0930
- Subject: Re: RFA: cleanup INIT_DISASSEMBLE_INFO macro
- References: <3F4BF174.6070405@redhat.com> <3F4D0C89.5020304@redhat.com>
On Wed, Aug 27, 2003 at 03:54:49PM -0400, Andrew Cagney wrote:
> Here's a revised patch. It just updates the binutils side and retains
> backward compatibility. I discovered that the sim directories have a
> few lotering INIT_DISASSEMBLE_INFO references.
OK. Hmm, you might like to use a memset in init_disassemble_info
instead of all the zero and NULL assignments.
Question: I'd like to stash the results of parsing
disassemble_info.disassembler_options in disassemble_info.private_data.
Saves doing the parsing every call to print_insn. Is this compatible
with gdb? ie. Does gdb re-init disassemble_info if the options change?
--
Alan Modra
IBM OzLabs - Linux Technology Centre