Re: Is this chain of calls possible?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Wednesday, January 18, 2006, at 09:40AM, Stephane Sudre <ssudre@intego.com> wrote:
(gdb) x/i 0x000A9894 0xa9894 <Call_continuation+20>: mfsprg r3,1
(gdb) x/i 0x0011D2C8 0x11d2c8 <dlil_detach_filter+152>: mr. r31,r29
(gdb) x/i 0x0011D668 0x11d668 <dlil_input_packet+236>: mr. r30,r3
Remember also that the addresses in a traceback are the addresses the code will return TO when the called routine returns. To see the actual calling instruction, you need to (on PPC) look at the address in the traceback - 4, e.g.: x/i 0x0011D668-4 This gets much uglier on x86, as Intel instructions are of variable length so there's no easy way to calculate just how many bytes back the previous instruction started... :-( William Kucharski kucharsk@mac.com _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
William Kucharski