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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1608948

Title:
  support hw watchpoints/breakpoints on ARMv8.{1,2}

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1608948/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to