1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Allow a sio port with its flags set to DEBUGGER+LLCONSOLE to be used for

gdb. This allows the sio probe for that port to be disabled which stops
it from confusing the debugger.
This commit is contained in:
Doug Rabson 1999-05-28 09:37:11 +00:00
parent bea6af4d31
commit 0476a4d4ff
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47579
2 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: sio.c,v 1.241 1999/05/10 14:01:29 dfr Exp $
* $Id: sio.c,v 1.242 1999/05/22 15:47:34 dfr Exp $
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* from: i386/isa sio.c,v 1.234
*/
@ -2837,7 +2837,7 @@ siocnprobe(cp)
siocniobase = iobase;
siocnunit = unit;
}
if (COM_DEBUGGER(flags) && !COM_LLCONSOLE(flags)) {
if (COM_DEBUGGER(flags)) {
printf("sio%d: gdb debugging port\n", unit);
siogdbiobase = iobase;
siogdbunit = unit;

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: sio.c,v 1.241 1999/05/10 14:01:29 dfr Exp $
* $Id: sio.c,v 1.242 1999/05/22 15:47:34 dfr Exp $
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* from: i386/isa sio.c,v 1.234
*/
@ -2837,7 +2837,7 @@ siocnprobe(cp)
siocniobase = iobase;
siocnunit = unit;
}
if (COM_DEBUGGER(flags) && !COM_LLCONSOLE(flags)) {
if (COM_DEBUGGER(flags)) {
printf("sio%d: gdb debugging port\n", unit);
siogdbiobase = iobase;
siogdbunit = unit;