From e7fe2d3dab1a72d48844325fcb750f2e326af264 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Tue, 27 May 2025 12:36:53 -0400 Subject: [PATCH] Meta: Do not pass non-existing extra arguments to addr2line build step The variadic nature of the addr2line command is currently taken by the `addresses` option. --- Meta/ladybird.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Meta/ladybird.py b/Meta/ladybird.py index 235d3d13c57..cb9bc8f6cc1 100755 --- a/Meta/ladybird.py +++ b/Meta/ladybird.py @@ -131,7 +131,6 @@ def main(): help="Launches the application on the build host in a gdb or lldb session", parents=[preset_parser, target_parser], ) - debug_parser.add_argument( "--debugger", required=False, default="gdb" if platform.host_system == HostSystem.Linux else "lldb" ) @@ -227,7 +226,7 @@ def main(): build_main(build_dir, args.target, args.args) elif args.command == "addr2line": build_dir = configure_main(platform, args.preset, args.cc, args.cxx) - build_main(build_dir, args.target, args.args) + build_main(build_dir, args.target) addr2line_main(build_dir, args.target, args.program, args.addresses)