Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2004 14:11:49 -0400
From:      Rob Deker <deker@slackdot.org>
To:        Stephan Uphoff <ups@tree.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Serial consoles and remote GDB
Message-ID:  <41336DE5.4000000@slackdot.org>
In-Reply-To: <1093885212.61235.102.camel@palm.tree.com>
References:  <1093817592.8552.90.camel@nyx.slackdot.org> <1093820159.61235.81.camel@palm.tree.com> <1093835972.6769.55.camel@localhost> <1093885212.61235.102.camel@palm.tree.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41336DE5.4000000>