mirror of
https://github.com/ganelson/inform.git
synced 2024-07-05 00:24:22 +03:00
Log stack frame address as an int, this may truncate the address but is better than passing the wrong size parameter
This commit is contained in:
parent
f74c35f48e
commit
892e759532
|
@ -413,7 +413,7 @@ void Frames::emit_new_local_value(kind *K) {
|
||||||
void Frames::log(stack_frame *frame) {
|
void Frames::log(stack_frame *frame) {
|
||||||
if (frame == NULL) { LOG("<null stack frame>\n"); return; }
|
if (frame == NULL) { LOG("<null stack frame>\n"); return; }
|
||||||
LOG("Stack frame at %08x: it:%s, dpc:%s\n",
|
LOG("Stack frame at %08x: it:%s, dpc:%s\n",
|
||||||
frame,
|
(int)frame,
|
||||||
(frame->local_variables.it_variable_exists)?"yes":"no",
|
(frame->local_variables.it_variable_exists)?"yes":"no",
|
||||||
(frame->determines_past_conditions)?"yes":"no");
|
(frame->determines_past_conditions)?"yes":"no");
|
||||||
local_variable *lvar;
|
local_variable *lvar;
|
||||||
|
|
Loading…
Reference in a new issue