Recognise (and ignore) symbols of type N_SIZE.

This commit is contained in:
pk 1993-12-08 08:33:40 +00:00
parent d52010132e
commit a5087c82e2
1 changed files with 11 additions and 1 deletions

View File

@ -8,7 +8,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)dbxread.c 6.3 (Berkeley) 5/8/91";*/
static char rcsid[] = "$Id: dbxread.c,v 1.3 1993/08/01 18:47:28 mycroft Exp $";
static char rcsid[] = "$Id: dbxread.c,v 1.4 1993/12/08 08:33:40 pk Exp $";
#endif /* not lint */
/* Read dbx symbol tables and convert to internal format, for GDB.
@ -63,6 +63,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif
#include <ctype.h>
/* This type specified the size of a N_DATA symbol of the same name */
#ifndef N_SIZE
#define N_SIZE 0xc
#endif
#ifndef NO_GNU_STABS
/*
* Define specifically gnu symbols here.
@ -2274,6 +2279,11 @@ read_dbx_symtab (desc, stringtab, stringtab_size, nlistlen, inclink,
case N_SETB | N_EXT:
case N_SETV:
#endif
#ifdef N_SIZE
case N_SIZE:
case N_SIZE | N_EXT:
#endif
continue;
/*