site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 (gdb) switchtoact <ADDRESS> Cannot access memory at address Looking at the macro I see: set (struct savearea *) kdp.saved_state=$newact->machine->pcb (gdb) set (struct savearea *)kdp.saved_state=0 Cannot access memory at address 0x3d1cec So, is there anyway around this? I need to inspect different act stacks. Thanks. P.S. I seem to remember this working under 10.3.x, but I could be wrong. Brian Bergstrand <http://www.bergstrand.org/brian/> PGP Key ID: 0xB6C7B6A2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFDDe/2edHYW7bHtqIRAlw7AKC3/tbjnozEWfh0KhBIKPP4ubeEegCffVJ5 P1qsFAjAQTz50udLOGrpqiM= =UQ8L -----END PGP SIGNATURE----- _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... I'm investigating a kernel core and trying to use kgmacros' switchtoact. It keeps failing with a memory error though. So the macro is trying to change memory and failing to do so. A manual set gives the same error: This must be because the core is not real memory, but a read-only snapshot. This email sent to site_archiver@lists.apple.com
participants (1)
-
Brian Bergstrand