[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unistd.h -vs- winnt.h
From: |
Tom Tromey |
Subject: |
Re: unistd.h -vs- winnt.h |
Date: |
Wed, 20 Nov 2013 08:09:54 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
>>>>> "Tom" == Tom Tromey <address@hidden> writes:
Tom> In particular one part of gdb uses gethostname. So, I had to include
Tom> the gethostname module.
The situation is weirder than I thought.
The reason I tried to import the gethostname module is that we were
seeing this error:
https://sourceware.org/ml/gdb-patches/2013-11/msg00560.html
Adding the gethostname module made everything go crazy, as in my initial
report.
However, after some exploration I discovered that I could eliminate the
gethostname error by dropping the strstr and strerror modules.
Tom