bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#13516: tests/rm/unread3 fails on Mac OS X 10.8


From: Global Odey
Subject: Re: bug#13516: tests/rm/unread3 fails on Mac OS X 10.8
Date: Wed, 30 Jan 2013 17:59:13 -0600
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20100101 Thunderbird/20.0a2

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. After looking through test-getcwd.c, though, I don't know how that's possible. I can say for sure that when GDB was setting the breakpoint, it was finding libc's getcwd, not GNUlib's (based on its address).

That sort of thing.
Hopefully, this qualifies: Because I was unable to get anything else out of GDB (that was literally my first time ever using the program), I resorted to directly editing test-getcwd.c a few times and determined that errno gets set to ENOENT before triggering the failure.

Global Odey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]