Re: [Qemu-devel] [PATCH 1/2] qemu/compiler: Define QEMU_ARTIFICIAL

2014-09-16 Thread Peter Maydell
On 16 September 2014 10:46, Richard Henderson 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

[Qemu-devel] [PATCH 1/2] qemu/compiler: Define QEMU_ARTIFICIAL

2014-09-16 Thread Richard Henderson
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