[haiku-bugs] Re: [Haiku] #6139: [PATCH] ppc: Implement arch_debug_get_caller

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Sun, 06 Jun 2010 11:08:06 -0000

#6139: [PATCH] ppc: Implement arch_debug_get_caller
---------------------------+------------------------------------------------
 Reporter:  andreasf       |       Owner:  axeld         
     Type:  enhancement    |      Status:  new           
 Priority:  normal         |   Milestone:  R1            
Component:  System/Kernel  |     Version:  R1/Development
 Keywords:                 |    Platform:  PowerPC       
Blockedby:                 |       Patch:  1             
 Blocking:                 |  
---------------------------+------------------------------------------------

Comment(by bonefish):

 I don't think that this returns the correct result. Unlike on x86 the
 return address is not stored in the own stack frame, but in the caller's
 stack frame.

 Note that the same issue might ail the stack trace code.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6139#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: