This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to set RS232 speed in gdb in WinNT?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]