- 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user