[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: advice on reducing C stack frame size?
From: |
Andy Wingo |
Subject: |
Re: advice on reducing C stack frame size? |
Date: |
Tue, 16 Sep 2008 19:57:29 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Hi,
On Tue 16 Sep 2008 07:27, Ken Raeburn <address@hidden> writes:
> On Sep 13, 2008, at 12:56, Andy Wingo wrote:
>> So for example, just sitting at the repl, we have:
>>
>> #28 0x001c48fc in vm_run (vm=0xb7f1ff58, program=0x8d53df8,
>> #29 0x001bfcad in program_apply (program=0xb7ee2730, args=0x404) at
>>
>> The difference between #29 and #28 is the size of the vm_run() stack
>> frame (I think).
>
> Aren't those the program counter addresses you're looking at?
Probably so, stupid me. Showing my ignorance in public.
They give us git-rebase so our patches can be perfect once pushed -- but
nothing for mailing lists! ;)
> Try "print $sp" or "info reg" at each frame to see the stack pointer.
Thanks!
Andy
--
http://wingolog.org/