Comment 2 for bug 1608948

Revision history for this message
Robert Richter (rric.cavium) wrote :

On 02.08.16 08:40:59, Dann Frazier wrote:

> I ran this test on our 2.0 silicon - which I *thought* was supposed to
> be ARMv8.1 - but it passes there.
> Can you confirm if that should be the case?

With newer firmware (e.g. 1.23.6 from Jul 22 2016) this no longer happens for 2.0 systems. You can reproduce it with older firmware (e.g. 1.21.3), see here:

good:

 (gdb) break main
 Breakpoint 1 at 0x4005c8: file main.c, line 5.
 (gdb) run
 Starting program: /root/test/main

 Breakpoint 1, main () at main.c:5
 5 printf("Hello world.\n");

bad:

 (gdb) break main
 Breakpoint 1 at 0x4005c8: file main.c, line 5.
 (gdb) run
 Starting program: /root/test/main
 warning: Unable to determine the number of hardware watchpoints available.
 warning: Unable to determine the number of hardware breakpoints available.

 Breakpoint 1, main () at main.c:5
 5 printf("Hello world.\n");

-Robert