Paul Brook <p...@codesourcery.com> writes:

>> 15545 brk(NULL) = 0x00012000
>> 15545 brk(0x00812000) = 0x00012000
>
> This is your bug.  According to the trace above, the brk call fails, but 
> returns success anyway.  A quick look at do_brk confirms this suspicion.

This is not a bug.  The brk syscall always returns the break value,
either the new one (on success) or the current one (on failure).

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to