commit | 6049bbf4e0f006b707ca4991cb0bb015cb63b799 | [log] [tgz] |
---|---|---|
author | Robert Zieba <robertzieba@google.com> | Wed Feb 28 10:30:12 2024 -0700 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Mar 27 09:58:36 2024 -0400 |
tree | 4f5b38384e1b74b29857dd320f17512a606d1190 | |
parent | 0bcf71e28a28b62d186a9f9495a56adb1e4aed9f [diff] |
gdbstub: Ignore indexing warning with -Warray-bounds The current implementation can raise a warning as the compiler sees an attempt to index an array with a size of zero. This can be fixed by giving `gdb_mem_num_regions` a default value of zero, but this gets flagged by CI checks. Disable the warning around the array access. Signed-off-by: Robert Zieba <robertzieba@google.com>