Re: crash on x86_64: how to dump arg registers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux