]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Reimplement DAP's stopAtBeginningOfMainSubprogram
authorTom Tromey <tromey@adacore.com>
Thu, 21 Nov 2024 19:32:53 +0000 (12:32 -0700)
committerTom Tromey <tromey@adacore.com>
Mon, 9 Dec 2024 20:52:54 +0000 (13:52 -0700)
commitd50cf1cea853395da5fcd13c0d116a7332edff26
tree7cd49cdd3bca880f3b317757ac7c355be9f98174
parent7b46460a619a9b5719d1e79226bf371bbf29c7d2
Reimplement DAP's stopAtBeginningOfMainSubprogram

Right now, stopAtBeginningOfMainSubprogram is implemented "by hand",
but then later the launch function uses "starti" to implement
stopOnEntry.  This patch unifies this code and rewrites it to use
"start" when appropriate.

Reviewed-by: Kévin Le Gouguec <legouguec@adacore.com>
gdb/python/lib/gdb/dap/launch.py