[kdb] Invalidate registers if values are on the stack?
Martin Hicks
mort at sgi.com
Fri Feb 6 12:31:33 CST 2009
why does bb_start_block0_special in arch/x86/kdb/kdba_bt.c automatically
invalidate the register if the NS specifies that the contents of the
register is also on the stack?
for (i = 0; i < r->mem_size; ++i) {
value = r->mem[i].value;
if (test_bit(value, r->skip_mem.bits)) {
/* this memory entry is not defined for this label */
continue;
}
bb_memory_set_reg_value(BBRG_RSP, r->mem[i].offset_address,
value, 0);
bb_reg_set_undef(value);
}
mh
More information about the kdb
mailing list