Decode function entry mask on VAXen
Alan Modra
amodra@bigpond.net.au
Tue Mar 8 12:14:00 GMT 2005
objdump already breaks up calls to disassemble_bytes into the pieces of
a section between two defined symbols (possibly validated by a target
symbol_is_valid function). So if the only symbols in vax code are those
at the beginning of a function, your idea of using last_symbol_address
will work. However, I think it would be better to pass
"asymbol *last_symbol" instead, which gives your backend disassembler_fn
a chance to deal with non-function symbols that might appear in code.
Note that gdb also uses the disassembler, so it would be a good idea to
see how your ideas fit in with gdb too.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list