Package: bochs
Version: 2.3-2etch1
Severity: important

When using the gdbstub, an 'info reg' in GDB gives incorrect
results because the order of the registers returned from bochs
(a la x86-64) differs from what GDB is expecting (i386; this is
using the standard GDB package for my distribution and arch).

Using 'set arch i386:x86-64' in GDB does not fix this.

To reproduce:

Start bochs with gdbstub enabled (on localhost:1234)
Start GDB
In GDB:
target remote localhost:1234
b *0x7c00
c
[breakpoint detected here but reported at 0x0000a3a0 rather than 0x7c00]
info registers
[The EIP register does not contain the correct value.]
info all-registers
[The correct value of the EIP register is in st6.]


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)

Versions of packages bochs depends on:
ii  bochs-wx [bochs-gui]   2.3-2etch1        WxWindows plugin for Bochs
ii  bochs-x [bochs-gui]    2.3-2etch1        X11 plugin for Bochs
ii  bochsbios              2.3-2etch1        BIOS for the Bochs emulator
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3
ii  vgabios                0.6a-1            VGA BIOS software for the Bochs an
ii  zlib1g                 1:1.2.3-13        compression library - runtime

Versions of packages bochs recommends:
ii  bximage                       2.3-2etch1 Disk Image Creation Tool for Bochs

-- no debconf information


-- 
Tony (echo 'spend!,pocket awide' | sed 'y/acdeikospntw!, /[EMAIL PROTECTED]/')



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to