This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
Test results for commit 6f9b84910f8cabf565598f499258bbea51cc06d4 on branch master
- From: sergiodj at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Tue, 17 Feb 2015 12:42:25 -0500
- Subject: Test results for commit 6f9b84910f8cabf565598f499258bbea51cc06d4 on branch master
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 6f9b84910f8cabf565598f499258bbea51cc06d4 ***
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Branch: master
Commit: 6f9b84910f8cabf565598f499258bbea51cc06d4
Adapt `info probes' to support printing probes of different types.
A "probe type" (backend for the probe abstraction implemented in
probe.[ch]) can extend the information printed by `info probes' by
defining additional columns. This means that when `info probes' is
used to print all the probes regardless of their types, some of the
columns will be "not applicable" to some of the probes (like, say, the
Semaphore column only makes sense for SystemTap probes). This patch
makes `info probes' fill these slots with "n/a" marks (currently it
breaks the table) and not include headers for which no actual probe
has been found in the list of defined probes.
This patch also adds support for a new generic column "Type", that
displays the type of each probe. SystemTap probes identify themselves
as "stap" probes.
gdb/ChangeLog:
2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
* probe.c (print_ui_out_not_applicables): New function.
(exists_probe_with_pops): Likewise.
(info_probes_for_ops): Do not include column headers for probe
types for which no probe has been actually found on any object.
Also invoke `print_ui_out_not_applicables' in order to match the
column rows with the header when probes of several types are
listed.
Print the "Type" column.
* probe.h (probe_ops): Added a new probe operation `type_name'.
* stap-probe.c (stap_probe_ops): Add `stap_type_name'.
(stap_type_name): New function.
- Follow-Ups:
- Failures on Fedora-ppc64be-cc-with-index, branch master
- Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master
- Failures on Fedora-i686, branch master
- Failures on Fedora-x86_64-m32, branch master
- Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master
- Failures on Fedora-x86_64-cc-with-index, branch master
- Failures on Fedora-x86_64-m64, branch master
- Failures on Fedora-x86_64-native-gdbserver-m32, branch master
- Failures on Fedora-ppc64le-cc-with-index, branch master
- Failures on Debian-i686-cc-with-index, branch master
- Failures on Debian-x86_64-native-extended-gdbserver-m64, branch master
- Failures on Debian-i686-native-gdbserver, branch master
- Failures on Debian-x86_64-native-gdbserver-m64, branch master