Mailing Lists: Apple Mailing Lists

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

GDB setup switchtoact



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.




 _______________________________________________
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



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.