This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/18531] Request to add functionality "set skip pending on"


https://sourceware.org/bugzilla/show_bug.cgi?id=18531

--- Comment #4 from levi.armstrong at gmail dot com ---
Here is an example of how I am using this with in Qt Creator to prevent GDB
from stepping into Boost and Eigen libraries.

skip pending on
python
for root, dirs, files in os.walk("/usr/include/boost/"):
    for file in files:
        if file.endswith(".hpp"):
            cmd = "skip file " + os.path.join(root, file)
            gdb.execute(cmd, True)

for root, dirs, files in os.walk("/usr/include/eigen3/Eigen/"):
    for file in files:
        if file.endswith(".hpp"):
            cmd = "skip file " + os.path.join(root, file)
            gdb.execute(cmd, True)
end
skip enable

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]