diff --git a/src/libsys/mips_dbg.c b/src/libsys/mips_dbg.c index 9830271..c3660b5 100644 --- a/src/libsys/mips_dbg.c +++ b/src/libsys/mips_dbg.c @@ -33,6 +33,7 @@ extern int tdisasm(char *buffer, unsigned address, unsigned iword, unsigned char static char g_buf[80]; static int DEBUG_PRINT = 0; +static int SHOW_NUM_INSTR = 5; enum { @@ -405,7 +406,7 @@ int dbg_handler(struct xcptcontext * xcp) pInstr = pAddr_prev; // Disassemble instructions - for (i=0; i < 3; i++) + for (i=0; i < SHOW_NUM_INSTR; i++) { dbg_print_word((long)pInstr); if (pInstr != pAddr_curr)