[PATCH] Increase SECT_OFF_MAX

Elena Zannoni ezannoni@cygnus.com
Thu Apr 20 14:40:00 GMT 2000


This patch increases the value of SECT_OFF_MAX to 40, to make it the
same as MAX_SECTIONS.

See:

http://sourceware.cygnus.com/ml/gdb/2000-04/msg00111.html

Elena

Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.293
diff -c -r1.293 ChangeLog
*** ChangeLog   2000/04/20 21:13:19     1.293
--- ChangeLog   2000/04/20 21:36:26
***************
*** 1,3 ****
--- 1,7 ----
+ 2000-04-20  Elena Zannoni <ezannoni@cygnus.com>
+ 
+         * gdb-stabs.h (SECT_OFF_MAX): Increase to 40.
+ 
  2000-04-20  Scott Bambrough <scottb@netwinder.org>
  
        * arm-linux-nat.c (PIDGET, TIDGET): New.
Index: gdb-stabs.h
===================================================================
RCS file: /cvs/src/src/gdb/gdb-stabs.h,v
retrieving revision 1.1.1.3
diff -c -r1.1.1.3 gdb-stabs.h
*** gdb-stabs.h 1999/10/05 23:08:13     1.1.1.3
--- gdb-stabs.h 2000/04/20 21:36:26
***************
*** 37,43 ****
  #define       SECT_OFF_DATA   1
  #define       SECT_OFF_BSS    2
  #define       SECT_OFF_RODATA 3
! #define       SECT_OFF_MAX    16      /* Count of possible values */
  
  /* The stab_section_info chain remembers info from the ELF symbol table,
     while psymtabs are being built for the other symbol tables in the 
--- 37,43 ----
  #define       SECT_OFF_DATA   1
  #define       SECT_OFF_BSS    2
  #define       SECT_OFF_RODATA 3
! #define       SECT_OFF_MAX    40      /* Count of possible values */
  
  /* The stab_section_info chain remembers info from the ELF symbol table,
     while psymtabs are being built for the other symbol tables in the 



More information about the Gdb-patches mailing list