diff -bpBuN -r -X - linux-sgi-cvs/arch/mips/kernel/gdb-stub.c linux+4/arch/mips/kernel/gdb-stub.c --- linux-sgi-cvs/arch/mips/kernel/gdb-stub.c Sun Dec 3 21:04:09 2000 +++ linux+4/arch/mips/kernel/gdb-stub.c Mon Feb 26 14:56:05 2001 @@ -399,8 +399,11 @@ void set_debug_traps(void) unsigned char c; save_and_cli(flags); - for (ht = hard_trap_info; ht->tt && ht->signo; ht++) + for (ht = hard_trap_info; ht->tt && ht->signo; ht++) { + /* let the emulator handle adel and ades */ + if (ht->tt == 4 || ht->tt == 5) continue; set_except_vector(ht->tt, trap_low); + } /* * In case GDB is started before us, ack any packets