public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* Failures on Fedora-s390x-m64, branch master
  2017-09-04 18:33 [binutils-gdb] struct symtabs_and_lines -> std::vector<symtab_and_line> sergiodj+buildbot
  2017-09-04 18:33 ` Failures on Fedora-i686, branch master sergiodj+buildbot
@ 2017-09-04 18:33 ` sergiodj+buildbot
  2017-09-04 20:13 ` Failures on Ubuntu-AArch64-native-gdbserver-m64, " sergiodj+buildbot
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: sergiodj+buildbot @ 2017-09-04 18:33 UTC (permalink / raw)
  To: gdb-testers

Buildslave:
	marist-fedora-s390x

Full Build URL:
	<http://gdb-build.sergiodj.net/builders/Fedora-s390x-m64/builds/6078>

Commit(s) tested:
	6c5b2ebeacc2538cf342cfd13c4c98ff018e6c9a

Author(s) (in the same order as the commits):
	Pedro Alves <palves@redhat.com>

Subject:
	struct symtabs_and_lines -> std::vector<symtab_and_line>

Testsuite log (gdb.sum and gdb.log) URL(s):
	<http://gdb-build.sergiodj.net/results/Fedora-s390x-m64/6c/6c5b2ebeacc2538cf342cfd13c4c98ff018e6c9a/>

*** Diff to previous build ***
============================
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=17: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=19: wait for stops
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

	<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Fedora-s390x-m64/xfails/master/xfail;hb=4865f8a>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

	<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Fedora-s390x-m64/xfails/master/xfail.table;hb=4865f8a>




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

* [binutils-gdb] struct symtabs_and_lines -> std::vector<symtab_and_line>
@ 2017-09-04 18:33 sergiodj+buildbot
  2017-09-04 18:33 ` Failures on Fedora-i686, branch master sergiodj+buildbot
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: sergiodj+buildbot @ 2017-09-04 18:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6c5b2ebeacc2538cf342cfd13c4c98ff018e6c9a ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 6c5b2ebeacc2538cf342cfd13c4c98ff018e6c9a

struct symtabs_and_lines -> std::vector<symtab_and_line>

This replaces "struct symtabs_and_lines" with
std::vector<symtab_and_line> in most cases.  This removes a number of
cleanups.

In some cases, the sals objects do not own the sals they point at.
Instead they point at some sal that lives on the stack.  Typically
something like this:

  struct symtab_and_line sal;
  struct symtabs_and_lines sals;

  // fill in sal

  sals.nelts = 1;
  sals.sals = &sal;

  // use sals

Instead of switching those cases to std::vector too, such usages are
replaced by gdb::array_view<symtab_and_line> instead.  This avoids
introducing heap allocations.

gdb/ChangeLog:
2017-09-04  Pedro Alves  <palves@redhat.com>

	* ax-gdb.c (agent_command_1): Use range-for.
	* break-catch-throw.c (re_set_exception_catchpoint): Update.
	* breakpoint.c: Include "common/array-view.h".
	(init_breakpoint_sal, create_breakpoint_sal): Change sals
	parameter from struct symtabs_and_lines to
	array_view<symtab_and_line>.  Adjust.  Use range-for.  Update.
	(breakpoint_sals_to_pc): Change sals parameter from struct
	symtabs_and_lines to std::vector reference.
	(check_fast_tracepoint_sals): Change sals parameter from struct
	symtabs_and_lines to std::array_view.  Use range-for.
	(decode_static_tracepoint_spec): Return a std::vector instead of
	symtabs_and_lines.  Update.
	(create_breakpoint): Update.
	(break_range_command, until_break_command, clear_command): Update.
	(base_breakpoint_decode_location, bkpt_decode_location)
	(bkpt_probe_create_sals_from_location)
	(bkpt_probe_decode_location, tracepoint_decode_location)
	(tracepoint_probe_decode_location)
	(strace_marker_create_sals_from_location): Return a std::vector
	instead of symtabs_and_lines.
	(strace_marker_create_breakpoints_sal): Update.
	(strace_marker_decode_location): Return a std::vector instead of
	symtabs_and_lines.  Update.
	(update_breakpoint_locations): Change struct symtabs_and_lines
	parameters to gdb::array_view.  Adjust.
	(location_to_sals): Return a std::vector instead of
	symtabs_and_lines.  Update.
	(breakpoint_re_set_default): Use std::vector instead of struct
	symtabs_and_lines.
	(decode_location_default): Return a std::vector instead of
	symtabs_and_lines.  Update.
	* breakpoint.h: Include "common/array-view.h".
	(struct breakpoint_ops) <decode_location>: Now returns a
	std::vector instead of returning a symtabs_and_lines via output
	parameter.
	(update_breakpoint_locations): Change sals parameters to use
	gdb::array_view.
	* cli/cli-cmds.c (edit_command, list_command): Update to use
	std::vector and gdb::array_view.
	(ambiguous_line_spec): Adjust to use gdb::array_view and
	range-for.
	(compare_symtabs): Rename to ...
	(cmp_symtabs): ... this.  Change parameters to symtab_and_line
	const reference and adjust.
	(filter_sals): Rewrite using std::vector and standard algorithms.
	* elfread.c (elf_gnu_ifunc_resolver_return_stop): Simplify.
	(jump_command): Update to use std::vector.
	* linespec.c (struct linespec_state) <canonical_names>: Update
	comment.
	(add_sal_to_sals_basic): Delete.
	(add_sal_to_sals, filter_results, convert_results_to_lsals)
	(decode_line_2, create_sals_line_offset)
	(convert_address_location_to_sals, convert_linespec_to_sals)
	(convert_explicit_location_to_sals, parse_linespec)
	(event_location_to_sals, decode_line_full, decode_line_1)
	(decode_line_with_current_source)
	(decode_line_with_last_displayed, decode_objc)
	(decode_digits_list_mode, decode_digits_ordinary, minsym_found)
	(linespec_result::~linespec_result): Adjust to use std::vector
	instead of symtabs_and_lines.
	* linespec.h (linespec_sals::sals): Now a std::vector.
	(struct linespec_result): Use std::vector, bool, and in-class
	initialization.
	(decode_line_1, decode_line_with_current_source)
	(decode_line_with_last_displayed): Return std::vector.
	* macrocmd.c (info_macros_command): Use std::vector.
	* mi/mi-main.c (mi_cmd_trace_find): Use std::vector.
	* probe.c (parse_probes_in_pspace, parse_probes): Adjust to use
	std::vector.
	* probe.h (parse_probes): Return a std::vector.
	* python/python.c (gdbpy_decode_line): Use std::vector and
	gdb::array_view.
	* source.c (select_source_symtab, line_info): Use std::vector.
	* stack.c (func_command): Use std::vector.
	* symtab.h (struct symtabs_and_lines): Delete.
	* tracepoint.c (tfind_line_command, scope_info): Use std::vector.


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

* Failures on Fedora-i686, branch master
  2017-09-04 18:33 [binutils-gdb] struct symtabs_and_lines -> std::vector<symtab_and_line> sergiodj+buildbot
@ 2017-09-04 18:33 ` sergiodj+buildbot
  2017-09-04 18:33 ` Failures on Fedora-s390x-m64, " sergiodj+buildbot
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: sergiodj+buildbot @ 2017-09-04 18:33 UTC (permalink / raw)
  To: gdb-testers

Buildslave:
	fedora-x86-64-3

Full Build URL:
	<http://gdb-build.sergiodj.net/builders/Fedora-i686/builds/7017>

Commit(s) tested:
	6c5b2ebeacc2538cf342cfd13c4c98ff018e6c9a

Author(s) (in the same order as the commits):
	Pedro Alves <palves@redhat.com>

Subject:
	struct symtabs_and_lines -> std::vector<symtab_and_line>

Testsuite log (gdb.sum and gdb.log) URL(s):
	<http://gdb-build.sergiodj.net/results/Fedora-i686/6c/6c5b2ebeacc2538cf342cfd13c4c98ff018e6c9a/>

*** Diff to previous build ***
============================
PASS -> FAIL: gdb.ada/win_fu_syms.exp: compilation foo.adb
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

	<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Fedora-i686/xfails/master/xfail;hb=b1b2e68>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

	<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Fedora-i686/xfails/master/xfail.table;hb=b1b2e68>




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

* Failures on Ubuntu-AArch64-native-gdbserver-m64, branch master
  2017-09-04 18:33 [binutils-gdb] struct symtabs_and_lines -> std::vector<symtab_and_line> sergiodj+buildbot
  2017-09-04 18:33 ` Failures on Fedora-i686, branch master sergiodj+buildbot
  2017-09-04 18:33 ` Failures on Fedora-s390x-m64, " sergiodj+buildbot
@ 2017-09-04 20:13 ` sergiodj+buildbot
  2017-09-04 21:42 ` Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, " sergiodj+buildbot
  2017-09-04 21:53 ` Failures on Ubuntu-AArch32-native-gdbserver-m32, " sergiodj+buildbot
  4 siblings, 0 replies; 6+ messages in thread
From: sergiodj+buildbot @ 2017-09-04 20:13 UTC (permalink / raw)
  To: gdb-testers

Buildslave:
	ubuntu-aarch64-1

Full Build URL:
	<http://gdb-build.sergiodj.net/builders/Ubuntu-AArch64-native-gdbserver-m64/builds/2664>

Commit(s) tested:
	6c5b2ebeacc2538cf342cfd13c4c98ff018e6c9a

Author(s) (in the same order as the commits):
	Pedro Alves <palves@redhat.com>

Subject:
	struct symtabs_and_lines -> std::vector<symtab_and_line>

Testsuite log (gdb.sum and gdb.log) URL(s):
	<http://gdb-build.sergiodj.net/results/Ubuntu-AArch64-native-gdbserver-m64/6c/6c5b2ebeacc2538cf342cfd13c4c98ff018e6c9a/>

*** Diff to previous build ***
============================
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=11: wait for stops
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

	<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Ubuntu-AArch64-native-gdbserver-m64/xfails/master/xfail;hb=a72a46a>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

	<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Ubuntu-AArch64-native-gdbserver-m64/xfails/master/xfail.table;hb=a72a46a>




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

* Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, branch master
  2017-09-04 18:33 [binutils-gdb] struct symtabs_and_lines -> std::vector<symtab_and_line> sergiodj+buildbot
                   ` (2 preceding siblings ...)
  2017-09-04 20:13 ` Failures on Ubuntu-AArch64-native-gdbserver-m64, " sergiodj+buildbot
@ 2017-09-04 21:42 ` sergiodj+buildbot
  2017-09-04 21:53 ` Failures on Ubuntu-AArch32-native-gdbserver-m32, " sergiodj+buildbot
  4 siblings, 0 replies; 6+ messages in thread
From: sergiodj+buildbot @ 2017-09-04 21:42 UTC (permalink / raw)
  To: gdb-testers

Buildslave:
	ubuntu-trusty-aarch32-1

Full Build URL:
	<http://gdb-build.sergiodj.net/builders/Ubuntu-AArch32-native-extended-gdbserver-m32/builds/1294>

Commit(s) tested:
	6c5b2ebeacc2538cf342cfd13c4c98ff018e6c9a

Author(s) (in the same order as the commits):
	Pedro Alves <palves@redhat.com>

Subject:
	struct symtabs_and_lines -> std::vector<symtab_and_line>

Testsuite log (gdb.sum and gdb.log) URL(s):
	<http://gdb-build.sergiodj.net/results/Ubuntu-AArch32-native-extended-gdbserver-m32/6c/6c5b2ebeacc2538cf342cfd13c4c98ff018e6c9a/>

*** Diff to previous build ***
============================
PASS -> FAIL: gdb.base/longjmp.exp: next over patt3
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=2: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=4: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=6: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=7: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=9: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=12: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=15: wait for stops
new FAIL: gdb.threads/sigstep-threads.exp: continue
new FAIL: gdb.threads/sigstep-threads.exp: step 52
============================


*** Complete list of XFAILs for this builder ***

FAILURE TO OBTAIN THE COMMIT FOR THE XFAIL LIST.  PLEASE CONTACT THE BUILDBOT ADMIN.




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

* Failures on Ubuntu-AArch32-native-gdbserver-m32, branch master
  2017-09-04 18:33 [binutils-gdb] struct symtabs_and_lines -> std::vector<symtab_and_line> sergiodj+buildbot
                   ` (3 preceding siblings ...)
  2017-09-04 21:42 ` Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, " sergiodj+buildbot
@ 2017-09-04 21:53 ` sergiodj+buildbot
  4 siblings, 0 replies; 6+ messages in thread
From: sergiodj+buildbot @ 2017-09-04 21:53 UTC (permalink / raw)
  To: gdb-testers

Buildslave:
	ubuntu-trusty-aarch32-1

Full Build URL:
	<http://gdb-build.sergiodj.net/builders/Ubuntu-AArch32-native-gdbserver-m32/builds/1284>

Commit(s) tested:
	6c5b2ebeacc2538cf342cfd13c4c98ff018e6c9a

Author(s) (in the same order as the commits):
	Pedro Alves <palves@redhat.com>

Subject:
	struct symtabs_and_lines -> std::vector<symtab_and_line>

Testsuite log (gdb.sum and gdb.log) URL(s):
	<http://gdb-build.sergiodj.net/results/Ubuntu-AArch32-native-gdbserver-m32/6c/6c5b2ebeacc2538cf342cfd13c4c98ff018e6c9a/>

*** Diff to previous build ***
============================
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=15: wait for stops
============================


*** Complete list of XFAILs for this builder ***

To obtain the list of XFAIL tests for this builder, go to:

	<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Ubuntu-AArch32-native-gdbserver-m32/xfails/master/xfail;hb=>

You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:

	<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Ubuntu-AArch32-native-gdbserver-m32/xfails/master/xfail.table;hb=>




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

end of thread, other threads:[~2017-09-04 21:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-04 18:33 [binutils-gdb] struct symtabs_and_lines -> std::vector<symtab_and_line> sergiodj+buildbot
2017-09-04 18:33 ` Failures on Fedora-i686, branch master sergiodj+buildbot
2017-09-04 18:33 ` Failures on Fedora-s390x-m64, " sergiodj+buildbot
2017-09-04 20:13 ` Failures on Ubuntu-AArch64-native-gdbserver-m64, " sergiodj+buildbot
2017-09-04 21:42 ` Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, " sergiodj+buildbot
2017-09-04 21:53 ` Failures on Ubuntu-AArch32-native-gdbserver-m32, " 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).