[haiku-bugs] Re: [Haiku] #6160: [PATCH] ppc: Implement arch_debug_save_registers and shorten stack traces

  • From: "andreasf" <trac@xxxxxxxxxxxx>
  • Date: Sun, 27 Jun 2010 22:17:51 -0000

#6160: [PATCH] ppc: Implement arch_debug_save_registers and shorten stack traces
  Reporter:  andreasf       |       Owner:  andreasf      
      Type:  enhancement    |      Status:  closed        
  Priority:  normal         |   Milestone:  R1            
 Component:  System/Kernel  |     Version:  R1/Development
Resolution:  fixed          |    Keywords:                
 Blockedby:                 |       Patch:  1             
  Platform:  PowerPC        |    Blocking:                
Changes (by andreasf):

  * status:  in-progress => closed
  * resolution:  => fixed


 I've applied slightly different patches in r37281 and r37282.

 In particular I've fixed a type inconsistency ({{{uint32}}} vs.
 {{{addr_t}}}) and save the proper {{{r1}}} value rather than the one
 that's nice to have for the stack trace.

 I've attached a potential add-on patch that does the additional stack
 frame dereference on the {{{stack_trace()}}} side of things, but I believe
 this behavior should be synchronized with x86. Before we reach a point
 with working USB drivers we cannot test the alternative (non-panic) KDL
 entry through keyboard shortcut anyway. Closing this ticket for now.

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

Other related posts: