* ser-go32.c: Format. (go32_open): Use proper return value.
* configure.in: Undo conditional configdirs hack for sparclite.
This commit is contained in:
parent
118ec55a7b
commit
07861607f5
|
@ -1,3 +1,9 @@
|
||||||
|
Tue Apr 6 21:41:13 1993 Stu Grossman (grossman@cygnus.com)
|
||||||
|
|
||||||
|
* ser-go32.c: Format. (go32_open): Use proper return value.
|
||||||
|
|
||||||
|
* configure.in: Undo conditional configdirs hack for sparclite.
|
||||||
|
|
||||||
Tue Apr 6 17:07:37 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
|
Tue Apr 6 17:07:37 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
|
||||||
|
|
||||||
* symtab.c (list_symbols): When call break_command, pass both
|
* symtab.c (list_symbols): When call break_command, pass both
|
||||||
|
|
|
@ -1,14 +1,8 @@
|
||||||
configdirs="doc testsuite"
|
configdirs="doc testsuite sparclite"
|
||||||
srcname="GDB"
|
srcname="GDB"
|
||||||
srctrigger=main.c
|
srctrigger=main.c
|
||||||
gdb_serial_driver=ser-unix.c
|
gdb_serial_driver=ser-unix.c
|
||||||
|
|
||||||
echo ${target}
|
|
||||||
|
|
||||||
if [ "${target_cpu}" = "sparclite" ] ; then
|
|
||||||
configdirs = "$configdirs sparclite"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# per-host:
|
# per-host:
|
||||||
|
|
||||||
# Map host cpu into the config cpu subdirectory name.
|
# Map host cpu into the config cpu subdirectory name.
|
||||||
|
|
|
@ -80,6 +80,7 @@ dos_async_init()
|
||||||
int i;
|
int i;
|
||||||
ASYNC_STRUCT *a1;
|
ASYNC_STRUCT *a1;
|
||||||
ASYNC_STRUCT *a2;
|
ASYNC_STRUCT *a2;
|
||||||
|
|
||||||
a1 = getivec(12);
|
a1 = getivec(12);
|
||||||
a2 = getivec(11);
|
a2 = getivec(11);
|
||||||
async = 0;
|
async = 0;
|
||||||
|
@ -87,6 +88,7 @@ dos_async_init()
|
||||||
async = a1;
|
async = a1;
|
||||||
if (a2)
|
if (a2)
|
||||||
async = a2;
|
async = a2;
|
||||||
|
|
||||||
if (a1 && a2)
|
if (a1 && a2)
|
||||||
{
|
{
|
||||||
if (a1 < a2)
|
if (a1 < a2)
|
||||||
|
@ -94,6 +96,7 @@ dos_async_init()
|
||||||
else
|
else
|
||||||
async = a2;
|
async = a2;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (async == 0)
|
if (async == 0)
|
||||||
{
|
{
|
||||||
error("GDB can not connect to asynctsr program, check that it is installed\n\
|
error("GDB can not connect to asynctsr program, check that it is installed\n\
|
||||||
|
@ -104,6 +107,7 @@ C> asynctsr 2\n\
|
||||||
C> gdb \n");
|
C> gdb \n");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
iov = async->iov;
|
iov = async->iov;
|
||||||
outportb(com_ier, 0x0f);
|
outportb(com_ier, 0x0f);
|
||||||
outportb(com_bfr, 0x03);
|
outportb(com_bfr, 0x03);
|
||||||
|
@ -200,7 +204,7 @@ go32_open (scb, name)
|
||||||
const char *name;
|
const char *name;
|
||||||
{
|
{
|
||||||
scb->fd = dos_async_init();
|
scb->fd = dos_async_init();
|
||||||
if (scb->fd)
|
if (!scb->fd)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue