Fix a compile error on i686.
This commit is contained in:
parent
9da0c0554e
commit
c968658fe3
@ -60,9 +60,9 @@ index 0000000..546df92
|
|||||||
+ " jmp *dump_stack_helper@GOTPCREL(%rip)\n"
|
+ " jmp *dump_stack_helper@GOTPCREL(%rip)\n"
|
||||||
+ ".size dump_stack, .-dump_stack");
|
+ ".size dump_stack, .-dump_stack");
|
||||||
+
|
+
|
||||||
+void dump_stack_helper(uint64_t rsp_val)
|
+void dump_stack_helper(unsigned long rsp_val)
|
||||||
+{
|
+{
|
||||||
+ uint64_t *rsp = (uint64_t *)rsp_val;
|
+ uint64_t *rsp = (unsigned long *)rsp_val;
|
||||||
+ int x;
|
+ int x;
|
||||||
+
|
+
|
||||||
+ Print(L"%%rsp: 0x%08x%08x stack:\r\n",
|
+ Print(L"%%rsp: 0x%08x%08x stack:\r\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user