VirtualBox

Ticket #3245 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

gdb doesn't work in Linux guest -> fixed in SVN/2.1.4

Reported by: Dummy000001 Assigned to:
Priority: major Component: other
Version: VirtualBox 2.1.0 Keywords:
Cc: Guest type: Linux
Host type: Windows

Description

Environment. Host: WinXP/32 SP2 on AMD Athlon64 x2 (old CPU, no fancy VM bits supported). Guest: Debian (Sid) 32 bit.

Starting from VBox 2.1.0, "gdb" under Linux guest can't set breakpoints. That means essentially one can't start program under debugger.

I have strace'd gdb and attaching output.

This is apparently the call where gdb fails:

ptrace(PTRACE_SETREGS, 2390, 0, 0xbfa5aaf8) = -1 EIO (Input/output error)

gdb works fine with 2.0.6.

Attachments

strace-gdb-out.txt (47.5 kB) - added by Dummy000001 on 2009-02-01 21:05:34.
strace output of gdb problem under vbox 2.1.x

Change History

2009-02-01 21:05:34 changed by Dummy000001

  • attachment strace-gdb-out.txt added.

strace output of gdb problem under vbox 2.1.x

2009-02-01 21:12:49 changed by Dummy000001

Guest info:

$ uname -a
Linux siduxbox 2.6.27-5.slh.1-sidux-686 #1 SMP PREEMPT Fri Nov 7 19:43:12 UTC 2008 i686 GNU/Linux

Modules:

$ dpkg -l 'virtual*' | grep 2.6.27-5
ii virtualbox-ose-guest-modules-2.6.27-5.slh.1-sidux-686 2.6.27.rev22+1.6.6-dfsg-1 PC virtualization solution modules for Linux
ii virtualbox-ose-modules-2.6.27-5.slh.1-sidux-686 2.6.27.rev22+1.6.6-dfsg-1 PC virtualization solution modules for Linux $

Error in attached file is on line 680.

2009-02-02 09:18:56 changed by sandervl73

Marked #2977 as a duplicate as this one contains more technical info.

2009-02-04 11:20:56 changed by sandervl73

  • summary changed from gdb doesn't work in Linux guest to gdb doesn't work in Linux guest -> fixed in SVN/2.1.4.

2009-02-16 15:51:44 changed by sandervl73

  • status changed from new to closed.
  • resolution set to fixed.


ContactPrivacy policy