aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-05-09 14:38:45 -0600
committerTom Tromey <tromey@adacore.com>2023-06-12 12:09:28 -0600
commit8c8701f9cf5bcdb07fa318fd93c2c61fea81cba4 (patch)
tree6ba1d499708d676d91a74e63c27e0ccb57a7c22c /gdb/python
parentfc2d72afc0516e397dc0d7edb75930efa3697a2c (diff)
downloadgdb-8c8701f9cf5bcdb07fa318fd93c2c61fea81cba4.zip
gdb-8c8701f9cf5bcdb07fa318fd93c2c61fea81cba4.tar.gz
gdb-8c8701f9cf5bcdb07fa318fd93c2c61fea81cba4.tar.bz2
Rename one DAP function
When I first started implementing DAP, I had some vague plan of having the implementation functions use the same name as the request. I abandoned this idea, but one vestige remained. This patch renames the one remaining function to be gdb-ish.
Diffstat (limited to 'gdb/python')
-rw-r--r--gdb/python/lib/gdb/dap/next.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/lib/gdb/dap/next.py b/gdb/python/lib/gdb/dap/next.py
index 290b9b8..75f2fa6 100644
--- a/gdb/python/lib/gdb/dap/next.py
+++ b/gdb/python/lib/gdb/dap/next.py
@@ -56,7 +56,7 @@ def next(*, threadId, singleThread=False, granularity="statement", **args):
@capability("supportsSteppingGranularity")
@capability("supportsSingleThreadExecutionRequests")
@request("stepIn")
-def stepIn(*, threadId, singleThread=False, granularity="statement", **args):
+def step_in(*, threadId, singleThread=False, granularity="statement", **args):
send_gdb(lambda: _handle_thread_step(threadId, singleThread))
cmd = "step"
if granularity == "instruction":