Add a definition of ddb_regs. ddb_regs is declared as extern in

db_machdep.h to fix the link failure (multiple definitions)
caused by disabling the emission of common symbols. As a result,
there were no definitions at all. While here, remove useless
declarations.
This commit is contained in:
Marcel Moolenaar 2002-01-18 07:55:23 +00:00
parent 7fdc2e1a11
commit 57aace23d5

View File

@ -67,12 +67,9 @@ extern jmp_buf db_jmpbuf;
extern void gdb_handle_exception __P((db_regs_t *, int));
#if 0
extern char *trap_type[];
extern int trap_types;
#endif
int db_active;
db_regs_t ddb_regs;
static u_int64_t zero;
static int db_get_rse_reg(struct db_variable *vp, db_expr_t *valuep, int op);
static int db_get_pc_reg(struct db_variable *vp, db_expr_t *valuep, int op);