mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-10 09:42:26 +00:00
At the moment, the alpha tentatively uses the ddb elf code rather than KLD,
because the alpha boot loader hasn't been converted yet, and because it needs the full symbol tables with local symbols in order to make sense of stack tracebacks. KLD will implement this (using full sybmol table rather than the globals only) shortly.
This commit is contained in:
parent
91284f875f
commit
286896fe56
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40150
@ -1,4 +1,4 @@
|
||||
/* $Id: db_elf.c,v 1.2 1998/06/28 00:59:26 dfr Exp $ */
|
||||
/* $Id: db_elf.c,v 1.3 1998/08/17 08:06:31 dfr Exp $ */
|
||||
/* $NetBSD: db_elf.c,v 1.4 1998/05/03 18:49:54 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
@ -38,6 +38,8 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#if defined(__ELF__) && defined(__alpha__)
|
||||
|
||||
#include "opt_ddb.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@ -50,14 +52,6 @@
|
||||
#include <ddb/db_sym.h>
|
||||
#include <ddb/db_output.h>
|
||||
|
||||
#ifdef DB_ELF_SYMBOLS
|
||||
|
||||
#ifndef DB_ELFSIZE
|
||||
#error Must define DB_ELFSIZE!
|
||||
#endif
|
||||
|
||||
#define ELFSIZE DB_ELFSIZE
|
||||
|
||||
#include <machine/elf.h>
|
||||
|
||||
static char *db_elf_find_strtab __P((db_symtab_t *));
|
||||
@ -384,4 +378,4 @@ kdb_init(void)
|
||||
X_db_sym_init(ksym_start, ksym_end, "kernel");
|
||||
}
|
||||
|
||||
#endif /* DB_ELF_SYMBOLS */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user