gdb on Fiasco
Adam Lackorzynski
adam at os.inf.tu-dresden.de
Thu Jul 13 11:08:42 CEST 2006
On Wed Jul 12, 2006 at 16:22:59 +0200, FERANDELLE Pascal wrote:
> I took a copy of the floppy demo image on the Fiasco site, and try to use gdb on fiasco, from a PC/Linux with serial line, and gdb 6.4.
> I create a new grub entry to launch fiasco without the flags -noserial, -nowait and -nokdb, and the hello module.
> Boot seems ok, I suppose fiasco enters kdb and waits for a connexion from the serial line.
>
> On the PC/Linux, I launch gdb, and enter commands :
>
> set remotebaud 115200
> target remote /dev/ttyS0
>
> A dialog seems to establish with the target as I have the messages :
>
> Remote debugging using /dev/ttyS0
> Sending packet: $Hc-1#09...Ack
> Packet received:
> Sending packet: $qC#b4...Ack
> Packet received:
> Sending packet: $qOffsets#4b...Ack
> Packet received:
> Sending packet: $?#3f...Ack
> Packet received: S05
> Sending packet: $Hg0#df...Ack
> Packet received:
> Sending packet: $p8#a8...Ack
> Packet received:
> Sending packet: $g#67...Ack
> Packet received: 0000000001000000041e03
> Sending packet: $m0,8#01...Ack
> Timed out.
> Timed out.
> Timed out.
> ...
>
> but the PC running Fiasco is resetting !!!
>
> Any information will be helpful ...
Looks like the gdb-stub in Fiasco isn't working anymore and only did
with some now ancient gdb version. This would need fixing...
Adam
--
Adam adam at os.inf.tu-dresden.de
Lackorzynski http://os.inf.tu-dresden.de/~adam/
More information about the l4-hackers
mailing list