diff options
Diffstat (limited to 'gdb/python/lib/gdb/dap/launch.py')
-rw-r--r-- | gdb/python/lib/gdb/dap/launch.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/python/lib/gdb/dap/launch.py b/gdb/python/lib/gdb/dap/launch.py index df1f667..65444bf 100644 --- a/gdb/python/lib/gdb/dap/launch.py +++ b/gdb/python/lib/gdb/dap/launch.py @@ -45,6 +45,7 @@ def launch( args: Sequence[str] = (), env: Optional[Mapping[str, str]] = None, stopAtBeginningOfMainSubprogram: bool = False, + stopOnEntry: bool = False, **extra, ): if cwd is not None: @@ -62,7 +63,7 @@ def launch( for name, value in env.items(): inf.set_env(name, value) expect_process("process") - exec_and_expect_stop("run") + exec_and_expect_stop("starti" if stopOnEntry else "run") @request("attach") |