How to set RS232 speed in gdb in WinNT?

David Williams davidwilliams@ozemail.com.au
Fri Mar 31 15:53:00 GMT 2000


Use -b command line option to change baud rate

eg.     gdb -b 115200
to set baud rate 115200 baud.
Dave.

Serge Nikulin wrote:

> Hi,
>
> I use gdb for remote debugging of m68k target, compiled with MRI
> <--host=i686-pc-cygwin32 --target=m68k-motorola-ieee>
> Native MRI' X-Ray debugger does not support our home-made RTOS.
> GDB works but I have few questions.
>
> 1) Currently ieee-695 bfd section is not connected to gdb, so I work without
> src.
>     I've checked examples of coff and aout conections and it does not look
> as a 1-day job for me
>     (including the fact that ieee-695 support in bfd is incomplete).
>     Does anyone have ieee + gdb experience?
>
> 2) In my gdb session under WinNT I use command "target remote com1"
> In this case gdb connects to COM1 at 9600 baud. I'd like to change this
> speed (say, to 38400) but I can't. I've changed default speed for COM1 in
> WinNT's control panel but it did not help. It looks like I have to pass that
> speed to cygwin.dll somehow. How can I do that?
>
> Thanks!
>
> Serge.



More information about the Gdb mailing list