This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH] compile for ARM in rdi-share under 4.4BSD
- To: Thomas Zenker <thz at Lennartz-electronic dot DE>
- Subject: Re: [PATCH] compile for ARM in rdi-share under 4.4BSD
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Wed, 23 Feb 2000 18:45:53 -0500
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Red Hat , Inc. - Toronto
- References: <20000204115700.A23323@mezcal.tue.le>
I checked Thomas patch in.
Fernando
Thomas Zenker wrote:
>
> Hi,
>
> here are 3 small changes I propose to apply to the rdi library in
> gdb/rdi-share:
>
> 1. hsys.c: to compile under 4.4BSD derived systems (FreeBSD,
> NetBSD...) sys_errlist should not be declared in hsys.c.
> NEED_SYSERRLIST is set already by configure, so we can
> use it.
>
> 2. unixcomm.c: 4.4BSD derived systems define BSD, but are
> posix compliant and we should not work with the old
> compatibility stuff. Because of that I undef BSD in
> case of FBSD etc and include sys/ioctl to get the flags.
>
> 3. unixcomm.c: if the TIOCEXCL flags exists set serial line
> for exclusive use.
>
> These patches are against CVS archive of today.
>
> -- Thomas Zenker
> c/o Lennartz electronic GmbH
> Bismarckstrasse 136, D-72072 Tuebingen, Germany
> Phone: +49-(0)7071-93550
> Email: thz@lennartz-electronic.de
>
> ------------------------------------------------------------------------------------------------------------------------
> Name: patch
> patch Type: Plain Text (text/plain)
> Description: patch in gdb/rdi-share
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311
Toronto, Ontario M4P 2C9 Fax: 416-482-6299