site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com -- Terry _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Aug 8, 2007, at 5:28 AM, Jonas Maebe wrote: On 08 Aug 2007, at 14:24, Alexander von Below wrote: Am 08.08.2007 um 13:40 schrieb Jonas Maebe: On 08 Aug 2007, at 13:28, Alexander von Below wrote: I can x/i the addresses, and assemble my own stack trace with info line, but trying to just set the frame to the pointer (i.e. `frame 0x1234abcd') does not work. You have to use "frame 1", "frame 2" etc to see respectively the frame of the caller of the current routine, the frame of the caller's caller etc. that only works when I am in that stack, but I am not? I'm not aware of a way to make gdb assume a certain address as the base of the current stack. Although, "set $r1 = 0x1234abcd" might work on ppc (and "set $esp = 0x1234abcd" on Intel). Load kgmacros and use the macro "switchtoact" and give it the activation/thread address in hex from the "showallstacks" or "showcurrentstacks". I believe this is covered in detail on the kernel debugging documentation on <http://developer.apple.com/> from which you must have obtained the kernel debiug kit (including the kgmacros file). This email sent to site_archiver@lists.apple.com