https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118260
--- Comment #13 from Simon Marchi <simon.marchi at polymtl dot ca> --- (In reply to Jonathan Wakely from comment #11) > I think it would be better to silence it. Do you know how to do that? Since this is execute using gdb.execute in Python, you can probably pass to_string=True and do nothing with the result. The downside is that any error will be silenced and hard to track down, but I'm not aware of ways that the skip command can really fail. You could also check the returned string, and if it does not match "Function\(s\) .* will be skipped when stepping\.", then output it.