On 08/29/14 13:48, David Malcolm wrote:
In my rtx-classes patches I converted a number of macros in rtl.h into
inline functions, many of them trivial and frequently called.  The
attached patch adds "skip" commands for them to gdbinit.in, so that gdb
skips them when single-stepping (assuming that you've set up ~/.gdbinit
with an add-auto-load-safe-path of the working copy).

I posted a version of this before as:

   https://gcc.gnu.org/ml/gcc-patches/2014-08/msg00743.html

which used a single:

   skip file rtl.h

but I notice there are some non-trivial inline functions in rtl.h so
this new version does it per-function instead.

Tested manually within gdb (gdb-7.6.50.20130731-19.fc20.x86_64) stepping
through final.  OK for trunk?

     gcc/
         * gdbinit.in: Skip various inline functions in rtl.h when
         stepping.
OK.
Jeff

Reply via email to