How to debug pc386 compiled program with gdb?

Pierre Ficheux pierre.ficheux at openwide.fr
Thu Aug 30 12:20:19 UTC 2012


Le 30/08/2012 12:32, SAeeD a écrit :
>     I debug i386 programs using a basic serial port which is means most
>     recent motherboards do not work because serial ports are not common
>     and USB serial ports are no help. If you do have a serial port the
>     set up I use is:
>
>
> Can you talk more about this way of debugging Chris? As I understood,
> you run the RTEMS application on a PC with serial port (say A). Then you
> connect the other side of serial port cable to another computer (say B)
> which runs the code that you sent the links in your email? And are you
> able to place breakpoint or to step code execution with serial port? Can
> you explain more about the mechanism and setup?
>

I wrote an example and I use it with QEMU. I can send you the code.

> Thanks,
> SAeeD
>

-- 
Pierre FICHEUX  -/- CTO OWI, France -\- pierre.ficheux at openwide.fr
                                          http://ingenierie.openwide.fr
                                          http://www.ficheux.org
I would love to change the world, but they won't give me the source code





More information about the users mailing list