Re: Is there a tool to help find unaligned accesses?
On Fri, Aug 28, 1998 at 08:28:30PM +0200, Anders Hammarquist wrote:
> >I'd like to track down some unaligned accesses in a shared library. Is
> >there a tool to help do this?
>
> If you have a version of the library with debugging info in it, you can
> just use gdb. Run gdb on the program that generates the unaliged traps,
> and then do
>
> (gdb) list *0xdeadbeef
>
> 0xdeadbeef is of course the pc at which the kernel reported an unaligned
> trap.
Thanks, that makes sense...
Jeff
Reply to: