- number of future lines is adjustable

git-svn-id: http://moon:8086/svn/mips@189 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2021-11-22 20:42:20 +00:00
parent 91f53947d0
commit de8da71c73
+2 -1
View File
@@ -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)