Opened 16 years ago
Closed 16 years ago
#3245 closed defect (fixed)
gdb doesn't work in Linux guest -> fixed in SVN/2.1.4
Reported by: | Dummy000001 | Owned by: | |
---|---|---|---|
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 (1)
Change History (5)
by , 16 years ago
Attachment: | strace-gdb-out.txt added |
---|
comment:1 by , 16 years ago
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.
comment:3 by , 16 years ago
Summary: | gdb doesn't work in Linux guest → gdb doesn't work in Linux guest -> fixed in SVN/2.1.4 |
---|
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
strace output of gdb problem under vbox 2.1.x