Re: [PATCH] BUG() disassembly tweak

Hugh Dickins (hugh@veritas.com)
Sat, 11 May 2002 03:07:51 +0100 (BST)


On Sat, 11 May 2002, Keith Owens wrote:
>
> IMNSHO the instructions _after_ the oops are almost useless.

Oh, I agree: I'd be perfectly happy for ksymoops to abandon trying
to disassemble the instructions after the oops, and I don't think
it need try to disassemble the instructions before the oops either.

It is important that it show the bytes (preferably before and)
after the oops, so that an investigator can locate that sequence
of bytes in a built object; and it is important that we have some
tool (objdump) which can disassemble the built object despite ud2
and its accompanying data; but ksymoops does not need to do it.

Hugh

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/