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:
dfr 1999-05-28 09:37:11 +00:00
parent c10ae458eb
commit f26594f08b
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;