]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/common/sim-base.h
sim: unify symbol table handling
[thirdparty/binutils-gdb.git] / sim / common / sim-base.h
index 350b352cc4c65b3f45cb7339f9ff0789f4a07ad1..76167ebb8726a8fd599ed05646d43d71ab698696 100644 (file)
@@ -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.  */