* sim-base.h (struct sim_state_base): Add prog_syms and
authorFred Fish <fnf@specifix.com>
Fri, 13 Mar 1998 20:39:00 +0000 (20:39 +0000)
committerFred Fish <fnf@specifix.com>
Fri, 13 Mar 1998 20:39:00 +0000 (20:39 +0000)
commit93f75411f6c54ef8e94712aa06f792fc6eafa413
tree6099086da9bd5da396a0da40cbe61350893d5b85
parent2b9cac47f502ffbd0a5810d05a86463fd583e71c
* sim-base.h (struct sim_state_base): Add prog_syms and
define macro STATE_PROG_SYMS.
* sim-trace.c (trace_one_insn): Add variables abfd, symsize,
symbol_count, and asymbols.  Call bfd_get_symtab_upper_bound
and bfd_canonicalize_symtab, to get symbol table on first use
and preserve it via STATE_PROG_SYMS for future calls to
bfd_find_nearest_line.
sim/common/ChangeLog
sim/common/sim-trace.c