Re: How to get the parameters for calls on an arbitrary stack in the kernel
Re: How to get the parameters for calls on an arbitrary stack in the kernel
- Subject: Re: How to get the parameters for calls on an arbitrary stack in the kernel
- From: Ken Hornstein <email@hidden>
- Date: Mon, 25 Nov 2013 23:28:27 -0500
> What I would like to do is get a listing of each threads stack
> which included the parameters for each call. I would like
> something similar to the backtrace command, but for all stacks.
> Is this possible in gdb? Is it possible to get a list of the
> parameters for all the calls on a particular stack?
From memory, there was a kgmacro that let you switch to a particular thread's
context. From there, you could run a backtrace command. Should be
possible to make it work for all threads with only a little bit of work.
(Ah, okay. The command is "switchtoact", but if you're working from a
Corefile it's "switchtocorethread").
--Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden