info ivt debugger command show little comment about interrupt handler now
This commit is contained in:
parent
3f9bf82549
commit
54c0e48fc4
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: dbg_main.cc,v 1.106 2003-08-10 13:26:02 akrisak Exp $
|
||||
// $Id: dbg_main.cc,v 1.107 2003-08-10 14:03:29 akrisak Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2001 MandrakeSoft S.A.
|
||||
@ -5170,6 +5170,10 @@ bx_dbg_info_ivt_command(bx_num_range r)
|
||||
else if (r.to == r.from)
|
||||
{ r.to = r.from + 1L;
|
||||
}
|
||||
if ((r.from > r.to) || (r.from > 256) || (r.to > 256))
|
||||
{ dbg_printf("wrong range\n");
|
||||
return;
|
||||
}
|
||||
for (i = r.from; i < r.to; i++)
|
||||
{ BX_MEM(simulator)->dbg_fetch_mem(cpu.idtr.base + i * 4, sizeof(buff), buff);
|
||||
#ifdef BX_LITTLE_ENDIAN
|
||||
@ -5179,7 +5183,8 @@ bx_dbg_info_ivt_command(bx_num_range r)
|
||||
seg = (buff[3] << 8) | buff[2];
|
||||
off = (buff[1] << 8) | buff[0];
|
||||
#endif
|
||||
dbg_printf("INT# %02x > %04X:%04X (%08X) %s\n", i, seg, off, cpu.idtr.base + ((seg << 4) + off), bx_dbg_ivt_desc(i));
|
||||
BX_MEM(simulator)->dbg_fetch_mem(cpu.idtr.base + ((seg << 4) + off), sizeof(buff), buff);
|
||||
dbg_printf("INT# %02x > %04X:%04X (%08X) %s%s\n", i, seg, off, cpu.idtr.base + ((seg << 4) + off), bx_dbg_ivt_desc(i), (buff[0] == 0xcf) ? " ; dummy iret" : "");
|
||||
}
|
||||
if (tail == 1) dbg_printf ( "You can list individual entries with 'info ivt NUM' or groups with 'info ivt NUM NUM'\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user