[haiku-bugs] Re: [Haiku] #10459: [Debugger] Investigate anomalous single stepping behavior

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Thu, 23 Jan 2014 12:47:55 -0000

#10459: [Debugger] Investigate anomalous single stepping behavior
-------------------------------------+----------------------------
   Reporter:  anevilyak              |      Owner:  anevilyak
       Type:  bug                    |     Status:  new
   Priority:  normal                 |  Milestone:  R1
  Component:  Applications/Debugger  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by anevilyak):

 Replying to [comment:1 bonefish]:
 > It is possible that in the code gcc generates some function exits share
 instructions (other than the epilogue).

 Disassembly attached. If that's indeed the case, then that perfectly
 explains the presence of the aforementioned discriminator command, as its
 intended purpose is precisely to differentiate multiple source lines
 overlapping the same instruction address. The problem I have is simply
 that from the specification, it's not obvious how to actually determine
 which of said lines is the correct one while stepping, as no other
 reference is made to it beyond the line number program section (c.f.
 http://dwarfstd.org/doc/DWARF4.pdf section 6.2).

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

Other related posts: