This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Decode function entry mask on VAXen


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]