From 26936e1edb106fcee7debe89d2e12fbd1db70dbf Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Wed, 11 May 2022 17:58:57 -0400 Subject: [PATCH] mtest: stop disrespecting the gdb config file This was added in commit 01be50fdd90851f17de5499537f10b5b62c9fb49 with zero explanation as a side effect of moving code around. It seems like a really bad idea and it causes people to view debugging Meson projects on e.g. debuginfod systems as "painful". --- mesonbuild/mtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/mtest.py b/mesonbuild/mtest.py index 842500994..2cabeb319 100644 --- a/mesonbuild/mtest.py +++ b/mesonbuild/mtest.py @@ -1799,7 +1799,7 @@ class TestHarness: def get_wrapper(options: argparse.Namespace) -> T.List[str]: wrap = [] # type: T.List[str] if options.gdb: - wrap = [options.gdb_path, '--quiet', '--nh'] + wrap = [options.gdb_path, '--quiet'] if options.repeat > 1: wrap += ['-ex', 'run', '-ex', 'quit'] # Signal the end of arguments to gdb