diff options
Diffstat (limited to 'sim/common')
-rw-r--r-- | sim/common/ChangeLog | 5 | ||||
-rw-r--r-- | sim/common/sim-base.h | 2 | ||||
-rw-r--r-- | sim/common/sim-trace.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 9e316d9..c7ff605 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,8 @@ +2003-10-30 Andrew Cagney <cagney@redhat.com> + + * sim-trace.c, sim-base.h: Replace "struct symbol_cache_entry" + with "struct bfd_symbol". + 2003-10-21 Andrew Cagney <cagney@redhat.com> * callback.c (os_truncate): Call "truncate", and not "stat". diff --git a/sim/common/sim-base.h b/sim/common/sim-base.h index 6f565c7..fde9847 100644 --- a/sim/common/sim-base.h +++ b/sim/common/sim-base.h @@ -175,7 +175,7 @@ typedef struct { #define STATE_PROG_BFD(sd) ((sd)->base.prog_bfd) /* Symbol table for prog_bfd */ - struct symbol_cache_entry **prog_syms; + struct bfd_symbol **prog_syms; #define STATE_PROG_SYMS(sd) ((sd)->base.prog_syms) /* The program's text section. */ diff --git a/sim/common/sim-trace.c b/sim/common/sim-trace.c index bbdff62..ccae100 100644 --- a/sim/common/sim-trace.c +++ b/sim/common/sim-trace.c @@ -1263,7 +1263,7 @@ trace_one_insn (SIM_DESC sd, sim_cpu *cpu, address_word pc, if (bfd_find_nearest_line (STATE_PROG_BFD (CPU_STATE (cpu)), STATE_TEXT_SECTION (CPU_STATE (cpu)), - (struct symbol_cache_entry **) 0, + (struct bfd_symbol **) 0, pc - STATE_TEXT_START (CPU_STATE (cpu)), &pc_filename, &pc_function, &pc_linenum)) { |