This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
build/1649: building arm-gdb on darwin fails - solution provided
- From: heiko dot panther at web dot de
- To: gdb-gnats at sources dot redhat dot com
- Date: 14 May 2004 16:30:59 -0000
- Subject: build/1649: building arm-gdb on darwin fails - solution provided
- Reply-to: heiko dot panther at web dot de
>Number: 1649
>Category: build
>Synopsis: building arm-gdb on darwin fails - solution provided
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 14 16:38:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: heiko.panther@web.de
>Release: gdb-6.1
>Organization:
>Environment:
darwin
>Description:
Building the arm-specific directory "gdb/rdi-share" fails on darwin/Mac OS X, because two #defines don't catch that Darwin is an Unix and has sys/time.h.
>How-To-Repeat:
>Fix:
Replace
rdi-share/hostchan.h:26:
#if defined(__unix) || defined(__CYGWIN__)
with:
#if defined(HAVE_SYS_TIME_H)
Replace
rdi-share/hostchan.c:559:
#if !defined(__unix) && !defined(__CYGWIN__)
with:
#if !defined(HAVE_SYS_TIME_H)
>Release-Note:
>Audit-Trail:
>Unformatted: