This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patchv3] Fix SIGTERM signal safety (PR gdb/15358)
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Yufeng Zhang <Yufeng dot Zhang at arm dot com>
- Cc: Doug Evans <dje at google dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Sun, 23 Mar 2014 17:57:45 +0100
- Subject: Re: [patchv3] Fix SIGTERM signal safety (PR gdb/15358)
- Authentication-results: sourceware.org; auth=none
- References: <20140314183709 dot GA28050 at host2 dot jankratochvil dot net> <20140314184535 dot GA30853 at host2 dot jankratochvil dot net> <21284 dot 44419 dot 745786 dot 47756 at ruffy dot mtv dot corp dot google dot com> <20140316135334 dot GA30698 at host2 dot jankratochvil dot net> <532EFB6C dot 2030003 at arm dot com>
On Sun, 23 Mar 2014 16:19:08 +0100, Yufeng Zhang wrote:
> On 03/16/14 13:53, Jan Kratochvil wrote:
> >+ gdb_test_no_output "set range-stepping off" ""
> >+ gdb_test_no_output "set debug infrun 1" ""
> >+ gdb_test_no_output "set debug lin-lwp 1" ""
>
> The test fails on aarch64-none-elf. Should the test only run on
> Linux targets?
I see that lin-lwp probably does not exist on such GDB.
That "set debug lin-lwp 1" command even is not needed for the functionality of
this testcase.
Does this patch fix it on aarch64-none-elf or should it be really disabled?
Could you post me off-list gdb.log?
Thanks,
Jan
gdb/testsuite/
2014-03-23 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
diff --git a/gdb/testsuite/gdb.base/gdb-sigterm.exp b/gdb/testsuite/gdb.base/gdb-sigterm.exp
index b57680d..f52517c 100644
--- a/gdb/testsuite/gdb.base/gdb-sigterm.exp
+++ b/gdb/testsuite/gdb.base/gdb-sigterm.exp
@@ -36,7 +36,6 @@ proc do_test { pass } {
gdb_test_no_output "set range-stepping off" ""
gdb_test_no_output "set debug infrun 1" ""
- gdb_test_no_output "set debug lin-lwp 1" ""
set test "run a bit #$pass"
set abort 1