Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: GDB setup switchtoact



Both the systems have version Mac OS X 10.3.3. Darwin kernel version 7.3.1.
-----Original Message-----
From: Garth Cummings [mailto:email@hidden]
Sent: Monday, September 20, 2004 10:14 PM
To: Lalit Chandivade
Cc: Darwin Drivers Mailing List
Subject: Re: GDB setup switchtoact

Hi Lalit,

On Sep 19, 2004, at 7:31 AM, Lalit Chandivade wrote:

Hi,

1) When I issue the switchtoact command in GDB I get
following error message
"switchtoact not implemented for this architecture:"

2) Looking at the source of kgmacros, it looks like there is a
check for machine_slot[0].cpu_type == 18
In gdb when I print machine_slot[0] I get following
p machine_slot[0]

$2 = {

is_cpu = 0,
cpu_type = 0,
cpu_subtype = 0,
running = 0,
cpu_ticks = {0, 0, 0, 0},
clock_freq = 0
}

Why are the values not initalized? What am I missing?

3) Where can I find .gdbinit file?


Thanks a lot,
Lalit.

What version of Mac OS X are you running on each system? (This applies to your previous "Cannot access memory at address 0x0" question too.)

Thanks,
--gc
__________________________________________________________________
Garth Cummings
Apple Developer Technical Support email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden

References: 
 >Re: GDB setup switchtoact (From: Garth Cummings <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.