[all-commits] [llvm/llvm-project] b0c0a1: [lldb][Docs] Add equivalents of GDB's "skip" to co...
David Spickett via All-commits
all-commits at lists.llvm.org
Mon Jan 6 01:17:47 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b0c0a148dbad9f4d9a2e855deec05669269d30c7
https://github.com/llvm/llvm-project/commit/b0c0a148dbad9f4d9a2e855deec05669269d30c7
Author: David Spickett <david.spickett at linaro.org>
Date: 2025-01-06 (Mon, 06 Jan 2025)
Changed paths:
M lldb/docs/use/map.rst
Log Message:
-----------
[lldb][Docs] Add equivalents of GDB's "skip" to command map (#120740)
https://sourceware.org/gdb/current/onlinedocs/gdb.html/Skipping-Over-Functions-and-Files.html
We can't emulate all the features of that command but we can skip a
function by name with some extra steps.
As far as I know this only matches function name unlike GDB that can
filter on file and line and so on:
```
target.process.thread.step-avoid-regexp -- A regular expression defining functions step-in won't stop in.
```
It's likely it's got some corner cases that don't work, maybe inlining,
but it doesn't seem worth going into it here.
I don't think we can chain lldb interpreter commands, so I have shown
the steps separately.
I have also mentioned `thread step-in` and its alias `sif`. Which were
new to me too.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list