Skip to content
Commit 6049bbf4 authored by Robert Zieba's avatar Robert Zieba Committed by Anas Nashif
Browse files

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: default avatarRobert Zieba <robertzieba@google.com>
parent 0bcf71e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment