Re: Request for info on ppc_thread_state and i386_thread_state structure
Re: Request for info on ppc_thread_state and i386_thread_state structure
- Subject: Re: Request for info on ppc_thread_state and i386_thread_state structure
- From: Fritz Anderson <email@hidden>
- Date: Wed, 25 Jul 2007 11:32:35 -0500
[Original reply not sent to the list; sorry to anyone who gets a
duplicate.]
On 25 Jul 2007, at 6:38 AM, Arnab Ganguly wrote:
Request for info about the following structures
1) ppc_float_state and i386_float_state
2) ppc_thread_state and i386_thread_state
I am not able to find the member variables of the structures.
Betcha darwin-dev would have gotten you a more reliable answer faster.
Look for _structs.h in the /usr/include tree. There are several.
How I found it:
-- Googled ppc_thread_state, and found some sample code using that
struct.
-- Noted the headers in the sample code, and picked thread_status.h as
a likely candidate.
-- Did a locate (you may have to run /usr/libexec/locate.updatedb
first for this to work) to find a thread_status.h for ppc.
-- Saw that thread_status.h included a _structs.h header, which seemed
likely to include declarations of structs.
-- Did a locate on _structs.h.
-- Opened one with ppc in its path.
-- Found a definition for ppc_thread_state. ppc_float_state is in the
same header.
The analogous search for i386_(thread|float)_state I leave up to you.
— F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden