Date: Sun, 25 Apr 2004 16:10:52 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 51735 for review Message-ID: <200404252310.i3PNAqjZ091613@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=51735 Change 51735 by marcel@marcel_nfs on 2004/04/25 16:10:47 Remove db_cpu_trap(). Affected files ... .. //depot/projects/gdb/sys/alpha/alpha/db_interface.c#5 edit .. //depot/projects/gdb/sys/ddb/ddb.h#4 edit .. //depot/projects/gdb/sys/i386/i386/db_interface.c#7 edit .. //depot/projects/gdb/sys/ia64/ia64/db_interface.c#5 edit .. //depot/projects/gdb/sys/sparc64/sparc64/db_interface.c#5 edit Differences ... ==== //depot/projects/gdb/sys/alpha/alpha/db_interface.c#5 (text+ko) ==== @@ -117,11 +117,6 @@ }; struct db_variable *db_eregs = db_regs + sizeof(db_regs)/sizeof(db_regs[0]); -void -db_cpu_trap(int entry, int code, struct trapframe *tf) -{ -} - /* * Read bytes from kernel address space for debugger. */ @@ -331,19 +326,6 @@ return (FALSE); } -#if 0 -boolean_t -db_inst_spill(ins, regn) - int ins, regn; -{ - alpha_instruction insn; - - insn.bits = ins; - return ((insn.mem_format.opcode == op_stq) && - (insn.mem_format.rd == regn)); -} -#endif - boolean_t db_inst_load(ins) int ins; ==== //depot/projects/gdb/sys/ddb/ddb.h#4 (text+ko) ==== @@ -85,7 +85,6 @@ void db_check_interrupt(void); void db_clear_watchpoints(void); -void db_cpu_trap(int, int, struct trapframe *); db_addr_t db_disasm(db_addr_t loc, boolean_t altfmt); /* instruction disassembler */ void db_error(const char *s); ==== //depot/projects/gdb/sys/i386/i386/db_interface.c#7 (text+ko) ==== @@ -48,16 +48,6 @@ #include <ddb/ddb.h> -void -db_cpu_trap(int type, int code, struct trapframe *tf) -{ - /* If in kernel mode, esp and ss are not saved, so dummy them up. */ - if (ISPL(tf->tf_cs) == 0) { - tf->tf_esp = (int)&tf->tf_esp; - tf->tf_ss = rss(); - } -} - /* * Read bytes from kernel address space for debugger. */ ==== //depot/projects/gdb/sys/ia64/ia64/db_interface.c#5 (text+ko) ==== @@ -220,11 +220,6 @@ }; struct db_variable *db_eregs = db_regs + sizeof(db_regs)/sizeof(db_regs[0]); -void -db_cpu_trap(int vector, int dummy, struct trapframe *tf) -{ -} - static int db_get_rse_reg(struct db_variable *vp, db_expr_t *valuep, int op) { ==== //depot/projects/gdb/sys/sparc64/sparc64/db_interface.c#5 (text+ko) ==== @@ -55,12 +55,6 @@ extern jmp_buf db_jmpbuf; void -db_cpu_trap(int type, int dummy, struct trapframe *tf) -{ - flushw(); -} - -void db_read_bytes(vm_offset_t addr, size_t size, char *data) { char *src;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404252310.i3PNAqjZ091613>