bug#13516: tests/rm/unread3 fails on Mac OS X 10.8
From:
Paul Eggert
Subject:
bug#13516: tests/rm/unread3 fails on Mac OS X 10.8
Date:
Wed, 30 Jan 2013 17:19:38 -0800
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2
On 01/30/2013 03:59 PM, Global Odey wrote:
> On 1/30/13 1:25 AM, Paul Eggert wrote:
>> Can you use GDB to debug the situation?
> No. That is, I'm willing but apparently not able.
>> Try running something like this:
>>
>> gdb test-getcwd
>> b getcwd
>> r
>> fin
>> p errno
> GDB didn't seem to offer up much. It was able to find getcwd (after loading
> shared libraries)
> and set the breakpoint but it would exit out (still with error code 7) before
> reaching the break.
What happens if you put a breakpoint on rpl_getcwd instead? Use "b rpl_getcwd".
That should get Gnulib's getcwd instead of libc's.