This is the mail archive of the binutils@sourceware.org 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: [patch] ARM mapping symbols and disassembly


Hi Paul,

2006-10-20 Paul Brook <paul@codesourcery.com>

	binutils/
	* objdump.c (disassemble_section): Set info->symtab{,_size,_pos}.

	include/
	* dis-asm.h (disassemble_info): Add symtab, symtab_pos and
	symtab_size.

	opcodes/
	* arm-dis.c (last_is_thumb, last_mapping_sym, last_mapping_addr): New.
	(get_sym_code_type): New function.
	(print_insn): Search for mapping symbols.

Approved - please apply, but...


+//printf("Scan %d %s\n", n, bfd_asymbol_name(info->symtab[n]));

Left over debugging ? (Plus C++ style comment).


+//printf("Mapping %d %d %d\n", last_mapping_sym, info->symtab_pos, info->symtab_size);

Likewise.


Cheers
  Nick



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