[Lldb-commits] [lldb] [lldb] add stop-at-main option to process launch (PR #67019)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Mon Sep 25 15:01:08 PDT 2023
=?utf-8?q?José?= L. Junior <jljuniorpb at gmail.com>,
=?utf-8?q?José?= L. Junior <jljuniorpb at gmail.com>,
=?utf-8?q?José?= L. Junior <jljuniorpb at gmail.com>
Message-ID:
In-Reply-To: <llvm/llvm-project/pull/67019/lldb at github.com>
================
@@ -675,6 +675,8 @@ let Command = "platform shell" in {
let Command = "process launch" in {
def process_launch_stop_at_entry : Option<"stop-at-entry", "s">,
Desc<"Stop at the entry point of the program when launching a process.">;
+ def process_launch_stop_at_main : Option<"stop-at-main", "m">,
+ Desc<"Stop at the main function of the program when launching a process.">;
----------------
clayborg wrote:
If we are going to add platform support, we might want to rename this to be "stop-at-user-entry" or some other thing since some platforms might not support a "main" function.
https://github.com/llvm/llvm-project/pull/67019
More information about the lldb-commits
mailing list