Bruno Haible <[EMAIL PROTECTED]> wrote:
> Jim Meyering wrote:
>> I did not set errno, which would normally happen for a real failure.
>> I tried, but __errno_location() returns an invalid address.
>> Anyone know how to set errno via gdb?
>
> I normally use
> (gdb) print errno = 22
> since in a si
Jim Meyering wrote:
> I did not set errno, which would normally happen for a real failure.
> I tried, but __errno_location() returns an invalid address.
> Anyone know how to set errno via gdb?
I normally use
(gdb) print errno = 22
since in a single-threaded situation __errno_location() == &errno