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

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Wed, 27 Oct 2010 17:16:38 -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 bonefish):

 Replying to [comment:6 grahamh]:
 > OK, the gdb end of the system is in the clear. It's doing the single
 step as requested, and the B_DEBUGGER_SINGLE_STEP message it gets back has
 cpu_state.eip == 0xffff0114, which is somewhere either in the commpage or
 just off the end of it.

 Yep, that address is the syscall trampoline in the commpage. BTW, the
 kernel debugger knows it and prints the stack trace accordingly. If gdb
 delivers garbage, it's usually a good idea to check from KDL.

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

Other related posts: