public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Fix internal error when saving fast tracepoint definitions
@ 2015-11-24  0:13 sergiodj+buildbot
  2015-11-24  0:15 ` Failures on RHEL-s390x-m64, branch master sergiodj+buildbot
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: sergiodj+buildbot @ 2015-11-24  0:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c93e8391bf595de7adde64d1b3f1d564da6f3aee ***

Author: Simon Marchi <simon.marchi@ericsson.com>
Branch: master
Commit: c93e8391bf595de7adde64d1b3f1d564da6f3aee

Fix internal error when saving fast tracepoint definitions

When trying to save fast tracepoints to file, gdb returns internal failure:

  gdb/breakpoint.c:13446: internal-error: unhandled tracepoint type 27
  A problem internal to GDB has been detected, further debugging may prove unreliable.

And no file including the fast tracepoints definition is created.

The patch also extends save-trace.exp to test saving tracepoint with a
fast tracepoint in there.  Note that because this test doesn't actually
inserts the tracepoints in the program, we can run it with targets that
don't actually support fast tracepoints (or tracepoints at all).

gdb/ChangeLog:

	* breakpoint.c (tracepoint_print_recreate): Fix logic error
	if -> else if.

gdb/testsuite/ChangeLog:

	* gdb.trace/actions.c: Include trace-common.h.
	(main): Add a location for a fast tracepoint.
	* gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
	the normal tracepoints.
	(gdb_verify_tracepoints): Adjust number of expected tracepoints.


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2015-11-24 12:58 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-24  0:13 [binutils-gdb] Fix internal error when saving fast tracepoint definitions sergiodj+buildbot
2015-11-24  0:15 ` Failures on RHEL-s390x-m64, branch master sergiodj+buildbot
2015-11-24  0:32 ` Failures on Debian-s390x-native-gdbserver-m64, " sergiodj+buildbot
2015-11-24  0:45 ` Failures on AIX-POWER7-plain, " sergiodj+buildbot
2015-11-24  0:50 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-11-24  1:32 ` Failures on Fedora-x86_64-m32, " sergiodj+buildbot
2015-11-24  1:37 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2015-11-24  1:38 ` Failures on Fedora-x86_64-cc-with-index, " sergiodj+buildbot
2015-11-24  1:47 ` Failures on Fedora-s390x-m64, " sergiodj+buildbot
2015-11-24  1:51 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-11-24  1:55 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj+buildbot
2015-11-24  2:06 ` Failures on Fedora-x86_64-m64, " sergiodj+buildbot
2015-11-24  2:40 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot
2015-11-24  3:32 ` Failures on Debian-i686, " sergiodj+buildbot
2015-11-24  4:29 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
2015-11-24  4:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-11-24  5:00 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
2015-11-24  7:58 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
2015-11-24  8:59 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot
2015-11-24 18:51 ` Failures on Debian-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot

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).