public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gprofng/testsuite: correct names for signal handling tests
@ 2022-12-19 8:36 Jan Beulich
0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2022-12-19 8:36 UTC (permalink / raw)
To: bfd-cvs, gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6cafa8782485310b99b5f9963ec5e030b0e18bad
commit 6cafa8782485310b99b5f9963ec5e030b0e18bad
Author: Jan Beulich <jbeulich@suse.com>
Date: Mon Dec 19 09:35:18 2022 +0100
gprofng/testsuite: correct names for signal handling tests
The signal handling tests spend most of their time in the signal
handlers, and hence for profile output to match anything in program
output, the respective name fields need to hold the handler function
names. This converts both respective tests from "unresolved" to actually
succeeding.
Diff:
---
gprofng/testsuite/gprofng.display/synprog/synprog.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gprofng/testsuite/gprofng.display/synprog/synprog.c b/gprofng/testsuite/gprofng.display/synprog/synprog.c
index a5361a495c0..84262e0085b 100644
--- a/gprofng/testsuite/gprofng.display/synprog/synprog.c
+++ b/gprofng/testsuite/gprofng.display/synprog/synprog.c
@@ -184,7 +184,7 @@ struct scripttab scripttab[] = {
{"sched", sched, "sched", 0, 1},
{"so", callso, "callso", 0, 0},
{"sx", callsx, "callsx", 0, 0},
- {"sig", sigtime, "sigtime", 0, 1},
+ {"sig", sigtime, "sigtime_handler", 0, 1},
{"sigprof", sigprof, "sigprof", 1, 0},
{"sigprof0", sigprof, "sigprof", 0, 0},
{"sigprofh", sigprofh, "sigprofh", 1, 0},
@@ -197,7 +197,7 @@ struct scripttab scripttab[] = {
{"uf", underflow, "underflow", 0, 1},
{"forkexec", do_forkexec, "forkexec", 0, 0},
{"vforkexec", do_vforkexec, "vforkexec", 0, 0},
- {"uwdc", unwindcases, "unwindcases", 0, 0},
+ {"uwdc", unwindcases, "unwindcases_handler", 0, 0},
{NULL, NULL, NULL, 0, 0}
};
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-19 8:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-19 8:36 [binutils-gdb] gprofng/testsuite: correct names for signal handling tests Jan Beulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).