[haiku-bugs] Re: [Haiku] #6751: gdb won't single step

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Tue, 26 Oct 2010 21:03:31 -0000

#6751: gdb won't single step
----------------------------------------------+----------------------------
  Reporter:  grahamh                          |        Owner:  bonefish
      Type:  bug                              |       Status:  assigned
  Priority:  normal                           |    Milestone:  R1
 Component:  Applications/Command Line Tools  |      Version:
Resolution:                                   |  R1/Development
Blocked By:                                   |     Keywords:
  Platform:  x86                              |  Has a Patch:  0
                                              |     Blocking:
----------------------------------------------+----------------------------

Comment (by anevilyak):

 Replying to [comment:3 bonefish]:
 > I might recall that incorrectly, but I thought you had a case where a
 single-step would run the program to completion, unless a breakpoint had
 been set before (in which case it would properly single-step). At that
 time I assumed that to be a bug in Debugger itself, but this single-step
 problem in gdb sounds similar enough to suggest a kernel bug.

 Come to think of it, there might be both cases. Will try and find some
 time to do more detailed tests this week and post back here when I figure
 it out for certain. The behavior with the breakpoint would make sense if
 the meanings of the ops were reversed as well though, since in theory it'd
 normally try to step over all of main(), but would get stopped by the
 breakpoint instead.

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

Other related posts: