[haiku-bugs] [Haiku] #9247: Debugger skips a frame in some cases

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Fri, 30 Nov 2012 23:51:46 -0000

#9247: Debugger skips a frame in some cases
-----------------------------------+------------------------------
 Reporter:  anevilyak              |        Owner:  bonefish
     Type:  bug                    |       Status:  new
 Priority:  normal                 |    Milestone:  R1
Component:  Applications/Debugger  |      Version:  R1/Development
 Keywords:                         |   Blocked By:
 Blocking:                         |  Has a Patch:  0
 Platform:  All                    |
-----------------------------------+------------------------------
 If a program crashes due to dereferencing a NULL function pointer,
 Debugger doesn't quite handle unwinding the top frame correctly. As a
 consequence it essentially winds up skipping the frame which actually
 caused the crash in question. Attached a simple patch to handle this for
 x86. Please review and let me know if it's incorrect, though it appears to
 work for my tests.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9247>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: