Re: [PATCH v2 2/4] arc: Recognize registers available on Linux targets

Shahab Vahedi
2020-07-14T09:05:14Z

On 7/13/20 5:48 PM, Simon Marchi wrote:
> I meant, could those gdb_static_assert "calls" be moved right next to where the
> arrays are defined?

That was my bad, sorry. I _assumed_ it was not possible to use "gdb_static_assert ()"
next to a global variable, but it does work like a charm if the input is a
constant-expression.

Nevertheless, with the new changes in v3 [1], this gdb_static_assert () is irrelative.

[1] patch v3
https://sourceware.org/pipermail/gdb-patches/2020-July/170394.html

--
Shahab