Re: Need help debugging hedgewars

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

 



At this point ...

You could also plant a breakpoint at the <+0> of each routine
named in the traceback, and print %rsp.  It should be (8 mod 16)
because the dynamically-preceding 'call' should have pushed 8 bytes
when the %rsp was 16-byte aligned.

(gdb) b *<address>  # use a numerical address, NOT a symbol name
(gdb) comm
p $rsp
end

--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux