[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ATF tests hanging
On Wed, Dec 27, 2017 at 07:53:50PM +0100, Martin Husemann wrote:
> I must be missing something, or the test works on alpha and x86 due to a
> bug, but correctly fails on other architectures.
The same difference can be seen very simply by running the attached
program under gdb:
Starting program: /tmp/a.out
hello, before break
Program received signal SIGTRAP, Trace/breakpoint trap.
0x000000000040087f in main ()
[Inferior 1 (process 3001) exited normally]
But on sparc* instead you see it hit the same breakpoint instruction
again after continuing. The interpretation of (void*)1 for new %pc
value must be different.
From our man page, I'd claim x86 is wrong and sparc* is right.
printf("hello, before break\n");
Main Index |
Thread Index |