diff options
Diffstat (limited to 'sim/common/sim-base.h')
-rw-r--r-- | sim/common/sim-base.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/common/sim-base.h b/sim/common/sim-base.h index 350b352..76167eb 100644 --- a/sim/common/sim-base.h +++ b/sim/common/sim-base.h @@ -160,6 +160,10 @@ typedef struct { struct bfd_symbol **prog_syms; #define STATE_PROG_SYMS(sd) ((sd)->base.prog_syms) + /* Number of prog_syms symbols. */ + long prog_syms_count; +#define STATE_PROG_SYMS_COUNT(sd) ((sd)->base.prog_syms_count) + /* The program's text section. */ struct bfd_section *text_section; /* Starting and ending text section addresses from the bfd. */ |