BOCHS + RTEMS + GDB

Erwin Rol erwin at muffin.org
Tue Feb 8 23:56:19 UTC 2000


Hello All,

here some files to give BOCH the posibility to emulate a GDB serial
port.
copy the files (and overwrite originals) to the iodev dir of the bochs
tree
and recompile it. 

Use the normal serial stubs in RTEMS on COM1.
set the environment variable BOCHS_GDB_PORT to a port number you want.
(if you leave it unset bochs will run normaly else it will wait for ever
for a connection from GDB)

run bochs.

start GDB
set the target to
target remote 127.0.0.1:<same port as in BOCHS_GDB_PORT>

and BOCHS should continue and gdb should work nromaly as if realy
connected
to the serial port of bochs.

at the moment linux(probably Unix) only.

use the bochs rc and zimage building i mailed earlier.
else boot from a grub floppy with yer own bochsrc

MfG,
Erwin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bochs-iodev.tgz
Type: application/octet-stream
Size: 6783 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20000209/4871deb7/attachment.obj>


More information about the users mailing list