diff --git a/lib/libproc/proc_bkpt.c b/lib/libproc/proc_bkpt.c index ff37bb7c4461..46c2d583fe29 100644 --- a/lib/libproc/proc_bkpt.c +++ b/lib/libproc/proc_bkpt.c @@ -57,9 +57,6 @@ __FBSDID("$FreeBSD$"); #elif defined(__arm__) #define BREAKPOINT_INSTR 0xe7ffffff /* bkpt */ #define BREAKPOINT_INSTR_SZ 4 -#elif defined(__mips__) -#define BREAKPOINT_INSTR 0xd /* break */ -#define BREAKPOINT_INSTR_SZ 4 #elif defined(__powerpc__) #define BREAKPOINT_INSTR 0x7fe00008 /* trap */ #define BREAKPOINT_INSTR_SZ 4 diff --git a/lib/libproc/proc_regs.c b/lib/libproc/proc_regs.c index da2cba18bbbd..157d355b53fa 100644 --- a/lib/libproc/proc_regs.c +++ b/lib/libproc/proc_regs.c @@ -66,8 +66,6 @@ proc_regget(struct proc_handle *phdl, proc_reg_t reg, unsigned long *regvalue) *regvalue = regs.r_pc; #elif defined(__i386__) *regvalue = regs.r_eip; -#elif defined(__mips__) - *regvalue = regs.r_regs[PC]; #elif defined(__powerpc__) *regvalue = regs.pc; #elif defined(__riscv) @@ -83,8 +81,6 @@ proc_regget(struct proc_handle *phdl, proc_reg_t reg, unsigned long *regvalue) *regvalue = regs.r_sp; #elif defined(__i386__) *regvalue = regs.r_esp; -#elif defined(__mips__) - *regvalue = regs.r_regs[SP]; #elif defined(__powerpc__) *regvalue = regs.fixreg[1]; #elif defined(__riscv) @@ -121,8 +117,6 @@ proc_regset(struct proc_handle *phdl, proc_reg_t reg, unsigned long regvalue) regs.r_pc = regvalue; #elif defined(__i386__) regs.r_eip = regvalue; -#elif defined(__mips__) - regs.r_regs[PC] = regvalue; #elif defined(__powerpc__) regs.pc = regvalue; #elif defined(__riscv) @@ -138,8 +132,6 @@ proc_regset(struct proc_handle *phdl, proc_reg_t reg, unsigned long regvalue) regs.r_sp = regvalue; #elif defined(__i386__) regs.r_esp = regvalue; -#elif defined(__mips__) - regs.r_regs[SP] = regvalue; #elif defined(__powerpc__) regs.fixreg[1] = regvalue; #elif defined(__riscv)