We don't compile this on an elf kernel (and explicitly not on alpha in

case it's possible to compile in something like ECOFF)
The three db_xxx.c symbol interfaces are "standard" because config isn't
flexible enough without forcing the user to know about it.
This commit is contained in:
peter 1998-10-09 23:29:44 +00:00
parent 580f0d0ec1
commit a25058f631

View File

@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
* $Id: db_aout.c,v 1.20 1998/06/07 17:09:36 dfr Exp $
* $Id: db_aout.c,v 1.21 1998/06/28 00:55:02 dfr Exp $
*/
/*
@ -34,6 +34,8 @@
* Symbol table routines for a.out format files.
*/
#if !defined(__ELF__) && !defined(__alpha__)
#include <sys/param.h>
#include <sys/systm.h>
@ -42,8 +44,6 @@
#include <ddb/ddb.h>
#include <ddb/db_sym.h>
#ifndef DB_NO_AOUT
#define _AOUT_INCLUDE_
#include <nlist.h>
#include <stab.h>
@ -399,5 +399,4 @@ read_symtab_from_file(fp, symtab_name)
}
#endif
#endif /* DB_NO_AOUT */
#endif