Serial consoles and remote GDB

Rob Deker deker at slackdot.org
Mon Aug 30 11:11:54 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Stephan Uphoff wrote:

| Are you sure that your serial line is configured with the right
| baud rate?
|
This may seem a stupid question, but how do I set the baudrate on the
port and in gdb?

| I also encountered something like this when additional programs
| were reading form the serial line and stole characters from gdb. (
| terminal emulators for testing, getty? ...)
|
I had this thought and checked. No getty's running on that port and no
other term emulators running.

| Your /boot/loader.conf should look somewhat like:
|
| console=comconsole
|
| hint.sio.1.flags=0x80
|
| boot_ddb=1 boot_gdb=1 boot_verbose=1
|
That's about right (though my device hints are in device.hints, and I
should add the boot_verbose)

Thanks again,

- -d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
iD8DBQFBM23liaU9aKbHcJcRAvkMAJ4i03NJaovfucQPAjz8DvHrbLArBACfQES1
oia1G/ks5OpDL2eAVm/naug=
=FpM5
-----END PGP SIGNATURE-----



More information about the freebsd-hackers mailing list