[Crash-utility] crash on x86_64: how to dump arg registers?

Paul Sanders pms at csd.sgi.com
Wed Sep 3 14:01:42 UTC 2008


Hey, that's what keeps us employed, right?! If it was easy EVERYONE
would be doing it! :-)

Thanks for the input guys.

Paul

On Wed, 3 Sep 2008, Dave Anderson wrote:

> Paul Sanders wrote:
> > Hello all,
> >
> > I'm trying to get myself ramped to using crash on x86_64.
> >
> > In x86_64 there is no register stack and function arguments aren't
> > typically placed on the stack, therefore we aren't able to see the
> > function arguments in the bt -f output.
> >
> > Is there a trick to dumping out %rdi, %rsi, %rdx, etc?
> >
> > I hope this isn't too lame of a question. I'm just getting my toes wet
> > with x86_64 and kdump/crash.
> >
> > Thanks in advance,
> >
> > Paul Sanders
> > SGI Global Product Support
>
> James is right -- aside from the register dumps with each exception frame,
> you're pretty much on your own.  You'll have to disassemble the functions
> of interest from their last "known" value/location/frame, and following
> where the register may be stored on the stack.  Sorry -- no tricks...
>
> Dave
>
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility
>




More information about the Crash-utility mailing list