This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH] Increase SECT_OFF_MAX
- To: Elena Zannoni <ezannoni at cygnus dot com>
- Subject: Re: [PATCH] Increase SECT_OFF_MAX
- From: Elena Zannoni <ezannoni at cygnus dot com>
- Date: Fri, 21 Apr 2000 10:33:59 -0400 (EDT)
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <14591.31056.47840.665560@kwikemart.cygnus.com>
FYI, I commited this one.
Elena
Elena Zannoni writes:
>
> 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
>