On 16 September 2014 10:46, Richard Henderson <r...@twiddle.net> wrote: > The combination of always_inline + artificial allows tiny inline > functions to be written that do not interfere with debugging. > In particular, gdb will not step into an artificial function. > > The always_inline attribute was introduced in gcc 4.2, > and the artificial attribute was introduced in gcc 4.3. > > Signed-off-by: Richard Henderson <r...@twiddle.net>
clang can't handle the "artificial" attribute but it reports itself as gcc 4.2 so that's OK. Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> -- PMM