public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] S390: Hardware breakpoint support
@ 2016-09-17  1:02 sergiodj+buildbot
  2016-09-17 16:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-17  1:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8193adea2f86e37423a5d0acffb69b80bde05d52 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 8193adea2f86e37423a5d0acffb69b80bde05d52

S390: Hardware breakpoint support

Add hardware breakpoint support for S390 targets.

gdb/ChangeLog:

	* s390-linux-nat.c (PER_BIT, PER_EVENT_BRANCH, PER_EVENT_IFETCH)
	(PER_EVENT_STORE, PER_EVENT_NULLIFICATION)
	(PER_CONTROL_BRANCH_ADDRESS, PER_CONTROL_SUSPENSION)
	(PER_CONTROL_ALTERATION): New macros.
	(struct s390_debug_reg_state) <break_areas>: New member.
	(s390_forget_process): Free break_areas as well.
	(s390_linux_new_fork): Copy break_areas as well.
	(s390_prepare_to_resume): Install hardware breakpoints.
	(s390_can_use_hw_breakpoint): Indicate support for hardware
	breakpoints.
	(s390_insert_hw_breakpoint, s390_remove_hw_breakpoint): New
	linux_nat target methods.
	(_initialize_s390_nat): Register them.

gdb/testsuite/ChangeLog:

	* lib/gdb.exp: No longer skip hardware breakpoint tests on s390.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Use std::min and std::max throughout
@ 2016-09-17  3:34 sergiodj+buildbot
  2016-09-19  1:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-17  3:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 325fac504a327de9c46a4e5cf9c88ece9d9d7701 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 325fac504a327de9c46a4e5cf9c88ece9d9d7701

gdb: Use std::min and std::max throughout

Otherwise including <string> or some other C++ header is broken.
E.g.:

  In file included from /opt/gcc/include/c++/7.0.0/bits/char_traits.h:39:0,
		   from /opt/gcc/include/c++/7.0.0/string:40,
		   from /home/pedro/gdb/mygit/cxx-convertion/src/gdb/infrun.c:68:
  /opt/gcc/include/c++/7.0.0/bits/stl_algobase.h:243:56: error: macro "min" passed 3 arguments, but takes just 2
       min(const _Tp& __a, const _Tp& __b, _Compare __comp)
							  ^
  /opt/gcc/include/c++/7.0.0/bits/stl_algobase.h:265:56: error: macro "max" passed 3 arguments, but takes just 2
       max(const _Tp& __a, const _Tp& __b, _Compare __comp)
							  ^
  In file included from .../src/gdb/infrun.c:21:0:

To the best of my grepping abilities, I believe I adjusted all min/max
calls.

gdb/ChangeLog:
2016-09-16  Pedro Alves  <palves@redhat.com>

	* defs.h (min, max): Delete.
	* aarch64-tdep.c: Include <algorithm> and use std::min and
	std::max throughout.
	* aarch64-tdep.c: Likewise.
	* alpha-tdep.c: Likewise.
	* amd64-tdep.c: Likewise.
	* amd64-windows-tdep.c: Likewise.
	* arm-tdep.c: Likewise.
	* avr-tdep.c: Likewise.
	* breakpoint.c: Likewise.
	* btrace.c: Likewise.
	* ctf.c: Likewise.
	* disasm.c: Likewise.
	* doublest.c: Likewise.
	* dwarf2loc.c: Likewise.
	* dwarf2read.c: Likewise.
	* environ.c: Likewise.
	* exec.c: Likewise.
	* f-exp.y: Likewise.
	* findcmd.c: Likewise.
	* ft32-tdep.c: Likewise.
	* gcore.c: Likewise.
	* hppa-tdep.c: Likewise.
	* i386-darwin-tdep.c: Likewise.
	* i386-tdep.c: Likewise.
	* linux-thread-db.c: Likewise.
	* lm32-tdep.c: Likewise.
	* m32r-tdep.c: Likewise.
	* m88k-tdep.c: Likewise.
	* memrange.c: Likewise.
	* minidebug.c: Likewise.
	* mips-tdep.c: Likewise.
	* moxie-tdep.c: Likewise.
	* nds32-tdep.c: Likewise.
	* nios2-tdep.c: Likewise.
	* nto-procfs.c: Likewise.
	* parse.c: Likewise.
	* ppc-sysv-tdep.c: Likewise.
	* probe.c: Likewise.
	* record-btrace.c: Likewise.
	* remote.c: Likewise.
	* rs6000-tdep.c: Likewise.
	* rx-tdep.c: Likewise.
	* s390-linux-nat.c: Likewise.
	* s390-linux-tdep.c: Likewise.
	* ser-tcp.c: Likewise.
	* sh-tdep.c: Likewise.
	* sh64-tdep.c: Likewise.
	* source.c: Likewise.
	* sparc-tdep.c: Likewise.
	* symfile.c: Likewise.
	* target-memory.c: Likewise.
	* target.c: Likewise.
	* tic6x-tdep.c: Likewise.
	* tilegx-tdep.c: Likewise.
	* tracefile-tfile.c: Likewise.
	* tracepoint.c: Likewise.
	* valprint.c: Likewise.
	* value.c: Likewise.
	* xtensa-tdep.c: Likewise.
	* cli/cli-cmds.c: Likewise.
	* compile/compile-object-load.c: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Introduce cleanup to restore current_uiout
@ 2016-09-17  5:15 sergiodj+buildbot
  2016-09-19  4:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-17  5:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd94f6d535d1ebd8f252185cd84d21fe0df3c893 ***

Author: Simon Marchi <simark@simark.ca>
Branch: master
Commit: cd94f6d535d1ebd8f252185cd84d21fe0df3c893

Introduce cleanup to restore current_uiout

Make a globally available cleanup from a pre-existing one in infrun.c.
This is used in a following patch.

gdb/ChangeLog:

	* infrun.c (restore_current_uiout_cleanup): Move to ui-out.c.
	(print_stop_event): Use make_cleanup_restore_current_uiout.
	* python/python.c (execute_gdb_command): Likewise.
	* ui-out.c (restore_current_uiout_cleanup): Move from infrun.c.
	(make_cleanup_restore_current_uiout): New function definition.
	* ui-out.h (make_cleanup_restore_current_uiout): New function
	declaration.
	* utils.c (do_restore_ui_out): Remove.
	(make_cleanup_restore_ui_out): Remove.
	* utils.h (make_cleanup_restore_ui_out): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Improve MinGW support in Readline
@ 2016-09-18 23:24 sergiodj+buildbot
  2016-09-20  3:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-18 23:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7f3c5ec870943f7f32c946ff9459dfd04fcb8e07 ***

Author: Eli Zaretskii <eliz@gnu.org>
Branch: master
Commit: 7f3c5ec870943f7f32c946ff9459dfd04fcb8e07

Improve MinGW support in Readline

These changes were already accepted upstream in Readline,
but GDB did not yet import a newer Readline version.

readline/Changelog.gdb:

	* util.c: Include rlshell.h.
	(_rl_tropen) [_WIN32 && !__CYGWIN__]: Open the trace file in the
	user's temporary directory.
	* tcap.h [HAVE_NCURSES_TERMCAP_H]: Include ncurses/termcap.h.
	* input.c (w32_isatty) [_WIN32 && !__CYGWIN__]: New function, to
	replace isatty that is not reliable enough on MS-Windows.
	(isatty) [_WIN32 && !__CYGWIN__]: Redirect to w32_isatty.
	(rl_getc): Call _getch, not getch, which could be an ncurses
	function when linked with ncurses, in which case getch will return
	EOF for any keystroke, because there's no curses window.
	* tilde.c (tilde_expand_word) [_WIN32]:
	* histfile.c (history_filename) [_WIN32]: Windows-specific
	environment variable to replace HOME if that is undefined.
	* funmap.c (default_funmap): Compile rl_paste_from_clipboard on
	all Windows platforms, not just Cygwin.
	* readline.h (rl_paste_from_clipboard): Include declaration for
	all Windows platforms.
	* display.c (insert_some_chars, delete_chars): Don't use the
	MinGW-specific code if linked with ncurses.
	* configure.in:
	* config.h.in: Support ncurses/termcap.h.  The configure script
	was updated accordingly.
	* complete.c [_WIN32 && !__CYGWIN__]: Initialize
	_rl_completion_case_fold to 1.
	(printable_part, rl_filename_completion_function)
	[_WIN32 && !__CYGWIN__]: Handle the drive letter.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Fix std::{min, max}-related build breakage on 32-bit hosts
@ 2016-09-19  6:16 sergiodj+buildbot
  2016-09-20 12:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-19  6:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 768adc05c44c7e8b5c0f9ca5ad3ca96657715293 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 768adc05c44c7e8b5c0f9ca5ad3ca96657715293

gdb: Fix std::{min, max}-related build breakage on 32-bit hosts

Building on a 32-bit host fails currently with errors like:

  .../src/gdb/exec.c: In function target_xfer_status section_table_read_available_memory(gdb_byte*, ULONGEST, ULONGEST, ULONGEST*):
  .../src/gdb/exec.c:801:54: error: no matching function for call to min(ULONGEST, long unsigned int)
      end = std::min (offset + len, r->start + r->length);
							^
  In file included from /usr/include/c++/5.3.1/algorithm:61:0,
		   from .../src/gdb/exec.c:46:
  /usr/include/c++/5.3.1/bits/stl_algobase.h:195:5: note: candidate: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&)
       min(const _Tp& __a, const _Tp& __b)
       ^
  /usr/include/c++/5.3.1/bits/stl_algobase.h:195:5: note:   template argument deduction/substitution failed:
  .../src/gdb/exec.c:801:54: note:   deduced conflicting types for parameter const _Tp (long long unsigned int and long unsigned int)
      end = std::min (offset + len, r->start + r->length);
							^
  In file included from /usr/include/c++/5.3.1/algorithm:61:0,
		   from .../src/gdb/exec.c:46:
  /usr/include/c++/5.3.1/bits/stl_algobase.h:243:5: note: candidate: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare)
       min(const _Tp& __a, const _Tp& __b, _Compare __comp)
       ^

The problem is that the std::min/std::max function templates use the
same type for both parameters.  When the argument types are different,
the compiler can't automatically deduce which template specialization
to pick from the arguments' types.

Fix that by specifying the specialization we want explicitly.

gdb/ChangeLog:
2016-09-18  Pedro Alves  <palves@redhat.com>

	* breakpoint.c (hardware_watchpoint_inserted_in_range): Explicitly
	specify the std:min/std::max specialization.
	* exec.c (section_table_read_available_memory): Likewise.
	* remote.c (remote_read_qxfer): Likewise.
	* target.c (simple_verify_memory): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb/s390: Fix build breakage due to std::min/std::max usage without header
@ 2016-09-19 12:42 sergiodj+buildbot
  2016-09-20 13:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-19 12:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 93689493b376c4e5616c1679733619f96202c369 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 93689493b376c4e5616c1679733619f96202c369

gdb/s390: Fix build breakage due to std::min/std::max usage without header

  [...]
  .../gdb/s390-linux-nat.c: In function 'void s390_prepare_to_resume(lwp_info*)':
  .../gdb/s390-linux-nat.c:703:20: error: 'min' is not a member of 'std'
      watch_lo_addr = std::min (watch_lo_addr, area->lo_addr);
  [...]

gdb/ChangeLog:
2016-09-18  Pedro Alves  <palves@redhat.com>

	* s390-linux-nat.c: Include <algorithm>.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Consolidate target_mourn_inferior between GDB and gdbserver
@ 2016-09-19 16:45 sergiodj+buildbot
  2016-09-20 16:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-19 16:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bc1e6c81d5b77d78282c47f6fd7f697e564a6eb6 ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: bc1e6c81d5b77d78282c47f6fd7f697e564a6eb6

Consolidate target_mourn_inferior between GDB and gdbserver

This patch consolidates the API of target_mourn_inferior between GDB
and gdbserver, in my continuing efforts to make sharing the
fork_inferior function possible between both.

GDB's version of the function did not care about the inferior's ptid
being mourned, but gdbserver's needed to know this information.  Since
it actually makes sense to pass the ptid as an argument, instead of
depending on a global value directly (which GDB's version did), I
decided to make the generic API to accept it.  I then went on and
extended all calls being made on GDB to include a ptid argument (which
ended up being inferior_ptid most of the times, anyway), and now we
have a more sane interface.

On GDB's side, after talking to Pedro a bit about it, we decided that
just an assertion to make sure that the ptid being passed is equal to
inferior_ptid would be enough for now, on the GDB side.  We can remove
the assertion and perform more operations later if we ever pass
anything different than inferior_ptid.

Regression tested on our BuildBot, everything OK.

I'd appreciate a special look at gdb/windows-nat.c's modification
because I wasn't really sure what to do there.  It seemed to me that
maybe I should build a ptid out of the process information there, but
then I am almost sure the assertion on GDB's side would trigger.

gdb/ChangeLog:
2016-09-19  Sergio Durigan Junior  <sergiodj@redhat.com>

	* darwin-nat.c (darwin_kill_inferior): Adjusting call to
	target_mourn_inferior to include ptid_t argument.
	* fork-child.c (startup_inferior): Likewise.
	* gnu-nat.c (gnu_kill_inferior): Likewise.
	* inf-ptrace.c (inf_ptrace_kill): Likewise.
	* infrun.c (handle_inferior_event_1): Likewise.
	* linux-nat.c (linux_nat_attach): Likewise.
	(linux_nat_kill): Likewise.
	* nto-procfs.c (interrupt_query): Likewise.
	(procfs_interrupt): Likewise.
	(procfs_kill_inferior): Likewise.
	* procfs.c (procfs_kill_inferior): Likewise.
	* record.c (record_mourn_inferior): Likewise.
	* remote-sim.c (gdbsim_kill): Likewise.
	* remote.c (remote_detach_1): Likewise.
	(remote_kill): Likewise.
	* target.c (target_mourn_inferior): Change declaration to accept
	new ptid_t argument; use gdb_assert on it.
	* target.h (target_mourn_inferior): Move function prototype from
	here...
	* target/target.h (target_mourn_inferior): ... to here.  Adjust it
	to accept new ptid_t argument.
	* windows-nat.c (get_windows_debug_event): Adjusting call to
	target_mourn_inferior to include ptid_t argument.

gdb/gdbserver/ChangeLog:
2016-09-19  Sergio Durigan Junior  <sergiodj@redhat.com>

	* server.c (start_inferior): Call target_mourn_inferior instead of
	mourn_inferior; pass ptid_t argument to it.
	(resume): Likewise.
	(handle_target_event): Likewise.
	* target.c (target_mourn_inferior): New function.
	* target.h (mourn_inferior): Delete macro.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfd: allow negative offsets to _GLOBAL_OFFSET_TABLE_ in elf64 SPARC
@ 2016-09-19 23:22 sergiodj+buildbot
  2016-09-20 16:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-19 23:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b19753ce31da347605dfa903c6fd2158e2444f0d ***

Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Branch: master
Commit: b19753ce31da347605dfa903c6fd2158e2444f0d

bfd: allow negative offsets to _GLOBAL_OFFSET_TABLE_ in elf64 SPARC

The code compiled with the -fpic model in SPARC uses 13-bit signed
immediate PC-relative loads to fetch entries from the GOT table.  In
theory this would allow using a GOT table (.got section) containing up
to 1024 entries in elf32 or 512 entries in elf64.

However, in elf64 sparc GNU targets _GLOBAL_OFFSET_TABLE_ is always
placed at the beginning of the .got section, making it impossible to use
negative offsets.  This limits the usage of -fpic to GOT tables
containing a maximum of 257 entries in elf64.

This patch activates an optimization that is already used in sparc-elf32
also in sparc-elf64, that sets _GLOBAL_OFFSET_TABLE_ to point 0x1000
into the .got section if the section size is bigger than 0x1000.

2016-09-19  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Allow
	negative offsets to _GLOBAL_OFFSET_TABLE_ if the .got section is
	bigger than 0x1000 bytes.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Fix build breakage with GCC 4.1 and --disable-nls
@ 2016-09-20  9:06 sergiodj+buildbot
  2016-09-20 17:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-20  9:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6679754127e51d9c3bd0e387fabbe4e71038c8ce ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 6679754127e51d9c3bd0e387fabbe4e71038c8ce

gdb: Fix build breakage with GCC 4.1 and --disable-nls

Ref: https://sourceware.org/ml/gdb-patches/2016-09/msg00203.html

The std::{min,max} patch caused build failures when configuring GDB
with with --disable-nls and using GCC 4.1.

The reason is this bit in common/gdb_locale.h:

 #ifdef ENABLE_NLS
 ...
 #else
 # define gettext(Msgid) (Msgid)
 ...
 #endif

This causes problems if the <libintl.h> header is first included at
any point after "gdb_locale.h".

Specifically, the gettext&co declarations in libintl.h:

 extern char *gettext (__const char *__msgid)
      __THROW __attribute_format_arg__ (1);

end up broken after preprocessing:

 extern char *(__const char *__msgid)
      throw () __attribute__ ((__format_arg__ (1)));

After the std::min/std::max change to include <algorithm>, this now
happens with at least the GCC 4.1 copy of <algorithm>, which includes
<libintl.h> via <bits/stl_algobase.h>, <iosfwd>, and
<bits/c++locale.h>.

The fix is to simply remove the troublesome *gettext and *textdomain
macros, leaving only the _ and N_ ones.

gdb/ChangeLog:
2016-09-19  Pedro Alves  <palves@redhat.com>

	* common/gdb_locale.h [!ENABLE_NLS] (gettext, dgettext, dcgettext,
	textdomain, bindtextdomain): Delete macros.
	* main.c (captured_main) [!ENABLE_NLS]: Skip bintextdomain and
	textdomain calls.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use 'event_ptid' instead of 'resume_ptid' on startup_inferior (fix for regression on my last commit)
@ 2016-09-20 17:47 sergiodj+buildbot
  2016-09-20 20:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-20 17:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7d5adfe3118050243e85469ad891c7813e4db68a ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: 7d5adfe3118050243e85469ad891c7813e4db68a

Use 'event_ptid' instead of 'resume_ptid' on startup_inferior (fix for regression on my last commit)

Pedro pointed out a regression happening on gdb.mi/mi-exec-run.exp,
and as it turned out, this was a thinko when dealing with some events
on startup_inferior.  Basically, one needs to pass 'event_ptid' to
target_mourn_inferior, but I mistakenly passed 'resume_ptid'.

This commit fixes it.

Built and regtested on BuildBot, now with fixed e-mail notifications!

gdb/ChangeLog:
2016-09-20  Sergio Durigan Junior  <sergiodj@redhat.com>

	* fork-inferior.c (startup_inferior): Pass 'event_ptid' instead of
	'resume_ptid' to 'target_mourn_inferior'.  Fix regression
	introduced by my last commit.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] ppc: Fix record support of Store String Word instructions
@ 2016-09-20 20:52 sergiodj+buildbot
  2016-09-21 12:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-20 20:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9f7efd5bf76aa5065298d13aefb109ecfd7a825a ***

Author: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Branch: master
Commit: 9f7efd5bf76aa5065298d13aefb109ecfd7a825a

ppc: Fix record support of Store String Word instructions

gdb/ChangeLog
2016-09-20  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>

	* rs6000-tdep.c (ppc_process_record_op31): Fix record of Store String
	Word instructions.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Avoid -Wduplicated-cond warnings in gdb/python
@ 2016-09-20 21:40 sergiodj+buildbot
  2016-09-21 13:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-20 21:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 12c58cd4dc805cbac97a6d93c971c2496313dce4 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 12c58cd4dc805cbac97a6d93c971c2496313dce4

Avoid -Wduplicated-cond warnings in gdb/python

I tried building gdb with -Wduplicated-cond.  This patch fixes the
simpler issue that was found.

In Python 3, "int" and "long" are synonyms, so code like:

      else if (PyLong_Check (obj))
...
      else if (PyInt_Check (obj))

.... will trigger this warning.  The fix is to conditionalize the
PyInt_Check branches on Python 2.

Tested by rebuilding, with both version of Python, on x86-64 Fedora 24.

2016-09-20  Tom Tromey  <tom@tromey.com>

	* python/py-value.c (convert_value_from_python): Make PyInt_Check
	conditional on Python 2.
	* python/py-arch.c (archpy_disassemble): Make PyInt_Check
	conditional on Python 2.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Keep reserved bits in CPSR on write
@ 2016-09-21 15:44 sergiodj+buildbot
  2016-09-21 18:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-21 15:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fc6cda2ee85d2c2719db3b5ae3a1ae963f28416b ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: fc6cda2ee85d2c2719db3b5ae3a1ae963f28416b

Keep reserved bits in CPSR on write

In patch https://sourceware.org/ml/gdb-patches/2016-04/msg00529.html
I cleared reserved bits when reading CPSR.  It makes a problem that
these bits (zero) are written back to kernel through ptrace, and it
changes the state of the processor on some recent kernel, which is
unexpected.

In this patch, I keep these reserved bits when write CPSR back to
hardware.

gdb:

2016-09-21  Yao Qi  <yao.qi@linaro.org>

	* aarch32-linux-nat.c (aarch32_gp_regcache_collect): Keep
	bits 20 to 23.

gdb/gdbserver:

2016-09-21  Yao Qi  <yao.qi@linaro.org>

	* linux-aarch32-low.c (arm_fill_gregset): Keep bits 20 to
	23.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS/testsuite: mips16-thunks: Use `standard_output_file'
@ 2016-09-21 17:21 sergiodj+buildbot
  2016-09-21 21:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-21 17:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3d0ec882241884d0cabb27f8fee1262dbc7cf9e7 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 3d0ec882241884d0cabb27f8fee1262dbc7cf9e7

MIPS/testsuite: mips16-thunks: Use `standard_output_file'

Correct a commit 2151ccc56c74 ("Always organize test artifacts in a
directory hierarchy") regression causing:

Running .../gdb/testsuite/gdb.arch/mips16-thunks.exp ...
gdb compile failed, Assembler messages:
Fatal error: can't create .../gdb/testsuite/gdb.arch/mips16-thunks-inmain.o: No such file or directory
gdb compile failed, Assembler messages:
Fatal error: can't create .../gdb/testsuite/gdb.arch/mips16-thunks-main.o: No such file or directory
gdb compile failed, mips-mti-linux-gnu-gcc: error: .../gdb/testsuite/gdb.arch/mips16-thunks-inmain.o: No such file or directory
mips-mti-linux-gnu-gcc: error: .../gdb/testsuite/gdb.arch/mips16-thunks-main.o: No such file or directory
UNSUPPORTED: gdb.arch/mips16-thunks.exp: No MIPS16 support in the toolchain.

by using `standard_output_file' to construct output file names
throughout.

	gdb/testsuite/
	* gdb.arch/mips16-thunks.exp: Use `standard_output_file'
	throughout.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 02/32] Avoid hard-coded limit in indented_print
@ 2016-09-21 19:48 sergiodj+buildbot
  2016-09-22  0:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-21 19:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bd11d5d83775e6d05c8e49f2233fb1cf883ff5b4 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: bd11d5d83775e6d05c8e49f2233fb1cf883ff5b4

[AArch64][SVE 02/32] Avoid hard-coded limit in indented_print

The maximum indentation needed by aarch64-gen.c grows as more
instructions are added to aarch64-tbl.h.  Rather than having to
increase the indentation limit to a higher value, it seemed better
to replace it with "%*s".

opcodes/
	* aarch64-gen.c (indented_print): Avoid hard-coded indentation limit.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 13/32] Add an F_STRICT flag
@ 2016-09-21 20:22 sergiodj+buildbot
  2016-09-22  1:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-21 20:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4989adac848eb8f2fee8b98d9615d2fded22623b ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 4989adac848eb8f2fee8b98d9615d2fded22623b

[AArch64][SVE 13/32] Add an F_STRICT flag

SVE predicate operands can appear in three forms:

1. unsuffixed: "Pn"
2. with a predication type: "Pn/[ZM]"
3. with a size suffix: "Pn.[BHSD]"

No variation is allowed: unsuffixed operands cannot have a (redundant)
suffix, and the suffixes can never be dropped.  Unsuffixed Pn are used
in LDR and STR, but they are also used for Pg operands in cases where
the result is scalar and where there is therefore no choice to be made
between "merging" and "zeroing".  This means that some Pg operands have
suffixes and others don't.

It would be possible to use context-sensitive parsing to handle
this difference.  The tc-aarch64.c code would then raise an error
if the wrong kind of suffix is used for a particular instruction.

However, we get much more user-friendly error messages if we parse
all three forms for all SVE instructions and record the suffix as a
qualifier.  The normal qualifier matching code can then report cases
where the wrong kind of suffix is used.  This is a slight extension
of existing usage, which really only checks for the wrong choice of
suffix within a particular kind of suffix.

The only catch is a that a "NIL" entry in the qualifier list
specifically means "no suffix should be present" (case 1 above).
NIL isn't a wildcard here.  It also means that an instruction that
requires all-NIL qualifiers can fail to match (because a suffix was
supplied when it shouldn't have been); this requires a slight change
to find_best_match.

This patch adds an F_STRICT flag to select this behaviour.
The flag will be set for all SVE instructions.  The behaviour
for other instructions doesn't change.

include/
	* opcode/aarch64.h (F_STRICT): New flag.

opcodes/
	* aarch64-opc.c (match_operands_qualifier): Handle F_STRICT.

gas/
	* config/tc-aarch64.c (find_best_match): Simplify, allowing an
	instruction with all-NIL qualifiers to fail to match.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 14/32] Make aarch64_logical_immediate_p take an element size
@ 2016-09-21 21:23 sergiodj+buildbot
  2016-09-22  4:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-21 21:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 42408347b86745fdbd4bec9ee3a6a3fee31c4dee ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 42408347b86745fdbd4bec9ee3a6a3fee31c4dee

[AArch64][SVE 14/32] Make aarch64_logical_immediate_p take an element size

SVE supports logical immediate operations on 8-bit, 16-bit and 32-bit
elements, treating them as aliases of operations on 64-bit elements in
which the immediate is replicated.  This patch therefore replaces the
"32-bit/64-bit" input to aarch64_logical_immediate_p with a more
general "number of bytes" input.

opcodes/
	* aarch64-opc.c (aarch64_logical_immediate_p): Replace is32
	with an esize parameter.
	(operand_general_constraint_met_p): Update accordingly.
	Fix misindented code.
	* aarch64-asm.c (aarch64_ins_limm): Update call to
	aarch64_logical_immediate_p.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 15/32] Add {insert, extract}_all_fields helpers
@ 2016-09-21 21:52 sergiodj+buildbot
  2016-09-22  6:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-21 21:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b5464a6825e40e6d8ab2dd86c7ff5d65bedd64d4 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: b5464a6825e40e6d8ab2dd86c7ff5d65bedd64d4

[AArch64][SVE 15/32] Add {insert,extract}_all_fields helpers

Several of the SVE operands use the aarch64_operand fields array
to store the fields that make up the operand, rather than hard-coding
the names in the C code.  This patch adds helpers for inserting and
extracting those fields.

opcodes/
	* aarch64-asm.c: Include libiberty.h.
	(insert_fields): New function.
	(aarch64_ins_imm): Use it.
	* aarch64-dis.c (extract_fields): New function.
	(aarch64_ext_imm): Use it.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 16/32] Use specific insert/extract methods for fpimm
@ 2016-09-21 23:35 sergiodj+buildbot
  2016-09-22  8:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-21 23:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aa2aa4c69429444836821a92cb99396d02dcb996 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: aa2aa4c69429444836821a92cb99396d02dcb996

[AArch64][SVE 16/32] Use specific insert/extract methods for fpimm

FPIMM used the normal "imm" insert/extract methods, with a specific
test for FPIMM in the extract method.  SVE needs to use the same
extractors, so rather than add extra checks for specific operand types,
it seemed cleaner to use a separate insert/extract method.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERNADS): Use fpimm rather than imm
	for FPIMM.
	* aarch64-asm.h (ins_fpimm): New inserter.
	* aarch64-asm.c (aarch64_ins_fpimm): New function.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_fpimm): New extractor.
	* aarch64-dis.c (aarch64_ext_imm): Remove fpimm test.
	(aarch64_ext_fpimm): New function.
	* aarch64-dis-2.c: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 17/32] Add a prefix parameter to print_register_list
@ 2016-09-21 23:40 sergiodj+buildbot
  2016-09-22 11:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-21 23:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8a7f0c1b5ae35d041886855ac7ca9b9533e8788a ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 8a7f0c1b5ae35d041886855ac7ca9b9533e8788a

[AArch64][SVE 17/32] Add a prefix parameter to print_register_list

This patch generalises the interface to print_register_list so
that it can print register lists involving SVE z registers as
well as AdvSIMD v ones.

opcodes/
	* aarch64-opc.c (print_register_list): Add a prefix parameter.
	(aarch64_print_operand): Update accordingly.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 18/32] Tidy definition of aarch64-opc.c:int_reg
@ 2016-09-22  0:34 sergiodj+buildbot
  2016-09-22 12:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  0:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 72e9f31937f063ed6f5991a2b8c00068fa2dc8fc ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 72e9f31937f063ed6f5991a2b8c00068fa2dc8fc

[AArch64][SVE 18/32] Tidy definition of aarch64-opc.c:int_reg

Use a macro to define 31 regular registers followed by a supplied
value for 0b11111.  The SVE code will also use this for vector base
and offset registers.

opcodes/
	* aarch64-opc.c (BANK): New macro.
	(R32, R64): Take a register number as argument
	(int_reg): Use BANK.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 19/32] Refactor address-printing code
@ 2016-09-22  1:25 sergiodj+buildbot
  2016-09-22 16:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  1:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 01dbfe4c0e2b832c6b1076e8d373b162e2faa376 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 01dbfe4c0e2b832c6b1076e8d373b162e2faa376

[AArch64][SVE 19/32] Refactor address-printing code

SVE adds addresses in which the base or offset are vector registers.
The addresses otherwise have the same kind of form as normal AArch64
addresses, including things like SXTW with or without a shift, UXTW
with or without a shift, and LSL.

This patch therefore refactors the address-printing code so that it
can cope with both scalar and vector registers.

opcodes/
	* aarch64-opc.c (get_offset_int_reg_name): New function.
	(print_immediate_offset_address): Likewise.
	(print_register_offset_address): Take the base and offset
	registers as parameters.
	(aarch64_print_operand): Update caller accordingly.  Use
	print_immediate_offset_address.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 20/32] Add support for tied operands
@ 2016-09-22  2:10 sergiodj+buildbot
  2016-09-22 18:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  2:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0c608d6b62f9164203685ab125b4b3ad113eb26e ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 0c608d6b62f9164203685ab125b4b3ad113eb26e

[AArch64][SVE 20/32] Add support for tied operands

SVE has some instructions in which the same register appears twice
in the assembly string, once as an input and once as an output.
This patch adds a general mechanism for that.

The patch needs to add new information to the instruction entries.
One option would have been to extend the flags field of the opcode
to 64 bits (since we already rely on 64-bit integers being available
on the host).  However, the *_INSN macros mean that it's easy to add
new information as top-level fields without affecting the existing
table entries too much.  Going for that option seemed to give slightly
neater code.

include/
	* opcode/aarch64.h (aarch64_opcode): Add a tied_operand field.
	(AARCH64_OPDE_UNTIED_OPERAND): New aarch64_operand_error_kind.

opcodes/
	* aarch64-tbl.h (CORE_INSN, __FP_INSN, SIMD_INSN, CRYP_INSN)
	(_CRC_INSN, _LSE_INSN, _LOR_INSN, RDMA_INSN, FP16_INSN, SF16_INSN)
	(V8_2_INSN, aarch64_opcode_table): Initialize tied_operand field.
	* aarch64-opc.c (aarch64_match_operands_constraint): Check for
	tied operands.

gas/
	* config/tc-aarch64.c (output_operand_error_record): Handle
	AARCH64_OPDE_UNTIED_OPERAND.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 21/32] Add Zn and Pn registers
@ 2016-09-22  2:34 sergiodj+buildbot
  2016-09-22 19:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  2:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f11ad6bc0fc44b94c6970115bb6984b497b967e7 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: f11ad6bc0fc44b94c6970115bb6984b497b967e7

[AArch64][SVE 21/32] Add Zn and Pn registers

This patch adds the Zn and Pn registers, and associated fields and
operands.

include/
	* opcode/aarch64.h (AARCH64_OPND_CLASS_SVE_REG): New
	aarch64_operand_class.
	(AARCH64_OPND_CLASS_PRED_REG): Likewise.
	(AARCH64_OPND_SVE_Pd, AARCH64_OPND_SVE_Pg3, AARCH64_OPND_SVE_Pg4_5)
	(AARCH64_OPND_SVE_Pg4_10, AARCH64_OPND_SVE_Pg4_16)
	(AARCH64_OPND_SVE_Pm, AARCH64_OPND_SVE_Pn, AARCH64_OPND_SVE_Pt)
	(AARCH64_OPND_SVE_Za_5, AARCH64_OPND_SVE_Za_16, AARCH64_OPND_SVE_Zd)
	(AARCH64_OPND_SVE_Zm_5, AARCH64_OPND_SVE_Zm_16, AARCH64_OPND_SVE_Zn)
	(AARCH64_OPND_SVE_Zn_INDEX, AARCH64_OPND_SVE_ZnxN)
	(AARCH64_OPND_SVE_Zt, AARCH64_OPND_SVE_ZtxN): New aarch64_opnds.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERANDS): Add entries for new SVE operands.
	* aarch64-opc.h (FLD_SVE_Pd, FLD_SVE_Pg3, FLD_SVE_Pg4_5)
	(FLD_SVE_Pg4_10, FLD_SVE_Pg4_16, FLD_SVE_Pm, FLD_SVE_Pn, FLD_SVE_Pt)
	(FLD_SVE_Za_5, FLD_SVE_Za_16, FLD_SVE_Zd, FLD_SVE_Zm_5, FLD_SVE_Zm_16)
	(FLD_SVE_Zn, FLD_SVE_Zt, FLD_SVE_tzsh): New aarch64_field_kinds.
	* aarch64-opc.c (fields): Add corresponding entries here.
	(operand_general_constraint_met_p): Check that SVE register lists
	have the correct length.  Check the ranges of SVE index registers.
	Check for cases where p8-p15 are used in 3-bit predicate fields.
	(aarch64_print_operand): Handle the new SVE operands.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-asm.h (ins_sve_index, ins_sve_reglist): New inserters.
	* aarch64-asm.c (aarch64_ins_sve_index): New function.
	(aarch64_ins_sve_reglist): Likewise.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_sve_index, ext_sve_reglist): New extractors.
	* aarch64-dis.c (aarch64_ext_sve_index): New function.
	(aarch64_ext_sve_reglist): Likewise.
	* aarch64-dis-2.c: Regenerate.

gas/
	* config/tc-aarch64.c (NTA_HASVARWIDTH): New macro.
	(AARCH64_REG_TYPES): Add ZN and PN.
	(get_reg_expected_msg): Handle them.
	(parse_vector_type_for_operand): Add a reg_type parameter.
	Skip the width for Zn and Pn registers.
	(parse_typed_reg): Extend vector handling to Zn and Pn.  Update the
	call to parse_vector_type_for_operand.  Set HASVARTYPE for Zn and Pn,
	expecting the width to be 0.
	(parse_vector_reg_list): Restrict error about [BHSD]nn operands to
	REG_TYPE_VN.
	(vectype_to_qualifier): Use S_[BHSD] qualifiers for NTA_HASVARWIDTH.
	(parse_operands): Handle the new Zn and Pn operands.
	(REGSET16): New macro, split out from...
	(REGSET31): ...here.
	(reg_names): Add Zn and Pn entries.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 22/32] Add qualifiers for merging and zeroing predication
@ 2016-09-22  4:21 sergiodj+buildbot
  2016-09-23  0:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  4:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d50c751e00b5336b4604b92271ab84615fdb0d27 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: d50c751e00b5336b4604b92271ab84615fdb0d27

[AArch64][SVE 22/32] Add qualifiers for merging and zeroing predication

This patch adds qualifiers to represent /z and /m suffixes on
predicate registers.

include/
	* opcode/aarch64.h (AARCH64_OPND_QLF_P_Z): New aarch64_opnd_qualifier.
	(AARCH64_OPND_QLF_P_M): Likewise.

opcodes/
	* aarch64-opc.c (aarch64_opnd_qualifiers): Add entries for
	AARCH64_OPND_QLF_P_[ZM].
	(aarch64_print_operand): Print /z and /m where appropriate.

gas/
	* config/tc-aarch64.c (vector_el_type): Add NT_zero and NT_merge.
	(parse_vector_type_for_operand): Assert that the skipped character
	is a '.'.
	(parse_predication_for_operand): New function.
	(parse_typed_reg): Parse /z and /m suffixes for predicate registers.
	(vectype_to_qualifier): Handle NT_zero and NT_merge.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 23/32] Add SVE pattern and prfop operands
@ 2016-09-22  4:41 sergiodj+buildbot
  2016-09-23  4:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  4:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 245d2e3fe8d9ff35c65ed1329609fb7e59034877 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 245d2e3fe8d9ff35c65ed1329609fb7e59034877

[AArch64][SVE 23/32] Add SVE pattern and prfop operands

The SVE instructions have two enumerated operands: one to select a
vector pattern and another to select a prefetch operation.  The latter
is a cut-down version of the base AArch64 prefetch operation.

Both types of operand can also be specified as raw enum values such as #31.
Reserved values can only be specified this way.

If it hadn't been for the pattern operand, I would have been tempted
to use the existing parsing for prefetch operations and add extra
checks for SVE.  However, since the patterns needed new enum parsing
code anyway, it seeemed cleaner to reuse it for the prefetches too.

Because of the small number of enum values, I don't think we'd gain
anything by using hash tables.

include/
	* opcode/aarch64.h (AARCH64_OPND_SVE_PATTERN): New aarch64_opnd.
	(AARCH64_OPND_SVE_PRFOP): Likewise.
	(aarch64_sve_pattern_array): Declare.
	(aarch64_sve_prfop_array): Likewise.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERANDS): Add entries for
	AARCH64_OPND_SVE_PATTERN and AARCH64_OPND_SVE_PRFOP.
	* aarch64-opc.h (FLD_SVE_pattern): New aarch64_field_kind.
	(FLD_SVE_prfop): Likewise.
	* aarch64-opc.c: Include libiberty.h.
	(aarch64_sve_pattern_array): New variable.
	(aarch64_sve_prfop_array): Likewise.
	(fields): Add entries for FLD_SVE_pattern and FLD_SVE_prfop.
	(aarch64_print_operand): Handle AARCH64_OPND_SVE_PATTERN and
	AARCH64_OPND_SVE_PRFOP.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Likewise.
	* aarch64-opc-2.c: Likewise.

gas/
	* config/tc-aarch64.c (parse_enum_string): New function.
	(po_enum_or_fail): New macro.
	(parse_operands): Handle AARCH64_OPND_SVE_PATTERN and
	AARCH64_OPND_SVE_PRFOP.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 24/32] Add AARCH64_OPND_SVE_PATTERN_SCALED
@ 2016-09-22  5:23 sergiodj+buildbot
  2016-09-23  6:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  5:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2442d8466e221ba6cf4ec4bd2a819fdcb1e5ea7e ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 2442d8466e221ba6cf4ec4bd2a819fdcb1e5ea7e

[AArch64][SVE 24/32] Add AARCH64_OPND_SVE_PATTERN_SCALED

Some SVE instructions count the number of elements in a given vector
pattern and allow a scale factor of [1, 16] to be applied to the result.
This scale factor is written ", MUL #n", where "MUL" is a new operator.
E.g.:

	UQINCD	X0, POW2, MUL #2

This patch adds support for this kind of operand.

All existing operators were shifts of some kind, so there was a natural
range of [0, 63] regardless of context.  This was then narrowered further
by later checks (e.g. to [0, 31] when used for 32-bit values).

In contrast, MUL doesn't really have a natural context-independent range.
Rather than pick one arbitrarily, it seemed better to make the "shift"
amount a full 64-bit value and leave the range test to the usual
operand-checking code.  I've rearranged the fields of aarch64_opnd_info
so that this doesn't increase the size of the structure (although I don't
think its size is critical anyway).

include/
	* opcode/aarch64.h (AARCH64_OPND_SVE_PATTERN_SCALED): New
	aarch64_opnd.
	(AARCH64_MOD_MUL): New aarch64_modifier_kind.
	(aarch64_opnd_info): Make shifter.amount an int64_t and
	rearrange the fields.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERANDS): Add an entry for
	AARCH64_OPND_SVE_PATTERN_SCALED.
	* aarch64-opc.h (FLD_SVE_imm4): New aarch64_field_kind.
	* aarch64-opc.c (fields): Add a corresponding entry.
	(set_multiplier_out_of_range_error): New function.
	(aarch64_operand_modifiers): Add entry for AARCH64_MOD_MUL.
	(operand_general_constraint_met_p): Handle
	AARCH64_OPND_SVE_PATTERN_SCALED.
	(print_register_offset_address): Use PRIi64 to print the
	shift amount.
	(aarch64_print_operand): Likewise.  Handle
	AARCH64_OPND_SVE_PATTERN_SCALED.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-asm.h (ins_sve_scale): New inserter.
	* aarch64-asm.c (aarch64_ins_sve_scale): New function.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_sve_scale): New inserter.
	* aarch64-dis.c (aarch64_ext_sve_scale): New function.
	* aarch64-dis-2.c: Regenerate.

gas/
	* config/tc-aarch64.c (SHIFTED_MUL): New parse_shift_mode.
	(parse_shift): Handle it.  Reject AARCH64_MOD_MUL for all other
	shift modes.  Skip range tests for AARCH64_MOD_MUL.
	(process_omitted_operand): Handle AARCH64_OPND_SVE_PATTERN_SCALED.
	(parse_operands): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 25/32] Add support for SVE addressing modes
@ 2016-09-22  6:53 sergiodj+buildbot
  2016-09-23  7:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  6:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4df068de5214ff55b01ae320ec580f2928eb74e5 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 4df068de5214ff55b01ae320ec580f2928eb74e5

[AArch64][SVE 25/32] Add support for SVE addressing modes

This patch adds most of the new SVE addressing modes and associated
operands.  A follow-on patch adds MUL VL, since handling it separately
makes the changes easier to read.

The patch also introduces a new "operand-dependent data" field to the
operand flags, based closely on the existing one for opcode flags.
For SVE this new field needs only 2 bits, but it could be widened
in future if necessary.

include/
	* opcode/aarch64.h (AARCH64_OPND_SVE_ADDR_RI_U6): New aarch64_opnd.
	(AARCH64_OPND_SVE_ADDR_RI_U6x2, AARCH64_OPND_SVE_ADDR_RI_U6x4)
	(AARCH64_OPND_SVE_ADDR_RI_U6x8, AARCH64_OPND_SVE_ADDR_RR)
	(AARCH64_OPND_SVE_ADDR_RR_LSL1, AARCH64_OPND_SVE_ADDR_RR_LSL2)
	(AARCH64_OPND_SVE_ADDR_RR_LSL3, AARCH64_OPND_SVE_ADDR_RX)
	(AARCH64_OPND_SVE_ADDR_RX_LSL1, AARCH64_OPND_SVE_ADDR_RX_LSL2)
	(AARCH64_OPND_SVE_ADDR_RX_LSL3, AARCH64_OPND_SVE_ADDR_RZ)
	(AARCH64_OPND_SVE_ADDR_RZ_LSL1, AARCH64_OPND_SVE_ADDR_RZ_LSL2)
	(AARCH64_OPND_SVE_ADDR_RZ_LSL3, AARCH64_OPND_SVE_ADDR_RZ_XTW_14)
	(AARCH64_OPND_SVE_ADDR_RZ_XTW_22, AARCH64_OPND_SVE_ADDR_RZ_XTW1_14)
	(AARCH64_OPND_SVE_ADDR_RZ_XTW1_22, AARCH64_OPND_SVE_ADDR_RZ_XTW2_14)
	(AARCH64_OPND_SVE_ADDR_RZ_XTW2_22, AARCH64_OPND_SVE_ADDR_RZ_XTW3_14)
	(AARCH64_OPND_SVE_ADDR_RZ_XTW3_22, AARCH64_OPND_SVE_ADDR_ZI_U5)
	(AARCH64_OPND_SVE_ADDR_ZI_U5x2, AARCH64_OPND_SVE_ADDR_ZI_U5x4)
	(AARCH64_OPND_SVE_ADDR_ZI_U5x8, AARCH64_OPND_SVE_ADDR_ZZ_LSL)
	(AARCH64_OPND_SVE_ADDR_ZZ_SXTW, AARCH64_OPND_SVE_ADDR_ZZ_UXTW):
	Likewise.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERANDS): Add entries for the new SVE
	address operands.
	* aarch64-opc.h (FLD_SVE_imm6, FLD_SVE_msz, FLD_SVE_xs_14)
	(FLD_SVE_xs_22): New aarch64_field_kinds.
	(OPD_F_OD_MASK, OPD_F_OD_LSB, OPD_F_NO_ZR): New flags.
	(get_operand_specific_data): New function.
	* aarch64-opc.c (fields): Add entries for FLD_SVE_imm6, FLD_SVE_msz,
	FLD_SVE_xs_14 and FLD_SVE_xs_22.
	(operand_general_constraint_met_p): Handle the new SVE address
	operands.
	(sve_reg): New array.
	(get_addr_sve_reg_name): New function.
	(aarch64_print_operand): Handle the new SVE address operands.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-asm.h (ins_sve_addr_ri_u6, ins_sve_addr_rr_lsl)
	(ins_sve_addr_rz_xtw, ins_sve_addr_zi_u5, ins_sve_addr_zz_lsl)
	(ins_sve_addr_zz_sxtw, ins_sve_addr_zz_uxtw): New inserters.
	* aarch64-asm.c (aarch64_ins_sve_addr_ri_u6): New function.
	(aarch64_ins_sve_addr_rr_lsl): Likewise.
	(aarch64_ins_sve_addr_rz_xtw): Likewise.
	(aarch64_ins_sve_addr_zi_u5): Likewise.
	(aarch64_ins_sve_addr_zz): Likewise.
	(aarch64_ins_sve_addr_zz_lsl): Likewise.
	(aarch64_ins_sve_addr_zz_sxtw): Likewise.
	(aarch64_ins_sve_addr_zz_uxtw): Likewise.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_sve_addr_ri_u6, ext_sve_addr_rr_lsl)
	(ext_sve_addr_rz_xtw, ext_sve_addr_zi_u5, ext_sve_addr_zz_lsl)
	(ext_sve_addr_zz_sxtw, ext_sve_addr_zz_uxtw): New extractors.
	* aarch64-dis.c (aarch64_ext_sve_add_reg_imm): New function.
	(aarch64_ext_sve_addr_ri_u6): Likewise.
	(aarch64_ext_sve_addr_rr_lsl): Likewise.
	(aarch64_ext_sve_addr_rz_xtw): Likewise.
	(aarch64_ext_sve_addr_zi_u5): Likewise.
	(aarch64_ext_sve_addr_zz): Likewise.
	(aarch64_ext_sve_addr_zz_lsl): Likewise.
	(aarch64_ext_sve_addr_zz_sxtw): Likewise.
	(aarch64_ext_sve_addr_zz_uxtw): Likewise.
	* aarch64-dis-2.c: Regenerate.

gas/
	* config/tc-aarch64.c (REG_TYPE_SVE_BASE, REG_TYPE_SVE_OFFSET): New
	register types.
	(get_reg_expected_msg): Handle them.
	(aarch64_addr_reg_parse): New function, split out from
	aarch64_reg_parse_32_64.  Handle Z registers too.
	(aarch64_reg_parse_32_64): Call it.
	(parse_address_main): Add base_qualifier, offset_qualifier,
	base_type and offset_type parameters.  Handle SVE base and offset
	registers.
	(parse_address): Update call to parse_address_main.
	(parse_sve_address): New function.
	(parse_operands): Parse the new SVE address operands.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 26/32] Add SVE MUL VL addressing modes
@ 2016-09-22  7:02 sergiodj+buildbot
  2016-09-23  8:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  7:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 98907a704908c5877d929c57b2ddb2e5f899d9a9 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 98907a704908c5877d929c57b2ddb2e5f899d9a9

[AArch64][SVE 26/32] Add SVE MUL VL addressing modes

This patch adds support for addresses of the form:

       [<base>, #<offset>, MUL VL]

This involves adding a new AARCH64_MOD_MUL_VL modifier, which is
why I split it out from the other addressing modes.

For LD2, LD3 and LD4, the offset must be a multiple of the structure
size, so for LD3 the possible values are 0, 3, 6, ....  The patch
therefore extends value_aligned_p to handle non-power-of-2 alignments.

include/
	* opcode/aarch64.h (AARCH64_OPND_SVE_ADDR_RI_S4xVL): New aarch64_opnd.
	(AARCH64_OPND_SVE_ADDR_RI_S4x2xVL, AARCH64_OPND_SVE_ADDR_RI_S4x3xVL)
	(AARCH64_OPND_SVE_ADDR_RI_S4x4xVL, AARCH64_OPND_SVE_ADDR_RI_S6xVL)
	(AARCH64_OPND_SVE_ADDR_RI_S9xVL): Likewise.
	(AARCH64_MOD_MUL_VL): New aarch64_modifier_kind.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERANDS): Add entries for new MUL VL
	operands.
	* aarch64-opc.c (aarch64_operand_modifiers): Initialize
	the AARCH64_MOD_MUL_VL entry.
	(value_aligned_p): Cope with non-power-of-two alignments.
	(operand_general_constraint_met_p): Handle the new MUL VL addresses.
	(print_immediate_offset_address): Likewise.
	(aarch64_print_operand): Likewise.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-asm.h (ins_sve_addr_ri_s4xvl, ins_sve_addr_ri_s6xvl)
	(ins_sve_addr_ri_s9xvl): New inserters.
	* aarch64-asm.c (aarch64_ins_sve_addr_ri_s4xvl): New function.
	(aarch64_ins_sve_addr_ri_s6xvl): Likewise.
	(aarch64_ins_sve_addr_ri_s9xvl): Likewise.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_sve_addr_ri_s4xvl, ext_sve_addr_ri_s6xvl)
	(ext_sve_addr_ri_s9xvl): New extractors.
	* aarch64-dis.c (aarch64_ext_sve_addr_reg_mul_vl): New function.
	(aarch64_ext_sve_addr_ri_s4xvl): Likewise.
	(aarch64_ext_sve_addr_ri_s6xvl): Likewise.
	(aarch64_ext_sve_addr_ri_s9xvl): Likewise.
	* aarch64-dis-2.c: Regenerate.

gas/
	* config/tc-aarch64.c (SHIFTED_NONE, SHIFTED_MUL_VL): New
	parse_shift_modes.
	(parse_shift): Handle SHIFTED_MUL_VL.
	(parse_address_main): Add an imm_shift_mode parameter.
	(parse_address, parse_sve_address): Update accordingly.
	(parse_operands): Handle MUL VL addressing modes.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 27/32] Add SVE integer immediate operands
@ 2016-09-22  8:06 sergiodj+buildbot
  2016-09-23 13:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  8:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e950b3453948830c5ce9c2f70d114d0b38a4b4ac ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: e950b3453948830c5ce9c2f70d114d0b38a4b4ac

[AArch64][SVE 27/32] Add SVE integer immediate operands

This patch adds the new SVE integer immediate operands.  There are
three kinds:

- simple signed and unsigned ranges, but with new widths and positions.

- 13-bit logical immediates.  These have the same form as in base AArch64,
  but at a different bit position.

  In the case of the "MOV Zn.<T>, #<limm>" alias of DUPM, the logical
  immediate <limm> is not allowed to be a valid DUP immediate, since DUP
  is preferred over DUPM for constants that both instructions can handle.

- a new 9-bit arithmetic immediate, of the form "<imm8>{, LSL #8}".
  In some contexts the operand is signed and in others it's unsigned.
  As an extension, we allow shifted immediates to be written as a single
  integer, e.g. "#256" is equivalent to "#1, LSL #8".  We also use the
  shiftless form as the preferred disassembly, except for the special
  case of "#0, LSL #8" (a redundant encoding of 0).

include/
	* opcode/aarch64.h (AARCH64_OPND_SIMM5): New aarch64_opnd.
	(AARCH64_OPND_SVE_AIMM, AARCH64_OPND_SVE_ASIMM)
	(AARCH64_OPND_SVE_INV_LIMM, AARCH64_OPND_SVE_LIMM)
	(AARCH64_OPND_SVE_LIMM_MOV, AARCH64_OPND_SVE_SHLIMM_PRED)
	(AARCH64_OPND_SVE_SHLIMM_UNPRED, AARCH64_OPND_SVE_SHRIMM_PRED)
	(AARCH64_OPND_SVE_SHRIMM_UNPRED, AARCH64_OPND_SVE_SIMM5)
	(AARCH64_OPND_SVE_SIMM5B, AARCH64_OPND_SVE_SIMM6)
	(AARCH64_OPND_SVE_SIMM8, AARCH64_OPND_SVE_UIMM3)
	(AARCH64_OPND_SVE_UIMM7, AARCH64_OPND_SVE_UIMM8)
	(AARCH64_OPND_SVE_UIMM8_53): Likewise.
	(aarch64_sve_dupm_mov_immediate_p): Declare.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERANDS): Add entries for the new SVE
	integer immediate operands.
	* aarch64-opc.h (FLD_SVE_immN, FLD_SVE_imm3, FLD_SVE_imm5)
	(FLD_SVE_imm5b, FLD_SVE_imm7, FLD_SVE_imm8, FLD_SVE_imm9)
	(FLD_SVE_immr, FLD_SVE_imms, FLD_SVE_tszh): New aarch64_field_kinds.
	* aarch64-opc.c (fields): Add corresponding entries.
	(operand_general_constraint_met_p): Handle the new SVE integer
	immediate operands.
	(aarch64_print_operand): Likewise.
	(aarch64_sve_dupm_mov_immediate_p): New function.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-asm.h (ins_inv_limm, ins_sve_aimm, ins_sve_asimm)
	(ins_sve_limm_mov, ins_sve_shlimm, ins_sve_shrimm): New inserters.
	* aarch64-asm.c (aarch64_ins_limm_1): New function, split out from...
	(aarch64_ins_limm): ...here.
	(aarch64_ins_inv_limm): New function.
	(aarch64_ins_sve_aimm): Likewise.
	(aarch64_ins_sve_asimm): Likewise.
	(aarch64_ins_sve_limm_mov): Likewise.
	(aarch64_ins_sve_shlimm): Likewise.
	(aarch64_ins_sve_shrimm): Likewise.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_inv_limm, ext_sve_aimm, ext_sve_asimm)
	(ext_sve_limm_mov, ext_sve_shlimm, ext_sve_shrimm): New extractors.
	* aarch64-dis.c (decode_limm): New function, split out from...
	(aarch64_ext_limm): ...here.
	(aarch64_ext_inv_limm): New function.
	(decode_sve_aimm): Likewise.
	(aarch64_ext_sve_aimm): Likewise.
	(aarch64_ext_sve_asimm): Likewise.
	(aarch64_ext_sve_limm_mov): Likewise.
	(aarch64_top_bit): Likewise.
	(aarch64_ext_sve_shlimm): Likewise.
	(aarch64_ext_sve_shrimm): Likewise.
	* aarch64-dis-2.c: Regenerate.

gas/
	* config/tc-aarch64.c (parse_operands): Handle the new SVE integer
	immediate operands.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 28/32] Add SVE FP immediate operands
@ 2016-09-22  8:08 sergiodj+buildbot
  2016-09-23 16:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  8:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 165d4950855493dd904a7996e7fcf58880d54219 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 165d4950855493dd904a7996e7fcf58880d54219

[AArch64][SVE 28/32] Add SVE FP immediate operands

This patch adds support for the new SVE floating-point immediate
operands.  One operand uses the same 8-bit encoding as base AArch64,
but in a different position.  The others use a single bit to select
between two values.

One of the single-bit operands is a choice between 0 and 1, where 0
is not a valid 8-bit encoding.  I think the cleanest way of handling
these single-bit immediates is therefore to use the IEEE float encoding
itself as the immediate value and select between the two possible values
when encoding and decoding.

As described in the covering note for the patch that added F_STRICT,
we get better error messages by accepting unsuffixed vector registers
and leaving the qualifier matching code to report an error.  This means
that we carry on parsing the other operands, and so can try to parse FP
immediates for invalid instructions like:

	fcpy	z0, #2.5

In this case there is no suffix to tell us whether the immediate should
be treated as single or double precision.  Again, we get better error
messages by picking one (arbitrary) immediate size and reporting an error
for the missing suffix later.

include/
	* opcode/aarch64.h (AARCH64_OPND_SVE_FPIMM8): New aarch64_opnd.
	(AARCH64_OPND_SVE_I1_HALF_ONE, AARCH64_OPND_SVE_I1_HALF_TWO)
	(AARCH64_OPND_SVE_I1_ZERO_ONE): Likewise.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERANDS): Add entries for the new SVE FP
	immediate operands.
	* aarch64-opc.h (FLD_SVE_i1): New aarch64_field_kind.
	* aarch64-opc.c (fields): Add corresponding entry.
	(operand_general_constraint_met_p): Handle the new SVE FP immediate
	operands.
	(aarch64_print_operand): Likewise.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-asm.h (ins_sve_float_half_one, ins_sve_float_half_two)
	(ins_sve_float_zero_one): New inserters.
	* aarch64-asm.c (aarch64_ins_sve_float_half_one): New function.
	(aarch64_ins_sve_float_half_two): Likewise.
	(aarch64_ins_sve_float_zero_one): Likewise.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_sve_float_half_one, ext_sve_float_half_two)
	(ext_sve_float_zero_one): New extractors.
	* aarch64-dis.c (aarch64_ext_sve_float_half_one): New function.
	(aarch64_ext_sve_float_half_two): Likewise.
	(aarch64_ext_sve_float_zero_one): Likewise.
	* aarch64-dis-2.c: Regenerate.

gas/
	* config/tc-aarch64.c (double_precision_operand_p): New function.
	(parse_operands): Use it to calculate the dp_p input to
	parse_aarch64_imm_float.  Handle the new SVE FP immediate operands.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 30/32] Add SVE instruction classes
@ 2016-09-22  9:31 sergiodj+buildbot
  2016-09-23 18:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  9:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 116b60193779ac65a29fb3688b753527980cb3e7 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 116b60193779ac65a29fb3688b753527980cb3e7

[AArch64][SVE 30/32] Add SVE instruction classes

The main purpose of the SVE aarch64_insn_classes is to describe how
an index into an aarch64_opnd_qualifier_seq_t is represented in the
instruction encoding.  Other instructions usually use flags for this
information, but (a) we're running out of those and (b) the iclass
would otherwise be unused for SVE.

include/
	* opcode/aarch64.h (sve_cpy, sve_index, sve_limm, sve_misc)
	(sve_movprfx, sve_pred_zm, sve_shift_pred, sve_shift_unpred)
	(sve_size_bhs, sve_size_bhsd, sve_size_hsd, sve_size_sd): New
	aarch64_insn_classes.

opcodes/
	* aarch64-opc.h (FLD_SVE_M_4, FLD_SVE_M_14, FLD_SVE_M_16)
	(FLD_SVE_sz, FLD_SVE_tsz, FLD_SVE_tszl_8, FLD_SVE_tszl_19): New
	aarch64_field_kinds.
	* aarch64-opc.c (fields): Add corresponding entries.
	* aarch64-asm.c (aarch64_get_variant): New function.
	(aarch64_encode_variant_using_iclass): Likewise.
	(aarch64_opcode_encode): Call it.
	* aarch64-dis.c (aarch64_decode_variant_using_iclass): New function.
	(aarch64_opcode_decode): Call it.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 29/32] Add new SVE core & FP register operands
@ 2016-09-22  9:37 sergiodj+buildbot
  2016-09-23 17:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22  9:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 047cd301d40288d13e44f3322541ac28ebe06078 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 047cd301d40288d13e44f3322541ac28ebe06078

[AArch64][SVE 29/32] Add new SVE core & FP register operands

SVE uses some new fields to store W, X and scalar FP registers.
This patch adds corresponding operands.

include/
	* opcode/aarch64.h (AARCH64_OPND_SVE_Rm): New aarch64_opnd.
	(AARCH64_OPND_SVE_Rn_SP, AARCH64_OPND_SVE_VZn, AARCH64_OPND_SVE_Vd)
	(AARCH64_OPND_SVE_Vm, AARCH64_OPND_SVE_Vn): Likewise.

opcodes/
	* aarch64-tbl.h (AARCH64_OPERANDS): Add entries for the new SVE core
	and FP register operands.
	* aarch64-opc.h (FLD_SVE_Rm, FLD_SVE_Rn, FLD_SVE_Vd, FLD_SVE_Vm)
	(FLD_SVE_Vn): New aarch64_field_kinds.
	* aarch64-opc.c (fields): Add corresponding entries.
	(aarch64_print_operand): Handle the new SVE core and FP register
	operands.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-asm-2.c: Likewise.
	* aarch64-dis-2.c: Likewise.

gas/
	* config/tc-aarch64.c (parse_operands): Handle the new SVE core
	and FP register operands.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64][SVE 31/32] Add SVE instructions
@ 2016-09-22 10:26 sergiodj+buildbot
  2016-09-23 20:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 10:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0890d26289c4dad0e2ddedb7822a32a0645d150 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: c0890d26289c4dad0e2ddedb7822a32a0645d150

[AArch64][SVE 31/32] Add SVE instructions

This patch adds the SVE instruction definitions and associated OP_*
enum values.

include/
	* opcode/aarch64.h (AARCH64_FEATURE_SVE): New macro.
	(OP_MOV_P_P, OP_MOV_Z_P_Z, OP_MOV_Z_V, OP_MOV_Z_Z, OP_MOV_Z_Zi)
	(OP_MOVM_P_P_P, OP_MOVS_P_P, OP_MOVZS_P_P_P, OP_MOVZ_P_P_P)
	(OP_NOTS_P_P_P_Z, OP_NOT_P_P_P_Z): New aarch64_ops.

opcodes/
	* aarch64-tbl.h (OP_SVE_B, OP_SVE_BB, OP_SVE_BBBU, OP_SVE_BMB)
	(OP_SVE_BPB, OP_SVE_BUB, OP_SVE_BUBB, OP_SVE_BUU, OP_SVE_BZ)
	(OP_SVE_BZB, OP_SVE_BZBB, OP_SVE_BZU, OP_SVE_DD, OP_SVE_DDD)
	(OP_SVE_DMD, OP_SVE_DMH, OP_SVE_DMS, OP_SVE_DU, OP_SVE_DUD, OP_SVE_DUU)
	(OP_SVE_DUV_BHS, OP_SVE_DUV_BHSD, OP_SVE_DZD, OP_SVE_DZU, OP_SVE_HB)
	(OP_SVE_HMD, OP_SVE_HMS, OP_SVE_HU, OP_SVE_HUU, OP_SVE_HZU, OP_SVE_RR)
	(OP_SVE_RURV_BHSD, OP_SVE_RUV_BHSD, OP_SVE_SMD, OP_SVE_SMH, OP_SVE_SMS)
	(OP_SVE_SU, OP_SVE_SUS, OP_SVE_SUU, OP_SVE_SZS, OP_SVE_SZU, OP_SVE_UB)
	(OP_SVE_UUD, OP_SVE_UUS, OP_SVE_VMR_BHSD, OP_SVE_VMU_SD)
	(OP_SVE_VMVD_BHS, OP_SVE_VMVU_BHSD, OP_SVE_VMVU_SD, OP_SVE_VMVV_BHSD)
	(OP_SVE_VMVV_SD, OP_SVE_VMV_BHSD, OP_SVE_VMV_HSD, OP_SVE_VMV_SD)
	(OP_SVE_VM_SD, OP_SVE_VPU_BHSD, OP_SVE_VPV_BHSD, OP_SVE_VRR_BHSD)
	(OP_SVE_VRU_BHSD, OP_SVE_VR_BHSD, OP_SVE_VUR_BHSD, OP_SVE_VUU_BHSD)
	(OP_SVE_VUVV_BHSD, OP_SVE_VUVV_SD, OP_SVE_VUV_BHSD, OP_SVE_VUV_SD)
	(OP_SVE_VU_BHSD, OP_SVE_VU_HSD, OP_SVE_VU_SD, OP_SVE_VVD_BHS)
	(OP_SVE_VVU_BHSD, OP_SVE_VVVU_SD, OP_SVE_VVV_BHSD, OP_SVE_VVV_SD)
	(OP_SVE_VV_BHSD, OP_SVE_VV_HSD_BHS, OP_SVE_VV_SD, OP_SVE_VWW_BHSD)
	(OP_SVE_VXX_BHSD, OP_SVE_VZVD_BHS, OP_SVE_VZVU_BHSD, OP_SVE_VZVV_BHSD)
	(OP_SVE_VZVV_SD, OP_SVE_VZV_SD, OP_SVE_V_SD, OP_SVE_WU, OP_SVE_WV_BHSD)
	(OP_SVE_XU, OP_SVE_XUV_BHSD, OP_SVE_XVW_BHSD, OP_SVE_XV_BHSD)
	(OP_SVE_XWU, OP_SVE_XXU): New macros.
	(aarch64_feature_sve): New variable.
	(SVE): New macro.
	(_SVE_INSN): Likewise.
	(aarch64_opcode_table): Add SVE instructions.
	* aarch64-opc.h (extract_fields): Declare.
	* aarch64-opc-2.c: Regenerate.
	* aarch64-asm.c (do_misc_encoding): Handle the new SVE aarch64_ops.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.c (extract_fields): Make global.
	(do_misc_decoding): Handle the new SVE aarch64_ops.
	* aarch64-dis-2.c: Regenerate.

gas/
	* doc/c-aarch64.texi: Document the "sve" feature.
	* config/tc-aarch64.c (REG_TYPE_R_Z_BHSDQ_VZP): New register type.
	(get_reg_expected_msg): Handle it.
	(parse_operands): When parsing operands of an SVE instruction,
	disallow immediates that match REG_TYPE_R_Z_BHSDQ_VZP.
	(aarch64_features): Add an entry for SVE.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Add SVE condition codes
@ 2016-09-22 11:51 sergiodj+buildbot
  2016-09-23 22:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 11:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bb7eff5206e4795ac79c177a80fe9f4630aaf730 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: bb7eff5206e4795ac79c177a80fe9f4630aaf730

[AArch64] Add SVE condition codes

SVE defines new names for existing NZCV conditions, to reflect the
result of instructions like PTEST.  This patch adds support for these
names.

The patch also adds comments to the disassembly output to show the
alternative names of a condition code.  For example:

	cinv	x0, x1, cc

becomes:

     	cinv	x0, x1, cc  // cc = lo, ul, last

and:

	b.cc	f0 <...>

becomes:

     	b.cc	f0 <...>  // b.lo, b.ul, b.last

Doing this for the SVE names follows the practice recommended by the
SVE specification and is definitely useful when reading SVE code.
If the feeling is that it's too distracting elsewhere, we could add
an option to turn it off.

include/
	* opcode/aarch64.h (aarch64_cond): Bump array size to 4.

opcodes/
	* aarch64-dis.c (remove_dot_suffix): New function, split out from...
	(print_mnemonic_name): ...here.
	(print_comment): New function.
	(print_aarch64_insn): Call it.
	* aarch64-opc.c (aarch64_conds): Add SVE names.
	(aarch64_print_operand): Print alternative condition names in
	a comment.

gas/
	* config/tc-aarch64.c (opcode_lookup): Search for the end of
	a condition name, rather than assuming that it will have exactly
	2 characters.
	(parse_operands): Likewise.
	* testsuite/gas/aarch64/alias.d: Add new condition-code comments
	to the expected output.
	* testsuite/gas/aarch64/beq_1.d: Likewise.
	* testsuite/gas/aarch64/float-fp16.d: Likewise.
	* testsuite/gas/aarch64/int-insns.d: Likewise.
	* testsuite/gas/aarch64/no-aliases.d: Likewise.
	* testsuite/gas/aarch64/programmer-friendly.d: Likewise.
	* testsuite/gas/aarch64/reloc-insn.d: Likewise.
	* testsuite/gas/aarch64/b_c_1.d, testsuite/gas/aarch64/b_c_1.s:
	New test.

ld/
	* testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
	* testsuite/ld-aarch64/weak-undefined.d: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Use "must" rather than "should" in error messages
@ 2016-09-22 12:08 sergiodj+buildbot
  2016-09-24  0:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 12:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ab3b8fcfdb06695d27eaec4eedb019ada4a5713e ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: ab3b8fcfdb06695d27eaec4eedb019ada4a5713e

[AArch64] Use "must" rather than "should" in error messages

One of the review comments from the SVE series was that it would
be better to use "must" rather than "should" in error messages.
I think this patch fixes all cases in the AArch64 code.
It also uses "must be" instead of "expected to be".

opcodes/
	* aarch64-opc.c (operand_general_constraint_met_p): Use "must be"
	rather than "should be" or "expected to be" in error messages.

gas/
	* config/tc-aarch64.c (output_operand_error_record): Use "must be"
	rather than "should be" or "expected to be" in error messages.
	(parse_operands): Likewise.
	* testsuite/gas/aarch64/diagnostic.l: Likewise.
	* testsuite/gas/aarch64/legacy_reg_names.l: Likewise.
	* testsuite/gas/aarch64/sve-invalid.l: Likewise.
	* testsuite/gas/aarch64/sve-reg-diagnostic.l: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Print spaces after commas in addresses
@ 2016-09-22 12:46 sergiodj+buildbot
  2016-09-24  6:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 12:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad43e107eb233dcef8e76da6328aa4e4d74afd84 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: ad43e107eb233dcef8e76da6328aa4e4d74afd84

[AArch64] Print spaces after commas in addresses

I got an off-list request to make the AArch64 disassembler print
spaces after commas in addresses.  This patch does that.

The same code is used to print operands in "did you mean" errors,
so to keep things consistent, the patch also prints spaces between
operands in those messages.

opcodes/
	* aarch64-opc.c (print_immediate_offset_address): Print spaces
	after commas in addresses.
	(aarch64_print_operand): Likewise.

gas/
	* config/tc-aarch64.c (print_operands): Print spaces between
	operands.
	* testsuite/gas/aarch64/ilp32-basic.d: Expect spaces after ","
	in addresses.
	* testsuite/gas/aarch64/ldst-reg-imm-post-ind.d: Likewise.
	* testsuite/gas/aarch64/ldst-reg-imm-pre-ind.d: Likewise.
	* testsuite/gas/aarch64/ldst-reg-pair.d: Likewise.
	* testsuite/gas/aarch64/ldst-reg-reg-offset.d: Likewise.
	* testsuite/gas/aarch64/ldst-reg-uns-imm.d: Likewise.
	* testsuite/gas/aarch64/ldst-reg-unscaled-imm.d: Likewise.
	* testsuite/gas/aarch64/reloc-insn.d: Likewise.
	* testsuite/gas/aarch64/sve.d: Likewise.
	* testsuite/gas/aarch64/symbol.d: Likewise.
	* testsuite/gas/aarch64/system.d: Likewise.
	* testsuite/gas/aarch64/tls-desc.d: Likewise.
	* testsuite/gas/aarch64/sve-invalid.l: Expect spaces after ","
	in suggested alternatives.
	* testsuite/gas/aarch64/verbose-error.l: Likewise.

ld/
	* testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
	in addresses.
	* testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
	* testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
	* testsuite/ld-aarch64/erratum835769.d: Likewise.
	* testsuite/ld-aarch64/erratum843419.d: Likewise.
	* testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
	* testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
	* testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
	* testsuite/ld-aarch64/ifunc-21.d: Likewise.
	* testsuite/ld-aarch64/ifunc-7c.d: Likewise.
	* testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
	* testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
	* testsuite/ld-aarch64/tls-large-desc.d: Likewise.
	* testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
	* testsuite/ld-aarch64/tls-large-ie.d: Likewise.
	* testsuite/ld-aarch64/tls-relax-all.d: Likewise.
	* testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
	* testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
	* testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
	* testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
	* testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
	* testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
	* testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] ppc: Add Power ISA 3.0/POWER9 instructions record support
@ 2016-09-22 13:27 sergiodj+buildbot
  2016-09-24  9:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 13:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6ec2b213de6962ceeb81bfa33354ea6e60c57049 ***

Author: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Branch: master
Commit: 6ec2b213de6962ceeb81bfa33354ea6e60c57049

ppc: Add Power ISA 3.0/POWER9 instructions record support

gdb/ChangeLog:
2016-09-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>

	* rs6000-tdep.c (PPC_DQ): New macro.
	(ppc_process_record_op4): Add Power ISA 3.0 instructions.
	(ppc_process_record_op19): Likewise.
	(ppc_process_record_op31): Likewise.
	(ppc_process_record_op59): Likewise.
	(ppc_process_record_op60): Likewise.
	(ppc_process_record_op63): Likewise.
	(ppc_process_record): Likewise.
	(ppc_process_record_op61): New function.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Update and add .gitignore's
@ 2016-09-22 14:12 sergiodj+buildbot
  2016-09-24 12:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 14:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 74172ecf37e5877085c5d01f335db94e8091ba97 ***

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

Update and add .gitignore's

This patch adds a bunch of generated files to gdb's gitignore files.
There are still a bunch of "stamp" files that are not ignored, but I
think the rule for them should be put in the top-level gitignore.

Users and developers are encouraged to build out-of-tree, but some
people prefer the simplicity to build in-tree, so it should be useful
for them.

gdb/ChangeLog:

	* .gitignore: Ignore more files.
	* data-directory/.gitignore: Likewise.

gdb/doc/ChangeLog:

	* .gitignore: New file.

gdb/gdbserver/ChangeLog:

	* .gitinore: Ignore more files.

gdb/testsuite/ChangeLog:

	* .gitignore: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR gdb/20604 - fix "quit" when an invalid expression is used
@ 2016-09-22 14:56 sergiodj+buildbot
  2016-09-24 14:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 14:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 36cf1806a87fdd208c704d0768af232ce35aae9f ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 36cf1806a87fdd208c704d0768af232ce35aae9f

PR gdb/20604 - fix "quit" when an invalid expression is used

This fixes PR gdb/20604.  The bug here is that passing an invalid
expression to "quit" -- e.g., "quit()" -- causes gdb to enter a
non-functioning state.

The immediate problem is that quit_force resets the terminal before
evaluating the expression.  However, it seemed to me that it doesn't
really make sense to pass the quit_force argument to kill_or_detach
(which passes it to to_detach), first because conflating the exit
status for "quit" and the signal to pass when detaching doesn't make
sense, and second because to_detach implementations generally only
accept a constant here, while "quit" accepts an expression.  So, I
removed that.

As an aside, I think the "detach SIGNO" functionality is not
documented.

Built and regtested on x86-64 Fedora 24.

2016-09-21  Tom Tromey  <tom@tromey.com>

	PR gdb/20604:
	* top.h (quit_force): Update.
	* top.c (quit_force): Changed type of first argument.  Don't
	evaluate expression.  Pass NULL to kill_or_detach.
	* cli/cli-cmds.c (quit_command): Evaluate "args".

2016-09-21  Tom Tromey  <tom@tromey.com>

	PR gdb/20604:
	* gdb.base/quit.exp: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] ppc: Fix return of instruction handlers in ppc_process_record_op63
@ 2016-09-22 16:46 sergiodj+buildbot
  2016-09-24 18:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 16:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8aabe2e254e6a0419db9c6397c4068c69bfd95b0 ***

Author: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Branch: master
Commit: 8aabe2e254e6a0419db9c6397c4068c69bfd95b0

ppc: Fix return of instruction handlers in ppc_process_record_op63

some instruction handlers in ppc_process_record_op63() seem to be missing
return or incorrectly using break. This patch aims to fix that.

gdb/ChangeLog:
2016-09-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>

	* rs6000-tdep.c (ppc_process_record_op63): Fix return of instruction
	handlers.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] arc: New Synopsys ARC port
@ 2016-09-22 17:43 sergiodj+buildbot
  2016-09-24 23:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 17:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad0a504f7e10ea11dbf58eb9990a5180f781b695 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: ad0a504f7e10ea11dbf58eb9990a5180f781b695

arc: New Synopsys ARC port

ARC is a family of licensable processors developed by Synopsys.

This is an initial patch that doesn't yet support some of the features, that
are already available in Synopsys' fork of GDB, namely:

  * longjmp support
  * signal frame handling
  * prologue analysis
  * Linux targets support
  * native Linux support

ARC cores are configurable and extensible, which means from debugger
perspective that some registers and debug capabilities are optional, therefore
it is up to the GDB stub to determine exact list of register available on
target and supply it to GDB via XML target descriptions.  List of registers
that is known to GDB and is required is intentionally kept small to simplify
requirements to GDB stub and implementation of a GDB client.

gdb/ChangeLog:

	* Makefile.in (ALL_TARGET_OBS): Add arc-tdep.o.
	(HFILES_NO_SRCDIR): Add arc-tdep.h.
	(ALLDEPFILES): Add arc-tdep.c.
	* NEWS: Mention new ARC port.
	* configure.tgt: Add ARC.
	* arc-tdep.c: New file.
	* arc-tdep.h: New file.
	* features/Makefile (XMLTOC): Add arc-v2.xml and arc-arcompact.xml.
	* features/arc-v2.xml: New file.
	* features/arc-v2.c: New file (generated).
	* features/arc-arcompact.xml: New file.
	* features/arc-arcompact.c: New file (generated).

gdb/doc/ChangeLog:

	* gdb.texinfo (Embedded Processors): Document ARC.
	(Synopsys ARC): New section.
	(Standard Target Features): Document ARC features.
	(ARC Features): New section.

gdb/testsuite/ChangeLog:

	* gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add myself as a write-after-approval GDB maintainer
@ 2016-09-22 17:56 sergiodj+buildbot
  2016-09-25  2:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 17:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 31da3f27d765612d3f067467ad39e386da7bacd7 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: 31da3f27d765612d3f067467ad39e386da7bacd7

Add myself as a write-after-approval GDB maintainer

gdb/ChangeLog:

	* MAINTAINERS (Write After Approval): Add Anton Kolesov.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Check the right proc name
@ 2016-09-22 19:54 sergiodj+buildbot
  2016-09-25 10:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 19:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9c211fd8d6c7a600a7e55f272e21a967377a7c87 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 9c211fd8d6c7a600a7e55f272e21a967377a7c87

Check the right proc name

In lib/gdbserver-support.exp, we rename gdb_exit to
gdbserver_orig_gdb_exit, but we check the existence gdbserver_gdb_exit.
We should check gdbserver_orig_gdb_exit instead.  Looks it is a typo
or an oversight.

gdb/testsuite:

2016-09-22  Yao Qi  <yao.qi@linaro.org>

	* lib/gdbserver-support.exp: Check the existence of
	gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] arc: Fix ARI warning for printf(%p)
@ 2016-09-22 20:53 sergiodj+buildbot
  2016-09-25 14:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 20:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fa42dd2e8328560e65c888277ab146810c1763a8 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: fa42dd2e8328560e65c888277ab146810c1763a8

arc: Fix ARI warning for printf(%p)

Replace printf ("%p") with printf ("%s", host_address_to_string ()). Printing
host addrss might make sense here because pointers can be null and this would
affect how function behaves.

This particular warning is printed only when option -Wari is passed to
contrib/ari/gdb_ari.sh

gdb/ChangeLog:

	* arc-tdep.c: Fix ARI warning for printf(%p).


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbserver-base in remote-gdbserver-on-localhost.exp
@ 2016-09-22 21:20 sergiodj+buildbot
  2016-09-25 16:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 21:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 90681dabc79316d382aae5e932303f61bd705b16 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 90681dabc79316d382aae5e932303f61bd705b16

Use gdbserver-base in remote-gdbserver-on-localhost.exp

This patch is to make remote-gdbserver-on-localhost.exp use gdbserver-base
and remove duplicated code.

gdb/testsuite:

2016-09-22  Yao Qi  <yao.qi@linaro.org>

	* boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
	path.
	* boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
	Remove duplication.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix build breakage from commit 6ec2b2
@ 2016-09-22 23:04 sergiodj+buildbot
  2016-09-25 18:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-22 23:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT de6784544abc97d5e396cb1e83eda1ae09f63d40 ***

Author: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Branch: master
Commit: de6784544abc97d5e396cb1e83eda1ae09f63d40

Fix build breakage from commit 6ec2b2

I was notified by buildbot that my patch (commit 6ec2b2) has broken the build
on x86_64:

../../binutils-gdb/gdb/rs6000-tdep.c: In function int ppc_process_record_op31(gdbarch*, regcache*, CORE_ADDR, uint32_t):
../../binutils-gdb/gdb/rs6000-tdep.c:4705:50: error: cannot convert CORE_ADDR* {aka long unsigned int*} to ULONGEST* {aka long long unsigned int*} for argument 3 to register_status regcache_raw_read_unsigned(regcache*, int, ULONGEST*)
         tdep->ppc_gp0_regnum + PPC_RA (insn), &ea);
                                                  ^
../../binutils-gdb/gdb/rs6000-tdep.c:4718:50: error: cannot convert CORE_ADDR* {aka long unsigned int*} to ULONGEST* {aka long long unsigned int*} for argument 3 to register_status regcache_raw_read_unsigned(regcache*, int, ULONGEST*)
         tdep->ppc_gp0_regnum + PPC_RA (insn), &ea);
                                                  ^
The patch below should fix it.

gdb/ChangeLog:
2016-09-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>

	* rs6000-tdep.c (ppc_process_record_op31): Fix
	regcache_raw_read_unsigned call using the correct parameter type.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Close gdbserver in mi_gdb_exit
@ 2016-09-23  0:46 sergiodj+buildbot
  2016-09-25 21:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-23  0:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f73842fc847e297fd44542de9601a84b4d6b28d8 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: f73842fc847e297fd44542de9601a84b4d6b28d8

Close gdbserver in mi_gdb_exit

In commit 6423214f (testsuite: Don't use expect_background to reap
gdbserver), we override gdb_exit in lib/gdbserver-support.exp, so
that we can close gdbserver first.  However, we don't close gdbserver
in mi_gdb_exit.  This makes a problem in my aarch64 mulit-arch testing,
in which I run some mi tests, mi-watch.exp for example, in different
variations (aarch64 and arm),

Schedule of variations:
    junor0-2
    junor0-2-arm/-marm
    junor0-2-arm/-mthumb

When the test is done in the first variation (aarch64), test case is
recompiled for arm, but GDBserver with aarch64 program is still
running.  When the second variation is started, GDB loads arm program,
but GDBserver still loads aarch64 program because the old GDBserver
process is using it.  We'll get,

47-target-select remote junor0-2:2350^M
&"warning: Selected architecture arm is not compatible with reported target architecture aarch64\n"^M
&"warning: Architecture rejected target-supplied description\n"

This patch fixes this problem by closing GDBserver in mi_gdb_exit.

gdb/testsuite:

2016-09-22  Yao Qi  <yao.qi@linaro.org>

	* lib/gdbserver-support.exp: Rename mi_gdb_exit.
	(gdb_exit): Rename it to ...
	(gdbserver_gdb_exit): ...  Close GDBserver.
	(gdb_exit): New proc, call gdbserver_gdb_exit.
	(mi_gdb_exit): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Delete relocations associatesd with deleted exidx entries.
@ 2016-09-23 19:06 sergiodj+buildbot
  2016-09-25 23:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-23 19:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5025eb7c0d87b01507116353b5d63b163d7add3d ***

Author: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Branch: master
Commit: 5025eb7c0d87b01507116353b5d63b163d7add3d

Delete relocations associatesd with deleted exidx entries.

	PR ld/20595
ld	* testsuite/ld-arm/unwind-4.d: Add -q option to linker command
	line and -r option to objdump command line.  Match emitted relocs
	to make sure that superflous relocs are not generated.

bfd	* elf-bfd.h (struct elf_backend_data): Add
	elf_backend_count_output_relocs callback to count relocations in
	the final output.
	* elf-arm.c (elf32_arm_add_relocation): Deleted.
	(elf32_arm_write_section): Move additional relocation to emit_relocs.
	(elf32_arm_count_output_relocs): New function.
	(emit_relocs): New function.
	(elf32_arm_emit_relocs): New function.
	(elf32_arm_vxworks_emit_relocs): New function.
	(elf_backend_emit_relocs): Updated to use the new functions.
	(elf_backend_count_output_relocs): New define.
	* bfd/elflink.c (bfd_elf_final_link): Do not add additional_reloc_count
	to the relocation count.
	(_bfd_elf_link_size_reloc_section): Use callback to count the
	relocations which will be in output.
	(_bfd_elf_default_count_output_relocs): New function.
	* bfd/elfxx-target.h (elf_backend_count_output_relocs): New define.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Replace operator new / operator new[]
@ 2016-09-23 20:08 sergiodj+buildbot
  2016-09-26  2:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-23 20:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 503b1c39dc801389f7ae510fb1f7ee1e533b67ac ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 503b1c39dc801389f7ae510fb1f7ee1e533b67ac

gdb: Replace operator new / operator new[]

If xmalloc fails allocating memory, usually because something tried a
huge allocation, like xmalloc(-1) or some such, GDB asks the user what
to do:

  .../src/gdb/utils.c:1079: internal-error: virtual memory exhausted.
  A problem internal to GDB has been detected,
  further debugging may prove unreliable.
  Quit this debugging session? (y or n)

If the user says "n", that throws a QUIT exception, which is caught by
one of the multiple CATCH(RETURN_MASK_ALL) blocks somewhere up the
stack.

The default implementations of operator new / operator new[] call
malloc directly, and on memory allocation failure throw
std::bad_alloc.  Currently, if that happens, since nothing catches it,
the exception escapes out of main, and GDB aborts from unhandled
exception.

This patch replaces the default operator new variants with versions
that, just like xmalloc:

 #1 - Raise an internal-error on memory allocation failure.

 #2 - Throw a QUIT gdb_exception, so that the exact same CATCH blocks
      continue handling memory allocation problems.

A minor complication of #2 is that operator new can _only_ throw
std::bad_alloc, or something that extends it:

  void* operator new (std::size_t size) throw (std::bad_alloc);

That means that if we let a gdb QUIT exception escape from within
operator new, the C++ runtime aborts due to unexpected exception
thrown.

So to bridge the gap, this patch adds a new gdb_quit_bad_alloc
exception type that inherits both std::bad_alloc and gdb_exception,
and throws _that_.

If we decide that we should be catching memory allocation errors in
fewer places than all the places we currently catch them (everywhere
we use RETURN_MASK_ALL currently), then we could change operator new
to throw plain std::bad_alloc then.  But I'm considering such a change
as separate matter from this one -- it'd make sense to do the same to
xmalloc at the same time, for instance.

Meanwhile, this allows using new/new[] instead of xmalloc/XNEW/etc.
without losing the "virtual memory exhausted" internal-error
safeguard.

Tested on x86_64 Fedora 23.

gdb/ChangeLog:
2016-09-23  Pedro Alves  <palves@redhat.com>

	* Makefile.in (SFILES): Add common/new-op.c.
	(COMMON_OBS): Add common/new-op.o.
	(new-op.o): New rule.
	* common/common-exceptions.h: Include <new>.
	(struct gdb_quit_bad_alloc): New type.
	* common/new-op.c: New file.

gdb/gdbserver/ChangeLog:
2016-09-23  Pedro Alves  <palves@redhat.com>

	* Makefile.in (SFILES): Add common/new-op.c.
	(OBS): Add common/new-op.o.
	(new-op.o): New rule.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Replace sprintf with xsnprintf in nat/linux-osdata.c
@ 2016-09-23 21:43 sergiodj+buildbot
  2016-09-26  3:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-23 21:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 97e64e5ab19dbf6a9babd711e8deec5545520954 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 97e64e5ab19dbf6a9babd711e8deec5545520954

Replace sprintf with xsnprintf in nat/linux-osdata.c

I see the following build warning when I build GDB with GCC trunk.

../../binutils-gdb/gdb/nat/linux-osdata.c: In function LONGEST linux_xfer_osdata_fds(gdb_byte*, ULONGEST, ULONGEST):
../../binutils-gdb/gdb/nat/linux-osdata.c:767:1: error: %s directive writing between 0 and 255 bytes into a region of size 11 [-Werror=format-length=]
 linux_xfer_osdata_fds (gdb_byte *readbuf,
 ^~~~~~~~~~~~~~~~~~~~~
../../binutils-gdb/gdb/nat/linux-osdata.c:800:51: note: format output between 7 and 262 bytes into a destination of size 17
        sprintf (procentry, "/proc/%s", dp->d_name);
                                                   ^
../../binutils-gdb/gdb/nat/linux-osdata.c: In function LONGEST linux_xfer_osdata_threads(gdb_byte*, ULONGEST, ULONGEST):
../../binutils-gdb/gdb/nat/linux-osdata.c:555:1: error: %s directive writing between 0 and 255 bytes into a region of size 11 [-Werror=format-length=]
 linux_xfer_osdata_threads (gdb_byte *readbuf,
 ^~~~~~~~~~~~~~~~~~~~~~~~~
../../binutils-gdb/gdb/nat/linux-osdata.c:588:51: note: format output between 7 and 262 bytes into a destination of size 17
        sprintf (procentry, "/proc/%s", dp->d_name);
                                                   ^
cc1plus: all warnings being treated as errors

The warning is a false positive, but we can workaround it by replacing
sprintf with xsnprintf.  On the other hand, it is always preferred to
use xsnprintf.

gdb:

2016-09-23  Yao Qi  <yao.qi@linaro.org>

	* nat/linux-osdata.c (linux_xfer_osdata_threads): Replace
	sprintf with xsnprintf.
	(linux_xfer_osdata_fds): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove some unnecessary code
@ 2016-09-23 22:27 sergiodj+buildbot
  2016-09-26  3:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-23 22:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3e25a500a1ba05587389737e7c617e5ae6dd2bcf ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 3e25a500a1ba05587389737e7c617e5ae6dd2bcf

Remove some unnecessary code

This patch removes some unnecessary code.  In particular,
terminate_minimal_symbol_table is declared in minsyms.h, so it doesn't
need to be declared in objfiles.h as well.  And,
restore_ui_out_closure was rendered unnecessary by an earlier patch,
so the structure definition can be removed now.

I'm checking this in as obvious.

Tested by rebuilding on x86-64 Fedora 24 with --enable-targets=all;
which would notice any missing includes of minsyms.h.

2016-09-23  Tom Tromey  <tom@tromey.com>

	* utils.c (struct restore_ui_out_closure): Remove.
	* objfiles.h (terminate_minimal_symbol_table): Don't declare.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use std::string in break-catch-sig.c
@ 2016-09-23 23:51 sergiodj+buildbot
  2016-09-26  4:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-23 23:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5809899dad253e2fefcb6f7ae57a6f43cfa4e3c5 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 5809899dad253e2fefcb6f7ae57a6f43cfa4e3c5

Use std::string in break-catch-sig.c

This changes one spot in break-catch-sig.c to use std::string,
removing some cleanups.

2016-09-23  Tom Tromey  <tom@tromey.com>

	* break-catch-sig.c: Include <string>.
	(signal_catchpoint_print_one): Use std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use std::string in cp-namespace.c
@ 2016-09-24  0:14 sergiodj+buildbot
  2016-09-26  4:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-24  0:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 05d49c372d4689f8ca8baf4fdd32529ac40f297a ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 05d49c372d4689f8ca8baf4fdd32529ac40f297a

Use std::string in cp-namespace.c

This changes a few spots in cp-namespace.c to use std::string,
removing some cleanups.

2016-09-23  Tom Tromey  <tom@tromey.com>

	* cp-namespace.c: Include <string>.
	(cp_search_static_and_baseclasses)
	(cp_lookup_symbol_imports_or_template, find_symbol_in_baseclass):
	Use std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use std::string, std::vector in rust-lang.c
@ 2016-09-24  2:55 sergiodj+buildbot
  2016-09-26  7:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-24  2:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ab8b80a88546eacb6e75004e8dd571e6bdf9505f ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: ab8b80a88546eacb6e75004e8dd571e6bdf9505f

Use std::string, std::vector in rust-lang.c

This patch changes some spots in rust-lang.c to use std::string or
std::vector, removing some cleanups.

2016-09-23  Tom Tromey  <tom@tromey.com>

	* rust-lang.c: Include <string> and <vector>.
	(rust_evaluate_funcall): Use std::vector, std::string.
	(rust_evaluate_subexp): Use std::string.
	(rust_lookup_symbol_nonlocal): Use std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use std::vector in objfiles.c
@ 2016-09-24  4:16 sergiodj+buildbot
  2016-09-26  9:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-24  4:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cfe826d45ea2e15f0df4c039dfa4b9ea605831da ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: cfe826d45ea2e15f0df4c039dfa4b9ea605831da

Use std::vector in objfiles.c

This patch changes a spot in objfiles.c to use a std::vector, removing
a cleanup.

2016-09-23  Tom Tromey  <tom@tromey.com>

	* objfiles.c: Include <vector>.
	(objfile_relocate): Use std::vector.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use std::string rather than dyn-string
@ 2016-09-24  7:30 sergiodj+buildbot
  2016-09-26  9:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-24  7:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a97e29d248d51bb688cff677def657eb0cf82cca ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: a97e29d248d51bb688cff677def657eb0cf82cca

Use std::string rather than dyn-string

This patch changes some code in cli-cmds.c to use std::string rather
than dyn-string, removing some cleanups.  Since this was the last use
of dyn-string in gdb, this patch also removes
make_cleanup_dyn_string_delete.

2016-09-23  Tom Tromey  <tom@tromey.com>

	* utils.h (make_cleanup_dyn_string_delete): Remove declaration.
	* utils.c: Don't include dyn-string.h.
	(do_dyn_string_delete, make_cleanup_dyn_string_delete): Remove.
	* cli/cli-cmds.c: Include <string>.  Don't include dyn-string.h.
	(argv_to_string): Rename.  Change return type to std::string.
	(alias_command): Use std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix a use of target_mourn_inferior in windows-nat.c
@ 2016-09-25  5:08 sergiodj+buildbot
  2016-09-26 10:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-25  5:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9eee20eb5400345cab1952cbfc0426035ddf1140 ***

Author: Jon Turney <jon.turney@dronecode.org.uk>
Branch: master
Commit: 9eee20eb5400345cab1952cbfc0426035ddf1140

Fix a use of target_mourn_inferior in windows-nat.c

One use of target_mourn_interior seems to have been missed in bc1e6c81

gdb/ChangeLog:

2016-09-23  Jon Turney  <jon.turney@dronecode.org.uk>

	* windows-nat.c (windows_delete_thread): Adjusting call to
	target_mourn_inferior to include ptid_t argument.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Call debug_exit in linux_wait_1
@ 2016-09-26 11:09 sergiodj+buildbot
  2016-09-26 16:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-26 11:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT edeeb6024373d865284903f0b96b9811afde0441 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: edeeb6024373d865284903f0b96b9811afde0441

Call debug_exit in linux_wait_1

When I read the GDBserver debug message, I find the "entering" of
linux_wait_1 doesn't match the "existing" of linux_wait_1.  Looks
we don't call debug_exit somewhere in linux_wait_1 on return.

gdb/gdbserver:

2016-09-26  Yao Qi  <yao.qi@linaro.org>

	* linux-low.c (linux_wait_1): Call debug_exit.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PowerPC .gnu.attributes
@ 2016-09-26 16:58 sergiodj+buildbot
  2016-09-26 18:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-26 16:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 005d79fd6101dae0aaf62a1b0cee399efcbd0e21 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 005d79fd6101dae0aaf62a1b0cee399efcbd0e21

PowerPC .gnu.attributes

This patch extends Tag_GNU_Power_ABI_FP to cover long double ABIs,
makes the assembler warn about undefined tag values, and removes
similar warnings from the linker.  I think it is better to not
warn in the linker about undefined tag values as future extensions to
the tags then won't result in likely bogus warnings.  This is
consistent with the fact that an older linker won't warn on an
entirely new tag.

include/
	* elf/ppc.h (Tag_GNU_Power_ABI_FP): Comment.
bfd/
	* elf-bfd.h (_bfd_elf_ppc_merge_fp_attributes): Declare.
	* elf32-ppc.c (_bfd_elf_ppc_merge_fp_attributes): New function.
	(ppc_elf_merge_obj_attributes): Use it.  Don't copy first file
	attributes, merge them.  Don't warn about undefined tag bits,
	or copy unknown values to output.
	* elf64-ppc.c (ppc64_elf_merge_private_bfd_data): Call
	_bfd_elf_ppc_merge_fp_attributes.
binutils/
	* readelf.c (display_power_gnu_attribute): Catch truncated section
	for all powerpc attributes.  Display long double ABI.  Don't
	capitalize words, except for names.  Show known bits of tag values
	when some unknown bits are present.  Whitespace fixes.
gas/
	* config/tc-ppc.c (ppc_elf_gnu_attribute): New function.
	(md_pseudo_table <ELF>): Handle "gnu_attribute".
ld/
	* testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
	* testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
	* testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
	* testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
	* testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
	* testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
	* testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
	* testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
	* testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
	* testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
	* testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
	* testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
	* testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
	* testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
	* testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
	* testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
	* testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [ARC] ISA alignment.
@ 2016-09-26 19:24 sergiodj+buildbot
  2016-09-27  2:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-26 19:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2b848ebdbb2d1f856c7525ed4d6efaf6fe70de81 ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: 2b848ebdbb2d1f856c7525ed4d6efaf6fe70de81

[ARC] ISA alignment.

include/
2016-09-26  Claudiu Zissulescu  <claziss@synopsys.com>

	* opcode/arc.h (insn_class_t): Add two new classes.

opcodes/
2016-09-26  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-ext-tbl.h (EXTINSN2OPF): Define.
	(EXTINSN2OP): Use EXTINSN2OPF.
	(bspeekm, bspop, modapp): New extension instructions.
	* arc-opc.c (F_DNZ_ND): Define.
	(F_DNZ_D): Likewise.
	(F_SIZEB1): Changed.
	(C_DNZ_D): Define.
	(C_HARD): Changed.
	* arc-tbl.h (dbnz): New instruction.
	(prealloc): Allow it for ARC EM.
	(xbfu): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix the calculation of AMD64_PCRQUAD relocations.
@ 2016-09-26 22:57 sergiodj+buildbot
  2016-09-27  3:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-26 22:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 384f7503344b1d07561f801ced7493858cde6164 ***

Author: Awson <kyrab@mail.ru>
Branch: master
Commit: 384f7503344b1d07561f801ced7493858cde6164

Fix the calculation of AMD64_PCRQUAD relocations.

	PR ld/17955
	* coff-x86_64.c (coff_amd64_rtype_to_howto): Use an 8 byte offset
	for R_AMD64_PCRQUAD relocations.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] When building target binaries, ensure that the warning flags selected for the command line match the target compiler.
@ 2016-09-27  2:10 sergiodj+buildbot
  2016-09-27  5:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-27  2:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c5da193232ea0452f714dffee0d417d965590476 ***

Author: Vlad Zakharov <vzakhar@synopsys.com>
Branch: master
Commit: c5da193232ea0452f714dffee0d417d965590476

When building target binaries, ensure that the warning flags selected for the command line match the target compiler.

bfd	* warning.m4 (AC_EGREP_CPP_FOR_BUILD): Introduce macro
	to verify CC_FOR_BUILD compiler.
	(AM_BINUTILS_WARNINGS): Introduce ac_cpp_for_build variable
	and add CC_FOR_BUILD compiler checks.
	* Makefile.in: Regenerate.
	* configure: Likewise.
	* doc/Makefile.in: Likewise.

binutils	* Makefile.am: Replace AM_CLFAGS with AM_CFLAGS_FOR_BUILD
	when building with CC_FOR_BUILD compiler.
	* Makefile.in: Regenerate.
	* configure: Likewise.
	* doc/Makefile.in: Likewise.

gas	* Makefile.in: Regenerate.
	* configure: Likewise.
	* doc/Makefile.in: Likewise.

gold	* Makefile.in: Regenerate.
	* configure: Likewise.
	* testsuite/Makefile.in: Likewise.

gprof	* Makefile.in: Regenerate.
	* configure: Likewise.

ld	* Makefile.in: Regenerate.
	* configure: Likewise.

opcodes	* Makefile.in: Regenerate.
	* configure: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Detect the magic address of EXC_RETURN in ARM coretx-m profile
@ 2016-09-27 11:34 sergiodj+buildbot
  2016-09-27 15:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-27 11:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ca90e76046d302a730629ecf39b425a8aaa590c2 ***

Author: Fredrik Hederstierna <fredrik.hederstierna@verisure.com>
Branch: master
Commit: ca90e76046d302a730629ecf39b425a8aaa590c2

Detect the magic address of EXC_RETURN in ARM coretx-m profile

On ARMv6-M and ARMv7-M, the exception return address is sort of magic
address defined by the manual.  This patch is to let GDB well handle
these magic addresses.

2016-09-27  Fredrik Hederstierna  <fredrik.hederstierna@verisure.com>

	* arm-tdep.c (arm_m_addr_is_magic): New function.
	(arm_addr_bits_remove): Call arm_m_addr_is_magic.
	(arm_m_exception_unwind_sniffer): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Ensure that the timestamp in PE/COFF headers is always initialised.
@ 2016-09-28  0:56 sergiodj+buildbot
  2016-09-28 11:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-28  0:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1c5f704fc035bc705dee887418f42cb8bca24b5d ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 1c5f704fc035bc705dee887418f42cb8bca24b5d

Ensure that the timestamp in PE/COFF headers is always initialised.

	PR ld/20634
	* peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Put 0 in the
	timestamp field if real time values are not being stored.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add archives and make stamps to the .gitignore file.
@ 2016-09-28 12:00 sergiodj+buildbot
  2016-09-28 22:39 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-28 12:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 07619d52fef6fda58cbc327512a4d8ec60ad5637 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 07619d52fef6fda58cbc327512a4d8ec60ad5637

Add archives and make stamps to the .gitignore file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [ARM] PR ld/20608 Relocation truncated to fit: R_ARM_THM_JUMP24 for relocation to PLT entry
@ 2016-09-28 22:44 sergiodj+buildbot
  2016-09-28 23:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-28 22:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2df2751d1927e1231bbe7d548139da98d6ca9b9a ***

Author: Christophe Lyon <christophe.lyon@linaro.org>
Branch: master
Commit: 2df2751d1927e1231bbe7d548139da98d6ca9b9a

[ARM] PR ld/20608 Relocation truncated to fit: R_ARM_THM_JUMP24 for relocation to PLT entry

2016-09-28  Christophe Lyon  <christophe.lyon@linaro.org>

	PR ld/20608
	bfd/
	* elf32-arm.c (arm_type_of_stub): Handle the case when the pre-PLT
	Thumb-ARM stub is too far.

	ld
	* testsuite/ld-arm/arm-elf.exp: Handle new testcase.
	* testsuite/ld-arm/farcall-mixed-app2.d: New file.
	* testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
	* testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
	* testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix seg-fault in the linker introduced by the previous delta.
@ 2016-09-28 23:53 sergiodj+buildbot
  2016-09-29  6:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-28 23:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9eaff8613893f063400fdae95bc382ab33685e3b ***

Author: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Branch: master
Commit: 9eaff8613893f063400fdae95bc382ab33685e3b

Fix seg-fault in the linker introduced by the previous delta.

	PR ld/20636
	* elf-bfd.h (struct elf_backend_data): Delete
	elf_backend_count_output_relocs callback and add
	elf_backend_update_relocs.
	* elf32-arm.c (elf32_arm_count_output_relocs): Deleted.
	(emit_relocs): Deleted.
	(elf32_arm_emit_relocs): Deleted.
	(elf_backend_emit_relocs): Updated not to use the old functions.
	(elf32_arm_update_relocs): New function.
	(elf_backend_update_relocs): New define.
	* elflink.c (bfd_elf_final_link): Add additional_reloc_count to the
	relocation count. Call elf_backend_emit_relocs.
	(_bfd_elf_size_reloc_section): Do not call
	elf_backend_count_output_relocs.
	* elfxx-target.h (elf_backend_count_output_relocs): Deleted.
	(elf_backend_update_relocs): New define.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix PR 20345 - call_function_by_hand_dummy: Assertion `tp->thread_fsm == &sm->thread_fsm' failed
@ 2016-09-29  6:35 sergiodj+buildbot
  2016-09-29 16:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-29  6:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6d61dee599fb314f0561c3bd0dd17ac0cfa05e35 ***

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

Fix PR 20345 - call_function_by_hand_dummy: Assertion `tp->thread_fsm == &sm->thread_fsm' failed

If you run an infcall from the command line, and immediately after run
some other command, GDB incorrectly processes the other command before
the infcall finishes.

The problem is that the fix for PR gdb/20418 (Problems with
synchronous commands and new-ui, git 3eb7562a983b) moved the
add_file_handler/delete_file_handler calls out of
target_terminal_$foo, and missed adjusting the infcall code.

gdb/ChangeLog:
2016-09-28  Pedro Alves  <palves@redhat.com>

	* infcall.c (run_inferior_call): Remove input from the event
	loop while running the infcall.

gdb/testsuite/ChangeLog:
2016-09-28  Pedro Alves  <palves@redhat.com>

	* gdb.base/infcall-input.c: New file.
	* gdb.base/infcall-input.exp: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Disallow 3-operand cmp[l][i] for ppc64
@ 2016-09-29 17:39 sergiodj+buildbot
  2016-09-29 20:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-29 17:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a5721ba270ddf860e0e5a45bba456214e8eac2be ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: a5721ba270ddf860e0e5a45bba456214e8eac2be

Disallow 3-operand cmp[l][i] for ppc64

cmp[l][o] get an optional L field only when generating 32-bit code.
dcbf, tlbie and tlbiel keep their optional L field, ditto for R field
of tbegin.  cmprb, tsr., wlcr[all] and mtsle all change to a
compulsory L field.

L field of dcbf and wclr is 2 bits.

	PR 20641
include/
	* opcode/ppc.h (PPC_OPERAND_OPTIONAL32): Define.
opcodes/
	* ppc-opc.c (L): Make compulsory.
	(LOPT): New, optional form of L.
	(HTM_R): Define as LOPT.
	(L0, L1): Delete.
	(L32OPT): New, optional for 32-bit L.
	(L2OPT): New, 2-bit L for dcbf.
	(SVC_LEC): Update.
	(L2): Define.
	(insert_l0, extract_l0, insert_l1, extract_l2): Delete.
	(powerpc_opcodes <cmpli, cmpi, cmpl, cmp>): Use L32OPT.
	<dcbf>: Use L2OPT.
	<tlbiel, tlbie>: Use LOPT.
	<wclr, wclrall>: Use L2.
gas/
	* config/tc-ppc.c (md_assemble): Handle PPC_OPERAND_OPTIONAL32.
	* testsuite/gas/ppc/power8.s: Provide tbegin. operand.
	* testsuite/gas/ppc/power9.d: Update cmprb disassembly.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
@ 2016-09-29 21:17 sergiodj+buildbot
  2016-09-30  9:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-29 21:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bb805577d2b212411fb7b0a2d01644567fac4e8d ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: bb805577d2b212411fb7b0a2d01644567fac4e8d

PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression

Regression: gdb --pid $(pidof qemu-system-x86_64) stopped working with gdb 7.11.1
https://sourceware.org/bugzilla/show_bug.cgi?id=20609

It was reported for qemu-system-x86_64 but it happens for any multithreaded
inferior with a JIT debugging hook.

136613ef0c6850427317e57be1b644080ff6decb is the first bad commit
Author: Pedro Alves <palves@redhat.com>
    Fix PR gdb/19828: gdb -p <process from a container>: internal error
Message-ID: <cbdf2e04-4fa8-872a-2a23-08c9c1b26e00@redhat.com>
https://sourceware.org/ml/gdb-patches/2016-05/msg00450.html

jit_breakpoint_re_set() is specific by trying to insert a breakpoint into the
main executable, not into a shared library.  During attachment GDB thinks it
needs to use 'breakpoint always-inserted' from
breakpoints_should_be_inserted_now() as a newly attached thread is
'thread_info->executing' due to 'lwp_info->must_set_ptrace_flags' enabled and
the task not yet stopped.  This did not happen before the 'bad commit' above
which adds tracking of such thread.

GDB then fails to insert the breakpoints to invalid address as PIE executable
gets properly relocated during later phase of attachment.  One can see in the
backtraces below:
 -> jit_breakpoint_re_set_internal()
later:
 -> svr4_exec_displacement()

One can suppress the initial breakpoint_re_set() call as there will be another
breakpoint_re_set() done from the final post_create_inferior() call in
setup_inferior().

BTW additionally 'threads_executing' cache bool is somehow stale (somewhere is
missing update_threads_executing()).  I was trying to deal with that in my
first/second attempt below but in my final third attempt (attached) I have
left it as it is.

First attempt trying not to falsely require 'breakpoint always-inserted':
  https://people.redhat.com/jkratoch/rhbz1375553-fix1.patch
Reduced first attempt:
  https://people.redhat.com/jkratoch/rhbz1375553-fix2.patch

The third attempt suppresses breakpoint insertion until PIE executable gets
relocated by svr4_exec_displacement().  Applied.

gdb/ChangeLog
2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>

	PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
	* exec.c (exec_file_locate_attach): Add parameter defer_bp_reset.
	Use it.
	* gdbcore.h (exec_file_locate_attach): Add parameter defer_bp_reset.
	* infcmd.c (setup_inferior): Update caller.
	* remote.c (remote_add_inferior): Likewise.

gdb/testsuite/ChangeLog
2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>

	PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
	* gdb.base/jit-attach-pie.c: New file.
	* gdb.base/jit-attach-pie.exp: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Update tests to account for the L operand being compulsory.
@ 2016-09-30 10:59 sergiodj+buildbot
  2016-09-30 13:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-30 10:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a4297203ea1a1e4664b6f2b05efecd60f6437f46 ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: a4297203ea1a1e4664b6f2b05efecd60f6437f46

Update tests to account for the L operand being compulsory.

	* gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
	the compulsory L operand changes.
	* gdb.arch/powerpc-power.s: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Make bfd_error_handler_type like vprintf
@ 2016-09-30 14:26 sergiodj+buildbot
  2016-09-30 16:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-30 14:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 52d45da3f275b5d1c8ef2e96a7760585c736133b ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 52d45da3f275b5d1c8ef2e96a7760585c736133b

Make bfd_error_handler_type like vprintf

It was like printf, which means you can't use bfd_set_error_handler to
hook in a function to do something and then call the original handler.

The patch also deletes some unused functions and makes pointers local.

bfd/
	* bfd-in.h: Include stdarg.h.
	* bfd.c (bfd_error_handler_type): Make like vprintf.
	(_bfd_error_internal): Rename from _bfd_error_handler.  Make static.
	(error_handler_internal): New function, split out from..
	(_bfd_default_error_handler): ..here.  Rename to _bfd_error_handler.
	(bfd_set_error_handler): Update.
	(bfd_get_error_handler, bfd_get_assert_handler): Delete.
	(_bfd_assert_handler): Make static.
	* coffgen.c (null_error_handler): Update params.
	* elf-bfd.h (struct elf_backend_data <link_order_error_handler>):
	Don't use bfd_error_handler_type.
	* elf64-mmix.c (mmix_dump_bpo_gregs): Likewise.
	* elfxx-target.h (elf_backend_link_order_error_handler): Default
	to _bfd_error_handler.
	* libbfd-in.h (_bfd_default_error_handler): Don't declare.
	(bfd_assert_handler_type): Likewise.
	(_bfd_error_handler): Update.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
ld/
	* ldlang.c (ignore_bfd_errors): Update params.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove syntactic sugar
@ 2016-09-30 15:11 sergiodj+buildbot
  2016-09-30 17:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-30 15:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4eca02287cf48e60ee89338ddd35f8d0d8257a51 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 4eca02287cf48e60ee89338ddd35f8d0d8257a51

Remove syntactic sugar

Now that _bfd_error_handler is not a function pointer.

	* aout-adobe.c: Replace (*_bfd_error_handler) (...) with
	_bfd_error_handler (...) throughout.
	* aout-cris.c, * aoutx.h, * archive.c, * bfd.c, * binary.c,
	* cache.c, * coff-alpha.c, * coff-arm.c, * coff-h8300.c,
	* coff-i860.c, * coff-mcore.c, * coff-ppc.c, * coff-rs6000.c,
	* coff-sh.c, * coff-tic4x.c, * coff-tic54x.c, * coff-tic80.c,
	* coff64-rs6000.c, * coffcode.h, * coffgen.c, * cofflink.c,
	* coffswap.h, * cpu-arm.c, * cpu-m68k.c, * cpu-sh.c, * dwarf2.c,
	* ecoff.c, * elf-eh-frame.c, * elf-m10300.c, * elf.c, * elf32-arc.c,
	* elf32-arm.c, * elf32-avr.c, * elf32-bfin.c, * elf32-cr16.c,
	* elf32-cris.c, * elf32-crx.c, * elf32-dlx.c, * elf32-frv.c,
	* elf32-hppa.c, * elf32-i370.c, * elf32-i386.c, * elf32-lm32.c,
	* elf32-m32c.c, * elf32-m32r.c, * elf32-m68hc1x.c, * elf32-m68k.c,
	* elf32-mcore.c, * elf32-mep.c, * elf32-metag.c, * elf32-microblaze.c,
	* elf32-mips.c, * elf32-nds32.c, * elf32-nios2.c, * elf32-or1k.c,
	* elf32-pj.c, * elf32-ppc.c, * elf32-rl78.c, * elf32-s390.c,
	* elf32-score.c, * elf32-score7.c, * elf32-sh.c, * elf32-sh64.c,
	* elf32-sparc.c, * elf32-spu.c, * elf32-tic6x.c, * elf32-tilepro.c,
	* elf32-v850.c, * elf32-vax.c, * elf32-xtensa.c, * elf64-alpha.c,
	* elf64-hppa.c, * elf64-ia64-vms.c, * elf64-mips.c, * elf64-mmix.c,
	* elf64-ppc.c, * elf64-s390.c, * elf64-sh64.c, * elf64-sparc.c,
	* elf64-x86-64.c, * elfcode.h, * elfcore.h, * elflink.c,
	* elfn32-mips.c, * elfnn-aarch64.c, * elfnn-ia64.c, * elfxx-mips.c,
	* elfxx-sparc.c, * elfxx-tilegx.c, * hpux-core.c, * i386linux.c,
	* ieee.c, * ihex.c, * libbfd.c, * linker.c, * m68klinux.c,
	* mach-o.c, * merge.c, * mmo.c, * oasys.c, * osf-core.c, * pdp11.c,
	* pe-mips.c, * peXXigen.c, * pef.c, * plugin.c, * reloc.c,
	* rs6000-core.c, * sco5-core.c, * som.c, * sparclinux.c, * srec.c,
	* stabs.c, * syms.c, * vms-alpha.c, * vms-lib.c, * vms-misc.c,
	* xcofflink.c: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] PR target/20553, fix opcode mask for SIMD multiply by element
@ 2016-09-30 17:36 sergiodj+buildbot
  2016-09-30 18:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-09-30 17:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 744ce3025e82a59c13642c57e38febd8ff531f9b ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 744ce3025e82a59c13642c57e38febd8ff531f9b

[AArch64] PR target/20553, fix opcode mask for SIMD multiply by element

opcode/
	PR target/20553
        * aarch64-tbl.h (fmla, fmls, fmul, fmulx): Fix opcode mask field.

gas/
        * testsuite/gas/aarch64/advsimd-fp16.s (indexed_elem): New high index
        testcases for H and S variants.  New low index testcases for D variant.
        * testsuite/gas/aarch64/advsimd-fp16.d: Update expected results.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Emit inferior, thread and frame selection events to all UIs
@ 2016-10-03 21:15 sergiodj+buildbot
  2016-10-03 22:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-03 21:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4034d0ff52b0f346efedd2d335ccbc672466da45 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 4034d0ff52b0f346efedd2d335ccbc672466da45

Emit inferior, thread and frame selection events to all UIs

With this patch, when an inferior, thread or frame is explicitly
selected by the user, notifications will appear on all CLI and MI UIs.
When a GDB console is integrated in a front-end, this allows the
front-end to follow a selection made by the user ont he CLI, and it
informs the user about selection changes made behind the scenes by the
front-end.

This patch addresses PR gdb/20487.

In order to communicate frame changes to the front-end, this patch adds
a new field to the =thread-selected event for the selected frame.  The
idea is that since inferior/thread/frame can be seen as a composition,
it makes sense to send them together in the same event.  The vision
would be to eventually send the inferior information as well, if we find
that it's needed, although the "=thread-selected" event would be
ill-named for that job.

Front-ends need to handle this new field if they want to follow the
frame selection changes that originate from the console.  The format of
the frame attribute is the same as what is found in the *stopped events.

Here's a detailed example for each command and the events they generate:

thread
------

1. CLI command:

     thread 1.3

   MI event:

     =thread-selected,id="3",frame={...}

2. MI command:

     -thread-select 3

   CLI event:

     [Switching to thread 1.3 ...]

3. MI command (CLI-in-MI):

     thread 1.3

   MI event/reply:

     &"thread 1.3\n"
     ~"#0  child_sub_function () ...
     =thread-selected,id="3",frame={level="0",...}
     ^done

frame
-----

1. CLI command:

     frame 1

   MI event:

     =thread-selected,id="3",frame={level="1",...}

2. MI command:

     -stack-select-frame 1

   CLI event:

     #1  0x00000000004007f0 in child_function...

3. MI command (CLI-in-MI):

     frame 1

   MI event/reply:

     &"frame 1\n"
     ~"#1  0x00000000004007f9 in ..."
     =thread-selected,id="3",frame={level="1"...}
     ^done

inferior
--------

Inferior selection events only go from the console to MI, since there's
no way to select the inferior in pure MI.

1. CLI command:

     inferior 2

   MI event:

     =thread-selected,id="3"

Note that if the user selects an inferior that is not started or exited,
the MI doesn't receive a notification.  Since there is no threads to
select, the =thread-selected event does not apply...

2. MI command (CLI-in-MI):

     inferior 2

   MI event/reply:

     &"inferior 2\n"
     ~"[Switching to inferior 2 ...]"
     =thread-selected,id="4",frame={level="0"...}
     ^done

Internal implementation detail: this patch makes it possible to suppress
notifications caused by a CLI command, like what is done in mi-interp.c.
This means that it's now possible to use the
add_com_suppress_notification function to register a command with some
event suppressed.  It is used to implement the select-frame command in
this patch.

The function command_notifies_uscc_observer was added to extract
the rather complicated logical expression from the if statement.  It is
also now clearer what that logic does: if the command used by the user
already notifies the user_selected_context_changed observer, there is
not need to notify it again.  It therefore protects again emitting the
event twice.

No regressions, tested on ubuntu 14.04 x86 with target boards unix and
native-extended-gdbserver.

gdb/ChangeLog:

YYYY-MM-DD  Antoine Tremblay  <antoine.tremblay@ericsson.com>
YYYY-MM-DD  Simon Marchi  <simon.marchi@ericsson.com>

	PR gdb/20487
	* NEWS: Mention new frame field of =thread-selected event.
	* cli/cli-decode.c (add_cmd): Initialize c->suppress_notification.
	(add_com_suppress_notification): New function definition.
	(cmd_func): Set and restore the suppress_notification flag.
	* cli/cli-deicode.h (struct cmd_list_element)
	<suppress_notification>: New field.
	* cli/cli-interp.c (cli_suppress_notification): New global variable.
	(cli_on_user_selected_context_changed): New function.
	(_initialize_cli_interp): Attach to user_selected_context_changed
	observer.
	* command.h (struct cli_suppress_notification): New structure.
	(cli_suppress_notification): New global variable declaration.
	(add_com_suppress_notification): New function declaration.
	* defs.h (enum user_selected_what_flag): New enum.
	(user_selected_what): New enum flag type.
	* frame.h (print_stack_frame_to_uiout): New function declaration.
	* gdbthread.h (print_selected_thread_frame): New function declaration.
	* inferior.c (print_selected_inferior): New function definition.
	(inferior_command): Remove printing of inferior/thread/frame switch
	notifications, notify user_selected_context_changed observer.
	* inferior.h (print_selected_inferior): New function declaration.
	* mi/mi-cmds.c (struct mi_cmd): Add user_selected_context
	suppression to stack-select-frame and thread-select commands.
	* mi/mi-interp.c (struct mi_suppress_notification)
	<user_selected_context>: Initialize.
	(mi_user_selected_context_changed): New function definition.
	(_initialize_mi_interp): Attach to user_selected_context_changed.
	* mi/mi-main.c (mi_cmd_thread_select): Print thread selection reply.
	(mi_execute_command): Handle notification suppression.  Notify
	user_selected_context_changed observer on thread change instead of printing
	event directly.  Don't send it if command already sends the notification.
	(command_notifies_uscc_observer): New function.
	(mi_cmd_execute): Don't handle notification suppression.
	* mi/mi-main.h (struct mi_suppress_notification)
	<user_selected_context>: New field.
	* stack.c (print_stack_frame_to_uiout): New function definition.
	(select_frame_command): Notify user_selected_context_changed
	observer.
	(frame_command): Call print_selected_thread_frame if there's no frame
	change or notify user_selected_context_changed observer if there is.
	(up_command): Notify user_selected_context_changed observer.
	(down_command): Likewise.
	(_initialize_stack): Suppress user_selected_context notification for
	command select-frame.
	* thread.c (thread_command): Notify
	user_selected_context_changed if the thread has changed, print
	thread info directly if it hasn't.
	(do_captured_thread_select): Do not print thread switch event.
	(print_selected_thread_frame): New function definition.
	* tui/tui-interp.c (tui_on_user_selected_context_changed):
	New function definition.
	(_initialize_tui_interp): Attach to user_selected_context_changed
	observer.

gdb/doc/ChangeLog:

	PR gdb/20487
	* gdb.texinfo (Context management): Update mention of frame
	change notifications.
	(gdb/mi Async Records): Document frame field in
	=thread-select event.
	* observer.texi (GDB Observers): New user_selected_context_changed
	observer.

gdb/testsuite/ChangeLog:

	PR gdb/20487
	* gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
	=thread-select-event check.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add test for user context selection sync
@ 2016-10-03 22:01 sergiodj+buildbot
  2016-10-04  1:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-03 22:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9c36d9544f0987cbd840a19552af3343252d28a0 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 9c36d9544f0987cbd840a19552af3343252d28a0

Add test for user context selection sync

This patch adds a test to verify that events are sent properly to all
UIs when the user selection context (inferior, thread, frame) changes.

The goal of the C test file is to provide two threads that are stopped with the
same predictable backtrace (so that we can test frame switching).  The barrier
helps us know when the child threads are started.  Then, scheduler-locking is
used to bring each thread one by one to the position we expect them to be
during the test.

gdb/testsuite/ChangeLog:

YYYY-MM-DD  Antoine Tremblay  <antoine.tremblay@ericsson.com>
YYYY-MM-DD  Simon Marchi  <simon.marchi@ericsson.com>

	PR gdb/20487
	* gdb.mi/user-selected-context-sync.exp: New file.
	* gdb.mi/user-selected-context-sync.c: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Clean up the XML files for ARM
@ 2016-10-05  8:44 sergiodj+buildbot
  2016-10-05 10:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-05  8:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a69eedb6d7c1c90ec7888a857c4d7c0a1fd1b31 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 0a69eedb6d7c1c90ec7888a857c4d7c0a1fd1b31

Clean up the XML files for ARM

This patch is move features/arm-*.xml to features/arm/, and it is based
on Terry's patch posted here
https://sourceware.org/ml/gdb-patches/2014-06/msg00794.html

One comment to Terry's patch is about losing "arm" prefix, and the new
patch fixes this problem.

gdb:

2016-10-05  Terry Guo  <terry.guo@arm.com>
	    Yao Qi  <yao.qi@linaro.org>

	* arm-tdep.c: Adjust includes.
	* features/Makefile (WHICH): Add "arm/" directory to arm
	target descriptions.
	(XMLTOC): Likewise.
	(arm/arm-with-iwmmxt.dat): Adjust the path for
	dependencies.
	* features/arm-core.xml: Moved to ...
	* features/arm/arm-core.xml: ... it.
	* features/arm-fpa.xml: Moved to ...
	* features/arm/arm-fpa.xml: ... it.
	* features/arm-m-profile.xml: Moved to ...
	* features/arm/arm-m-profile.xm: ... it.
	* features/arm-vfpv2.xml: Moved to ...
	* features/arm/arm-vfpv2.xm: ... it.
	* features/arm-vfpv3.xml: Moved to ...
	* features/arm/arm-vfpv3.xml: ... it.
	* features/arm-with-iwmmxt.c: Moved to ...
	* features/arm/arm-with-iwmmxt.c: ... it.
	* features/arm-with-iwmmxt.xml: Moved to ...
	* features/arm/arm-with-iwmmxt.xml: ... it.
	* features/arm-with-m-fpa-layout.c: Moved to ...
	* features/arm/arm-with-m-fpa-layout.c: ... it.
	* features/arm-with-m-fpa-layout.xml: Moved to ...
	* features/arm/arm-with-m-fpa-layout.xml: ... it.
	* features/arm-with-m-vfp-d16.c: Moved to ...
	* features/arm/arm-with-m-vfp-d16.c: ... it.
	* features/arm-with-m-vfp-d16.xml: Moved to ...
	* features/arm/arm-with-m-vfp-d16.xml: ... it.
	* features/arm-with-m.c: Moved to ...
	* features/arm/arm-with-m.c: ... it.
	* features/arm-with-m.xml: Moved to ...
	* features/arm/arm-with-m.xm: ... it.
	* features/arm-with-neon.c: Moved to ...
	* features/arm/arm-with-neon.c: ... it.
	* features/arm-with-neon.xml: Moved to ...
	* features/arm/arm-with-neon.xml: ... it.
	* features/arm-with-vfpv2.c: Moved to ...
	* features/arm/arm-with-vfpv2.c: ... it.
	* features/arm-with-vfpv2.xml: Moved to ...
	* features/arm/arm-with-vfpv2.xml: ... it.
	* features/arm-with-vfpv3.c: Moved to ...
	* features/arm/arm-with-vfpv3.c: ... it.
	* features/arm-with-vfpv3.xml: Moved to ...
	* features/arm/arm-with-vfpv3.xml: ... it.
	* features/xscale-iwmmxt.xml: Moved to ...
	* features/arm/xscale-iwmmxt.xml: ... it.

gdb/gdbserver:

2016-10-05  Terry Guo  <terry.guo@arm.com>
	    Yao Qi  <yao.qi@linaro.org>

	* Makefile.in: Adjust the path of rules.
	* configure.srv: Update the path of xml files.
	* regformats/arm-with-iwmmxt.dat: Regenerated.
	* regformats/arm-with-neon.dat: Likewise.
	* regformats/arm-with-vfpv2.dat: Likewise.
	* regformats/arm-with-vfpv3.dat Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Simplify i386, amd64 and x32 expedite registers
@ 2016-10-05  9:01 sergiodj+buildbot
  2016-10-05 12:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-05  9:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 414c838a722efedb0f787b64629db13d88c9ef7c ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 414c838a722efedb0f787b64629db13d88c9ef7c

Simplify i386, amd64 and x32 expedite registers

Nowadays, there are a lot of duplication about
i386/{i386, amd64, x32}*-expedite in features/Makefile.  However,
in features/Makefile, we have

 echo "expedite:$(if $($*-expedite),$($*-expedite),$($(firstword $(subst -, ,$(notdir $*)))-expedite))" \
	  >> $(outdir)/$*.tmp

which means for a given bar/foo-baz.xml, we'll look for either
bar/foo-baz-expedite or foo-expedite.  In x86 expedite registers, we
use the former now, but it will be much simpler if we use the latter.
This is what this patch does.  This patch removes them, and defines
three generic expedite.  Re-run 'make GDB=/path/build/gdb all' to
regenerate regformats/*.dat files, and they are not changed.

gdb:

2016-10-05  Yao Qi  <yao.qi@linaro.org>

	* features/Makefile: Remove i386/*-expedite. Add i386-expedite,
	amd64-expedite, and x32-expedite.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Generate s390 target description c files
@ 2016-10-05  9:18 sergiodj+buildbot
  2016-10-05 15:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-05  9:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT defaaad59909ead1722f978463fc2e4bdeb0629c ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: defaaad59909ead1722f978463fc2e4bdeb0629c

Generate s390 target description c files

If I delete all target description c files under features/ directory,
and run make GDB=/scratch/yao/gdb/build-git/all-targets/gdb/gdb cfiles,
some s390 target description c files are not generated.

This patch adds these s390 xml files to XMLTOC, so these c files can
be generated.

gdb:

2016-10-05  Yao Qi  <yao.qi@linaro.org>

	* features/Makefile (XMLTOC): Add s390-tevx-linux64.xml,
	s390-vx-linux64.xml, s390x-tevx-linux64.xml and
	s390x-vx-linux64.xml.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Regenerate some regformats/rs6000/*.dat files
@ 2016-10-05  9:34 sergiodj+buildbot
  2016-10-05 17:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-05  9:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5878efd48016e091cb19dc09345cd7f73d791c6f ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 5878efd48016e091cb19dc09345cd7f73d791c6f

Regenerate some regformats/rs6000/*.dat files

If I remove all regformats/*.dat files and run
make GDB=/scratch/yao/gdb/build-git/all-targets/gdb/gdb all, some
powerpc .dat files are not generated.

This patch fixes it by adding them to WHICH, so these .dat files can
be generated.

gdb:

2016-10-05  Yao Qi  <yao.qi@linaro.org>

	* features/Makefile (WHICH): Add
	rs6000/powerpc-isa205-32l, rs6000/powerpc-isa205-64l,
	rs6000/powerpc-isa205-altivec32l, rs6000/powerpc-isa205-altivec64l,
	rs6000/powerpc-isa205-vsx32l and rs6000/powerpc-isa205-vsx64l.
	* regformats/rs6000/powerpc-isa205-32l.dat: Regenerated.
	* regformats/rs6000/powerpc-isa205-64l.dat: Likewise.
	* regformats/rs6000/powerpc-isa205-altivec32l.dat: Likewise.
	* regformats/rs6000/powerpc-isa205-altivec64l.dat: Likewise.
	* regformats/rs6000/powerpc-isa205-vsx32l.dat: Likewise.
	* regformats/rs6000/powerpc-isa205-vsx64l.dat: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Update the path arm-*.xml files for aarch64
@ 2016-10-05 11:11 sergiodj+buildbot
  2016-10-05 19:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-05 11:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c1d0b70ae517512a77eed778c6dd7d8a941962fc ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: c1d0b70ae517512a77eed778c6dd7d8a941962fc

Update the path arm-*.xml files for aarch64

0a69eedb (Clean up the XML files for ARM) breaks the GDBserver build
on aarch64 because some arm-*.xml files can't be found.

This patch is to fix the build failure.

gdb/gdbserver:

2016-10-05  Yao Qi  <yao.qi@linaro.org>

	* configure.srv: Update the path of arm-*.xml files.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Allow DW_OP_GNU_uninit in dwarf_expr_require_composition
@ 2016-10-05 13:07 sergiodj+buildbot
  2016-10-06  0:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-05 13:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f206f69cb43e420f92a63464036b342386963261 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: f206f69cb43e420f92a63464036b342386963261

Allow DW_OP_GNU_uninit in dwarf_expr_require_composition

In DWARF expression handling, some operators are required to be either
at the end of an expression or followed by a composition operator.  So
far only the operators DW_OP_reg0-31 were allowed to be followed by
DW_OP_GNU_uninit instead, and particularly DW_OP_regx was not, which is
obviously inconsistent.

This patch allows DW_OP_GNU_uninit after all operators requiring a
composition, to simplify the code and make it more consistent.  This
policy may be more permissive than necessary, but in the worst case just
leads to a DWARF location description resulting in an uninitialized
value instead of an error message.

gdb/ChangeLog:

	* dwarf2expr.c (dwarf_expr_require_composition): Allow
	DW_OP_GNU_uninit.
	(execute_stack_op): Use dwarf_expr_require_composition instead of
	copying its logic.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] arc: Remove annoying debug message
@ 2016-10-05 14:41 sergiodj+buildbot
  2016-10-05 22:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-05 14:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ed2f09e183df513e9616c53cdace32cf8b824b98 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: ed2f09e183df513e9616c53cdace32cf8b824b98

arc: Remove annoying debug message

The logging message is called too often - once for each register when it's
value has to be evaluated. This floods the screen for commands like "info
register all", but doesn't give really any help at debugging GDB issues.
Between increasing the debug level of this message and removing it altogether I
think that removing it is preferable.

gdb/ChangeLog:

	arc-tdep.c (arc_frame_prev_register): Remove annoying log message.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Skip complex types tests if gdb_skip_float_test
@ 2016-10-05 16:25 sergiodj+buildbot
  2016-10-06  2:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-05 16:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fdebf1a415f565fc4606f9139d10d1e9393999c0 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: fdebf1a415f565fc4606f9139d10d1e9393999c0

Skip complex types tests if gdb_skip_float_test

If the target doesn't support float, we don't run float complex types
tests.

gdb/testsuite:

2016-10-05  Yao Qi  <yao.qi@linaro.org>

	* lib/gdb.exp (support_complex_tests): Return zero if
	gdb_skip_float_test return true.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR symtab/20652 - fix psymbol_compare
@ 2016-10-05 17:49 sergiodj+buildbot
  2016-10-06  4:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-05 17:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3e611445bf05fa20e0befa41afa42651d1983734 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 3e611445bf05fa20e0befa41afa42651d1983734

PR symtab/20652 - fix psymbol_compare

This fixes an oversight in psymbol_compare.

2016-10-05  Tom Tromey  <tom@tromey.com>

	PR symtab/20652:
	* psymtab.c (psymbol_compare): Correctly compare "ginfo.value"
	fields.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR gdb/20653 - small cleanup in string_to_explicit_location
@ 2016-10-05 17:55 sergiodj+buildbot
  2016-10-06  6:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-05 17:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e742d386c480efa5229bc8b1887a7718f840a457 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: e742d386c480efa5229bc8b1887a7718f840a457

PR gdb/20653 - small cleanup in string_to_explicit_location

This bug points out that string_to_explicit_location compares a char*
against '\0'; whereas comparing against NULL is more normal.

2016-10-05  Tom Tromey  <tom@tromey.com>

	PR breakpoints/20653:
	* location.c (string_to_explicit_location): Use NULL, not '\0'.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR remote/20655 - small fix in handle_tracepoint_bkpts
@ 2016-10-05 19:49 sergiodj+buildbot
  2016-10-06  9:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-05 19:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 39b5a3b9b3aadac723de719f3c27f8462ed49af7 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 39b5a3b9b3aadac723de719f3c27f8462ed49af7

PR remote/20655 - small fix in handle_tracepoint_bkpts

handle_tracepoint_bkpts has two parallel "if"s.  This changes the
second one to check ipa_error_tracepoint, which seems to be what was
intended.

2016-10-05  Tom Tromey  <tom@tromey.com>

	PR remote/20655:
	* tracepoint.c (handle_tracepoint_bkpts): Check
	ipa_error_tracepoint, not ipa_stopping_tracepoint.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] testsuite: Fix recent GCC FAIL: gdb.arch/i386-signal.exp
@ 2016-10-05 20:50 sergiodj+buildbot
  2016-10-06 11:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-05 20:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f389f6fef76d7cf8e8beb7061edff2155c284898 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: f389f6fef76d7cf8e8beb7061edff2155c284898

testsuite: Fix recent GCC FAIL: gdb.arch/i386-signal.exp

gcc-6.2.1-2.fc24.x86_64

(gdb) backtrace 10^M
(gdb) FAIL: gdb.arch/i386-signal.exp: backtrace 10

(gdb) disas/s
Dump of assembler code for function main:
.../gdb/testsuite/gdb.arch/i386-signal.c:
30      {
   0x000000000040057f <+0>:     push   %rbp
   0x0000000000400580 <+1>:     mov    %rsp,%rbp
31        setup ();
   0x0000000000400583 <+4>:     callq  0x400590 <setup>
=> 0x0000000000400588 <+9>:     mov    $0x0,%eax
32      }
   0x000000000040058d <+14>:    pop    %rbp
   0x000000000040058e <+15>:    retq
End of assembler dump.

The .exp patch is an obvious typo fix I think.  The regex was written to
accept "ADDR in main" and I find it OK as checking .debug_line validity is not
the purpose of this testfile.

gcc-4.8.5-11.el7.x86_64 did not put the 'mov $0x0,%eax' instruction there at
all so there was no problem with .debug_line.

gdb/testsuite/ChangeLog
2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Don't use boolean OR in arithmetic expressions
@ 2016-10-06  0:04 sergiodj+buildbot
  2016-10-06 13:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-06  0:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 616ec3583b7b6ba0a4e581c426b700b0664a3027 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 616ec3583b7b6ba0a4e581c426b700b0664a3027

Don't use boolean OR in arithmetic expressions

bfd/
	* elf32-epiphany.c (epiphany_final_link_relocate): Use bitwise
	OR in arithmetic expression, not boolean OR.
opcodes/
	* cr16-dis.c (print_insn_cr16): Don't use boolean OR in arithmetic.
	* crx-dis.c (print_insn_crx): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] -Wimplicit-fallthrough error fixes
@ 2016-10-06  0:52 sergiodj+buildbot
  2016-10-06 16:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-06  0:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2b804145796e948fa4c025c07eb201e700281e6b ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 2b804145796e948fa4c025c07eb201e700281e6b

-Wimplicit-fallthrough error fixes

Well, not all are errors, but a little more substantive than just
fiddling with comments.

bfd/
	* coffcode.h (coff_slurp_symbol_table): Revert accidental commit
	made 2015-01-08.
	* elf32-nds32.c (nds32_elf_grok_psinfo): Add missing break.
	* reloc.c (bfd_default_reloc_type_lookup): Add missing breaks.
opcodes/
	* arc-ext.c (create_map): Add missing break.
	* msp430-decode.opc (encode_as): Likewise.
	* msp430-decode.c: Regenerate.
binutils/
	* coffdump.c (dump_coff_where): Add missing break.
	* stabs.c (stab_xcoff_builtin_type): Likewise.
gas/
	* config/tc-arc.c (find_opcode_match): Add missing break.
	* config/tc-i960.c (get_cdisp): Likewise.
	* config/tc-metag.c (parse_swap, md_apply_fix): Likewise.
	* config/tc-mt.c (md_parse_option): Likewise.
	* config/tc-nds32.c (nds32_apply_fix): Likewise.
	* config/tc-hppa.c (pa_ip): Assert rather than testing last
	condition of multiple if statements.
	* config/tc-s390.c (s390_exp_compare): Return 0 on error.
	* config/tc-tic4x.c (tic4x_operand_parse): Add as_bad and break
	out of case rather than falling into next case.  Formatting.
ld/
	* plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
	by adding return.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] -Wimplicit-fallthrough warning fixes
@ 2016-10-06  1:07 sergiodj+buildbot
  2016-10-06 18:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-06  1:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a0670f37442b7ae904932b347353046126b990c ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 1a0670f37442b7ae904932b347353046126b990c

-Wimplicit-fallthrough warning fixes

Comment changes.

bfd/
	* coff-h8300.c: Spell fall through comments consistently.
	* coffgen.c: Likewise.
	* elf32-hppa.c: Likewise.
	* elf32-ppc.c: Likewise.
	* elf32-score.c: Likewise.
	* elf32-score7.c: Likewise.
	* elf64-ppc.c: Likewise.
	* elfxx-aarch64.c: Likewise.
	* elfxx-mips.c: Likewise.
	* cpu-ns32k.c: Add missing fall through comments.
	* elf-m10300.c: Likewise.
	* elf32-arm.c: Likewise.
	* elf32-avr.c: Likewise.
	* elf32-bfin.c: Likewise.
	* elf32-frv.c: Likewise.
	* elf32-i386.c: Likewise.
	* elf32-microblaze.c: Likewise.
	* elf32-nds32.c: Likewise.
	* elf32-ppc.c: Likewise.
	* elf32-rl78.c: Likewise.
	* elf32-rx.c: Likewise.
	* elf32-s390.c: Likewise.
	* elf32-sh.c: Likewise.
	* elf32-tic6x.c: Likewise.
	* elf64-ia64-vms.c: Likewise.
	* elf64-ppc.c: Likewise.
	* elf64-s390.c: Likewise.
	* elf64-x86-64.c: Likewise.
	* elflink.c: Likewise.
	* elfnn-aarch64.c: Likewise.
	* elfnn-ia64.c: Likewise.
	* ieee.c: Likewise.
	* oasys.c: Likewise.
	* pdp11.c: Likewise.
	* srec.c: Likewise.
	* versados.c: Likewise.
opcodes/
	* aarch64-opc.c: Spell fall through comments consistently.
	* i386-dis.c: Likewise.
	* aarch64-dis.c: Add missing fall through comments.
	* aarch64-opc.c: Likewise.
	* arc-dis.c: Likewise.
	* arm-dis.c: Likewise.
	* i386-dis.c: Likewise.
	* m68k-dis.c: Likewise.
	* mep-asm.c: Likewise.
	* ns32k-dis.c: Likewise.
	* sh-dis.c: Likewise.
	* tic4x-dis.c: Likewise.
	* tic6x-dis.c: Likewise.
	* vax-dis.c: Likewise.
binutils/
	* dlltool.c: Spell fall through comments consistently.
	* objcopy.c: Likewise.
	* readelf.c: Likewise.
	* dwarf.c: Add missing fall through comments.
	* elfcomm.c: Likewise.
	* sysinfo.y: Likewise.
	* readelf.c: Likewise.  Also remove extraneous comments.
gas/
	* app.c: Add missing fall through comments.
	* dw2gencfi.c: Likewise.
	* expr.c: Likewise.
	* config/tc-alpha.c: Likewise.
	* config/tc-arc.c: Likewise.
	* config/tc-arm.c: Likewise.
	* config/tc-cr16.c: Likewise.
	* config/tc-crx.c: Likewise.
	* config/tc-dlx.c: Likewise.
	* config/tc-h8300.c: Likewise.
	* config/tc-hppa.c: Likewise.
	* config/tc-i370.c: Likewise.
	* config/tc-i386.c: Likewise.
	* config/tc-i960.c: Likewise.
	* config/tc-ia64.c: Likewise.
	* config/tc-m68hc11.c: Likewise.
	* config/tc-m68k.c: Likewise.
	* config/tc-mep.c: Likewise.
	* config/tc-metag.c: Likewise.
	* config/tc-microblaze.c: Likewise.
	* config/tc-mips.c: Likewise.
	* config/tc-ns32k.c: Likewise.
	* config/tc-rx.c: Likewise.
	* config/tc-score.c: Likewise.
	* config/tc-score7.c: Likewise.
	* config/tc-sh.c: Likewise.
	* config/tc-tic4x.c: Likewise.
	* config/tc-vax.c: Likewise.
	* config/tc-xstormy16.c: Likewise.
	* config/tc-z80.c: Likewise.
	* config/tc-z8k.c: Likewise.
	* config/obj-elf.c: Likewise.
	* config/tc-i386.c: Likewise.
	* depend.c: Spell fall through comments consistently.
	* config/tc-arm.c: Likewise.
	* config/tc-d10v.c: Likewise.
	* config/tc-i960.c: Likewise.
	* config/tc-ia64.c: Likewise.
	* config/tc-m68k.c: Likewise.
	* config/tc-mcore.c: Likewise.
	* config/tc-mep.c: Likewise.
	* config/tc-ns32k.c: Likewise.
	* config/tc-visium.c: Likewise.
	* config/tc-xstormy16.c: Likewise.
	* config/tc-z8k.c: Likewise.
gprof/
	* gprof.c: Add missing fall through comments.
ld/
	* lexsup.c: Spell fall through comments consistently and add
	missing fall through comments.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Make "end" field in feature specs required again.
@ 2016-10-06 11:32 sergiodj+buildbot
  2016-10-06 20:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 11:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ee8da4b8396d9a74d27cb9bb0f3aa43d6d23b8ea ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: ee8da4b8396d9a74d27cb9bb0f3aa43d6d23b8ea

Make "end" field in feature specs required again.

Newer gdbservers may be talking to older gdbs,
and older gdbs will flag a missing "end" as an error.
So just make "end" required again, and for compatibility
change the default field type to "bool".

gdb/ChangeLog:
2016-10-06  Doug Evans  <dje@google.com>

	* features/aarch64-core.xml (cpsr_flags): Elide "type" and specify
	"end" in all fields.
	* features/aarch64.c: Regenerate.
	* features/i386/32bit-mpx.xml (_bndcfgu): Specify type of "preserved"
	and "enabled" fields. Correct size of "enabled" field.
	* features/i386/64bit-mpx.xml (_bndcfgu): Specify type of "preserved"
	and "enabled" fields.
	* features/i386/i386-avx-mpx-linux.c: Regenerate.
	* features/i386/i386-avx-mpx.c: Regenerate.
	* features/i386/i386-avx512-linux.c: Regenerate.
	* features/i386/i386-avx512.c: Regenerate.
	* features/i386/i386-mpx-linux.c: Regenerate.
	* features/i386/i386-mpx.c: Regenerate.
	* features/arc-arcompact.c: Regenerate.
	* features/arc-v2.c: Regenerate.
	* xml-tdesc.c (tdesc_start_field): Require "end" spec.  Single bit
	fields default to "bool" type.

	Revert 2016-03-15  Doug Evans  <dje@google.com>
	* features/i386/32bit-core.xml (i386_eflags): Remove "end" spec.
	* features/i386/32bit-sse.xml (i386_eflags): Ditto.
	* features/i386/64bit-core.xml (i386_eflags): Ditto.
	* features/i386/64bit-sse.xml (i386_eflags): Ditto.
	* features/i386/x32-core.xml (i386_eflags): Ditto.

gdb/doc/ChangeLog:
2016-10-06  Doug Evans  <dje@google.com>

	* gdb.texinfo (Target Description Format): Update docs on "end"
	field spec and field default type.

gdb/testsuite/ChangeLog:
2016-10-06  Doug Evans  <dje@google.com>

	* gdb.xml/extra-regs.xml: Update, end field now required, default type
	for single bitfields is bool.
	* gdb.xml/tdesc-regs.exp: Ditto.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix a few gdb.base/jit-simple.exp problems
@ 2016-10-06 12:17 sergiodj+buildbot
  2016-10-06 22:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 12:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5a122fbc307f35093b8fe038a8e6caa51b4d0dae ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5a122fbc307f35093b8fe038a8e6caa51b4d0dae

Fix a few gdb.base/jit-simple.exp problems

I noticed that we sometimes get this:

  (gdb) print &__jit_debug_descriptor
  $1 = (struct jit_descriptor *) 0x601040 <__jit_debug_descriptor>
  (gdb) PASS: gdb.base/jit-simple.exp: blah 1
  [...]
  (gdb) run
  [...]
  Starting program: build/gdb/testsuite/outputs/gdb.base/jit-simple/jit-simple
  Unsupported JIT protocol version 4 in descriptor (expected 1)

  Breakpoint 2, main () at src/gdb/testsuite/gdb.base/jit-simple.c:36
  36        return 0;
  (gdb) print &__jit_debug_descriptor
  $2 = (struct jit_descriptor *) 0x601040 <__jit_debug_descriptor>
  (gdb) PASS: gdb.base/jit-simple.exp: blah 1

All tests PASSed, but note the "Unsupported JIT protocol version 4"
message.

Also notice that "__jit_debug_descriptor" has the same address before
and after the rerun, while the test is built in a way that should make
that address change between runs.

The test doesn't catch any of this because it doesn't compare
before/after addresses.

And then notice the "blah 1" test messages.  "blah" is clearly a WIP
message, but it should be at least "blah 2" the second time.  :-)

The reason this sometimes happens is that the test recompiles the
program and expects gdb to reload it automaticallyt on "run".  However,
if the original program and the new recompilation happen to be in the
same second, then gdb does not realize that the binary needs to be
reloaded.  (This is an old problem out of scope of this series.)  If
that happens, then GDB ends up using the wrong symbols for the program
that it spawns, reads the JIT descriptor out of the wrong address,
finds garbage, and prints that "unsupported version" notice.

Fix that in the same way gdb.base/reread.exp handles it -- by sleeping
one second before recompiling.

gdb/testsuite/ChangeLog:
2016-10-06  Pedro Alves  <palves@redhat.com>

	* gdb.base/jit-simple.exp (top level) Delete get_compiler_info
	call.
	(jit_run): Delete.
	(jit_test_reread): Use with_test_prefix.  Reload the main binary
	explicitly.  Compare the before/after addresses of the JIT
	descriptor.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix PR11094: JIT breakpoint is not properly recreated on reruns
@ 2016-10-06 13:14 sergiodj+buildbot
  2016-10-07  1:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 13:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4a556533cf0256613c412b9627fa8b8edfa7674a ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 4a556533cf0256613c412b9627fa8b8edfa7674a

Fix PR11094: JIT breakpoint is not properly recreated on reruns

Even though this was supposedly in the gdb 7.2 timeframe, the testcase
in PR11094 crashes current GDB with a segfault:

  Program received signal SIGSEGV, Segmentation fault.
  0x00000000005ee894 in event_location_to_string (location=0x0) at
  src/gdb/location.c:412
  412       if (EL_STRING (location) == NULL)
  (top-gdb) bt
  #0  0x00000000005ee894 in event_location_to_string (location=0x0) at
  src/gdb/location.c:412
  #1  0x000000000057411a in print_breakpoint_location (b=0x18288e0, loc=0x0) at
  src/gdb/breakpoint.c:6201
  #2  0x000000000057483f in print_one_breakpoint_location (b=0x18288e0,
  loc=0x182cf10, loc_number=0, last_loc=0x7fffffffd258, allflag=1)
      at src/gdb/breakpoint.c:6473
  #3  0x00000000005751e1 in print_one_breakpoint (b=0x18288e0,
  last_loc=0x7fffffffd258, allflag=1) at
  src/gdb/breakpoint.c:6707
  #4  0x000000000057589c in breakpoint_1 (args=0x0, allflag=1, filter=0x0) at
  src/gdb/breakpoint.c:6947
  #5  0x0000000000575aa8 in maintenance_info_breakpoints (args=0x0, from_tty=0)
  at src/gdb/breakpoint.c:7026
  [...]

This is GDB trying to print the location spec of the JIT event
breakpoint, but that's an internal breakpoint without one.

If I add a NULL check, then we see that the JIT breakpoint is now
pending (because its location has shlib_disabled set):

  (gdb) maint info breakpoints
  Num     Type           Disp Enb Address            What
  [...]
  -8      jit events     keep y   <PENDING>           inf 1
  [...]

But that's incorrect.  GDB should have managed to recreate the JIT
breakpoint's location for the second run.  So the problem is
elsewhere.

The problem is that if the JIT loads at the same address on the second
run, we never recreate the JIT breakpoint, because we hit this early
return:

  static int
  jit_breakpoint_re_set_internal (struct gdbarch *gdbarch,
				  struct jit_program_space_data *ps_data)
  {
    [...]
    if (ps_data->cached_code_address == addr)
      return 0;

    [...]
      delete_breakpoint (ps_data->jit_breakpoint);
    [...]
    ps_data->jit_breakpoint = create_jit_event_breakpoint (gdbarch, addr);

Fix this by deleting the breakpoint and discarding the cached code
address when the objfile where the previous JIT breakpoint was found
is deleted/unloaded in the first place.

The test that was originally added for PR11094 doesn't trip on this
because:

  #1 - It doesn't test the case of the JIT descriptor's address _not_
       changing between reruns.

  #2 - And then it doesn't do "maint info breakpoints", or really
       anything with the JIT at all.

  #3 - and even then, to trigger the problem the JIT descriptor needs
       to be in a separate library, while the current test puts it in
       the main program.

The patch extends the test to cover all combinations of these
scenarios.

gdb/ChangeLog:
2016-10-06  Pedro Alves  <palves@redhat.com>

	* jit.c (free_objfile_data): Delete the JIT breakpoint and clear
	the cached code address.

gdb/testsuite/ChangeLog:
2016-10-06  Pedro Alves  <palves@redhat.com>

	* gdb.base/jit-simple-dl.c: New file.
	* gdb.base/jit-simple-jit.c: New file, factored out from ...
	* gdb.base/jit-simple.c: ... this.
	* gdb.base/jit-simple.exp (jit_run): Delete.
	(build_jit): New proc.
	(jit_test_reread): Recompile either the main program or the shared
	library, depending on what is being tested.  Skip changing address
	if caller wants to.  Compare before/after addresses.  If testing
	standalone, explicitly load the binary.  Test "maint info
	breakpoints".
	(top level): Add "standalone vs shared lib" and "change address"
	vs "same address" axes.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] stack: fix gdb.dwarf2/dw2-undefined-ret-addr.exp regression
@ 2016-10-06 15:03 sergiodj+buildbot
  2016-10-07  8:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 15:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c620c3e48d01e70c435c146905cab1a50382ce89 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: c620c3e48d01e70c435c146905cab1a50382ce89

stack: fix gdb.dwarf2/dw2-undefined-ret-addr.exp regression

Commit a038fa3e14a4 stack: check frame_unwind_caller_id adds a frame_id check to
frame_info and treats a missing frame_id as NOT_AVAILABLE_ERROR.  This causes a
regression in gdb.dwarf2/dw2-undefined-ret-addr.exp.

Treat a missing frame_id as OPTIMIZED_OUT_ERROR instead.

See also https://sourceware.org/ml/gdb-patches/2016-07/msg00273.html.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] testsuite: solib-disc: Use `standard_output_file'
@ 2016-10-06 16:49 sergiodj+buildbot
  2016-10-07 12:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 16:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7470adbb872d5363580eb5e0a8dbb231c286ee4c ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 7470adbb872d5363580eb5e0a8dbb231c286ee4c

testsuite: solib-disc: Use `standard_output_file'

Correct a commit 2151ccc56c74 ("Always organize test artifacts in a
directory hierarchy") regression causing:

Running .../gdb/testsuite/gdb.base/solib-disc.exp ...
gdb compile failed, Assembler messages:
Fatal error: can't create .../gdb/testsuite/gdb.base/so-disc-shr.c.o: No such file or directory

by using `standard_output_file' to construct output file names
throughout.

	gdb/testsuite/
	* gdb.base/solib-disc.exp: Use `standard_output_file'
	throughout.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] mips-tdep: Rearrange comments in `mips_pseudo_register_type'
@ 2016-10-06 17:15 sergiodj+buildbot
  2016-10-07 15:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 17:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a6912260f813b1493efefd27cbcb6a73d933accc ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: a6912260f813b1493efefd27cbcb6a73d933accc

mips-tdep: Rearrange comments in `mips_pseudo_register_type'

Rearrange comments throughout `mips_pseudo_register_type', placing them
ahead the condtionals they apply to consistently.

	gdb/
	* mips-tdep.c (mips_pseudo_register_type): Rearrange comments
	throughout.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] mips-tdep: Make FCRs always 32-bit
@ 2016-10-06 17:57 sergiodj+buildbot
  2016-10-07 17:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 17:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 78b86327b5301231005b08a7c589b2b58e6b4322 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 78b86327b5301231005b08a7c589b2b58e6b4322

mips-tdep: Make FCRs always 32-bit

Fix a regression from commit f8b73d13b7ca ("Target-described register
support for MIPS"),
<https://sourceware.org/ml/gdb-patches/2007-05/msg00340.html>,
<https://sourceware.org/ml/gdb-patches/2007-06/msg00256.html>, which
caused Floating Point Control Registers (FCRs) to be shown as 64-bit
with 64-bit targets.

This came from the legacy register format where all raw registers
matched the width of the architecture regardless of their actual size.
The correct size was then set in `mips_register_type' for cooked
registers presented to the user, which in the case of FCRs meant the
cooked size was always forced to 32 bits, reflecting their actual
hardware size, even though the raw format carried them in 64-bit
quantities on 64-bit targets.  The upper 32 bits carried in the raw FCR
format have always been don't-cares, not actually retrieved from
hardware and never written back.

With the introduction of XML register descriptions the layout of
previously defined raw registers has been preserved, so as to keep
existing register handling code unchanged and make it easier for GDB and
`gdbserver' to interact with each other whether neither, either or both
parties talking over RSP support XML register descriptions.  For the
XML-described case however `mips_register_type' is not used in raw to
cooked register conversion, so any special cases coded there are not
taken into account.

Instead a new function, `mips_pseudo_register_type', has been introduced
to handle size conversion, however lacking the special case for FCRs for
the Linux and the now defunct IRIX target.  The correct size has been
maintained for embedded targets however, due to the bundling of FCRs
with the embedded registers under the `rawnum >= MIPS_EMBED_FP0_REGNUM +
32' condition.

Add the missing case to `mips_pseudo_register_type' then, referring to
the FCR indices explicitly, and observing that between
`MIPS_EMBED_FP0_REGNUM + 32' and `MIPS_FIRST_EMBED_REGNUM' there is an
unused register slot whose contents are ignored so with the removal of
embedded FCRs from under that condition we don't have to care about it
and we can refer to the embedded registers starting from
MIPS_FIRST_EMBED_REGNUM instead.

Add a test case too so that we have means to check automatically that
the correct user-visible size of FCRs is maintained.

	gdb/
	* mips-tdep.c (mips_pseudo_register_type): Make FCRs always
	32-bit.

	gdb/testsuite/
	* gdb.arch/mips-fcr.exp: New test.
	* gdb.arch/mips-fcr.c: Source for the new test.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove Java support
@ 2016-10-06 21:27 sergiodj+buildbot
  2016-10-07 20:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 21:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9c37b5aed98e5996a9777a366bfcc371c0e1a92d ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 9c37b5aed98e5996a9777a366bfcc371c0e1a92d

Remove Java support

This patch removes the Java support from gdb.  gcj has not seen much
development or use for years now, and was recently removed from GCC.
This patch changes gdb to follow; in the unlikely event that there are
still users using gcj, they can continue to use an older gdb to debug.
Or, they can debug in C++ mode.

Built and regtested on x86-64 Fedora 24.

2016-10-06  Tom Tromey  <tom@tromey.com>

	* MAINTAINERS: Remove Java test maintainer.
	* varobj.h (java_varobj_ops): Don't declare.
	* valprint.h (struct value_print_options)
	<pascal_static_field_print>: Update comment.
	* utils.c (producer_is_gcc): Remove java reference.
	* symtab.h (struct general_symbol_info): Remove java references.
	(SYMBOL_SEARCH_NAME): Likewise.
	* objfiles.c (allocate_objfile): Update comment.
	* linespec.c (find_linespec_symbols): Remove java references.
	* gnu-v3-abi.c (gnuv3_rtti_type, gnuv3_baseclass_offset): Remove
	java references.
	* gdbtypes.h (struct cplus_struct_type) <is_java>: Remove.
	(TYPE_CPLUS_REALLY_JAVA): Remove.
	* c-varobj.c (enum vsections): Update comment.
	* symtab.c (symbol_set_language, symbol_set_names)
	(symbol_natural_name, symbol_demangled_name)
	(demangle_for_lookup, symbol_matches_domain)
	(default_make_symbol_completion_list_break_on_1): Remove java
	references.
	(JAVA_PREFIX, JAVA_PREFIX_LEN): Remove.
	* psymtab.c (match_partial_symbol, psymtab_search_name)
	(lookup_partial_symbol): Remove java references.
	* dwarf2read.c (find_slot_in_mapped_hash): Remove java references.
	(add_partial_symbol, dwarf2_compute_name, dwarf2_physname)
	(dwarf2_add_member_fn, is_vtable_name, read_structure_type)
	(process_structure_scope, read_subroutine_type)
	(read_subrange_type, load_partial_dies)
	(new_symbol_full, determine_prefix, typename_concat)
	(dwarf2_name): Remove java references.
	(set_cu_language): Treat Java as C++.
	* c-typeprint.c (c_type_print_args): Remove java reference.
	* defs.h (enum language) <language_java>: Remove.
	* Makefile.in (SFILES, HFILES_NO_SRCDIR, COMMON_OBS, YYFILES)
	(YYOBJ, local-maintainer-clean): Don't mention java files.
	* jv-exp.y, jv-lang.c, jv-lang.h, jv-typeprint.c, jv-valprint.c,
	jv-varobj.c: Remove.

2016-10-06  Tom Tromey  <tom@tromey.com>

	* guile.texi (Types In Guile): Remove Java mentions.
	* python.texi (Types In Python): Remove Java mentions.
	* gdb.texinfo (Address Locations, Supported Languages)
	(Index Section Format): Remove Java mentions.

2016-10-06  Tom Tromey  <tom@tromey.com>

	* gdb.compile/compile.exp: Change java tests to rust.
	* gdb.base/setshow.exp: Change java tests to rust.
	* gdb.base/default.exp: Remove java from language list.
	* README (Examples): Update language example.
	* gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
	test.
	* lib/gdb.exp (skip_java_tests): Remove.
	* lib/java.exp: Remove.
	* gdb.java: Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] frame.h: Forward-declare struct ui_out
@ 2016-10-06 22:11 sergiodj+buildbot
  2016-10-08  7:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 22:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d73f9c4bab1a0ec82007f9d36b8a7bf5d34f7bf6 ***

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

frame.h: Forward-declare struct ui_out

Fixes this failure when building in C mode.  I think it's relevant for master
as well, since it's a good practice to include (or forward-declare) what you
use.

In file included from ../../binutils-gdb/gdb/gdbarch.h:38:0,
                 from ../../binutils-gdb/gdb/defs.h:653,
                 from ../../binutils-gdb/gdb/dictionary.c:23:
../../binutils-gdb/gdb/frame.h:710:48: warning: struct ui_out declared inside parameter list will not be visible outside of this definition or declaration
 extern void print_stack_frame_to_uiout (struct ui_out *uiout,

gdb/ChangeLog:

	* frame.h: Forward-declare struct ui_out.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Remove some C compiler support leftovers
@ 2016-10-06 23:29 sergiodj+buildbot
  2016-10-08 12:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 23:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ddb6d633875b76f9d772af901118233fc498253a ***

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

gdb: Remove some C compiler support leftovers

Remove some __cplusplus checks, inline EXPORTED_CONST, and update some comments.

gdb/ChangeLog:
2016-10-06  Pedro Alves  <palves@redhat.com>

	* cp-valprint.c (vtbl_ptr_name): Write "extern const" instead of
	EXPORTED_CONST.
	* stub-termcap.c: Remove __cplusplus checks.
	* common/common-defs.h [!__cplusplus] (EXTERN_C, EXTERN_C_PUSH,
	EXTERN_C_POP): Delete.
	* common/common-exceptions.h (GDB_XCPT_SJMP): Update comments.
	(GDB_XCPT) [!__cplusplus]: Delete.
	(throw_exception, throw_exception_sjlj): Update comments.
	* guile/guile-internal.h (as_a_scm_t_subr) [!__cplusplus]: Delete.
	* guile/guile.c (extension_language_guile): Write "extern const"
	instead of EXPORTED_CONST.
	* features/feature_to_c.sh: Don't emit !__cplusplus code.  Write
	"extern const" instead of EXPORTED_CONST.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Consolidate API of target_supports_multi_process
@ 2016-10-06 23:56 sergiodj+buildbot
  2016-10-08 14:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-06 23:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1fb77080fd74d11c0dbccf812ed98ffa0b3edc4e ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: 1fb77080fd74d11c0dbccf812ed98ffa0b3edc4e

Consolidate API of target_supports_multi_process

This simple commit consolidates the API of
target_supports_multi_process.  Since both GDB and gdbserver use the
same function prototype, all that was needed was to move create this
prototype on gdb/target/target.h and turn the macros declared on
gdb/{,gdbserver/}target.h into actual functions.

Regtested (clean pass) on the BuildBot.

gdb/ChangeLog:
2016-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>

	* target.c (target_supports_multi_process): New function, moved
	from...
	* target.h (target_supports_multi_process): ... here.  Remove
	macro.
	* target/target.h (target_supports_multi_process): New prototype.

gdb/gdbserver/ChangeLog:
2016-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>

	* target.c (target_supports_multi_process): New function, moved
	from...
	* target.h (target_supports_multi_process): ... here.  Remove
	macro.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Pass link_info to _bfd_merge_private_bfd_data
@ 2016-10-07  2:07 sergiodj+buildbot
  2016-10-08 19:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-07  2:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 50e03d47b77d5730f96f6b6bb66187654e66c797 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 50e03d47b77d5730f96f6b6bb66187654e66c797

Pass link_info to _bfd_merge_private_bfd_data

Most BFD linker functions take a bfd_link_info param, which reinforces
the fact that they are linker functions and allow access to linker
callbacks, eg. einfo for printing errors.  I was going to use einfo
for --fatal-warnings support before I decided a better way was the
patch commit 4519d071.

bfd/
	* targets.c (bfd_target <_bfd_merge_private_bfd_data>): Replace
	obfd param with struct bfd_link_info param.  Update all callers.
	* linker.c (bfd_merge_private_bfd_data): Likewise.
	(_bfd_generic_verify_endian_match): Likewise.
	* aoutf1.h (sunos_merge_private_bfd_data): Likewise.
	* coff-arm.c (coff_arm_merge_private_bfd_data): Likewise.
	* elf-attrs.c (_bfd_elf_merge_object_attributes): Likewise.
	* elf-bfd.h (_bfd_elf_ppc_merge_fp_attributes): Likewise.
	(_bfd_elf_merge_object_attributes): Likewise.
	* elf-m10300.c (_bfd_mn10300_elf_merge_private_bfd_data): Likewise.
	* elf-s390-common.c (elf_s390_merge_obj_attributes): Likewise.
	* elf32-arc.c (arc_elf_merge_private_bfd_data): Likewise.
	* elf32-arm.c (elf32_arm_merge_eabi_attributes): Likewise.
	(elf32_arm_merge_private_bfd_data): Likewise.
	* elf32-bfin.c (elf32_bfin_merge_private_bfd_data): Likewise.
	* elf32-cr16.c (_bfd_cr16_elf_merge_private_bfd_data): Likewise.
	* elf32-cris.c (cris_elf_merge_private_bfd_data): Likewise.
	* elf32-frv.c (frv_elf_merge_private_bfd_data): Likewise.
	* elf32-h8300.c (elf32_h8_merge_private_bfd_data): Likewise.
	* elf32-i370.c (i370_elf_merge_private_bfd_data): Likewise.
	* elf32-iq2000.c (iq2000_elf_merge_private_bfd_data): Likewise.
	* elf32-m32c.c (m32c_elf_merge_private_bfd_data): Likewise.
	* elf32-m32r.c (m32r_elf_merge_private_bfd_data): Likewise.
	* elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Likewise.
	* elf32-m68hc1x.h (_bfd_m68hc11_elf_merge_private_bfd_data): Likewise.
	* elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Likewise.
	* elf32-mcore.c (mcore_elf_merge_private_bfd_data): Likewise.
	* elf32-mep.c (mep_elf_merge_private_bfd_data): Likewise.
	* elf32-msp430.c (elf32_msp430_merge_mspabi_attributes): Likewise.
	(elf32_msp430_merge_private_bfd_data): Likewise.
	* elf32-mt.c (mt_elf_merge_private_bfd_data): Likewise.
	* elf32-nds32.c (nds32_elf_merge_private_bfd_data): Likewise.
	* elf32-nios2.c (nios2_elf32_merge_private_bfd_data): Likewise.
	* elf32-or1k.c (elf32_or1k_merge_private_bfd_data): Likewise.
	* elf32-ppc.c (_bfd_elf_ppc_merge_fp_attributes): Likewise.
	(ppc_elf_merge_obj_attributes): Likewise.
	(ppc_elf_merge_private_bfd_data): Likewise.
	* elf32-rl78.c (rl78_elf_merge_private_bfd_data): Likewise.
	* elf32-rx.c (rx_elf_merge_private_bfd_data): Likewise.
	* elf32-s390.c (elf32_s390_merge_private_bfd_data): Likewise.
	* elf32-score.c (s3_elf32_score_merge_private_bfd_data): Likewise.
	(elf32_score_merge_private_bfd_data): Likewise.
	* elf32-score.h (s7_elf32_score_merge_private_bfd_data): Likewise.
	* elf32-score7.c (s7_elf32_score_merge_private_bfd_data): Likewise.
	* elf32-sh.c (sh_merge_bfd_arch, sh_elf_merge_private_data): Likewise.
	* elf32-sh64.c (sh64_elf_merge_private_data): Likewise.
	* elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Likewise.
	* elf32-tic6x.c (elf32_tic6x_merge_attributes): Likewise.
	(elf32_tic6x_merge_private_bfd_data): Likewise.
	* elf32-v850.c (v850_elf_merge_private_bfd_data): Likewise.
	* elf32-vax.c (elf32_vax_merge_private_bfd_data): Likewise.
	* elf32-visium.c (visium_elf_merge_private_bfd_data): Likewise.
	* elf32-xtensa.c (elf_xtensa_merge_private_bfd_data): Likewise.
	* elf64-ia64-vms.c (elf64_ia64_merge_private_bfd_data): Likewise.
	* elf64-ppc.c (ppc64_elf_merge_private_bfd_data): Likewise.
	* elf64-s390.c (elf64_s390_merge_private_bfd_data): Likewise.
	* elf64-sh64.c (sh_elf64_merge_private_data): Likewise.
	* elf64-sparc.c (elf64_sparc_merge_private_bfd_data): Likewise.
	* elfnn-aarch64.c (elfNN_aarch64_merge_private_bfd_data): Likewise.
	* elfnn-ia64.c (elfNN_ia64_merge_private_bfd_data): Likewise.
	* elfxx-mips.c (mips_elf_merge_obj_e_flags): Likewise.
	(mips_elf_merge_obj_attributes): Likewise.
	(_bfd_mips_elf_merge_private_bfd_data): Likewise.
	* elfxx-mips.h (_bfd_mips_elf_merge_private_bfd_data): Likewise.
	* elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): Likewise.
	* elfxx-sparc.h (_bfd_sparc_elf_merge_private_bfd_data): Likewise.
	* elfxx-target.h (bfd_elfNN_bfd_merge_private_bfd_data): Likewise.
	* elfxx-tilegx.c (_bfd_tilegx_elf_merge_private_bfd_data): Likewise.
	* elfxx-tilegx.h (_bfd_tilegx_elf_merge_private_bfd_data): Likewise.
	* libbfd-in.h (_bfd_generic_bfd_merge_private_bfd_data): Likewise.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
ld/
	* ldlang.c (lang_check): Update bfd_merge_private_bfd_data call.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix gdb.Value->python conversion for large unsigned ints.
@ 2016-10-07  4:51 sergiodj+buildbot
  2016-10-08  9:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-07  4:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 33fa2c6e1b1e63599156f7d79de8c0a6ea69c8af ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 33fa2c6e1b1e63599156f7d79de8c0a6ea69c8af

Fix gdb.Value->python conversion for large unsigned ints.

gdb/ChangeLog:

	* python/py-value.c (valpy_long): Handle unsigned values.

gdb/testsuite/ChangeLog:

	* gdb.python/py-value.exp (test_value_creation): Add test for large
	unsigned 64-bit value.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] python: accept address and explicit locations in gdb.decode_line
@ 2016-10-07  7:22 sergiodj+buildbot
  2016-10-08 21:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-07  7:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 68dadef54c216f7ec75c27d74193897b18c5f9ab ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 68dadef54c216f7ec75c27d74193897b18c5f9ab

python: accept address and explicit locations in gdb.decode_line

The gdb.decode_line python function is documented to support the same location
expressions as the "break" command.  It currently expects a linespec location.

Instead of creating a linespec location directly, create the location via
string_to_event_location_basic.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfd_merge_private_bfd_data tidy
@ 2016-10-07  7:33 sergiodj+buildbot
  2016-10-08 16:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-07  7:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1047201fd0f402428bb3331638a198413f97f476 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 1047201fd0f402428bb3331638a198413f97f476

bfd_merge_private_bfd_data tidy

bfd_merge_private_bfd_data and _bfd_generic_verify_endian_match are
linker functions, so move them to linker.c.

bfd/
	* Makefile.am (LIBBFD_H_FILES): Update.
	* doc/Makefile.am (LIBBFD_H_DEP): Likewise.
	* cpu-sh.c (sh_merge_bfd_arch): Move to..
	* elf32-sh.c: ..here, and make static.
	* elf32-arc.c (arc_elf_merge_private_bfd_data): Delete extraneous
	error.
	* elf32-cris.c (cris_elf_merge_private_bfd_data): Don't call
	_bfd_generic_verify_endian_match.
	* elf32-microblaze.c (microblaze_elf_merge_private_bfd_data): Delete.
	(bfd_elf32_bfd_merge_private_bfd_data): Define as
	_bfd_generic_verify_endian_match.
	* elf32-mt.c (mt_elf_merge_private_bfd_data): Don't test
	boolean == FALSE.
	* elf32-xgate.c (_bfd_xgate_elf_merge_private_bfd_data): Delete.
	(bfd_elf32_bfd_merge_private_bfd_data): Don't define.
	* elf32-xgate.h (_bfd_xgate_elf_merge_private_bfd_data): Delete.
	* libbfd-in.h (_bfd_generic_verify_endian_match): Delete.
	* libbfd.c (_bfd_generic_verify_endian_match): Move to..
	* linker.c: ..here, and make internal.
	* bfd.c (bfd_merge_private_bfd_data): Move to..
	* linker.c: ..here.
	* Makefile.in: Regenerate.
	* doc/Makefile.in: Regenerate.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
opcodes/
	* sh-opc.h (sh_merge_bfd_arch): Delete prototype.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] PR target/20667, fix disassembler for the "special" optional SYS_Rt operand for "ic"/"tlbi"
@ 2016-10-07 10:19 sergiodj+buildbot
  2016-10-09  1:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-07 10:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 362c0c4d9cc9f320d1e85755404879a13ebed91a ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 362c0c4d9cc9f320d1e85755404879a13ebed91a

[AArch64] PR target/20667, fix disassembler for the "special" optional SYS_Rt operand for "ic"/"tlbi"

gas/
	PR target/20667
	* testsuite/gas/aarch64/sys-rt-reg.s: Test source for instructions
	using SYS_Rt reg.
	* testsuite/gas/aarch64/sys-rt-reg.d: New testcase.

opcodes/
	PR target/20667
	* aarch64-opc.c (aarch64_print_operand): Always print operand if
	it's available.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Set regdir in tdesc-regs.exp or arm
@ 2016-10-07 10:50 sergiodj+buildbot
  2016-10-08 23:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-07 10:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1d0e042a8321cca82cce521afd276a8494385ae3 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 1d0e042a8321cca82cce521afd276a8494385ae3

Set regdir in tdesc-regs.exp or arm

0a69eedb (Clean up the XML files for ARM) moves arm-*.xml files to
arm/ directory, so need update gdb.xml/tdesc-regs.exp accordingly.

gdb/testsuite:

2016-10-07  Yao Qi  <yao.qi@linaro.org>

	* gdb.xml/tdesc-regs.exp: Set regdir to "arm/".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] ui-out.c: Remove unused parameter to push_level
@ 2016-10-09  0:26 sergiodj+buildbot
  2016-10-09  8:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-09  0:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 49d06418ada11004ca1cdc0ec5847358e83fc67a ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 49d06418ada11004ca1cdc0ec5847358e83fc67a

ui-out.c: Remove unused parameter to push_level

The parameter "id" is unused.

gdb/ChangeLog:

	* ui-out.c (push_level): Remove "id" parameter.
	(ui_out_begin): Update call.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove v850_dbtrap_breakpoint_from_pc
@ 2016-10-10  9:44 sergiodj+buildbot
  2016-10-10 10:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-10  9:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ff12a6593a1675aa9ba5340aa2984af19cf8966c ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: ff12a6593a1675aa9ba5340aa2984af19cf8966c

Remove v850_dbtrap_breakpoint_from_pc

v850 has two functions to install to gdbarch_breakpoint_from_pc,
and it selects one according to info.bfd_arch_info->mach.  However,
we can select the kind/length of breakpoint instruction inside
v850_breakpoint_from_pc by gdbarch_bfd_arch_info (gdbarch)->mach.
This patch is to do that, and remove v850_dbtrap_breakpoint_from_pc.

gdb:

2016-08-30  Yao Qi  <yao.qi@linaro.org>

	* v850-tdep.c (v850_breakpoint_from_pc): Use the right
	breakpoint instruction.
	(v850_dbtrap_breakpoint_from_pc): Remove.
	(v850_gdbarch_init): Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Rename 'arch' by 'gdbarch' in m32c_gdbarch_init
@ 2016-10-10 10:37 sergiodj+buildbot
  2016-10-10 11:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-10 10:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 97ce08cb8071bf9a8df6c99cdf8e9fbf1911f3f5 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 97ce08cb8071bf9a8df6c99cdf8e9fbf1911f3f5

Rename 'arch' by 'gdbarch' in m32c_gdbarch_init

This patch renames local 'arch' by 'gdbarch' in m32c_gdbarch_init, so
that I can use macros in the following patch.

gdb:

2016-10-10  Yao Qi  <yao.qi@linaro.org>

	* m32c-tdep.c (m32c_gdbarch_init): Rename local 'arch' by
	'gdbarch'.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Share enum arm_breakpoint_kinds
@ 2016-10-10 11:41 sergiodj+buildbot
  2016-10-10 12:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-10 11:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a1078bea751d48e8846b91542d91647f1e0aed8d ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: a1078bea751d48e8846b91542d91647f1e0aed8d

Share enum arm_breakpoint_kinds

This patch shares "enum arm_breakpoint_kinds", and use ARM_BP_KIND_THUMB2
in GDB.

gdb:

2016-10-10  Yao Qi  <yao.qi@linaro.org>

	* arch/arm.h (enum arm_breakpoint_kinds): New.
	* arm-tdep.c (arm_remote_breakpoint_from_pc): Use
	ARM_BP_KIND_THUMB2.

gdb/gdbserver:

2016-10-10  Yao Qi  <yao.qi@linaro.org>

	* linux-aarch32-low.c (enum arm_breakpoint_kinds): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Always descend into output section statements in lang_do_assignments
@ 2016-10-11  7:59 sergiodj+buildbot
  2016-10-11  8:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-11  7:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f02cb058822459ea29a9fdaa928c2623df435908 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: f02cb058822459ea29a9fdaa928c2623df435908

Always descend into output section statements in lang_do_assignments

See https://sourceware.org/ml/binutils/2016-07/msg00091.html
This patch stop --gc-sections elf_gc_sweep_symbol localizing symbols
that ought to remain global.

The difficulty with always descending into output section statements
is that symbols defined by the script in such statements don't have
a bfd section when lang_do_assignments runs early in the link process.
There are two approaches to curing this problem.  Either we can
create the bfd section early, or we can use a special section.  This
patch takes the latter approach and uses bfd_und_section.  (Creating
bfd sections early results in changed output section order, and thus
lots of testsuite failures.  You can't create all output sections
early to ensure proper ordering as KEEP then stops empty sections
from being stripped.)

The wrinkle with this approach is that some code that runs at
gc-sections time needs to be made aware of the odd defined symbols
using bfd_und_section.

bfd/
	* elf64-x86-64.c (elf_x86_64_convert_load_reloc): Handle symbols
	defined temporarily with bfd_und_section.
	* elflink.c (_bfd_elf_gc_keep): Don't set SEC_KEEP for bfd_und_section.
	* elfxx-mips.c (mips_elf_local_pic_function_p): Exclude defined
	symbols with bfd_und_section.
ld/
	* ldlang.c (lang_do_assignments_1): Descend into output section
	statements that do not yet have bfd sections.  Set symbol section
	temporarily for symbols defined in such statements to the undefined
	section.  Don't error on data or reloc statements until final phase.
	* ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
	in expld.section.
	* testsuite/ld-mmix/bpo-10.d: Adjust.
	* testsuite/ld-mmix/bpo-11.d: Adjust.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] PR target/20666, fix wrong encoding of new introduced BFC pseudo
@ 2016-10-11 10:42 sergiodj+buildbot
  2016-10-11 11:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-11 10:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 93562a343c26f67d2bd0e93cceb18a0a793087c2 ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 93562a343c26f67d2bd0e93cceb18a0a793087c2

[AArch64] PR target/20666, fix wrong encoding of new introduced BFC pseudo

opcode/
	PR target/20666
	* aarch64-asm.c (convert_bfc_to_bfm): Fix dest index.

gas/
	* testsuite/gas/aarch64/alias-2.d: Update expected results.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] testsuite: Use standard_output_file
@ 2016-10-11 15:00 sergiodj+buildbot
  2016-10-11 15:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-11 15:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 16c85b5d14a04c275d3cb39b2029f3dc0f708531 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 16c85b5d14a04c275d3cb39b2029f3dc0f708531

testsuite: Use standard_output_file

gdb/testsuite/ChangeLog
2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.arch/powerpc-prologue.exp: Use standard_output_file.
	* gdb.arch/ppc64-symtab-cordic.exp: Likewise.
	* gdb.arch/vsx-regs.exp: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] testsuite: Fix gdb.arch/powerpc-prologue.c compilation
@ 2016-10-11 17:27 sergiodj+buildbot
  2016-10-11 18:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-11 17:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8f1a8fc4df2244f548d55fbecce20b7cd6f90e16 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 8f1a8fc4df2244f548d55fbecce20b7cd6f90e16

testsuite: Fix gdb.arch/powerpc-prologue.c compilation

gcc-6.2.1

gdb compile failed, gdb/testsuite/gdb.arch/powerpc-prologue.c: In function 'main':
gdb/testsuite/gdb.arch/powerpc-prologue.c:32:3: warning: implicit declaration of function 'optimized_1' [-Wimplicit-function-declaration]
   optimized_1 ();
   ^~~~~~~~~~~

gdb/testsuite/ChangeLog
2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* gdb.arch/powerpc-prologue.c (optimized_1): New declaration.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] BFD_FAKE_SECTION macro params
@ 2016-10-11 23:35 sergiodj+buildbot
  2016-10-12  0:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-11 23:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 821e6ff6299aa39e841ca50e1ae8a98e3554fd5f ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 821e6ff6299aa39e841ca50e1ae8a98e3554fd5f

BFD_FAKE_SECTION macro params

Order NAME, IDX, FLAGS as per STD_SECTION macro.

	* section.c (BFD_FAKE_SECTION): Reorder parameters.  Formatting.
	(STD_SECTION): Adjust to suit.
	* elf.c (_bfd_elf_large_com_section): Likewise.
	* bfd-in2.h: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Track FP registers in prologue analyzer
@ 2016-10-12 11:51 sergiodj+buildbot
  2016-10-12 12:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-12 11:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 187f5d00acf0ffe5390f282fd4d6285bcd6fccb9 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 187f5d00acf0ffe5390f282fd4d6285bcd6fccb9

[AArch64] Track FP registers in prologue analyzer

We don't track FP registers in aarch64 prologue analyzer, so this causes
an internal error when FP registers are saved by "stp" instruction in
prologue (stp	d8, d9, [sp,#128]),

 tbreak _Unwind_RaiseException^M
 aarch64-tdep.c:335: internal-error: CORE_ADDR aarch64_analyze_prologue(gdbarch*, CORE_ADDR, CORE_ADDR, aarch64_prologue_cache*): Assertion `inst.operands[0].type == AARCH64_OPND_Rt' failed.^M
 A problem internal to GDB has been detected,

This patch teaches GDB to track FP registers (D registers) in prologue
analyzer.

gdb:

2016-10-12  Yao Qi  <yao.qi@linaro.org>

	PR tdep/20682
	* aarch64-tdep.c: Replace 32 with AARCH64_D_REGISTER_COUNT.
	(aarch64_analyze_prologue): Extend array 'regs' for D registers.
	Assert that operand 0 and 1 can be X or D registers.  Update
	register number for D registers.  Update registers in frame
	cache.
	* aarch64-tdep.h (AARCH64_D_REGISTER_COUNT): New macro.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] arc: Add a gdbarch_tdep structure
@ 2016-10-12 13:03 sergiodj+buildbot
  2016-10-12 14:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-12 13:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b845c31ecc4fe2677f1d938b0d8a3dc98397158e ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: b845c31ecc4fe2677f1d938b0d8a3dc98397158e

arc: Add a gdbarch_tdep structure

Add target-specific structure gdbarch_tdep for ARC.

gdb/ChangeLog:

	* arc-tdep.h (struct gdbarch_tdep): New.
	* arc-tdep.c (arc_gdbarch_init): Allocate gdbarch_tdep.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] arc: Add evaluation of long jump targets
@ 2016-10-12 13:32 sergiodj+buildbot
  2016-10-12 15:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-12 13:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aaf43c4882f827d9f778b40dcdb93566f765f5f9 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: aaf43c4882f827d9f778b40dcdb93566f765f5f9

arc: Add evaluation of long jump targets

Standard get_longjmp_target implementation, similar to what is in arm-tdep.c.
Actual value of jb_pc should be set in init_osabi methods of particular OS/ABI
implementations.

gdb/ChangeLog:

	* arc-tdep.h (struct gdbarch_tdep) <jb_pc>: New field.
	* arc-tdep.c (arc_get_longjmp_target): New function.
	(arc_gdbarch_init): Set get_longjmp_target if jb_pc is non-negative.
	(arc_dump_tdep): Print jb_pc.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fixup gdb.python/py-value.exp for bare-metal aarch64-elf
@ 2016-10-12 15:51 sergiodj+buildbot
  2016-10-12 18:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-12 15:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4dac951e11030b43b17f52df8bdfa7432e4bf73c ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 4dac951e11030b43b17f52df8bdfa7432e4bf73c

Fixup gdb.python/py-value.exp for bare-metal aarch64-elf

I noticed that testing aarch64-elf gdb with a physical board
ran into issues with gdb.python/py-value.exp. Further investigation showed
that we were actually trying to dereference a NULL pointer (argv) when trying
to access argv[0].

Being bare-metal, argv is not guaranteed to be valid. So we need to make sure
argv is sane before accessing argv[0].

The following patch fixes up the test program to check for a NULL argv and also
improves the testcase a bit so it doesn't have to work with a hardcoded argc
value.

Regression-tested on x86-64 Ubuntu 16.04.

gdb/testsuite/ChangeLog:

2016-10-12  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.python/py-value.c (main): Check if argv is NULL before using it.
	* gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
	argc values.
	Add 1 to argc so we guarantee distinct initial/modified argc values.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] arc: Add support for Newlib
@ 2016-10-12 16:00 sergiodj+buildbot
  2016-10-12 17:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-12 16:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4a2f4826907de97b089295000a67d2497aa94c99 ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: 4a2f4826907de97b089295000a67d2497aa94c99

arc: Add support for Newlib

Add support for Newlib as an OS/ABI.  The only thing that is specific to it
relatively to "generic" baremetal target is location of PC register in jump
buffer for longjump support.

Sniffer uses .ivt section to decide if ELF file is for ARC Newlib or not.

gdb/ChangeLog:

	* arc-newlib-tdep.c: New file.
	* configure.tgt: Add newlib support for ARC.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Convert tid_range_parser and get_number_or_range to classes
@ 2016-10-13  1:21 sergiodj+buildbot
  2016-10-13  1:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-13  1:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bfd282882d534cd4f48e2fc29d4ce0923c52352b ***

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

Convert tid_range_parser and get_number_or_range to classes

This converts tid_range_parser and get_number_or_range to be classes.
The various tid_range_parser_* and get_number_or_range_* functions
become methods on the respective classes.  Then it updates the users
to follow.

The rationale for the change is that this provides better
encapsulation.  For example, this forced me to think of a better
interface between tid_range_parser and get_number_or_range, since the
former peeked into the latter's internals a bit too much.  That ended
up resulting mostly in these two not-just-straight-1-1 changes:

  void
 -tid_range_parser_skip (struct tid_range_parser *parser)
 +tid_range_parser::skip_range ()
  {
 ...

 -  tid_range_parser_init (parser, parser->range_parser.end_ptr,
 -			 parser->default_inferior);
 +  m_range_parser.skip_range ();
 +  init (m_range_parser.string (), m_default_inferior);
  }

 and:

    /* If we successfully parsed a thread number or finished parsing a
       thread range, switch back to assuming the next TID is
       inferior-qualified.  */
 -  if (parser->range_parser.end_ptr == NULL
 -      || parser->range_parser.string == parser->range_parser.end_ptr)
 +  if (!m_range_parser.in_range ())
      {

For the same reason (encapsulation), this moves the enum
tid_range_state definition to within the tid_parser class's scope,
since that is private implementation detail.

While at it, switch to use "bool" for booleans.

gdb/ChangeLog:
2016-10-13  Pedro Alves  <palves@redhat.com>
	    Tom Tromey  <tom@tromey.com>

	* tid-parse.h (tid_range_parser): New class.
	(enum tid_range_state): Move into tid_range_parser's scope.
	Remove TID_RANGE_ prefix from all values.
	(tid_range_parser_get_tid, tid_range_parser_get_tid_range)
	(tid_range_parser_star_range, tid_range_parser_finished)
	(tid_range_parser_skip, tid_range_parser_qualified): Don't
	declare.
	(tid_is_in_list): Update comment.
	* tid-parse.c (tid_range_parser::tid_range_parser): New.
	(init, finished, get_string, skip, tid_is_qualified)
	(get_tid_or_range, get_tid_range, get_tid, star_range): Rename;
	turn into methods.
	(tid_is_in_list): Adjust.
	* cli/cli-utils.h (number_or_range_parser): New class.
	(init_number_or_range, get_number_or_range)
	(number_range_setup_range): Don't declare.
	* cli/cli-utils.c
	(number_or_range_parser::number_or_range_parser): New.
	(init_number_or_range, get_number_or_range)
	(number_range_setup_range): Rename; turn into methods.
	(number_is_in_list): Adjust.
	* breakpoint.c (map_breakpoint_numbers): Adjust.  Use bool.
	(trace_pass_command, get_tracepoint_by_number): Adjust.
	* breakpoint.h (get_tracepoint_by_number): Adjust.
	* inferior.c (detach_inferior_command, kill_inferior_command)
	(remove_inferior_command): Adjust.
	* linespec.c (decode_line_2): Adjust.
	* memattr.c (mem_enable_command, mem_disable_command)
	(mem_delete_command): Adjust.
	* printcmd.c (map_display_numbers): Adjust.
	* reverse.c (delete_bookmark_command, bookmarks_info): Adjust.
	* thread.c (thread_apply_command): Adjust.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Change selttest.c to use use std::vector
@ 2016-10-13  2:25 sergiodj+buildbot
  2016-10-13  2:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-13  2:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 816d7b53047bca81c226990bc9248d59d80d4b8b ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 816d7b53047bca81c226990bc9248d59d80d4b8b

Change selttest.c to use use std::vector

This patch changes selftest.c to use std::vector rather than VEC.
I think this is a small net plus.

2016-10-12  Tom Tromey  <tom@tromey.com>

	* selftest.c: Include <vector>, not "vec.h".
	(self_test_function_ptr): Remove.
	(tests): Now a std::vector.
	(register_self_test, run_self_tests): Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Turn wchar iterator into a class
@ 2016-10-13  2:59 sergiodj+buildbot
  2016-10-13  4:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-13  2:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cda6c55bd399a8892d62178d4daeb074def909e0 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: cda6c55bd399a8892d62178d4daeb074def909e0

Turn wchar iterator into a class

This changes wchar_iterator from charset.c into a real C++ class, then
updates the users to use the class.  This lets us remove some cleanups
in favor of the class' destructor.

2016-10-12  Tom Tromey  <tom@tromey.com>

	* valprint.c (generic_emit_char, count_next_character)
	(generic_printstr): Update.
	* charset.c (struct wchar_iterator): Move to charset.h.
	(wchar_iterator::wchar_iterator): Rename from
	make_wchar_iterator, turn into a constructor.
	(wchar_iterator::~wchar_iterator): Rename from
	do_cleanup_iterator, turn into a destructor.
	(make_cleanup_wchar_iterator): Remove.
	(wchar_iterator::iterate): Rename from wchar_iterate.  Remove
	"iter" argument.  Update.
	* charset.h: Include <vector>.
	(class wchar_iterator): New class, from old struct
	wchar_iterator.
	(make_wchar_iterator, make_cleanup_wchar_iterator): Don't
	declare.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove unnecessary null_cleanup
@ 2016-10-13  4:50 sergiodj+buildbot
  2016-10-13  5:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-13  4:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d1a760cbb796b62f18ff6b81a189fd261809ef74 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: d1a760cbb796b62f18ff6b81a189fd261809ef74

Remove unnecessary null_cleanup

This patch removes an unnecessary null_cleanup.

2016-10-12  Tom Tromey  <tom@tromey.com>

	* tracepoint.c (trace_dump_command): Remove unnecessary
	null_cleanup.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use std::string in macho_symfile_read_all_oso
@ 2016-10-13  5:24 sergiodj+buildbot
  2016-10-13  6:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-13  5:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT af533a5f8b149bfa1394ab04c3947e97dd507a33 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: af533a5f8b149bfa1394ab04c3947e97dd507a33

Use std::string in macho_symfile_read_all_oso

This changes macho_symfile_read_all_oso to use std::string.  This
avoids a cleanup.

2016-10-12  Tom Tromey  <tom@tromey.com>

	* machoread.c (macho_symfile_read_all_oso): Use std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Skip testing structures with floating points
@ 2016-10-13 14:54 sergiodj+buildbot
  2016-10-13 15:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-13 14:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 62df7e210ebf096dc09ad14d9316fcda0f6217f7 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 62df7e210ebf096dc09ad14d9316fcda0f6217f7

Skip testing structures with floating points

This patch skips some tests related to floating point in structs.exp
if gdb_skip_float_test return false.

gdb/testsuite:

2016-10-13  Yao Qi  <yao.qi@linaro.org>

	* gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
	floating point tests if $skip_float_test is false.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Share proc get_var_address
@ 2016-10-13 15:27 sergiodj+buildbot
  2016-10-13 16:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-13 15:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5ad9dba7519caa3e6193c87699ae37e24d0fe05c ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 5ad9dba7519caa3e6193c87699ae37e24d0fe05c

Share proc get_var_address

This patch moves proc get_var_address into lib/gdb.exp, and remove the
duplicate copy in gdb.base/*.exp files.

gdb/testsuite:

2016-10-13  Yao Qi  <yao.qi@linaro.org>

	* gdb.base/code_elim.exp (get_var_address): Remove.
	* gdb.base/relocate.exp: Likewise.
	* gdb.base/shreloc.exp: Likewise.
	* lib/gdb.exp (get_var_address): New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Include strings.h where available
@ 2016-10-14  7:30 sergiodj+buildbot
  2016-10-14 18:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-14  7:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8ffc1bb12a22e548835c9291871ad0eb68b7f6f0 ***

Author: Eli Zaretskii <eliz@gnu.org>
Branch: master
Commit: 8ffc1bb12a22e548835c9291871ad0eb68b7f6f0

Include strings.h where available

gdb/ChangeLog

2016-10-14  Eli Zaretskii  <eliz@gnu.org>

	* common/common-defs.h [HAVE_STRINGS_H]: Include strings.h if
	available, to get prototypes of 'strcasecmp' and 'strncasecmp'.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [ARC] Disassembler: fix LIMM detection for short instructions.
@ 2016-10-14 12:37 sergiodj+buildbot
  2016-10-15  3:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-14 12:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e5b06ef06b062f0626462abb182ee5470cf798bc ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: e5b06ef06b062f0626462abb182ee5470cf798bc

[ARC] Disassembler: fix LIMM detection for short instructions.

The ARC (short) instructions are using a special register number to
indicate is the instruction uses a long immediate (LIMM).  In the case
of short instruction, this LIMM indicator depends on the ISA version
used. Thus, for ARCv1 processors, the LIMM indicator is 0x3E, the same
value used in "long" instructions.  However, for the ARCv2 processors,
this LIMM indicator is 0x1E.

This patch fixes the LIMM detection for ARCv1 ISA and adds two tests.

gas/
2016-10-13  Claudiu Zissulescu  <claziss@synopsys.com>

	* testsuite/gas/arc/shortlimm_a7.d: New file.
	* testsuite/gas/arc/shortlimm_a7.s: Likewise.
	* testsuite/gas/arc/shortlimm_hs.d: Likewise.
	* testsuite/gas/arc/shortlimm_hs.s: Likewise.

include/
2016-10-13  Claudiu Zissulescu  <claziss@synopsys.com>

	* opcode/arc.h (ARC_OPCODE_ARCV2): New define.

opcodes/
2016-10-13  Claudiu Zissulescu  <claziss@synopsys.com>

        * arc-dis.c (find_format_from_table): Discriminate LIMM indicator
	usage on ISA basis.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix set sysroot command on AIX
@ 2016-10-14 13:25 sergiodj+buildbot
  2016-10-15  7:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-14 13:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 754c39c2f32a796ad9983836deb7c4429c808e48 ***

Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Branch: master
Commit: 754c39c2f32a796ad9983836deb7c4429c808e48

Fix set sysroot command on AIX

set sysroot command on AIX has no effect if a program depends on shared
library archives (.a).  Fixed by using solib_find and solib_bfd_fopen
instead of gdb_bfd_open in solib_aix_bfd_open.

gdb/
2016-10-14  Sangamesh Mallayya  <sangamesh.swamy@in.ibm.com>
	    Ulrich Weigand  <uweigand@de.ibm.com>

	* solib-aix.c (solib_aix_bfd_open): Call solib_find so that sysroot
	path is set properly if program has a dependency on .a archive and
	sysroot is set via set sysroot command.

Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Move OVERRIDE/FINAL from gcc/coretypes.h to include/ansidecl.h
@ 2016-10-14 16:29 sergiodj+buildbot
  2016-10-15 10:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-14 16:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d118ee3761bcf0c861a75e454d0c2b741fccb956 ***

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

Move OVERRIDE/FINAL from gcc/coretypes.h to include/ansidecl.h

So that GDB and other projects that share the top level can use them.

Bootstrapped with all default languages + jit on x86-64 Fedora 23.

gcc/ChangeLog:
2016-10-14  Pedro Alves  <palves@redhat.com>

	* coretypes.h (OVERRIDE, FINAL): Delete, moved to
	include/ansidecl.h.

include/ChangeLog:
2016-10-14  Pedro Alves  <palves@redhat.com>

	* ansidecl.h (GCC_FINAL): Delete.
	(OVERRIDE, FINAL): New, moved from gcc/coretypes.h.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] FINAL/OVERRIDE: Define to empty on g++ < 4.7
@ 2016-10-14 16:54 sergiodj+buildbot
  2016-10-15 14:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-14 16:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b4f6af8ee2ea97b8c6f2bca1c2fd728683e68ef5 ***

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

FINAL/OVERRIDE: Define to empty on g++ < 4.7

final/override were only implemented in g++ 4.7.

include/ChangeLog
2016-10-14  Pedro Alves  <palves@redhat.com>

	* ansidecl.h [__cplusplus >= 201103 && GCC_VERSION < 4007] (FINAL,
	OVERRIDE): Define as empty.
	[__cplusplus < 201103 && GCC_VERSION < 4007] (FINAL): Define as
	__final.
	[__cplusplus < 201103 && GCC_VERSION >= 4007] (OVERRIDE): Define as
	empty.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Sync libiberty sources with gcc mainline.
@ 2016-10-17  9:46 sergiodj+buildbot
  2016-10-17 11:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-17  9:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 41f225defe891ff71d3c8a149cdc1ed8f3a64c5c ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 41f225defe891ff71d3c8a149cdc1ed8f3a64c5c

Sync libiberty sources with gcc mainline.

2016-09-19  Andrew Stubbs  <ams@codesourcery.com>

	* pex-win32.c (argv_to_cmdline): Quote zero-length parameters.
	* testsuite/test-pexecute.c (main): Insert check for zero-length parameters.

2016-09-10  Mark Wielaard  <mjw@redhat.com>

	* cp-demangle.c (d_substitution): Change struct demangle_component
	variable name from c to dc.

2016-08-12  Marek Polacek  <polacek@redhat.com>

	PR c/7652
	* cp-demangle.c (d_print_mod): Add FALLTHRU.

2016-08-04  Marcel B?hme  <boehme.marcel@gmail.com>

	PR c++/71696
	* cplus-dem.c: Prevent infinite recursion when there is a cycle
	in the referencing of remembered mangled types.
	(work_stuff): New stack to keep track of the remembered mangled
	types that are currently being processed.
	(push_processed_type): New method to push currently processed
	remembered type onto the stack.
	(pop_processed_type): New method to pop currently processed
	remembered type from the stack.
	(work_stuff_copy_to_from): Copy values of new variables.
	(delete_non_B_K_work_stuff): Free stack memory.
	(demangle_args): Push/Pop currently processed remembered type.
	(do_type): Do not demangle a cyclic reference and push/pop
	referenced remembered type.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Update list of ELF machine numbers.
@ 2016-10-17 11:03 sergiodj+buildbot
  2016-10-17 15:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-17 11:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6d91379408b87b6d0c1cd4bc2880b530cc4ec721 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 6d91379408b87b6d0c1cd4bc2880b530cc4ec721

Update list of ELF machine numbers.

include	* elf/common.h (DT_SYMTAB_SHNDX): Define.
	(EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_OPEN8): Define.
	(EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2, EM_XCORE): Define.
	(EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8): Define.
	(EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC): Define.
	(EM_CSR_KALIMBA, EM_Z80, EM_AMDGPU, EM_RISCV): Define.
	(ELFOSABI_OPENVOS): Define.
	(GRP_MASKOS, GRP_MASKPROC): Define.

binutils	* readelf.c (get_dynamic_type): Add DT_SYMTAB_SHNDX.
	(get_machine_type): Add EM_CLOUDSHIELD, EM_COREA_1ST,
	EM_COREA_2ND, EM_OPEN8, EM_VIDEOCORE5, EM_56800EX, EM_BA1, EM_BA2,
	EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_KMX16, EM_KMX8,
	EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA,
	EM_Z80, EM_AMDGPU, EM_RISCV.
	(get_osabi_name): Add ELFOSABI_CLOUDABI and ELFOSABI_OPENVS.
	(get_group_flags): Update to handle flags in the
	GRP_MASKOS and GRP_MASKPROC ranges.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Removed pseudo invalid instructions opcodes.
@ 2016-10-17 13:56 sergiodj+buildbot
  2016-10-17 18:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-17 13:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT decf5bd1570be3de10aeab99869a9548d17b1354 ***

Author: Cupertino Miranda <cmiranda@synopsys.com>
Branch: master
Commit: decf5bd1570be3de10aeab99869a9548d17b1354

Removed pseudo invalid instructions opcodes.

The disassember was generating invXXX instructions for cases when in reality we
had llockd or scondd instrutions.

opcodes/ChangeLog:

    Cupertino Miranda  <cmiranda@synopsys.com>
	arc-tbl.h: Removed any "inv.+" instructions from the table.

gas/ChangeLog:

    Cupertino Miranda  <cmiranda@synopsys.com>
        testsuite/arc/dis-inv.s: Test to validate patch.
        testsuite/arc/dis-inv.d: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Fix phony iconv build
@ 2016-10-17 16:34 sergiodj+buildbot
  2016-10-17 21:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-17 16:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5562a44eb490b5777c9e786971907c0727d88495 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5562a44eb490b5777c9e786971907c0727d88495

gdb: Fix phony iconv build

Cross building gdb for mingw32 on Fedora 23 fails with:

  x86_64-w64-mingw32-g++ -g -O2  [...]  ../../src/gdb/charset.c
  In file included from ../../src/gdb/charset.c:21:0:
  ../../src/gdb/charset.h:134:3: error: 'iconv_t' does not name a type
     iconv_t m_desc;
     ^
  ../../src/gdb/charset.c: In constructor 'wchar_iterator::wchar_iterator(const gdb_byte*, size_t, const char*, size_t)':
  ../../src/gdb/charset.c:600:3: error: 'm_desc' was not declared in this scope
     m_desc = iconv_open (INTERMEDIATE_ENCODING, charset);
     ^
  ../../src/gdb/charset.c: In destructor 'wchar_iterator::~wchar_iterator()':
  ../../src/gdb/charset.c:607:7: error: 'm_desc' was not declared in this scope
     if (m_desc != (iconv_t) -1)
	 ^
  ../../src/gdb/charset.c: In member function 'int wchar_iterator::iterate(wchar_iterate_result*, gdb_wchar_t**, const gdb_byte**, size_t*)':
  ../../src/gdb/charset.c:633:25: error: 'm_desc' was not declared in this scope
	 size_t r = iconv (m_desc, &inptr, &m_bytes, &outptr, &out_avail);
			   ^

This is a regression caused by commit cda6c55bd399 (Turn wchar
iterator into a class).  The problem is that iconv_t is now exposed in
gdb/charset.h, while before it was only used in gdb/charset.c.

gdb/charset.c, under #ifdef PHONY_ICONV, does:

 #undef iconv_t
 #define iconv_t int

So it seems the simplest is to use 'int' in the header file too.

gdb/ChangeLog:
2016-10-17  Pedro Alves  <palves@redhat.com>

	* charset.h (class wchar_iterator) [PHONY_ICONV] <m_desc>: Use
	'int' as type.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix -trace-save crash when argument is missing
@ 2016-10-17 21:05 sergiodj+buildbot
  2016-10-18  0:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-17 21:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5bad3170301060ee0801a739ffc213abae664973 ***

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

Fix -trace-save crash when argument is missing

-trace-save doesn't check whether an argument is passed, leading to a
segfault if you pass nothing.

I added a small test, which only tests the error conditions of
-trace-save.

gdb/ChangeLog:

	* mi/mi-main.c (mi_cmd_trace_save): Check if argument is present
	before using it.

gdb/testsuite/ChangeLog:

	* gdb.trace/mi-trace-save.exp: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] ARM/BFD: Correct an `index' global shadowing error
@ 2016-10-25  5:31 sergiodj+buildbot
  2016-10-25 18:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-25  5:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c48182bfe408e06e3301ee887fd9a7b06bedff37 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: c48182bfe408e06e3301ee887fd9a7b06bedff37

ARM/BFD: Correct an `index' global shadowing error

Fix a commit 5025eb7c0d87 ("Delete relocations associatesd with deleted
exidx entries.") build regression:

cc1: warnings being treated as errors
.../bfd/elf32-arm.c: In function 'elf32_arm_update_relocs':
.../bfd/elf32-arm.c:14951: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
make[3]: *** [elf32-arm.lo] Error 1

in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc command
line options used when compiling the binutils.").

	bfd/
	* elf32-arm.c (elf32_arm_update_relocs): Rename `index' local
	variable to `reloc_index'.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] NDS32/BFD: Correct an aliasing error in `nds32_elf_check_relocs'
@ 2016-10-25  6:28 sergiodj+buildbot
  2016-10-25 22:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-25  6:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 61034b0b6acc6ff72def5f5ecdbe628edc5d67ea ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 61034b0b6acc6ff72def5f5ecdbe628edc5d67ea

NDS32/BFD: Correct an aliasing error in `nds32_elf_check_relocs'

Fix an aliasing build error:

cc1: warnings being treated as errors
.../bfd/elf32-nds32.c: In function 'nds32_elf_check_relocs':
.../bfd/elf32-nds32.c:6644: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[3]: *** [elf32-nds32.lo] Error 1

in a way following commit 6edfbbad0864 ("Fix up gcc4.1 aliasing
warnings"), <https://sourceware.org/ml/binutils/2005-10/msg00071.html>.

	bfd/
	* elf32-nds32.c (nds32_elf_check_relocs): Avoid aliasing warning
	from GCC.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Clean up remote.c:remote_resume
@ 2016-10-26 16:05 sergiodj+buildbot
  2016-10-26 18:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-26 16:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7b68ffbb32645c5383e74f27248a1c1c7ecd241a ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 7b68ffbb32645c5383e74f27248a1c1c7ecd241a

gdb: Clean up remote.c:remote_resume

Just some refactoring / TLC.  Mainly split the old c/s/C/S packet
handling to a separate function.

gdb/ChangeLog:
2016-10-26  Pedro Alves  <palves@redhat.com>

	* remote.c (remote_resume_with_hc): New function, factored out
	from ...
	(remote_resume): ... this.  Always try vCont first.
	(remote_vcont_resume): Rename to ...
	(remote_resume_with_vcont): ... this.  Bail out if execution
	direction is reverse.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbserver: Leave already-vCont-resumed threads as they were
@ 2016-10-26 18:48 sergiodj+buildbot
  2016-11-04 23:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-26 18:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5a04c4cf5df6d13596e79e7b84520cbe245a5a4d ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5a04c4cf5df6d13596e79e7b84520cbe245a5a4d

gdbserver: Leave already-vCont-resumed threads as they were

Currently GDB never sends more than one action per vCont packet, when
connected in non-stop mode.  A follow up patch will change that, and
it exposed a gdbserver problem with the vCont handling.

For example, this in non-stop mode:

  => vCont;s:p1.1;c
  <= OK

Should be equivalent to:

  => vCont;s:p1.1
  <= OK
  => vCont;c
  <= OK

But gdbserver currently doesn't handle this.  In the latter case,
"vCont;c" makes gdbserver clobber the previous step request.  This
patch fixes that.

Note the server side must ignore resume actions for the thread that
has a pending %Stopped notification (and any other threads with events
pending), until GDB acks the notification with vStopped.  Otherwise,
e.g., the following case is mishandled:

 #1 => g  (or any other packet)
 #2 <= [registers]
 #3 <= %Stopped T05 thread:p1.2
 #4 => vCont s:p1.1;c
 #5 <= OK

Above, the server must not resume thread p1.2 when it processes the
vCont.  GDB can't know that p1.2 stopped until it acks the %Stopped
notification.  (Otherwise it wouldn't send a default "c" action.)

(The vCont documentation already specifies this.)

Finally, special care must also be given to handling fork/vfork
events.  A (v)fork event actually tells us that two processes stopped
-- the parent and the child.  Until we follow the fork, we must not
resume the child.  Therefore, if we have a pending fork follow, we
must not send a global wildcard resume action (vCont;c).  We can still
send process-wide wildcards though.

(The comments above will be added as code comments to gdb in a follow
up patch.)

gdb/gdbserver/ChangeLog:
2016-10-26  Pedro Alves  <palves@redhat.com>

	* linux-low.c (handle_extended_wait): Link parent/child fork
	threads.
	(linux_wait_1): Unlink them.
	(linux_set_resume_request): Ignore resume requests for
	already-resumed and unhandled fork child threads.
	* linux-low.h (struct lwp_info) <fork_relative>: New field.
	* server.c (in_queued_stop_replies_ptid, in_queued_stop_replies):
	New functions.
	(handle_v_requests) <vCont>: Don't call require_running.
	* server.h (in_queued_stop_replies): New declaration.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Free inferior->priv when inferior exits
@ 2016-10-26 20:33 sergiodj+buildbot
  2016-11-04 20:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-26 20:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ef4a339527a41802fbab70af25d6e4788f35dcc8 ***

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

gdb: Free inferior->priv when inferior exits

(Where "exits" includes being killed or detached.)

Nothing is clearing inferior->priv currently.  This is a problem if we
change the inferior's process_stratum targets in a single debug
session.  This field is currently only used by darwin-nat.c, but a
follow up patch will make remote.c use it too.  Without the fix,
remote.c might end up mistaking the priv object allocated by
darwin-nat.c with its own.

(Found by inspection.)

gdb/ChangeLog:
2016-10-26  Pedro Alves  <palves@redhat.com>

	* inferior.c (exit_inferior_1): Free 'priv'.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Make symfile_add_flags and objfile->flags strongly typed
@ 2016-10-26 21:33 sergiodj+buildbot
  2016-11-05  5:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-26 21:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b15cc25cbe7c13e450f77b4a309223b9b3da3936 ***

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

Make symfile_add_flags and objfile->flags strongly typed

This makes these flag types be "enum flag" types.  The benefit is
making use of C++'s stronger typing -- mixing the flags types by
mistake errors at compile time.

This caught one old bug in symbol_file_add_main_1 already, fixed by
this patch as well:

  @@ -1318,7 +1326,7 @@ symbol_file_add_main_1 (const char *args, int from_tty, int flags)
	what is frameless.  */
     reinit_frame_cache ();

  -  if ((flags & SYMFILE_NO_READ) == 0)
  +  if ((add_flags & SYMFILE_NO_READ) == 0)
       set_initial_language ();
   }

Above, "flags" are objfile flags, not symfile_add_flags.  So that was
actually checking for "flag & OBJF_PSYMTABS_READ", which has the same
value as SYMFILE_NO_READ...

I moved the flags definitions to separate files to break circular
dependencies.

Built with --enable-targets=all and tested on x86-64 Fedora 23.

gdb/ChangeLog:
2016-10-26  Pedro Alves  <palves@redhat.com>

	* coffread.c (coff_symfile_read): Use symfile_add_flags.
	* dbxread.c (dbx_symfile_read): Ditto.
	* elfread.c (elf_symfile_read): Ditto.
	* inferior.h: Include symfile-add-flags.h.
	(struct inferior) <symfile_flags>: Now symfile_add_flags.
	* machoread.c (macho_add_oso_symfile, macho_symfile_read_all_oso)
	(macho_symfile_read, mipscoff_symfile_read): Use
	symfile_add_flags.
	* objfile-flags.h: New file.
	* objfiles.c (allocate_objfile): Use objfile_flags.
	* objfiles.h: Include objfile-flags.h.
	(struct objfile) <flags>: Now an objfile_flags.
	(OBJF_REORDERED, OBJF_SHARED, OBJF_READNOW, OBJF_USERLOADED)
	(OBJF_PSYMTABS_READ, OBJF_MAINLINE, OBJF_NOT_FILENAME): Delete.
	Converted to an enum-flags in objfile-flags.h.
	(allocate_objfile): Use objfile_flags.
	* python/py-objfile.c (objfpy_add_separate_debug_file): Remove
	unnecessary local.
	* solib.c (solib_read_symbols, solib_add)
	(reload_shared_libraries_1): Use symfile_add_flags.
	* solib.h: Include "symfile-add-flags.h".
	(solib_read_symbols): Use symfile_add_flags.
	* symfile-add-flags.h: New file.
	* symfile-debug.c (debug_sym_read): Use symfile_add_flags.
	* symfile-mem.c (symbol_file_add_from_memory): Use
	symfile_add_flags.
	* symfile.c (read_symbols, syms_from_objfile_1)
	(syms_from_objfile, finish_new_objfile): Use symfile_add_flags.
	(symbol_file_add_with_addrs): Use symfile_add_flags and
	objfile_flags.
	(symbol_file_add_separate): Use symfile_add_flags.
	(symbol_file_add_from_bfd, symbol_file_add): Use symfile_add_flags
	and objfile_flags.
	(symbol_file_add_main_1): : Use objfile_flags.  Fix add_flags vs
	flags confusion.
	(symbol_file_command): Use objfile_flags.
	(add_symbol_file_command): Use symfile_add_flags and
	objfile_flags.
	(clear_symtab_users): Use symfile_add_flags.
	* symfile.h: Include "symfile-add-flags.h" and "objfile-flags.h".
	(struct sym_fns) <sym_read>: Use symfile_add_flags.
	(clear_symtab_users): Use symfile_add_flags.
	(enum symfile_add_flags): Delete, moved to symfile-add-flags.h and
	converted to enum-flags.
	(symbol_file_add, symbol_file_add_from_bfd)
	(symbol_file_add_separate): Use symfile_add_flags.
	* xcoffread.c (xcoff_initial_scan): Use symfile_add_flags.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR 20569, segv in follow_exec
@ 2016-10-26 23:05 sergiodj+buildbot
  2016-11-05  9:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-26 23:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ecf45d2cc7667ed4692d07e52fc77a2c9a8adf1c ***

Author: Sandra Loosemore <sandra@codesourcery.com>
Branch: master
Commit: ecf45d2cc7667ed4692d07e52fc77a2c9a8adf1c

PR 20569, segv in follow_exec

The following testcases make GDB crash whenever an invalid sysroot is
provided, when GDB is unable to find a valid path to the symbol file:

 gdb.base/catch-syscall.exp
 gdb.base/execl-update-breakpoints.exp
 gdb.base/foll-exec-mode.exp
 gdb.base/foll-exec.exp
 gdb.base/foll-vfork.exp
 gdb.base/pie-execl.exp
 gdb.multi/bkpt-multi-exec.exp
 gdb.python/py-finish-breakpoint.exp
 gdb.threads/execl.exp
 gdb.threads/non-ldr-exc-1.exp
 gdb.threads/non-ldr-exc-2.exp
 gdb.threads/non-ldr-exc-3.exp
 gdb.threads/non-ldr-exc-4.exp
 gdb.threads/thread-execl.exp

The immediate cause of the segv is that follow_exec is passing a NULL
argument (the result of exec_file_find) to strlen.

However, the problem is deeper than that: follow_exec simply isn't
prepared for the case where sysroot translation fails to locate the
new executable.  Actually all callers of exec_file_find have bugs due
to confusion between host and target pathnames.  This commit attempts
to fix all that.

In terms of the testcases that were formerly segv'ing, GDB now prints
a warning but continues execution of the new program, so that the
tests now mostly FAIL instead.  You could argue the FAILs are due to a
legitimate problem with the test environment setting up the sysroot
translation incorrectly.

A new representative test is added which exercises the ne wwarning
code path even with native testing.

Tested on x86_64 Fedora 23, native and gdbserver.

gdb/ChangeLog:
2016-10-25  Sandra Loosemore  <sandra@codesourcery.com>
	    Luis Machado  <lgustavo@codesourcery.com>
	    Pedro Alves  <palves@redhat.com>

	PR gdb/20569
	* exceptions.c (exception_print_same): Moved here from exec.c.
	* exceptions.h (exception_print_same): Declare.
	* exec.h: Include "symfile-add-flags.h".
	(try_open_exec_file): New declaration.
	* exec.c (exception_print_same): Moved to exceptions.c.
	(try_open_exec_file): New function.
	(exec_file_locate_attach): Rename exec_file and full_exec_path
	variables to avoid confusion between target and host pathnames.
	Move pathname processing logic to exec_file_find.  Do not return
	early if pathname lookup fails; Call try_open_exec_file.
	* infrun.c (follow_exec): Split and rename execd_pathname variable
	to avoid confusion between target and host pathnames.  Warn if
	pathname lookup fails.  Pass target pathname to
	target_follow_exec, not hostpathname.  Call try_open_exec_file.
	* main.c (symbol_file_add_main_adapter): New function.
	(captured_main_1): Use it.
	* solib-svr4.c (open_symbol_file_object): Adjust to pass
	symfile_add_flags to symbol_file_add_main.
	* solib.c (exec_file_find): Incorporate fallback logic for relative
	pathnames formerly in exec_file_locate_attach.
	* symfile.c (symbol_file_add_main, symbol_file_add_main_1):
	Replace 'from_tty' parameter with a symfile_add_file.
	(symbol_file_command): Adjust to pass symfile_add_flags to
	symbol_file_add_main.
	* symfile.h (symbol_file_add_main): Replace 'from_tty' parameter
	with a symfile_add_file.

gdb/testsuite/ChangeLog:
2016-10-25  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.base/exec-invalid-sysroot.exp: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gas/arc: Don't rely on bfd list of cpu type for cpu selection
@ 2016-10-27 12:23 sergiodj+buildbot
  2016-11-05 12:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-27 12:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bb65a718b601ecfebd1ebe5be71728d5c359c31f ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: bb65a718b601ecfebd1ebe5be71728d5c359c31f

gas/arc: Don't rely on bfd list of cpu type for cpu selection

In the ARC assembler, when a cpu type is specified using the .cpu
directive, we rely on the bfd list of arc machine types in order to
validate the cpu name passed in.

This validation is only used in order to check that the cpu type passed
to the .cpu directive matches any machine type selected earlier on the
command line.  Once that initial check has passed a full check is
performed using the assemblers internal list of know cpu types.

The problem is that the assembler knows about more cpu types than bfd,
some cpu types known by the assembler are actually aliases for a base
cpu type plus a specific set of assembler extensions.  One such example
is NPS400, though more could be added later.

This commit removes the need for the assembler to use the bfd list of
machine types for validation.  Instead the error checking, to ensure
that any value passed to a '.cpu' directive matches any earlier command
line selection, is moved into the function arc_select_cpu.

I have taken the opportunity to bundle the 4 separate static globals
that describe the currently selected machine type into a single
structure (called selected_cpu).

gas/ChangeLog:

	* config/tc-arc.c (arc_target): Delete.
	(arc_target_name): Delete.
	(arc_features): Delete.
	(arc_mach_type): Delete.
	(mach_type_specified_p): Delete.
	(enum mach_selection_type): New enum.
	(mach_selection_mode): New static global.
	(selected_cpu): New static global.
	(arc_eflag): Rename to ...
	(arc_initial_eflag): ...this, and make const.
	(arc_select_cpu): Update comment, new parameter, check how
	previous machine type selection was made, and record this
	selection.  Use selected_cpu instead of old globals.
	(arc_option): Remove use of arc_get_mach, instead use
	arc_select_cpu to validate machine type selection.  Use
	selected_cpu over old globals.
	(allocate_tok): Use selected_cpu over old globals.
	(find_opcode_match): Likewise.
	(assemble_tokens): Likewise.
	(arc_cons_fix_new): Likewise.
	(arc_extinsn): Likewise.
	(arc_extcorereg): Likewise.
	(md_begin): Update default machine type selection, use
	selected_cpu over old globals.
	(md_parse_option): Update machine type selection option handling,
	use selected_cpu over old globals.
	* testsuite/gas/arc/nps400-0.s: Add .cpu directive.

bfd/ChangeLog:

	* cpu-arc.c (arc_get_mach): Delete.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove single-step breakpoint for GDBserver internal event
@ 2016-10-27 15:49 sergiodj+buildbot
  2016-11-05 15:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-27 15:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e3652c8460a6247f50e24deaca1c1c1c0e2a2573 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: e3652c8460a6247f50e24deaca1c1c1c0e2a2573

Remove single-step breakpoint for GDBserver internal event

This patch removes single-step breakpoints if the event is only
GDBserver internal, IOW, isn't reported back to GDB.

gdb/gdbserver:

2016-10-27  Yao Qi  <yao.qi@linaro.org>

	* linux-low.c (linux_wait_1): If single-step breakpoints are
	inserted, remove them.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Get pending events in random
@ 2016-10-27 17:15 sergiodj+buildbot
  2016-11-05 18:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-27 17:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 89342618773b64db3e67701c0cd9dd89cdbbc18a ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 89342618773b64db3e67701c0cd9dd89cdbbc18a

Get pending events in random

Nowadays, we select events to be reported to GDB in random, however
that is not enough when many GDBserver internal events (not reported
to GDB) are generated.

GDBserver pulls all events out of kernel via waitpid, and leave them
pending.  When goes through threads which have pending events,
GDBserver uses find_inferior to find the first thread which has
pending event, and consumes it.  Note that find_inferior always
iterate threads in a fixed order.  If multiple threads keep hitting
GDBserver breakpoints, range stepping with single-step breakpoint for
example, threads in the head of the thread list are more likely to be
processed and threads in the tail are starved.  This causes some timeout
fails in gdb.threads/non-stop-fair-events.exp when range stepping is
enabled on arm-linux.

This patch fixes this issue by randomly selecting pending events.  It
adds a new function find_inferior_in_random, which iterates threads
which have pending events randomly.

gdb/gdbserver:

2016-10-27  Yao Qi  <yao.qi@linaro.org>

	* inferiors.c (find_inferior_in_random): New function.
	* inferiors.h (find_inferior_in_random): Declare.
	* linux-low.c (linux_wait_for_event_filtered): Call
	find_inferior_in_random instead of find_inferior.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Enable range stepping if software single step is supported
@ 2016-10-27 17:39 sergiodj+buildbot
  2016-11-05 20:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-27 17:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c38058942ececeb32c381a838a10277ba43be94c ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: c38058942ececeb32c381a838a10277ba43be94c

Enable range stepping if software single step is supported

If the target can do software single step, it can do range
stepping.

gdb/gdbserver:

2016-10-27  Yao Qi  <yao.qi@linaro.org>

	* linux-low.c (linux_supports_agent): Return true if
	can_software_single_step return true.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] btrace: fix gap indication
@ 2016-10-28  9:54 sergiodj+buildbot
  2016-11-05 22:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-28  9:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 63ab433e29b2715f429551cdbec72dab0d752c20 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 63ab433e29b2715f429551cdbec72dab0d752c20

btrace: fix gap indication

Trace gaps due to overflows or non-contiguous trace are ignored in the 'info
record' command.  Fix that.

Also add a warning when decoding the trace and print the instruction number
preceding the trace gap in that warning message.  It looks like this:

    (gdb) info record
    Active record target: record-btrace
    Recording format: Intel Processor Trace.
    Buffer size: 16kB.
    warning: Decode error (-13) at instruction 101044 (offset = 0x29f0, pc = 0x7ffff728a642): no memory mapped at this address.
    Recorded 101044 instructions in 2093 functions (1 gaps) for thread 1 (process 5360).
    (gdb) record instruction-history 101044
    101044     0x00007ffff728a640:  pop    %r13
    [decode error (-13): no memory mapped at this address]

Remove the dead code that was supposed to print a gaps warning at the end of
trace decode.  This isn't really needed since we now print a warning for each
gap.

gdb/
	* btrace.c (ftrace_add_pt): Fix gap indication.  Add warning for non-
	contiguous trace and overflow.  Rephrase trace decode warning and print
	instruction number.  Remove dead gaps warning.
	(btrace_compute_ftrace_bts): Rephrase warnings and print instruction
	number.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] btrace: preserve function level for unexpected returns
@ 2016-10-28 12:08 sergiodj+buildbot
  2016-11-06  6:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-28 12:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 259ba1e8acfd5ade4b6fa81e68a5e694e438fa28 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 259ba1e8acfd5ade4b6fa81e68a5e694e438fa28

btrace: preserve function level for unexpected returns

When encountering a return for which we have not seen a corresponding call, GDB
starts a new back trace from level -1, i.e. from the level of the first function
in the trace.

In the presence of trace gaps, this may cause some rather big jump.

    (gdb) record function-call-history /c 192, +8
    192	                                          sbrk
    193	                                            brk
    194	                                              __x86.get_pc_thunk.bx
    195	                                            brk
    196	                                              __kernel_vsyscall
    197	[disabled]
    198	                                              __kernel_vsyscall
    199	        brk
    200	      sbrk

This doesn't help to make things more clear.  Let's remain on the same level
instead.

    (gdb) record function-call-history /c 192, +8
    192	      sbrk
    193	        brk
    194	          __x86.get_pc_thunk.bx
    195	        brk
    196	          __kernel_vsyscall
    197	[disabled]
    198	          __kernel_vsyscall
    199	        brk
    200	      sbrk

In this case it will look like we were able to connect the trace parts across
the disabled gap.  We were not.  More work is required to achieve this.

In the general case, the function-call history for the two trace parts won't
match.  They may be off by a few levels or they may be entirely different.  All
this patch does is to preserve the indentation level of the record
function-call-history command.

The disabled gap is caused by a sysenter not returning to the next instruction.

    (gdb) record function-call-history /i 196, +1
    196     __kernel_vsyscall       inst 66515,66519
    (gdb) record instruction-history 66515
    66515      0xb7fdcbf8 <__kernel_vsyscall+0>:    push   %ecx
    66516      0xb7fdcbf9 <__kernel_vsyscall+1>:    push   %edx
    66517      0xb7fdcbfa <__kernel_vsyscall+2>:    push   %ebp
    66518      0xb7fdcbfb <__kernel_vsyscall+3>:    mov    %esp,%ebp
    66519      0xb7fdcbfd <__kernel_vsyscall+5>:    sysenter
    [disabled]
    66520      0xb7fdcc08 <__kernel_vsyscall+16>:   pop    %ebp
    66521      0xb7fdcc09 <__kernel_vsyscall+17>:   pop    %edx
    66522      0xb7fdcc0a <__kernel_vsyscall+18>:   pop    %ecx
    66523      0xb7fdcc0b <__kernel_vsyscall+19>:   ret
    66524      0xb7e8e09e <brk+30>: xchg   %ecx,%ebx
    (gdb) disassemble 0xb7fdcbf8, 0xb7fdcc0c
    Dump of assembler code from 0xb7fdcbf8 to 0xb7fdcc0c:
       0xb7fdcbf8 <__kernel_vsyscall+0>:    push   %ecx
       0xb7fdcbf9 <__kernel_vsyscall+1>:    push   %edx
       0xb7fdcbfa <__kernel_vsyscall+2>:    push   %ebp
       0xb7fdcbfb <__kernel_vsyscall+3>:    mov    %esp,%ebp
       0xb7fdcbfd <__kernel_vsyscall+5>:    sysenter
       0xb7fdcbff <__kernel_vsyscall+7>:    nop
       0xb7fdcc00 <__kernel_vsyscall+8>:    nop
       0xb7fdcc01 <__kernel_vsyscall+9>:    nop
       0xb7fdcc02 <__kernel_vsyscall+10>:   nop
       0xb7fdcc03 <__kernel_vsyscall+11>:   nop
       0xb7fdcc04 <__kernel_vsyscall+12>:   nop
       0xb7fdcc05 <__kernel_vsyscall+13>:   nop
       0xb7fdcc06 <__kernel_vsyscall+14>:   int    $0x80
       0xb7fdcc08 <__kernel_vsyscall+16>:   pop    %ebp
       0xb7fdcc09 <__kernel_vsyscall+17>:   pop    %edx
       0xb7fdcc0a <__kernel_vsyscall+18>:   pop    %ecx
       0xb7fdcc0b <__kernel_vsyscall+19>:   ret
    End of assembler dump.

I've seen this on 32-bit Fedora 23.  I have not investigated what causes this
and whether we can avoid the gap in the first place.  Let's first try to make
GDB handle such gaps more gracefully.

gdb/
	* btrace.c (ftrace_new_return): Start from the previous function's level
	if we can't find a matching call for a return.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] btrace: bridge gaps
@ 2016-10-28 12:51 sergiodj+buildbot
  2016-11-06 10:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-28 12:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d87fdac3591d57c1a667b9d2dfeb05e3198b0b53 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: d87fdac3591d57c1a667b9d2dfeb05e3198b0b53

btrace: bridge gaps

Most of the time, the trace should be in one piece.  This case is handled fine
by GDB.  In some cases, however, there may be gaps in the trace.  They result
from trace decode errors or from overflows.

A gap in the trace means we lost an unknown amount of trace.  Gaps can be very
small, such as a few instructions in the same function, or they can be rather
big.  We may, for example, lose a few function calls or returns.  The trace may
continue in a different function and we likely don't know how we got there.

Even though we can't say how the program executed across a gap, higher levels
may not be impacted too much by it.  Let's assume we have functions a-e and a
trace that looks roughly like this:

  a
   \
    b                    b
     \                  /
      c   <gap>        c
                      /
                 d   d
                  \ /
                   e

Even though we can't say for sure, it is likely that b and c are the same
function instance before and after the gap.  This patch is trying to connect
the c and b function segments across the gap.

This will add a to the back trace of b on the right hand side.  The changes are
reflected in GDB's internal representation of the trace and will improve:

  - the output of "record function-call-history /c"
  - the output of "backtrace" in replay mode
  - source stepping in replay mode
    will be improved indirectly via the improved back trace

I don't have an automated test for this patch; decode errors will be fixed and
overflows occur sporadically and are quite rare.  I tested it by hacking GDB to
provoke a decode error and on the expected gap in the gdb.btrace/dlopen.exp
test.

The issue is that we can't predict where we will be able to re-sync in case of
errors.  For the expected decode error in gdb.btrace/dlopen.exp, for example, we
may be able to re-sync somewhere in dlclose, in test, in main, or not at all.

Here's one example run of gdb.btrace/dlopen.exp with and without this patch.

    (gdb) info record
    Active record target: record-btrace
    Recording format: Intel Processor Trace.
    Buffer size: 16kB.
    warning: Non-contiguous trace at instruction 66608 (offset = 0xa83, pc = 0xb7fdcc31).
    warning: Non-contiguous trace at instruction 66652 (offset = 0xa9b, pc = 0xb7fdcc31).
    warning: Non-contiguous trace at instruction 66770 (offset = 0xacb, pc = 0xb7fdcc31).
    warning: Non-contiguous trace at instruction 66966 (offset = 0xb60, pc = 0xb7ff5ee4).
    warning: Non-contiguous trace at instruction 66994 (offset = 0xb74, pc = 0xb7ff5f24).
    warning: Non-contiguous trace at instruction 67334 (offset = 0xbac, pc = 0xb7ff5e6d).
    warning: Non-contiguous trace at instruction 69022 (offset = 0xc04, pc = 0xb7ff60b3).
    warning: Non-contiguous trace at instruction 69116 (offset = 0xc1c, pc = 0xb7ff60b3).
    warning: Non-contiguous trace at instruction 69504 (offset = 0xc74, pc = 0xb7ff605d).
    warning: Non-contiguous trace at instruction 83648 (offset = 0xecc, pc = 0xb7ff6134).
    warning: Decode error (-13) at instruction 83876 (offset = 0xf48, pc = 0xb7fd6380): no memory mapped at this address.
    warning: Non-contiguous trace at instruction 83876 (offset = 0x11b7, pc = 0xb7ff1c70).
    Recorded 83948 instructions in 912 functions (12 gaps) for thread 1 (process 12996).
    (gdb) record instruction-history 83876, +2
    83876   => 0xb7fec46f <call_init.part.0+95>:    call   *%eax
    [decode error (-13): no memory mapped at this address]
    [disabled]
    83877      0xb7ff1c70 <_dl_close_worker.part.0+1584>:   nop

Without the patch, the trace is disconnected and the backtrace is short:

    (gdb) record goto 83876
    #0  0xb7fec46f in call_init.part () from /lib/ld-linux.so.2
    (gdb) backtrace
    #0  0xb7fec46f in call_init.part () from /lib/ld-linux.so.2
    #1  0xb7fec5d0 in _dl_init () from /lib/ld-linux.so.2
    #2  0xb7ff0fe3 in dl_open_worker () from /lib/ld-linux.so.2
    Backtrace stopped: not enough registers or memory available to unwind further
    (gdb) record goto 83877
    #0  0xb7ff1c70 in _dl_close_worker.part.0 () from /lib/ld-linux.so.2
    (gdb) backtrace
    #0  0xb7ff1c70 in _dl_close_worker.part.0 () from /lib/ld-linux.so.2
    #1  0xb7ff287a in _dl_close () from /lib/ld-linux.so.2
    #2  0xb7fc3d5d in dlclose_doit () from /lib/libdl.so.2
    #3  0xb7fec354 in _dl_catch_error () from /lib/ld-linux.so.2
    #4  0xb7fc43dd in _dlerror_run () from /lib/libdl.so.2
    #5  0xb7fc3d98 in dlclose () from /lib/libdl.so.2
    #6  0x0804860a in test ()
    #7  0x08048628 in main ()

With the patch, GDB is able to connect the trace pieces and we get a full
backtrace.

    (gdb) record goto 83876
    #0  0xb7fec46f in call_init.part () from /lib/ld-linux.so.2
    (gdb) backtrace
    #0  0xb7fec46f in call_init.part () from /lib/ld-linux.so.2
    #1  0xb7fec5d0 in _dl_init () from /lib/ld-linux.so.2
    #2  0xb7ff0fe3 in dl_open_worker () from /lib/ld-linux.so.2
    #3  0xb7fec354 in _dl_catch_error () from /lib/ld-linux.so.2
    #4  0xb7ff02e2 in _dl_open () from /lib/ld-linux.so.2
    #5  0xb7fc3c65 in dlopen_doit () from /lib/libdl.so.2
    #6  0xb7fec354 in _dl_catch_error () from /lib/ld-linux.so.2
    #7  0xb7fc43dd in _dlerror_run () from /lib/libdl.so.2
    #8  0xb7fc3d0e in dlopen@@GLIBC_2.1 () from /lib/libdl.so.2
    #9  0xb7ff28ee in _dl_runtime_resolve () from /lib/ld-linux.so.2
    #10 0x0804841c in ?? ()
    #11 0x08048470 in dlopen@plt ()
    #12 0x080485a3 in test ()
    #13 0x08048628 in main ()
    (gdb) record goto 83877
    #0  0xb7ff1c70 in _dl_close_worker.part.0 () from /lib/ld-linux.so.2
    (gdb) backtrace
    #0  0xb7ff1c70 in _dl_close_worker.part.0 () from /lib/ld-linux.so.2
    #1  0xb7ff287a in _dl_close () from /lib/ld-linux.so.2
    #2  0xb7fc3d5d in dlclose_doit () from /lib/libdl.so.2
    #3  0xb7fec354 in _dl_catch_error () from /lib/ld-linux.so.2
    #4  0xb7fc43dd in _dlerror_run () from /lib/libdl.so.2
    #5  0xb7fc3d98 in dlclose () from /lib/libdl.so.2
    #6  0x0804860a in test ()
    #7  0x08048628 in main ()

It worked nicely in this case but it may, of course, also lead to weird
connections; it is a heuristic, after all.

It works best when the gap is small and the trace pieces are long.

gdb/
	* btrace.c (bfun_s): New typedef.
	(ftrace_update_caller): Print caller in debug dump.
	(ftrace_get_caller, ftrace_match_backtrace, ftrace_fixup_level)
	(ftrace_compute_global_level_offset, ftrace_connect_bfun)
	(ftrace_connect_backtrace, ftrace_bridge_gap, btrace_bridge_gaps): New.
	(btrace_compute_ftrace_bts): Pass vector of gaps.  Collect gaps.
	(btrace_compute_ftrace_pt): Likewise.
	(btrace_compute_ftrace): Split into this, ...
	(btrace_compute_ftrace_1): ... this, and ...
	(btrace_finalize_ftrace): ... this.  Call btrace_bridge_gaps.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix gdb.base/maint.exp regressions
@ 2016-10-28 14:01 sergiodj+buildbot
  2016-11-06 13:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-28 14:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 44d83468ec8e5fccf904d66b752ac36e07d66c56 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 44d83468ec8e5fccf904d66b752ac36e07d66c56

Fix gdb.base/maint.exp regressions

This commit fixes these regressions:

 FAIL: gdb.base/maint.exp: mt set per on for expand-symtabs
 FAIL: gdb.base/maint.exp: maint set per-command on

caused by commit 1e3b796d58ac ("Change command stats reporting to use
class").

gdb.log shows that the command stats are now printing garbage:

 (gdb) mt set per on
 Command execution time: -6.-419590 (cpu), 1467139648.-7706296840 (wall)
 Space used: 9809920 (-33276528 for this command)
 (gdb) FAIL: gdb.base/maint.exp: mt set per on for expand-symtabs

while there should have been no output at all.

The stats printing is done from within the scoped_command_stats's
destructor, depending on whether some flags in the object are set.
The problem is simply that scoped_command_stats's ctor misses clearing
those flags on some paths.

Since scoped_command_stats objects are allocated on the stack, whether
you'll see the regression simply depends on whatever happens to
already be on the stack space the object occupies.

gdb/ChangeLog:
2016-10-28  Pedro Alves  <palves@redhat.com>

	* maint.c (scoped_command_stats::scoped_command_stats): Clear
	m_space_enabled, m_time_enabled and m_symtab_enabled.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Make gdb.base/foll-exec.exp test pattern more general
@ 2016-10-28 15:01 sergiodj+buildbot
  2016-11-06 16:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-28 15:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b129b0cacd4c8e982605b7c8d99e96c74155882a ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: b129b0cacd4c8e982605b7c8d99e96c74155882a

Make gdb.base/foll-exec.exp test pattern more general

Testing a powerpc toolchain running gdbserver on the other end i noticed a
failure in gdb.base/foll-exec.exp.  Turns out gdb is outputting a slightly
different pattern due to the presence of debug information.

--
foll-exec is about to execlp(execd-prog)...^M
Continuing.^M
process 21222 is executing new program: gdb.d/outputs/gdb.base/foll-exec/execd-prog^M
^M
Catchpoint 2 (exec'd gdb.d/outputs/gdb.base/foll-exec/execd-prog), _start () at ../sysdeps/powerpc/powerpc32/dl-start.S:32^M
--

Notice the presence of source file information.

Now, on my local machine, i get this:

--
foll-exec is about to execlp(execd-prog)...^M
Continuing.^M
process 9285 is executing new program: gdb/testsuite/outputs/gdb.base/foll-exec/execd-prog^M
^M
Catchpoint 2 (exec'd gdb/testsuite/outputs/gdb.base/foll-exec/execd-prog), 0x00007ffff7dd7cc0 in ?? () from /lib64/ld-linux-x86-64.so.2^M
--

So the output differs slightly and the testcase is actually expecting only
the second form with the "in" anchor.

This patch removes the "in" pattern and lets the test match both kinds of
output.

gdb/testsuite/ChangeLog:

2016-10-28  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
	general.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb/testsuite: Avoid a buffer overrun in `gdb.base/maint.exp'
@ 2016-10-28 15:46 sergiodj+buildbot
  2016-11-06 19:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-28 15:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f610ab6d3cbab5d8b8ef3f3a93dd81a800ec5725 ***

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

gdb/testsuite: Avoid a buffer overrun in `gdb.base/maint.exp'

Fixes:

 PASS: gdb.base/maint.exp: maint w/o args
 ERROR: internal buffer is full.
 UNRESOLVED: gdb.base/maint.exp: maint info line-table w/o a file name

The problem is just many symtabs and long line tables, enough to
overflow the expect buffer.  Fix this by matching input incrementally.

gdb/testsuite/ChangeLog:
2016-10-28  Pedro Alves  <palves@redhat.com>

	* gdb.base/maint.exp <maint info line-table w/o a file name>: Use
	gdb_test_multiple, tighten regexps and match symtabs and line
	tables incrementally.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Import AX_CXX_COMPILE_STDCXX from the GNU Autoconf Archive
@ 2016-10-28 16:20 sergiodj+buildbot
  2016-11-06 20:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-28 16:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 87106a7b0a3c403832f15aa316d5d6d2434e323f ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 87106a7b0a3c403832f15aa316d5d6d2434e323f

gdb: Import AX_CXX_COMPILE_STDCXX from the GNU Autoconf Archive

This macro throws C++11 code at the compiler in order to check whether
it supports C++11.  final/override, rvalue references, static_assert,
decltype, auto, constexpr, etc., and adds -std=gnu++11 to CXX if
necessary.

Nothing uses the macro yet.  Simply adding it as separate preliminary
step because we'll need local changes.

gdb/ChangeLog
2016-10-28  Pedro Alves  <palves@redhat.com>

	* ax_cxx_compile_stdcxx.m4: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Require C++11
@ 2016-10-28 17:46 sergiodj+buildbot
  2016-11-07  1:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-28 17:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0bcda68539948828795564b35a497dc69c27f768 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 0bcda68539948828795564b35a497dc69c27f768

gdb: Require C++11

Use AX_CXX_COMPILE_STDCXX to detect if the compiler supports C++11,
and if -std=xxx switches are necessary to enable C++11.

We need to tweak AX_CXX_COMPILE_STDCXX a bit though.  Pristine
upstream AX_CXX_COMPILE_STDCXX appends -std=gnu++11 to CXX directly.
That doesn't work for us, because the top level Makefile passes CXX
down to subdirs, and that overrides whatever gdb/Makefile may set CXX
to.  The result would be that a make invocation from the build/gdb/
directory would use "g++ -std=gnu++11" as expected, while a make
invocation at the top level would not.

So instead of having AX_CXX_COMPILE_STDCXX set CXX directly, tweak it
to AC_SUBST a separate variable -- CXX_DIALECT -- and use '$(CXX)
(CXX_DIALECT)' to compile/link.

Confirmed that this enables C++11 starting with gcc 4.8, the first gcc
release with full C++11 support.

Also confirmed that configure errors out gracefully with older GCC
releases:

  checking whether /opt/gcc-4.7/bin/g++ supports C++11 features by default... no
  checking whether /opt/gcc-4.7/bin/g++ supports C++11 features with -std=gnu++11... no
  checking whether /opt/gcc-4.7/bin/g++ supports C++11 features with -std=gnu++0x... no
  checking whether /opt/gcc-4.7/bin/g++ supports C++11 features with -std=c++11... no
  checking whether /opt/gcc-4.7/bin/g++ supports C++11 features with -std=c++0x... no
  checking whether /opt/gcc-4.7/bin/g++ supports C++11 features with +std=c++11... no
  checking whether /opt/gcc-4.7/bin/g++ supports C++11 features with -h std=c++11... no
  configure: error: *** A compiler with support for C++11 language features is required.
  Makefile:9451: recipe for target 'configure-gdb' failed
  make[1]: *** [configure-gdb] Error 1
  make[1]: Leaving directory '/home/pedro/brno/pedro/gdb/mygit/cxx-convertion/build-gcc-4.7'

If we need to revert back to making C++11 optional, all that's
necessary is to change the "mandatory" to "optional" in configure.ac
and regenerate configure (both gdb and gdbserver).

gdb/ChangeLog:
2016-10-28  Pedro Alves  <palves@redhat.com>

	* Makefile.in (CXX_DIALECT): Get from configure.
	(COMPILE.pre, CC_LD): Append $(CXX_DIALECT).
	(FLAGS_TO_PASS): Pass CXX_DIALECT.
	* acinclude.m4: Include ax_cxx_compile_stdcxx.m4.
	* ax_cxx_compile_stdcxx.m4: Add FSF copyright header.  Set and
	AC_SUBST CXX_DIALECT instead of changing CXX/CXXCPP.
	* configure.ac: Call AX_CXX_COMPILE_STDCXX.
	* config.in: Regenerate.
	* configure: Regenerate.

gdb/gdbserver/ChangeLog:
2016-10-28  Pedro Alves  <palves@redhat.com>

	* Makefile.in (CXX_DIALECT): Get from configure.
	(COMPILE.pre, CC_LD): Append $(CXX_DIALECT).
	* acinclude.m4: Include ../ax_cxx_compile_stdcxx.m4.
	* configure.ac: Call AX_CXX_COMPILE_STDCXX.
	* config.in: Regenerate.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Support command-line redirection in native MS-Windows debugging
@ 2016-10-29 16:13 sergiodj+buildbot
  2016-11-07  5:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-29 16:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8ba42bc5da8015fd0bd9e7f021af9cb0ef252005 ***

Author: Eli Zaretskii <eliz@gnu.org>
Branch: master
Commit: 8ba42bc5da8015fd0bd9e7f021af9cb0ef252005

Support command-line redirection in native MS-Windows debugging

gdb/ChangeLog
2016-10-29  Eli Zaretskii  <eliz@gnu.org>

	* NEWS: Mention support for redirection on MS-Windows.

	* windows-nat.c (redir_open, redir_set_redirection)
	(redirect_inferior_handles) [!__CYGWIN__]: New functions.
	(windows_create_inferior) [!__CYGWIN__]: Use
	'redirect_inferior_handles' to redirect standard handles of the
	debuggee if the command line requests that.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb/NEWS: Mention C++11 requirement
@ 2016-10-29 16:50 sergiodj+buildbot
  2016-11-07  9:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-29 16:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d29469235333ac99df5476499a59998ce49b39fa ***

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

gdb/NEWS: Mention C++11 requirement

gdb/ChangeLog:
2016-10-29  Pedro Alves  <palves@redhat.com>

	* NEWS: Adjust to mention C++11 requirement.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb/NEWS: Clarify C++ requirement
@ 2016-10-29 17:56 sergiodj+buildbot
  2016-11-07 13:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-29 17:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e6485aafde098bf182b46cb187d8fd049f309e29 ***

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

gdb/NEWS: Clarify C++ requirement

gdb/ChangeLog:
2016-10-29  Pedro Alves  <palves@redhat.com>

	* NEWS: Clarify C++ requirement.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS: Remove remains of IRIX OS ABI support
@ 2016-10-31 17:24 sergiodj+buildbot
  2016-11-07 23:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-31 17:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT de4bfa865e5ea54f2ab5b7af53e4abe825da699e ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: de4bfa865e5ea54f2ab5b7af53e4abe825da699e

MIPS: Remove remains of IRIX OS ABI support

Complement commit 3831839c089c ("Delete IRIX support") and remove dead
MIPS target IRIX OS ABI support code.

	gdb/
	* defs.h (gdb_osabi): Remove GDB_OSABI_IRIX enum value.
	* osabi.c (gdb_osabi_names): Remove "Irix" entry.
	* mips-tdep.c (mips_irix_reg_names): Remove.
	(mips_register_type): Remove GDB_OSABI_IRIX code.
	(mips_pseudo_register_type): Likewise.
	(mips_breakpoint_from_pc): Likewise.
	(mips_gdbarch_init): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS: Remove remains of legacy remote target support
@ 2016-10-31 18:27 sergiodj+buildbot
  2016-11-08  5:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-31 18:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7e3d947dd6ae45d71aa175b96fbd42a51e93b3f8 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 7e3d947dd6ae45d71aa175b96fbd42a51e93b3f8

MIPS: Remove remains of legacy remote target support

Complement commit f7c382926d78 ("Remove support for "target m32rsdi" and
"target mips/pmon/ddb/rockhopper/lsi"") and remove dead MIPS target code
which used to support these legacy remote targets.

	gdb/
	* mips-tdep.c (mips_r3041_reg_names): Remove.
	(mips_breakpoint_from_pc): Remove IDT and PMON breakpoint
	encodings.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove IRIX 5 <sys/proc.h> _KMEMUSER workaround
@ 2016-10-31 19:02 sergiodj+buildbot
  2016-11-08  8:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-10-31 19:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c50730217d606814cda69a2bb6975730c0f1ee63 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: c50730217d606814cda69a2bb6975730c0f1ee63

Remove IRIX 5 <sys/proc.h> _KMEMUSER workaround

Complement commit 3831839c089c ("Delete IRIX support") and remove the
IRIX 5 <sys/proc.h> _KMEMUSER workaround from the `configure' script, as
IRIX is no longer a supported host configuration.

	gdb/
	* configure.ac <mips-sgi-irix5*>: Remove <sys/proc.h> _KMEMUSER
	workaround.
	* configure: Regenerate.
	* config.in: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add support for RISC-V architecture.
@ 2016-11-01 17:00 sergiodj+buildbot
  2016-11-08 10:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-01 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e23eba971dd409b999dd83d8df0f842680c1c642 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: e23eba971dd409b999dd83d8df0f842680c1c642

Add support for RISC-V architecture.

bfd	* Makefile.am: Add entries for riscv32-elf and riscv64-elf.
	* config.bdf: Likewise.
	* configure.ac: Likewise.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
	* archures.c: Add bfd_riscv_arch.
	* reloc.c: Add riscv relocs.
	* targets.c: Add riscv_elf32_vec and riscv_elf64_vec.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
	* elf-bfd.h: Add RISCV_ELF_DATA to enum elf_target_id.
	* elfnn-riscv.c: New file.
	* elfxx-riscv.c: New file.
	* elfxx-riscv.h: New file.

binutils* readelf.c (guess_is_rela): Add EM_RISCV.
	(get_machine_name): Likewise.
	(dump_relocations): Add support for riscv relocations.
	(get_machine_flags): Add support for riscv flags.
	(is_32bit_abs_reloc): Add R_RISCV_32.
	(is_64bit_abs_reloc): Add R_RISCV_64.
	(is_none_reloc): Add R_RISCV_NONE.
	* testsuite/binutils-all/objdump.exp (cpus_expected): Add riscv.
	Expect the debug_ranges test to fail.

gas	* Makefile.am: Add riscv files.
	* Makefile.in: Regenerate.
	* NEWS: Mention the support for this architecture.
	* configure.in: Define a default architecture.
	* configure: Regenerate.
	* configure.tgt: Add entries for riscv.
	* doc/as.texinfo: Likewise.
	* testsuite/gas/all/gas.exp: Expect the redef tests to fail.
	* testsuite/gas/elf/elf.exp: Expect the groupauto tests to fail.
	* config/tc-riscv.c: New file.
	* config/tc-riscv.h: New file.
	* doc/c-riscv.texi: New file.
	* testsuite/gas/riscv: New directory.
	* testsuite/gas/riscv/riscv.exp: New file.
	* testsuite/gas/riscv/t_insns.d: New file.
	* testsuite/gas/riscv/t_insns.s: New file.

ld	* Makefile.am: Add riscv files.
	* Makefile.in: Regenerate.
	* NEWS: Mention the support for this target.
	* configure.tgt: Add riscv entries.
	* emulparams/elf32lriscv-defs.sh: New file.
	* emulparams/elf32lriscv.sh: New file.
	* emulparams/elf64lriscv-defs.sh: New file.
	* emulparams/elf64lriscv.sh: New file.
	* emultempl/riscvelf.em: New file.

opcodes	* configure.ac: Add entry for bfd_riscv_arch.
	* configure: Regenerate.
	* disassemble.c (disassembler): Add support for riscv.
	(disassembler_usage): Likewise.
	* riscv-dis.c: New file.
	* riscv-opc.c: New file.

include	* dis-asm.h: Add prototypes for print_insn_riscv and
	print_riscv_disassembler_options.
	* elf/riscv.h: New file.
	* opcode/riscv-opc.h: New file.
	* opcode/riscv.h: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] BFD: Fix double BFD_FAIL calls in `bfd_default_reloc_type_lookup'
@ 2016-11-01 23:28 sergiodj+buildbot
  2016-11-08 12:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-01 23:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT af955fe696088e69b436947b4a6f134567d31793 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: af955fe696088e69b436947b4a6f134567d31793

BFD: Fix double BFD_FAIL calls in `bfd_default_reloc_type_lookup'

Break out of the outer switch statement once the inner switch for the
BFD_RELOC_CTOR relocation has been processed, preventing double BFD_FAIL
calls from being made, once from the inner switch and then again from
the default case of the outer switch.

Noticed with a `-Wimplicit-fallthrough' build error reported by a recent
GCC version:

In file included from .../bfd/reloc.c:52:0:
.../bfd/reloc.c: In function 'bfd_default_reloc_type_lookup':
.../bfd/libbfd.h:779:8: error: this statement may fall through [-Werror=implicit-fallthrough=]
   do { bfd_assert(__FILE__,__LINE__); } while (0)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.../bfd/reloc.c:7780:4: note: in expansion of macro 'BFD_FAIL'
    BFD_FAIL ();
    ^~~~~~~~
.../bfd/reloc.c:7782:5: note: here
     default:
     ^~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [reloc.lo] Error 1

	bfd/
	* reloc.c (bfd_default_reloc_type_lookup) <BFD_RELOC_CTOR>: Do
	not fall through to the default case.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Enable Intel AVX512_4FMAPS instructions
@ 2016-11-02 19:39 sergiodj+buildbot
  2016-11-08 15:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-02 19:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 920d2ddccb72a366140ed28283165b274f7a9045 ***

Author: Igor Tsimbalist <igor.v.tsimbalist@intel.com>
Branch: master
Commit: 920d2ddccb72a366140ed28283165b274f7a9045

Enable Intel AVX512_4FMAPS instructions

gas/

	* config/tc-i386.c (cpu_arch): Add .avx512_4fmaps.
	(cpu_noarch): Add noavx512_4fmaps.
	(process_operands): Handle implicit quad group.
	* doc/c-i386.texi: Document avx512_4fmaps, noavx512_4fmaps.
	* testsuite/gas/i386/i386.exp: Add AVX512_4FMAPS tests.
	* testsuite/gas/i386/avx512_4fmaps_vl-intel.d: New test.
	* testsuite/gas/i386/avx512_4fmaps_vl.d: Ditto.
	* testsuite/gas/i386/avx512_4fmaps_vl.s: Ditto.
	* testsuite/gas/i386/avx512_4fmaps-intel.d: Ditto.
	* testsuite/gas/i386/avx512_4fmaps.d: Ditto.
	* testsuite/gas/i386/avx512_4fmaps.s: Ditto.
	* testsuite/gas/i386/avx512_4fmaps-warn.l: Ditto.
	* testsuite/gas/i386/avx512_4fmaps-warn.s: Ditto.
	* testsuite/gas/i386/avx512_4fmaps_vl-warn.l: Ditto.
	* testsuite/gas/i386/avx512_4fmaps_vl-warn.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps_vl-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps_vl.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps_vl.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps-warn.l: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps-warn.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.l: Ditto.
	* testsuite/gas/i386/x86-64-avx512_4fmaps_vl-warn.s: Ditto.

opcodes/

	* i386-dis.c. (enum): Add PREFIX_EVEX_0F389A,
	PREFIX_EVEX_0F389B, PREFIX_EVEX_0F38AA, PREFIX_EVEX_0F38AB.
	* i386-dis-evex.h (evex_table): Updated.
	* i386-gen.c (cpu_flag_init): Add CPU_AVX512_4FMAPS_FLAGS,
	CPU_ANY_AVX512_4FMAPS_FLAGS. Update CPU_ANY_AVX512F_FLAGS.
	(cpu_flags): Add CpuAVX512_4FMAPS.
	(opcode_modifiers): Add ImplicitQuadGroup modifier.
	* i386-opc.h (AVX512_4FMAP): New.
	(i386_cpu_flags): Add cpuavx512_4fmaps.
	(ImplicitQuadGroup): New.
	(i386_opcode_modifier): Add implicitquadgroup.
	* i386-opc.tbl: Add Intel AVX512_4FMAPS instructions.
	* i386-init.h: Regenerate.
	* i386-tbl.h: Ditto.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix dwarf_expr_context method regressions
@ 2016-11-02 22:29 sergiodj+buildbot
  2016-11-08 21:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-02 22:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7d5697f9e27f79e1decc1215f33088cee9f7d863 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 7d5697f9e27f79e1decc1215f33088cee9f7d863

Fix dwarf_expr_context method regressions

This fixes some regressions found in the patch to convert
dwarf_expr_context to use methods.  Specifically:

* get_base_type could erroneously throw; this was rewritten to move
  the size checks into the only spot needing them.
* Previously the "symbol needs frame" implementation reused th
  "cfa" function for the get_frame_pc slot; this reimplements
  it under the correct name.
* Not enough members were saved and restored in one implementation
  of push_dwarf_reg_entry_value; this patch fixes this oversight
  and also takes the opportunity to remove an extraneous structure
  definition.

2016-11-02  Tom Tromey  <tom@tromey.com>

	* dwarf2loc.c (dwarf_evaluate_loc_desc::get_base_type): Rename
	from impl_get_base_type.  Rewrite.
	(struct dwarf_expr_baton): Remove.
	(dwarf_evaluate_loc_desc::push_dwarf_reg_entry_value): Save and
	restore more fields.
	(symbol_needs_eval_context::get_frame_pc): New method.
	* dwarf2expr.h (dwarf_expr_context::get_base_type): Now public,
	virtual.
	(dwarf_expr_context::impl_get_base_type): Remove.
	* dwarf2expr.c (dwarf_expr_context::get_base_type): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Updated Danish translation for the BFD library.
@ 2016-11-03 11:46 sergiodj+buildbot
  2016-11-09  0:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 11:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 225b362d1036121a611f3dd17fdb6780070ba51f ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 225b362d1036121a611f3dd17fdb6780070ba51f

Updated Danish translation for the BFD library.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbarch_breakpoint_from_pc doesn't return NULL
@ 2016-11-03 15:00 sergiodj+buildbot
  2016-11-09  4:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 15:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8b55a7e4e5b30877e924e4b0ed0437d16ccdcedf ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 8b55a7e4e5b30877e924e4b0ed0437d16ccdcedf

gdbarch_breakpoint_from_pc doesn't return NULL

gdbarch_breakpoint_from_pc doesn't return NULL except for
ia64_breakpoint_from_pc, and we checked its return value in three
places. In microblaze_linux_memory_remove_breakpoint and
ppc_linux_memory_remove_breakpoint, gdbarch_breakpoint_from_pc never
returns NULL, so we can remove the NULL checking.  In
default_memory_insert_breakpoint, gdbarch_breakpoint_from_pc can't
returns NULL too because ia64 defines its own memory_insert_breakpoint.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* mem-break.c (default_memory_insert_breakpoint): Don't check
	'bp' against NULL.
	* microblaze-linux-tdep.c (microblaze_linux_memory_remove_breakpoint):
	Likewise.
	* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION
@ 2016-11-03 15:14 sergiodj+buildbot
  2016-11-09  7:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 15:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 598cc9dc84aeaa66e4a77efa9dc8ff03d5532620 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 598cc9dc84aeaa66e4a77efa9dc8ff03d5532620

GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION

Many archs have only one kind of breakpoint, so their breakpoint_from_pc
implementations are quite similar.  This patch uses macro
GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION
for breakpoint_from_pc, so that we can easily switch from
breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind
later.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* arch-utils.h (GDBARCH_BREAKPOINT_MANIPULATION): New macro.
	(SET_GDBARCH_BREAKPOINT_MANIPULATION): New macro.
	aarch64-tdep.c (aarch64_breakpoint_from_pc): Remove.  Use
	GDBARCH_BREAKPOINT_MANIPULATION.
	(aarch64_gdbarch_init): Replace set_gdbarch_breakpoint_from_pc
	with SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* alpha-tdep.c: Likewise.
	* avr-tdep.c: Likewise.
	* frv-tdep.c: Likewise.
	* ft32-tdep.c: Likewise.
	* h8300-tdep.c: Likewise.
	* hppa-tdep.c: Likewise.
	* i386-tdep.c: Likewise.
	* lm32-tdep.c: Likewise.
	* m32c-tdep.c: Likewise.
	* m68hc11-tdep.c: Likewise.
	* m68k-tdep.c: Likewise.
	* m88k-tdep.c: Likewise.
	* mep-tdep.c: Likewise.
	* microblaze-tdep.c: Likewise.
	* mn10300-tdep.c: Likewise.
	* moxie-tdep.c: Likewise.
	* msp430-tdep.c: Likewise.
	* rl78-tdep.c: Likewise.
	* rx-tdep.c: Likewise.
	* s390-linux-tdep.c: Likewise.
	* sparc-tdep.c: Likewise.
	* spu-tdep.c: Likewise.
	* tilegx-tdep.c: Likewise.
	* vax-tdep.c: Likewise.
	* xstormy16-tdep.c: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Split breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind
@ 2016-11-03 15:35 sergiodj+buildbot
  2016-11-09 14:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 15:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d19280adb5b2d1470dc39756ccac8a8fa2af8321 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: d19280adb5b2d1470dc39756ccac8a8fa2af8321

Split breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind

We convert each ARCH_breakpoint_from_pc to ARCH_breakpoint_kind_from_pc
and ARCH_sw_breakpoint_from_kind.  Note that gdbarch doesn't have methods
breakpoint_kind_from_pc and sw_breakpoint_from_kind so far.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* arch-utils.h (GDBARCH_BREAKPOINT_FROM_PC): New macro.
	(GDBARCH_BREAKPOINT_MANIPULATION_ENDIAN): New macro.
	* arm-tdep.c (arm_breakpoint_from_pc): Remove.
	(arm_breakpoint_kind_from_pc): New function.
	(arm_sw_breakpoint_from_kind): New function.
	(arm_breakpoint_from_pc): Call arm_breakpoint_kind_from_pc
	and arm_sw_breakpoint_from_kind.
	Use GDBARCH_BREAKPOINT_FROM_PC.
	(arm_remote_breakpoint_from_pc): Call
	arm_breakpoint_kind_from_pc.
	(arm_gdbarch_init): Replace set_gdbarch_breakpoint_from_pc
	with SET_GDBARCH_BREAKPOINT_MANIPULATION.
	* arc-tdep.c: Likewise.
	* bfin-tdep.c: Likewise.
	* cris-tdep.c: Likewise.
	* iq2000-tdep.c: Likewise.
	* m32r-tdep.c: Likewise.
	* mips-tdep.c: Likewise.
	* mt-tdep.c: Likewise.
	* nios2-tdep.c: Likewise.
	* rs6000-tdep.c: Likewise.
	* score-tdep.c: Likewise.
	* sh-tdep.c: Likewise.
	* sh64-tdep.c: Likewise.
	* tic6x-tdep.c: Likewise.
	* v850-tdep.c: Likewise.
	* xtensa-tdep.c: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] New gdbarch methods breakpoint_kind_from_pc and sw_breakpoint_from_kind
@ 2016-11-03 15:40 sergiodj+buildbot
  2016-11-09 17:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 15:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd6c3b4ffc4ea6f56f12581419e2eed885441beb ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: cd6c3b4ffc4ea6f56f12581419e2eed885441beb

New gdbarch methods breakpoint_kind_from_pc and sw_breakpoint_from_kind

This patch adds two gdbarch methods breakpoint_kind_from_pc and
sw_breakpoint_from_kind, and uses target_info.placed_size as "kind"
of the breakpoint.  This patch updates the usages of
target_info.placed_size.

The "kind" of a breakpoint is determined by gdbarch rather than
target, so we have gdbarch method breakpoint_kind_from_pc, and we
should set target_info.placed_size out of each implementation of
target to_insert_breakpoint.  In this way, each target doesn't have
to set target_info.placed_size any more.

This patch also sets target_info.placed_address before
target_insert_breakpoint too, so that target to_insert_breakpoint
can use it, see record_full_insert_breakpoint.

Before we call target_insert_breakpoint, we set
target_info.placed_address and target_info.placed_size like this,

      CORE_ADDR addr = bl->target_info.reqstd_address;

      bl->target_info.placed_size = gdbarch_breakpoint_kind_from_pc (bl->gdbarch, &addr);
      bl->target_info.placed_address = addr;

      return target_insert_breakpoint (bl->gdbarch, &bl->target_info);

target_insert_breakpoint may fail, but it doesn't matter to the "kind"
and "placed_address" of a breakpoint.  They should be determined by
gdbarch.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* arch-utils.h (GDBARCH_BREAKPOINT_MANIPULATION): Define
	breakpoint_kind_from_pc and sw_breakpoint_from_kind.
	(GDBARCH_BREAKPOINT_MANIPULATION_ENDIAN): Likewise.
	(SET_GDBARCH_BREAKPOINT_MANIPULATION): Call
	set_gdbarch_breakpoint_kind_from_pc and
	set_gdbarch_sw_breakpoint_from_kind.
	* arm-tdep.c: Add comments.
	* bfin-tdep.c: Likewise.
	* breakpoint.c (breakpoint_kind): New function.
	(insert_bp_location): Set target_info.placed_size and
	target_info.placed_address.
	(bkpt_insert_location): Likewise.
	* cris-tdep.c: Add comments.
	* gdbarch.sh (breakpoint_kind_from_pc): New.
	(sw_breakpoint_from_kind): New.
	* gdbarch.c, gdbarch.h: Regenerated.
	* ia64-tdep.c (ia64_memory_insert_breakpoint): Don't set
	bp_tgt->placed_size.
	(ia64_memory_remove_breakpoint): Don't assert
	bp_tgt->placed_size.
	(ia64_breakpoint_kind_from_pc): New function.
	(ia64_gdbarch_init): Install ia64_breakpoint_kind_from_pc.
	* m32r-tdep.c (m32r_memory_insert_breakpoint): Don't set
	bp_tgt->placed_size.
	* mem-break.c (default_memory_insert_breakpoint): Don't set
	bp_tgt->placed_size.  Call gdbarch_sw_breakpoint_from_kind.
	(default_memory_remove_breakpoint): Call
	gdbarch_sw_breakpoint_from_kind.
	(memory_validate_breakpoint): Don't check bp_tgt->placed_size.
	* mips-tdep.c: Add comments.
	* mt-tdep.c: Likewise.
	* nios2-tdep.c: Likewise.
	* record-full.c (record_full_insert_breakpoint): Don't call
	gdbarch_breakpoint_from_pc.  Don't set bp_tgt->placed_address
	and bp_tgt->placed_size.
	* remote.c (remote_insert_breakpoint): Don't call
	gdbarch_remote_breakpoint_from_pc.  Use bp_tgt->placed_size.
	Don't set bp_tgt->placed_address and bp_tgt->placed_size.
	(remote_insert_hw_breakpoint): Likewise.
	* score-tdep.c: Likewise.
	* sh-tdep.c: Likewise.
	* tic6x-tdep.c: Likewise.
	* v850-tdep.c: Likewise.
	* xtensa-tdep.c: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Rename placed_size to kind
@ 2016-11-03 15:46 sergiodj+buildbot
  2016-11-09 20:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 15:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 579c6ad9830058ccebf9c592d692c25fac6285c7 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 579c6ad9830058ccebf9c592d692c25fac6285c7

Rename placed_size to kind

This patch renames placed_size to kind.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* breakpoint.h (struct bp_target_info) <placed_size>: Remove.
	<kind>: New field.
	Update all users.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove gdbarch_remote_breakpoint_from_pc
@ 2016-11-03 15:50 sergiodj+buildbot
  2016-11-10  1:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 15:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0f4a997c26760d2584946196ee5c411d1a632a6 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: c0f4a997c26760d2584946196ee5c411d1a632a6

Remove gdbarch_remote_breakpoint_from_pc

This patch removes gdbarch method remote_breakpoint_from_pc, as it
is no longer used.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* arch-utils.c (default_remote_breakpoint_from_pc): Remove.
	* arch-utils.h (default_remote_breakpoint_from_pc): Remove.
	* arm-tdep.c (arm_remote_breakpoint_from_pc): Remove.
	(arm_gdbarch_init): Don't call
	set_gdbarch_remote_breakpoint_from_pc.
	* gdbarch.sh (remote_breakpoint_from_pc): Remove.
	* gdbarch.c, gdbarch.h: Regenerate.
	* mips-tdep.c (mips_remote_breakpoint_from_pc): Remove.
	(mips_gdbarch_init): Don't call
	set_gdbarch_remote_breakpoint_from_pc.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add default_breakpoint_from_pc
@ 2016-11-03 16:05 sergiodj+buildbot
  2016-11-10  3:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 16:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 22f13eb869197fc45a0da2a8a96b03d39809862e ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 22f13eb869197fc45a0da2a8a96b03d39809862e

Add default_breakpoint_from_pc

This patch adds the default implementation of gdbarch breakpoint_from_pc,
which is,

const gdb_byte *
default_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pcptr,
                           int *lenptr)
{
  int kind = gdbarch_breakpoint_kind_from_pc (gdbarch, pcptr);

  return gdbarch_sw_breakpoint_from_kind (gdbarch, kind, lenptr);
}

so gdbarch can only defines sw_breakpoint_from_kind and
breakpoint_kind_from_pc.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* arch-utils.c (default_breakpoint_from_pc): New function.
	* arch-utils.h (GDBARCH_BREAKPOINT_FROM_PC): Remove.
	(GDBARCH_BREAKPOINT_MANIPULATION): Don't use
	GDBARCH_BREAKPOINT_FROM_PC.
	(SET_GDBARCH_BREAKPOINT_MANIPULATION): Don't call
	set_gdbarch_breakpoint_from_pc.
	(default_breakpoint_from_pc): Remove declaration.
	* gdbarch.sh (breakpoint_from_pc): Add its default implementation.
	* gdbarch.c, gdbarch.h: Regenerate.
	* arm-tdep.c: Don't use GDBARCH_BREAKPOINT_FROM_PC.
	* arc-tdep.c, bfin-tdep.c, cris-tdep.c, iq2000-tdep.c: Likewise.
	* m32r-tdep.c, mips-tdep.c, mt-tdep.c: Likewise.
	* nios2-tdep.c, score-tdep.c, sh-tdep.c: Likewise.
	* sh64-tdep.c, tic6x-tdep.c, v850-tdep.c, xtensa-tdep.c: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Determine the kind of single step breakpoint
@ 2016-11-03 16:16 sergiodj+buildbot
  2016-11-10  7:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 16:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 833b7ab5008b769dca6db6d5ee1d21d33e730132 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 833b7ab5008b769dca6db6d5ee1d21d33e730132

Determine the kind of single step breakpoint

This patch adds a new gdbarch method breakpoint_kind_from_current_state
for single step breakpoint, and uses it in breakpoint_kind.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* arch-utils.c (default_breakpoint_kind_from_current_state):
	New function.
	* arch-utils.h (default_breakpoint_kind_from_current_state):
	Declare.
	* arm-tdep.c (arm_breakpoint_kind_from_current_state): New
	function.
	(arm_gdbarch_init): Call
	set_gdbarch_breakpoint_kind_from_current_state.
	* breakpoint.c (breakpoint_kind): Call
	gdbarch_breakpoint_kind_from_current_state for single step
	breakpoint.  Update comments.
	* gdbarch.sh (breakpoint_kind_from_current_state): New.
	* gdbarch.c, gdbarch.h: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove arm_override_mode
@ 2016-11-03 16:26 sergiodj+buildbot
  2016-11-10  9:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 16:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a97c97e8d7c818886f0f7beb3fd5dee0042b4a07 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: a97c97e8d7c818886f0f7beb3fd5dee0042b4a07

Remove arm_override_mode

GDB can determine the kind of single step breakpoint by gdbarch
breakpoint_kind_from_current_state, so global variable
arm_override_mode is no longer needed.  This patch removes it.

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* arm-tdep.c (arm_override_mode): Remove.
	(arm_pc_is_thumb): Update.
	(arm_insert_single_step_breakpoint): Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] X86: Rename REG_82 to REG_83
@ 2016-11-03 16:43 sergiodj+buildbot
  2016-11-10 10:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 16:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7148c36989ee64f15ac9618543309cd7311b6015 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 7148c36989ee64f15ac9618543309cd7311b6015

X86: Rename REG_82 to REG_83

The REG_82 entry in x86 disassembler is for opcode 0x83, not opcode
0x82.

	* i386-dis.c (REG_82): Renamed to ...
	(REG_83): This.
	(dis386): Updated.
	(reg_table): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Deprecate old platforms
@ 2016-11-03 16:59 sergiodj+buildbot
  2016-11-10 10:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 16:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 034b77cf7875c4ea5aaf3d06dfea2e422abc47db ***

Author: Tristan Gingold <gingold@adacore.com>
Branch: master
Commit: 034b77cf7875c4ea5aaf3d06dfea2e422abc47db

Deprecate old platforms

bfd/
	* config.bfd: Deprecate many old triplets.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Replace YY_NULL with YY_NULLPTR in LANG-exp.c
@ 2016-11-03 17:04 sergiodj+buildbot
  2016-11-10 10:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 17:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 722bcb33bf0383487c1af0e7d401e30301e94e2b ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 722bcb33bf0383487c1af0e7d401e30301e94e2b

Replace YY_NULL with YY_NULLPTR in LANG-exp.c

As we require c++11, GDB fails to build if bison is not new enough.
I see the following error on the system (fedora 19) that bison is
2.6.4,

g++ -std=gnu++11 .... \
	-c -o ada-exp.o -MT ada-exp.o -MMD -MP -MF .deps/ada-exp.Tpo 'if test -f ada-exp.c; then echo ada-exp.c; else echo ../../binutils-gdb/gdb/ada-exp.c; fi`
In file included from ../../binutils-gdb/gdb/ada-exp.y:731:0:
ada-lex.c:113:0: error: "YY_NULL" redefined [-Werror]
 #define YY_NULL 0
 ^
ada-exp.c:158:0: note: this is the location of the previous definition
 #   define YY_NULL nullptr
 ^
cc1plus: all warnings being treated as errors
make: *** [ada-exp.o] Error 1

Both ada-exp.c and ada-lex.c has macro YY_NULL, like this,

 $ cat 1.c
 # ifndef YY_NULL
 #  if defined __cplusplus && 201103L <= __cplusplus
 #   define YY_NULL nullptr
 #  else
 #   define YY_NULL 0
 #  endif
 # endif

 #define YY_NULL 0

as we can see, YY_NULL is defined differently (nullptr vs 0)

$ g++ -std=c++11 -Wall 1.c -c
1.c:9:0: warning: "YY_NULL" redefined
 #define YY_NULL 0
 ^
1.c:3:0: note: this is the location of the previous definition
 #   define YY_NULL nullptr
 ^
$ g++ -Wall 1.c -c

bison renames YY_NULL to YY_NULLPTR in 2013 Nov,
https://lists.gnu.org/archive/html/bison-patches/2013-11/msg00002.html
and bison released later than 2013 Nov have this patch.  Bison 3.0.2,
released on 2013 Dec, is OK.

The fix is to replace YY_NULL with YY_NULLPTR via sed.  With old bison,
YY_NULL becomes YY_NULLPTR; with new bison, YY_NULLPTR becomes
YY_NULLPTRPTR,

gdb:

2016-11-03  Yao Qi  <yao.qi@linaro.org>

	* Makefile.in (.y.c): Replace YY_NULL with YY_NULLPTR.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] X86: Decode opcode 0x82 as opcode 0x80 in 32-bit mode
@ 2016-11-03 17:21 sergiodj+buildbot
  2016-11-10 10:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 17:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8b89fe14b522cd6e5d160ff17defa8ecec243b11 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 8b89fe14b522cd6e5d160ff17defa8ecec243b11

X86: Decode opcode 0x82 as opcode 0x80 in 32-bit mode

Update x86 disassembler to treat opcode 0x82 as an aliase of opcode 0x80
in 32-bit mode.

gas/

	PR binutils/20754
	* testsuite/gas/i386/opcode.s: Add tests for opcode 0x82.
	* testsuite/gas/i386/opcode-intel.d: Updated.
	* testsuite/gas/i386/opcode.d: Likewise.

opcodes/

	PR binutils/20754
	* i386-dis.c (REG_82): New.
	(X86_64_82_REG_0): Likewise.
	(X86_64_82_REG_1): Likewise.
	(X86_64_82_REG_2): Likewise.
	(X86_64_82_REG_3): Likewise.
	(X86_64_82_REG_4): Likewise.
	(X86_64_82_REG_5): Likewise.
	(X86_64_82_REG_6): Likewise.
	(X86_64_82_REG_7): Likewise.
	(dis386): Use REG_82.
	(reg_table): Add REG_82.
	(x86_64_table): Add X86_64_82_REG_0, X86_64_82_REG_1,
	X86_64_82_REG_2, X86_64_82_REG_3, X86_64_82_REG_4,
	X86_64_82_REG_5, X86_64_82_REG_6 and X86_64_82_REG_7.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] X86: Reuse opcode 0x80 decoder for opcode 0x82
@ 2016-11-03 17:33 sergiodj+buildbot
  2016-11-10 10:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 17:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d039fef395c1b5fd781acaf1c611f96f654f5f91 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: d039fef395c1b5fd781acaf1c611f96f654f5f91

X86: Reuse opcode 0x80 decoder for opcode 0x82

Since opcode 0x82 is an alias of opcode 0x80, we can reuse opcode 0x80
decoder.

	* i386-dis.c (REG_82): Removed.
	(X86_64_82_REG_0): Likewise.
	(X86_64_82_REG_1): Likewise.
	(X86_64_82_REG_2): Likewise.
	(X86_64_82_REG_3): Likewise.
	(X86_64_82_REG_4): Likewise.
	(X86_64_82_REG_5): Likewise.
	(X86_64_82_REG_6): Likewise.
	(X86_64_82_REG_7): Likewise.
	(X86_64_82): New.
	(dis386): Use X86_64_82 instead of REG_82.
	(reg_table): Remove REG_82.
	(x86_64_table): Add X86_64_82.  Remove X86_64_82_REG_0,
	X86_64_82_REG_1, X86_64_82_REG_2, X86_64_82_REG_3,
	X86_64_82_REG_4, X86_64_82_REG_5, X86_64_82_REG_6 and
	X86_64_82_REG_7.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] arc/opcodes/nps400: Fix some instruction masks
@ 2016-11-03 17:39 sergiodj+buildbot
  2016-11-10 10:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 17:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ecf64ec654afe916099f0fe482c2dae417913905 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: ecf64ec654afe916099f0fe482c2dae417913905

arc/opcodes/nps400: Fix some instruction masks

A few masks were incorrect, there were opcode bits that lives outside of
the instruction mask, the effected instructions are decode1, zncv, and
efabgt.

Previously these instructions would assemble and disassemble correctly,
and a correctly encoded binary should behave no differently.  The only
difference would be seen in a few incorrectly encoded binaries,
previously these would have decoded to the above instructions, while now
they will not.

opcodes/ChangeLog:

	* arc-nps400-tbl.h: Fix some instruction masks.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] arc: Replace ARC_SHORT macro with arc_opcode_len function
@ 2016-11-03 17:51 sergiodj+buildbot
  2016-11-10 10:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 17:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 06fe285fd293e999481ec8f5c619658aa5e3b48b ***

Author: Graham Markall <graham.markall@embecosm.com>
Branch: master
Commit: 06fe285fd293e999481ec8f5c619658aa5e3b48b

arc: Replace ARC_SHORT macro with arc_opcode_len function

In preparation for moving to a world where arc instructions can be 2, 4,
6, or 8 bytes in length, replace the ARC_SHORT macro (which is either
true of false) with an arc_opcode_len function that returns a length in
bytes.

There should be no functional change after this commit.

gas/ChangeLog:

	* config/tc-arc.c (assemble_insn): Replace use of ARC_SHORT with
	arc_opcode_len.

include/ChangeLog:

	* opcode/arc.h (arc_opcode_len): Declare.
	(ARC_SHORT): Delete.

opcodes/ChangeLog:

	* arc-dis.c (find_format_from_table): Replace use of ARC_SHORT
	with arc_opcode_len.
	(find_format_long_instructions): Likewise.
	* arc-opc.c (arc_opcode_len): New function.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] opcodes/arc: Make some macros 64-bit safe
@ 2016-11-03 18:03 sergiodj+buildbot
  2016-11-10 10:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 18:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2e27220211249bfeb38b10e630b33fbd170fce6c ***

Author: Graham Markall <graham.markall@embecosm.com>
Branch: master
Commit: 2e27220211249bfeb38b10e630b33fbd170fce6c

opcodes/arc: Make some macros 64-bit safe

In preparation to moving to a world where arc instructions can be 2, 4,
6, or 8 bytes long, make some macros 64-bit safe.

There should be no functional change after this commit.

include/ChangeLog:

	* opcode/arc.h: Make macros 64-bit safe.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] arc: Swap highbyte and lowbyte in print_insn_arc
@ 2016-11-03 18:15 sergiodj+buildbot
  2016-11-10 10:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 18:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 90f61cceac73fe40dcd21b3590c247bfa624ac00 ***

Author: Graham Markall <graham.markall@embecosm.com>
Branch: master
Commit: 90f61cceac73fe40dcd21b3590c247bfa624ac00

arc: Swap highbyte and lowbyte in print_insn_arc

highbyte and lowbyte actually refer to the low byte and the high
byte respectively, but are used consistently in this swapped
order. This commit swaps them round so that highbyte refers to the
high byte and lowbyte refers to the low byte.

There should be no functional change after this commit.

opcodes/ChangeLog:

   * arc-dis.c (print_insn_arc): Swap highbyte and lowbyte.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] arc: Change max instruction length to 64-bits
@ 2016-11-03 18:26 sergiodj+buildbot
  2016-11-10 10:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 18:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bdfe53e3cfebb392b1a0ef50fdd02faafec6dc63 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: bdfe53e3cfebb392b1a0ef50fdd02faafec6dc63

arc: Change max instruction length to 64-bits

The current handling for arc instructions longer than 32-bits is all
handled as a special case in both the assembler and disassembler.

The problem with this approach is that it leads to code duplication,
selecting a long instruction is exactly the same process as selecting a
short instruction, except over more bits, in both cases we select based
on bit comparison, and initial operand insertion and extraction.

This commit unifies both the long and short instruction worlds,
converting the core opcodes library from being largely 32-bit focused,
to being largely 64-bit focused.

The changes are, on the whole, not too much.  There's obviously a lot of
type changes but otherwise the bulk of the code just works.  Most of the
actual functional changes are to code that previously handled the longer
48 or 64 bit instructions.  The insert/extract handlers for these have
now been brought into line with the short instruction insert/extract
handlers.

All of the special case handling code that was previously added has now
been removed again.  Overall, this commit reduces the amount of code in
the arc assembler and disassembler.

gas/ChangeLog:

	* config/tc-arc.c (struct arc_insn): Change type of insn field.
	(md_number_to_chars_midend): Support 6- and 8-byte values.
	(emit_insn0): Update debug output.
	(find_opcode_match): Likewise.
	(build_fake_opcode_hash_entry): Delete.
	(find_special_case_long_opcode): Delete.
	(find_special_case): Remove long format special case handling.
	(insert_operand): Change instruction type and update debug print
	format.
	(assemble_insn): Change instruction type, update debug print
	formats, and remove unneeded assert.

include/ChangeLog:

	* opcode/arc.h (struct arc_opcode): Change type of opcode and mask
	fields.
	(struct arc_long_opcode): Delete.
	(struct arc_operand): Change types for insert and extract
	handlers.

opcodes/ChangeLog:

	* arc-dis.c (struct arc_operand_iterator): Remove all fields
	relating to long instruction processing, add new limm field.
	(OPCODE): Rename to...
	(OPCODE_32BIT_INSN): ...this.
	(OPCODE_AC): Delete.
	(skip_this_opcode): Handle different instruction lengths, update
	macro name.
	(special_flag_p): Update parameter type.
	(find_format_from_table): Update for more instruction lengths.
	(find_format_long_instructions): Delete.
	(find_format): Update for more instruction lengths.
	(arc_insn_length): Likewise.
	(extract_operand_value): Update for more instruction lengths.
	(operand_iterator_next): Remove code relating to long
	instructions.
	(arc_opcode_to_insn_type): New function.
	(print_insn_arc):Update for more instructions lengths.
	* arc-ext.c (extInstruction_t): Change argument type.
	* arc-ext.h (extInstruction_t): Change argument type.
	* arc-fxi.h: Change type unsigned to unsigned long long
	extensively throughout.
	* arc-nps400-tbl.h: Add long instructions taken from
	arc_long_opcodes table in arc-opc.c.
	* arc-opc.c: Update parameter types on insert/extract handlers.
	(arc_long_opcodes): Delete.
	(arc_num_long_opcodes): Delete.
	(arc_opcode_len): Update for more instruction lengths.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] arc: Implement NPS-400 dcmac instruction
@ 2016-11-03 18:59 sergiodj+buildbot
  2016-11-10 10:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 18:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5a736821eff3aa4a8da237778526f9f700759c7a ***

Author: Graham Markall <graham.markall@embecosm.com>
Branch: master
Commit: 5a736821eff3aa4a8da237778526f9f700759c7a

arc: Implement NPS-400 dcmac instruction

gas/ChangeLog:

       * testsuite/gas/arc/nps-400-9.d: Added.
       * testsuite/gas/arc/nps-400-9.s: Added.

include/ChangeLog:

       * opcode/arc.h: Add PROTOCOL_DECODE to insn_class_t.

opcodes/ChangeLog:

       * arc-dis.c (arc_insn_length): Return length 8 for instructions with
       major opcode 0xa.
       * arc-nps-400-tbl.h: Add dcmac instruction.
       * arc-opc.c (arc_operands): Added operands for dcmac instruction.
       (insert_nps_rbdouble_64): Added.
       (extract_nps_rbdouble_64): Added.
       (insert_nps_proto_size): Added.
       (extract_nps_proto_size): Added.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix handling of discriminantless univariant enums in Rust; fix bug with encoded enums
@ 2016-11-03 23:05 sergiodj+buildbot
  2016-11-10 10:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 23:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 51a789c3bf3d9b04d3d81493fda7f2514ae43add ***

Author: Manish Goregaokar <manish@mozilla.com>
Branch: master
Commit: 51a789c3bf3d9b04d3d81493fda7f2514ae43add

Fix handling of discriminantless univariant enums in Rust; fix bug with encoded enums

2016-10-27  Manish Goregaokar  <manish@mozilla.com>

gdb/ChangeLog:
    * rust-lang.c (rust_get_disr_info): Treat univariant enums
    without discriminants as encoded enums with a real field
    * rust-lang.c (rust_evaluate_subexp): Handle field access
    on encoded struct-like enums

gdb/testsuite/ChangeLog:
    * simple.rs: Add test for univariant enums without discriminants
    and for encoded struct-like enums
    * simple.exp: Add test expectations


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add support for untagged unions in Rust
@ 2016-11-03 23:17 sergiodj+buildbot
  2016-11-10 10:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 23:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b96645f1a1e6084ed6a20ddf615bdc4d2487a9c9 ***

Author: Manish Goregaokar <manish@mozilla.com>
Branch: master
Commit: b96645f1a1e6084ed6a20ddf615bdc4d2487a9c9

Add support for untagged unions in Rust

2016-10-28  Manish Goregaokar  <manish@mozilla.com>

gdb/ChangeLog:
    * rust-lang.c (rust_union_is_untagged): Add function to
    check if a union is an untagged unioni
    (rust_val_print): Handle printing of untagged union values
    (rust_print_type): Handle printing of untagged union types
    (rust_evaluate_subexp): Handle evaluating field
    access on untagged unions


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add support for the sizeof function in Rust
@ 2016-11-03 23:26 sergiodj+buildbot
  2016-11-10 10:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-03 23:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cdf5a07c75b47481da1e99ee91ee860c2a6bb5f6 ***

Author: Manish Goregaokar <manish@mozilla.com>
Branch: master
Commit: cdf5a07c75b47481da1e99ee91ee860c2a6bb5f6

Add support for the sizeof function in Rust

2016-10-29  Manish Goregaokar  <manish@mozilla.com>

gdb/ChangeLog:
    * rust-exp.y: Parse `sizeof(exp)` as `UNOP_SIZEOF`

gdb/testsuite/ChangeLog:
    * gdb.rust/simple.exp: Add tests for `sizeof(expr)`


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix building binutils for all 32-bit targets by moving riscv32 target into 64-bit builds only.
@ 2016-11-04 14:52 sergiodj+buildbot
  2016-11-10 10:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-04 14:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1b7a12f2d68f2f334fbe78cc2db76982ba6d4ef1 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 1b7a12f2d68f2f334fbe78cc2db76982ba6d4ef1

Fix building binutils for all 32-bit targets by moving riscv32 target into 64-bit builds only.

	* targets.c (bfd_target_vector): Only add riscv_elf32_vec target
	when supporting 64-bit BFD targets.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add support for ARM Cortex-M33 processor
@ 2016-11-04 17:12 sergiodj+buildbot
  2016-11-10 10:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-04 17:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b19ea8d28b1c06c2973738c1cda076f895ac3ad0 ***

Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Branch: master
Commit: b19ea8d28b1c06c2973738c1cda076f895ac3ad0

Add support for ARM Cortex-M33 processor

2016-11-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>

gas/
	* config/tc-arm.c (cortex-m33): Declare new processor.
	* doc/c-arm.texi (-mcpu ARM command line option): Document new
	Cortex-M33 processor.
	* NEWS: Mention ARM Cortex-M33 support.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] arc/nps400: Validate address type operands correctly
@ 2016-11-04 23:14 sergiodj+buildbot
  2016-11-10 10:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-04 23:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b437d035ddf4e4c0c566c577ee059790ed28ad9b ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: b437d035ddf4e4c0c566c577ee059790ed28ad9b

arc/nps400: Validate address type operands correctly

When we match against an address type operand within an instruction it
is important that we match exactly the right address type operand early
on, during the opcode selection phase.  If we wait until the operand
insertion phase to check that we have the correct address operand, then
it is too late to select an alternative opcode.  This becomes important
only when we have multiple opcodes with the same mnemonic, and operand
lists that differ only in the type of the address operands.

This commit fixes this issue, and adds some example instructions that
require this issue to be fixed (the instructions are identical except
for the address type operand).

gas/ChangeLog:

	* config/tc-arc.c (find_opcode_match): Use insert function to
	validate matching address type operands.
	* testsuite/gas/arc/nps400-10.d: New file.
	* testsuite/gas/arc/nps400-10.s: New file.

opcodes/ChangeLog:

	* arc-opc.c (arc_flag_operands): Add F_DI14.
	(arc_flag_classes): Add C_DI14.
	* arc-nps400-tbl.h: Add new exc instructions.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix a few typos
@ 2016-11-05  4:41 sergiodj+buildbot
  2016-11-10 11:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-05  4:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 26c4b26f0cc51f04cdaba3c9e6ff09032bd10d8b ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 26c4b26f0cc51f04cdaba3c9e6ff09032bd10d8b

Fix a few typos

gdb/ChangeLog:

	* maint.c (scoped_command_stats::scoped_command_stats): Fix typo.
	* ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Likewise.
	* ppcobsd-tdep.c (_initialize_ppcobsd_tdep): Likewise.
	* ui-out.c (ui_out_new): Likewise.
	* utils.c (init_page_info): Likewise.
	(reset_prompt_for_continue_wait_time): Likewise.
	* windows-nat.c (windows_init_thread_list): Likewise.
	* xtensa-tdep.c (call0_analyze_prologue): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] configure.tgt (x86_64-*-elf*): Remove i386bsd-tdep.o.
@ 2016-11-07 23:22 sergiodj+buildbot
  2016-11-11  7:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-07 23:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a57160325ef479bd7181a4319126b1177c4a5cbb ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: a57160325ef479bd7181a4319126b1177c4a5cbb

configure.tgt (x86_64-*-elf*): Remove i386bsd-tdep.o.

gdb/ChangeLog:

	* configure.tgt (x86_64-*-elf*): Remove i386bsd-tdep.o.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] i386-tdep.c (i386_gdbarch_init): Add comments.
@ 2016-11-08  0:39 sergiodj+buildbot
  2016-11-11  7:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08  0:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad9eb1fdda263cd91ee8fb36292fb29d546b0076 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: ad9eb1fdda263cd91ee8fb36292fb29d546b0076

i386-tdep.c (i386_gdbarch_init): Add comments.

gdb/ChangeLog:

	* i386-tdep.c (i386_gdbarch_init): Add comments.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix ext lang calls to value_struct_elt.
@ 2016-11-08  1:46 sergiodj+buildbot
  2016-11-11 11:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08  1:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5996220cfa24ef6fddb782617720cd56913b1bb7 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 5996220cfa24ef6fddb782617720cd56913b1bb7

Fix ext lang calls to value_struct_elt.

gdb/ChangeLog:

	* guile/scm-value.c (gdbscm_value_field): Fix call to value_struct_elt.
	* python/py-value.c (valpy_getitem): Ditto.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] X86: Properly handle bad FPU opcode
@ 2016-11-08  2:27 sergiodj+buildbot
  2016-11-11 14:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08  2:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 48c97fa1ba7d6628352fc2433abd91a41f6c8171 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 48c97fa1ba7d6628352fc2433abd91a41f6c8171

X86: Properly handle bad FPU opcode

Since Bad_Opcode and FGRPd9_2 were the same in i386-dis.c, all
Bad_Opcode entries in float_reg were displaced as FGRPd9_2.  This
patch adds an entry for Bad_Opcode in fgrps to avoid treating it
as FGRPd9_2.

gas/

	PR binutils/20775
	* testsuite/gas/i386/i386.exp: Run fpu-bad.
	* testsuite/gas/i386/fpu-bad.d: New file.
	* testsuite/gas/i386/fpu-bad.s: Likewise.

opcodes/

	PR binutils/20775
	* i386-dis.c (FGRPd9_2): Replace 0 with 1.
	(FGRPd9_4): Replace 1 with 2.
	(FGRPd9_5): Replace 2 with 3.
	(FGRPd9_6): Replace 3 with 4.
	(FGRPd9_7): Replace 4 with 5.
	(FGRPda_5): Replace 5 with 6.
	(FGRPdb_4): Replace 6 with 7.
	(FGRPde_3): Replace 7 with 8.
	(FGRPdf_4): Replace 8 with 9.
	(fgrps): Add an entry for Bad_Opcode.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Check for truncated registers in process_g_packet
@ 2016-11-08 11:14 sergiodj+buildbot
  2016-11-11 17:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 11:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9dc193c3be85aafa60ceff57d3b0430af607b4ce ***

Author: Lionel Flandrin <lionel@svkt.org>
Branch: master
Commit: 9dc193c3be85aafa60ceff57d3b0430af607b4ce

Check for truncated registers in process_g_packet

While investigating an unrelated issue in remote.c I noticed that the
bound checking for 'g' packets was bogus:

The previous code would only check that the first byte of the register
was within bounds before passing the buffer to regcache_raw_supply.
If it turned out that the register in the 'g' packet was incomplete
then regcache_raw_supply would proceed to memcpy out-of-bounds.

Since the buffer is allocated with alloca it's relatively unlikely to
crash (you just end up dumping gdb's stack into the cache) but it's
still a bit messy.

I changed this logic to check for truncated registers and raise an
error if one is encountered.  Hopefully it should make debugging
remote stubs a bit easier.

gdb/ChangeLog:
2016-11-08  Lionel Flandrin  <lionel@svkt.org>

	* remote.c (process_g_packet): Detect truncated registers in 'g'
	packets and raise an error.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix indentation
@ 2016-11-08 12:26 sergiodj+buildbot
  2016-11-11 21:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 12:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 20955dbf718992e83b7c971344931934b62a784f ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 20955dbf718992e83b7c971344931934b62a784f

Fix indentation

gdb:

2016-11-08  Yao Qi  <yao.qi@linaro.org>

	* rust-lang.c (val_print_struct): Fix indentation.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix bfd/dwarf2.c build breakage
@ 2016-11-08 13:10 sergiodj+buildbot
  2016-11-12  4:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 13:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3b0d929dd61fcd55b4ef320a2033c731443b394f ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 3b0d929dd61fcd55b4ef320a2033c731443b394f

Fix bfd/dwarf2.c build breakage

Fix build breakage introduced by commit 089e3718bd8d ("Greatly improve
the speed if looking up DWARF line number information."):

 -  bfd_boolean is_linkage;
 -  const char *name;
 -  struct arange arange;
 +  int                  line;
 +  int                  tag;
 +  bfd                  boolean is_linkage;

bfd/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* dwarf2.c (struct funcinfo) <is_linkage>: Type is bfd_boolean,
	not "bfd boolean".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix PR breakpoints/20739: Badly formatted adress string in error message
@ 2016-11-08 14:21 sergiodj+buildbot
  2016-11-12  7:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 14:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 53c3572a9f5b03a92292cb6d24bf69b52c95500e ***

Author: Cordian A. Daniluk <th3c0r1uk@gmail.com>
Branch: master
Commit: 53c3572a9f5b03a92292cb6d24bf69b52c95500e

Fix PR breakpoints/20739: Badly formatted adress string in error message

Remove duplicate `0x'-prefix for the hex address printed.  `paddress'
already prepends this, so no need to do it manually.

gdb/ChangeLog:
2016-11-08  Cordian A. Daniluk  <th3c0r1uk@gmail.com>

	PR breakpoints/20739
	* breakpoint.c (check_fast_tracepoint_sals): Don't print duplicate
	0x prefix.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove arm_insert_single_step_breakpoint
@ 2016-11-08 14:37 sergiodj+buildbot
  2016-11-12 10:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 14:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 771da62d67a9f27c1e706610efe51b13c3f9fd60 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 771da62d67a9f27c1e706610efe51b13c3f9fd60

Remove arm_insert_single_step_breakpoint

This patch is to remove arm_insert_single_step_breakpoint.

gdb:

2016-11-08  Yao Qi  <yao.qi@linaro.org>

	* arm-linux-tdep.c (arm_linux_software_single_step): Don't
	call arm_insert_single_step_breakpoint, call
	insert_single_step_breakpoint instead.
	* arm-tdep.c (arm_insert_single_step_breakpoint): Remove.
	(arm_software_single_step): Don't call
	arm_insert_single_step_breakpoint, call
	insert_single_step_breakpoint instead.
	* arm-tdep.h (arm_insert_single_step_breakpoint): Remove
	declaration.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbarch software_single_step returns VEC (CORE_ADDR) *
@ 2016-11-08 17:10 sergiodj+buildbot
  2016-11-12 17:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 17:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 93f9a11fbdb8f09428b17180d51a09a1bda39a52 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 93f9a11fbdb8f09428b17180d51a09a1bda39a52

gdbarch software_single_step returns VEC (CORE_ADDR) *

This patch changes gdbarch method software_single_step to return a
vector of addresses on which GDB should insert breakpoints, and don't
insert breakpoints.  Instead, the caller of
gdbarch_software_single_step inserts breakpoints if the returned
vector is not NULL.

gdb:

2016-11-08  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c (aarch64_software_single_step): Return
	VEC (CORE_ADDR) *.  Return NULL instead of 0.  Don't call
	insert_single_step_breakpoint.
	* alpha-tdep.c (alpha_deal_with_atomic_sequence): Likewise.
	(alpha_software_single_step): Likewise.
	* alpha-tdep.h (alpha_software_single_step): Update declaration.
	* arm-linux-tdep.c (arm_linux_software_single_step): Return
	VEC (CORE_ADDR) *.  Return NULL instead of 0.
	* arm-tdep.c (arm_software_single_step): Return NULL instead of	0.
	* arm-tdep.h (arm_software_single_step): Update declaration.
	* breakpoint.c (insert_single_step_breakpoints): New function.
	* breakpoint.h (insert_single_step_breakpoints): Declare.
	* cris-tdep.c (cris_software_single_step): Return
	VEC (CORE_ADDR) *.  Don't call insert_single_step_breakpoint.
	* gdbarch.sh (software_single_step): Change it to return
	VEC (CORE_ADDR) *.
	* gdbarch.c, gdbarch.h: Regenerated.
	* infrun.c (maybe_software_singlestep): Adjust.
	* mips-tdep.c (mips_deal_with_atomic_sequence): Return
	VEC (CORE_ADDR) *.  Don't call insert_single_step_breakpoint.
	(micromips_deal_with_atomic_sequence): Likewise.
	(deal_with_atomic_sequence): Likewise.
	(mips_software_single_step): Likewise.
	* mips-tdep.h (mips_software_single_step): Update declaration.
	* moxie-tdep.c (moxie_software_single_step): Likewise.
	* nios2-tdep.c (nios2_software_single_step): Likewise.
	* ppc-tdep.h (ppc_deal_with_atomic_sequence): Update
	declaration.
	* record-full.c (record_full_resume): Adjust.
	(record_full_wait_1): Likewise.
	* rs6000-aix-tdep.c (rs6000_software_single_step): Return
	VEC (CORE_ADDR) *.  Don't call insert_single_step_breakpoint.
	* rs6000-tdep.c	(ppc_deal_with_atomic_sequence): Return
	VEC (CORE_ADDR) *.  Don't call insert_single_step_breakpoint.
	* s390-linux-tdep.c (s390_software_single_step): Likewise.
	* sparc-tdep.c (sparc_software_single_step): Likewise.
	* spu-tdep.c (spu_software_single_step): Likewise.
	* tic6x-tdep.c (tic6x_software_single_step): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] breakpoint.c:commands_command_1 constification and cleanup
@ 2016-11-08 18:27 sergiodj+buildbot
  2016-11-13  4:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 18:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 896b6bda6904765f36692d76a37b99c0412ca9ae ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 896b6bda6904765f36692d76a37b99c0412ca9ae

breakpoint.c:commands_command_1 constification and cleanup

This is constification needed for next patch.  Adjust
commands_command_1 to use std::string too because the "arg" parameter
is currently overwritten and then passed to make_cleanup.  The
constification alone would trigger a compile error in the make_cleanup
call otherwise (passing const char * to void * parameter).  Using
std::string gets rid of the cleanup in the first place, resulting in
simpler code.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* breakpoint.c (struct commands_info) <arg>: Constify.
	(commands_command_1): Constify 'arg' parameter.  Use std::string
	and string_printf.
	(commands_from_control_command): Constify 'arg' parameter.
	(map_breakpoint_numbers): Constify 'args' parameter.
	* breakpoint.h (commands_from_control_command): Constify 'arg'
	parameter.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Introduce string_printf
@ 2016-11-08 19:12 sergiodj+buildbot
  2016-11-12 18:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 19:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d4081a383e28db26c65298f7405554d4312b1342 ***

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

Introduce string_printf

This introduces the string_printf function.  Like asprintf, but
returns a std::string.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* Makefile.in (COMMON_OBS): Add utils-selftests.o.
	* common/common-utils.c (string_printf): New function.
	* common/common-utils.h: Include <string>.
	(string_printf): Declare.
	* utils-selftests.c: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] cli-script.c: Simplify using std::string, eliminate cleanups
@ 2016-11-08 19:27 sergiodj+buildbot
  2016-11-13  6:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 19:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b064640146bb6908a0ccca27ca8ee2b06b668137 ***

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

cli-script.c: Simplify using std::string, eliminate cleanups

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* cli/cli-script.c (execute_control_command): Use std::string
	instead of cleanups.
	(locate_arg): Constify return type.
	(insert_args): Constify paremeter.  Simplify using std::string.
	Return a std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] cli/cli-script.c: Remove some dead NULL checks
@ 2016-11-08 19:48 sergiodj+buildbot
  2016-11-13  0:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 19:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4f8ad951f662864884d4b11315c940c5239a4a89 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 4f8ad951f662864884d4b11315c940c5239a4a89

cli/cli-script.c: Remove some dead NULL checks

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* cli/cli-script.c (execute_control_command): Assume insert_args
	never returns NULL.
	(insert_args): Assume xmalloc never returns NULL.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] 'struct expression *' -> gdb::unique_xmalloc_ptr<expression>
@ 2016-11-08 20:24 sergiodj+buildbot
  2016-11-13 11:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 20:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4d01a485d29732b19743e8b138897f3509e071b0 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 4d01a485d29732b19743e8b138897f3509e071b0

'struct expression *' -> gdb::unique_xmalloc_ptr<expression>

This patch makes parse_expression and friends return a unique_ptr
instead of raw pointer [1]:

  typedef gdb::unique_malloc_ptr<expression> expression_up;

and then adjusts the codebase throughout to stop using cleanups to
manage lifetime of expression pointers.

Whenever I found a structure owning an expression pointer, I made it
store a unique_ptr instead of a raw pointer, which then requires using
new/delete of the holding structure, instead of XNEW/xfree.

[1] - I'd like to set the rule that types named with an "_up" suffix
      are unique_ptr typedefs.

Note I used gdb::unique_xmalloc_ptr instead of gdb::unique_ptr, simply
because we still use xmalloc instead of new to allocate expression
objects.  Once that's changed, all we need to do is change the
expression_up typedef and the smart pointer will then call delete
instead of xfree.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* ada-lang.c (ada_read_renaming_var_value): Use expression_up.
	(struct ada_catchpoint_location) <excep_cond_expr>: Now an
	expression_up.
	(ada_catchpoint_location_dtor): Reset excep_cond_expr instead of
	using xfree.
	(create_excep_cond_exprs): Use expression_up and gdb::move.
	(allocate_location_exception): Use new instead of XNEW.
	(should_stop_exception): Likewise.  Adjust to use expression_up.
	(create_ada_exception_catchpoint): Use new instead of XNEW.
	* ax-gdb.c (agent_eval_command_one): Use expression_up instead of
	cleanups.
	(maint_agent_printf_command): Use expression_up.
	* break-catch-sig.c (create_signal_catchpoint): Use new instead of
	XNEW.
	* break-catch-syscall.c (create_syscall_event_catchpoint):
	Likewise.
	* break-catch-throw.c (handle_gnu_v3_exceptions): Use new instead
	of XCNEW.  Use gdb::unique_ptr instead of cleanups.
	* breakpoint.c (set_breakpoint_condition, update_watchpoint)
	(parse_cmd_to_aexpr, watchpoint_check)
	(bpstat_check_breakpoint_conditions, watchpoint_locations_match):
	Adjust to use expression_up.
	(init_bp_location): Adjust.
	(free_bp_location): Use delete instead of xfree.
	(set_raw_breakpoint_without_location, set_raw_breakpoint)
	(add_solib_catchpoint, create_fork_vfork_event_catchpoint)
	(new_single_step_breakpoint, create_breakpoint_sal): Use new
	instead of XNEW.
	(find_condition_and_thread): Adjust to use expression_up.
	(create_breakpoint): Use new instead of XNEW.
	(dtor_watchpoint): Don't xfree expression pointers, they're
	unique_ptr's now.
	(insert_watchpoint, remove_watchpoint): Adjust.
	(watch_command_1): Use expression_up.  Use new instead of XCNEW.
	(catch_exec_command_1): Use new instead of XNEW.
	(bp_location_dtor): Don't xfree expression pointers, they're
	unique_ptr's now.
	(base_breakpoint_allocate_location)
	(strace_marker_create_breakpoints_sal): Use new instead of XNEW.
	(delete_breakpoint): Use delete instead of xfree.
	* breakpoint.h (struct bp_location) <cond>: Now an
	unique_ptr<expression> instead of a raw pointer.
	(struct watchpoint) <exp, cond_exp>: Likewise.
	* cli/cli-script.c (execute_control_command): Use expression_up
	instead of cleanups.
	* dtrace-probe.c (dtrace_process_dof_probe): Use expression_up.
	* eval.c (parse_and_eval_address, parse_and_eval_long)
	(parse_and_eval, parse_to_comma_and_eval, parse_and_eval_type):
	Use expression_up instead of cleanups.
	* expression.h (expression_up): New typedef.
	(parse_expression, parse_expression_with_language, parse_exp_1):
	Change return type to expression_up.
	* mi/mi-main.c (mi_cmd_data_evaluate_expression)
	(print_variable_or_computed): Use expression_up.
	* objc-lang.c (print_object_command): Use expression_up instead of
	cleanups.
	* parse.c (parse_exp_1, parse_exp_in_context)
	(parse_exp_in_context_1, parse_expression)
	(parse_expression_with_language): Return an expression_up instead
	of a raw pointer.
	(parse_expression_for_completion): Use expression_up.
	* printcmd.c (struct display) <exp>: Now an expression_up instead
	of a raw pointer.
	(print_command_1, output_command_const, set_command, x_command):
	Use expression_up instead of cleanups.
	(display_command): Likewise.  Use new instead of XNEW.
	(free_display): Use delete instead of xfree.
	(do_one_display): Adjust to use expression_up.
	* remote.c (remote_download_tracepoint): Likewise.
	* stack.c (return_command): Likewise.
	* tracepoint.c (validate_actionline, encode_actions_1): Use
	expression_up instead of cleanups.
	* typeprint.c (whatis_exp, maintenance_print_type): Likewise.
	* value.c (init_if_undefined_command): Likewise.
	* varobj.c (struct varobj_root) <exp>: Now an expression_up
	instead of a raw pointer.
	(varobj_create): Adjust.
	(varobj_set_value): Use an expression_up instead of cleanups.
	(new_root_variable): Use new instead of XNEW.
	(free_variable): Use delete instead of xfree.
	(value_of_root_1): Use std::swap.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Introduce ui_file_as_string
@ 2016-11-08 21:02 sergiodj+buildbot
  2016-11-13 13:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 21:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8de00631b8bd1c328f1916b1fd95bd0d9ff2017e ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 8de00631b8bd1c328f1916b1fd95bd0d9ff2017e

Introduce ui_file_as_string

ui_file_as_string is a variant of ui_file_xstrdup that returns a
std::string instead of a xmalloc'ed char *.  The idea is using the new
function to eliminate "make_cleanup (xfree, ...)"  cleanups
throughout.

Following patches will make use of this.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* ui-file.c (do_ui_file_as_string, ui_file_as_string): New
	functions.
	* ui-file.h: Include <string>.
	(ui_file_as_string): New declaration.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Clean up tracepoint.h/c:collection_list
@ 2016-11-08 21:34 sergiodj+buildbot
  2016-11-13 16:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 21:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1f45808ead357e8a81dec16b9802a6c369e08426 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 1f45808ead357e8a81dec16b9802a6c369e08426

Clean up tracepoint.h/c:collection_list

Noticed we could do this while working on the expression_up change.

The main goal here was getting rid of the
encode_actions_and_make_cleanup / do_clear_collection_list cleanups.

While at it, uncrustify the code:

 - Make collection_list a C++ class, with data members private (and
   thus renamed m_...).

 - Make related functions be member methods.

 - Use std::vector instead of an open coding a vector implementation.

 - Use std::sort instead of qsort.

 - Rename the "list" member of collection_list, which is an incredibly
   obfuscating name.

 - Rename a couple other things here and there for clarify.

 - Use "bool" more.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* mi/mi-main.c (print_variable_or_computed): Constify 'expression'
	parameter.
	(mi_cmd_trace_frame_collected): Call encode_actions instead of
	encode_actions_and_make_cleanup.  Adjust to use std::vector.
	* tracepoint.c (memrange_cmp): Delete.
	(memrange_comp): New.
	(memrange_sortmerge): Take a memrange vector as parameter instead
	of a collection_list.  Use std::sort instead of qsort.
	(add_register): Now a method of collection_list.  Adjust to m_
	prefix of data fields.
	(add_memrange): Now a method of collection_list.  Adjust to m_
	prefix of data fields.  Adjust to use std::vector.
	(collect_symbol): Now a method of collection_list.  Adjust to m_
	prefix of data fields.
	(do_collect_symbol): Adjust.  Call add_wholly_collected instead of
	accessing the vector directly.
	(collection_list::add_wholly_collected): New.
	(add_local_symbols): Now a method of collection_list.
	(add_static_trace_data): Now a method of collection_list.  Adjust
	to use bool.
	(clear_collection_list, do_clear_collection_list): Delete.
	(init_collection_list): Delete.
	(collection_list::collection_list): New.
	(collection_list::~collection_list): New.
	(stringify_collection_list): Rename to ...
	(collection_list::stringify): ... this and adjust to being a
	method of collection_list.  Adjust to use of std::vector.
	(append_exp): Now a method of collection_list.  Use
	ui_file_as_string.  Adjust to std::vector.
	(collection_list::finish): New.
	(encode_actions_1): Adjust.
	(encode_actions_and_make_cleanup): Rename to ...
	(encode_actions)... this.  No longer returns a cleanup.  No longer
	call init_collection_list nor install do_clear_collection_list
	cleanups.  Call collection_list::finish instead of
	memrange_sortmerge directly.
	(encode_actions_rsp): Adjust to call encode_actions instead of
	encode_actions_and_make_cleanup.  Adjust to method renames.
	(add_aexpr): Now a method of collection_list.
	* tracepoint.h: Include <vector> and <string>.
	(struct memrange): Add constructors.
	(struct collection_list): Now a class.
	(class collection_list) <collection_list, ~collection_list,
	add_wholly_collected, append_exp, add_aexpr, add_register,
	add_memrange, collect_symbol, add_local_symbols,
	add_static_trace_data, finish, stringify, wholly_collected, and
	computed>: New methods.
	<regs_mask>: Rename to ...
	<m_regs_mask>: ... this.
	<listsize, next_memrange, list>: Delete fields.
	<m_memranges>: New field.
	<aexpr_listsize, next_aexpr_elt, aexpr_list>: Delete fields.
	<m_aexprs>: New field.
	<strace_data>: Rename to ...
	<m_strace_data>: ... this.  Now a bool.
	<wholly_collected>: Rename to ...
	<m_wholly_collected>: ... this.  Now a std::vector<std::string>.
	<computed>: Rename to ...
	<m_computed>: ... this.  Now a std::vector<std::string>.
	(encode_actions_and_make_cleanup): Delete declaration.
	(encode_actions): New declaration.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in dwarf2_compute_name
@ 2016-11-08 23:02 sergiodj+buildbot
  2016-11-13 22:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 23:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 322a851675234b3c16be6dd5035b07f5e3410ec7 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 322a851675234b3c16be6dd5035b07f5e3410ec7

Use ui_file_as_string in dwarf2_compute_name

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* dwarf2read.c (dwarf2_compute_name): Use ui_file_as_string and
	std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/xtensa-tdep.c
@ 2016-11-08 23:42 sergiodj+buildbot
  2016-11-14  0:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-08 23:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a0f86e735886f3d373507fa9cfc0cf2a2f32eabc ***

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

Use ui_file_as_string in gdb/xtensa-tdep.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* xtensa-tdep.c (xtensa_verify_config): Use ui_file_as_string and
	std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/ada-valprint.c
@ 2016-11-09  0:38 sergiodj+buildbot
  2016-11-14  2:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  0:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 77e1c7426aad05b20f48762234c02139e9c02f8e ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 77e1c7426aad05b20f48762234c02139e9c02f8e

Use ui_file_as_string in gdb/ada-valprint.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* ada-valprint.c (ada_print_floating): Use ui_file_as_string and
	std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/ui-out.c
@ 2016-11-09  2:14 sergiodj+buildbot
  2016-11-14  6:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  2:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 56dbf31760f721893a44d3da26adfccf548995c7 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 56dbf31760f721893a44d3da26adfccf548995c7

Use ui_file_as_string in gdb/ui-out.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* ui-out.c (ui_out_field_stream): Use ui_file_as_string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/utils.c
@ 2016-11-09  3:11 sergiodj+buildbot
  2016-11-14  8:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  3:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d16c5475b560adbad2d9bc78ec3718658f4090e3 ***

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

Use ui_file_as_string in gdb/utils.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* utils.c (error_stream): Use ui_file_as_string and std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/arm-tdep.c
@ 2016-11-09  3:33 sergiodj+buildbot
  2016-11-14  9:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  3:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 09b0e4b047b44063cf4c8c00527886743619c24e ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 09b0e4b047b44063cf4c8c00527886743619c24e

Use ui_file_as_string in gdb/arm-tdep.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* arm-tdep.c (_initialize_arm_tdep): Use ui_file_as_string and
	std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in execute_command_to_string
@ 2016-11-09  5:16 sergiodj+buildbot
  2016-11-14 18:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  5:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT db1ec11fff1a46f7046bcbd971a42632d2ea795c ***

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

Use ui_file_as_string in execute_command_to_string

... and then return std::string and adjust all callers.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* gdbcmd.h (execute_command_to_string): Now returns std::string.
	(lookup_struct_elt_type): Adjust to use std::string.
	* top.c (execute_command_to_string): Use ui_file_as_string and
	return std::string.
	* guile/guile.c (gdbscm_execute_gdb_command): Adjust to use
	std::string.
	* python/python.c (execute_gdb_command): Adjust to use
	std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/top.c
@ 2016-11-09  6:19 sergiodj+buildbot
  2016-11-14 23:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  6:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7b01d34b2a62fb8cda96fe40c755f99e63b8ba4f ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 7b01d34b2a62fb8cda96fe40c755f99e63b8ba4f

Use ui_file_as_string in gdb/top.c

Yet another cleanup is eliminated.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* top.c (quit_confirm): Use ui_file_as_string and std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/printcmd.c
@ 2016-11-09  6:37 sergiodj+buildbot
  2016-11-15  4:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  6:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 02030646c2a799614d31e52008403d8be067ac5d ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 02030646c2a799614d31e52008403d8be067ac5d

Use ui_file_as_string in gdb/printcmd.c

Yet another cleanup eliminated.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* printcmd.c (eval_command): Use ui_file_as_string and
	std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/remote.c
@ 2016-11-09  8:18 sergiodj+buildbot
  2016-11-15  7:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  8:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b3ced9bad2d8d5eb9ebabc5f8f7c6ab871f63748 ***

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

Use ui_file_as_string in gdb/remote.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* remote.c (escape_buffer): Use ui_file_as_string and return
	std::string.
	(putpkt_binary, read_frame): Adjust to use std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/cli/cli-setshow.c
@ 2016-11-09  9:53 sergiodj+buildbot
  2016-11-15 11:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09  9:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3d8b0d9483f6eabc2c1739ac3dd64c30061a6a72 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 3d8b0d9483f6eabc2c1739ac3dd64c30061a6a72

Use ui_file_as_string in gdb/cli/cli-setshow.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* cli/cli-setshow.c (do_show_command): Adjust to use
	ui_file_as_string and std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/compile/
@ 2016-11-09 10:10 sergiodj+buildbot
  2016-11-15 17:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 10:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aaee65aea29ac8f7317e866d5dbef9f96cfdb253 ***

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

Use ui_file_as_string in gdb/compile/

Using ui_file_as_string would imply changing a few prototypes to pass
around source and object file names as std::string.  Instead of that,
wrap those two in a new class.  This ends up eliminating a small
wrinkle: get_new_file_names and compile_object_load have swapped
parameters.  The former takes "source, objfile", while the latter
takes "objfile, source".

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* c-lang.h (c_compute_program): Now returns std::string.
	* compile/compile-internal.h (class compile_file_names): New
	class.
	* compile/compile-object-load.c (compile_object_load): Replace
	object_file and source_file parameters with a compile_file_names
	parameter.  Adjust.
	* compile-object-load.h: Include "compile-internal.h".
	(compile_object_load): Replace object_file and source_file
	parameters with a compile_file_names parameter.
	* compile/compile-c-support.c (c_compute_program): Now returns a
	std::string.  Use ui_file_as_string.
	* compile/compile.c (get_new_file_names): Remove parameters and
	return a compile_file_names instead.
	(compile_to_object): Now returns a compile_file_names.  Use
	ui_file_as_string.
	(eval_compile_command): Use compile_file_names.
	* language.h (struct language_defn) <la_compute_program>: Now
	returns std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/c-exp.y
@ 2016-11-09 10:46 sergiodj+buildbot
  2016-11-15 17:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 10:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 66bbce5bda870c49a68f2b77a29fb96eca72632f ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 66bbce5bda870c49a68f2b77a29fb96eca72632f

Use ui_file_as_string in gdb/c-exp.y

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* c-exp.y (OPERATOR NEW): Adjust to use ui_file_as_string and
	std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdbarch.sh/gdbarch.c
@ 2016-11-09 12:46 sergiodj+buildbot
  2016-11-15 20:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 12:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6f0302493af0ace93943041c3374069c15c363f7 ***

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

Use ui_file_as_string in gdbarch.sh/gdbarch.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* gdbarch.sh (verify_gdbarch): Use ui_file_as_string and
	std::string.
	* gdbarch.c: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/infrun.c
@ 2016-11-09 13:50 sergiodj+buildbot
  2016-11-16  1:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 13:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT af1fe7b3b87de27d84a82d4f44b937c2800205ff ***

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

Use ui_file_as_string in gdb/infrun.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* infrun.c (print_target_wait_results): Use ui_file_as_string and
	std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/rust-lang.c
@ 2016-11-09 14:28 sergiodj+buildbot
  2016-11-16  8:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 14:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5698084a7303c45fdc94fb44c47355413b271562 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5698084a7303c45fdc94fb44c47355413b271562

Use ui_file_as_string in gdb/rust-lang.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>
	    Tom Tromey  <tom@tromey.com>

	* rust-lang.c (struct disr_info) <name>: Now a std::string.
	(rust_get_disr_info): Use ui_file_as_string and adjust to use
	std::string.
	(rust_val_print): Adjust to use std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string in gdb/language.c
@ 2016-11-09 15:45 sergiodj+buildbot
  2016-11-16  9:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 15:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d2af8993a7cac29eaa5a4efd47c9117bbd175068 ***

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

Use ui_file_as_string in gdb/language.c

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* language.c (add_language): Use ui_file_as_string and adjust to
	use std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] 'struct agent_expr *' -> unique_ptr<agent_expr>
@ 2016-11-09 17:48 sergiodj+buildbot
  2016-11-16 18:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 17:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 833177a4a5c1a2a6cabe70bfe35ecf241b68d169 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 833177a4a5c1a2a6cabe70bfe35ecf241b68d169

'struct agent_expr *' -> unique_ptr<agent_expr>

This patch makes the gen_* functions return a unique_ptr instead of
raw pointer:

  typedef gdb::unique_ptr<agent_expr> agent_expr_up;

and then adjusts the codebase throughout to stop using
make_cleanup_free_agent_expr.

The cond_bytecode and cmd_bytecode fields of struct bp_location are
owning pointers, so they're changed to be unique_ptr's instead of raw
pointers.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* ax-gdb.c (is_nontrivial_conversion): Use agent_expr_up.
	(gen_trace_for_var, gen_trace_for_expr, gen_eval_for_expr)
	(gen_trace_for_return_address, gen_printf): Use and return an
	agent_expr_up.  Don't use make_cleanup_free_agent_expr.
	(agent_eval_command_one, maint_agent_printf_command): Use
	agent_expr_up.  Don't use make_cleanup_free_agent_expr.
	* ax-gdb.h (gen_trace_for_expr, gen_trace_for_var)
	(gen_trace_for_return_address, gen_eval_for_expr, gen_printf): Use
	agent_expr_up.
	* ax-general.c (new_agent_expr): Rename to ...
	(agent_expr::agent_expr): ... this, and now a constructor.
	(free_agent_expr): Rename to ...
	(agent_expr::~agent_exp): ... this, and now a destructor.
	(do_free_agent_expr_cleanup, make_cleanup_free_agent_expr):
	Delete.
	* ax.h (struct agent_expr): Add ctor/dtor.
	(agent_expr_up): New typedef.
	(new_agent_expr, free_agent_expr, make_cleanup_free_agent_expr):
	Delete declarations.
	* breakpoint.c (parse_cond_to_aexpr): Use and return an
	agent_expr_up.  Don't use make_cleanup_free_agent_expr.
	(build_target_condition_list): Adjust to use agent_expr_up.
	(parse_cmd_to_aexpr): Use and return an agent_expr_up.  Don't use
	make_cleanup_free_agent_expr.
	(build_target_command_list): Adjust to use agent_expr_up.
	(force_breakpoint_reinsertion): Adjust to use agent_expr_up.
	(bp_location_dtor): Remove unnecessary free_agent_expr and xfree
	calls.
	* breakpoint.h (struct bp_target_info) <cond_bytecode,
	cmd_bytecode>: Now agent_expr_up's.
	* remote.c (remote_download_tracepoint): Adjust to use
	agent_expr_up and remove use of make_cleanup_free_agent_expr.
	* tracepoint.c (validate_actionline, collect_symbol): Adjust to
	use agent_expr_up and remove uses of make_cleanup_free_agent_expr.
	(collection_list::~collection_list): Call delete instead of
	free_agent_expr.
	(encode_actions_1): Adjust to use agent_expr_up and remove uses of
	make_cleanup_free_agent_expr.
	(add_aexpr): Change parameter type to agent_expr_up; Return a raw
	agent_expr pointer.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ui_file_as_string throughout more
@ 2016-11-09 18:35 sergiodj+buildbot
  2016-11-16 15:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 18:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2f408ecb929bd56613e94cf1e84ace4692c78257 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 2f408ecb929bd56613e94cf1e84ace4692c78257

Use ui_file_as_string throughout more

This replaces most of the remaining ui_file_xstrdup calls with
ui_file_as_string calls.  Whenever a call was replaced, that led to a
cascade of other necessary adjustments throughout, to make the code
use std::string instead of raw pointers.  And then whenever I added a
std::string as member of a struct, I needed to adjust
allocation/destruction of said struct to use new/delete instead of
xmalloc/xfree.

The stopping point was once gdb built again.  These doesn't seem to be
a way to reasonably split this out further.

Maybe-not-obvious changes:

 - demangle_for_lookup returns a cleanup today.  To get rid of that,
   and avoid unnecessary string dupping/copying, this introduces a
   demangle_result_storage type that the caller instantiates and
   passes to demangle_for_lookup.

 - Many methods returned a "char *" to indicate that the caller owns
   the memory and must free it.  Those are switched to return a
   std::string instead.  Methods that return a "view" into some
   internal string return a "const char *" instead.  I.e., we only
   copy/allocate when necessary.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* ada-lang.c (ada_name_for_lookup, type_as_string): Use and return
	std::string.
	(type_as_string_and_cleanup): Delete.
	(ada_lookup_struct_elt_type): Use type_as_string.
	* ada-lang.h (ada_name_for_lookup): Now returns std::string.
	* ada-varobj.c (ada_varobj_scalar_image): Return a std::string.
	(ada_varobj_describe_child): Make 'child_name' and
	'child_path_expr' parameters std::string pointers.
	(ada_varobj_describe_struct_child, ada_varobj_describe_ptr_child):
	Likewise, and use string_printf.
	(ada_varobj_describe_simple_array_child)
	(ada_varobj_describe_child): Likewise.
	(ada_varobj_get_name_of_child, ada_varobj_get_path_expr_of_child)
	(ada_varobj_get_value_image)
	(ada_varobj_get_value_of_array_variable)
	(ada_varobj_get_value_of_variable, ada_name_of_variable)
	(ada_name_of_child, ada_path_expr_of_child)
	(ada_value_of_variable): Now returns std::string.  Use
	string_printf.
	(ada_value_of_child): Adjust.
	* break-catch-throw.c (check_status_exception_catchpoint): Adjust
	to use std::string.
	* breakpoint.c (watch_command_1): Adjust to use std::string.
	* c-lang.c (c_get_string): Adjust to use std::string.
	* c-typeprint.c (print_name_maybe_canonical): Use std::string.
	* c-varobj.c (varobj_is_anonymous_child): Use ==/!= std::string
	operators.
	(c_name_of_variable): Now returns a std::string.
	(c_describe_child): The 'cname' and 'cfull_expression' output
	parameters are now std::string pointers.  Adjust.
	(c_name_of_child, c_path_expr_of_child, c_value_of_variable)
	(cplus_number_of_children): Adjust to use std::string and
	string_printf.
	(cplus_name_of_variable): Now returns a std::string.
	(cplus_describe_child): The 'cname' and 'cfull_expression' output
	parameters are now std::string pointers.  Adjust.
	(cplus_name_of_child, cplus_path_expr_of_child)
	(cplus_value_of_variable): Now returns a std::string.
	* cp-abi.c (cplus_typename_from_type_info): Return std::string.
	* cp-abi.h (cplus_typename_from_type_info): Return std::string.
	(struct cp_abi_ops) <get_typename_from_type_info>: Return
	std::string.
	* cp-support.c (inspect_type): Use std::string.
	(cp_canonicalize_string_full, cp_canonicalize_string_no_typedefs)
	(cp_canonicalize_string): Return std::string and adjust.
	* cp-support.h (cp_canonicalize_string)
	(cp_canonicalize_string_no_typedefs, cp_canonicalize_string_full):
	Return std::string.
	* dbxread.c (read_dbx_symtab): Use std::string.
	* dwarf2read.c (dwarf2_canonicalize_name): Adjust to use std::string.
	* gdbcmd.h (lookup_struct_elt_type): Adjust to use std::string.
	* gnu-v3-abi.c (gnuv3_get_typeid): Use std::string.
	(gnuv3_get_typename_from_type_info): Return a std::string and
	adjust.
	(gnuv3_get_type_from_type_info): Adjust to use std::string.
	* guile/guile.c (gdbscm_execute_gdb_command): Adjust to use
	std::string.
	* infcmd.c (print_return_value_1): Adjust to use std::string.
	* linespec.c (find_linespec_symbols): Adjust to
	demangle_for_lookup API change.  Use std::string.
	* mi/mi-cmd-var.c (print_varobj, mi_cmd_var_set_format)
	(mi_cmd_var_info_type, mi_cmd_var_info_path_expression)
	(mi_cmd_var_info_expression, mi_cmd_var_evaluate_expression)
	(mi_cmd_var_assign, varobj_update_one): Adjust to use std::string.
	* minsyms.c (lookup_minimal_symbol): Use std::string.
	* python/py-varobj.c (py_varobj_iter_next): Use new instead of
	XNEW.  vitem->name is a std::string now, adjust.
	* rust-exp.y (convert_ast_to_type, convert_name): Adjust to use
	std::string.
	* stabsread.c (define_symbol): Adjust to use std::string.
	* symtab.c (demangle_for_lookup): Now returns 'const char *'.  Add
	a demangle_result_storage parameter.  Use it for storage.
	(lookup_symbol_in_language)
	(lookup_symbol_in_objfile_from_linkage_name): Adjust to new
	demangle_for_lookup API.
	* symtab.h (struct demangle_result_storage): New type.
	(demangle_for_lookup): Now returns 'const char *'.  Add a
	demangle_result_storage parameter.
	* typeprint.c (type_to_string): Return std::string and use
	ui_file_as_string.
	* value.h (type_to_string): Change return type to std::string.
	* varobj-iter.h (struct varobj_item) <name>: Now a std::string.
	(varobj_iter_delete): Use delete instead of xfree.
	* varobj.c (create_child): Return std::string instead of char * in
	output parameter.
	(name_of_variable, name_of_child, my_value_of_variable): Return
	std::string instead of char *.
	(varobj_create, varobj_get_handle): Constify 'objname' parameter.
	Adjust to std::string fields.
	(varobj_get_objname): Return a const char * instead of a char *.
	(varobj_get_expression): Return a std::string.
	(varobj_list_children): Adjust to use std::string.
	(varobj_get_type): Return a std::string.
	(varobj_get_path_expr): Return a const char * instead of a char *.
	Adjust to std::string fields.
	(varobj_get_formatted_value, varobj_get_value): Return a
	std::string.
	(varobj_set_value): Change type of 'expression' parameter to
	std::string.  Use std::string.
	(install_new_value): Use std::string.
	(delete_variable_1): Adjust to use std::string.
	(create_child): Change the 'name' parameter to a std::string
	reference.  Swap it into the new item's name.
	(create_child_with_value): Swap item's name into the new child's
	name.  Use string_printf.
	(new_variable): Use new instead of XNEW.
	(free_variable): Don't xfree fields that are now std::string.
	(name_of_variable, name_of_child): Now returns std::string.
	(value_of_root): Adjust to use std::string.
	(my_value_of_variable, varobj_value_get_print_value): Return
	and use std::string.
	(varobj_value_get_print_value): Adjust to use ui_file_as_string
	and std::string.
	* varobj.h (struct varobj) <name, path_expr, obj_name,
	print_value>: Now std::string's.
	<name_of_variable, name_of_child, path_expr_of_child,
	value_of_variable>: Return std::string.
	(varobj_create, varobj_get_handle): Constify 'objname' parameter.
	(varobj_get_objname): Return a const char * instead of a char *.
	(varobj_get_expression, varobj_get_type): Return a std::string.
	(varobj_get_path_expr): Return a const char * instead of a char *.
	(varobj_get_formatted_value, varobj_get_value): Return a
	std::string.
	(varobj_set_value): Constify 'expression' parameter.
	(varobj_value_get_print_value): Return a std::string.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Eliminate agent_expr_p; VEC -> std::vector in struct bp_target_info
@ 2016-11-09 18:42 sergiodj+buildbot
  2016-11-16 19:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 18:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3cde5c42d1c1ddcf8bbde5c47233c644370c959c ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 3cde5c42d1c1ddcf8bbde5c47233c644370c959c

Eliminate agent_expr_p; VEC -> std::vector in struct bp_target_info

After the previous patch, we end up with these two types with quite
similar, and potentially confusing names:

  typedef gdb::unique_ptr<agent_expr> agent_expr_up;

  /* Pointer to an agent_expr structure.  */
  typedef struct agent_expr *agent_expr_p;

The latter is only necessary to put agent_expr pointers in VECs.  So
just eliminate it and use std::vector instead.

gdb/ChangeLog:
2016-11-08  Pedro Alves  <palves@redhat.com>

	* ax.h (agent_expr_p): Delete.
	(DEF_VEC_P (agent_expr_p)): Delete.
	* breakpoint.c (build_target_condition_list)
	(build_target_command_list): Adjust to use of std::vector.
	(bp_location_dtor): Remove now unnecessary VEC_free calls.
	* breakpoint.h: Include <vector>.
	(struct bp_target_info) <conditions, tcommands>: Now
	std::vector's.
	* remote.c (remote_add_target_side_condition): bp_tgt->conditions
	is now a std::vector; adjust.
	(remote_add_target_side_commands, remote_insert_breakpoint):
	bp_tgt->tcommands is now a std::vector; adjust.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use get_frame_register_value instead of deprecated_frame_register_read
@ 2016-11-09 19:49 sergiodj+buildbot
  2016-11-16 23:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 19:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc977dc7d53ef4546592a4f02a2e06a621beae6f ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: cc977dc7d53ef4546592a4f02a2e06a621beae6f

Use get_frame_register_value instead of deprecated_frame_register_read

This patch calls get_frame_register_value instead of
deprecated_frame_register_read, so that we can pass
value_contents_for_printing to val_print.  Both
get_frame_register_value and deprecated_frame_register_read call
frame_unwind_register_value indirectly, so no functionality is changed
by this patch.

gdb:

2016-11-08  Yao Qi  <yao.qi@linaro.org>

	* mt-tdep.c (mt_registers_info): Call
	get_frame_register_value instead of
	deprecated_frame_register_read.
	* sh64-tdep.c (sh64_do_register): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove parameter valaddr from la_val_print
@ 2016-11-09 20:30 sergiodj+buildbot
  2016-11-17  3:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 20:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e8b24d9ff5b9419fc079f5fe975fac6f499f8bfb ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: e8b24d9ff5b9419fc079f5fe975fac6f499f8bfb

Remove parameter valaddr from la_val_print

Nowadays, we pass both val and return value of
value_contents_for_printing (val) to la_val_print.  The latter is
unnecessary.  This patch removes the second parameter of la_val_print,
and get valaddr in each language's implementation by calling
value_contents_for_printing.  Since value_contents_for_printing calls
value_fetch_lazy, I also make VAL non-const.

Note that
 - I don't clean up the valaddr usages in each language's routines,
 - I don't remove valaddr from apply_ext_lang_val_pretty_printer, and
   extension language ops apply_val_pretty_printer.

They can be done in followup patches.

gdb:

2016-11-08  Yao Qi  <yao.qi@linaro.org>

	* ada-lang.h (ada_val_print): Remove second parameter.  Remove
	const from "struct value *".
	* ada-valprint.c (print_field_values): Remove const from
	"struct value *".
	(val_print_packed_array_elements): Likewise.
	(print_variant_part): Likewise.
	(ada_val_print_string): Likewise.
	(ada_val_print_gnat_array): Likewise.
	(ada_val_print_ptr): Likewise.
	(ada_val_print_num): Likewise.
	(ada_val_print_enum): Likewise.
	(ada_val_print_flt): Likewise.
	(ada_val_print_union): Likewise.
	(ada_val_print_struct_union): Likewise.
	(ada_val_print_ref): Likewise.
	(ada_val_print_1): Remove second parameter.  Remove const from
	"struct value *".
	(ada_val_print): Likewise.
	* c-lang.h (c_val_print): Likewise.
	* c-valprint.c (c_val_print_array): Remove const from
	"struct value *".
	(c_val_print_ptr): Likewise.
	(c_val_print_struct): Likewise.
	(c_val_print_union): Likewise.
	(c_val_print_int): Likewise.
	(c_val_print_memberptr): Likewise.
	(c_val_print): Remove second parameter.  Remove const from
	"struct value *".  All callers updated.
	* cp-valprint.c (cp_print_value): Remove const from
	"struct value *".
	(cp_print_value_fields): Likewise.
	(c_val_print_value): Likewise.
	* d-lang.h (d_val_print): Remove second parameter.  Remove const
	from "struct value *".
	* d-valprint.c (dynamic_array_type): Likewise.
	(d_val_print): Likewise.
	* f-lang.h (f_val_print): Likewise.
	* f-valprint.c (f_val_print): Likewise.
	* go-lang.h (go_val_print): Likewise.
	* go-valprint.c (print_go_string): Likewise.
	(go_val_print): Likewise.
	* language.c (unk_lang_val_print): Likewise.
	* language.h (struct language_defn) <la_val_print>: Likewise.
	Update comments.
	(LA_VAL_PRINT): Remove.
	* m2-lang.h (m2_val_print): Remove const from
	"struct value *".
	* m2-valprint.c (m2_print_array_contents): Likewise.
	(m2_val_print): Likewise.
	* p-lang.h (pascal_val_print): Remove second parameter.  Remove
	const from "struct value *".
	(pascal_object_print_value_fields): Likewise.
	* p-valprint.c (pascal_val_print): Likewise.
	(pascal_object_print_value_fields): Likewise.
	(pascal_object_print_value): Likewise.
	* rust-lang.c (rust_get_disr_info): Likewise.
	(val_print_struct): Likewise.
	(rust_val_print): Likewise.
	* valprint.c (generic_val_print_array): Likewise.
	(generic_val_print_ptr): Likewise.
	(generic_val_print_memberptr): Likewise.
	(generic_val_print_ref): Likewise.
	(generic_val_print_enum): Likewise.
	(generic_val_print_flags): Likewise.
	(generic_val_print_func): Likewise.
	(generic_val_print_bool): Likewise.
	(generic_val_print_int): Likewise.
	(generic_val_print_char): Likewise.
	(generic_val_print_float): Likewise.
	(generic_val_print_decfloat): Likewise.
	(generic_val_print_complex): Likewise.
	(generic_val_print): Likewise.
	(val_print): Likewise.
	(common_val_print): Likewise.
	(val_print_type_code_flags): Likewise.
	(val_print_scalar_formatted): Likewise.
	(val_print_array_elements): Likewise.
	* valprint.h (val_print_array_elements): Update declaration.
	(val_print_scalar_formatted): Likewise.
	(generic_val_print): Likewise.
	* value.h (val_print): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix some error-handling bugs in python frame filters
@ 2016-11-09 21:50 sergiodj+buildbot
  2016-11-17  7:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 21:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 30a7bb833cbd848b1814f18b91dfdafba4e86839 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 30a7bb833cbd848b1814f18b91dfdafba4e86839

Fix some error-handling bugs in python frame filters

While writing a Python frame filter, I found a few bugs in the current
frame filter code.  In particular:

* One spot converts a Python long to a CORE_ADDR using PyLong_AsLong.
  However, this can fail on overflow.  I changed this to use
  get_addr_from_python.

* Another spot is doing the same but with PyLong_AsUnsignedLongLong; I
  changed this as well just for consistency.

* Converting line numbers can print "-1" if conversion from long
  fails.  This isn't fatal but just a bit ugly.

I've included a test case for the first issue.  The line number one
didn't seem important enough to bother with.

2016-11-08  Tom Tromey  <tom@tromey.com>

	* python/py-framefilter.c (py_print_frame): Use
	get_addr_from_python.  Check for errors when getting line number.

2016-11-08  Tom Tromey  <tom@tromey.com>

	* gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
	New method.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] X86: Remove the THREE_BYTE_0F7A entry
@ 2016-11-09 23:16 sergiodj+buildbot
  2016-11-17 14:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 23:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1f334aeb2268db153f01143e9b0ac01448ecaa56 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 1f334aeb2268db153f01143e9b0ac01448ecaa56

X86: Remove the THREE_BYTE_0F7A entry

Remove the THREE_BYTE_0F7A entry which is leftover from SSE5.

	PR binutils/20701
	* i386-dis.c (THREE_BYTE_0F7A): Removed.
	(dis386_twobyte): Don't use THREE_BYTE_0F7A.
	(three_byte_table): Remove THREE_BYTE_0F7A.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix py-value.exp failure on Python 3
@ 2016-11-09 23:50 sergiodj+buildbot
  2016-11-17 12:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-09 23:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7353f2470c2eda19c31c9fa44c315c7c69dea7c4 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 7353f2470c2eda19c31c9fa44c315c7c69dea7c4

Fix py-value.exp failure on Python 3

I happened to notice that one test in py-value.exp did not work
properly with Python 3.  This patch fixes the problem.

2016-11-08  Tom Tromey  <tom@tromey.com>

	* gdb.python/py-value.exp (test_value_creation): Make "long" test
	depend on Python 2.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] darwin-nat.c: handle Darwin 16 (aka Sierra).
@ 2016-11-10  1:21 sergiodj+buildbot
  2016-11-17 16:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  1:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 82b19a4d2f9c9e8d56fdffdd702f7db4af486386 ***

Author: Tristan Gingold <gingold@adacore.com>
Branch: master
Commit: 82b19a4d2f9c9e8d56fdffdd702f7db4af486386

darwin-nat.c: handle Darwin 16 (aka Sierra).

Support message from new task and dead name notification on task of an
existing process.
With Sierra, exec(2) terminate the current task and creates a new one.
'set startup-with-shell off' must still be used on Darwin 16.

2016-11-09  Tristan Gingold  <gingold@adacore.com>

	* darwin-nat.c (find_inferior_task_it): Fix indentation.
	(find_inferior_notify_it): Remove.
	(find_inferior_pid_it): New function.
	(darwin_find_inferior_by_notify): Remove.
	(darwin_find_inferior_by_pid): New function.
	(darwin_find_new_inferior): New function.
	(darwin_check_message_ndr): New function from
	darwin_decode_exception_message.
	(darwin_decode_exception_message): Call darwin_check_message_ndr.
	Handle SIGTRAP addressed to an unknown task (when a task spawned).
	(darwin_decode_notify_message): New function.
	(darwin_decode_message): Handle unknown task.
	(darwin_deallocate_threads): New function from darwin_mourn_inferior.
	(darwin_mourn_inferior): Use darwin_deallocate_threads and
	darwin_deallocate_exception_ports.
	(darwin_deallocate_exception_ports): New function from
	darwin_mourn_inferior.
	(darwin_setup_exceptions): New function from darwin_attach_pid.
	(darwin_setup_request_notification): Likewise.
	(darwin_attach_pid): Call darwin_setup_request_notification and
	darwin_setup_request_notification.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] tui-winsource: Allocate for actual lines only
@ 2016-11-10  3:59 sergiodj+buildbot
  2016-11-18  6:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  3:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7bc2c8b83ea82b4315c67e7658af815aed062e73 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 7bc2c8b83ea82b4315c67e7658af815aed062e73

tui-winsource: Allocate for actual lines only

The logic for allocating a TUI source window's content buffer allocates
two more lines than needed, because it does not reduce the window height
by the highlight box's overhead.  However, it does reduce the line width
accordingly.  This patch makes the height and width calculation
consistent and improves the comment.

gdb/ChangeLog:

	* tui/tui-winsource.c (tui_alloc_source_buffer): Subtract
	highlight box's overhead when calculating the content height.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] tui-disasm: Fix line buffer size calculation
@ 2016-11-10  4:19 sergiodj+buildbot
  2016-11-18  2:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  4:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f5396833d35a257902409493a63f777dcd771868 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: f5396833d35a257902409493a63f777dcd771868

tui-disasm: Fix line buffer size calculation

The code that fills the TUI disassembly window content first calculates
the maximum full length of a displayed disassembly line.  This
calculation typically yields the wrong result.  The result is too large,
so the bug does not cause any run-time failures, but unnecessary
confusion for the reader.  This patch fixes the calculation.

gdb/ChangeLog:

	* tui/tui-disasm.c (tui_set_disassem_content): Fix calculation of
	the longest disassembly line's length.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Use vector::emplace_back
@ 2016-11-10  5:47 sergiodj+buildbot
  2016-11-18 11:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  5:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7a63494a0df60cf71b9cf03c4eb8f24719d03e66 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 7a63494a0df60cf71b9cf03c4eb8f24719d03e66

gdb: Use vector::emplace_back

Now that we require C++11, we can use vector::emplace_back to
construct elements in place instead of constructing and then copying.

gdb/ChangeLog:
2016-11-09  Pedro Alves  <palves@redhat.com>

	* main.c (struct cmdarg): Add constructor.
	(captured_main_1): Use vector::emplace_back.
	* tracepoint.c (collection_list::add_memrange): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] tui-winsource: Remove failed-allocation logic
@ 2016-11-10  6:36 sergiodj+buildbot
  2016-11-18  9:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  6:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8c84bffb45ac63b98fffc5c1a492c2eb7e4f27e2 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 8c84bffb45ac63b98fffc5c1a492c2eb7e4f27e2

tui-winsource: Remove failed-allocation logic

This removes dead code in tui_alloc_source_buffer for handling a NULL
return value from xmalloc.

gdb/ChangeLog:

	* tui/tui-winsource.c (tui_alloc_source_buffer): Remove
	failed-xmalloc handling.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb/testsuite: Introduce "proc_with_prefix"
@ 2016-11-10  7:45 sergiodj+buildbot
  2016-11-18 19:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  7:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 64f367a201565d5c7d1e03da072db51123ac2174 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 64f367a201565d5c7d1e03da072db51123ac2174

gdb/testsuite: Introduce "proc_with_prefix"

While adding new tests to gdb.base/commands.exp, I noticed that the
file includes a bunch of individual testcases split into their own
procedures, and that none have ever been adjusted to use
with_test_prefix.  Instead, each gdb_test/gdb_test_multiple/etc
invocation takes care of including the procedure name in the test
message, in order to make sure test messages are unique.

Simon convinced me that using the procedure name as prefix is not that
bad of an idea:
  https://sourceware.org/ml/gdb-patches/2016-10/msg00020.html

This commit adds an IMO simpler alternative to
with_test_prefix_procname added by that patch -- a new
"proc_with_prefix" convenience proc that is meant to be used in place
of "proc", and then uses it in commands.exp.  Procedures defined with
this automatically run their bodies under with_test_prefix $proc_name.

Here's a sample of the resulting gdb.sum diff:

 [...]
 -PASS: gdb.base/commands.exp: break factorial #3
 -PASS: gdb.base/commands.exp: set value to 5 in test_command_prompt_position
 -PASS: gdb.base/commands.exp: if test in test_command_prompt_position
 -PASS: gdb.base/commands.exp: > OK in test_command_prompt_position
 +PASS: gdb.base/commands.exp: test_command_prompt_position: break factorial
 +PASS: gdb.base/commands.exp: test_command_prompt_position: set value to 5
 +PASS: gdb.base/commands.exp: test_command_prompt_position: if test
 +PASS: gdb.base/commands.exp: test_command_prompt_position: > OK
 [...]

gdb/testsuite/ChangeLog:
2016-11-09  Pedro Alves  <palves@redhat.com>

	* gdb.base/commands.exp (gdbvar_simple_if_test)
	(gdbvar_simple_while_test, gdbvar_complex_if_while_test)
	(progvar_simple_if_test, progvar_simple_while_test)
	(progvar_complex_if_while_test, if_while_breakpoint_command_test)
	(infrun_breakpoint_command_test, breakpoint_command_test)
	(user_defined_command_test, watchpoint_command_test)
	(test_command_prompt_position, deprecated_command_test)
	(bp_deleted_in_command, temporary_breakpoint_commands)
	(stray_arg0_test, source_file_with_indented_comment)
	(recursive_source_test, if_commands_test)
	(error_clears_commands_left, redefine_hook_test)
	(redefine_backtrace_test): Use proc_with_prefix.
	* lib/gdb.exp (proc_with_prefix): New proc.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] agent_expr_up: gdb::unique_ptr -> std::unique_ptr
@ 2016-11-10  7:45 sergiodj+buildbot
  2016-11-18 14:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  7:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6c73cd95f96d37dbf6092a87c8ba0f35277223a5 ***

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

agent_expr_up: gdb::unique_ptr -> std::unique_ptr

Now that we require C++11, use std::unique_ptr directly.  This allows
simplifying collection_list a bit by placing unique pointers in the
vector directly, making the vector own its elements.

gdb/ChangeLog:
2016-11-09  Pedro Alves  <palves@redhat.com>

	* ax-gdb.c (agent_eval_command_one): Use std::move instead of
	gdb::move.
	* ax.h (agent_expr_up): Use std::unique_ptr instead of
	gdb::unique_ptr.
	* breakpoint.c (parse_cond_to_aexpr): Use std::move instead of
	gdb::move.
	* tracepoint.c (collection_list::collect_symbol): Likewise.
	(collection_list::~collection_list): Delete.
	(encode_actions_1): Use std::move instead of gdb::move.
	(collection_list::add_aexpr): Use std::move instead of
	unique_ptr::release.
	* tracepoint.h (collection_list) <~collection_list>: Delete
	declaration.
	<m_aexprs>: Now a vector of agent_ptr_up.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Make gdb.mi/user-selected-context-sync.exp use proc_with_prefix
@ 2016-11-10  7:46 sergiodj+buildbot
  2016-11-18 21:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  7:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8354c62cd144964fce17e11ce035c0c2c0635cbf ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 8354c62cd144964fce17e11ce035c0c2c0635cbf

Make gdb.mi/user-selected-context-sync.exp use proc_with_prefix

Pedro's patch provides a cleaner way to prefix tests with the proc name,
so let's use that.

gdb/testsuite/ChangeLog:

	* gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
	Remove.
	(test_setup): Define with proc_with_prefix.
	(test_cli_inferior): Likewise.
	(test_cli_thread): Likewise.
	(test_cli_frame): Likewise.
	(test_cli_select_frame): Likewise.
	(test_cli_up_down): Likewise.
	(test_mi_thread_select): Likewise.
	(test_mi_stack_select_frame): Likewise.
	(test_cli_in_mi_inferior): Likewise.
	(test_cli_in_mi_thread): Likewise.
	(test_cli_in_mi_frame): Likewise.
	(top level): Do not use with_test_prefix_procname.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] X86: Remove the .s suffix from EVEX vpextrw
@ 2016-11-10  7:47 sergiodj+buildbot
  2016-11-19  9:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  7:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 60227d64dd9228be1a07fc7122894fc2875b1a70 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 60227d64dd9228be1a07fc7122894fc2875b1a70

X86: Remove the .s suffix from EVEX vpextrw

The .s suffix indicates that the instruction is encoded by swapping
2 register operands.  Since vpextrw takes an XMM register and an
integer register, the .s suffix should be ignored for EVEX vpextrw.

gas/

	PR binutils/20799
	* testsuite/gas/i386/opcode.s: Add a test for EVEX vpextrw.
	* testsuite/gas/i386/opcode-intel.d: Updated.
	* testsuite/gas/i386/opcode-suffix.d: Likewise.
	* testsuite/gas/i386/opcode.d: Likewise.
	* testsuite/gas/i386/x86-64-avx512bw-opts.s: Remove vpextrw
	tests.
	* testsuite/gas/i386/x86-64-avx512bw-opts-intel.d: Updated.
	* testsuite/gas/i386/x86-64-avx512bw-opts.d: Likewise.

opcodes/

	PR binutils/20799
	* i386-dis-evex.h (evex_table): Replace EdqwS with Edqw.
	* i386-dis.c (EdqwS): Removed.
	(dqw_swap_mode): Likewise.
	(intel_operand_size): Don't check dqw_swap_mode.
	(OP_E_register): Likewise.
	(OP_E_memory): Likewise.
	(OP_G): Likewise.
	(OP_EX): Likewise.
	* i386-opc.tbl: Remove "S" from EVEX vpextrw.
	* i386-tbl.h: Regerated.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] X86: Merge AVX512F vmovq
@ 2016-11-10  7:47 sergiodj+buildbot
  2016-11-19  2:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  7:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7efeed176a291c15c74e80aee5d7f906e28081cf ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 7efeed176a291c15c74e80aee5d7f906e28081cf

X86: Merge AVX512F vmovq

AVX512F vmovq doesn't support masking.  We can't swap register operand
in AVX512F vmovq with Reg64 since Reg64 != RegXMM.  This patch merges
AVX512F vmovq.

	* i386-opc.tbl: Merge AVX512F vmovq.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Further cleanup/modernization of gdb.base/commands.exp
@ 2016-11-10  7:48 sergiodj+buildbot
  2016-11-19  5:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  7:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fad0c9fb7dd362bdb5a3e4f89fb7f6e6789f5beb ***

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

Further cleanup/modernization of gdb.base/commands.exp

 - Use multi_line for matching multi-line GDB output.

 - Add a multi_line_input variant of multi_line to build GDB input and
   use it throughout.

   (The two changes above make the tests much more readable, IMO.)

 - Add a new valnum_re global to get rid of the multiple "\\\$\[0-9\]*".

 - Remove gdb_stop_suppressing_tests uses.

 - tighten a few regexps.

 - Replace send_gdb/gdb_expect with gdb_test_multiple and simplify,
   making pass/fail messages the same.

gdb/ChangeLog:
2016-11-09  Pedro Alves  <palves@redhat.com>

	* gdb.base/commands.exp (runto_or_return): New procedure.
	(gdbvar_simple_if_test, gdbvar_simple_while_test)
	(gdbvar_complex_if_while_test, progvar_simple_if_test)
	(progvar_simple_while_test, progvar_complex_if_while_test)
	(if_while_breakpoint_command_test)
	(infrun_breakpoint_command_test, breakpoint_command_test)
	(user_defined_command_test, watchpoint_command_test)
	(test_command_prompt_position, redefine_hook_test)
	(stray_arg0_test, error_clears_commands_left, redefine_hook_test)
	(redefine_backtrace_test): Use runto_or_return, $valnum_re,
	multi_line_input and multi_line.  Remove gdb_expect and
	gdb_stop_suppressing_tests uses.
	* lib/gdb.exp (valnum_re): New global.
	* lib/gdb.exp (valnum_re): New global.
	(multi_line_input): New procedure.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use unique_xmalloc_ptr in Python code
@ 2016-11-10  7:49 sergiodj+buildbot
  2016-11-19 13:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  7:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9b9720149dfee4a9a961c29d0382fc5bdf9c975b ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 9b9720149dfee4a9a961c29d0382fc5bdf9c975b

Use unique_xmalloc_ptr in Python code

This changes some utility functions in the Python code to return
unique_xmalloc_ptr, and then fixes up the callers.

I chose unique_xmalloc_ptr rather than std::string because at a few
call points the xmalloc'd string is released and ownership transferred
elsewhere.

This patch found a few existing memory leaks.  For example,
py-unwind.c called gdbpy_obj_to_string but never freed the result.

Built and regression tested on the buildbot.

2016-11-09  Tom Tromey  <tom@tromey.com>

	* varobj.h (varobj_get_display_hint): Change return type.
	* varobj.c (varobj_get_display_hint): Return unique_xmalloc_ptr.
	(varobj_value_get_print_value): Update.
	* python/python.c (gdbpy_before_prompt_hook, gdbpy_print_stack)
	(gdbpy_apply_type_printers): Update.
	* python/python-internal.h (unicode_to_target_string)
	(python_string_to_target_string, python_string_to_host_string)
	(gdbpy_obj_to_string, gdbpy_exception_to_string)
	(gdbpy_get_display_hint): Change return types.
	* python/py-varobj.c (py_varobj_iter_next): Update.
	* python/py-value.c (valpy_getitem, convert_value_from_python):
	Update.
	* python/py-utils.c (unicode_to_encoded_string)
	(unicode_to_target_string, python_string_to_target_string)
	(python_string_to_host_string, gdbpy_obj_to_string)
	(gdbpy_exception_to_string): Return unique_xmalloc_ptr.
	* python/py-unwind.c (pyuw_parse_register_id): Update.
	* python/py-type.c (typy_getitem): Update.
	* python/py-prettyprint.c (gdbpy_get_display_hint)
	(print_stack_unless_memory_error, print_children)
	(gdbpy_apply_val_pretty_printer): Update.
	* python/py-param.c (set_parameter_value): Update.
	(get_doc_string, call_doc_function): Return unique_xmalloc_ptr.
	(get_set_value, get_show_value, compute_enum_values, parmpy_init):
	Update.
	* python/py-infthread.c (thpy_set_name): Update.
	* python/py-function.c (fnpy_call, fnpy_init): Update.
	* python/py-framefilter.c (extract_sym): Change "name" to
	unique_xmalloc_ptr.
	(enumerate_args, enumerate_locals): Update.
	(py_print_frame): Use unique_xmalloc_ptr.
	* python/py-frame.c (frapy_read_var): Update.  Remove cleanup.
	* python/py-cmd.c (cmdpy_function, cmdpy_completer, cmdpy_init):
	Update.
	* python/py-breakpoint.c (bppy_set_condition): Use
	unique_xmalloc_ptr.
	(bppy_init): Likewise.  Remove cleanup.
	(local_setattro): Update.
	* mi/mi-cmd-var.c (print_varobj, mi_cmd_var_list_children)
	(varobj_update_one): Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] tui-disasm: Fix window content buffer overrun
@ 2016-11-10  8:07 sergiodj+buildbot
  2016-11-17 19:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  8:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0bb65f1e7c9eed7338ef2e4a2f5b42d010409c39 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 0bb65f1e7c9eed7338ef2e4a2f5b42d010409c39

tui-disasm: Fix window content buffer overrun

A user reported a GDB crash with TUI when trying to debug a function
with a long demangled C++ method name.  It turned out that the logic for
displaying the TUI disassembly window has a bug that can cause a buffer
overrun, possibly overwriting GDB-internal data structures.  In
particular, the logic performs an unguarded strcpy.

Another (harmless) bug in tui_alloc_source_buffer causes the buffer to
be two lines longer than needed.  This may have made the crash appear
less frequently.

gdb/ChangeLog:

	* tui/tui-disasm.c (tui_set_disassem_content): Fix line buffer
	overrun due to unchecked strcpy.

gdb/testsuite/ChangeLog:

	* gdb.base/tui-layout.c: New file.
	* gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
	disassembly window contains very long lines.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Bind defined symbol locally in PIE
@ 2016-11-10  9:30 sergiodj+buildbot
  2016-11-19 15:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-10  9:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ac33b731d214d79738ca04d27f7464d4482f6a01 ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: ac33b731d214d79738ca04d27f7464d4482f6a01

[AArch64] Bind defined symbol locally in PIE

bfd/
	PR target/20737
	* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Bind defined
	symbol locally in PIE.

ld/
	* testsuite/ld-aarch64/pie-bind-locally-a.s: New test source.
	* testsuite/ld-aarch64/pie-bind-locally-b.s: Likewise.
	* testsuite/ld-aarch64/pie-bind-locally.d: New testcase.
	* testsuite/ld-aarch64/aarch64-elf.exp: Run new testcase.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Provide a more helpful error message when the BFD library is unable to load an extremely large section.
@ 2016-11-10 12:31 sergiodj+buildbot
  2016-11-19 19:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-10 12:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a18590c38657a982f8d544f2f54f39ba9abe9fca ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: a18590c38657a982f8d544f2f54f39ba9abe9fca

Provide a more helpful error message when the BFD library is unable to load an extremely large section.

	PR target/20737
	* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Bind defined
	symbol locally in PIE.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] sim: mips: fix builds for r3900 cpus due to missing check_u64
@ 2016-11-11  9:01 sergiodj+buildbot
  2016-11-20  2:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-11  9:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e04659e8607bfed6995fd2ced9aaab55e2143302 ***

Author: Mike Frysinger <vapier@gentoo.org>
Branch: master
Commit: e04659e8607bfed6995fd2ced9aaab55e2143302

sim: mips: fix builds for r3900 cpus due to missing check_u64


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove parameter valaddr from c print functions
@ 2016-11-11 10:40 sergiodj+buildbot
  2016-11-20  9:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 10:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 65408fa680538f997cdd4b6fb9d74f043a060801 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 65408fa680538f997cdd4b6fb9d74f043a060801

Remove parameter valaddr from c print functions

This patch removes parameter valaddr from some c print functions.

gdb:

2016-11-11  Yao Qi  <yao.qi@linaro.org>

	* c-lang.h (cp_print_value_fields): Update declaration.
	* cp-valprint.c (cp_print_value): Update declaration.
	(cp_print_value_fields): Remove parameter valaddr.  Callers
	updated.
	(cp_print_value): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove apply_val_pretty_printer parameter valaddr
@ 2016-11-11 12:02 sergiodj+buildbot
  2016-11-20 11:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 12:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 668e167446b2777869f413841ec05aed59473d9f ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 668e167446b2777869f413841ec05aed59473d9f

Remove apply_val_pretty_printer parameter valaddr

This patch removes the parameter valaddr of
extension_language_ops::apply_val_pretty_printer and remove const from
"struct value *val".  valaddr can be got in each extension language's
implementation of apply_val_pretty_printer.

gdb:

2016-11-11  Yao Qi  <yao.qi@linaro.org>

	* cp-valprint.c (cp_print_value): Remove local base_valaddr.
	* extension-priv.h (struct extension_language_ops)
	<apply_val_pretty_printer>: Remove the second parameter.
	Remove const from "struct value *".  Callers updated.
	* extension.c (apply_ext_lang_val_pretty_printer): Update
	comments.  Remove parameter valaddr.  Remove const from
	"struct value *".
	* extension.h (apply_ext_lang_val_pretty_printer): Update
	declaration.
	* guile/guile-internal.h (gdbscm_apply_val_pretty_printer):
	Update declaration.
	* guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer):
	Remove parameter valaddr.  Remove const from "struct value *".
	* python/py-prettyprint.c (gdbpy_apply_val_pretty_printer):
	Likewise.
	* python/python-internal.h (gdbpy_apply_val_pretty_printer):
	Update declaration.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Accept hidden COFF symbols, but treat them as if they were debugging symbols.
@ 2016-11-11 12:40 sergiodj+buildbot
  2016-11-20 14:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 12:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7103ad7639b7ed80bec170404185a8e39079446b ***

Author: Luke Allardyce <lukeallardyce@gmail.com>
Branch: master
Commit: 7103ad7639b7ed80bec170404185a8e39079446b

Accept hidden COFF symbols, but treat them as if they were debugging symbols.

	PR ld/20722
	* coffcode.h (coff_slurp_symbol_table): Accept C_HIDDEN symbols,
	but treat them as debugging symbols.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 command line option and feature flag
@ 2016-11-11 13:30 sergiodj+buildbot
  2016-11-20 16:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 13:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1924ff7567abf9e1341ae135fb5097bc5f7b76f4 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 1924ff7567abf9e1341ae135fb5097bc5f7b76f4

[AArch64] Add ARMv8.3 command line option and feature flag

ARMv8.3 can be selected with -march=armv8.3-a command line option.
An overview of the ARMv8.3 architecture extension is at
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions

gas/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* config/tc-aarch64.c (aarch64_archs): Add "armv8.3-a".
	* doc/c-aarch64.texi (-march): Likewise.

include/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* opcode/aarch64.h (AARCH64_FEATURE_V8_3): Define.
	(AARCH64_ARCH_V8_3): Define.
	(AARCH64_ARCH_V8_1, AARCH64_ARCH_V8_2): Simplify.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Increase max_num_aliases in aarch64-gen
@ 2016-11-11 14:42 sergiodj+buildbot
  2016-11-20 19:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 14:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3d731f6949e2b0099cfbe0cf608d60a52a66d354 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 3d731f6949e2b0099cfbe0cf608d60a52a66d354

[AArch64] Increase max_num_aliases in aarch64-gen

Some ARMv8.3 pointer authentication instructions are encoded as HINT aliases,
so to allow more instruction aliases in the generator, max_num_aliases is
increased from 16 to 32.

opcodes/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-gen.c (find_alias_opcode): Increase max_num_aliases to 32.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 instructions which are in the NOP space
@ 2016-11-11 15:42 sergiodj+buildbot
  2016-11-20 20:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 15:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8787d804e1cbbd1946239d6c5e560c87d38bac06 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 8787d804e1cbbd1946239d6c5e560c87d38bac06

[AArch64] Add ARMv8.3 instructions which are in the NOP space

This patch adds support for a subset of the ARMv8.3 pointer authentication
instructions: XPACLRI, PACIA1716, PACIB1716, AUTIA1716, AUTIA1716, PACIAZ,
PACIASP, PACIBZ, PACISP, AUTIAZ, AUTIASP, AUTIBZ, AUTIBSP.

These are aliases to HINT #0x7, HINT #0x8, HINT #0xa, HINT #0xc, HINT #0xe,
HINT #0x18, HINT #0x19, ..., HINT #0x1f respectively.

For more details about pointer authentication in ARMv8.3 see
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions

opcodes/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (aarch64_feature_v8_3, ARMV8_3, V8_3_INSN): New.
	(arch64_opcode_table): Add xpaclri, pacia1716, pacib1716, autia1716,
	autib1716, paciaz, paciasp, pacibz, pacibsp, autiaz, autiasp, autibz,
	autibsp.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.

gas/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* testsuite/gas/aarch64/system-3.s: New.
	* testsuite/gas/aarch64/system-3.d: New.
	* testsuite/gas/aarch64/system.d: Update expected output.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 pointer authentication key registers
@ 2016-11-11 16:38 sergiodj+buildbot
  2016-11-21  0:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 16:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b0bfa7b5b884f78b798ab8d34d2a50bc63f558df ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: b0bfa7b5b884f78b798ab8d34d2a50bc63f558df

[AArch64] Add ARMv8.3 pointer authentication key registers

Add support for system registers introduced in ARMv8.3
for pointer authentication.

opcodes/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-opc.c (aarch64_sys_regs): Add apiakeylo_el1, apiakeyhi_el1,
	apibkeylo_el1, apibkeyhi_el1, apdakeylo_el1, apdakeyhi_el1,
	apdbkeylo_el1, apdbkeyhi_el1, apgakeylo_el1 and apgakeyhi_el1.
	(aarch64_sys_reg_supported_p): Add feature test for new registers.

gas/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* testsuite/gas/aarch64/sysreg-3.s: New.
	* testsuite/gas/aarch64/sysreg-3.d: New.
	* testsuite/gas/aarch64/illegal-sysreg-3.l: New.
	* testsuite/gas/aarch64/illegal-sysreg-3.d: New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 PACGA instruction
@ 2016-11-11 18:47 sergiodj+buildbot
  2016-11-21  5:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 18:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c84364ece4faa7b3eb0f60f4dc301282e9693e1e ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: c84364ece4faa7b3eb0f60f4dc301282e9693e1e

[AArch64] Add ARMv8.3 PACGA instruction

Add support for the ARMv8.3 PACGA instruction.

include/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* opcode/aarch64.h (enum aarch64_opnd): Add AARCH64_OPND_Rm_SP.

opcodes/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (arch64_opcode_table): Add pacga.
	(AARCH64_OPERANDS): Add Rm_SP.
	* aarch64-opc.c (aarch64_print_operand): Handle AARCH64_OPND_Rm_SP.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.

gas/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* config/tc-aarch64.c (process_omitted_operand): Handle AARCH64_OPND_Rm_SP.
	(parse_operands): Likewise.
	* testsuite/gas/aarch64/pac.s: Add pacga.
	* testsuite/gas/aarch64/pac.d: Add pacga.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 combined pointer authentication branch instructions
@ 2016-11-11 19:33 sergiodj+buildbot
  2016-11-21  8:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 19:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 74f5402d08b857d60499b27851c204954ce6c42c ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 74f5402d08b857d60499b27851c204954ce6c42c

[AArch64] Add ARMv8.3 combined pointer authentication branch instructions

Add support for ARMv8.3 pointer authentication instructions
that are encoded as unconditional branch instructions.

opcodes/
2016-11-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (arch64_opcode_table): Add braa, brab, blraa, blrab, braaz,
	brabz, blraaz, blrabz, retaa, retab, eretaa, eretab.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.

gas/
2016-11-08  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* testsuite/gas/aarch64/pac.s: Add ARMv8.3 branch instruction tests.
	* testsuite/gas/aarch64/pac.d: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Identify verilog dump tests as such.
@ 2016-11-11 20:35 sergiodj+buildbot
  2016-11-21 10:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 20:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1f8db343049c3e06483a278e14b7e140ec55c8b3 ***

Author: Catherine Moore <clm@codesourcery.com>
Branch: master
Commit: 1f8db343049c3e06483a278e14b7e140ec55c8b3

Identify verilog dump tests as such.

	A couple of the verilog dump tests were marked as ihex tests.  This
	patch identifies the tests as verilog format dump tests.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Don't handle unavailable/optimized-out in spu_software_single_step
@ 2016-11-11 21:18 sergiodj+buildbot
  2016-11-21 13:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-11 21:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7d15592e06e4abccc97cb8c5670f564327f747e9 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 7d15592e06e4abccc97cb8c5670f564327f747e9

Don't handle unavailable/optimized-out in spu_software_single_step

When we do software single step, frame is always the innermost one,
so it is impossible to get unavailable/optimized-out errors.

gdb:

2016-11-11  Yao Qi  <yao.qi@linaro.org>

	* spu-tdep.c (spu_software_single_step): Don't call
	get_frame_register_bytes, call get_frame_register_unsigned
	instead.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use std::string in rust_get_disr_info
@ 2016-11-12 19:05 sergiodj+buildbot
  2016-11-21 14:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-12 19:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d93f4d96bb0fb307db9e2dade38ddb3c6bc469ca ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: d93f4d96bb0fb307db9e2dade38ddb3c6bc469ca

Use std::string in rust_get_disr_info

This changes rust_get_disr_info to use std::string in one more spot,
avoiding a memory leak.

2016-11-12  Tom Tromey  <tom@tromey.com>

	* rust-lang.c (rust_get_disr_info): Use std::string in one more
	spot.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove some cleanups from the rust code
@ 2016-11-12 20:45 sergiodj+buildbot
  2016-11-21 17:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-12 20:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8001f1183f32d674fa3e9af1cca16856afdffc3e ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 8001f1183f32d674fa3e9af1cca16856afdffc3e

Remove some cleanups from the rust code

This removes some cleanups from the rust code, in favor of C++ objects
with destructors.

2016-11-12  Tom Tromey  <tom@tromey.com>

	* rust-exp.y (super_name): Use std::vector.
	(lex_number): Use std::string.
	(convert_params_to_types): Return std::vector.
	(convert_ast_to_type, convert_name): Update.
	* rust-lang.c (rust_get_disr_info): Use unique_xmalloc_ptr.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix typo "Faal through" should be "Fall through".
@ 2016-11-14  9:18 sergiodj+buildbot
  2016-11-22  7:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-14  9:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 63f2433dbccc7ddf8812fefd6eed0e6dd2f88955 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 63f2433dbccc7ddf8812fefd6eed0e6dd2f88955

Fix typo "Faal through" should be "Fall through".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] btrace: read entire aux buffer
@ 2016-11-14 10:28 sergiodj+buildbot
  2016-11-22  9:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-14 10:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT db58b3735f45345c06cb9a14d0f83f5b26c1ebf3 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: db58b3735f45345c06cb9a14d0f83f5b26c1ebf3

btrace: read entire aux buffer

The data_head of a perf event data buffer grows indefinitely.  Users are
expected to compute data_head % data_size to find the location inside the perf
event data buffer.

The aux_head of a perf event aux buffer wraps around and always stays within the
perf event aux buffer.

Well, at least that's the behaviour for BTS and PT - where BTS uses the data
buffer and PT the aux buffer.

GDB does not read beyond data_head or aux_head.  This is OK for BTS but wrong
for PT.  It causes only a portion of the trace to be considered by GDB.  In the
extreme case, the buffer may appear (almost) empty.

Thanks to Tim Wiederhake  <tim.wiederhake@intel.com> for reporting the anomaly.

Change it to read the entire aux buffer for PT.  The buffer is initially zero so
any extra zeroes we read before aux_head wraps around the first time will be
ignored when searching for the first PSB packet in order to synchronize onto the
trace stream.

gdb/
	* nat/linux-btrace.c (perf_event_read): Allow data_head < size.
	* nat/linux-btrace.c (perf_event_read_all): Do not adjust size.

Change-Id: If4f8049a2080a5f16f336309450b32a3eb1e3ec9


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bitfield-parent-optimized-out: Fix struct definition
@ 2016-11-15 20:24 sergiodj+buildbot
  2016-11-22 13:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-15 20:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b7f38fdae7c75e1d13abd455b3931950db28d22b ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: b7f38fdae7c75e1d13abd455b3931950db28d22b

bitfield-parent-optimized-out: Fix struct definition

The "struct S" type in bitfield-parent-optimized-out.exp is declared to
have a size of 4 bytes but to hold two 4-byte members: an int-based
bitfield and a 4-byte int.  Also, both members have the same
data_member_location 2, causing them to overlap and to reach 2 bytes
beyond the structure's boundary.

This is fixed by increasing the structure size to 8 and setting the
first and second member's data_member_location to 0 and 4, respectively.

gdb/testsuite/ChangeLog:

	* gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
	the definition of struct S.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb::{unique_ptr,move} -> std::{unique_ptr,move}
@ 2016-11-15 20:54 sergiodj+buildbot
  2016-11-22 15:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-15 20:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b22e99fdaf2efe58161c382bbd55f4572ba49eef ***

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

gdb::{unique_ptr,move} -> std::{unique_ptr,move}

Now that we require C++11, use std::unique_ptr and std::move directly.

gdb/ChangeLog:
2016-11-15  Pedro Alves  <palves@redhat.com>

	* ada-lang.c (create_excep_cond_exprs): Use std::move instead of
	gdb::move.
	* break-catch-throw.c (handle_gnu_v3_exceptions): Use
	std::unique_ptr instead of gdb::unique_ptr.
	* breakpoint.c (watch_command_1): Use std::move instead of
	gdb::move.
	* cli/cli-dump.c (dump_memory_to_file, restore_binary_file): Use
	std::unique_ptr instead of gdb::unique_ptr.
	* dtrace-probe.c (dtrace_process_dof_probe): Use std::move instead
	of gdb::move.
	* elfread.c (elf_read_minimal_symbols): Use std::unique_ptr
	instead of gdb::unique_ptr.
	* mi/mi-main.c (mi_cmd_data_read_memory): Use std::unique_ptr
	instead of gdb::unique_ptr.
	* parse.c (parse_expression_for_completion): Use std::move instead
	of gdb::move.
	* printcmd.c (display_command): std::move instead of gdb::move.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Delete gdb::unique_ptr/gdb::move
@ 2016-11-15 22:01 sergiodj+buildbot
  2016-11-22 18:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-15 22:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5cc8c7310338224d65aa14c4256d4d7539e0dd45 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5cc8c7310338224d65aa14c4256d4d7539e0dd45

Delete gdb::unique_ptr/gdb::move

Now that we require C++11 and all uses of gdb::unique_ptr and
gdb::move are gone, let's remove their definitions...

With my lazy hat on, I repurposed the header for "generally useful
unique_ptr specializations", and left gdb::unique_xmalloc_ptr in
there.  Not sure whether we it'd be better move it out of the gdb
namespace or leave it be.  I left it because it's less work and avoids
disrupting yet-unmerged patches that use it.

gdb/ChangeLog:
2016-11-15  Pedro Alves  <palves@redhat.com>

	* common/common-defs.h: Update comment.
	* common/gdb_unique_ptr.h: Update header comment and copyright
	year.
	(gdb::unique_ptr, gdb::move): Delete.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: update gnulib to pull in C++ namespace support fixes
@ 2016-11-16  0:24 sergiodj+buildbot
  2016-11-22 20:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-16  0:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4c62b19fd2e6b81ce7cbb7d01e84c09352ccf224 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 4c62b19fd2e6b81ce7cbb7d01e84c09352ccf224

gdb: update gnulib to pull in C++ namespace support fixes

I've been experimenting with making use of gnulib's C++ namespace support:

 https://www.gnu.org/software/gnulib/manual/html_node/A-C_002b_002b-namespace-for-gnulib.html

That stumbled on a few gnulib issues, which I've fixed upstream:

 [PATCH] Fix gnulib C++ namespace support and std::frexp
 https://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00039.html

 [PATCH] Fix real-floating argument functions in C++ mode
 https://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00049.html

 [PATCH] Avoid having GNULIB_NAMESPACE::func always inject references to rpl_func
 https://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00040.html

 [PATCH] C++: "#define timeval rpl_timeval" -> typedef in GNULIB_NAMESPACE
 https://lists.gnu.org/archive/html/bug-gnulib/2016-11/msg00058.html

This merge pulls those in.

gdb/ChangeLog:
2016-11-15  Pedro Alves  <palves@redhat.com>

	* gnulib/update-gnulib.sh (GNULIB_COMMIT_SHA1): Set to
	38237baf99386101934cd93278023aa4ae523ec0.
	* gnulib/configure, gnulib/config.in: Regenerate.
	* gnulib/import/Makefile.am: Regenerate.
	* gnulib/import/Makefile.in: Regenerate.
	* gnulib/import/canonicalize-lgpl.c: Update.
	* gnulib/import/extra/snippet/c++defs.h: Update.
	* gnulib/import/m4/stdint.m4: Update.
	* gnulib/import/m4/stdlib_h.m4: Update.
	* gnulib/import/math.in.h: Update.
	* gnulib/import/stdlib.in.h: Update.
	* gnulib/import/sys_time.in.h: Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix PR20789 - relaxation with negative valued diff relocs
@ 2016-11-16 20:01 sergiodj+buildbot
  2016-11-22 23:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-16 20:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4cb771f214ed6a2102e37bce255c6be5d0642f3a ***

Author: Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
Branch: master
Commit: 4cb771f214ed6a2102e37bce255c6be5d0642f3a

Fix PR20789 - relaxation with negative valued diff relocs

Fix issues with diff relocs that have a negative value
i.e. sym2 - sym1 where sym2 is lesser than sym1.

The assembler generates a diff reloc with symbol as start of section
and addend as sym2 offset, and encodes assembly time difference at
the reloc offset.

The existing relaxation logic adjusts addends if the relaxed insn lies
between symbol and addend. That doesn't work for diff relocs where
sym2 is less than sym1 *and* the relaxed insn happens to be between
sym2 and sym1.

Fix the problems by

1. Using signed handling of the difference value (bfd_signed_vma instead
of bfd_vma, bfd_{get,set}_signed_xxx instead of bfd_{get,set}_xxx).

2. Not assuming sym2 is bigger than sym1. It instead computes the actual
addresses and sets the lower and higher addresses as start and end
addresses respectively and then sees if insn is between start and end.

3. Creating a new function elf32_avr_adjust_reloc_if_spans_insn to
centralize reloc adjustment, and ensuring diff relocs get adjusted
correctly even if their sym + addend doesn't overlap a relaxed insn.

It also removes a redundant variable did_pad. It is never set if
did_shrink is TRUE, and the code does a early return if did_shrink is
FALSE.

bfd/ChangeLog

2016-11-15  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

       PR ld/20789
       * bfd/elf32-avr.c (elf32_avr_adjust_diff_reloc_value): Do signed
       manipulation of diff value, and don't assume sym2 is less than sym1.
       (elf32_avr_adjust_reloc_if_spans_insn): New function.
       (elf32_avr_relax_delete_bytes): Use elf32_avr_adjust_diff_reloc_value,
       and remove redundant did_pad.

ld/ChangeLog

2016-11-15  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>

       PR ld/20789
       * ld/testsuite/ld-avr/pr20789.d: New test.
       * ld/testsuite/ld-avr/pr20789.s: New test.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Extend test gdb.python/py-recurse-unwind.exp
@ 2016-11-16 20:03 sergiodj+buildbot
  2016-11-23  2:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-16 20:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a2f3d7ff1d79b1290704e48c71e905b987393a6 ***

Author: Kevin Buettner <kevinb@redhat.com>
Branch: master
Commit: 1a2f3d7ff1d79b1290704e48c71e905b987393a6

Extend test gdb.python/py-recurse-unwind.exp

This patch modifies the unwinder (sniffer) defined in
py-recurse-unwind.py so that, depending upon the value of one of its
class variables, it will take different paths through the code,
testing different functionality.

The original test attempted to obtain the value of an undefined
symbol.

This somewhat expanded test checks to see if 'pc' can be read via
gdb.PendingFrame.read_register() and also via gdb.parse_and_eval().

gdb/testsuite/ChangeLog:

	* gdb.python/py-recurse-unwind.c (main): Add loop.
	* gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
	to read_register() and gdb.parse_and_eval().  Make each code
	call a separate case that can be individually tested.
	* gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
	proc. Call cont_and_backtrace for each of the code paths that
	we want to test in the unwinder.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Change meaning of VALUE_FRAME_ID; rename to VALUE_NEXT_FRAME_ID
@ 2016-11-16 22:04 sergiodj+buildbot
  2016-11-23  7:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-16 22:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 41b56feb5063aee4fefb4a991eb796d1e8a7475e ***

Author: Kevin Buettner <kevinb@redhat.com>
Branch: master
Commit: 41b56feb5063aee4fefb4a991eb796d1e8a7475e

Change meaning of VALUE_FRAME_ID; rename to VALUE_NEXT_FRAME_ID

The VALUE_FRAME_ID macro provides access to a member in struct value
that's used to hold the frame id that's used when determining a
register's value or when assigning to a register.  The underlying
member has a long and obscure name.  I won't refer to it here, but
will simply refer to VALUE_FRAME_ID as if it's the struct value member
instead of being a convenient macro.

At the moment, without this patch in place, VALUE_FRAME_ID is set in
value_of_register_lazy() and several other locations to hold the frame
id of the frame passed to those functions.

VALUE_FRAME_ID is used in the lval_register case of
value_fetch_lazy().  To fetch the register's value, it calls
get_frame_register_value() which, in turn, calls
frame_unwind_register_value() with frame->next.

A python based unwinder may wish to determine the value of a register
or evaluate an expression containing a register.  When it does this,
value_fetch_lazy() will be called under some circumstances.  It will
attempt to determine the frame id associated with the frame passed to
it.  In so doing, it will end up back in the frame sniffer of the very
same python unwinder that's attempting to learn the value of a
register as part of the sniffing operation.  This recursion is not
desirable.

As noted above, when value_fetch_lazy() wants to fetch a register's
value, it does so (indirectly) by unwinding from frame->next.

With this in mind, a solution suggests itself:  Change VALUE_FRAME_ID
to hold the frame id associated with the next frame.  Then, when it
comes time to obtain the value associated with the register, we can
simply unwind from the frame corresponding to the frame id stored in
VALUE_FRAME_ID.  This neatly avoids the python unwinder recursion
problem by changing when the "next" operation occurs.  Instead of the
"next" operation occuring when the register value is fetched, it
occurs earlier on when assigning a frame id to VALUE_FRAME_ID.
(Thanks to Pedro for this suggestion.)

This patch implements this idea.

It builds on the patch "Distinguish sentinel frame from null frame".
Without that work in place, it's necessary to check for null_id at
several places and then obtain the sentinel frame.

It also renames most occurences of VALUE_FRAME_ID to
VALUE_NEXT_FRAME_ID to reflect the new meaning of this field.

There are several uses of VALUE_FRAME_ID which were not changed.  In
each case, the original meaning of VALUE_FRAME_ID is required to get
correct results.  In all but one of these uses, either
put_frame_register_bytes() or get_frame_register_bytes() is being
called with the frame value obtained from VALUE_FRAME_ID.  Both of
these functions perform some unwinding by performing a "->next"
operation on the frame passed to it.  If we were to use the new
VALUE_NEXT_FRAME_ID macro, this would effectively do two "->next"
operations, which is not what we want.

The VALUE_FRAME_ID macro has been redefined in terms of
VALUE_NEXT_FRAME_ID.  It simply fetches the previous frame's id,
providing this id as the value of the macro.

gdb/ChangeLog:

	* value.h (VALUE_FRAME_ID): Rename to VALUE_NEXT_FRAME_ID. Update
	comment.  Create new VALUE_FRAME_ID which is defined in terms of
	VALUE_NEXT_FRAME_ID.
	(deprecated_value_frame_id_hack): Rename to
	deprecated_value_next_frame_id_hack.
	* dwarf2loc.c, findvar.c, frame-unwind.c, sentinel-frame.c,
	valarith.c, valops.c, value.c: Adjust nearly all occurences of
	VALUE_FRAME_ID to VALUE_NEXT_FRAME_ID.	Add comments for those
	which did not change.
	* value.c (struct value): Rename frame_id field to next_frame_id.
	Update comment.
	(deprecated_value_frame_id_hack): Rename to
	deprecated_value_next_frame_id_hack.
	(value_fetch_lazy): Call frame_unwind_register_value()
	instead of get_frame_register_value().
	* frame.c (get_prev_frame_id_by_id): New function.
	* frame.h (get_prev_frame_id_by_id): Declare.
	* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Make
	VALUE_NEXT_FRAME_ID refer to the next frame.
	* findvar.c (value_of_register_lazy): Likewise.
	(default_value_from_register): Likewise.
	(value_from_register): Likewise.
	* frame_unwind.c (frame_unwind_got_optimized): Likewise.
	* sentinel-frame.c (sentinel_frame_prev_register): Likewise.
	* value.h (VALUE_FRAME_ID): Update comment describing this macro.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Make gdb.PendingFrame.read_register handle "user" registers.
@ 2016-11-16 22:59 sergiodj+buildbot
  2016-11-23  9:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-16 22:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 33cc7d368f420326606695daafd6292e2779c6af ***

Author: Kevin Buettner <kevinb@redhat.com>
Branch: master
Commit: 33cc7d368f420326606695daafd6292e2779c6af

Make gdb.PendingFrame.read_register handle "user" registers.

The C function, pending_framepy_read_register(), which implements
the python interface gdb.PendingFrame.read_register does not handle
the so called "user" registers like "pc".  An assertion error is
triggered due to the user registers having numbers larger than or
equal to gdbarch_num_regs(gdbarch).

With the VALUE_FRAME_ID tweak in place, the call to
get_frame_register_value() can simply be replaced by a call to
value_of_register(), which handles both real registers as well as the
user registers.

gdb/ChangeLog:

	* python/py-unwind.c (pending_framepy_read_register): Use
	value_of_register() instead of get_frame_register_value().


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Stash frame id of current frame before stashing frame id for previous frame
@ 2016-11-17  0:20 sergiodj+buildbot
  2016-11-23 11:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-17  0:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 256ae5dbc73d1348850f86ee77a0dc3b04bc7cc0 ***

Author: Kevin Buettner <kevinb@redhat.com>
Branch: master
Commit: 256ae5dbc73d1348850f86ee77a0dc3b04bc7cc0

Stash frame id of current frame before stashing frame id for previous frame

This patch ensures that the frame id for the current frame is stashed
before that of the previous frame (to the current frame).

First, it should be noted that the frame id for the current frame is
not stashed by get_current_frame().  The current frame's frame id is
lazily computed and stashed via calls to get_frame_id().  However,
it's possible for get_prev_frame() to be called without first stashing
the current frame.

The frame stash is used not only to speed up frame lookups, but
also to detect cycles.  When attempting to compute the frame id
for a "previous" frame (in get_prev_frame_if_no_cycle), a cycle
is detected if the computed frame id is already in the stash.

If it should happen that a previous frame id is stashed which should
represent a cycle for the current frame, then an assertion failure
will trigger should get_frame_id() be later called to determine
the frame id for the current frame.

As of late 2016, with the "Tweak meaning of VALUE_FRAME_ID" patch in
place, this actually occurs when running the
gdb.dwarf2/dw2-dup-frame.exp test.  While attempting to generate a
backtrace, the python frame filter code is invoked, leading to
frame_info_to_frame_object() (in python/py-frame.c) being called.
That function will potentially call get_prev_frame() before
get_frame_id() is called.  The call to get_prev_frame() can eventually
end up in get_prev_frame_if_no_cycle() which, in turn, calls
compute_frame_id(), after which the frame id is stashed for the
previous frame.

If the frame id for the current frame is stashed, the cycle detection
code (which relies on the frame stash) in get_prev_frame_if_no_cycle()
will be triggered for a cycle starting with the current frame.  If the
current frame's id is not stashed, the cycle detecting code can't
operate as designed.  Instead, when get_frame_id() is called on the
current frame at some later point, the current frame's id will found
to be already in the stash, triggering an assertion failure.

Below is an in depth examination of the failure which lead to this change.
I've shortened pathnames for brevity and readability.

Here's the portion of the log file showing the failure/internal error:

(gdb) break stop_frame
Breakpoint 1 at 0x40059a: file dw2-dup-frame.c, line 22.
(gdb) run
Starting program: testsuite/outputs/gdb.dwarf2/dw2-dup-frame/dw2-dup-frame

Breakpoint 1, stop_frame () at dw2-dup-frame.c:22
22	}
(gdb) bt
gdb/frame.c:544: internal-error: frame_id get_frame_id(frame_info*): Assertion `stashed' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
FAIL: gdb.dwarf2/dw2-dup-frame.exp: backtrace from stop_frame (GDB internal error)

Here's a partial backtrace from the internal error, showing the frames
which I think are relevant, plus several extra to provide context:

    #0  internal_error (
	file=0x932b98 "gdb/frame.c", line=544,
	fmt=0x932b20 "%s: Assertion `%s' failed.")
	at gdb/common/errors.c:54
    #1  0x000000000072207e in get_frame_id (fi=0xe5a760)
	at gdb/frame.c:544
    #2  0x00000000004eb50d in frame_info_to_frame_object (frame=0xe5a760)
	at gdb/python/py-frame.c:390
    #3  0x00000000004ef5be in bootstrap_python_frame_filters (frame=0xe5a760,
	frame_low=0, frame_high=-1)
	at gdb/python/py-framefilter.c:1453
    #4  0x00000000004ef7a9 in gdbpy_apply_frame_filter (
	extlang=0x8857e0 <extension_language_python>, frame=0xe5a760, flags=7,
	args_type=CLI_SCALAR_VALUES, out=0xf6def0, frame_low=0, frame_high=-1)
	at gdb/python/py-framefilter.c:1548
    #5  0x00000000005f2c5a in apply_ext_lang_frame_filter (frame=0xe5a760,
	flags=7, args_type=CLI_SCALAR_VALUES, out=0xf6def0, frame_low=0,
	frame_high=-1)
	at gdb/extension.c:572
    #6  0x00000000005ea896 in backtrace_command_1 (count_exp=0x0, show_locals=0,
	no_filters=0, from_tty=1)
	at gdb/stack.c:1834

Examination of the code in frame_info_to_frame_object(), which is in
python/py-frame.c, is key to understanding this problem:

      if (get_prev_frame (frame) == NULL
	  && get_frame_unwind_stop_reason (frame) != UNWIND_NO_REASON
	  && get_next_frame (frame) != NULL)
	{
	  frame_obj->frame_id = get_frame_id (get_next_frame (frame));
	  frame_obj->frame_id_is_next = 1;
	}
      else
	{
	  frame_obj->frame_id = get_frame_id (frame);
	  frame_obj->frame_id_is_next = 0;
	}

I will first note that the frame id for frame has not been computed yet.  (This
was verified by placing a breakpoint on compute_frame_id().)

The call to get_prev_frame() causes the the frame id to (eventually) be
computed for the previous frame.  Here's a backtrace showing how we
get there:

    #0  compute_frame_id (fi=0x10e2810)
	at gdb/frame.c:496
    #1  0x0000000000724a67 in get_prev_frame_if_no_cycle (this_frame=0xe5a760)
	at gdb/frame.c:1871
    #2  0x0000000000725136 in get_prev_frame_always_1 (this_frame=0xe5a760)
	at gdb/frame.c:2045
    #3  0x000000000072516b in get_prev_frame_always (this_frame=0xe5a760)
	at gdb/frame.c:2061
    #4  0x000000000072570f in get_prev_frame (this_frame=0xe5a760)
	at gdb/frame.c:2303
    #5  0x00000000004eb471 in frame_info_to_frame_object (frame=0xe5a760)
	at gdb/python/py-frame.c:381

For this particular case, we end up in the else clause of the code above
which calls get_frame_id (frame).  It's at this point that the frame id
for frame is computed.  Again, here's a backtrace:

    #0  compute_frame_id (fi=0xe5a760)
	at gdb/frame.c:496
    #1  0x000000000072203d in get_frame_id (fi=0xe5a760)
	at gdb/frame.c:539
    #2  0x00000000004eb50d in frame_info_to_frame_object (frame=0xe5a760)
	at gdb/python/py-frame.c:390

The test in question, dw2-dup-frame.exp, deliberately creates a broken
(cyclic) stack.  So, in this instance, the frame id for the prev
`frame' will be the same as that for `frame'.  But that particular
frame id ended up in the stash during the previous frame operation.
When, just a few lines later, we compute the frame id for `frame', the
id in question is already in the stash, thus triggering the assertion
failure.

I considered two other solutions to solving this problem:

We could prevent get_prev_frame() from being called before
get_frame_id() in frame_info_to_frame_object().  (See above for the
snippet of code where this happens.) A call to get_frame_id (frame)
could be placed ahead of that code snippet above.  I have tested this
approach and, while it does work, I can't be certain that
get_prev_frame() isn't called ahead of stashing the current frame
somewhere else in GDB, but in a less obvious way.

Another approach is to stash the current frame's id by calling
get_frame_id() in get_current_frame().  This approach is conceptually
simpler, but when importing a python unwinder, has the unwelcome side
effect of causing the unwinder to be called during import.

A cleaner looking fix would be to place this code after code
corresponding to the "Don't compute the frame id of the current frame
yet..." comment in get_prev_frame_if_no_cycle().  Sadly, this does not
work though; by the time we get to this point, the frame state for the
prev frame has been modified just enough to cause an internal error to
occur when attempting to compute the (current) frame id for inline
frames.  (The unexpected failure count increases by roughly 130
failures.)  Therefore, I decided to place it as early as possible
in get_prev_frame().

gdb/ChangeLog:

	* frame.c (get_prev_frame): Stash frame id for current frame
	prior to computing frame id for previous frame.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb/ada-lang.c: one malloc -> unique_ptr<[]>
@ 2016-11-17 14:41 sergiodj+buildbot
  2016-11-23 17:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-17 14:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 200069c74f42ffcc726b9995a46971a86286a256 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 200069c74f42ffcc726b9995a46971a86286a256

gdb/ada-lang.c: one malloc -> unique_ptr<[]>

Switching gdb to use gnulib's C++ namespace mode reveals we're calling
malloc instead of xmalloc here:

 ..../src/gdb/ada-lang.c: In function value* ada_value_primitive_packed_val(value*, const gdb_byte*, long int, int, int, type*):
 ..../src/gdb/ada-lang.c:2592:50: error: call to malloc declared with attribute warning: The symbol ::malloc refers to the system function. Use gnulib::malloc instead. [-Werror]
	staging = (gdb_byte *) malloc (staging_len);
						   ^

We're unconditionaly using the result afterwards -- so it's not a case
of gracefully handling huge allocations.

Since we want to get rid of all cleanups, fix this by switching to
new[] and unique_ptr<[]> instead, while at it.

Regtested on Fedora 23.

gdb/ChangeLog:
2016-11-16  Pedro Alves  <palves@redhat.com>

	* ada-lang.c (ada_value_primitive_packed_val): Use unique_ptr and
	new gdb_byte[] instead of malloc and cleanups.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb/ctf.c: Get rid of mkdir redefinition
@ 2016-11-17 15:56 sergiodj+buildbot
  2016-11-23 20:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-17 15:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7c2683c40f745397e80b6df4edf8265ecb6fd194 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 7c2683c40f745397e80b6df4edf8265ecb6fd194

gdb/ctf.c: Get rid of mkdir redefinition

Making GDB use gnulib's C++ namespace support shows this build error
on mingw:

 ../../src/gdb/ctf.c: In function 'void ctf_start(trace_file_writer*, const char*)':
 ../../src/gdb/ctf.c:309:46: error: no match for call to '(const gnulib::_gl_mkdir_wrapper) (const char*&)'
  #define mkdir(pathname, mode) mkdir (pathname)
					       ^
 ../../src/gdb/ctf.c:327:15: note: in expansion of macro 'mkdir'
    if (gnulib::mkdir (dirname, hmode) && errno != EEXIST)
		^
 ../../src/gdb/ctf.c:309:46: note: candidate: gnulib::_gl_mkdir_wrapper::type {aka int (*)(const char*, short unsigned int)} <conversion>
  #define mkdir(pathname, mode) mkdir (pathname)
					       ^
 ../../src/gdb/ctf.c:327:15: note: in expansion of macro 'mkdir'
    if (gnulib::mkdir (dirname, hmode) && errno != EEXIST)
		^
 ../../src/gdb/ctf.c:309:46: note:   candidate expects 3 arguments, 2 provided
  #define mkdir(pathname, mode) mkdir (pathname)
					       ^
 ../../src/gdb/ctf.c:327:15: note: in expansion of macro 'mkdir'
    if (gnulib::mkdir (dirname, hmode) && errno != EEXIST)
		^

The problem is the '#define mkdir ...'

Fortunately, we can just remove it, since gnulib's sys/stat.h
replacement already takes care of the Windows mkdir prototype quirk:

~~~
 /* mingw's _mkdir() function has 1 argument, but we pass 2 arguments.
    Additionally, it declares _mkdir (and depending on compile flags, an
    alias mkdir), only in the nonstandard includes <direct.h> and <io.h>,
    which are included above.  */
 # if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__

 #  if !GNULIB_defined_rpl_mkdir
 static int
 rpl_mkdir (char const *name, mode_t mode)
 {
   return _mkdir (name);
 }
~~~

That's sys_stat.in.h, part of the sys_stat module, which we explictly
pull in nowadays.  It wasn't being pulled when this macro was added:

  https://sourceware.org/ml/gdb-patches/2013-03/msg00736.html

That patch was partially reverted meanwhile here:

  https://sourceware.org/ml/gdb-patches/2013-12/msg00023.html

But the mkdir macro had been left behind unnoticed.

gdb/ChangeLog:
2016-11-17  Pedro Alves  <palves@redhat.com>

	* ctf.c [USE_WIN32API] (mkdir): Delete.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Document new hard requirement on GNU make
@ 2016-11-17 18:31 sergiodj+buildbot
  2016-11-24  2:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-17 18:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f2ff9acd32b4667ee16a03ca8d10fd8b99e22f46 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: f2ff9acd32b4667ee16a03ca8d10fd8b99e22f46

Document new hard requirement on GNU make

As discussed in [1], it would be benificial for the GDB project to start
requiring GNU make to build its software.  It would allow using useful
GNU-specific constructs, such as pattern rules.  It would also allow
removing the alternative code paths in the Makefiles (guarded by
GMAKE_TRUE/GMAKE_FALSE), simplifying the Makefile code.

[1] https://sourceware.org/ml/gdb-patches/2016-11/msg00331.html

gdb/ChangeLog:

	* NEWS: Mention requirement of GNU make.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Makefile: Replace old suffix rules with pattern rules
@ 2016-11-17 19:35 sergiodj+buildbot
  2016-11-24  6:39 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-17 19:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5443506ee45cb94769db7e76dd2021a96f2f0680 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 5443506ee45cb94769db7e76dd2021a96f2f0680

Makefile: Replace old suffix rules with pattern rules

As mentioned here [1], suffix rules are obsolete and have been
superseeded with pattern rules.  People (myself included, before writing
this patch) are more likely to know what pattern rules are than suffix
rules.

AFAIK, .SUFFIXES targets are only used for those rules, and can be
removed as well.

New in v2:

  - Replace rule in gdbserver/Makefile.in as well.

[1] https://www.gnu.org/software/make/manual/html_node/Suffix-Rules.html

gdb/ChangeLog:

	* Makefile.in (.c.o): Replace rule with ...
	(%.o: %.c): ... this one.
	(.po.gmo): Replace rule with ...
	(%.gmo: %.po): ... this one.
	(.po.pox): Replace rule with ...
	(%.pox: %.po): ... this one.
	(.y.c): Replace rule with ...
	(%.c: %.y): ... this one.
	(.l.c): Replace rule with ...
	(%.c: %.l): ... this one.
	(.SUFFIXES): Remove all instances.

gdb/gdbserver/ChangeLog:

	* Makefile.in (.c.o): Replace rule with ...
	(%.o: %.c): ... this one.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Makefile: Replace explicit subdir rules with pattern rules
@ 2016-11-17 20:10 sergiodj+buildbot
  2016-11-24  9:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-17 20:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 470dd0a647c95a2e88c5b0f8df538826b08959a8 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 470dd0a647c95a2e88c5b0f8df538826b08959a8

Makefile: Replace explicit subdir rules with pattern rules

When adding a .c file in subdirectory (e.g. mi/), the current practice
is to add an explicit rule, such as:

  mi-cmd-break.o: $(srcdir)/mi/mi-cmd-break.c
          $(COMPILE) $(srcdir)/mi/mi-cmd-break.c
          $(POSTCOMPILE)

I find it a bit verbose and cumbersome.  Since we now require GNU make,
we can change those rules with pattern rules, one for each subdirectory.
For example, the following rule works for all files under mi:

  %.o: $(srcdir)/mi/%.c
          $(COMPILE) $<
          $(POSTCOMPILE)

Those pattern rules assume that the source and target files have the
same stem (foo.c and foo.o).  In one case, common-agent.o is generated
from common/agent.c, to avoid a conflict with the agent.o in gdb/.  In
this case, I kept the explicit rule, which takes precedence over the
pattern rule.  We could also rename common/agent.c to
common/common-agent.c to get rid of the special case and still avoid the
clash, as it is done with common/common-regcache.c, for example.

This strategy was the least intrusive I found, as it only requires
changing the rules, not the target names.

I also considered two other solutions, which I did not like because I
would have had to change target names a bit everywhere.

  - Replicate the source directory structure in the build directory,
    which would generate common/agent.o from common/agent.c.  However,
    something was not right with the dependency tracking (the .deps
    directory).  It's probably not hard to fix, but I did not
    investigate further.
  - Name the object files after the directory they are in, so that
    common/agent.c would generate common_agent.c.

GDBserver can benefit from the same treatment, but I'll do it in another
patch.

Built-tested with --enable-targets=all.

New in v2:

  - Regroup pattern rules for .c -> .o compilation in a single place.
  - Add comment about common-agent.o.

gdb/ChangeLog:

	(PYTHON_CFLAGS): Move up.
	(%.o: $(srcdir)/arch/%.c): New rule.
	(%.o: $(srcdir)/cli/%.c): New rule.
	(%.o: $(srcdir)/common/%.c): New rule.
	(%.o: $(srcdir)/compile/%.c): New rule.
	(%.o: $(srcdir)/gdbtk/generic/%.c): New rule.
	(%.o: $(srcdir)/guile/%.c): New rule.
	(%.o: $(srcdir)/mi/%.c): New rule.
	(%.o: $(srcdir)/nat/%.c): New rule.
	(%.o: $(srcdir)/python/%.c): New rule.
	(%.o: $(srcdir)/target/%.c): New rule.
	(%.o: $(srcdir)/tui/%.c): New rule.
	(cli-cmds.o): Remove.
	(cli-decode.o): Likewise.
	(cli-dump.o): Likewise.
	(cli-interp.o): Likewise.
	(cli-logging.o): Likewise.
	(cli-script.o): Likewise.
	(cli-setshow.o): Likewise.
	(cli-utils.o): Likewise.
	(compile.o): Likewise.
	(compile-c-types.o): Likewise.
	(compile-c-symbols.o): Likewise.
	(compile-object-load.o): Likewise.
	(compile-object-run.o): Likewise.
	(compile-loc2c.o): Likewise.
	(compile-c-support.o): Likewise.
	(gdbtk.o): Likewise.
	(gdbtk-bp.o): Likewise.
	(gdbtk-cmds.o): Likewise.
	(gdbtk-hooks.o): Likewise.
	(gdbtk-interp.o): Likewise.
	(gdbtk-main.o): Likewise.
	(gdbtk-register.o): Likewise.
	(gdbtk-stack.o): Likewise.
	(gdbtk-varobj.o): Likewise.
	(gdbtk-wrapper.o): Likewise.
	(mi-cmd-break.o): Likewise.
	(mi-cmd-catch.o): Likewise.
	(mi-cmd-disas.o): Likewise.
	(mi-cmd-env.o): Likewise.
	(mi-cmd-file.o): Likewise.
	(mi-cmd-info.o): Likewise.
	(mi-cmds.o): Likewise.
	(mi-cmd-stack.o): Likewise.
	(mi-cmd-target.o): Likewise.
	(mi-cmd-var.o): Likewise.
	(mi-console.o): Likewise.
	(mi-getopt.o): Likewise.
	(mi-interp.o): Likewise.
	(mi-main.o): Likewise.
	(mi-out.o): Likewise.
	(mi-parse.o): Likewise.
	(mi-symbol-cmds.o): Likewise.
	(mi-common.o): Likewise.
	(signals.o): Likewise.
	(common-utils.o): Likewise.
	(gdb_vecs.o): Likewise.
	(xml-utils.o): Likewise.
	(ptid.o): Likewise.
	(buffer.o): Likewise.
	(filestuff.o): Likewise.
	(format.o): Likewise.
	(vec.o): Likewise.
	(print-utils.o): Likewise.
	(rsp-low.o): Likewise.
	(errors.o): Likewise.
	(common-debug.o): Likewise.
	(cleanups.o): Likewise.
	(common-exceptions.o
	(posix-strerror.o): Likewise.
	(mingw-strerror.o): Likewise.
	(btrace-common.o): Likewise.
	(fileio.o): Likewise.
	(common-regcache.o): Likewise.
	(signals-state-save-restore.o): Likewise.
	(new-op.o): Likewise.
	(waitstatus.o): Likewise.
	(arm.o): Likewise.
	(arm-linux.o): Likewise.
	(arm-get-next-pcs.o): Likewise.
	(x86-dregs.o): Likewise.
	(linux-btrace.o): Likewise.
	(linux-osdata.o): Likewise.
	(linux-procfs.o): Likewise.
	(linux-ptrace.o): Likewise.
	(linux-waitpid.o): Likewise.
	(mips-linux-watch.o): Likewise.
	(ppc-linux.o): Likewise.
	(linux-personality.o): Likewise.
	(x86-linux.o): Likewise.
	(x86-linux-dregs.o): Likewise.
	(amd64-linux-siginfo.o): Likewise.
	(linux-namespaces.o): Likewise.
	(aarch64-linux-hw-point.o): Likewise.
	(aarch64-linux.o): Likewise.
	(aarch64-insn.o): Likewise.
	(tui.o): Likewise.
	(tui-command.o): Likewise.
	(tui-data.o): Likewise.
	(tui-disasm.o): Likewise.
	(tui-file.o): Likewise.
	(tui-hooks.o): Likewise.
	(tui-interp.o): Likewise.
	(tui-io.o): Likewise.
	(tui-layout.o): Likewise.
	(tui-out.o): Likewise.
	(tui-regs.o): Likewise.
	(tui-source.o): Likewise.
	(tui-stack.o): Likewise.
	(tui-win.o): Likewise.
	(tui-windata.o): Likewise.
	(tui-wingeneral.o): Likewise.
	(tui-winsource.o): Likewise.
	(guile.o): Likewise.
	(scm-arch.o): Likewise.
	(scm-auto-load.o): Likewise.
	(scm-block.o): Likewise.
	(scm-breakpoint.o): Likewise.
	(scm-cmd.o): Likewise.
	(scm-disasm.o): Likewise.
	(scm-exception.o): Likewise.
	(scm-frame.o): Likewise.
	(scm-gsmob.o): Likewise.
	(scm-iterator.o): Likewise.
	(scm-lazy-string.o): Likewise.
	(scm-math.o): Likewise.
	(scm-objfile.o): Likewise.
	(scm-param.o): Likewise.
	(scm-ports.o): Likewise.
	(scm-pretty-print.o): Likewise.
	(scm-progspace.o): Likewise.
	(scm-safe-call.o): Likewise.
	(scm-string.o): Likewise.
	(scm-symbol.o): Likewise.
	(scm-symtab.o): Likewise.
	(scm-type.o): Likewise.
	(scm-utils.o): Likewise.
	(scm-value.o): Likewise.
	(python.o): Likewise.
	(py-arch.o): Likewise.
	(py-auto-load.o): Likewise.
	(py-block.o): Likewise.
	(py-bpevent.o): Likewise.
	(py-breakpoint.o): Likewise.
	(py-cmd.o): Likewise.
	(py-continueevent.o): Likewise.
	(py-xmethods.o): Likewise.
	(py-event.o): Likewise.
	(py-evtregistry.o): Likewise.
	(py-evts.o): Likewise.
	(py-exitedevent.o): Likewise.
	(py-finishbreakpoint.o): Likewise.
	(py-frame.o): Likewise.
	(py-framefilter.o): Likewise.
	(py-function.o): Likewise.
	(py-gdb-readline.o): Likewise.
	(py-inferior.o): Likewise.
	(py-infevents.o): Likewise.
	(py-infthread.o): Likewise.
	(py-lazy-string.o): Likewise.
	(py-linetable.o): Likewise.
	(py-newobjfileevent.o): Likewise.
	(py-objfile.o): Likewise.
	(py-param.o): Likewise.
	(py-prettyprint.o): Likewise.
	(py-progspace.o): Likewise.
	(py-signalevent.o): Likewise.
	(py-stopevent.o): Likewise.
	(py-symbol.o): Likewise.
	(py-symtab.o): Likewise.
	(py-threadevent.o): Likewise.
	(py-type.o): Likewise.
	(py-unwind.o): Likewise.
	(py-utils.o): Likewise.
	(py-value.o): Likewise.
	(py-varobj.o): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Help diagnose problems with the metag target when mixing static and shared binaries.
@ 2016-11-18  9:59 sergiodj+buildbot
  2016-11-24 12:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-18  9:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6ec49e7c0aeb6d98e379319b565aee2c89388615 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 6ec49e7c0aeb6d98e379319b565aee2c89388615

Help diagnose problems with the metag target when mixing static and shared binaries.

	PR ld/20675
	* elf32-metag.c (elf_metag_relocate_section): Replace abort with
	an informative error message.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 combined pointer authentication load instructions
@ 2016-11-18 11:23 sergiodj+buildbot
  2016-11-24 14:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 11:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3f06e55061d0d8f72dfd11f6c432c23f45d9b597 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 3f06e55061d0d8f72dfd11f6c432c23f45d9b597

[AArch64] Add ARMv8.3 combined pointer authentication load instructions

Add support for ARMv8.3 LDRAA and LDRAB combined pointer authentication and
load instructions.

These instructions authenticate the base register and load 8 byte from it plus
a scaled 10-bit offset with optional writeback to update the base register.

A new instruction class (ldst_imm10) and operand type (AARCH64_OPND_ADDR_SIMM10)
were introduced to handle the special addressing form.

include/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* opcode/aarch64.h (enum aarch64_opnd): Add AARCH64_OPND_ADDR_SIMM10.
	(enum aarch64_insn_class): Add ldst_imm10.

opcodes/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (QL_X1NIL): New.
	(arch64_opcode_table): Add ldraa, ldrab.
	(AARCH64_OPERANDS): Add "ADDR_SIMM10".
	* aarch64-asm.h (aarch64_ins_addr_simm10): Declare.
	* aarch64-asm.c (aarch64_ins_addr_simm10): Define.
	* aarch64-dis.h (aarch64_ext_addr_simm10): Declare.
	* aarch64-dis.c (aarch64_ext_addr_simm10): Define.
	* aarch64-opc.h (enum aarch64_field_kind): Add FLD_S_simm10.
	* aarch64-opc.c (fields): Add data for FLD_S_simm10.
	(operand_general_constraint_met_p): Handle AARCH64_OPND_ADDR_SIMM10.
	(aarch64_print_operand): Likewise.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.

gas/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_ADDR_SIMM10.
	(fix_insn): Likewise.
	(warn_unpredictable_ldst): Handle ldst_imm10.
	* testsuite/gas/aarch64/pac.s: Add ldraa and ldrab tests.
	* testsuite/gas/aarch64/pac.d: Likewise.
	* testsuite/gas/aarch64/illegal-ldraa.s: New.
	* testsuite/gas/aarch64/illegal-ldraa.l: New.
	* testsuite/gas/aarch64/illegal-ldraa.d: New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 javascript floating-point conversion instruction
@ 2016-11-18 11:34 sergiodj+buildbot
  2016-11-24 16:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 11:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ccfc90a39b78b7bc4173cd9ead49d2aa59695378 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: ccfc90a39b78b7bc4173cd9ead49d2aa59695378

[AArch64] Add ARMv8.3 javascript floating-point conversion instruction

Add support for ARMv8.3 FJCVTZS floating-point conversion
instruction.

For details about javascript floating-point conversion see
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions

opcodes/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (arch64_opcode_table): Add fjcvtzs.
	(QL_FP2INT_W_D, aarch64_feature_fp_v8_3, FP_V8_3): Define.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.

gas/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* testsuite/gas/aarch64/fp-armv8_3.s: Add fjcvtzs test.
	* testsuite/gas/aarch64/fp-armv8_3.d: Likewise.
	* testsuite/gas/aarch64/illegal-fjcvtzs.s: Likewise.
	* testsuite/gas/aarch64/illegal-fjcvtzs.d: Likewise.
	* testsuite/gas/aarch64/illegal-fjcvtzs.l: Likewise.
	* testsuite/gas/aarch64/illegal-nofp-armv8_3.s: Likewise.
	* testsuite/gas/aarch64/illegal-nofp-armv8_3.d: Likewise.
	* testsuite/gas/aarch64/illegal-nofp-armv8_3.l: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 weaker release consistency load instructions
@ 2016-11-18 12:49 sergiodj+buildbot
  2016-11-24 19:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 12:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 28617675c264213180a599bb4327bf162029636a ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 28617675c264213180a599bb4327bf162029636a

[AArch64] Add ARMv8.3 weaker release consistency load instructions

Add support for ARMv8.3 LDAPRB, LDAPRH and LDAPR weak release
consistency load instructions. (They are equivalent to LDARB,
LDARH and LDAR instructions other than the weaker memory ordering
requirement.)

For more details about weak release consistency see
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions

opcodes/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (arch64_opcode_table): Add ldaprb, ldaprh, ldapr.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc-2.c: Regenerate.

gas/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Add ldaprb, ldaprh, ldapr tests.
	* testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Likewise.
	* testsuite/gas/aarch64/illegal-ldapr.s: Likewise.
	* testsuite/gas/aarch64/illegal-ldapr.d: Likewise.
	* testsuite/gas/aarch64/illegal-ldapr.l: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Add ARMv8.3 FCMLA and FCADD instructions
@ 2016-11-18 13:05 sergiodj+buildbot
  2016-11-24 21:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 13:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c2c4ff8d52a2cd3263a547b0384692498714aa1b ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: c2c4ff8d52a2cd3263a547b0384692498714aa1b

[AArch64] Add ARMv8.3 FCMLA and FCADD instructions

Add support for FCMLA and FCADD complex arithmetic SIMD instructions.
FCMLA has an indexed element variant where the index range has to be
treated specially because a complex number takes two elements and the
indexed vector size depends on the other operands.

These complex number SIMD instructions are part of ARMv8.3
https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions

include/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* opcode/aarch64.h (enum aarch64_opnd): Add AARCH64_OPND_IMM_ROT1,
	AARCH64_OPND_IMM_ROT2, AARCH64_OPND_IMM_ROT3.
	(enum aarch64_op): Add OP_FCMLA_ELEM.

opcodes/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* aarch64-tbl.h (QL_V3SAMEHSD_ROT, QL_ELEMENT_ROT): Define.
	(aarch64_feature_simd_v8_3, SIMD_V8_3): Define.
	(aarch64_opcode_table): Add fcmla and fcadd.
	(AARCH64_OPERANDS): Add IMM_ROT{1,2,3}.
	* aarch64-asm.h (aarch64_ins_imm_rotate): Declare.
	* aarch64-asm.c (aarch64_ins_imm_rotate): Define.
	* aarch64-dis.h (aarch64_ext_imm_rotate): Declare.
	* aarch64-dis.c (aarch64_ext_imm_rotate): Define.
	* aarch64-opc.h (enum aarch64_field_kind): Add FLD_rotate{1,2,3}.
	* aarch64-opc.c (fields): Add FLD_rotate{1,2,3}.
	(operand_general_constraint_met_p): Rotate and index range check.
	(aarch64_print_operand): Handle rotate operand.
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis-2.c: Likewise.
	* aarch64-opc-2.c: Likewise.

gas/
2016-11-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_IMM_ROT*.
	* testsuite/gas/aarch64/advsimd-armv8_3.d: New.
	* testsuite/gas/aarch64/advsimd-armv8_3.s: New.
	* testsuite/gas/aarch64/illegal-fcmla.s: New.
	* testsuite/gas/aarch64/illegal-fcmla.l: New.
	* testsuite/gas/aarch64/illegal-fcmla.d: New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR c++/71696 testcase.
@ 2016-11-18 14:01 sergiodj+buildbot
  2016-11-25  1:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 14:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9d2cdc86574bda0f1013be8cdc166d86b6d032bc ***

Author: Marcel Bhme <boehme.marcel@gmail.com>
Branch: master
Commit: 9d2cdc86574bda0f1013be8cdc166d86b6d032bc

PR c++/71696 testcase.

Add libiberty/testsuite/demangle-expected testcase for:

	PR c++/71696
	* cplus-dem.c: Prevent infinite recursion when there is a cycle
	in the referencing of remembered mangled types.
	(work_stuff): New stack to keep track of the remembered mangled
	types that are currently being processed.
	(push_processed_type): New method to push currently processed
	remembered type onto the stack.
	(pop_processed_type): New method to pop currently processed
	remembered type from the stack.
	(work_stuff_copy_to_from): Copy values of new variables.
	(delete_non_B_K_work_stuff): Free stack memory.
	(demangle_args): Push/Pop currently processed remembered type.
	(do_type): Do not demangle a cyclic reference and push/pop
	referenced remembered type.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Implement P0136R1, Rewording inheriting constructors.
@ 2016-11-18 16:06 sergiodj+buildbot
  2016-11-25  6:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 16:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ef0f5d7cc3b2082c94beffa7c9c1a8acd8eaa427 ***

Author: Jason Merrill <jason@redhat.com>
Branch: master
Commit: ef0f5d7cc3b2082c94beffa7c9c1a8acd8eaa427

Implement P0136R1, Rewording inheriting constructors.

libiberty/
	* cp-demangle.c (d_ctor_dtor_name): Handle inheriting constructor.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] libiberty: Fix -Wimplicit-fallthrough warnings.
@ 2016-11-18 16:14 sergiodj+buildbot
  2016-11-25  8:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 16:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4d17eaece8b31e642acaf4d77fe961ad8e3aaf50 ***

Author: Mark Wielaard <mjw@redhat.com>
Branch: master
Commit: 4d17eaece8b31e642acaf4d77fe961ad8e3aaf50

libiberty: Fix -Wimplicit-fallthrough warnings.

Adjust some comments, add some explicit fall through comments or explicit
returns where necessary to not get implicit-fallthrough warnings.

All fall throughs were deliberate. In one case I added an explicit return
false for clarity instead of falling through a default case (that also
would return false).

libiberty/ChangeLog:

       * cplus-dem.c (demangle_signature): Move fall through comment.
       (demangle_fund_type): Add fall through comment between 'G' and 'I'.
       * hashtab.c (iterative_hash): Add fall through comments.
       * regex.c (regex_compile): Add Fall through comment after '+'/'?'.
       (byte_re_match_2_internal): Add Fall through comment after jump_n.
       Change "Note fall through" to "Fall through".
       (common_op_match_null_string_p): Return false after set_number_at
       instead of fall through.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] libiberty: Fix memory leak in ada_demangle when symbol cannot be demangled.
@ 2016-11-18 16:19 sergiodj+buildbot
  2016-11-25  3:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 16:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aba19b625f34fb3d61263fe8044cf0c6d8804570 ***

Author: Mark Wielaard <mjw@redhat.com>
Branch: master
Commit: aba19b625f34fb3d61263fe8044cf0c6d8804570

libiberty: Fix memory leak in ada_demangle when symbol cannot be demangled.

When a symbol cannot be demangled in ada_demangle a new demangled VEC
will be allocated without deleting the demangled VEC already in use.

Running testsuite/test-demangle under valgrind will show the leak for
this entry in testsuite/demangle-expected:

    # Elaborated flag (not demangled)
    --format=gnat
    x_E
    <x_E>

 11 bytes in 1 blocks are definitely lost in loss record 1 of 1
    at 0x4C27BE3: malloc (vg_replace_malloc.c:299)
    by 0x413FE7: xmalloc (xmalloc.c:148)
    by 0x4025EC: ada_demangle (cplus-dem.c:930)
    by 0x402C59: cplus_demangle (cplus-dem.c:892)
    by 0x400FEC: main (test-demangle.c:317)

libiberty/ChangeLog:

	* cplus-dem.c (ada_demangle): Initialize demangled to NULL and
	XDELETEVEC demangled when unknown.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Implement P0012R1, Make exception specifications part of the type system.
@ 2016-11-18 16:45 sergiodj+buildbot
  2016-11-25 10:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 16:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a4ddf8dc72f0ac10c3459a91949eb1bdb07ed10d ***

Author: Jason Merrill <jason@redhat.com>
Branch: master
Commit: a4ddf8dc72f0ac10c3459a91949eb1bdb07ed10d

Implement P0012R1, Make exception specifications part of the type system.

libiberty/
	* cp-demangle.c (is_fnqual_component_type): New.
	(d_encoding, d_print_comp_inner, d_print_mod_list): Use it.
	(FNQUAL_COMPONENT_CASE): New.
	(d_make_comp, has_return_type, d_print_comp_inner)
	(d_print_function_type): Use it.
	(next_is_type_qual): New.
	(d_cv_qualifiers, d_print_mod): Handle noexcept and throw-spec.
include/
	* demangle.h (enum demangle_component_type): Add
	DEMANGLE_COMPONENT_NOEXCEPT, DEMANGLE_COMPONENT_THROW_SPEC.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] libiberty: Add -Wshadow=local to warning flags (if supported).
@ 2016-11-18 18:01 sergiodj+buildbot
  2016-11-25 15:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 18:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 59d2699cfd30f9defc454be17415c0a518ece32b ***

Author: Mark Wielaard <mark@klomp.org>
Branch: master
Commit: 59d2699cfd30f9defc454be17415c0a518ece32b

libiberty: Add -Wshadow=local to warning flags (if supported).

libiberty/ChangeLog:

       * configure.ac (ac_libiberty_warn_cflags): Add -Wshadow=local.
       * configure: Regenerated.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] libiberty: Fix some demangler crashes caused by reading past end of input.
@ 2016-11-18 18:18 sergiodj+buildbot
  2016-11-25 15:39 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 18:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1706852c3c6c1d39f949c933d37647d02509b9cb ***

Author: Mark Wielaard <mark@klomp.org>
Branch: master
Commit: 1706852c3c6c1d39f949c933d37647d02509b9cb

libiberty: Fix some demangler crashes caused by reading past end of input.

In various situations the cplus_demangle () function could read past the
end of input causing crashes. Add checks in various places to not advance
the demangle string location and fail early when end of string is reached.
Add various examples of input strings to the testsuite that would crash
test-demangle before the fixes.

Found by using the American Fuzzy Lop (afl) fuzzer.

libiberty/ChangeLog:

       * cplus-dem.c (demangle_signature): After 'H', template function,
       no success and don't advance position if end of string reached.
       (demangle_template): After 'z', template name, return zero on
       premature end of string.
       (gnu_special): Guard strchr against searching for zero characters.
       (do_type): If member, only advance mangled string when 'F' found.
       * testsuite/demangle-expected: Add examples of strings that could
       crash the demangler by reading past end of input.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] libiberty: Add Rust symbol demangling.
@ 2016-11-18 19:31 sergiodj+buildbot
  2016-11-25 21:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-18 19:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 535aade664ac4170fe82e52c9addd686156220a1 ***

Author: David Tolnay <dtolnay@gmail.com>
Branch: master
Commit: 535aade664ac4170fe82e52c9addd686156220a1

libiberty: Add Rust symbol demangling.

Adds Rust symbol demangler. Rust mangles symbols using GNU_V3 style,
adding a hash and various special character subtitutions. This adds
a new rust style to cplus_demangle and adds 3 helper functions
rust_demangle, rust_demangle_sym and rust_is_mangled.

rust-demangle.c was written by David. Mark did the code formatting to
GNU style and integration into the gcc/libiberty build system and
testsuite.

include/ChangeLog:

2016-11-03  David Tolnay <dtolnay@gmail.com>
           Mark Wielaard  <mark@klomp.org>

       * demangle.h (DMGL_RUST): New macro.
       (DMGL_STYLE_MASK): Add DMGL_RUST.
       (demangling_styles): Add dlang_rust.
       (RUST_DEMANGLING_STYLE_STRING): New macro.
       (RUST_DEMANGLING): New macro.
       (rust_demangle): New prototype.
       (rust_is_mangled): Likewise.
       (rust_demangle_sym): Likewise.

libiberty/ChangeLog:

2016-11-03  David Tolnay <dtolnay@gmail.com>
           Mark Wielaard  <mark@klomp.org>

       * Makefile.in (CFILES): Add rust-demangle.c.
       (REQUIRED_OFILES): Add rust-demangle.o.
       * cplus-dem.c (libiberty_demanglers): Add rust_demangling case.
       (cplus_demangle): Handle RUST_DEMANGLING.
       (rust_demangle): New function.
       * rust-demangle.c: New file.
       * testsuite/Makefile.in (really-check): Add check-rust-demangle.
       (check-rust-demangle): New rule.
       * testsuite/rust-demangle-expected: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfd: fix negative GOT offsets for non-local references on sparc64
@ 2016-11-19  0:43 sergiodj+buildbot
  2016-11-26  1:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-19  0:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc133f9f118ef4afd93da0ecba48151488c41c74 ***

Author: James Clarke <jrtc27@jrtc27.com>
Branch: master
Commit: cc133f9f118ef4afd93da0ecba48151488c41c74

bfd: fix negative GOT offsets for non-local references on sparc64

bfd/ChangeLog:

2016-11-18  James Clarke  <jrtc27@jrtc27.com>

	* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Don't convert
	R_SPARC_GOTDATA_OP_HIX22 and R_SPARC_GOTDATA_OP_LOX10 to
	R_SPARC_GOT* for non-local references. Instead, treat them like
	R_SPARC_GOTDATA_HIX22/R_SPARC_GOTDATA_LOX10 when filling in the
	immediate with the calculated relocation.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] libiberty: demangler crash with missing :? or fold expression component.
@ 2016-11-19  1:25 sergiodj+buildbot
  2016-11-25 21:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-19  1:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ddc5804ebd4b2be29ad4e3e259f5c6e907f34f26 ***

Author: Mark Wielaard <mark@klomp.org>
Branch: master
Commit: ddc5804ebd4b2be29ad4e3e259f5c6e907f34f26

libiberty: demangler crash with missing :? or fold expression component.

When constructing an :? or fold expression that requires a third
expression only the first and second were explicitly checked to
not be NULL. Since the third expression is also required in these
constructs it needs to be explicitly checked and rejected when missing.
Otherwise the demangler will crash once it tries to d_print the
NULL component. Added two examples to demangle-expected of strings
that would crash before this fix.

Found by American Fuzzy Lop (afl) fuzzer.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Revert "bfd: allow negative offsets to _GLOBAL_OFFSET_TABLE_ in elf64 SPARC"
@ 2016-11-19 13:29 sergiodj+buildbot
  2016-11-26  6:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-19 13:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0fc9967d0b28a1e037233d49cec479d3ab1e9e59 ***

Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Branch: master
Commit: 0fc9967d0b28a1e037233d49cec479d3ab1e9e59

Revert "bfd: allow negative offsets to _GLOBAL_OFFSET_TABLE_ in elf64 SPARC"

This reverts commit b19753ce31da347605dfa903c6fd2158e2444f0d.

As it turns out, GCC (and the assembler) needs additional work in
order to support negative GOT offsets in 64-bit sparc.  This is
breaking TLS Local Dynamic in position-independent code.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] ARI: Add detection of printf_vma and sprintf_vma
@ 2016-11-19 19:14 sergiodj+buildbot
  2016-11-26 12:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-19 19:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc188e5fd6d4f8d3061ed6c58c432a150f7966e9 ***

Author: Joel Brobecker <brobecker@adacore.com>
Branch: master
Commit: cc188e5fd6d4f8d3061ed6c58c432a150f7966e9

ARI: Add detection of printf_vma and sprintf_vma

We shouldn't be using these, since their output goes straight to
stdout, which doesn't allow redirection. So this patch updates
the ARI to detect any such use.

gdb/ChangeLog:

        * contrib/ari/gdb_ari.sh: Add detection of printf_vma and
        sprintf_vma.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Create subobject value in pretty printer
@ 2016-11-21 14:37 sergiodj+buildbot
  2016-11-26 21:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-21 14:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3fff9862d5229def9318912c2de64a03dab74532 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 3fff9862d5229def9318912c2de64a03dab74532

Create subobject value in pretty printer

Nowadays, we create a value of subobject in pretty printer with 'address'
being used,

  value = value_from_contents_and_address (type, valaddr + embedded_offset,
					   address + embedded_offset);

  set_value_component_location (value, val);
  /* set_value_component_location resets the address, so we may
     need to set it again.  */
  if (VALUE_LVAL (value) != lval_internalvar
      && VALUE_LVAL (value) != lval_internalvar_component
      && VALUE_LVAL (value) != lval_computed)
    set_value_address (value, address + embedded_offset);

value_from_contents_and_address creates a value from memory, but the
value we are pretty-printing may not from memory at all.

Instead of using value_from_contents_and_address, we create a value
of subobject with the same location as object's but different offset.
We avoid using address in this way.  As a result, parameter 'address'
in apply_val_pretty_printer is no longer needed, we can remove it in
next step.

We've already had the location of the 'whole' value, so it is safe
to assume we can create a value of 'component' or 'suboject' value
at the same location but with different offset.

gdb:

2016-11-21  Yao Qi  <yao.qi@linaro.org>

	* guile/scm-pretty-print.c (gdbscm_apply_val_pretty_printer):
	Don't call value_from_contents_and_address and
	set_value_address.  Call value_from_component.
	* python/py-prettyprint.c (gdbpy_apply_val_pretty_printer):
	Likewise.
	* value.c (value_from_component): New function.
	* value.h (value_from_component): Likewise.
	* valarith.c (value_subscripted_rvalue): Call
	value_from_component.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] BFD/DWARF2: Correct an `index' global shadowing error
@ 2016-11-21 17:38 sergiodj+buildbot
  2016-11-26 23:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-21 17:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b6ddcd85e3c0ae1f12af60efd6d1b97ac4bfa771 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: b6ddcd85e3c0ae1f12af60efd6d1b97ac4bfa771

BFD/DWARF2: Correct an `index' global shadowing error

Fix a commit 089e3718bd8d ("Greatly improve the speed if looking up
DWARF line number information.") build regression:

cc1: warnings being treated as errors
.../bfd/dwarf2.c: In function 'build_line_info_table':
.../bfd/dwarf2.c:1614: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
.../bfd/dwarf2.c: In function 'build_lookup_funcinfo_table':
.../bfd/dwarf2.c:2262: warning: declaration of 'index' shadows a global declaration
/usr/include/string.h:304: warning: shadowed declaration is here
make[4]: *** [dwarf2.lo] Error 1

in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc command
line options used when compiling the binutils.").

	bfd/
	* dwarf2.c (build_line_info_table): Rename `index' local
	variable to `line_index'.
	(build_lookup_funcinfo_table): Rename `index' local variable to
	`func_index'.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add missing POSTCOMPILE step to mi/ file generation rules
@ 2016-11-21 21:38 sergiodj+buildbot
  2016-11-27  1:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-21 21:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d0de53e251ce60057d91536a4c71740b047be040 ***

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

Add missing POSTCOMPILE step to mi/ file generation rules

A little oversight from my part, it caused the Makefile not to track
the dependencies from mi/*.c files.

gdb/ChangeLog:

	* Makefile.in (%o: $(srcdir)/mi/%.c): Add missing POSTCOMPILE
	step.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use VALUE_NEXT_FRAME_ID in value_from_component
@ 2016-11-22 10:10 sergiodj+buildbot
  2016-11-29 17:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 10:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c5acd8159633cfde315b01431099e1ce5b23dcf7 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: c5acd8159633cfde315b01431099e1ce5b23dcf7

Use VALUE_NEXT_FRAME_ID in value_from_component

We renamed VALUE_FRAME_ID to VALUE_NEXT_FRAME_ID recently,
https://sourceware.org/ml/gdb-patches/2016-11/msg00018.html
and we should use VALUE_NEXT_FRAME_ID in value_from_component
too.

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* value.c (value_from_component): Use VALUE_NEXT_FRAME_ID
	instead of VALUE_FROM_ID.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use input_bfd in relocate_section
@ 2016-11-22 10:39 sergiodj+buildbot
  2016-11-29 21:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 10:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 95f0d0d2338f8eba18d2b3c8cbe15b1d584b885c ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 95f0d0d2338f8eba18d2b3c8cbe15b1d584b885c

Use input_bfd in relocate_section

It makes just a little more sense to use input_bfd when retrieving
insns for relocation, since the relocations match the endianness of
the input bfd.

	* elf32-ppc.c (ppc64_elf_relocate_section): Calculate d_offset for
	input_bfd.  Replace occurrences of output_bfd as bfd_get_32 and
	bfd_put_32 param with input_bfd.
	* elf32-ppc.c (ppc_elf_relocate_section): Likewise.  Also
	ppc_elf_vle_split16 param.
	(ppc_elf_vle_split16): Rename output_bfd param to input_bfd.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR20744, Incorrect PowerPC VLE relocs
@ 2016-11-22 11:18 sergiodj+buildbot
  2016-11-30  0:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 11:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 08dc996fedde9143cda25720961684087b133640 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 08dc996fedde9143cda25720961684087b133640

PR20744, Incorrect PowerPC VLE relocs

VLE 16A and 16D relocs were functionally swapped.

	PR 20744
include/
	* opcode/ppc.h: Define VLE insns using 16A and 16D relocs.
bfd/
	* elf32-ppc.h (struct ppc_elf_params): Add vle_reloc_fixup field.
	* elf32-ppc.c: Include opcode/ppc.h.
	(ppc_elf_howto_raw): Correct dst_mask for R_PPC_VLE_LO16A,
	R_PPC_VLE_LO16D, R_PPC_VLE_HI16A, R_PPC_VLE_HI16D, R_PPC_VLE_HA16A,
	R_PPC_VLE_HA16D, R_PPC_VLE_SDAREL_LO16A, R_PPC_VLE_SDAREL_LO16D,
	R_PPC_VLE_SDAREL_HI16A, R_PPC_VLE_SDAREL_HI16D,
	R_PPC_VLE_SDAREL_HA16A, and R_PPC_VLE_SDAREL_HA16D relocs.
	(ppc_elf_link_hash_table_create): Update default_params init.
	(ppc_elf_vle_split16): Correct shift and mask.  Add params.
	Report or fix insn/reloc mismatches.
	(ppc_elf_relocate_section): Pass input_section, offset and fixup
	to ppc_elf_vle_split16.
binutils/
	* NEWS: Mention PowerPC VLE relocation error.
gas/
	* config/tc-ppc.c: Delete VLE insn defines.
	(md_assemble): Swap use_a_reloc and use_d_reloc.
	* testsuite/gas/ppc/vle-reloc.d: Update.
ld/
	* emultempl/ppc32elf.em (params): Update initializer.  Handle
	--vle-reloc-fixup command line arg.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gas, opcodes: fix hardware capabilities bumping in the sparc assembler.
@ 2016-11-22 13:53 sergiodj+buildbot
  2016-11-30  5:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 13:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6884417a0ff3555b192d4aceeacc5e7232cad207 ***

Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Branch: master
Commit: 6884417a0ff3555b192d4aceeacc5e7232cad207

gas,opcodes: fix hardware capabilities bumping in the sparc assembler.

When the assembler finds an instruction which is part of a higher
opcode architecture it bumps the current opcode architecture.  For
example:

   $ echo "mwait" | as -bump
   {standard input}: Assembler messages:
   {standard input}:1: Warning: architecture bumped from "v6" to "v9m" on "mwait"

However, when two instructions pertaining to the same opcode
architecture but associated to different SPARC hardware capabilities
are found in the input stream, and no GAS architecture is specified in
the command line, the assembler bangs:

   $ echo "mwait; wr %g0,%g1,%mcdper" | as -bump
   {standard input}: Assembler messages:
   {standard input}:1: Warning: architecture bumped from "v6" to "v9m" on "mwait"
   {standard input}:1: Error: Hardware capability "sparc5" not enabled for "wr".

... and it should'nt, as WRMCDPER pertains to the same architecture
level than MWAIT.

This patch fixes this by extending the definition of sparc opcode
architectures to contain a set of hardware capabilities and making the
assembler to take these capabilities into account when updating the
set of allowed hwcaps when an architecture bump is triggered by some
instruction.

This way, hwcaps associated to architecture levels are maintained in
opcodes, while the assembler keeps the flexibiity of defining GAS
architectures including additional hwcaps (like -Asparcfmaf or the
v8plus* variants).

A test covering this failure case is included.

gas/ChangeLog:

2016-11-22  Jose E. Marchesi  <jose.marchesi@oracle.com>

       	* config/tc-sparc.c: Move HWS_* and HWS2_* definitions to
       	opcodes/sparc-opc.c.
       	(sparc_arch): Clarify the new role of the hwcap_allowed and
       	hwcap2_allowed fields.
       	(sparc_arch_table): Remove HWS_* and HWS2_* instances from
       	hwcap_allowed and hwcap2_allowed respectively.
       	(md_parse_option): Include the opcode arch hwcaps when processing
       	-A.
       	(sparc_ip): Use the current opcode arch hwcaps to update
       	hwcap_allowed, as well of the hwcaps of the instruction triggering
       	the bump.
       	* testsuite/gas/sparc/hwcaps-bump.s: New file.
       	* testsuite/gas/sparc/hwcaps-bump.l: Likewise.
       	* testsuite/gas/sparc/sparc.exp (gas_64_check): Run tests in
       	hwcaps-bump.

include/ChangeLog:

2016-11-22  Jose E. Marchesi  <jose.marchesi@oracle.com>

       	* opcode/sparc.h (sparc_opcode_arch): New fields hwcaps and
       	hwcaps2.

opcodes/ChangeLog:

2016-11-22  Jose E. Marchesi  <jose.marchesi@oracle.com>

       	* sparc-opc.c (HWS_V8): Definition moved from
       	gas/config/tc-sparc.c.
       	(HWS_V9): Likewise.
       	(HWS_VA): Likewise.
       	(HWS_VB): Likewise.
       	(HWS_VC): Likewise.
       	(HWS_VD): Likewise.
       	(HWS_VE): Likewise.
       	(HWS_VV): Likewise.
       	(HWS_VM): Likewise.
       	(HWS2_VM): Likewise.
       	(sparc_opcode_archs): Initialize hwcaps and hwcaps2 fields of
       	existing entries.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [ARC] Fix printing 'b' mnemonics.
@ 2016-11-22 14:50 sergiodj+buildbot
  2016-11-30  3:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 14:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c4b943d7aed5edbfc31aa1e9dc9e7bcf108d76a0 ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: c4b943d7aed5edbfc31aa1e9dc9e7bcf108d76a0

[ARC] Fix printing 'b' mnemonics.

gas/
2016-11-22  Claudiu Zissulescu  <claziss@synopsys.com>

	* testsuite/gas/arc/b.d: Update test result.

opcode/
2016-11-22  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-tbl.h: Reorder conditional flags with delay flags for 'b'
	instructions.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] New regcache_raw_get_signed
@ 2016-11-22 15:10 sergiodj+buildbot
  2016-11-30  7:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 15:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9fd15b2e80452f03edb3fb36c2b4c36d05f4ef4e ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 9fd15b2e80452f03edb3fb36c2b4c36d05f4ef4e

New regcache_raw_get_signed

This patch adds a new regcache api regcache_raw_get_signed.

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* regcache.c (regcache_raw_get_signed): New function.
	* regcache.h (regcache_raw_get_signed): Declare.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: aarch64
@ 2016-11-22 15:55 sergiodj+buildbot
  2016-11-30 11:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 15:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0187a92f57b516f7171e70bec46701cfdaa6c6bd ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 0187a92f57b516f7171e70bec46701cfdaa6c6bd

gdbarch software_single_step frame_info to regcache: aarch64

Use regcache in software_single_step.

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c (aarch64_software_single_step): Call
	get_regcache_arch instead of get_frame_arch.  Call
	regcache_read_pc instead of get_frame_pc.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: alpha
@ 2016-11-22 16:56 sergiodj+buildbot
  2016-11-30 12:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 16:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7ab2d0874025af6ee858b32c576f2461c0a1df3d ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 7ab2d0874025af6ee858b32c576f2461c0a1df3d

gdbarch software_single_step frame_info to regcache: alpha

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* alpha-tdep.c (alpha_deal_with_atomic_sequence): Call
	get_regcache_arch instead of get_frame_arch.  Call
	regcache_read_pc instead of get_frame_pc.
	(alpha_next_pc): Replace parameter frame with regcache.
	Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: cris
@ 2016-11-22 17:26 sergiodj+buildbot
  2016-11-30 15:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 17:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5b6e2eee087cf206d5c2bf1f9523217aaf5938aa ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 5b6e2eee087cf206d5c2bf1f9523217aaf5938aa

gdbarch software_single_step frame_info to regcache: cris

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* cris-tdep.c (find_step_target): Replace parameter frame
	with regcache.  Call get_regcache_arch instead of
	get_frame_arch.  Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.
	(cris_software_single_step): Call get_regcache_arch instead
	of get_frame_arch.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: mips
@ 2016-11-22 17:49 sergiodj+buildbot
  2016-11-30 17:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 17:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7113a196bac7f1134bcdd79ad3e6badcb5d77f95 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 7113a196bac7f1134bcdd79ad3e6badcb5d77f95

gdbarch software_single_step frame_info to regcache: mips

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* mips-tdep.c (mips32_bc1_pc): Replace parameter frame with
	regcache.  Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.
	(mips32_next_pc): Likewise.
	(micromips_bc1_pc): Likewise.
	(micromips_next_pc): Likewise.
	(extended_mips16_next_pc): Likewise.
	(mips16_next_pc): Likewise.
	(mips_next_pc): Likewise.
	(mips_software_single_step): Call get_regcache_arch instead
	of get_frame_arch.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: nios2
@ 2016-11-22 19:25 sergiodj+buildbot
  2016-11-30 21:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 19:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3889f4909e0db5f5ca8ca043ef9825f0ad971fd6 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 3889f4909e0db5f5ca8ca043ef9825f0ad971fd6

gdbarch software_single_step frame_info to regcache: nios2

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* nios2-tdep.c (nios2_get_next_pc): Replace parameter frame
	with regcache.  Call regcache_raw_get_signed instead of
	get_frame_register_unsigned.
	(nios2_software_single_step): Call get_regcache_arch
	instead of get_frame_arch.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: sparc
@ 2016-11-22 20:15 sergiodj+buildbot
  2016-12-01  1:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 20:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd76b525eda02c30c4412698a2ff309b975d417a ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: cd76b525eda02c30c4412698a2ff309b975d417a

gdbarch software_single_step frame_info to regcache: sparc

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* sparc-tdep.c (sparc_analyze_control_transfer): Replace parameter
	frame with regcache.  Call get_current_frame.
	(sparc_software_single_step): Call get_regcache_arch instead of
	get_frame_arch.  Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: s390
@ 2016-11-22 20:47 sergiodj+buildbot
  2016-12-01  3:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 20:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad76968956f30bed6d120e0dfd247034e0855fea ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: ad76968956f30bed6d120e0dfd247034e0855fea

gdbarch software_single_step frame_info to regcache: s390

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* s390-linux-tdep.c (s390_software_single_step): Call
	get_regcache_arch instead of get_frame_arch.  Call
	regcache_read_pc instead of get_frame_pc.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: rs6000
@ 2016-11-22 21:00 sergiodj+buildbot
  2016-12-01  4:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 21:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 41e26ad32d17ee35f79f629654811f5e8656cab8 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 41e26ad32d17ee35f79f629654811f5e8656cab8

gdbarch software_single_step frame_info to regcache: rs6000

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* rs6000-aix-tdep.c (branch_dest): Replace parameter frame with
	regcache.  Call get_regcache_arch instead of get_frame_arch.
	Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.
	(rs6000_software_single_step): Likewise.
	* rs6000-tdep.c (ppc_deal_with_atomic_sequence): Call
	get_regcache_arch instead of get_frame_arch.  Call
	regcache_read_pc instead of get_frame_pc.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbarch software_single_step frame_info to regcache: spu
@ 2016-11-22 22:40 sergiodj+buildbot
  2016-12-01 10:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-22 22:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b2260160f8cde8de118914ddeaf797bea42e65ce ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: b2260160f8cde8de118914ddeaf797bea42e65ce

gdbarch software_single_step frame_info to regcache: spu

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* spu-tdep.c (spu_software_single_step): Call get_regcache_arch
	instead of get_frame_arch.  Call regcache_read_pc instead of
	get_frame_pc.  Call regcache_raw_get_unsigned instead of
	get_frame_register_unsigned.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Change gdbarch software_single_step frame_info to regcache
@ 2016-11-23  0:03 sergiodj+buildbot
  2016-12-01 11:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  0:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f5ea389ac78ccd7c426a93f43e6117dad9ce0878 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: f5ea389ac78ccd7c426a93f43e6117dad9ce0878

Change gdbarch software_single_step frame_info to regcache

This patch changes gdbarch method software_single_step's parameter from
"struct frame_info *" to "struct regcache *, IOW, software_single_step
starts to use current regcache rather than current frame for software
single.

gdb:

2016-11-22  Yao Qi  <yao.qi@linaro.org>

	* gdbarch.sh (software_single_step): Change parameter from frame_info
	to regcache.
	* gdbarch.c, gdbarch.h: Regenerated.
	* aarch64-tdep.c (aarch64_software_single_step): Change parameter
	from frame_info to regcache.  Don't call get_current_regcache.
	* alpha-tdep.c (alpha_deal_with_atomic_sequence): Likewise.
	(alpha_software_single_step): Likewise.
	* alpha-tdep.h (alpha_software_single_step): Update declaration.
	* arm-linux-tdep.c (arm_linux_software_single_step): Likewise.
	* arm-tdep.c (arm_software_single_step): Likewise.
	* arm-tdep.h (arm_software_single_step): Likewise.
	* breakpoint.c (insert_single_step_breakpoint): Pass regcache to
	gdbarch_software_single_step.
	* cris-tdep.c (cris_software_single_step): Change parameter from
	frame_info to regcache.  Don't call get_current_regcache.
	* mips-tdep.c (mips_software_single_step): Likewise.
	* mips-tdep.h (mips_software_single_step): Update declaration.
	* moxie-tdep.c (moxie_software_single_step): Likewise.
	* nios2-tdep.c (nios2_software_single_step): Likewise.
	* ppc-tdep.h (ppc_deal_with_atomic_sequence): Update declaration.
	* rs6000-aix-tdep.c (rs6000_software_single_step): Likewise.
	* rs6000-tdep.c (ppc_deal_with_atomic_sequence): Likewise.
	* s390-linux-tdep.c (s390_software_single_step): Likewise.
	* sparc-tdep.c (sparc_software_single_step): Likewise.
	* spu-tdep.c (spu_software_single_step): Likewise.
	* tic6x-tdep.c (tic6x_software_single_step): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix spelling mistakes in comments in shell scripts
@ 2016-11-23  1:00 sergiodj+buildbot
  2016-12-01 17:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  1:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ca3cbe5cd7715d1559d55f8e71be1dd7340f13b1 ***

Author: Ambrogino Modigliani <ambrogino.modigliani@gmail.com>
Branch: master
Commit: ca3cbe5cd7715d1559d55f8e71be1dd7340f13b1

Fix spelling mistakes in comments in shell scripts

gdb/ChangeLog:
2016-11-22  Ambrogino Modigliani  <ambrogino.modigliani@gmail.com>

        * contrib/expect-read1.sh: Fix spelling in comments.
        * gdb_buildall.sh: Fix spelling in comments.
        * gdb_mbuild.sh: Fix spelling in comments.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbserver: Use debug_printf for debug output
@ 2016-11-23  1:51 sergiodj+buildbot
  2016-12-01 20:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  1:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4eefa7bcf286b879f61b9e1ec1c97230f5345104 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 4eefa7bcf286b879f61b9e1ec1c97230f5345104

gdbserver: Use debug_printf for debug output

gdb/gdbserver/ChangeLog:
2016-11-23  Pedro Alves  <palves@redhat.com>

	* linux-low.c (check_zombie_leaders): Use debug_printf for debug
	output.
	* notif.c (handle_notif_ack, notif_event_enque): Likewise.
	* remote-utils.c (putpkt_binary_1, readchar, getpkt): Use
	debug_printf and debug_flush for debug output.
	* server.c (handle_general_set): Likewise.
	* thread-db.c (try_thread_db_load): Use debug_printf for debug
	output.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbserver: Use warning for warnings
@ 2016-11-23  2:43 sergiodj+buildbot
  2016-12-01 21:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  2:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9986ba08876f86f7d36d230afc11b60a34287da8 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 9986ba08876f86f7d36d230afc11b60a34287da8

gdbserver: Use warning for warnings

gdb/gdbserver/ChangeLog:
2016-11-23  Pedro Alves  <palves@redhat.com>

	* event-loop.c (handle_file_event): Use warning.
	* linux-low.c (linux_resume_one_lwp_throw): Use warning.
	* mem-break.c (add_breakpoint_condition, add_breakpoint_commands):
	Use warning.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Regen POTFILES.in
@ 2016-11-23  7:46 sergiodj+buildbot
  2016-12-02  0:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  7:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3ae0486cdce5d2ed4c922c598a3258fcbd9c8f29 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 3ae0486cdce5d2ed4c922c598a3258fcbd9c8f29

Regen POTFILES.in

bfd/
	* po/BLD-POTFILES.in: Regenerate.
	* po/SRC-POTFILES.in: Regenerate.
gas/
	* po/POTFILES.in: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Delete duplicate target short-cuts to dynamic sections
@ 2016-11-23  8:40 sergiodj+buildbot
  2016-12-02  2:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  8:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ce558b89b15a18fd67fdc02a4d410a6d92d2ba63 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: ce558b89b15a18fd67fdc02a4d410a6d92d2ba63

Delete duplicate target short-cuts to dynamic sections

We'd like to have the elf_link_hash_table srelplt field rather than
some private target field used to save short-cuts to a PLT relocation
section.  This save a little space but mainly is so that the generic
ELF code can access the field.  Ditto for other dynamic sections.

	* elf-m10300.c (mn10300_elf_check_relocs): Use elf htab shortcuts
	to dynamic sections.
	(mn10300_elf_final_link_relocate): Likewise.
	(_bfd_mn10300_elf_adjust_dynamic_symbol): Likewise.
	(_bfd_mn10300_elf_size_dynamic_sections): Likewise.
	(_bfd_mn10300_elf_finish_dynamic_symbol): Likewise.
	(_bfd_mn10300_elf_finish_dynamic_sections): Likewise.
	* elf32-bfin.c (bfin_check_relocs): Likewise.
	(bfin_relocate_section): Likewise.
	(bfin_gc_sweep_hook): Likewise.
	(struct bfinfdpic_elf_link_hash_table): Delete sgot, sgotrel, splt
	and spltrel.
	(bfinfdpic_got_section, bfinfdpic_gotrel_section,
	bfinfdpic_plt_section, bfinfdpic_pltrel_section): Define using elf
	shortcut sections.
	(_bfin_create_got_section): Use elf htab shortcuts to dyn sections.
	Delete dead code.
	(bfin_finish_dynamic_symbol): Use elf htab shortcuts to dyn sections.
	(bfin_size_dynamic_sections): Likewise.
	* elf32-cr16.c (_bfd_cr16_elf_create_got_section): Likewise.
	(cr16_elf_check_relocs): Likewise.
	(cr16_elf_final_link_relocate): Likewise.
	(_bfd_cr16_elf_create_dynamic_sections): Likewise.
	(_bfd_cr16_elf_adjust_dynamic_symbol): Likewise.
	(_bfd_cr16_elf_size_dynamic_sections): Likewise.
	(_bfd_cr16_elf_finish_dynamic_symbol): Likewise.
	(_bfd_cr16_elf_finish_dynamic_sections): Likewise.
	* elf32-cris.c (cris_elf_relocate_section): Likewise.
	(elf_cris_finish_dynamic_symbol): Likewise.
	(elf_cris_finish_dynamic_sections): Likewise.
	(cris_elf_gc_sweep_hook): Likewise.
	(elf_cris_adjust_gotplt_to_got): Likewise.
	(elf_cris_adjust_dynamic_symbol): Likewise.
	(cris_elf_check_relocs): Likewise.  Delete dead code.
	(elf_cris_size_dynamic_sections): Use elf htab shortcuts to dynamic
	sections.
	(elf_cris_discard_excess_program_dynamics): Likewise.
	* elf32-frv.c (struct frvfdpic_elf_link_hash_table): Delete sgot,
	sgotrel, splt and spltrel.
	(frvfdpic_got_section, frvfdpic_gotrel_section,
	frvfdpic_plt_section, frvfdpic_pltrel_section): Define using elf
	shortcut sections.
	(_frv_create_got_section): Likewise.
	* elf32-hppa.c (struct elf32_hppa_link_hash_table): Delete sgot,
	srelgot, splt and srelplt.
	(hppa_build_one_stub): Use elf htab shortcuts to dynamic sections.
	(elf32_hppa_create_dynamic_sections): Likewise.
	(elf32_hppa_check_relocs): Likewise.
	(allocate_plt_static): Likewise.
	(allocate_dynrelocs): Likewise.
	(elf32_hppa_size_dynamic_sections): Likewise.
	(elf32_hppa_relocate_section): Likewise.
	(elf32_hppa_finish_dynamic_symbol): Likewise.
	(elf32_hppa_finish_dynamic_sections): Likewise.
	* elf32-i370.c (i370_elf_finish_dynamic_sections): Likewise.
	* elf32-lm32.c (struct elf_lm32_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	(lm32fdpic_got_section, lm32fdpic_gotrel_section): Define using elf
	shortcut sections.
	(create_got_section): Delete.  Use _bfd_elf_create_got_section instead.
	(lm32_elf_relocate_section): Use elf htab shortcuts to dyn sections.
	(lm32_elf_check_relocs): Likewise.
	(lm32_elf_finish_dynamic_sections): Likewise.
	(lm32_elf_finish_dynamic_symbol): Likewise.
	(allocate_dynrelocs): Likewise.
	(lm32_elf_size_dynamic_sections): Likewise.
	(lm32_elf_create_dynamic_sections): Likewise.
	* elf32-m32c.c (m32c_elf_relocate_section): Likewise.
	(m32c_elf_check_relocs): Likewise.
	(m32c_elf_finish_dynamic_sections): Likewise.
	(m32c_elf_always_size_sections): Likewise.
	* elf32-m32r.c (struct elf_m32r_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	(create_got_section): Delete.  Use _bfd_elf_create_got_section instead.
	(m32r_elf_create_dynamic_sections): Use elf htab shortcuts to dynamic
	sections.
	(allocate_dynrelocs): Likewise.
	(m32r_elf_size_dynamic_sections): Likewise.
	(m32r_elf_relocate_section): Likewise.
	(m32r_elf_finish_dynamic_symbol): Likewise.
	(m32r_elf_finish_dynamic_sections): Likewise.
	(m32r_elf_check_relocs): Likewise.
	* elf32-m68k.c (elf_m68k_partition_multi_got): Likewise.
	(elf_m68k_check_relocs): Likewise.
	(elf_m68k_adjust_dynamic_symbol): Likewise.
	(elf_m68k_size_dynamic_sections): Likewise.
	(elf_m68k_relocate_section): Likewise.
	(elf_m68k_finish_dynamic_symbol): Likewise.
	(elf_m68k_finish_dynamic_sections): Likewise.
	* elf32-metag.c (struct elf_metag_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	(elf_metag_relocate_section): Use elf htab shortcuts to dynamic
	sections.
	(elf_metag_create_dynamic_sections): Likewise.  Allocate got header
	here in .got.
	(elf_metag_check_relocs): Use elf htab shortcuts to dynamic sections.
	(allocate_dynrelocs): Likewise.
	(elf_metag_size_dynamic_sections): Likewise.
	(elf_metag_finish_dynamic_symbol): Likewise.
	(elf_metag_finish_dynamic_sections): Likewise.
	(elf_metag_size_stubs): Likewise.
	(elf_backend_got_header_size): Don't define.
	(elf_backend_want_got_plt): Define.
	* elf32-microblaze.c (struct elf32_mb_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelpl.
	(microblaze_elf_relocate_section): Use elf htab shortcuts to dynamic
	sections.
	(create_got_section): Delete.  Use _bfd_elf_create_got_section instead.
	(microblaze_elf_check_relocs): Use elf htab shortcuts to dyn sections.
	(microblaze_elf_create_dynamic_sections): Likewise.
	(allocate_dynrelocs): Likewise.
	(microblaze_elf_size_dynamic_sections): Likewise.
	(microblaze_elf_finish_dynamic_symbol): Likewise.
	(microblaze_elf_finish_dynamic_sections): Likewise.
	* elf32-nds32.c (nds32_elf_link_hash_table_create): Don't NULL
	already zero fields.
	(create_got_section): Delete.  Use _bfd_elf_create_got_section instead.
	(nds32_elf_create_dynamic_sections): Use elf htab shortcuts to dynamic
	sections.
	(allocate_dynrelocs): Likewise.
	(nds32_elf_size_dynamic_sections): Likewise.
	(nds32_elf_relocate_section): Likewise.
	(nds32_elf_finish_dynamic_symbol): Likewise.
	(nds32_elf_finish_dynamic_sections): Likewise.
	(nds32_elf_check_relocs): Likewise.
	(calculate_plt_memory_address): Likewise.
	(calculate_got_memory_address): Likewise.
	* elf32-nds32.h (struct elf_nds32_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	* elf32-or1k.c (struct elf_or1k_link_hash_table): Likewise.
	(or1k_elf_relocate_section): Use elf htab shortcuts to dyn sections.
	(create_got_section): Delete.  Use _bfd_elf_create_got_section instead.
	(or1k_elf_check_relocs): Use elf htab shortcuts to dynamic sections.
	(or1k_elf_finish_dynamic_sections): Likewise.
	(or1k_elf_finish_dynamic_symbol): Likewise.
	(allocate_dynrelocs): Likewise.
	(or1k_elf_size_dynamic_sections): Likewise.
	(or1k_elf_create_dynamic_sections): Likewise.
	* elf32-ppc.c (struct ppc_elf_link_hash_table): Delete got, relgot,
	plt, relplt, iplt, reliplt and sgotplt.
	(ppc_elf_create_got): Use elf htab shortcuts to dynamic sections.
	(ppc_elf_create_glink): Likewise.
	(ppc_elf_create_dynamic_sections): Likewise.
	(ppc_elf_check_relocs): Likewise.
	(ppc_elf_select_plt_layout): Likewise.
	(ppc_elf_tls_setup): Likewise.
	(allocate_got): Likewise.
	(allocate_dynrelocs): Likewise.
	(ppc_elf_size_dynamic_sections): Likewise.
	(ppc_elf_relax_section): Likewise.
	(ppc_elf_relocate_section): Likewise.
	(ppc_elf_finish_dynamic_symbol): Likewise.
	(ppc_elf_reloc_type_class): Likewise.
	(ppc_elf_finish_dynamic_sections): Likewise.
	* elf32-rl78.c (rl78_elf_relocate_section): Likewise.
	(rl78_elf_check_relocs): Likewise.
	(rl78_elf_finish_dynamic_sections): Likewise.
	(rl78_elf_always_size_sections): Likewise.
	* elf32-s390.c 	(create_got_section): Delete.
	(elf_s390_create_dynamic_sections): Use _bfd_elf_create_got_section.
	(elf_s390_check_relocs): Likewise.
	* elf32-score.c (score_elf_create_got_section): Set elf shortcuts.
	(s3_bfd_score_elf_finish_dynamic_sections): Use elf shortcuts.
	* elf32-score7.c (score_elf_create_got_section): As above.
	(s7_bfd_score_elf_finish_dynamic_sections): As above.
	* elf32-sh.c (struct elf_sh_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	(create_got_section): Don't set them.
	(sh_elf_create_dynamic_sections): Use elf htab shortcuts to dynamic
	sections.
	(allocate_dynrelocs): Likewise.
	(sh_elf_size_dynamic_sections): Likewise.
	(sh_elf_add_rofixup): Likewise.
	(sh_elf_relocate_section): Likewise.
	(sh_elf_check_relocs): Likewise.
	(sh_elf_finish_dynamic_symbol): Likewise.
	(sh_elf_finish_dynamic_sections): Likewise.
	* elf32-tic6x.c (elf32_tic6x_finish_dynamic_symbol): Likewise.
	* elf32-tilepro.c (tilepro_elf_create_got_section): Likewise.
	* elf32-vax.c (elf_vax_check_relocs): Likewise.
	(elf_vax_adjust_dynamic_symbol): Likewise.
	(elf_vax_always_size_sections): Likewise.
	(elf_vax_instantiate_got_entries): Likewise.
	(elf_vax_relocate_section): Likewise.
	(elf_vax_finish_dynamic_symbol): Likewise.
	(elf_vax_finish_dynamic_sections): Likewise.
	* elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise.
	(xstormy16_elf_always_size_sections): Likewise.
	(xstormy16_elf_relocate_section): Likewise.
	(xstormy16_elf_finish_dynamic_sections): Likewise.
	* elf32-xtensa.c (struct elf_xtensa_link_hash_table): Delete sgot,
	sgotplt, srelgot, splt and srelplt.
	(elf_xtensa_create_dynamic_sections): Use elf htab shortcuts to
	dynamic sections.
	(elf_xtensa_allocate_dynrelocs): Likewise.
	(elf_xtensa_allocate_local_got_size): Likewise.
	(elf_xtensa_size_dynamic_sections): Likewise.
	(elf_xtensa_relocate_section): Likewise.
	(elf_xtensa_finish_dynamic_sections): Likewise.
	(shrink_dynamic_reloc_sections): Likewise.
	(elf_xtensa_get_plt_section): Likewise.
	(elf_xtensa_get_gotplt_section): Likewise.
	(xtensa_callback_required_dependence): Likewise.
	* elf64-alpha.c (elf64_alpha_create_dynamic_sections): Set elf htab
	shortcuts to dynamic sections.
	(elf64_alpha_adjust_dynamic_symbol): Use elf htab shortcuts to
	dynamic sections.
	(elf64_alpha_size_plt_section): Likewise.
	(elf64_alpha_size_rela_got_1): Likewise.
	(elf64_alpha_size_rela_got_section): Likewise.
	(elf64_alpha_relocate_section): Likewise.
	(elf64_alpha_finish_dynamic_symbol): Likewise.
	(elf64_alpha_finish_dynamic_sections): Likewise.
	* elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
	* elf64-s390.c (create_got_section): Delete.
	(elf_s390_create_dynamic_sections): Use _bfd_elf_create_got_section.
	(elf_s390_check_relocs): Likewise.
	* elf64-sh64.c (sh_elf64_relocate_section): Use elf htab shortcuts to
	dynamic sections.
	(sh_elf64_check_relocs): Likewise.
	(sh64_elf64_adjust_dynamic_symbol): Likewise.
	(sh64_elf64_size_dynamic_sections): Likewise.
	(sh64_elf64_finish_dynamic_symbol): Likewise.
	(sh64_elf64_finish_dynamic_sections): Likewise.
	* elflink.c (_bfd_elf_create_got_section): Likewise.
	* elfnn-aarch64.c (aarch64_elf_create_got_section): Likewise.
	* elfnn-ia64.c (elfNN_ia64_size_dynamic_sections): Likewise.
	(elfNN_ia64_finish_dynamic_sections): Likewise.
	* elfnn-riscv.c (riscv_elf_create_got_section): Likewise.
	* elfxx-mips.c (struct mips_elf_link_hash_table): Delete srellt,
	sgotplt, splt and sgot.
	(mips_elf_initialize_tls_slots): Use elf htab shortcuts to dynamic
	sections.
	(mips_elf_gotplt_index): Likewise.
	(mips_elf_primary_global_got_index): Likewise.
	(mips_elf_global_got_index): Likewise.
	(mips_elf_got_offset_from_index): Likewise.
	(mips_elf_create_local_got_entry): Likewise.
	(mips_elf_create_got_section): Likewise.
	(mips_elf_calculate_relocation): Likewise.
	(_bfd_mips_elf_create_dynamic_sections): Likewise.
	(_bfd_mips_elf_adjust_dynamic_symbol): Likewise.
	(mips_elf_lay_out_got): Likewise.
	(mips_elf_set_plt_sym_value): Likewise.
	(_bfd_mips_elf_size_dynamic_sections): Likewise.
	(_bfd_mips_elf_finish_dynamic_symbol): Likewise.
	(_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
	(mips_finish_exec_plt): Likewise.
	(mips_vxworks_finish_exec_plt): Likewise.
	(mips_vxworks_finish_shared_plt): Likewise.
	(_bfd_mips_elf_finish_dynamic_sections): Likewise.
	* elfxx-sparc.c (sparc_finish_dyn): Likewise.
	* elfxx-tilegx.c (tilegx_elf_create_got_section): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] elf_backend_dtrel_excludes_plt
@ 2016-11-23  9:06 sergiodj+buildbot
  2016-12-02  5:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-23  9:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 64f52338e924cce3a205527136e145da660a4686 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 64f52338e924cce3a205527136e145da660a4686

elf_backend_dtrel_excludes_plt

Now that all targets creating .rel.plt/.rela.plt use the ELF hash
table shortcut srelplt, the generic ELF code can set up DT_RELSZ/
DT_RELASZ and DT_REL/DT_RELA for targets that don't want PLT relocs
included in those tags.

	* elf-bfd.h (struct elf_backend_data): Add dtrel_excludes_plt.
	* elfxx-target.h (elf_backend_dtrel_excludes_plt): Define.
	(elfNN_bed): Init new field.
	* elflink.c (bfd_elf_final_link): Add and use htab variable.  Handle
	dtrel_excludes_plt.
	* elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_sections): Delete
	DT_RELASZ code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-arc.c (elf_arc_finish_dynamic_sections): Delete DT_RELASZ code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-arm.c (elf32_arm_finish_dynamic_sections): Delete code
	subtracting off plt relocs from DT_RELSZ, DT_RELASZ.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-cr16.c (_bfd_cr16_elf_finish_dynamic_sections): Delete
	DT_RELASZ code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-cris.c (elf_cris_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Delete DT_RELASZ
	and DT_RELA code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-i386.c (elf_i386_finish_dynamic_sections): Delete DT_RELSZ
	and DT_REL code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-lm32.c (lm32_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-m32r.c (m32r_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-m68k.c (elf_m68k_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-metag.c (elf_metag_finish_dynamic_sections): Delete DT_RELASZ
	and DT_RELA code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-microblaze.c (microblaze_elf_finish_dynamic_sections): Delete
	DT_RELASZ and DT_RELA code.  Use ELF htab shortcuts for other
	dynamic sections.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-mips.c (elf_backend_dtrel_excludes_plt): Define.
	* elf32-nds32.c (nds32_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-or1k.c (or1k_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-ppc.c (ppc_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-sh.c (sh_elf_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-sparc.c (elf_backend_dtrel_excludes_plt): Define.
	* elf32-vax.c (elf_vax_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf64-alpha.c (elf64_alpha_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Delete DT_RELASZ
	and DT_RELA code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elf64-x86-64.c (elf_x86_64_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_sections): Delete
	DT_RELASZ code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elfnn-ia64.c (elfNN_ia64_finish_dynamic_sections): Delete DT_RELASZ
	code.
	(elf_backend_dtrel_excludes_plt): Define.
	* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Delete
	DT_RELASZ code.
	* elfxx-sparc.c (sparc_finish_dyn): Delete DT_RELASZ code.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries.
@ 2016-11-23 11:55 sergiodj+buildbot
  2016-12-02  7:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-23 11:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a9ccd70f9a75dc6b48d340059f28ef3550c107b ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 1a9ccd70f9a75dc6b48d340059f28ef3550c107b

Fix the linker so that it will not silently generate ELF binaries with invalid program headers.  Fix readelf to report such invalid binaries.

	PR ld/20815
bfd	* elf.c (elf_modify_segment_map): Allow empty LOAD segments if
	they contain the program headers.
	(_bfd_elf_map_sections_to_segments): If the linker created the
	PHDR segment then always attempt to include it in a LOAD segment.
	(assign_file_positions_for_non_load_sections): Allow LOAD segments
	to overlap PHDR segments.
	(phdr_sorter): New function.  Sorts program headers.
	(assign_file_positions_except_relocs): Sort the program headers
	before writing them out.  Issue an error if the PHDR segment is
	not covered by a LOAD segment, unless the backend allows it.
	* elf-bfd.h (struct elf_backend_data): Add
	elf_backend_allow_non_load_phdr.
	* elfxx-target.h (elf_backend_allow_non_load_phdr): Provide
	default definition that returns FALSE.
	(elfNN_bed): Initialise the elf_backend_allow_non_load_phdr
	field.
	* elf64-hppa.c (elf64_hppa_allow_non_load_phdr): New function.
	Returns TRUE.
	(elf_backend_allow_non_load_phdr): Define.
	* elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Do not
	place the interpreter string into the .interp section if the
	nointerp flag is set in the link info structure.
	* elf32-arc.c (elf_arc_size_dynamic_sections): Likewise.
	* elf32-score7.c (score_elf_final_link_relocate): Allow for the
	_gp symbol not being part of the output.

binutils* readelf.c (process_program_headers): Check PT_LOAD and PT_PHDR
	segments for validity.

ld	* ld.texinfo: Note that PT_TLS can be used as a segment type.
	* testsuite/ld-discard/discard.ld: Add space for program headers.
	* testsuite/ld-elf/flags1.ld: Likewise.
	* testsuite/ld-elf/maxpage3.t: Likewise.
	* testsuite/ld-elf/noload-1.t: Likewise.
	* testsuite/ld-elf/orphan.ld: Likewise.
	* testsuite/ld-elf/overlay.t: Likewise.
	* testsuite/ld-elf/pr14052.t: Likewise.
	* testsuite/ld-elf/pr19539.t: Likewise.
	* testsuite/ld-elf/provide-hidden-1.ld: Likewise.
	* testsuite/ld-elf/provide-hidden-s.ld: Likewise.
	* testsuite/ld-elf/weak-dyn-1.ld: Likewise.
	* testsuite/ld-i386/pr19539.t: Likewise.
	* testsuite/ld-scripts/defined.t: Likewise.
	* testsuite/ld-scripts/defined6.t: Likewise.
	* testsuite/ld-scripts/dynamic-sections.t: Likewise.
	* testsuite/ld-scripts/empty-aligned.t: Likewise.
	* testsuite/ld-scripts/provide-2.t: Likewise.
	* testsuite/ld-scripts/provide-4.t: Likewise.
	* testsuite/ld-vax-elf/plt-local.ld: Likewise.
	* testsuite/ld-x86-64/pr19539.t: Likewise.
	* testsuite/ld-elf/ehdr_start-missing.d: Do not initialise the
	dynamic linker.
	* testsuite/ld-elf/ehdr_start-weak.d: Likewise.
	* testsuite/ld-elf/elf.exp (pr14170, pr17068): Likewise.
	* testsuite/ld-elf/loadaddr1.d: Update expected readelf output.
	* testsuite/ld-elf/noload-2.d: Likewise.
	* testsuite/ld-powerpc/vxworks2.sd: Likewise.
	* testsuite/ld-scripts/phdrs3a.d: Likewise.
	* testsuite/ld-scripts/size-2.d: Likewise.
	* testsuite/ld-elf/group.ld: Add program headers.
	* testsuite/ld-elf/overlay.d: Skip for SPU.
	* testsuite/ld-elf/flags1.d: Skip for RX.
	* testsuite/ld-elf/pr19162.d: Skip for HPPA64.
	* testsuite/ld-elf/pr19539.d: Skip for ALPHA.
	* testsuite/ld-scripts/empty-orphan.t: Update program headers.
	* testsuite/ld-scripts/size-2.t: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Makefiles: Flatten and sort file lists
@ 2016-11-23 15:19 sergiodj+buildbot
  2016-12-02 10:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-23 15:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b593ecca856860a8b38deb808493bba4beef3aee ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: b593ecca856860a8b38deb808493bba4beef3aee

Makefiles: Flatten and sort file lists

I find the big file lists in the Makefiles a bit ugly and not very
practical.  Since there are multiple filenames on each line (as much as
fits in 80 columns), it's not easy to add, remove or change a name in
the middle.  As a result, we have a mix of long and short lines in no
particular order (ALL_TARGET_OBS is a good example).

I therefore suggest flattening the lists (one name per line) and keeping
them in alphabetical order.  The diffs will be much clearer and merge
conflicts will be easier to resolve.

A nice (IMO) side-effect I observed is that the files are compiled
alphabetically by make, so it gives a rough idea of the progress of the
build.

I added a comment in gdb/Makefile.in to mention to keep the file lists
ordered, and gave the general guidelines on what order to respect.  I
added a comment in other Makefiles which refers to gdb/Makefile.in, to
avoid duplication.

Running the patch through the buildbot found that gdb.base/default.exp
started to fail.  The languages in the error message shown when typing
"set language" have changed order.  We could probably improve gdb so
that it prints them in a stable order, regardless of the order of the
object list passed to the linked, but just fixing the test is easier for
now.

New in v2:

 - Change ordering style, directories go at the end.
 - Cleanup gdbserver's and data-directory's Makefile as well.
 - Add comments at top of Makefiles about the ordering.
 - Remove wrong trailing backslahes.
 - Fix test gdb.base/default.exp.

gdb/ChangeLog:

	* Makefile.in: Add comment about file lists ordering.
	(SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_MI_OBS, SUBDIR_MI_SRCS,
	SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS, SUBDIR_GCC_COMPILE_OBS,
	SUBDIR_GCC_COMPILE_SRCS, SUBDIR_GUILE_OBS, SUBDIR_GUILE_SRCS,
	SUBDIR_PYTHON_OBS, SUBDIR_PYTHON_SRCS, SUBDIR_GDBTK_OBS,
	SUBDIR_GDBTK_SRCS, XMLFILES, REMOTE_OBS, ALL_64_TARGET_OBS,
	ALL_TARGET_OBS, SFILES, HFILES_NO_SRCDIR, HFILES_WITH_SRCDIR,
	COMMON_OBS, YYFILES, YYOBJ, generated_files, ALLDEPFILES):
	Flatten list and order alphabetically.
	* data-directory/Makefile.in: Add comment about file lists
	ordering.
	(GEN_SYSCALLS_FILES, PYTHON_FILE_LIST): Flatten list and order
	alphabetically.

gdb/gdbserver/ChangeLog:

	* Makefile.in (SFILES, OBS): Flatten list and order
	alphabetically.

gdb/testsuite/ChangeLog:

	* gdb.base/default.exp: Fix output of "set language".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Normalize names of some source files
@ 2016-11-23 16:36 sergiodj+buildbot
  2016-12-02 12:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-23 16:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 03b62bbbce3dc5f15131d9e78f77d035cd1cffb3 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 03b62bbbce3dc5f15131d9e78f77d035cd1cffb3

Normalize names of some source files

Most tdep/nat files are named:

  <cpu>-<os>-tdep.c
  <cpu>-<os>-nat.c

A few files do not respect this scheme.  This patch renames them so that
they are consistent with the rest of the files.  It builds fine with
--enable-targets=all, but that doesn't test the nat files.  I can only
hope that my grep skill is good enough.

gdb/ChangeLog:

	* Makefile.in (ALL_64_TARGET_OBS, ALL_TARGET_OBS,
	HFILES_NO_SRCDIR, ALLDEPFILES): Rename files.
	* alphabsd-nat.c: Rename to ...
	* alpha-bsd-nat.c: ... this, adjust include.
	* alphabsd-tdep.c: Rename to ...
	* alpha-bsd-tdep.c: ... this, adjust include.
	* alphabsd-tdep.h: Rename to ...
	* alpha-bsd-tdep.h: ... this, adjust include barrier and comment.
	* alphafbsd-tdep.c: Rename to ...
	* alpha-fbsd-tdep.c: ... this.
	* alphanbsd-tdep.c: Rename to ...
	* alpha-nbsd-tdep.c: ... this, adjust include.
	* alphaobsd-tdep.c: Rename to ...
	* alpha-obsd-tdep.c: ... this, adjust include.
	* amd64bsd-nat.c: Rename to ...
	* amd64-bsd-nat.c: ... this, adjust include.
	* amd64fbsd-nat.c: Rename to ...
	* amd64-fbsd-nat.c: ... this, adjust include.
	* amd64fbsd-tdep.c: Rename to ...
	* amd64-fbsd-tdep.c: ... this, adjust include.
	* amd64nbsd-nat.c: Rename to ...
	* amd64-nbsd-nat.c: ... this.
	* amd64nbsd-tdep.c: Rename to ...
	* amd64-nbsd-tdep.c: ... this.
	* amd64obsd-nat.c: Rename to ...
	* amd64-obsd-nat.c: ... this.
	* amd64obsd-tdep.c: Rename to ...
	* amd64-obsd-tdep.c: ... this.
	* amd64-tdep.h: Update comments.
	* armbsd-tdep.c: Rename to ...
	* arm-bsd-tdep.c: ... this.
	* armnbsd-nat.c: Rename to ...
	* arm-nbsd-nat.c: ... this.
	* armnbsd-tdep.c: Rename to ...
	* arm-nbsd-tdep.c: ... this.
	* armobsd-tdep.c: Rename to ...
	* arm-obsd-tdep.c: ... this.
	* arm-tdep.h: Update comments.
	* hppabsd-tdep.c: Rename to ...
	* hppa-bsd-tdep.c: ... this, adjust include.
	* hppabsd-tdep.h: Rename to ...
	* hppa-bsd-tdep.h: ... this, adjust include barrier and comment.
	* hppanbsd-nat.c: Rename to ...
	* hppa-nbsd-nat.c: ... this.
	* hppanbsd-tdep.c: Rename to ...
	* hppa-nbsd-tdep.c: ... this, adjust include.
	* hppaobsd-nat.c: Rename to ...
	* hppa-obsd-nat.c: ... this.
	* hppaobsd-tdep.c: Rename to ...
	* hppa-obsd-tdep.c: ... this, adjust include.
	* i386bsd-nat.c: Rename to ...
	* i386-bsd-nat.c: ... this, adjust include.
	* i386bsd-nat.h: Rename to ...
	* i386-bsd-nat.h: ... this, adjust include barrier and comment.
	* i386bsd-tdep.c: Rename to ...
	* i386-bsd-tdep.c: ... this.
	* i386fbsd-nat.c: Rename to ...
	* i386-fbsd-nat.c: ... this, adjust include.
	* i386fbsd-tdep.c: Rename to ...
	* i386-fbsd-tdep.c: ... this, adjust include.
	* i386fbsd-tdep.h: Rename to ...
	* i386-fbsd-tdep.h: ... this, adjust include barrier and comment.
	* i386gnu-nat.c: Rename to ...
	* i386-gnu-nat.c: ... this.
	* i386gnu-tdep.c: Rename to ...
	* i386-gnu-tdep.c: ... this.
	* i386nbsd-nat.c: Rename to ...
	* i386-nbsd-nat.c: ... this, adjust include.
	* i386nbsd-tdep.c: Rename to ...
	* i386-nbsd-tdep.c: ... this.
	* i386obsd-nat.c: Rename to ...
	* i386-obsd-nat.c: ... this, adjust include.
	* i386obsd-tdep.c: Rename to ...
	* i386-obsd-tdep.c: ... this.
	* i386v4-nat.c: Rename to ...
	* i386-v4-nat.c: ... this.
	* i386-tdep.h: Update comments.
	* m68k-tdep.h: Update comments.
	* m68kbsd-nat.c: Rename to ...
	* m68k-bsd-nat.c: ... this.
	* m68kbsd-tdep.c: Rename to ...
	* m68k-bsd-tdep.c: ... this.
	* m68klinux-nat.c: Rename to ...
	* m68k-linux-nat.c: ... this.
	* m68klinux-tdep.c: Rename to ...
	* m68k-linux-tdep.c: ... this.
	* m88kbsd-nat.c: Rename to ...
	* m88k-bsd-nat.c: ... this.
	* mipsnbsd-nat.c: Rename to ...
	* mips-nbsd-nat.c: ... this, adjust include.
	* mipsnbsd-tdep.c: Rename to ...
	* mips-nbsd-tdep.c: ... this, adjust include.
	* mipsnbsd-tdep.h: Rename to ...
	* mips-nbsd-tdep.h: ... this, adjust include barrier and comment.
	* mips64obsd-nat.c: Rename to ...
	* mips64-obsd-nat.c: ... this.
	* mips64obsd-tdep.c: Rename to ...
	* mips64-obsd-tdep.c: ... this.
	* ppcfbsd-nat.c: Rename to ...
	* ppc-fbsd-nat.c: ... this, adjust include.
	* ppcfbsd-tdep.c: Rename to ...
	* ppc-fbsd-tdep.c: ... this, adjust include.
	* ppcfbsd-tdep.h: Rename to ...
	* ppc-fbsd-tdep.h: ... this, adjust include barrier and comment.
	* ppcnbsd-nat.c: Rename to ...
	* ppc-nbsd-nat.c: ... this, adjust include.
	* ppcnbsd-tdep.c: Rename to ...
	* ppc-nbsd-tdep.c: ... this, adjust include.
	* ppcnbsd-tdep.h: Rename to ...
	* ppc-nbsd-tdep.h: ... this, adjust include barrier and comment.
	* ppcobsd-nat.c: Rename to ...
	* ppc-obsd-nat.c: ... this, adjust include.
	* ppcobsd-tdep.c: Rename to ...
	* ppc-obsd-tdep.c: ... this, adjust include.
	* ppcobsd-tdep.h: Rename to ...
	* ppc-obsd-tdep.h: ... this, adjust include barrier and comment.
	* shnbsd-nat.c: Rename to ...
	* sh-nbsd-nat.c: ... this.
	* shnbsd-tdep.c: Rename to ...
	* sh-nbsd-tdep.c: ... this.
	* sparcnbsd-nat.c: Rename to ...
	* sparc-nbsd-nat.c: ... this.
	* sparcnbsd-tdep.c: Rename to ...
	* sparc-nbsd-tdep.c: ... this.
	* sparcobsd-tdep.c: Rename to ...
	* sparc-obsd-tdep.c: ... this.
	* sparc64fbsd-nat.c: Rename to ...
	* sparc64-fbsd-nat.c: ... this.
	* sparc64fbsd-tdep.c: Rename to ...
	* sparc64-fbsd-tdep.c: ... this.
	* sparc64nbsd-nat.c: Rename to ...
	* sparc64-nbsd-nat.c: ... this.
	* sparc64nbsd-tdep.c: Rename to ...
	* sparc64-nbsd-tdep.c: ... this.
	* sparc64obsd-nat.c: Rename to ...
	* sparc64-obsd-nat.c: ... this.
	* sparc64obsd-tdep.c: Rename to ...
	* sparc64-obsd-tdep.c: ... this.
	* sparc64-tdep.h: Update comments.
	* vaxbsd-nat.c: Rename to ...
	* vax-bsd-nat.c: ... this.
	* vaxnbsd-tdep.c: Rename to ...
	* vax-nbsd-tdep.c: ... this.
	* vaxobsd-tdep.c: Rename to ...
	* vax-obsd-tdep.c: ... this.
	* x86bsd-nat.h: Rename to ...
	* x86-bsd-nat.h: ... this, adjust include barrier and comment.
	* x86bsd-nat.c: Rename to ...
	* x86-bsd-nat.c: ... this, adjust include.
	* configure.tgt: Update renamed files.
	* config/alpha/fbsd.mh: Update renamed files.
	* config/alpha/nbsd.mh: Update renamed files.
	* config/arm/nbsdelf.mh: Update renamed files.
	* config/djgpp/fnchange.lst: Update renamed files.
	* config/i386/fbsd.mh: Update renamed files.
	* config/i386/fbsd64.mh: Update renamed files.
	* config/i386/i386gnu.mh: Update renamed files.
	* config/i386/i386sol2.mh: Update renamed files.
	* config/i386/nbsd64.mh: Update renamed files.
	* config/i386/nbsdelf.mh: Update renamed files.
	* config/i386/obsd.mh: Update renamed files.
	* config/i386/obsd64.mh: Update renamed files.
	* config/i386/sol2-64.mh: Update renamed files.
	* config/m68k/linux.mh: Update renamed files.
	* config/m68k/nbsdelf.mh: Update renamed files.
	* config/m68k/obsd.mh: Update renamed files.
	* config/m88k/obsd.mh: Update renamed files.
	* config/mips/nbsd.mh: Update renamed files.
	* config/mips/obsd64.mh: Update renamed files.
	* config/pa/nbsd.mh: Update renamed files.
	* config/pa/obsd.mh: Update renamed files.
	* config/powerpc/fbsd.mh: Update renamed files.
	* config/powerpc/nbsd.mh: Update renamed files.
	* config/powerpc/obsd.mh: Update renamed files.
	* config/sh/nbsd.mh: Update renamed files.
	* config/sparc/fbsd.mh: Update renamed files.
	* config/sparc/nbsd64.mh: Update renamed files.
	* config/sparc/nbsdelf.mh: Update renamed files.
	* config/sparc/obsd64.mh: Update renamed files.
	* config/vax/nbsdelf.mh: Update renamed files.
	* config/vax/obsd.mh: Update renamed files.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Use C++11 std::chrono
@ 2016-11-23 17:24 sergiodj+buildbot
  2016-12-02 17:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-23 17:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dcb07cfa156a8e9f768c7f2b5d32f27b6dfe939f ***

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

gdb: Use C++11 std::chrono

This patch fixes a few problems with GDB's time handling.

#1 - It avoids problems with gnulib's C++ namespace support

On MinGW, the struct timeval that should be passed to gnulib's
gettimeofday replacement is incompatible with libiberty's
timeval_sub/timeval_add.  That's because gnulib also replaces "struct
timeval" with its own definition, while libiberty expects the
system's.

E.g., in code like this:

  gettimeofday (&prompt_ended, NULL);
  timeval_sub (&prompt_delta, &prompt_ended, &prompt_started);
  timeval_add (&prompt_for_continue_wait_time,
               &prompt_for_continue_wait_time, &prompt_delta);

That's currently handled in gdb by not using gnulib's gettimeofday at
all (see common/gdb_sys_time.h), but that #undef hack won't work with
if/when we enable gnulib's C++ namespace support, because that mode
adds compile time warnings for uses of ::gettimeofday, which are hard
errors with -Werror.

#2 - But there's an elephant in the room: gettimeofday is not monotonic...

We're using it to:

  a) check how long functions take, for performance analysis
  b) compute when in the future to fire events in the event-loop
  c) print debug timestamps

But that's exactly what gettimeofday is NOT meant for.  Straight from
the man page:

~~~
       The time returned by gettimeofday() is affected by
       discontinuous jumps in the system time (e.g., if the system
       administrator manually changes the system time).  If you need a
       monotonically increasing clock, see clock_gettime(2).
~~~

std::chrono (part of the C++11 standard library) has a monotonic clock
exactly for such purposes (std::chrono::steady_clock).  This commit
switches to use that instead of gettimeofday, fixing all the issues
mentioned above.

gdb/ChangeLog:
2016-11-23  Pedro Alves  <palves@redhat.com>

	* Makefile.in (SFILES): Add common/run-time-clock.c.
	(HFILES_NO_SRCDIR): Add common/run-time-clock.h.
	(COMMON_OBS): Add run-time-clock.o.
	* common/run-time-clock.c, common/run-time-clock.h: New files.
	* defs.h (struct timeval, print_transfer_performance): Delete
	declarations.
	* event-loop.c (struct gdb_timer) <when>: Now a
	std::chrono::steady_clock::time_point.
	(create_timer): use std::chrono::steady_clock instead of
	gettimeofday.  Use new instead of malloc.
	(delete_timer): Use delete instead of xfree.
	(duration_cast_timeval): New.
	(update_wait_timeout): Use std::chrono::steady_clock instead of
	gettimeofday.
	* maint.c: Include <chrono> instead of "gdb_sys_time.h", <time.h>
	and "timeval-utils.h".
	(scoped_command_stats::~scoped_command_stats)
	(scoped_command_stats::scoped_command_stats): Use
	std::chrono::steady_clock instead of gettimeofday.  Use
	user_cpu_time_clock instead of get_run_time.
	* maint.h: Include "run-time-clock.h" and <chrono>.
	(scoped_command_stats): <m_start_cpu_time>: Now a
	user_cpu_time_clock::time_point.
	<m_start_wall_time>: Now a std::chrono::steady_clock::time_point.
	* mi/mi-main.c: Include "run-time-clock.h" and <chrono> instead of
	"gdb_sys_time.h" and <sys/resource.h>.
	(rusage): Delete.
	(mi_execute_command): Use new instead of XNEW.
	(mi_load_progress): Use std::chrono::steady_clock instead of
	gettimeofday.
	(timestamp): Rewrite in terms of std::chrono::steady_clock,
	user_cpu_time_clock and system_cpu_time_clock.
	(timeval_diff): Delete.
	(print_diff): Adjust to use std::chrono::steady_clock,
	user_cpu_time_clock and system_cpu_time_clock.
	* mi/mi-parse.h: Include "run-time-clock.h" and <chrono> instead
	of "gdb_sys_time.h".
	(struct mi_timestamp): Change fields types to
	std::chrono::steady_clock::time_point, user_cpu_time_clock::time
	and system_cpu_time_clock::time_point, instead of struct timeval.
	* symfile.c: Include <chrono> instead of <time.h> and
	"gdb_sys_time.h".
	(struct time_range): New.
	(generic_load): Use std::chrono::steady_clock instead of
	gettimeofday.
	(print_transfer_performance): Replace timeval parameters with a
	std::chrono::steady_clock::duration parameter.  Adjust.
	* utils.c: Include <chrono> instead of "timeval-utils.h",
	"gdb_sys_time.h", and <time.h>.
	(prompt_for_continue_wait_time): Now a
	std::chrono::steady_clock::duration.
	(defaulted_query, prompt_for_continue): Use
	std::chrono::steady_clock instead of
	gettimeofday/timeval_sub/timeval_add.
	(reset_prompt_for_continue_wait_time): Use
	std::chrono::steady_clock::duration instead of struct timeval.
	(get_prompt_for_continue_wait_time): Return a
	std::chrono::steady_clock::duration instead of struct timeval.
	(vfprintf_unfiltered): Use std::chrono::steady_clock instead of
	gettimeofday.  Use std::string.  Use '.' instead of ':'.
	* utils.h: Include <chrono>.
	(get_prompt_for_continue_wait_time): Return a
	std::chrono::steady_clock::duration instead of struct timeval.

gdb/gdbserver/ChangeLog:
2016-11-23  Pedro Alves  <palves@redhat.com>

	* debug.c: Include <chrono> instead of "gdb_sys_time.h".
	(debug_vprintf): Use std::chrono::steady_clock instead of
	gettimeofday.  Use '.' instead of ':'.
	* tracepoint.c: Include <chrono> instead of "gdb_sys_time.h".
	(get_timestamp): Use std::chrono::steady_clock instead of
	gettimeofday.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] RISC-V/bfd: Fix bitsize of R_RISCV_ADD8.
@ 2016-11-24  3:59 sergiodj+buildbot
  2016-12-02 20:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-24  3:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0b14696aedc2b56291bc98d62fe232c8dceb1385 ***

Author: Kuan-Lin Chen <kuanlinchentw@gmail.com>
Branch: master
Commit: 0b14696aedc2b56291bc98d62fe232c8dceb1385

RISC-V/bfd: Fix bitsize of R_RISCV_ADD8.

bfd/ChangeLog:
	* bfd/elfxx-riscv.c (howto_table): Fix bitsize of R_RISCV_ADD8.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [ARM] Bind defined symbol locally in PIE
@ 2016-11-24 14:48 sergiodj+buildbot
  2016-12-02 23:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-24 14:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1dcb9720d62cd053a72c31881b7724ce9f74332c ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 1dcb9720d62cd053a72c31881b7724ce9f74332c

[ARM] Bind defined symbol locally in PIE

bfd/
	PR target/20737
	* elf32-arm.c (elf32_arm_final_link_relocate): Bind defined symbol
	locally in PIE.

ld/
	* testsuite/ld-arm/pie-bind-locally-a.s: New test source.
	* testsuite/ld-arm/pie-bind-locally-b.s: Likewise.
	* testsuite/ld-arm/pie-bind-locally.d: New testcase.
	* testsuite/ld-arm/arm-elf.exp: Run new testcase.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix PR12616 - gdb does not implement DW_AT_data_bit_offset
@ 2016-11-24 17:53 sergiodj+buildbot
  2016-12-03  2:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-24 17:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT da5b30da2d1167591aa8d71b543f97bfdc2ec2a2 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: da5b30da2d1167591aa8d71b543f97bfdc2ec2a2

Fix PR12616 - gdb does not implement DW_AT_data_bit_offset

The DW_AT_data_bit_offset attribute was introduced by DWARF V4 and
allows specifying the offset of a data member within its containing
entity.  But although the new attribute was intended to replace
DW_AT_bit_offset for this purpose, GDB ignores it, and thus GCC still
emits DW_AT_bit_offset instead.  See also
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71669.

This change fixes GDB's lack of support for DW_AT_data_bit_offset and
adds an appropriate test case.

gdb/ChangeLog:

	PR gdb/12616
	* dwarf2read.c (dwarf2_add_field): Handle the DWARF V4 attribute
	DW_AT_data_bit_offset.

gdb/testsuite/ChangeLog:

	PR gdb/12616
	* gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
	respects the DW_AT_data_bit_offset attribute.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix copy_bitwise()
@ 2016-11-24 18:47 sergiodj+buildbot
  2016-12-03  5:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-24 18:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 22347e554cd7ba2a0bf36dc81ebfcbe2e2fd74af ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 22347e554cd7ba2a0bf36dc81ebfcbe2e2fd74af

Fix copy_bitwise()

When the user writes or reads a variable whose location is described
with DWARF pieces (DW_OP_piece or DW_OP_bit_piece), GDB's helper
function copy_bitwise is invoked for each piece.  The implementation of
this function has a bug that may result in a corrupted copy, depending
on alignment and bit size.  (Full-byte copies are not affected.)

This rewrites copy_bitwise, replacing its algorithm by a fixed version,
and adding an appropriate test case.  Without the fix the new test case
fails, e.g.:

  print def_t
  $2 = {a = 0, b = 4177919}
  (gdb) FAIL: gdb.dwarf2/nonvar-access.exp: print def_t

Written in binary, the wrong result above looks like this:

  01111111011111111111111

Which means that two zero bits have sneaked into the copy of the
original all-one bit pattern.  The test uses this simple all-one value
in order to avoid another GDB bug that causes the DWARF piece of a
DW_OP_stack_value to be taken from the wrong end on big-endian
architectures.

gdb/ChangeLog:

	* dwarf2loc.c (extract_bits_primitive): Remove.
	(extract_bits): Remove.
	(copy_bitwise): Rewrite.  Fixes a possible corruption that may
	occur for non-byte-aligned copies.

gdb/testsuite/ChangeLog:

	* gdb.dwarf2/nonvar-access.exp: Add a test for accessing
	non-byte-aligned bit fields.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add unit test for copy_bitwise
@ 2016-11-24 19:13 sergiodj+buildbot
  2016-12-03  6:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-24 19:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad06383f106ccfa299a6c7ac9720178d2d3d583f ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: ad06383f106ccfa299a6c7ac9720178d2d3d583f

Add unit test for copy_bitwise

This adds a unit test for the copy_bitwise function in dwarf2loc.c.
With the old (broken) version of copy_bitwise this test would generate
the following failure message:

(gdb) maintenance selftest
Self test failed: copy_bitwise 11000000 != 10000000 (7+2 -> 0)

gdb/ChangeLog:
2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
	    Pedro Alves  <palves@redhat.com>

	* dwarf2loc.c (bits_to_str, check_copy_bitwise)
	(copy_bitwise_tests): New functions.
	(_initialize_dwarf2loc): Register the new function
	copy_bitwise_tests as a unit test.
	* selftest.c (run_self_tests): Improve the failure message's
	wording and formatting.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Optimize byte-aligned copies in copy_bitwise()
@ 2016-11-24 19:17 sergiodj+buildbot
  2016-12-03  8:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-24 19:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 793c128d03113816db85e8d1fa0bcd4982e246ee ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 793c128d03113816db85e8d1fa0bcd4982e246ee

Optimize byte-aligned copies in copy_bitwise()

The function copy_bitwise used for copying DWARF pieces can potentially
be invoked for large chunks of data.  For instance, consider a large
struct one of whose members is currently located in a register.  In this
case copy_bitwise would still copy the data bitwise in a loop, which is
much slower than necessary.

This change uses memcpy for the large part instead, if possible.

gdb/ChangeLog:

	* dwarf2loc.c (copy_bitwise): Use memcpy for the middle part, if
	it is byte-aligned.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add noexcept to custom non-throwing new operators.
@ 2016-11-24 21:00 sergiodj+buildbot
  2016-12-03 11:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-24 21:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bbe910e6e1140cb484a74911f3cea854cf9e7e2a ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: bbe910e6e1140cb484a74911f3cea854cf9e7e2a

Add noexcept to custom non-throwing new operators.

Both libc++ and libstdc++ declare non-throwing new operators as
noexcept and overloads must also be noexcept.  This fixes a
-Wmissing-exception-spec warning with clang.

gdb/ChangeLog:

	* common/new-op.c (operator new): Mark 'noexcept'.
	(operator new[]): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Prevent problems with section alignment by not shrinking the .rsrc section.
@ 2016-11-25 10:36 sergiodj+buildbot
  2016-12-03 15:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-25 10:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ec8f76882145c71bef81a9cadf0bf51ff9fa5b35 ***

Author: Jon Turney <jon.turney@dronecode.org.uk>
Branch: master
Commit: ec8f76882145c71bef81a9cadf0bf51ff9fa5b35

Prevent problems with section alignment by not shrinking the .rsrc section.

	PR ld/20193
	* peXXigen.c (rsrc_process_section): Do not shrink the merged
	.rsrc section.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix typos in comment
@ 2016-11-25 15:36 sergiodj+buildbot
  2016-12-03 21:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-25 15:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8ce9efb079b6e7b3ab2e795db9477656375d7204 ***

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

Fix typos in comment

gdb/ChangeLog:

	* record-full.c (record_full_resume): Fix typos in comment.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix typo in comment
@ 2016-11-25 16:29 sergiodj+buildbot
  2016-12-03 17:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-25 16:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 17e5269b995b0560dc74af78ba134cf1fcd9d56a ***

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

Fix typo in comment

gdb/ChangeLog:

	* infcmd.c (interrupt_command): Fix typo in comment.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix typo in Makefile
@ 2016-11-25 17:47 sergiodj+buildbot
  2016-12-03 22:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-25 17:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 50cc587fe49621a87283f06655fe922d45095076 ***

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

Fix typo in Makefile

Fix a typo I made in my previous Makefile cleanup series.

Thanks to Patrick Monnerat for reporting.

gdb/ChangeLog:

	* Makefile.in: Fix typo.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove check requiring void argument to functions with no parameters.
@ 2016-11-25 21:27 sergiodj+buildbot
  2016-12-04  1:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-25 21:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8227ffad95fcd835dd5fcb3e4915159e4552b397 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 8227ffad95fcd835dd5fcb3e4915159e4552b397

Remove check requiring void argument to functions with no parameters.

C++ treats an empty parameter list as no parameters unlike C.

gdb/ChangeLog:

	* contrib/ari/gdb_ari.sh (no parameter function): Remove check.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove stale comments
@ 2016-11-26 15:59 sergiodj+buildbot
  2016-12-04  4:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-26 15:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 59b21252a88aa6ba488cfb19686d9cbad2577e76 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 59b21252a88aa6ba488cfb19686d9cbad2577e76

Remove stale comments

The default ui_out is gone since commit
23ff98d2fed4a1eaeb815e18cd4169e5aa7aaa60.

gdb/ChangeLog:

	* ui-out.h (struct ui_out_impl): Remove comment.
	* ui-out.c (struct ui_out): Remove comment.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove unused functions and declarations
@ 2016-11-27  4:20 sergiodj+buildbot
  2016-12-04  6:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-27  4:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7f904c28f5cd2dc91a118ae6169d6993aaf71f63 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 7f904c28f5cd2dc91a118ae6169d6993aaf71f63

Remove unused functions and declarations

gdb/ChangeLog:

	* ui-out.c (_initialize_ui_out): Remove.
	(ui_out_set_flags): Remove.
	(ui_out_clear_flags): Remove.
	* ui-out.h (ui_out_begin_cleanup_end): Remove.
	(ui_out_begin_cleanup_end): Remove.
	(ui_out_set_flags): Remove.
	(ui_out_clear_flags): Remove.
	* mi/mi-out.c (_initialize_mi_out): Remove.
	(mi_out_buffered): Remove.
	* mi/mi-out.h (mi_out_buffered): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Rename ui_out_data to mi_ui_out_data
@ 2016-11-27  4:37 sergiodj+buildbot
  2016-12-04  9:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-27  4:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0abe66b59fda0689c32fe9d96b3690b4d49a3027 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 0abe66b59fda0689c32fe9d96b3690b4d49a3027

Rename ui_out_data to mi_ui_out_data

Just a little cleanup, so the name is more consistent with the naming of
the equivalent structures of cli and tui.  It goes away in subsequent
patches anyway, but it might help follow the changes in those patches...

gdb/ChangeLog:

	* mi/mi-out.c (ui_out_data): Rename to ...
	(mi_ui_out_data): ... this.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove ui_out_destroy
@ 2016-11-27  5:37 sergiodj+buildbot
  2016-12-04 11:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-27  5:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e4975d6a9cd8aaf3fb14135b36850964def131d7 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: e4975d6a9cd8aaf3fb14135b36850964def131d7

Remove ui_out_destroy

It's not actually used, and removing it simplifies the upcoming patches
a bit.  After the whole series, destroying an ui_out object will be
simply "delete uiout", which will call the default destructor.

gdb/ChangeLog:

	* ui-out.c (ui_out_destroy, uo_data_destroy): Remove.
	* ui-out.h (ui_out_destroy): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix return value of uo_redirect
@ 2016-11-27  5:56 sergiodj+buildbot
  2016-12-04 14:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-27  5:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 82bbe65a43015a753bec8c64869679a699331a5b ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 82bbe65a43015a753bec8c64869679a699331a5b

Fix return value of uo_redirect

The wrapper uo_redirect seems like it should return the return value
from of implementation function, since callers rely on it, but it
doesn't.

gdb/ChangeLog:

	* ui-out.c (uo_redirect): Return the return value from the
	implementation function.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Constify wrap_here/wrap_hint code path
@ 2016-11-27  8:16 sergiodj+buildbot
  2016-12-04 16:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-27  8:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d2c0eef48a1bb331ca08f8f26ff82c5d4086ba0c ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: d2c0eef48a1bb331ca08f8f26ff82c5d4086ba0c

Constify wrap_here/wrap_hint code path

Constify the data path between ui_out_wrap_hint and the wrap_indent
global, because we can.  It's clearer that the argument passed to
wrap_hint is not intended to be modified by the ui_out implementation.

gdb/ChangeLog:

	* mi/mi-out.c (mi_wrap_hint): Constify argument.
	* cli-out.c (cli_wrap_hint): Likewise.
	* ui-out.c (ui_out_wrap_hint, uo_wrap_hint): Likewise.
	* ui-out.h (ui_out_wrap_hint, wrap_hint_ftype): Likewise.
	* utils.c (wrap_here): Likewise.
	(wrap_indent): Constify.
	* utils.h (wrap_here): Constify argument.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove verbosity from ui_out_message and friends
@ 2016-11-27  8:30 sergiodj+buildbot
  2016-12-04 18:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-27  8:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7fb048a2ee38bbc85ba0e96e2932cb0cb1f7381e ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 7fb048a2ee38bbc85ba0e96e2932cb0cb1f7381e

Remove verbosity from ui_out_message and friends

That concept is never actually used, so it's just a burden.  Removing it
facilitates the refactoring in upcoming patches.

gdb/ChangeLog:

	* mi/mi-out.c (mi_message): Remove verbosity argument.
	* ada-tasks.c (print_ada_task_info, info_task, task_command):
	Update call.
	* auto-load.c (auto_load_info_scripts): Likewise.
	* breakpoint.c (breakpoint_1, watchpoints_info, tracepoints_info):
	Likewise.
	* cli-out.c (cli_message): Remove verbosity argument.
	* inferior.c (print_inferior): Update call.
	* linux-thread-db.c (info_auto_load_libthread_db): Likewise.
	* probe.c (info_probes_for_ops): Likewise.
	* skip.c (skip_info): Likewise.
	* solib.c (info_sharedlibrary_command): Likewise.
	* symfile.c (load_progress): Likewise.
	* thread.c (print_thread_info_1): Likewise.
	* ui-out.c (uo_message, ui_out_message): Remove verbosity argument.
	(ui_out_get_verblvl): Remove.
	* ui-out.h (ui_out_message): Remove verbosity argument.
	(ui_out_get_verblvl): Remove.
	(message_ftype): Remove verbosity argument.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Properly hide hidden versioned symbol in executable
@ 2016-11-28 16:35 sergiodj+buildbot
  2016-12-05  5:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-28 16:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4deb8f714d555a2f530e37c3e7af32bc42fdda58 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 4deb8f714d555a2f530e37c3e7af32bc42fdda58

Properly hide hidden versioned symbol in executable

A hidden versioned symbol in executable should be forced local if it is
locally defined, not referenced by shared library and not exported.  We
must do it before _bfd_elf_link_renumber_dynsyms.

bfd/

	* elflink.c (_bfd_elf_fix_symbol_flags): Hide hidden versioned
	symbol in executable.
	(elf_link_output_extsym): Don't change bind from global to
	local when linking executable.

ld/

	* testsuite/ld-elf/indirect.exp: Add a test for PR 18720.
	* testsuite/ld-elf/pr18720.rd: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Move computed value's frame id to piece_closure
@ 2016-11-28 17:50 sergiodj+buildbot
  2016-12-05  9:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-28 17:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ee40d8d45213caf0cfb63e603f0fd5a58532e751 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: ee40d8d45213caf0cfb63e603f0fd5a58532e751

Move computed value's frame id to piece_closure

Nowadays, we set computed value's frame id, which is a misuse to me.
The computed value itself doesn't care about frame id, but function
value_computed_funcs (val)->read (or read_pieced_value) cares about
which frame the register is relative to, so 'struct piece_closure' is
a better place to fit frame id.

This patch adds a frame id in 'struct piece_closure', and use it
instead of using computed value's frame id.

gdb:

2016-11-28  Yao Qi  <yao.qi@linaro.org>

	* dwarf2loc.c (struct piece_closure) <frame_id>: New field.
	(allocate_piece_closure): Add new parameter 'frame' and set
	closure's frame_id field accordingly.
	(read_pieced_value): Get frame from closure instead of value.
	(dwarf2_evaluate_loc_desc_full): Remove code getting frame id.
	Don't set value's frame id.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Adjust Value.location for lval_register
@ 2016-11-28 19:26 sergiodj+buildbot
  2016-12-05 11:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-28 19:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7dc54575d91a2b41f6c3e838eec44a7017a24436 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 7dc54575d91a2b41f6c3e838eec44a7017a24436

Adjust Value.location for lval_register

value.regnum and value.next_frame_id are only used for lval_register,
so this patch moves them to union value.location.  As a result, when
we copy value, only copy location, don't need to copy regnum and
next_frame_id.

This patch also changes regnum's type to int as there is no space
constraint, so update deprecated_value_regnum_hack return type too.

gdb:

2016-11-28  Yao Qi  <yao.qi@linaro.org>

	* valops.c (value_slice): Don't set frame id of slice.
	* value.c (struct value) <regnum, next_frame_id>: Move them to...
	(struct value) <location>: ... here.  Update comments.
	(allocate_value_lazy): Don't set frame id and regnum.
	(deprecated_value_next_frame_id_hack): Adjust.
	(deprecated_value_regnum_hack): Adjust.
	(value_copy): Don't copy frame id and regnu.
	(value_primitive_field): Likewise.
	(value_from_component): Likewise.
	(deprecated_value_regnum_hack): Return int *.
	* value.h (deprecated_value_regnum_hack): Update declaration.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Restrict checking value.lval on using address
@ 2016-11-28 19:38 sergiodj+buildbot
  2016-12-05 12:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-28 19:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a0884415891b197972f8acf59131c3c9376807f ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 1a0884415891b197972f8acf59131c3c9376807f

Restrict checking value.lval on using address

With the previous change, value.location.address is only valid for
lval_memory.  This patch restrict some checking on value.lval on
using address.  Since we have a check on VALUE_VAL in
set_value_address, we need to set VALUE_VAL properly before
set_value_address too.

gdb:

2016-11-25  Yao Qi  <yao.qi@linaro.org>

	* ada-lang.c (ensure_lval): Call set_value_address after setting
	VALUE_LVAL.
	* elfread.c (elf_gnu_ifunc_resolve_addr): Set VALUE_LVAL to
	lval_memory.
	(elf_gnu_ifunc_resolver_return_stop): Likewise.
	* value.c (value_fn_field): Likewise.
	(value_from_contents_and_address_unresolved): Likewise.
	(value_from_contents_and_address): Likewise.
	(value_address): Check value->lval isn't
	lval_memory.
	(value_raw_address): Likewise.
	(set_value_address): Assert value->lval is lval_memory.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Partially revert patch for PR 20815 - do not sort the PT_LOAD segments. Non-ordered segments are needed by the Linux kernel.
@ 2016-11-28 20:51 sergiodj+buildbot
  2016-12-05 17:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-28 20:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd58485720b47d80fed0b281d15a9198f43eaf0c ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: cd58485720b47d80fed0b281d15a9198f43eaf0c

Partially revert patch for PR 20815 - do not sort the PT_LOAD segments.  Non-ordered segments are needed by the Linux kernel.

	PR ld/20815
	* elf.c (phdr_sorter): Delete.
	(assign_file_positions_except_relocs): Do not sort program
	headers.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] X86: Ignore REX_B bit for 32-bit XOP instructions
@ 2016-11-28 21:09 sergiodj+buildbot
  2016-12-05 14:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-28 21:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT abfcb414b9900ef996b1665323a950610dbdca43 ***

Author: Amit Pawar <Amit.Pawar@amd.com>
Branch: master
Commit: abfcb414b9900ef996b1665323a950610dbdca43

X86: Ignore REX_B bit for 32-bit XOP instructions

While decoding 32-bit XOP instructions, 64 bit registers names are printed.
This patch fixes this by ignoring REX_B bit in 32-bit mode.

opcodes/

	PR binutils/20637
	* i386-dis.c (get_valid_dis386): Ignore REX_B for 32-bit XOP
	instructions.

gas/

	PR binutils/20637
	* testsuite/gas/i386/xop32reg.d: New file.
	* testsuite/gas/i386/xop32reg.s: New file.
	* testsuite/gas/i386/i386.exp: Run new test.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix debug output in record_full_open_1
@ 2016-11-29  3:18 sergiodj+buildbot
  2016-12-05 20:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-29  3:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a0640e3ba9a668c4c317520c48246e1cc8d75ca ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 0a0640e3ba9a668c4c317520c48246e1cc8d75ca

Fix debug output in record_full_open_1

The printed function name should be record_full_open_1, not
record_full_open.

gdb/ChangeLog:

	* record-full.c (record_full_open_1): Fix debug output.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [ARC] Fix disassembler option.
@ 2016-11-29 11:20 sergiodj+buildbot
  2016-12-06  0:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-29 11:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ee881e5d3312ea5396bddc37e8673b77bf549b4b ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: ee881e5d3312ea5396bddc37e8673b77bf549b4b

[ARC] Fix disassembler option.

This patch fixes:
- fpus and fpud are swaped.
- quarkse_em doesn't include FPX extensions.
- auto guessed opcode mechanism may ignore the option passed via -M<feature> option.

opcodes/
2016-11-29  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-dis.c (is_compatible_p): Remove function.
	(skip_this_opcode): Don't add any decoding class to decode list.
	Remove warning.
	(find_format_from_table): Go through all opcodes, and warn if we
	use a guessed mnemonic.

binutils/
2016-11-29  Claudiu Zissulescu  <claziss@synopsys.com>

	* testsuite/binutils-all/arc/objdump.exp (Warning test): Update
	test.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [ARC] Add checking for LP_COUNT reg usage, improve error reporting.
@ 2016-11-29 12:01 sergiodj+buildbot
  2016-12-06  2:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-29 12:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT abe7c33b45288b407e6d001aad713183d4bab5c6 ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: abe7c33b45288b407e6d001aad713183d4bab5c6

[ARC] Add checking for LP_COUNT reg usage, improve error reporting.

gas/
2016-11-29  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/tc-arc.c (find_opcode_match): New function argument
	errmsg.
	(assemble_tokens): Collect and report the eventual error message
	found during opcode matching process.
	* testsuite/gas/arc/lpcount-err.s: New file.
	* testsuite/gas/arc/add_s-err.s: Update error message.

opcode/
2016-11-29  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-opc.c (insert_ra_chk): New function.
	(insert_rb_chk): Likewise.
	(insert_rad): Update text error message.
	(insert_rcd): Likewise.
	(insert_rhv2): Likewise.
	(insert_r0): Likewise.
	(insert_r1): Likewise.
	(insert_r2): Likewise.
	(insert_r3): Likewise.
	(insert_sp): Likewise.
	(insert_gp): Likewise.
	(insert_pcl): Likewise.
	(insert_blink): Likewise.
	(insert_ilink1): Likewise.
	(insert_ilink2): Likewise.
	(insert_ras): Likewise.
	(insert_rbs): Likewise.
	(insert_rcs): Likewise.
	(insert_simm3s): Likewise.
	(insert_rrange): Likewise.
	(insert_fpel): Likewise.
	(insert_blinkel): Likewise.
	(insert_pcel): Likewise.
	(insert_nps_3bit_dst): Likewise.
	(insert_nps_3bit_dst_short): Likewise.
	(insert_nps_3bit_src2_short): Likewise.
	(insert_nps_bitop_size_2b): Likewise.
	(MAKE_SRC_POS_INSERT_EXTRACT_FUNCS): Likewise.
	(RA_CHK): Define.
	(RB): Adjust.
	(RB_CHK): Define.
	(RC): Adjust.
	* arc-dis.c (print_insn_arc): Add LOAD and STORE class.
	* arc-tbl.h (div, divu): All instructions are DIVREM class.
	Change first insn argument to check for LP_COUNT usage.
	(rem): Likewise.
	(ld, ldd): All instructions are LOAD class.  Change first insn
	argument to check for LP_COUNT usage.
	(st, std): All instructions are STORE class.
	(mac, mpy, dmac, mul, dmpy): All instructions are MPY class.
	Change first insn argument to check for LP_COUNT usage.
	(mov): All instructions are MOVE class.  Change first insn
	argument to check for LP_COUNT usage.

include/
2016-11-29  Claudiu Zissulescu  <claziss@synopsys.com>

	* opcode/arc.h (insn_class_t): Add DIVREM, LOAD, MOVE, MPY, STORE
	instruction classes.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR20886, looping in ppc64_elf_size_stubs
@ 2016-11-30  7:01 sergiodj+buildbot
  2016-12-06  3:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-30  7:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ea3d7d1cab4221ab729327bb4d957352c79d05f0 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: ea3d7d1cab4221ab729327bb4d957352c79d05f0

PR20886, looping in ppc64_elf_size_stubs

The PR20886 binary is large enough that there are two stub sections
servicing .text (which is 88M).  It so happens that between one
iteration of sizing and the next that one stub section grows while
the other shrinks.  Since one section is always growing, the loop
never terminates.

This patch changes the algorithm to not update previous size on
shrinking, once we go past a certain number of iterations.

	PR ld/20886
	* elf64-ppc.c (ppc64_elf_size_stubs): Make rawsize max size seen
	on any pass past STUB_SHRINK_ITER.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Revert accidental elf.c change
@ 2016-11-30 12:13 sergiodj+buildbot
  2016-12-06  6:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-30 12:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e9a38e0f5287ce7b4629f5f923191e38dd7355c0 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: e9a38e0f5287ce7b4629f5f923191e38dd7355c0

Revert accidental elf.c change

	* elf.c (get_program_header_size): Revert accidental change.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [ARM] Read memory as unsigned integer
@ 2016-11-30 12:39 sergiodj+buildbot
  2016-12-06  8:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-30 12:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7913a64cab3930fe524f0e38f85cfca11bd52dcb ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 7913a64cab3930fe524f0e38f85cfca11bd52dcb

[ARM] Read memory as unsigned integer

When GDB read inferior memory as an address or an instruction,
it should be unsigned.

gdb:

2016-11-30  Yao Qi  <yao.qi@linaro.org>

	* arm-tdep.c (arm_scan_prologue): Read memory as unsigned integer.
	(arm_exidx_unwind_sniffer): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Makefiles: Disable suffix rules and implicit rules
@ 2016-11-30 21:56 sergiodj+buildbot
  2016-12-06 12:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-11-30 21:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad02e4fe877f3a874145dd045626501245e65624 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: ad02e4fe877f3a874145dd045626501245e65624

Makefiles: Disable suffix rules and implicit rules

Since we don't use suffix rules nor implicit rules in gdb, we can
disable them.  The advantage is a slightly faster make [1].

Here are some numbers about the speedup.  I ran this on my trusty old
Intel Q6600, so the time numbers are probably higher than what you'd get
on any recent hardware.  I ran "make" in the gdb/ directory of an
already built repository (configured with --enable-targets=all).  I
recorded the time of execution (average of 5).  I then ran "make -d" and
recorded the number of printed lines, which gives a rough idea of the
number of operations done.

I compared the following configurations, to see the impact of both the
empty .SUFFIXES target and the empty pattern rules, as well as running
"make -r", which can be considered the "ideal" case.

 A - baseline
 B - baseline + .SUFFIXES
 C - baseline + pattern rules
 D - baseline + .SUFFIXES + pattern rules
 E - baseline + make -r

 config | time (s) | "make -d"
 -----------------------------
    A   |   5.74   |  2396643
    B   |   1.19   |   298469
    C   |   2.81   |  1266573
    D   |   1.13   |   245489
    E   |   1.01   |   163914

We can see that the empty .SUFFIXES target has a bigger impact than the
empty pattern rules, but still it doesn't hurt to disable the implicit
pattern rules as well.

There are still some mentions of implicit rules I can't get rid of in
the "make -d" output.  For example, it's trying to build .c files from
.w files:

  Looking for an implicit rule for '/home/simark/src/binutils-gdb/gdb/infrun.c'.
  Trying pattern rule with stem 'infrun'.
  Trying implicit prerequisite '/home/simark/src/binutils-gdb/gdb/infrun.w'.

and trying to build Makefile.in from a bunch of extensions:

  Looking for an implicit rule for 'Makefile.in'.
  Trying pattern rule with stem 'Makefile.in'.
  Trying implicit prerequisite 'Makefile.in.o'.
  Trying pattern rule with stem 'Makefile.in'.
  Trying implicit prerequisite 'Makefile.in.c'.
  Trying pattern rule with stem 'Makefile.in'.
  Trying implicit prerequisite 'Makefile.in.cc'.
  ... many more ...

If somebody knows how to disable them, we can do it, but at this point
the returns are minimal, so it is not that important.

I verified that both in-tree and out-of-tree builds work.

[1] Switching from explicit rules to pattern rules for files in
    subdirectories actually made it slower, so this is kind of a way to
    redeem myself.  But it the end it's faster than it was previously,
    so it was all worth it. :)

gdb/ChangeLog:

	* disable-implicit-rules.mk: New file.
	* Makefile.in: Include disable-implicit-rules.mk.
	* data-directory/Makefile.in: Likewise.
	* gnulib/Makefile.in: Likewise.

gdb/doc/ChangeLog:

	* Makefile.in: Likewise.

gdb/gdbserver/ChangeLog:

	* Makefile.in: Include disable-implicit-rules.mk.

gdb/testsuite/ChangeLog:

	* Makefile.in: Include disable-implicit-rules.mk.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use new/delete instead of malloc/free-based functions
@ 2016-12-01  3:08 sergiodj+buildbot
  2016-12-06 14:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-01  3:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5486f16481dffa1c1a0d1fd9e38b97e3678078ed ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 5486f16481dffa1c1a0d1fd9e38b97e3678078ed

Use new/delete instead of malloc/free-based functions

The following patches introduce C++ vectors and strings as fields of the
various ui_out structures.  We therefore need to use new/delete so that
their contructor/destructor is called.  I find it simpler to change all
the allocations in a separate preliminary patch, rather than in each
individual patch.

gdb/ChangeLog:

	* cli-out.c (cli_uiout_dtor): Use delete instead of xfree.
	(cli_out_new): Use new instead of XNEW.
	* mi/mi-out.c (mi_out_data_dtor): Use delete instead of xfree.
	(mi_out_new): Use new instead of XNEW.
	* tui/tui-out.c (tui_out_new): Likewise.
	* ui-out.c (push_level): Likewise.
	(pop_level): Use delete instead of xfree.
	(clear_header_list): Use delete instead of xfree.
	(append_header_to_list): Use new instead of XNEW.
	(ui_out_new): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use std::vector for ui_out::levels
@ 2016-12-01  3:47 sergiodj+buildbot
  2016-12-06 16:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-01  3:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 56df3084847984aeddd8c24ca997242ec8c5a369 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 56df3084847984aeddd8c24ca997242ec8c5a369

Use std::vector for ui_out::levels

Convert the levels field of struct ui_out to be a vector of unique_ptr
to ui_out_level.  This way, the ownership of the ui_out_level objects by
the ui_out instance is clear.

gdb/ChangeLog:

	* ui-out.c (ui_out_level_p): Remove typedef.
	(DEF_VEC_P (ui_out_level_p)): Remove definition.
	(struct ui_out) <levels>: Change type to vector of unique_ptr of
	ui_out_level.
	(current_level): Update.
	(push_level): Update.
	(pop_level): Update, don't manually delete the ui_out_level
	instance.
	(ui_out_new): Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use std::vector for mi_ui_out_data::streams
@ 2016-12-01  4:21 sergiodj+buildbot
  2016-12-06 18:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-01  4:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4a9d4ea535a6c9b8c2e7cdf91377abe284d0b277 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 4a9d4ea535a6c9b8c2e7cdf91377abe284d0b277

Use std::vector for mi_ui_out_data::streams

Use a standard vector instead of the home-made version.  I used a vector
of plain pointers, because the mi_ui_out_data object doesn't own the
streams objects (i.e. they shouldn't be deleted when the vector is
deleted).

gdb/ChangeLog:

	* mi/mi-out.c: Remove vec.h include.
	(mi_ui_out_data) <streams>: Change type to std::vector.
	(mi_field_string): Update.
	(mi_field_fmt): Update.
	(mi_flush): Update.
	(mi_redirect): Update.
	(field_separator): Update.
	(mi_open): Update.
	(mi_close): Update.
	(mi_out_buffered): Update.
	(mi_out_rewind): Update.
	(mi_out_put): Update.
	(mi_out_data_ctor): Update.
	(mi_out_data_dtor): Don't free streams.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use std::vector for cli_ui_out_data::streams
@ 2016-12-01  5:08 sergiodj+buildbot
  2016-12-06 21:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-01  5:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b9b118c3bb29052ee76c6bf32b99962cda5113ba ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: b9b118c3bb29052ee76c6bf32b99962cda5113ba

Use std::vector for cli_ui_out_data::streams

Use a standard vector instead of the home-made version.  I used a vector
of plain pointers, because the cli_ui_out_data object doesn't own the
streams objects (i.e. they shouldn't be deleted when the vector is
deleted).

gdb/ChangeLog:

	* cli-out.h (cli_ui_out_data) <streams>: Change type to
	std::vector.
	* cli-out.c: Remove vec.h include.
	(cli_uiout_dtor): Update.
	(cli_field_fmt): Update.
	(cli_spaces): Update.
	(cli_text): Update.
	(cli_message): Update.
	(cli_flush): Update.
	(cli_redirect): Update.
	(out_field_fmt): Update.
	(field_separator): Update.
	(cli_out_data_ctor): Update.
	(cli_out_new): Update.
	(cli_out_set_stream): Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use std::string in ui_out_table
@ 2016-12-01  5:58 sergiodj+buildbot
  2016-12-07  0:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-01  5:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 95a23284a3db0ec85bb0b11c70e6b5acf00563f6 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 95a23284a3db0ec85bb0b11c70e6b5acf00563f6

Use std::string in ui_out_table

Use std::string for the id field of the ui_out_table object.

I found that all users of ui_out_table_begin passed a non-NULL value to
the tblid parameter, so we don't have to worry about the NULL case.  I
changed the tblid parameter to be a std::string while at it.

gdb/ChangeLog:

	* ui-out.c (struct ui_out_table) <id>: Change type to
	std::string.
	(ui_out_table_begin): Change tblid parameter type to
	std::string, adapt code.
	update following type change.
	(clear_table): Update.
	(ui_out_new): Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix abort in x86 disassembler.
@ 2016-12-01 12:11 sergiodj+buildbot
  2016-12-07  4:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 12:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a37a2806e3289294ed214aed3c8a45db46026b39 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: a37a2806e3289294ed214aed3c8a45db46026b39

Fix abort in x86 disassembler.

	PR binutils/20893
	* i386-dis.c (OP_VEX): Replace call to abort with a append of bad
	opcode designator.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix a seg-fault disassembling a corrupt binary.
@ 2016-12-01 12:29 sergiodj+buildbot
  2016-12-07  7:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 12:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e82ab856bb4689330c29fb9f1c57a8555b26380e ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: e82ab856bb4689330c29fb9f1c57a8555b26380e

Fix a seg-fault disassembling a corrupt binary.

	PR binutils/20892
	* aoutx.h (find_nearest_line): Handle the case where the function
	name is empty.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix handling of MIPS16 HI16 relocs.
@ 2016-12-01 13:18 sergiodj+buildbot
  2016-12-07  9:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 13:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 40a0bfddf07620f5321927b3231502debb3b73bc ***

Author: Ma Jiang <ma.jiang@zte.com.cn>
Branch: master
Commit: 40a0bfddf07620f5321927b3231502debb3b73bc

Fix handling of MIPS16 HI16 relocs.

	PR ld/16720
	* elfxx-mips.c (mips_elf_calculate_relocation): Remove overflow
	test for HI16 relocs.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix accesses to the GOT for AARCH64 operating in 32-bit mode.
@ 2016-12-01 14:12 sergiodj+buildbot
  2016-12-07 12:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 14:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5cd1d8bcc24e948e86a636161e6d72f6316545a7 ***

Author: Yury Norov <ynorov@caviumnetworks.com>
Branch: master
Commit: 5cd1d8bcc24e948e86a636161e6d72f6316545a7

Fix accesses to the GOT for AARCH64 operating in 32-bit mode.

	PR ld/20868
bfd	* elfnn-aarch64.c (elfNN_aarch64_tls_relax): Use 32-bit accesses
	to the GOT when operating in 32-bit mode.

ld	* testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d: New test.
	* testsuite/ld-aarch64/relocs-ilp32.ld: Linker script for the new
	test.
	* testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix bug with FP stur instructions.
@ 2016-12-01 17:48 sergiodj+buildbot
  2016-12-07 13:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 17:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 88ddd4a1ef8818984f87f574b424ccdc7db19660 ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 88ddd4a1ef8818984f87f574b424ccdc7db19660

Fix bug with FP stur instructions.

sim/aarch64
	* simulator.c (fsturs): Switch use of rn and st variables.
	(fsturd, fsturq): Likewise


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase output by basic functions
@ 2016-12-01 21:12 sergiodj+buildbot
  2016-12-07 16:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 21:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bc6c7af4a2f23c48a38139fc7e0ed2ac7b12bb69 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: bc6c7af4a2f23c48a38139fc7e0ed2ac7b12bb69

Fix test names starting with uppercase output by basic functions

The following patch is based on the previous patch i sent and handles cases of
test names that start with an uppercase letter. Test names should start with
lowercase unless it starts with the name of a technology, architecture, ISA
etc.

This first patch addresses cases of test names output explicitly via xfail,
kfail, kpass, fail, pass, unsupported, untested and also names set with the
pattern "set test" and "set testname".

gdb/testsuite/ChangeLog:
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names starting with uppercase throughout all the files below.

	* gdb.ada/array_return.exp
	* gdb.ada/catch_ex.exp
	* gdb.ada/info_exc.exp
	* gdb.ada/mi_catch_ex.exp
	* gdb.ada/mi_dyn_arr.exp
	* gdb.ada/mi_ex_cond.exp
	* gdb.ada/mi_exc_info.exp
	* gdb.ada/mi_interface.exp
	* gdb.ada/mi_task_arg.exp
	* gdb.ada/mi_task_info.exp
	* gdb.ada/mi_var_array.exp
	* gdb.arch/alpha-step.exp
	* gdb.arch/amd64-disp-step.exp
	* gdb.arch/arm-disp-step.exp
	* gdb.arch/disp-step-insn-reloc.exp
	* gdb.arch/e500-prologue.exp
	* gdb.arch/ftrace-insn-reloc.exp
	* gdb.arch/gdb1558.exp
	* gdb.arch/i386-bp_permanent.exp
	* gdb.arch/i386-disp-step.exp
	* gdb.arch/i386-float.exp
	* gdb.arch/i386-gnu-cfi.exp
	* gdb.arch/ia64-breakpoint-shadow.exp
	* gdb.arch/mips16-thunks.exp
	* gdb.arch/pa-nullify.exp
	* gdb.arch/powerpc-aix-prologue.exp
	* gdb.arch/powerpc-power.exp
	* gdb.arch/ppc-dfp.exp
	* gdb.arch/s390-tdbregs.exp
	* gdb.arch/spu-info.exp
	* gdb.arch/spu-ls.exp
	* gdb.arch/thumb-bx-pc.exp
	* gdb.base/advance.exp
	* gdb.base/annota-input-while-running.exp
	* gdb.base/arrayidx.exp
	* gdb.base/asmlabel.exp
	* gdb.base/async.exp
	* gdb.base/attach-wait-input.exp
	* gdb.base/auto-connect-native-target.exp
	* gdb.base/batch-preserve-term-settings.exp
	* gdb.base/bfp-test.exp
	* gdb.base/bigcore.exp
	* gdb.base/bp-permanent.exp
	* gdb.base/break-always.exp
	* gdb.base/break-fun-addr.exp
	* gdb.base/break-idempotent.exp
	* gdb.base/break-main-file-remove-fail.exp
	* gdb.base/break-probes.exp
	* gdb.base/break-unload-file.exp
	* gdb.base/break.exp
	* gdb.base/call-ar-st.exp
	* gdb.base/call-rt-st.exp
	* gdb.base/call-sc.exp
	* gdb.base/call-signal-resume.exp
	* gdb.base/call-strs.exp
	* gdb.base/callexit.exp
	* gdb.base/callfuncs.exp
	* gdb.base/catch-gdb-caused-signals.exp
	* gdb.base/catch-signal-siginfo-cond.exp
	* gdb.base/catch-syscall.exp
	* gdb.base/compare-sections.exp
	* gdb.base/cond-eval-mode.exp
	* gdb.base/condbreak-call-false.exp
	* gdb.base/consecutive-step-over.exp
	* gdb.base/cursal.exp
	* gdb.base/disabled-location.exp
	* gdb.base/disasm-end-cu.exp
	* gdb.base/display.exp
	* gdb.base/double-prompt-target-event-error.exp
	* gdb.base/dprintf-bp-same-addr.exp
	* gdb.base/dprintf-detach.exp
	* gdb.base/dprintf-next.exp
	* gdb.base/dprintf-non-stop.exp
	* gdb.base/dprintf-pending.exp
	* gdb.base/dso2dso.exp
	* gdb.base/ending-run.exp
	* gdb.base/enum_cond.exp
	* gdb.base/examine-backward.exp
	* gdb.base/exe-lock.exp
	* gdb.base/exec-invalid-sysroot.exp
	* gdb.base/execl-update-breakpoints.exp
	* gdb.base/execution-termios.exp
	* gdb.base/fileio.exp
	* gdb.base/fixsection.exp
	* gdb.base/foll-exec-mode.exp
	* gdb.base/foll-exec.exp
	* gdb.base/fork-running-state.exp
	* gdb.base/frame-args.exp
	* gdb.base/fullpath-expand.exp
	* gdb.base/func-ptr.exp
	* gdb.base/gcore-relro-pie.exp
	* gdb.base/gdb1090.exp
	* gdb.base/gdb1555.exp
	* gdb.base/global-var-nested-by-dso.exp
	* gdb.base/gnu-ifunc.exp
	* gdb.base/hbreak-in-shr-unsupported.exp
	* gdb.base/hbreak-unmapped.exp
	* gdb.base/hook-stop.exp
	* gdb.base/infcall-input.exp
	* gdb.base/info-fun.exp
	* gdb.base/info-shared.exp
	* gdb.base/interrupt-noterm.exp
	* gdb.base/jit-so.exp
	* gdb.base/jit.exp
	* gdb.base/line-symtabs.exp
	* gdb.base/list.exp
	* gdb.base/longjmp.exp
	* gdb.base/macscp.exp
	* gdb.base/max-value-size.exp
	* gdb.base/nodebug.exp
	* gdb.base/nofield.exp
	* gdb.base/overlays.exp
	* gdb.base/paginate-after-ctrl-c-running.exp
	* gdb.base/paginate-bg-execution.exp
	* gdb.base/paginate-inferior-exit.exp
	* gdb.base/pending.exp
	* gdb.base/pr11022.exp
	* gdb.base/printcmds.exp
	* gdb.base/ptr-typedef.exp
	* gdb.base/ptype.exp
	* gdb.base/randomize.exp
	* gdb.base/range-stepping.exp
	* gdb.base/realname-expand.exp
	* gdb.base/relativedebug.exp
	* gdb.base/remote.exp
	* gdb.base/savedregs.exp
	* gdb.base/sepdebug.exp
	* gdb.base/set-noassign.exp
	* gdb.base/shlib-call.exp
	* gdb.base/shreloc.exp
	* gdb.base/sigaltstack.exp
	* gdb.base/sigbpt.exp
	* gdb.base/siginfo-addr.exp
	* gdb.base/siginfo-obj.exp
	* gdb.base/siginfo-thread.exp
	* gdb.base/signest.exp
	* gdb.base/signull.exp
	* gdb.base/sigrepeat.exp
	* gdb.base/skip.exp
	* gdb.base/so-impl-ld.exp
	* gdb.base/solib-corrupted.exp
	* gdb.base/solib-disc.exp
	* gdb.base/solib-display.exp
	* gdb.base/solib-overlap.exp
	* gdb.base/solib-search.exp
	* gdb.base/solib-symbol.exp
	* gdb.base/source-execution.exp
	* gdb.base/sss-bp-on-user-bp-2.exp
	* gdb.base/sss-bp-on-user-bp.exp
	* gdb.base/stack-checking.exp
	* gdb.base/stale-infcall.exp
	* gdb.base/step-break.exp
	* gdb.base/step-line.exp
	* gdb.base/step-over-exit.exp
	* gdb.base/step-test.exp
	* gdb.base/structs.exp
	* gdb.base/sym-file.exp
	* gdb.base/symtab-search-order.exp
	* gdb.base/term.exp
	* gdb.base/type-opaque.exp
	* gdb.base/unload.exp
	* gdb.base/until-nodebug.exp
	* gdb.base/until.exp
	* gdb.base/unwindonsignal.exp
	* gdb.base/watch-cond.exp
	* gdb.base/watch-non-mem.exp
	* gdb.base/watch_thread_num.exp
	* gdb.base/watchpoint-reuse-slot.exp
	* gdb.base/watchpoint-solib.exp
	* gdb.base/watchpoint.exp
	* gdb.btrace/dlopen.exp
	* gdb.cell/arch.exp
	* gdb.cell/break.exp
	* gdb.cell/bt.exp
	* gdb.cell/core.exp
	* gdb.cell/data.exp
	* gdb.cell/dwarfaddr.exp
	* gdb.cell/ea-cache.exp
	* gdb.cell/ea-standalone.exp
	* gdb.cell/ea-test.exp
	* gdb.cell/f-regs.exp
	* gdb.cell/fork.exp
	* gdb.cell/gcore.exp
	* gdb.cell/mem-access.exp
	* gdb.cell/ptype.exp
	* gdb.cell/registers.exp
	* gdb.cell/sizeof.exp
	* gdb.cell/solib-symbol.exp
	* gdb.cell/solib.exp
	* gdb.compile/compile-tls.exp
	* gdb.cp/exception.exp
	* gdb.cp/gdb2495.exp
	* gdb.cp/local.exp
	* gdb.cp/mb-inline.exp
	* gdb.cp/mb-templates.exp
	* gdb.cp/pr10687.exp
	* gdb.cp/pr9167.exp
	* gdb.cp/scope-err.exp
	* gdb.cp/templates.exp
	* gdb.cp/virtfunc.exp
	* gdb.dwarf2/dw2-dir-file-name.exp
	* gdb.dwarf2/dw2-single-line-discriminators.exp
	* gdb.fortran/complex.exp
	* gdb.fortran/library-module.exp
	* gdb.guile/guile.exp
	* gdb.guile/scm-cmd.exp
	* gdb.guile/scm-frame-inline.exp
	* gdb.guile/scm-objfile.exp
	* gdb.guile/scm-pretty-print.exp
	* gdb.guile/scm-symbol.exp
	* gdb.guile/scm-type.exp
	* gdb.guile/scm-value.exp
	* gdb.linespec/keywords.exp
	* gdb.linespec/ls-errs.exp
	* gdb.linespec/macro-relative.exp
	* gdb.linespec/thread.exp
	* gdb.mi/mi-breakpoint-changed.exp
	* gdb.mi/mi-dprintf-pending.exp
	* gdb.mi/mi-fullname-deleted.exp
	* gdb.mi/mi-logging.exp
	* gdb.mi/mi-pending.exp
	* gdb.mi/mi-solib.exp
	* gdb.mi/new-ui-mi-sync.exp
	* gdb.mi/user-selected-context-sync.exp
	* gdb.multi/dummy-frame-restore.exp
	* gdb.multi/multi-arch-exec.exp
	* gdb.multi/remove-inferiors.exp
	* gdb.multi/watchpoint-multi-exit.exp
	* gdb.opt/solib-intra-step.exp
	* gdb.perf/backtrace.exp
	* gdb.perf/single-step.exp
	* gdb.perf/skip-command.exp
	* gdb.perf/skip-prologue.exp
	* gdb.perf/solib.exp
	* gdb.python/lib-types.exp
	* gdb.python/py-as-string.exp
	* gdb.python/py-bad-printers.exp
	* gdb.python/py-block.exp
	* gdb.python/py-breakpoint.exp
	* gdb.python/py-cmd.exp
	* gdb.python/py-events.exp
	* gdb.python/py-evthreads.exp
	* gdb.python/py-finish-breakpoint.exp
	* gdb.python/py-finish-breakpoint2.exp
	* gdb.python/py-frame-inline.exp
	* gdb.python/py-frame.exp
	* gdb.python/py-inferior.exp
	* gdb.python/py-infthread.exp
	* gdb.python/py-mi.exp
	* gdb.python/py-objfile.exp
	* gdb.python/py-pp-maint.exp
	* gdb.python/py-pp-registration.exp
	* gdb.python/py-prettyprint.exp
	* gdb.python/py-recurse-unwind.exp
	* gdb.python/py-shared.exp
	* gdb.python/py-symbol.exp
	* gdb.python/py-symtab.exp
	* gdb.python/py-template.exp
	* gdb.python/py-type.exp
	* gdb.python/py-unwind-maint.exp
	* gdb.python/py-unwind.exp
	* gdb.python/py-value.exp
	* gdb.python/python.exp
	* gdb.reverse/finish-reverse-bkpt.exp
	* gdb.reverse/insn-reverse.exp
	* gdb.reverse/next-reverse-bkpt-over-sr.exp
	* gdb.reverse/solib-precsave.exp
	* gdb.reverse/solib-reverse.exp
	* gdb.stabs/gdb11479.exp
	* gdb.stabs/weird.exp
	* gdb.threads/fork-child-threads.exp
	* gdb.threads/fork-plus-threads.exp
	* gdb.threads/fork-thread-pending.exp
	* gdb.threads/forking-threads-plus-breakpoint.exp
	* gdb.threads/hand-call-in-threads.exp
	* gdb.threads/interrupted-hand-call.exp
	* gdb.threads/linux-dp.exp
	* gdb.threads/local-watch-wrong-thread.exp
	* gdb.threads/next-while-other-thread-longjmps.exp
	* gdb.threads/non-ldr-exit.exp
	* gdb.threads/pending-step.exp
	* gdb.threads/print-threads.exp
	* gdb.threads/process-dies-while-detaching.exp
	* gdb.threads/process-dies-while-handling-bp.exp
	* gdb.threads/pthreads.exp
	* gdb.threads/queue-signal.exp
	* gdb.threads/reconnect-signal.exp
	* gdb.threads/signal-command-handle-nopass.exp
	* gdb.threads/signal-command-multiple-signals-pending.exp
	* gdb.threads/signal-delivered-right-thread.exp
	* gdb.threads/signal-sigtrap.exp
	* gdb.threads/sigthread.exp
	* gdb.threads/staticthreads.exp
	* gdb.threads/stepi-random-signal.exp
	* gdb.threads/thread-unwindonsignal.exp
	* gdb.threads/thread_check.exp
	* gdb.threads/thread_events.exp
	* gdb.threads/tid-reuse.exp
	* gdb.threads/tls-nodebug.exp
	* gdb.threads/tls-shared.exp
	* gdb.threads/tls-so_extern.exp
	* gdb.threads/tls.exp
	* gdb.threads/wp-replication.exp
	* gdb.trace/actions-changed.exp
	* gdb.trace/actions.exp
	* gdb.trace/backtrace.exp
	* gdb.trace/change-loc.exp
	* gdb.trace/collection.exp
	* gdb.trace/deltrace.exp
	* gdb.trace/disconnected-tracing.exp
	* gdb.trace/entry-values.exp
	* gdb.trace/ftrace-lock.exp
	* gdb.trace/ftrace.exp
	* gdb.trace/infotrace.exp
	* gdb.trace/mi-trace-frame-collected.exp
	* gdb.trace/mi-trace-unavailable.exp
	* gdb.trace/mi-traceframe-changed.exp
	* gdb.trace/mi-tracepoint-changed.exp
	* gdb.trace/mi-tsv-changed.exp
	* gdb.trace/no-attach-trace.exp
	* gdb.trace/packetlen.exp
	* gdb.trace/passc-dyn.exp
	* gdb.trace/passcount.exp
	* gdb.trace/pending.exp
	* gdb.trace/pr16508.exp
	* gdb.trace/qtro.exp
	* gdb.trace/range-stepping.exp
	* gdb.trace/read-memory.exp
	* gdb.trace/report.exp
	* gdb.trace/save-trace.exp
	* gdb.trace/signal.exp
	* gdb.trace/stap-trace.exp
	* gdb.trace/status-stop.exp
	* gdb.trace/strace.exp
	* gdb.trace/tfile.exp
	* gdb.trace/tfind.exp
	* gdb.trace/trace-break.exp
	* gdb.trace/trace-condition.exp
	* gdb.trace/trace-enable-disable.exp
	* gdb.trace/trace-mt.exp
	* gdb.trace/tracecmd.exp
	* gdb.trace/tracefile-pseudo-reg.exp
	* gdb.trace/tspeed.exp
	* gdb.trace/tstatus.exp
	* gdb.trace/tsv.exp
	* gdb.trace/unavailable.exp
	* gdb.trace/while-dyn.exp
	* gdb.trace/while-stepping.exp
	* lib/gdb-guile.exp
	* lib/gdb.exp
	* lib/mi-support.exp
	* lib/pascal.exp
	* lib/perftest.exp
	* lib/prelink-support.exp
	* lib/selftest-support.exp


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase using gdb_test on a single line.
@ 2016-12-01 21:50 sergiodj+buildbot
  2016-12-07 18:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 21:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cdc7edd7b17dddd3558bd04d9b2fb5a73dc75f1c ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: cdc7edd7b17dddd3558bd04d9b2fb5a73dc75f1c

Fix test names starting with uppercase using gdb_test on a single line.

Changes in v3:
  Fixed incorrect substitutions.

This fixes offender testcases that have test names starting with uppercase
when using gdb_test in a single line construct.

gdb/testsuite/ChangeLog
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names starting with uppercase throughout the files.

	* gdb.arch/i386-mpx-simple_segv.exp
	* gdb.arch/i386-mpx.exp
	* gdb.arch/i386-permbkpt.exp
	* gdb.arch/pa-nullify.exp
	* gdb.arch/powerpc-d128-regs.exp
	* gdb.arch/vsx-regs.exp
	* gdb.base/bfp-test.exp
	* gdb.base/break.exp
	* gdb.base/breakpoint-shadow.exp
	* gdb.base/callfuncs.exp
	* gdb.base/charset.exp
	* gdb.base/commands.exp
	* gdb.base/completion.exp
	* gdb.base/dfp-test.exp
	* gdb.base/echo.exp
	* gdb.base/ending-run.exp
	* gdb.base/eval.exp
	* gdb.base/expand-psymtabs.exp
	* gdb.base/float128.exp
	* gdb.base/floatn.exp
	* gdb.base/foll-exec-mode.exp
	* gdb.base/gdb1056.exp
	* gdb.base/gdb11531.exp
	* gdb.base/kill-after-signal.exp
	* gdb.base/multi-forks.exp
	* gdb.base/overlays.exp
	* gdb.base/pending.exp
	* gdb.base/sepdebug.exp
	* gdb.base/testenv.exp
	* gdb.base/valgrind-db-attach.exp
	* gdb.base/watch_thread_num.exp
	* gdb.base/watchpoint-cond-gone.exp
	* gdb.base/watchpoint.exp
	* gdb.base/watchpoints.exp
	* gdb.cp/arg-reference.exp
	* gdb.cp/baseenum.exp
	* gdb.cp/operator.exp
	* gdb.cp/shadow.exp
	* gdb.dwarf2/dw2-op-out-param.exp
	* gdb.dwarf2/dw2-reg-undefined.exp
	* gdb.go/chan.exp
	* gdb.go/hello.exp
	* gdb.go/integers.exp
	* gdb.go/methods.exp
	* gdb.go/package.exp
	* gdb.guile/scm-parameter.exp
	* gdb.guile/scm-progspace.exp
	* gdb.guile/scm-value.exp
	* gdb.mi/mi-pending.exp
	* gdb.mi/user-selected-context-sync.exp
	* gdb.multi/multi-attach.exp
	* gdb.multi/tids.exp
	* gdb.opt/clobbered-registers-O2.exp
	* gdb.pascal/floats.exp
	* gdb.pascal/integers.exp
	* gdb.python/py-block.exp
	* gdb.python/py-events.exp
	* gdb.python/py-parameter.exp
	* gdb.python/py-symbol.exp
	* gdb.python/py-symtab.exp
	* gdb.python/py-type.exp
	* gdb.python/py-value.exp
	* gdb.python/py-xmethods.exp
	* gdb.python/python.exp
	* gdb.reverse/break-precsave.exp
	* gdb.reverse/consecutive-precsave.exp
	* gdb.reverse/finish-precsave.exp
	* gdb.reverse/i386-precsave.exp
	* gdb.reverse/machinestate-precsave.exp
	* gdb.reverse/sigall-precsave.exp
	* gdb.reverse/solib-precsave.exp
	* gdb.reverse/step-precsave.exp
	* gdb.reverse/until-precsave.exp
	* gdb.reverse/watch-precsave.exp
	* gdb.server/ext-attach.exp
	* gdb.server/ext-restart.exp
	* gdb.server/ext-run.exp
	* gdb.server/ext-wrapper.exp
	* gdb.stabs/gdb11479.exp
	* gdb.stabs/weird.exp
	* gdb.threads/attach-many-short-lived-threads.exp
	* gdb.threads/kill.exp
	* gdb.threads/watchpoint-fork.exp


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase using gdb_test_no_output
@ 2016-12-01 22:09 sergiodj+buildbot
  2016-12-07 21:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 22:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9f058c10cef5987ee1f1cb28c9a8cf5ef1ec4d11 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 9f058c10cef5987ee1f1cb28c9a8cf5ef1ec4d11

Fix test names starting with uppercase using gdb_test_no_output

This fixes offender testcases that have test names starting with uppercase
when using gdb_test_no_output in a single-line construct.

gdb/testsuite/ChangeLog
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names starting with uppercase throughout the files.

	* gdb.base/charset.exp
	* gdb.base/eval.exp
	* gdb.base/multi-forks.exp
	* gdb.guile/scm-progspace.exp
	* gdb.opencl/datatypes.exp
	* gdb.python/py-block.exp
	* gdb.python/py-function.exp
	* gdb.python/py-symbol.exp
	* gdb.python/py-symtab.exp
	* gdb.python/py-xmethods.exp
	* gdb.reverse/break-precsave.exp
	* gdb.reverse/break-reverse.exp
	* gdb.reverse/consecutive-precsave.exp
	* gdb.reverse/consecutive-reverse.exp
	* gdb.reverse/finish-precsave.exp
	* gdb.reverse/finish-reverse-bkpt.exp
	* gdb.reverse/finish-reverse.exp
	* gdb.reverse/fstatat-reverse.exp
	* gdb.reverse/getresuid-reverse.exp
	* gdb.reverse/i386-precsave.exp
	* gdb.reverse/i386-reverse.exp
	* gdb.reverse/i386-sse-reverse.exp
	* gdb.reverse/i387-stack-reverse.exp
	* gdb.reverse/insn-reverse.exp
	* gdb.reverse/machinestate-precsave.exp
	* gdb.reverse/machinestate.exp
	* gdb.reverse/next-reverse-bkpt-over-sr.exp
	* gdb.reverse/pipe-reverse.exp
	* gdb.reverse/readv-reverse.exp
	* gdb.reverse/recvmsg-reverse.exp
	* gdb.reverse/rerun-prec.exp
	* gdb.reverse/s390-mvcle.exp
	* gdb.reverse/sigall-precsave.exp
	* gdb.reverse/sigall-reverse.exp
	* gdb.reverse/solib-precsave.exp
	* gdb.reverse/solib-reverse.exp
	* gdb.reverse/step-precsave.exp
	* gdb.reverse/step-reverse.exp
	* gdb.reverse/time-reverse.exp
	* gdb.reverse/until-precsave.exp
	* gdb.reverse/until-reverse.exp
	* gdb.reverse/waitpid-reverse.exp
	* gdb.reverse/watch-precsave.exp
	* gdb.reverse/watch-reverse.exp


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase using gdb_test_multiple
@ 2016-12-01 23:01 sergiodj+buildbot
  2016-12-08  1:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 23:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT de97fdd4a05cd7ad0b05444f1721f26c1ad9322f ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: de97fdd4a05cd7ad0b05444f1721f26c1ad9322f

Fix test names starting with uppercase using gdb_test_multiple

This fixes offender testcases that have test names starting with uppercase
when using gdb_test_multiple in a single-line construct.

gdb/testsuite/ChangeLog
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names starting with uppercase throughout the files.

	* gdb.arch/i386-bp_permanent.exp
	* gdb.arch/i386-gnu-cfi.exp
	* gdb.base/disasm-end-cu.exp
	* gdb.base/macscp.exp
	* gdb.base/pending.exp
	* gdb.base/watch_thread_num.exp
	* gdb.cp/exception.exp
	* gdb.cp/gdb2495.exp
	* gdb.cp/local.exp
	* gdb.python/py-evsignal.exp
	* gdb.python/python.exp
	* gdb.trace/tracecmd.exp


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase using multi-line gdb_test/mi_gdb_test
@ 2016-12-01 23:25 sergiodj+buildbot
  2016-12-08  3:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-01 23:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bb95117e107fe58ecd35683bf0e8da3b414378ff ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: bb95117e107fe58ecd35683bf0e8da3b414378ff

Fix test names starting with uppercase using multi-line gdb_test/mi_gdb_test

This fixes offender testcases that have test names starting with uppercase
when using gdb_test/mi_gdb_test in a multi-line construct.

gdb/testsuite/ChangeLog
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names starting with uppercase throughout the files.

	* gdb.ada/array_return.exp
	* gdb.ada/expr_delims.exp
	* gdb.ada/mi_dyn_arr.exp
	* gdb.ada/mi_interface.exp
	* gdb.ada/mi_var_array.exp
	* gdb.ada/watch_arg.exp
	* gdb.arch/alpha-step.exp
	* gdb.arch/altivec-regs.exp
	* gdb.arch/e500-regs.exp
	* gdb.arch/powerpc-d128-regs.exp
	* gdb.base/arrayidx.exp
	* gdb.base/break.exp
	* gdb.base/checkpoint.exp
	* gdb.base/debug-expr.exp
	* gdb.base/dmsym.exp
	* gdb.base/radix.exp
	* gdb.base/sepdebug.exp
	* gdb.base/testenv.exp
	* gdb.base/watch_thread_num.exp
	* gdb.base/watchpoint-cond-gone.exp
	* gdb.cell/break.exp
	* gdb.cell/ea-cache.exp
	* gdb.compile/compile.exp
	* gdb.cp/gdb2495.exp
	* gdb.gdb/selftest.exp
	* gdb.gdb/xfullpath.exp
	* gdb.go/hello.exp
	* gdb.go/integers.exp
	* gdb.objc/basicclass.exp
	* gdb.pascal/hello.exp
	* gdb.pascal/integers.exp
	* gdb.python/py-breakpoint.exp
	* gdb.python/py-cmd.exp
	* gdb.python/py-linetable.exp
	* gdb.python/py-xmethods.exp
	* gdb.python/python.exp
	* gdb.reverse/consecutive-precsave.exp
	* gdb.reverse/finish-precsave.exp
	* gdb.reverse/i386-precsave.exp
	* gdb.reverse/machinestate-precsave.exp
	* gdb.reverse/sigall-precsave.exp
	* gdb.reverse/solib-precsave.exp
	* gdb.reverse/step-precsave.exp
	* gdb.reverse/until-precsave.exp
	* gdb.reverse/watch-precsave.exp
	* gdb.threads/leader-exit.exp
	* gdb.threads/pthreads.exp
	* gdb.threads/wp-replication.exp
	* gdb.trace/actions.exp
	* gdb.trace/mi-tsv-changed.exp
	* gdb.trace/tsv.exp


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase using multi-line gdb_test_no_output
@ 2016-12-02  0:06 sergiodj+buildbot
  2016-12-08  6:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  0:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd2ddb6cde55a20d191e1002dbe1977df695cda9 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: cd2ddb6cde55a20d191e1002dbe1977df695cda9

Fix test names starting with uppercase using multi-line gdb_test_no_output

This fixes offender testcases that have test names starting with uppercase
when using gdb_test_no_output in a multi-line construct.

gdb/testsuite/ChangeLog
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names starting with uppercase throughout the files.

	* gdb.ada/assign_1.exp
	* gdb.ada/boolean_expr.exp
	* gdb.base/arrayidx.exp
	* gdb.base/del.exp
	* gdb.base/gcore-buffer-overflow.exp
	* gdb.base/testenv.exp
	* gdb.compile/compile.exp
	* gdb.python/py-framefilter-invalidarg.exp
	* gdb.python/py-framefilter.exp


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase using multi-line gdb_test_multiple
@ 2016-12-02  0:34 sergiodj+buildbot
  2016-12-08  8:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  0:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fb9feb35913d4cf26baf01e1638b18af301f5387 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: fb9feb35913d4cf26baf01e1638b18af301f5387

Fix test names starting with uppercase using multi-line gdb_test_multiple

This fixes offender testcases that have test names starting with uppercase
when using gdb_test_multiple in a multi-line construct.

gdb/testsuite/ChangeLog
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.cp/gdb2495.exp: Replace gdb_test_multiple
	with gdb_test_no_output.
	Use command as test name.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fixup testcases outputting own name as a test name and standardize failed compilation messages
@ 2016-12-02  1:27 sergiodj+buildbot
  2016-12-08 10:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  1:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 84c93cd5f1ff869eb8c04314738eaa2cddb3c29e ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 84c93cd5f1ff869eb8c04314738eaa2cddb3c29e

Fixup testcases outputting own name as a test name and standardize failed compilation messages

Changes in v3:

- Adjusted some testcases where the message "failed to compile" was not unique.

Changes in v2:

- Addressed comments from reviewers.
- Fixed spurious whitespaces.
- Changed compilation failure messages that included source/binary paths to
  ones that are short and deterministic.

---

Another bit of cleanup to the testsuite. We have a number of tests that are
not honoring the rule of not outputting their own name as a test name.

I fixed up all the offenders i could find with the following regular
expression:

"(xfail|kfail|kpass|fail|pass|unsupported|untested) ([A-Za-z0-9]+|\\\$(.)*testfile(.)*)\.exp$"

gdb/testsuite/ChangeLog:
2016-12-01  Luis Machado  <lgustavo@codesourcery.com>

	Fix test names and standardize compilation error messages throughout
	the following files:

	* gdb.ada/start.exp
	* gdb.arch/alpha-step.exp
	* gdb.arch/e500-prologue.exp
	* gdb.arch/ftrace-insn-reloc.exp
	* gdb.arch/gdb1291.exp
	* gdb.arch/gdb1431.exp
	* gdb.arch/gdb1558.exp
	* gdb.arch/i386-dr3-watch.exp
	* gdb.arch/i386-sse-stack-align.exp
	* gdb.arch/ia64-breakpoint-shadow.exp
	* gdb.arch/pa-nullify.exp
	* gdb.arch/powerpc-aix-prologue.exp
	* gdb.arch/thumb-bx-pc.exp
	* gdb.base/annota1.exp
	* gdb.base/annota3.exp
	* gdb.base/arrayidx.exp
	* gdb.base/assign.exp
	* gdb.base/attach.exp
	* gdb.base/auxv.exp
	* gdb.base/bang.exp
	* gdb.base/bfp-test.exp
	* gdb.base/bigcore.exp
	* gdb.base/bitfields2.exp
	* gdb.base/break-fun-addr.exp
	* gdb.base/break-probes.exp
	* gdb.base/call-rt-st.exp
	* gdb.base/callexit.exp
	* gdb.base/catch-fork-kill.exp
	* gdb.base/charset.exp
	* gdb.base/checkpoint.exp
	* gdb.base/comprdebug.exp
	* gdb.base/constvars.exp
	* gdb.base/coredump-filter.exp
	* gdb.base/cursal.exp
	* gdb.base/cvexpr.exp
	* gdb.base/detach.exp
	* gdb.base/display.exp
	* gdb.base/dmsym.exp
	* gdb.base/dprintf-pending.exp
	* gdb.base/dso2dso.exp
	* gdb.base/dtrace-probe.exp
	* gdb.base/dump.exp
	* gdb.base/enum_cond.exp
	* gdb.base/exe-lock.exp
	* gdb.base/exec-invalid-sysroot.exp
	* gdb.base/execl-update-breakpoints.exp
	* gdb.base/exprs.exp
	* gdb.base/fileio.exp
	* gdb.base/find.exp
	* gdb.base/finish.exp
	* gdb.base/fixsection.exp
	* gdb.base/foll-vfork.exp
	* gdb.base/frame-args.exp
	* gdb.base/gcore.exp
	* gdb.base/gdb1250.exp
	* gdb.base/global-var-nested-by-dso.exp
	* gdb.base/gnu-ifunc.exp
	* gdb.base/hashline1.exp
	* gdb.base/hashline2.exp
	* gdb.base/hashline3.exp
	* gdb.base/hbreak-in-shr-unsupported.exp
	* gdb.base/huge.exp
	* gdb.base/infcall-input.exp
	* gdb.base/info-fun.exp
	* gdb.base/info-shared.exp
	* gdb.base/jit-simple.exp
	* gdb.base/jit-so.exp
	* gdb.base/jit.exp
	* gdb.base/jump.exp
	* gdb.base/label.exp
	* gdb.base/lineinc.exp
	* gdb.base/logical.exp
	* gdb.base/longjmp.exp
	* gdb.base/macscp.exp
	* gdb.base/miscexprs.exp
	* gdb.base/new-ui-echo.exp
	* gdb.base/new-ui-pending-input.exp
	* gdb.base/new-ui.exp
	* gdb.base/nodebug.exp
	* gdb.base/nofield.exp
	* gdb.base/offsets.exp
	* gdb.base/overlays.exp
	* gdb.base/pending.exp
	* gdb.base/pointers.exp
	* gdb.base/pr11022.exp
	* gdb.base/printcmds.exp
	* gdb.base/prologue.exp
	* gdb.base/ptr-typedef.exp
	* gdb.base/realname-expand.exp
	* gdb.base/relativedebug.exp
	* gdb.base/relocate.exp
	* gdb.base/remote.exp
	* gdb.base/reread.exp
	* gdb.base/return2.exp
	* gdb.base/savedregs.exp
	* gdb.base/sep.exp
	* gdb.base/sepdebug.exp
	* gdb.base/sepsymtab.exp
	* gdb.base/set-inferior-tty.exp
	* gdb.base/setshow.exp
	* gdb.base/shlib-call.exp
	* gdb.base/sigaltstack.exp
	* gdb.base/siginfo-addr.exp
	* gdb.base/signals.exp
	* gdb.base/signull.exp
	* gdb.base/sigrepeat.exp
	* gdb.base/so-impl-ld.exp
	* gdb.base/solib-display.exp
	* gdb.base/solib-overlap.exp
	* gdb.base/solib-search.exp
	* gdb.base/solib-symbol.exp
	* gdb.base/structs.exp
	* gdb.base/structs2.exp
	* gdb.base/symtab-search-order.exp
	* gdb.base/twice.exp
	* gdb.base/unload.exp
	* gdb.base/varargs.exp
	* gdb.base/watchpoint-solib.exp
	* gdb.base/watchpoint.exp
	* gdb.base/whatis.exp
	* gdb.base/wrong_frame_bt_full.exp
	* gdb.btrace/dlopen.exp
	* gdb.cell/ea-standalone.exp
	* gdb.cell/ea-test.exp
	* gdb.cp/dispcxx.exp
	* gdb.cp/gdb2384.exp
	* gdb.cp/method2.exp
	* gdb.cp/nextoverthrow.exp
	* gdb.cp/pr10728.exp
	* gdb.disasm/am33.exp
	* gdb.disasm/h8300s.exp
	* gdb.disasm/mn10300.exp
	* gdb.disasm/sh3.exp
	* gdb.dwarf2/dw2-dir-file-name.exp
	* gdb.fortran/complex.exp
	* gdb.fortran/library-module.exp
	* gdb.guile/scm-pretty-print.exp
	* gdb.guile/scm-symbol.exp
	* gdb.guile/scm-type.exp
	* gdb.guile/scm-value.exp
	* gdb.linespec/linespec.exp
	* gdb.mi/gdb701.exp
	* gdb.mi/gdb792.exp
	* gdb.mi/mi-breakpoint-changed.exp
	* gdb.mi/mi-dprintf-pending.exp
	* gdb.mi/mi-dprintf.exp
	* gdb.mi/mi-exit-code.exp
	* gdb.mi/mi-pending.exp
	* gdb.mi/mi-solib.exp
	* gdb.mi/new-ui-mi-sync.exp
	* gdb.mi/pr11022.exp
	* gdb.mi/user-selected-context-sync.exp
	* gdb.opt/solib-intra-step.exp
	* gdb.python/py-events.exp
	* gdb.python/py-finish-breakpoint.exp
	* gdb.python/py-mi.exp
	* gdb.python/py-prettyprint.exp
	* gdb.python/py-shared.exp
	* gdb.python/py-symbol.exp
	* gdb.python/py-template.exp
	* gdb.python/py-type.exp
	* gdb.python/py-value.exp
	* gdb.reverse/solib-precsave.exp
	* gdb.reverse/solib-reverse.exp
	* gdb.server/solib-list.exp
	* gdb.stabs/weird.exp
	* gdb.threads/reconnect-signal.exp
	* gdb.threads/stepi-random-signal.exp
	* gdb.trace/actions.exp
	* gdb.trace/ax.exp
	* gdb.trace/backtrace.exp
	* gdb.trace/change-loc.exp
	* gdb.trace/deltrace.exp
	* gdb.trace/ftrace-lock.exp
	* gdb.trace/ftrace.exp
	* gdb.trace/infotrace.exp
	* gdb.trace/mi-tracepoint-changed.exp
	* gdb.trace/packetlen.exp
	* gdb.trace/passcount.exp
	* gdb.trace/pending.exp
	* gdb.trace/range-stepping.exp
	* gdb.trace/report.exp
	* gdb.trace/stap-trace.exp
	* gdb.trace/tfind.exp
	* gdb.trace/trace-break.exp
	* gdb.trace/trace-condition.exp
	* gdb.trace/trace-enable-disable.exp
	* gdb.trace/trace-mt.exp
	* gdb.trace/tracecmd.exp
	* gdb.trace/tspeed.exp
	* gdb.trace/tsv.exp
	* lib/perftest.exp


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Replace hand-made linked list of ui_out_hdr by vector and iterator
@ 2016-12-02  2:11 sergiodj+buildbot
  2016-12-08 12:39 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  2:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 78afa7f8599e46eb94a93510b383dfb35e549f7e ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 78afa7f8599e46eb94a93510b383dfb35e549f7e

Replace hand-made linked list of ui_out_hdr by vector and iterator

Instead of keeping pointers to first, last and current ui_out_hdr in
ui_out_table, we can use an std::vector and an iterator.  Direct random
access of to vector helps make get_next_header a bit nicer by avoiding
iterating on all the headers.  append_header_to_list is also a bit
simpler.

Also, using unique_ptr inside the vector allows expressing the ownership
of the ui_out_hdr objects by the ui_out_table object, and it simplifies
the destruction.

gdb/ChangeLog:

	* ui-out.c (struct ui_out_hdr) <next>: Remove.
	(struct ui_out_table) <header_first, header_last, header_next>: Remove.
	<headers, headers_iterator>: New fields.
	(ui_out_table_body): Update for the new data structure.
	(ui_out_begin): Likewise.
	(clear_header_list): Likewise.
	(append_header_to_list): Likewise.
	(get_next_header): Likewise.
	(ui_out_query_field): Likewise.
	(ui_out_new): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use std::string for ui_out_hdr's text fields
@ 2016-12-02  2:20 sergiodj+buildbot
  2016-12-08 15:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  2:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c5209615263fd0444da28cdfb6661ad287909a70 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: c5209615263fd0444da28cdfb6661ad287909a70

Use std::string for ui_out_hdr's text fields

This patch makes ui_out_hdr use std::string for its text fields.  It
makes freeing automatic when the object is deleted.

gdb/ChangeLog:

	* mi/mi-out.c (mi_table_header): Change char * args to
	std::string.
	* cli-out.c (cli_table_header): Likewise.
	* ui-out.h (table_header_ftype): Likewise.
	(ui_out_table_header): Constify colhdr argument.
	(ui_out_query_field): Constify col_name argument.
	* ui-out.c (ui_out_hdr) <col_name, colhdr>: Change type to
	std::string.
	(uo_table_header): Change char * args to std::string.
	(ui_out_table_header): Likewise.
	(get_next_header): Constify colhdr argument and adapt.
	(clear_header_list): Don't free col_name/colhdr fields.
	(append_header_to_list): Change char * args to std::string and
	adapt.
	(verify_field): Constify variable.
	(ui_out_query_field): Constify col_name argument and adapt.
	* breakpoint.c (wrap_indent_at_field): Constify variable.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Class-ify ui_out_hdr
@ 2016-12-02  2:49 sergiodj+buildbot
  2016-12-08 18:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  2:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 37e20dd6599203c4e261fc3a2e86711c90cbbed9 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 37e20dd6599203c4e261fc3a2e86711c90cbbed9

Class-ify ui_out_hdr

This patch makes ui_out_hdr (the object that represents an ui-out table
header) a proper C++ class.  No behavior changes, it's all about
encapsulation.

gdb/ChangeLog:

	* ui-out.c (struct ui_out_hdr): Replace with ...
	(class ui_out_hdr): ... this.
	(append_header_to_list): Update.
	(get_next_header): Update.
	(ui_out_query_field): Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Simplify ui-out level code
@ 2016-12-02  4:41 sergiodj+buildbot
  2016-12-08 23:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  4:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 33b2fac610fff1255a24763277a4bf77f1b59ef1 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 33b2fac610fff1255a24763277a4bf77f1b59ef1

Simplify ui-out level code

Now that we use a vector to store the levels, we don't have to keep a
separate level field in ui_out to keep track of the current level.  We
can efficiently derive it from the vector size.  That causes a little
change in the meaning of the level, as in they are now 1-based instead
of 0-based (the initial level has the "id" 1 now), but it shouldn't
change anything in the behavior.

Additionally, push_level and pop_level don't really need to return the
new level, making them return void simplifies the code a bit.

Finally, the ui_out_begin/ui_out_end callbacks in the ui_out_impl
interface don't need to be passed the level, it's never actually used.

New in v2:

 - Remove or update stale comments.

gdb/ChangeLog:

	* ui-out.h (ui_out_begin_ftype): Remove level parameter.
	(ui_out_end_ftype): Likewise.
	* ui-out.c (struct ui_out) <level>: Replace field with a method
	that dynamically computes the result.
	(current_level): Get vector's back item instead of using
	uiout->level.
	(push_level): Make return type void.
	(pop_level): Make return type void and update access to
	ui_out::level.
	(uo_begin): Remove level parameter.
	(uo_end): Likewise.
	(ui_out_table_begin): Update access to uiout::level.
	(ui_out_begin): Don't read return value from push_level, call
	uiout->level() instead, update call to uo_begin.
	(ui_out_end): Don't read return value from pop_level, update
	call to uo_end.
	(verify_field): Update access to uiout->level.
	(ui_out_new): Don't initialize ui_out::level, call push_level
	to push the initial level instead of doing it by hand.
	* cli-out.c (cli_begin): Remove level parameter.
	(cli_end): Likewise.
	* mi/mi-out.c (mi_begin): Likewise.
	(mi_end): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] ui_out_table: Replace boolean flag with enum
@ 2016-12-02  5:00 sergiodj+buildbot
  2016-12-09  2:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  5:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 77a179e77b38161e461f5e37512f0b3fc3582181 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 77a179e77b38161e461f5e37512f0b3fc3582181

ui_out_table: Replace boolean flag with enum

This patch is just a little cleanup, it replaces the body_flag field of
ui_out_table with an enum.  It expresses more explicitly the
intent of the field (check that state == TABLE_STATE_HEADERS conveys
more what we want to do than checking for !body_flag).

New in v2:

  - Remove unnecessary ui_out_table_state::.

gdb/ChangeLog:

	* ui-out.c (enum ui_out_table_state): New enum.
	(struct ui_out_table) <body_flag>: Remove field.
	<state>: New field.
	(ui_out_table_begin): Replace usages of body_flag with state.
	(ui_out_table_body): Likewise.
	(ui_out_table_end): Likewise.
	(ui_out_table_header): Likewise.
	(ui_out_begin): Likewise.
	(verify_field): Likewise.
	(ui_out_new): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Class-ify ui_out_table
@ 2016-12-02  5:34 sergiodj+buildbot
  2016-12-09  5:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02  5:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 36d18bc526b055be896d8dc319cb3ade42238534 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 36d18bc526b055be896d8dc319cb3ade42238534

Class-ify ui_out_table

This patch makes a class out of the ui_out_table structure, the
structure responsible for managing the generation of an UI table.

To simplify the ui_out_table object, I changed it so that it can only be
used for generating a single object.  Instead of clearing the header
list when starting a new table, we an ui_out_table when starting a
table and delete it when we're done.  Therefore, the checks:

  if (uiout->table->flag)
  if (!uiout->table->flag)

are respectively replaced with

  if (uiout->table != nullptr)
  if (uiout->table == nullptr)

Note: I removed the check at the beginning of ui_out_begin, because
there is an equivalent check at the beginning of verify_field.

New in v2:

  - use "enum class" for ui_out_table::state and update references.

gdb/ChangeLog:

	* ui-out.c (enum ui_out_table_state): Move to class
	ui_out_table as ui_out_table::state.
	(struct ui_out_table): Change to ...
	(class ui_out_table): ... this.
	<flag>: Remove.
	<entry_level>: Rename to ...
	<m_entry_level>: ... this.
	<columns>: Rename to ...
	<m_nr_cols>: ... this.
	<id>: Rename to ...
	<m_id>: ... this.
	<headers>: Rename to ...
	<m_headers>: ... this.
	<headers_iterator>: Rename to ...
	<m_headers_iterator>: ... this.
	<start_body, append_header, start_row, get_next_header,
	query_field, current_state, entry_level>: New methods.
	(struct ui_out) <table>: Change type to unique_ptr to
	ui_out_table.
	(append_header_to_list, get_next_header, clear_header_list,
	clear_table): Remove.
	(ui_out_table_begin): Instantiate ui_out_table object.  Update
	table check.
	(ui_out_table_body): Update table check, replace code with call
	to ui_out_table::start_body.
	(ui_out_table_end): Update table check, replace manual cleanup
	with assignment of uiout->table unique_ptr to nullptr.
	(ui_out_table_header): Update table check, replace call to
	append_header_to_list with call to append_header method.
	(ui_out_begin): Remove one table state check, update another.
	Replace code with call to start_row method.
	(verify_field): Update table checks.
	(ui_out_query_field): Update table check, replace code with call
	to query_field method.
	(ui_out_new): Remove table initialization code.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add unit test to aarch64 prologue analyzer
@ 2016-12-02 10:11 sergiodj+buildbot
  2016-12-09  8:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 10:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4d9a9006139d1ceea787cdda871dff8943e493f0 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 4d9a9006139d1ceea787cdda871dff8943e493f0

Add unit test to aarch64 prologue analyzer

We don't have an effective way to test prologue analyzer which is
highly dependent on instruction patterns in prologue generated by
compiler.  GDB prologue analyzer may not handle the new sequences
generated by new compiler, or may still handle some sequences that
generated by very old compilers which are no longer used.  The
former is a functionality issue, while the latter is a maintenance
issue.

The input and output of prologue analyzer is quite clear, so it
fits for unit test.  The input is series of instructions, and the
output are 1) where prologue end, 2) where registers are saved.
In aarch64, they are represented in 'struct aarch64_prologue_cache'.

This patch refactors aarch64_analyze_prologue so it can read
instructions from either real target or test harness.  In unit
test aarch64_analyze_prologue_test, aarch64_analyze_prologue gets
instructions we prepared in the test, as the input of prologue
analyzer.  Then, we checked various fields in
'struct aarch64_prologue_cache'.

gdb:

2016-12-02  Yao Qi  <yao.qi@linaro.org>
	    Pedro Alves  <palves@redhat.com>

	* aarch64-tdep.c: Include "selftest.h".
	(abstract_instruction_reader): New class.
	(instruction_reader): New class.
	(aarch64_analyze_prologue): Add new parameter reader.  Call
	reader.read instead of read_memory_unsigned_integer.
	[GDB_SELF_TEST] (instruction_reader_test): New class.
	(aarch64_analyze_prologue_test): New function.
	(_initialize_aarch64_tdep) [GDB_SELF_TEST]: Register
	selftests::aarch64_analyze_prologue_test.
	* trad-frame.c (trad_frame_cache_zalloc):
	(trad_frame_alloc_saved_regs): Add a new function.
	* trad-frame.h (trad_frame_alloc_saved_regs): Declare.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Recognize STR instruction in prologue
@ 2016-12-02 10:50 sergiodj+buildbot
  2016-12-09 10:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 10:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 432ec0814b01a93b88eddf13092ea6abef34652d ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 432ec0814b01a93b88eddf13092ea6abef34652d

[AArch64] Recognize STR instruction in prologue

This patch teaches GDB AArch64 backend to recognize STR instructions
in prologue, like 'str x19, [sp, #-48]!' or 'str w0, [sp, #44]'.
The unit test is added too.

gdb:

2016-12-02  Yao Qi  <yao.qi@linaro.org>
	    Pedro Alves  <palves@redhat.com>

	* aarch64-tdep.c (aarch64_analyze_prologue): Recognize STR
	instruction.
	(aarch64_analyze_prologue_test): More tests.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add support for Fushia OS.
@ 2016-12-02 11:30 sergiodj+buildbot
  2016-12-09 14:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 11:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d5451cd45325d12b2cc3d10ffe67f09b0e26b967 ***

Author: Josh Conner <joshconner@google.com>
Branch: master
Commit: d5451cd45325d12b2cc3d10ffe67f09b0e26b967

Add support for Fushia OS.

        * configure.ac: Add fuchsia to targets that use ELF.
        * configure: Regenerated.

bfd     * configure.tgt: Add support for fuchsia (OS).

gas     * configure.tgt: Add support for fuchsia (OS).

ld      * Makefile.am: Add dependency information for earmelf_fuchsia.c.
        * Makefile.in: Regenerate.
        * configure.tgt: Add support for aarch64-*-fuchsia, arm*-*-fuchsia*, and
        x86_64-*-fuchsia* targets.
        * emulparams/armelf_fuchsia.sh: New file.
        * emulparams/armelfb_fuchsia.sh: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Always pass a valid section header offset to elf_parse_notes
@ 2016-12-02 12:02 sergiodj+buildbot
  2016-12-09 15:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 12:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 08698b7b46c9c932530dcbcd7e851d27a7d2c503 ***

Author: Gary Benson <gbenson@redhat.com>
Branch: master
Commit: 08698b7b46c9c932530dcbcd7e851d27a7d2c503

Always pass a valid section header offset to elf_parse_notes

_bfd_elf_make_section_from_shdr calls elf_parse_notes with an offset
of -1.  This argument is used to calculate Elf_Internal_Note.descpos,
which ends up set to a positive but meaningless value.  This commit
updates _bfd_elf_make_section_from_shdr to pass the correct offset to
elf_parse_notes, making Elf_Internal_Note.descpos correct in all cases.

bfd/ChangeLog:

	* elf.c (_bfd_elf_make_section_from_shdr): Pass offset to
	elf_parse_notes.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove mi_out_data::suppress_output
@ 2016-12-02 15:26 sergiodj+buildbot
  2016-12-09 18:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 15:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 233c8c27eb81b0a3ab5182dcb59c7306ba9bd3f3 ***

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

Remove mi_out_data::suppress_output

The suppress_output field of the mi_ui_out_data structure is never actually
set to 1/true.  We can therefore remove it, and remove all the

  if (suppress_output)

checks.

gdb/ChangeLog:

	* mi/mi-out.c (mi_ui_out_data) <suppress_output>: Remove.
	(mi_table_body): Remove suppress_output check.
	(mi_table_end): Likewise.
	(mi_table_header): Likewise.
	(mi_begin): Likewise.
	(mi_end): Likewise.
	(mi_field_int): Likewise.
	(mi_field_string): Likewise.
	(mi_field_fmt): Likewise.
	(mi_out_data_ctor): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR symtab/16264 - support DW_AT_main_subprogram
@ 2016-12-02 16:48 sergiodj+buildbot
  2016-12-09 23:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 16:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0c1b455e294c6debb4efedc7f1346f3c43249f15 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 0c1b455e294c6debb4efedc7f1346f3c43249f15

PR symtab/16264 - support DW_AT_main_subprogram

This patch adds support for DW_AT_main_subprogram.
This is PR symtab/16264.

DW_AT_main_subprogram is used to mark a program's entry point.  GCC
can emit this, and I hope to change the Rust compiler to emit it as
well.

GDB already supports an older, pre-DWARF 4 convention adopted by
FORTRAN compilers, namely to emit DW_AT_calling_convention for the
"main" function.  However, I think this support in GDB had a small
bug, in that it seems to rely on the DW_AT_name being read before
DW_AT_calling_convention.  This patch fixes this as well.

Built and regtested on x86-64 Fedora 24 and the buildbot.  New test
case included.

2016-12-02  Tom Tromey  <tom@tromey.com>

	PR symtab/16264:
	* dwarf2read.c (struct partial_die_info) <main_subprogram>: New
	member.
	(add_partial_symbol): Call set_objfile_main_name.
	(read_partial_die): Handle DW_AT_main_subprogram.
	<DW_AT_calling_convention>: don't call set_objfile_main_name, but
	set main_subprogram flag.

2016-12-02  Tom Tromey  <tom@tromey.com>

	* gdb.dwarf2/main-subprogram.c: New file.
	* gdb.dwarf2/main-subprogram.exp: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix seg-fault in the linker when examining a corrupt binary.
@ 2016-12-02 17:12 sergiodj+buildbot
  2016-12-10  1:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 17:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 531336e3a0b79ed60cfc36ad2d6579b6a71175da ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 531336e3a0b79ed60cfc36ad2d6579b6a71175da

Fix seg-fault in the linker when examining a corrupt binary.

	PR ld/20909
	* aoutx.h (aout_link_add_symbols): Fix off-by-one error in check
	for an illegal string offset.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Revert change to gdb.cp/ovldbreak.exp
@ 2016-12-02 18:11 sergiodj+buildbot
  2016-12-10  3:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 18:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 008459ea88ad4fdcb7da37dad7f68888ef6ecc47 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 008459ea88ad4fdcb7da37dad7f68888ef6ecc47

Revert change to gdb.cp/ovldbreak.exp

This reverts the timeout handling (removed by
018572b88885ae67d22612937fa1e4fd98d5f5ad) for gdb.cp/ovldbreak.exp until we
decide what to do about this particular function.

gdb/testsuite/ChangeLog:

2016-12-02  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
	timeout handling.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix seg-fault in linker when passed a corrupt binary input file.
@ 2016-12-02 18:56 sergiodj+buildbot
  2016-12-10  6:39 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 18:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d7f399a8de4c55eb841db6493597a587fac002de ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: d7f399a8de4c55eb841db6493597a587fac002de

Fix seg-fault in linker when passed a corrupt binary input file.

	PR lf/20908
	* elflink.c (bfd_elf_final_link): Check for ELF flavour binaries
	when following indirect links.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix PR 20559 - "eval" command and $arg0...$arg9/$argc substitution
@ 2016-12-02 19:55 sergiodj+buildbot
  2016-12-10  9:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 19:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 01770bbde902e075e524b518ac6c1087a4cc1cfb ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 01770bbde902e075e524b518ac6c1087a4cc1cfb

Fix PR 20559 - "eval" command and $arg0...$arg9/$argc substitution

It'd be handy to be able to iterate over command arguments in
user-defined commands, in order to support optional arguments
($arg0..$argN).

I thought I could make it work with "eval", but alas, it doesn't work
currently.  E.g., with:

 define test
   set $i = 0
   while $i < $argc
     eval "print $arg%d", $i
     set $i = $i + 1
   end
 end

we get:

 (gdb) test 1
 $1 = void
 (gdb) test 1 2 3
 $2 = void
 $3 = void
 $4 = void
 (gdb)

The problem is that "eval" doesn't do user-defined command arguments
substitution after expanding its own argument.  This patch fixes that,
which makes the example above work:

 (gdb) test 1
 $1 = 1
 (gdb) test 1 2 3
 $2 = 1
 $3 = 2
 $4 = 3
 (gdb)

New test included, similar the above, but also exercises expanding
$argc.

I think this is likely to simplify many scripts out there, so I'm
adding an example to the manual and mentioning it in NEWS as well.

gdb/ChangeLog:
2016-12-02  Pedro Alves  <palves@redhat.com>

	PR cli/20559
	* NEWS: Mention "eval" expands user-defined command arguments.
	* cli/cli-script.c (execute_control_command): Adjust to rename.
	(insert_args): Rename to ...
	(insert_user_defined_cmd_args): ... this, and make extern.
	* cli/cli-script.h (insert_user_defined_cmd_args): New
	declaration.
	* printcmd.c: Include "cli/cli-script.h".
	(eval_command): Call insert_user_defined_cmd_args.

gdb/doc/ChangeLog:
2016-12-02  Pedro Alves  <palves@redhat.com>

	PR cli/20559
	* gdb.texinfo (Define): Add example of using "eval" to process a
	variable number of arguments.
	(Output) <eval>: Add anchor.

gdb/testsuite/ChangeLog:
2016-12-02  Pedro Alves  <palves@redhat.com>

	PR cli/20559
	* gdb.base/commands.exp (user_defined_command_args_eval): New
	procedure.
	(top level): Call it.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Test user-defined gdb commands and arguments stack
@ 2016-12-02 20:34 sergiodj+buildbot
  2016-12-10 12:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 20:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ec835369f121c11d6e9484ed8c6c11097ad545c5 ***

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

Test user-defined gdb commands and arguments stack

We're missing a test that makes sure that arguments to user-defined
commands are handled correctly when a user-defined command calls
another user-defined command / recurses.

The following patch changes that code, so add such a test first so we
can be confident won't be breaking this use case.

gdb/testsuite/ChangeLog:
2016-12-02  Pedro Alves  <palves@redhat.com>

	* gdb.base/commands.exp (user_defined_command_args_stack_test):
	New procedure.
	(top level): Call it.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Support an "unlimited" number of user-defined arguments
@ 2016-12-02 21:13 sergiodj+buildbot
  2016-12-10 14:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 21:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT df3ee9ca894f7e831713c332aa7820a6463c2435 ***

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

Support an "unlimited" number of user-defined arguments

New in v2:

  - A few adjustments / simplifications were possible now that we
    require C++11:

    . Use std::unique_ptr to make the user_args_stack std::vector own
      its elements:

       static std::vector<std::unique_ptr<user_args>> user_args_stack;

    . use vector::emplace_back to construct elements directly in the
      corresponding vectors.

    . use std::to_string instead of adding a gdb::to_string
      replacement.

  - Now includes a test.

Docs/NEWS are unchanged from v1 and have already been approved.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I recently wrote a user-defined command that could benefit from
supporting an unlimited number of arguments:

 http://palves.net/list-active-signal-handlers-with-gdb/

E.g., 'info signal-dispositions 1 2 3 4 5 6 7 8 9 10 11'

However, we currently only support up to 10 arguments passed to
user-defined commands ($arg0..$arg9).

I can't find a good reason for that, other than "old code with hard
coded limits".  This patch removes that limit and modernizes the code
along the way:

  - Makes the user_args struct a real C++ class that uses std::vector
    for storage.

  - Removes the "next" pointer from within user_args and uses a
    std::vector to maintain a stack instead.

  - Adds a new RAII-based scoped_user_args_level class to help
    push/pop user args in the stack instead of using a cleanup.

gdb/ChangeLog:
2016-12-02  Pedro Alves  <palves@redhat.com>

	* NEWS: Mention that user commands now accept an unlimited number
	of arguments.
	* cli/cli-script.c: Include <vector>.
	(struct string_view): New type.
	(MAXUSERARGS): Delete.
	(struct user_args): Now a C++ class.
	(user_args_stack): New.
	(struct scoped_user_args_level): New type.
	(execute_user_command): Use scoped_user_args_level.
	(arg_cleanup): Delete.
	(setup_user_args): Deleted, and refactored as ...
	(user_args::user_args): ... this new constructor.  Limit of number
	of arguments removed.
	(insert_user_defined_cmd_args): Defer to user_args_stack.
	(user_args::insert_args): New, bits based on old
	insert_user_defined_cmd_args with limit of number of arguments
	eliminated.

gdb/doc/ChangeLog:
2016-12-02  Pedro Alves  <palves@redhat.com>

	* gdb.texinfo (User-defined Commands): Limit on number of
	arguments passed to user-defined commands removed; update.

gdb/testsuite/ChangeLog:
2016-12-02  Pedro Alves  <palves@redhat.com>

	* gdb.base/commands.exp (user_defined_command_manyargs_test): New
	procedure.
	(top level): Call it.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove unneeded pattern matching in gdb.base/maint.exp
@ 2016-12-02 21:50 sergiodj+buildbot
  2016-12-10 16:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 21:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 107c2d628b924de1854d6d254d60e97e1887ce4a ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 107c2d628b924de1854d6d254d60e97e1887ce4a

Remove unneeded pattern matching in gdb.base/maint.exp

This gets rid of more useless pattern matching cases in gdb.base/maint.exp.

gdb/testsuite/ChangeLog:

2016-12-02  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
	possible.
	Remove useless pattern-matching code.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Introduce enum_flag type for ui_out flags
@ 2016-12-02 22:35 sergiodj+buildbot
  2016-12-10 19:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-02 22:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bef721e278d9ba3178e679eda38ac86ef2dc0d5d ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: bef721e278d9ba3178e679eda38ac86ef2dc0d5d

Introduce enum_flag type for ui_out flags

This patch changes the ui_out flags to be an enum flag.

gdb/ChangeLog:

	* ui-out.h: Include "common/enum-flags.h".
	(enum ui_flags): Rename to ...
	(enum ui_out_flag): ... this.
	(ui_out_flags): Define enum flag type.
	(ui_out_test_flags): Change type of parameter to ui_out_flags.
	(ui_out_new): Likewise.
	* ui-out.c (ui_out_test_flags): Likewise.
	(ui_out_new): Likewise.
	* cli-out.c (cli_out_new): Update variable type.
	* mi/mi-out.c (mi_out_new): Likewise.
	* tui/tui-out.c (tui_out_new): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] ppc64_elf_copy_indirect_symbol versioned_hidden fix
@ 2016-12-03 11:13 sergiodj+buildbot
  2016-12-11  0:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-03 11:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 474436e67c72d2426e79e600d725812514db0dbe ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 474436e67c72d2426e79e600d725812514db0dbe

ppc64_elf_copy_indirect_symbol versioned_hidden fix

As per _bfd_elf_link_hash_copy_indirect.

	* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy dynamic
	flags when direct symbol is versioned_hidden.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Indirect and warning symbols
@ 2016-12-03 11:55 sergiodj+buildbot
  2016-12-11  2:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-03 11:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8400d40d954ec3b4a3fe9200645a1b6e90ba46f4 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 8400d40d954ec3b4a3fe9200645a1b6e90ba46f4

Indirect and warning symbols

It's possible but unlikely that an indirect symbol points at a warning
symbol.

	* elf64-ppc.c (add_symbol_adjust): Correct order of tests for
	warning and indirect symbols.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PowerPC64 add_symbol_adjust
@ 2016-12-03 12:21 sergiodj+buildbot
  2016-12-11  3:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-03 12:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 35dc6e06960790cd60b890c14e45f82f110b898f ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 35dc6e06960790cd60b890c14e45f82f110b898f

PowerPC64 add_symbol_adjust

	* elf64-ppc.c (add_symbol_adjust): Delete dead code.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Tidy ppc64_elf_hide_symbol
@ 2016-12-03 13:02 sergiodj+buildbot
  2016-12-11  6:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-03 13:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b8ac28419be22fe0cc72f6eaaba1ab029610fc71 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: b8ac28419be22fe0cc72f6eaaba1ab029610fc71

Tidy ppc64_elf_hide_symbol

	* elf64-ppc.c (ppc64_elf_hide_symbol): Access hash table as
	elf_link_hash_table rather than ppc_link_hash_table.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix bugs with tbnz/tbz instructions.
@ 2016-12-04  2:02 sergiodj+buildbot
  2016-12-11 12:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-04  2:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 668650d58d61d9d170f3e5b5c1657ed1c3e2b34b ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 668650d58d61d9d170f3e5b5c1657ed1c3e2b34b

Fix bugs with tbnz/tbz instructions.

sim/aarch64
	* simulator.c (tbnz, tbz): Cast 1 to uint64_t before shifting.
	(dexTestBranchImmediate): Shift high bit of pos by 5 not 4.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix assertion failure in linker triggered by corrupt input file.
@ 2016-12-05 12:47 sergiodj+buildbot
  2016-12-12  0:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 12:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 39d4daf68e696bbf2db417abe677b2e68f3aace9 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 39d4daf68e696bbf2db417abe677b2e68f3aace9

Fix assertion failure in linker triggered by corrupt input file.

	PR ld/20925
	* aoutx.h (aout_link_add_symbols): Replace BFD_ASSERT with return
	FALSE.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix seg-fault in linker parsing a corrupt input file.
@ 2016-12-05 13:22 sergiodj+buildbot
  2016-12-12  2:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 13:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT daae68f4f372e0618d6b9c64ec0f1f74eae6ab3d ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: daae68f4f372e0618d6b9c64ec0f1f74eae6ab3d

Fix seg-fault in linker parsing a corrupt input file.

	PR ld/20924
	(aout_link_add_symbols): Fix off by one error checking for
	overflow of string offset.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix seg-fault attempting to strip a corrupt binary.
@ 2016-12-05 14:06 sergiodj+buildbot
  2016-12-12  5:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 14:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a55c9876bb111fd301b4762cf501de0040b8f9db ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: a55c9876bb111fd301b4762cf501de0040b8f9db

Fix seg-fault attempting to strip a corrupt binary.

	PR binutils/20922
	* elf.c (find_link): Check for null headers before attempting to
	match them.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfd, ld: Continue after partially-successful relaxed call relocations in sparc.
@ 2016-12-05 15:01 sergiodj+buildbot
  2016-12-12  8:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 15:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 597e138ca0cf96889a1965d06d28552c1d1174d2 ***

Author: Alyssa Milburn <amilburn@zall.org>
Branch: master
Commit: 597e138ca0cf96889a1965d06d28552c1d1174d2

bfd,ld: Continue after partially-successful relaxed call relocations in sparc.

bfd/ChangeLog:

2016-12-05  Alyssa Milburn <amilburn@zall.org>

  	* elfxx-sparc.c: Do not stop processing relocations after
    	partially relaxing a call with WDISP30.

ld/ChangeLog:

2016-12-05  Alyssa Milburn <amilburn@zall.org>

	* testsuite/ld-sparc/wdispcall.s: New file.
    	* testsuite/ld-sparc/wdispcall.dd: Likewise.
    	* testsuite/ld-sparc/sparc.exp: Run new test.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [ARM] Add ARMv8.3 command line option and feature flag
@ 2016-12-05 15:33 sergiodj+buildbot
  2016-12-12  9:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 15:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a12fd8e1b1c9c6a16e3cc9fc477d7e459776b587 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: a12fd8e1b1c9c6a16e3cc9fc477d7e459776b587

[ARM] Add ARMv8.3 command line option and feature flag

ARMv8.3 is an architectural extension of ARMv8.  Add the
feature macro and -march=armv8.3-a gas command line option
for the ARM target.

https://community.arm.com/groups/processors/blog/2016/10/27/armv8-a-architecture-2016-additions

gas/
	* config/tc-arm.c (arm_archs): Add "armv8.3-a".
	* doc/c-arm.texi (-march): Add "armv8.3-a".

include/
	* opcode/arm.h (ARM_EXT2_V8_3A, ARM_AEXT2_V8_3A): New.
	(ARM_ARCH_V8_3A): New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [ARM] Add ARMv8.3 VJCVT instruction
@ 2016-12-05 16:01 sergiodj+buildbot
  2016-12-12 11:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 16:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 49e8a725825c77aacc7458b9d7771cb2fa2f64c7 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: 49e8a725825c77aacc7458b9d7771cb2fa2f64c7

[ARM] Add ARMv8.3 VJCVT instruction

Add support for VJCVT javascript conversion instruction.

gas/
	* config/tc-arm.c (arm_ext_v8_3, do_vjcvt): Define.
	(insns): Add vjcvt.
	* testsuite/gas/aarch64/armv8_3-a-fp.s: New.
	* testsuite/gas/aarch64/armv8_3-a-fp.d: New.
	* testsuite/gas/aarch64/armv8_3-a-fp-bad.s: New.
	* testsuite/gas/aarch64/armv8_3-a-fp-bad.d: New.
	* testsuite/gas/aarch64/armv8_3-a-fp-bad.l: New.

opcodes/
	* arm-dis.c (coprocessor_opcodes): Add vjcvt.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [ARM] Add ARMv8.3 VCMLA and VCADD instructions
@ 2016-12-05 16:45 sergiodj+buildbot
  2016-12-12 14:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 16:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c28eeff2eabbba2246799470f3713716fa629680 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: c28eeff2eabbba2246799470f3713716fa629680

[ARM] Add ARMv8.3 VCMLA and VCADD instructions

Add support for VCMLA and VCADD advanced SIMD complex number instructions.

The command line option is -march=armv8.3-a+fp16+simd for enabling all
instructions.

In arm-dis.c the formatting syntax was abused a bit to select between
0 vs 90 or 180 vs 270 or 90 vs 270 based on a bit value instead of
duplicating entries in the opcode table.

gas/
	* config/tc-arm.c (do_vcmla, do_vcadd): Define.
	(neon_scalar_for_vcmla): Define.
	(enum operand_parse_code): Add OP_IROT1 and OP_IROT2.
	(NEON_ENC_TAB): Add DDSI and QQSI variants.
	(insns): Add vcmla and vcadd.
	* testsuite/gas/arm/armv8_3-a-simd.d: New.
	* testsuite/gas/arm/armv8_3-a-simd.s: New.
	* testsuite/gas/arm/armv8_3-a-simd-bad.d: New.
	* testsuite/gas/arm/armv8_3-a-simd-bad.l: New.
	* testsuite/gas/arm/armv8_3-a-simd-bad.s: New.

opcodes/
	* arm-dis.c (coprocessor_opcodes): Add vcmla and vcadd.
	(print_insn_coprocessor): Add 'V' format for neon D or Q regs.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix seg-fault running strip on a corrupt binary.
@ 2016-12-05 17:30 sergiodj+buildbot
  2016-12-12 17:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 17:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e2996cc315d6ea242e1a954dc20246485ccc8512 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: e2996cc315d6ea242e1a954dc20246485ccc8512

Fix seg-fault running strip on a corrupt binary.

	PR binutils/20921
	* aoutx.h (squirt_out_relocs): Check for and report any relocs
	that could not be recognised.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix abort when running tools on a bogus binary.
@ 2016-12-05 17:56 sergiodj+buildbot
  2016-12-12 19:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 17:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 52c4f3bdd5957a31b671a9791f462be5e8eadd85 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 52c4f3bdd5957a31b671a9791f462be5e8eadd85

Fix abort when running tools on a bogus binary.

	PR binutils/20907
	* peicode.h (pe_ILF_build_a_bfd): Replace abort with error return.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix seg-fault in the binutils utilities when reading a corrupt input file.
@ 2016-12-05 18:41 sergiodj+buildbot
  2016-12-12 22:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-05 18:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fa6631b4eecfcca00c13b9594e6336dffd40982f ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: fa6631b4eecfcca00c13b9594e6336dffd40982f

Fix seg-fault in the binutils utilities when reading a corrupt input file.

	PR binutils/20905
	* peicode.h (pe_ILF_object_p): Use strnlen to avoid running over
	the end of the string buffer.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] argv.c (expandargv): Check for directories passed as @-files.
@ 2016-12-06  7:30 sergiodj+buildbot
  2016-12-13  0:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-06  7:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fc72affa6875e81fc9d495a216a8bcb34045ffcd ***

Author: DJ Delorie <dj@redhat.com>
Branch: master
Commit: fc72affa6875e81fc9d495a216a8bcb34045ffcd

argv.c (expandargv): Check for directories passed as @-files.

gcc pr 78584


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PowerPC64 toc optimisation for power9
@ 2016-12-06  8:18 sergiodj+buildbot
  2016-12-13  3:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-06  8:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 39eeab253474493bc9477dbb2bd9c8041f05764b ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 39eeab253474493bc9477dbb2bd9c8041f05764b

PowerPC64 toc optimisation for power9

Recognize power9 and a few other insns from older machines.  Fixes
linker complaints like "toc optimization is not supported for
0xf4090002 instruction".  0xf4090002 is stxsd v0,0(r9)

bfd/
	* elf64-ppc.c (ok_lo_toc_insn): Add r_type param.  Recognize
	lq,lfq,lxv,lxsd,lxssp,lfdp,stq,stfq,stxv,stxsd,stxssp,stfdp.
	Don't match lmd and stmd.
ld/
	* testsuite/ld-powerpc/tocopt7.s,
	* testsuite/ld-powerpc/tocopt7.out,
	* testsuite/ld-powerpc/tocopt7.d: New test.
	* testsuite/ld-powerpc/tocopt8.s,
	* testsuite/ld-powerpc/tocopt8.d: New test.
	* testsuite/ld-powerpc/powerpc.exp: Run them.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Assert on lval_register
@ 2016-12-06 14:59 sergiodj+buildbot
  2016-12-13  6:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-06 14:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7c2ba67e6ab10879968c938aefd4d0d0b4ce79bc ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 7c2ba67e6ab10879968c938aefd4d0d0b4ce79bc

Assert on lval_register

This patch adds asserts where the value's lval must be lval_register.
This triggers an error in frame_register_unwind because VALUE_REGNUM
is used but value's lval is not lval_register.

This also reveals a design issue in frame_register_unwind, that is
arguments addrp and realnump are mutually exclusive, we either use
addrp (for lval_memory), or use realnump (for lval_register).  This
can be done in a separate patch.

gdb:

2016-12-06  Yao Qi  <yao.qi@linaro.org>

	* frame.c (frame_register_unwind): Set *realnump if *lvalp is
	lval_register.
	* value.c (deprecated_value_next_frame_id_hack): Assert
	value->lval is lval_register.
	(deprecated_value_regnum_hack): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix seg-fault in strip when copying a corrupt binary.
@ 2016-12-06 17:12 sergiodj+buildbot
  2016-12-13 12:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-06 17:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4f3ca05b487e9755018b4c9a053a2e6c35d8a7df ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 4f3ca05b487e9755018b4c9a053a2e6c35d8a7df

Fix seg-fault in strip when copying a corrupt binary.

	PR binutils/20931
	* elf.c (copy_special_section_fields): Check for an invalid
	sh_link field before attempting to follow it.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove unnecessary inferior lookup in inferior_command
@ 2016-12-06 21:38 sergiodj+buildbot
  2016-12-13 12:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-06 21:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5590c2bae0fb41e90bc9698e55d8ec1fe22a9173 ***

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

Remove unnecessary inferior lookup in inferior_command

In the case where we switch to a non-running inferior, we do a
"find_inferior_id (num)", although we did the same call right before.

gdb/ChangeLog:

	* inferior.c (inferior_command): Remove duplicate
	find_inferior_id call.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix internal error in the linker by replacing a call to abort with an error message.
@ 2016-12-07 10:48 sergiodj+buildbot
  2016-12-13 15:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-07 10:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c2596ca5d7f6ab6d38882bf0f0fc44fe352afcb1 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: c2596ca5d7f6ab6d38882bf0f0fc44fe352afcb1

Fix internal error in the linker by replacing a call to abort with an error message.

	PR ld/20932
	* elflink.c (bfd_elf_record_link_assignment): Replace call to
	abort with an error message and error return value.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS/include: opcode/mips.h: Add a comment for ASE_DSPR3
@ 2016-12-07 13:08 sergiodj+buildbot
  2016-12-13 17:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-07 13:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b8760d2cb51517789110c7b2dbd8f61dce08291d ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: b8760d2cb51517789110c7b2dbd8f61dce08291d

MIPS/include: opcode/mips.h: Add a comment for ASE_DSPR3

Complement commit 8f4f9071ad5f ("Add MIPS32 DSPr3 support.").

	include/
	* opcode/mips.h (ASE_DSPR3): Add a comment.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS/opcodes: Reformat `-M' disassembler option's help text
@ 2016-12-07 13:56 sergiodj+buildbot
  2016-12-13 21:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-07 13:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6725647ca2a0adc9206059814725102b53ea6478 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 6725647ca2a0adc9206059814725102b53ea6478

MIPS/opcodes: Reformat `-M' disassembler option's help text

Align output produced consistently and fix other formatting issues.

	opcodes/
	* mips-dis.c (print_mips_disassembler_options): Reformat output.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Update opcode table comment
@ 2016-12-07 14:08 sergiodj+buildbot
  2016-12-13 23:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-07 14:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 343fa6906329eb5ec070cf2c05884e49a1cb9d46 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 343fa6906329eb5ec070cf2c05884e49a1cb9d46

MIPS16/opcodes: Update opcode table comment

	opcodes/
	* mips16-opc.c (mips16_opcodes): Update comment naming structure
	members.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS/include: opcode/mips.h: Correct INSN_CHIP_MASK
@ 2016-12-07 15:39 sergiodj+buildbot
  2016-12-14  3:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-07 15:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4b0781150f69b6ff251dac447c77e4d4f6598da8 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 4b0781150f69b6ff251dac447c77e4d4f6598da8

MIPS/include: opcode/mips.h: Correct INSN_CHIP_MASK

Complement commit e407c74b5b60 ("Support for MIPS R5900 (Sony Playstation
2)"), <https://sourceware.org/ml/binutils/2012-12/msg00240.html>, and
commit 2c62985659da ("MIPS: Add Octeon 3 support") and update the chip
mask accordingly.

	include/
	* opcode/mips.h (INSN_CHIP_MASK): Update according to bit use.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Hurd: Adjust to "Per-inferior/Inferior-qualified thread IDs" changes
@ 2016-12-07 21:39 sergiodj+buildbot
  2016-12-14  6:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-07 21:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 14f6890677849172a4b13779acd9089c9baa3a81 ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: 14f6890677849172a4b13779acd9089c9baa3a81

Hurd: Adjust to "Per-inferior/Inferior-qualified thread IDs" changes

    [...]/gdb/gnu-nat.c: In function 'set_sig_thread_cmd':
    [...]/gdb/gnu-nat.c:2973:7: warning: implicit declaration of function 'thread_id_to_pid' [-Wimplicit-function-declaration]
           ptid_t ptid = thread_id_to_pid (atoi (args));
           ^
    [...]/gdb/gnu-nat.c:2973:7: error: invalid initializer

That's commit 5d5658a1d3c3eb2a09c03f2f0662a1c01963c869, which renamed
`thread_id_to_pid` to `global_thread_id_to_ptid`.

	gdb/
	* gnu-nat.c (set_sig_thread_cmd): Call global_thread_id_to_ptid
	instead of thread_id_to_pid.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Hurd, C++: Explicitly cast "void *"
@ 2016-12-08  8:11 sergiodj+buildbot
  2016-12-14  7:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-08  8:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e9e431d19426a6dd6b8923850398b847af0a1532 ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: e9e431d19426a6dd6b8923850398b847af0a1532

Hurd, C++: Explicitly cast "void *"

C++ doesn't do implicit type conversions from "void *", so we have to...

	gdb/
	* i386-gnu-nat.c (i386_gnu_dr_set_control_one)
	(i386_gnu_dr_set_addr_one): Explicitly cast "void *".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Hurd, C++: Avoid GNU C nested functions
@ 2016-12-08  9:00 sergiodj+buildbot
  2016-12-14  9:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-08  9:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a9617a426d001a748168fbc399fcc77e6d8d3cac ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: a9617a426d001a748168fbc399fcc77e6d8d3cac

Hurd, C++: Avoid GNU C nested functions

..., which C++ doesn't allow, so...

	gdb/
	* gnu-nat.c (gnu_create_inferior): Move nested "trace_me"
	function...
	(gnu_ptrace_me): ... here.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Hurd, C++: Avoid "const char *" to "char *" casts
@ 2016-12-08  9:33 sergiodj+buildbot
  2016-12-14 13:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-08  9:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 785102a7d34f2d48f9a1616bf931fea6de2385fb ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: 785102a7d34f2d48f9a1616bf931fea6de2385fb

Hurd, C++: Avoid "const char *" to "char *" casts

... by a bit of code refactoring:

	gdb/
	* gnu-nat.c (set_task_pause_cmd, set_signals_cmd)
	(set_exceptions_cmd): Add variants taking an "int arg" instead of
	a "char *".  Make the "char *" variants use the former.
	(set_noninvasive_cmd): Also use the "int arg" variants.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Hurd, C++: kern_return_t vs. error_t
@ 2016-12-08 10:43 sergiodj+buildbot
  2016-12-14 15:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-08 10:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0947023d1d4b5d8803a1065d622f707010b2bcdc ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: 0947023d1d4b5d8803a1065d622f707010b2bcdc

Hurd, C++: kern_return_t vs. error_t

GNU/Hurd uses its own "typedef enum __error_t_codes error_t;"
([glibc]/sysdeps/mach/hurd/bits/errno.h), contrary to the default
"typedef int error_t;" ([glibc]/stdlib/errno.h).

The Mach/Hurd RPCs return kern_return_t values, for which, upon assigning them
to an error_t variable, GCC in C++ mode tells us "error: invalid conversion
from 'kern_return_t {aka int}' to 'error_t {aka __error_t_codes}'".  Instead of
casting all these RPC return values to "error_t", just use "kern_return_t"
variables:

	gdb/
	* gnu-nat.c (proc_get_exception_port, proc_set_exception_port)
	(INF_RESUME_MSGPORT_RPC, proc_get_state, _proc_get_exc_port)
	(proc_steal_exc_port, proc_restore_exc_port, make_proc)
	(inf_startup, inf_set_pid, inf_validate_procinfo)
	(inf_validate_task_sc, inf_set_traced, inf_validate_procs)
	(inf_signal, inf_continue, gnu_wait, S_exception_raise_request)
	(do_mach_notify_dead_name, S_proc_wait_reply)
	(S_msg_sig_post_untraced_reply, S_msg_sig_post_reply)
	(port_msgs_queued, gnu_read_inferior, gnu_write_inferior)
	(gnu_find_memory_regions, steal_exc_port, thread_takeover_sc_cmd)
	(flush_inferior_icache): Instead of "error_t" use "kern_return_t".
	* i386-gnu-nat.c (fetch_fpregs, store_fpregs, i386_gnu_dr_get)
	(i386_gnu_dr_set): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Hurd, C++: Mach/Hurd headers and MIG stubs are not yet fit for C++
@ 2016-12-08 11:25 sergiodj+buildbot
  2016-12-14 18:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-08 11:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 21389b7f3451a482e14fef9bd32257c4c87f4317 ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: 21389b7f3451a482e14fef9bd32257c4c87f4317

Hurd, C++: Mach/Hurd headers and MIG stubs are not yet fit for C++

..., so handle these in "C" mode still:

	gdb/
	* config/i386/i386gnu.mh (%_S.o %_U.o): Add "-x c" to
	"COMPILE.post".
	* gnu-nat.c: #include Mach/Hurd headers before all others.  Wrap
	Mach/Hurd headers and MIG stubs' prototypes in 'extern "C"'.
	* i386-gnu-nat.c: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Hurd: In the CLI, use parse_thread_id instead of global_thread_id_to_ptid
@ 2016-12-08 11:33 sergiodj+buildbot
  2016-12-14 21:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-08 11:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c3187fa5cc72734e6fc766a85d657018c0516bad ***

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

Hurd: In the CLI, use parse_thread_id instead of global_thread_id_to_ptid

Follow-up to commit 14f6890677849172a4b13779acd9089c9baa3a81.
global_thread_id_to_ptid expects global thread numbers, which are nowadays only
used in MI, never presented to the user in the CLI.  Since this is a CLI
command, it should accept the inferior-qualified format instead.

	gdb/
	* gnu-nat.c (set_sig_thread_cmd): Use parse_thread_id instead of
	global_thread_id_to_ptid.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR20932, Internal error during record link assignment
@ 2016-12-08 12:39 sergiodj+buildbot
  2016-12-14 23:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-08 12:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8e2a4f11d477986aa360a3b588d35a194efe58f8 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 8e2a4f11d477986aa360a3b588d35a194efe58f8

PR20932, Internal error during record link assignment

	PR ld/20932
	* elflink.c (bfd_elf_record_link_assignment): Handle warning symbols.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] sync binutils config/ with gcc
@ 2016-12-08 13:02 sergiodj+buildbot
  2016-12-15  2:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-08 13:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT da17fe9de923fcee29e6f809693eb7e590966575 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: da17fe9de923fcee29e6f809693eb7e590966575

sync binutils config/ with gcc

config/
	* acx.m4: Import from gcc.
	* bootstrap-asan.mk: Likewise.
	* multi.m4: Likewise.
/
	* configure: Regnerate.
gas/
	* configure: Regnerate.
ld/
	* configure: Regnerate.
libiberty/
	* configure: Regnerate.
zlib/
	* configure: Regnerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix crash when disassembling invalid range on powerpc vle
@ 2016-12-08 13:58 sergiodj+buildbot
  2016-12-15  5:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-08 13:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3a2488dd21a895df3ffb49048f5de1a83ce2ddd4 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 3a2488dd21a895df3ffb49048f5de1a83ce2ddd4

Fix crash when disassembling invalid range on powerpc vle

I got a report of a gdb crash for vle and further investigation showed an
attempt to disassemble an invalid memory range.  I tracked the crash down
to the code in get_powerpc_dialect, where we fail to make sure we have a
valid section pointer before dereferencing it.

There is no such problem for rs6000-based disassembling.

opcodes/ChangeLog:

2016-12-08  Luis Machado  <lgustavo@codesourcery.com>

	* ppc-dis.c (get_powerpc_dialect): Check NULL info->section.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] AArch64/opcodes: Correct another `index' global shadowing error
@ 2016-12-09  0:14 sergiodj+buildbot
  2016-12-15 10:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-09  0:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 329d01f70ea6367a9593c9b31e268c06dd729ec9 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 329d01f70ea6367a9593c9b31e268c06dd729ec9

AArch64/opcodes: Correct another `index' global shadowing error

Fix a commit c2c4ff8d52a2 ("[AArch64] Add ARMv8.3 FCMLA and FCADD
instructions") build regression:

cc1: warnings being treated as errors
.../opcodes/aarch64-dis.c: In function 'aarch64_ext_sve_addr_rr_lsl':
.../opcodes/aarch64-dis.c:1324: error: declaration of 'index' shadows a global declaration
/usr/include/string.h:303: error: shadowed declaration is here
make[4]: *** [aarch64-asm.lo] Error 1

in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc command
line options used when compiling the binutils.").

	opcodes/
	* aarch64-asm.c (aarch64_ins_reglane): Rename `index' local
	variable to `reglane_index'.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Fix PC-relative operation delay-slot adjustment
@ 2016-12-09  0:50 sergiodj+buildbot
  2016-12-15 11:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-09  0:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 860b03a8f357d1565bd9d79ae25121059b2d28ae ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 860b03a8f357d1565bd9d79ae25121059b2d28ae

MIPS16/opcodes: Fix PC-relative operation delay-slot adjustment

Complement commit dd8b7c222e0e ("MIPS: mips16e jalrc/jrc opcodes"),
<https://sourceware.org/ml/binutils/2005-07/msg00349.html>, and stop the
disassembler making a delay-slot adjustment for PC-relative operations
following either MIPS16e compact jumps, or undefined RR/J(AL)R(C)
encodings that have the `l' (link) and `ra' (source register is `ra')
bits set both at a time.  Adjust code description for accuracy.  Add a
suitable test case.

	opcodes/
	* mips-dis.c (print_mips16_insn_arg): Avoid delay-slot
	adjustment for PC-relative operations following MIPS16e compact
	jumps or undefined RR/J(AL)R(C) encodings.

	binutils/
	* testsuite/binutils-all/mips/mips16-pcrel.d: New test.
	* testsuite/binutils-all/mips/mips16-pcrel.s: New test source.
	* testsuite/binutils-all/mips/mips.exp: Run the new test.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Fix off-by-one indentation in `print_mips16_insn_arg'
@ 2016-12-09  1:29 sergiodj+buildbot
  2016-12-15 13:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-09  1:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 39f66f3ae25ebd3a065218ce880280fd5b4b861c ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 39f66f3ae25ebd3a065218ce880280fd5b4b861c

MIPS16/opcodes: Fix off-by-one indentation in `print_mips16_insn_arg'

	opcodes/
	* mips-dis.c (print_mips16_insn_arg): Remove extraneous
	indentation space across.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Avoid PATH_MAX usage
@ 2016-12-09  7:23 sergiodj+buildbot
  2016-12-15 15:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-09  7:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 53488a6e194af11c2528e5e284facb8a6171b695 ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: 53488a6e194af11c2528e5e284facb8a6171b695

Avoid PATH_MAX usage

On GNU/Hurd, there is no "#define PATH_MAX", so this failed to build.

	gdb/
	* inferior.c (print_selected_inferior): Avoid PATH_MAX usage.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Hurd: Adjust to changes to "push pruning old threads down to the target"
@ 2016-12-09  8:00 sergiodj+buildbot
  2016-12-15 18:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-09  8:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c752a4cccb99ba73f51eff74b394dcdcd26d4c59 ***

Author: Thomas Schwinge <thomas@codesourcery.com>
Branch: master
Commit: c752a4cccb99ba73f51eff74b394dcdcd26d4c59

Hurd: Adjust to changes to "push pruning old threads down to the target"

For "info threads", we currently run into:

    $ gdb/gdb -q -nw -nx --batch -ex start -ex info\ threads bfd/doc/chew
    Temporary breakpoint 1 at 0x80486e0: file ../../../W._C._Handy/bfd/doc/chew.c, line 1535.
    [New Thread 10656.5]

    Thread 4 hit Temporary breakpoint 1, main (ac=1, av=0x102cd84) at ../../../W._C._Handy/bfd/doc/chew.c:1535
    1535    {
      Id   Target Id         Frame
      1    bogus thread id 1 Can't fetch registers from thread bogus thread id 1: No such thread

Before commit e8032dde10b743253125d7defb5f5503b21c1d26,
gdb/thread.c:update_thread_list used to call prune_threads, after that change
it doesn't anymore, and we don't implement the to_update_thread_list target
method where the prune_threads call got moved.  For now, apply a fix, related
to commit c82f56d9d760a9b4034eeaac44f2f0fa5779ff69 "Hurd: Adjust to
startup-with-shell changes", which restores the previous behavior:

      Id   Target Id         Frame
    * 4    Thread 10688.4    main (ac=1, av=0x102cd84) at ../../../W._C._Handy/bfd/doc/chew.c:1535
      5    Thread 10688.5    0x0106096c in ?? () from /lib/i386-gnu/libc.so.0.3

Not perfect, but at least better.

	gdb/
	* gnu-nat.c (gnu_create_inferior): After startup_inferior, call
	prune_threads.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Compile gdb.perf/skip-prologue.c with and without debug info
@ 2016-12-09 10:25 sergiodj+buildbot
  2016-12-15 21:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 10:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 364ca42e71dfdce3f34e97ef028f7e3d5b5d880e ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 364ca42e71dfdce3f34e97ef028f7e3d5b5d880e

Compile gdb.perf/skip-prologue.c with and without debug info

gdb.perf/skip-prologue.exp is intended to measure the performance of
skipping prologue with prologue analysis by setting breakpoints.
However, if program is compiled with debug info, GDB is smart to
skip prologue by line table from debug info, so prologue analysis
is not exercised at all.

This patch adds a parameter COMPILE to specify compiling with
debug information, otherwise, it is compiled without debug
information.

gdb/testsuite:

2016-12-09  Yao Qi  <yao.qi@linaro.org>

	* gdb.perf/skip-prologue.exp: Add parameter COMPILE.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use code cache in arm prologue analyzer
@ 2016-12-09 11:10 sergiodj+buildbot
  2016-12-15 23:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 11:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 198cd59d289209ad63cdd6da45e02a1c12b423a7 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 198cd59d289209ad63cdd6da45e02a1c12b423a7

Use code cache in arm prologue analyzer

This patch change arm prologue analyzer using code cache, in order
to improve the performance of remote debugging.

gdb.perf/skip-prologue.exp (measured by wall-time) is improved a lot,

			Original	Patched		Original	Patched
			without dbg	without dbg	with dbg	with dbg

-marm			14.166741848	9.32852292061  	11.4908499718  	9.16302204132
-marm   		14.6705040932  	9.34849786758  	18.2788009644  	9.14823913574
\-fstack-protector-all
-mthumb			34.4391930103	10.6062178612 	13.7886838913	10.3094120026
-mthumb
\-fstack-protector-all	34.9310460091	10.6413481236	25.3875930309	10.6294929981

gdb:

2016-12-09  Yao Qi  <yao.qi@linaro.org>

	* arm-tdep.c (skip_prologue_function): Call
	read_code_unsigned_integer instead of
	read_memory_unsigned_integer.
	(thumb_analyze_prologue): Likewise.
	(arm_analyze_load_stack_chk_guard): Likewise.
	(arm_skip_stack_protector): Likewise.
	(arm_analyze_prologue):Likewise.
	(extend_buffer_earlier): Call target_read_code instead
	of target_read_memory.
	(arm_adjust_breakpoint_address): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use code cache in aarch64 prologue analyzer
@ 2016-12-09 11:55 sergiodj+buildbot
  2016-12-16  2:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 11:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fc2f703edb656c69b0026a006c6063cdb255e06a ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: fc2f703edb656c69b0026a006c6063cdb255e06a

Use code cache in aarch64 prologue analyzer

This patch change aarch prologue analyzer using code cache, in order
to improve the performance of remote debugging.

gdb.perf/skip-prologue.exp (measured by wall-time) is improved when
the program is compiled without debug information.

			Original	Patched		Original	Patched
			without dbg	without dbg	with dbg	with dbg

/			11.1635239124	9.99472999573	9.65339517593	9.66648793221
-fstack-protector-all	11.2560930252	9.338118	9.63896489143	9.59474396706

gdb:

2016-12-9  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c (instruction_reader::read): Call
	read_code_unsigned_integer instead of
	read_memory_unsigned_integer.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add test that exercises all bfd architecture, osabi, endian, etc. combinations
@ 2016-12-09 15:28 sergiodj+buildbot
  2016-12-16  4:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 15:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f1b5deee16144a75aa605bf37ed38d461587d399 ***

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

Add test that exercises all bfd architecture, osabi, endian, etc. combinations

This adds a test that exposes several problems fixed by earlier
patches:

#1 - Buffer overrun when host/target formats match, but sizes don't.
     https://sourceware.org/ml/gdb-patches/2016-03/msg00125.html

#2 - Missing handling for FR-V FR300.
     https://sourceware.org/ml/gdb-patches/2016-03/msg00117.html

#3 - BFD architectures with spaces in their names (v850).
     https://sourceware.org/ml/binutils/2016-03/msg00108.html

#4 - The OS ABI names with spaces issue.
     https://sourceware.org/ml/gdb-patches/2016-03/msg00116.html

#5 - Bogus HP/PA long double format.
     https://sourceware.org/ml/gdb-patches/2016-03/msg00122.html

#6 - Cris big endian internal error.
     https://sourceware.org/ml/gdb-patches/2016-03/msg00126.html

#7 - Several PowerPC bfd archs/machines not handled by gdb.
     https://sourceware.org/bugzilla/show_bug.cgi?id=19797

And hopefully helps catch others in the future.

This started out as a test that simply did,

 gdb -ex "print 1.0L"

to exercise #1 above.

Then to cover both 32-bit target / 64-bit host and the converse, I
thought of having the testcase print the floats twice, once with the
architecture set to "i386" and then to "i386:x86-64".  This way it
wouldn't matter whether gdb was built as 32-bit or a 64-bit program.

Then I thought that other archs might have similar host/target
floatformat conversion issues as well.  Instead of hardcoding some
architectures in the test file, I thought we could just iterate over
all bfd architectures and OS ABIs supported by the gdb build being
tested.  This is what then exposed all the other problems listed
above...

With an --enable-targets=all, this exercises over 14 thousand
combinations.  If left in a single test file, it all consistenly runs
in under a minute on my machine (An Intel i7-4810MQ @ 2.8 MHZ running
Fedora 23).  Split in 8 chunks, as in this commit, it runs in around
25 seconds, with make -j8.

To avoid flooding the gdb.sum file, it avoids calling "pass" on each
tested combination/iteration.  I'm explicitly not implementing that by
passing an empty message to gdb_test / gdb_test_multiple, because I
still want a FAIL to be logged in gdb.sum.  So instead this puts the
internal passes in the gdb.log file, only, prefixed "IPASS:", for
internal pass.  TBC, if some iteration fails, it'll still show up as
FAIL in gdb.sum.  If this is an approach that takes on, I can see us
extending the common bits to support it for all testcases.

gdb/testsuite/ChangeLog:
2016-12-09  Pedro Alves  <palves@redhat.com>

	* gdb.base/all-architectures-0.exp: New file.
	* gdb.base/all-architectures-1.exp: New file.
	* gdb.base/all-architectures-2.exp: New file.
	* gdb.base/all-architectures-3.exp: New file.
	* gdb.base/all-architectures-4.exp: New file.
	* gdb.base/all-architectures-5.exp: New file.
	* gdb.base/all-architectures-6.exp: New file.
	* gdb.base/all-architectures-7.exp: New file.
	* gdb.base/all-architectures.exp.in: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Create tdep->rl78_psw_type lazily
@ 2016-12-09 16:12 sergiodj+buildbot
  2016-12-16  8:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 16:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a31b34a18d61dee55042f2ab23c8fa9203fe6ef ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 1a31b34a18d61dee55042f2ab23c8fa9203fe6ef

Create tdep->rl78_psw_type lazily

I build GDB for all targets enabled.  When I "set architecture rl78",
GDB crashes,

(gdb) set architecture rl78

Program received signal SIGSEGV, Segmentation fault.
append_flags_type_flag (type=0x20cc0e0, bitpos=bitpos@entry=0, name=name@entry=0x11dba3f "CY") at ../../binutils-gdb/gdb/gdbtypes.c:4926
4926				   name);
(gdb) bt 10
 #0  append_flags_type_flag (type=0x20cc0e0, bitpos=bitpos@entry=0, name=name@entry=0x11dba3f "CY") at ../../binutils-gdb/gdb/gdbtypes.c:4926
 #1  0x00000000004aaca8 in rl78_gdbarch_init (info=..., arches=<optimized out>) at ../../binutils-gdb/gdb/rl78-tdep.c:1410
 #2  0x00000000006b05a4 in gdbarch_find_by_info (info=...) at ../../binutils-gdb/gdb/gdbarch.c:5269
 #3  0x000000000060eee4 in gdbarch_update_p (info=...) at ../../binutils-gdb/gdb/arch-utils.c:557
 #4  0x000000000060f8a8 in set_architecture (ignore_args=<optimized out>, from_tty=1, c=<optimized out>) at ../../binutils-gdb/gdb/arch-utils.c:531
 #5  0x0000000000593d0b in do_set_command (arg=<optimized out>, arg@entry=0x20be851 "rl78", from_tty=from_tty@entry=1, c=c@entry=0x20b1540)
    at ../../binutils-gdb/gdb/cli/cli-setshow.c:455
 #6  0x00000000007665c3 in execute_command (p=<optimized out>, p@entry=0x20be840 "set architecture rl78", from_tty=1) at ../../binutils-gdb/gdb/top.c:666
 #7  0x00000000006935f4 in command_handler (command=0x20be840 "set architecture rl78") at ../../binutils-gdb/gdb/event-top.c:577
 #8  0x00000000006938d8 in command_line_handler (rl=<optimized out>) at ../../binutils-gdb/gdb/event-top.c:767
 #9  0x0000000000692c2c in gdb_rl_callback_handler (rl=0x20be890 "") at ../../binutils-gdb/gdb/event-top.c:200

The cause is that we want to access some builtin types in gdbarch init, but
it is not initialized yet.  I fix it by creating the type when it is to be
used.  We've already done this in sparc, sparc64 and m68k.

gdb:

2016-12-09  Yao Qi  <yao.qi@linaro.org>

	PR tdep/20953
	* rl78-tdep.c (rl78_psw_type): New function.
	(rl78_register_type): Call rl78_psw_type.
	(rl78_gdbarch_init): Move code to rl78_psw_type.

gdb/testsuite:

2016-12-09  Yao Qi  <yao.qi@linaro.org>

	* gdb.base/all-architectures.exp.in: Remove kfail for rl78.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Create tdep->rx_psw_type and tdep->rx_fpsw_type lazily
@ 2016-12-09 17:14 sergiodj+buildbot
  2016-12-16 10:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 17:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a28aa6edd4ba848c110cd73fd4e29c2bbdb2cb72 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: a28aa6edd4ba848c110cd73fd4e29c2bbdb2cb72

Create tdep->rx_psw_type and tdep->rx_fpsw_type lazily

I build GDB with all targets enabled, and "set architecture rx",
GDB crashes,

(gdb) set architecture rx

Program received signal SIGSEGV, Segmentation fault.
append_flags_type_flag (type=0x20cc360, bitpos=bitpos@entry=0, name=name@entry=0xd27529 "C") at ../../binutils-gdb/gdb/gdbtypes.c:4926
4926				   name);
(gdb) bt 10
 #0  append_flags_type_flag (type=0x20cc360, bitpos=bitpos@entry=0, name=name@entry=0xd27529 "C") at ../../binutils-gdb/gdb/gdbtypes.c:4926
 #1  0x00000000004ce725 in rx_gdbarch_init (info=..., arches=<optimized out>) at ../../binutils-gdb/gdb/rx-tdep.c:1051
 #2  0x00000000006b05a4 in gdbarch_find_by_info (info=...) at ../../binutils-gdb/gdb/gdbarch.c:5269
 #3  0x000000000060eee4 in gdbarch_update_p (info=...) at ../../binutils-gdb/gdb/arch-utils.c:557
 #4  0x000000000060f8a8 in set_architecture (ignore_args=<optimized out>, from_tty=1, c=<optimized out>) at ../../binutils-gdb/gdb/arch-utils.c:531
 #5  0x0000000000593d0b in do_set_command (arg=<optimized out>, arg@entry=0x20bee81 "rx ", from_tty=from_tty@entry=1, c=c@entry=0x20b1540)
    at ../../binutils-gdb/gdb/cli/cli-setshow.c:455
 #6  0x00000000007665c3 in execute_command (p=<optimized out>, p@entry=0x20bee70 "set architecture rx ", from_tty=1) at ../../binutils-gdb/gdb/top.c:666
 #7  0x00000000006935f4 in command_handler (command=0x20bee70 "set architecture rx ") at ../../binutils-gdb/gdb/event-top.c:577
 #8  0x00000000006938d8 in command_line_handler (rl=<optimized out>) at ../../binutils-gdb/gdb/event-top.c:767
 #9  0x0000000000692c2c in gdb_rl_callback_handler (rl=0x20be7f0 "") at ../../binutils-gdb/gdb/event-top.c:200

The cause is that we want to access some builtin types in gdbarch init, but
it is not initialized yet.  I fix it by creating the type when it is to be
used.  We've already done this in sparc, sparc64 and m68k.

gdb:

2016-12-09  Yao Qi  <yao.qi@linaro.org>

	PR tdep/20954
	* rx-tdep.c (rx_psw_type): New function.
	(rx_fpsw_type): New function.
	(rx_register_type): Call rx_psw_type and rx_fpsw_type.
	(rx_gdbarch_init): Move code to rx_psw_type and
	rx_fpsw_type.

gdb/testsuite:

2016-12-09  Yao Qi  <yao.qi@linaro.org>

	* gdb.base/all-architectures.exp.in: Remove kfail for "rx".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Remove support for obsolete OSABIs and a.out
@ 2016-12-09 19:39 sergiodj+buildbot
  2016-12-16 19:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 19:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1736a7bd96e8927c3f889a35f9153df4fd19d833 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 1736a7bd96e8927c3f889a35f9153df4fd19d833

gdb: Remove support for obsolete OSABIs and a.out

gdb/ChangeLog:
2016-12-09  Pedro Alves  <palves@redhat.com>

	* Makefile.in (ALL_TARGET_OBS): Remove vax-obsd-tdep.o.
	* alpha-fbsd-tdep.c (_initialize_alphafbsd_tdep): Adjust.
	* alpha-nbsd-tdep.c: Move comment to _initialize_alphanbsd_tdep.
	(alphanbsd_core_osabi_sniffer): Delete.
	(_initialize_alphanbsd_tdep): No longer handle a.out.
	* alpha-obsd-tdep.c (_initialize_alphaobsd_tdep): Adjust.
	* amd64-fbsd-tdep.c (_initialize_amd64fbsd_tdep): Adjust.
	* amd64-nbsd-tdep.c (_initialize_amd64nbsd_tdep): Adjust.
	* amd64-obsd-tdep.c (amd64obsd_supply_regset)
	(amd64obsd_combined_regset)
	(amd64obsd_iterate_over_regset_sections, amd64obsd_core_init_abi):
	Delete.
	(_initialize_amd64obsd_tdep): Don't handle a.out.
	* arm-nbsd-nat.c (struct md_core, fetch_core_registers)
	(arm_netbsd_core_fns): Delete.
	(_initialize_arm_netbsd_nat): Don't register arm_netbsd_core_fns.
	* arm-nbsd-tdep.c (arm_netbsd_aout_init_abi)
	(arm_netbsd_aout_osabi_sniffer): Delete.
	(_initialize_arm_netbsd_tdep): Don't handle a.out.
	* arm-obsd-tdep.c (armobsd_core_osabi_sniffer): Delete.
	(_initialize_armobsd_tdep): Don't handle a.out.
	* arm-tdep.c (arm_gdbarch_init): Remove bfd_target_aout_flavour
	case.
	* breakpoint.c (disable_breakpoints_in_unloaded_shlib): Remove
	SunOS a.out handling.
	* configure.tgt (vax-*-netbsd* | vax-*-knetbsd*-gnu): Remove
	vax-obsd-tdep.o from gdb_target_objs.
	(vax-*-openbsd*): Likewise.
	(*-*-freebsd*): Adjust default gdb_osabi.
	(*-*-openbsd*): Likewise.
	* dbxread.c (block_address_function_relative): Delete.
	(dbx_symfile_read): Remove reference to
	block_address_function_relative.
	(dbx_symfile_read): Don't call read_dbx_dynamic_symtab.
	(read_dbx_dynamic_symtab): Delete.
	(process_one_symbol): Remove references to
	block_address_function_relative.
	* defs.h (GDB_OSABI_FREEBSD_AOUT, GDB_OSABI_NETBSD_AOUT): Remove.
	(GDB_OSABI_FREEBSD_ELF): Rename to ...
	(GDB_OSABI_FREEBSD): ... this.
	(GDB_OSABI_NETBSD_ELF): Rename to ...
	(GDB_OSABI_NETBSD): ... this.
	(GDB_OSABI_OPENBSD_ELF): Rename to ...
	(GDB_OSABI_OPENBSD): ... this.
	(GDB_OSABI_HPUX_ELF, GDB_OSABI_HPUX_SOM): Remove.
	* fbsd-tdep.c: Adjust comment.
	* hppa-nbsd-tdep.c (_initialize_hppanbsd_tdep): Adjust.
	* hppa-obsd-tdep.c (GDB_OSABI_NETBSD_CORE): Delete.
	(hppaobsd_core_osabi_sniffer): Delete.
	(_initialize_hppabsd_tdep): Don't handle a.out.
	* hppa-tdep.c (hppa_stub_frame_unwind_cache): Don't handle
	GDB_OSABI_HPUX_SOM.
	(hppa_gdbarch_init): Likewise.
	* i386-bsd-tdep.c (i386bsd_aout_osabi_sniffer)
	(i386bsd_core_osabi_sniffer, _initialize_i386bsd_tdep): Delete.
	* i386-fbsd-tdep.c (i386fbsdaout_init_abi): Delete.  Merge bits
	with ...
	(i386fbsd_init_abi): ... this.
	(_initialize_i386fbsd_tdep): Don't handle a.out.
	* i386-nbsd-tdep.c (_initialize_i386nbsd_tdep): Adjust.
	* i386-obsd-tdep.c (i386obsd_aout_supply_regset)
	(i386obsd_aout_gregset)
	(i386obsd_aout_iterate_over_regset_sections): Delete.
	(i386obsd_init_abi): Merge with i386obsd_elf_init_abi.
	(i386obsd_aout_init_abi): Delete.
	(_initialize_i386obsd_tdep): Don't handle a.out.
	* m68k-bsd-tdep.c (m68kobsd_sigtramp_cache_init)
	(m68kobsd_sigtramp): Delete.
	(m68kbsd_init_abi): Merge with ...
	(m68kbsd_elf_init_abi): ... this, and delete it.
	(m68kbsd_aout_init_abi): Delete.
	(m68kbsd_aout_osabi_sniffer, m68kbsd_core_osabi_sniffer): Delete.
	(_initialize_m68kbsd_tdep): Don't handle a.out.
	* mips-nbsd-tdep.c (_initialize_mipsnbsd_tdep): Adjust.
	* mips64-obsd-tdep.c (_initialize_mips64obsd_tdep): Adjust.
	* osabi.c (gdb_osabi_names): Remove "a.out" entries.  Drop "ELF"
	suffixes.  Remove "HP-UX" entries.
	(generic_elf_osabi_sniff_abi_tag_sections): Adjust.
	(generic_elf_osabi_sniffer): No longer handle GDB_OSABI_HPUX_ELF.
	Adjust.
	(_initialize_ppcfbsd_tdep): Adjust.
	* ppc-nbsd-tdep.c (_initialize_ppcnbsd_tdep): Adjust.
	* ppc-obsd-tdep.c (GDB_OSABI_NETBSD_CORE)
	(ppcobsd_core_osabi_sniffer): Delete.
	(_initialize_ppcobsd_tdep): Don't handle a.out.
	* rs6000-tdep.c (rs6000_gdbarch_init): Adjust.
	* sh-nbsd-tdep.c (GDB_OSABI_NETBSD_CORE)
	(shnbsd_core_osabi_sniffer): Delete.
	(_initialize_shnbsd_tdep): Don't handle a.out.
	* solib.c (clear_solib): Don't handle SunOS/a.out.
	* sparc-nbsd-tdep.c (sparc32nbsd_init_abi): Make extern.
	(sparc32nbsd_aout_init_abi): Delete.
	(sparc32nbsd_elf_init_abi): Merged into sparc32nbsd_init_abi.
	(sparcnbsd_aout_osabi_sniffer): Delete.
	(GDB_OSABI_NETBSD_CORE, sparcnbsd_core_osabi_sniffer): Delete.
	(_initialize_sparcnbsd_tdep): No longer handle a.out.
	* sparc-obsd-tdep.c (sparc32obsd_init_abi)
	(_initialize_sparc32obsd_tdep): Adjust.
	* sparc-tdep.h (sparc32nbsd_elf_init_abi): Rename to ...
	(sparc32nbsd_init_abi): ... this.
	* sparc64-fbsd-tdep.c (_initialize_sparc64fbsd_tdep): Adjust.
	* sparc64-nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Adjust.
	* sparc64-obsd-tdep.c (_initialize_sparc64obsd_tdep): Adjust.
	* stabsread.c: Update comment.
	* symmisc.c (print_objfile_statistics): Don't mention "a.out" in
	output.
	* vax-nbsd-tdep.c (_initialize_vaxnbsd_tdep): Adjust.
	* vax-obsd-tdep.c: Delete file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Reformat raw EXTEND and undecoded output
@ 2016-12-09 23:59 sergiodj+buildbot
  2016-12-16 21:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-09 23:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 55af478400524cba7994e353fd9a98ef1543df2f ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 55af478400524cba7994e353fd9a98ef1543df2f

MIPS16/opcodes: Reformat raw EXTEND and undecoded output

Use a tab rather than a space to separate `extend' and its uninterpreted
argument output, like with regular instructions.  Separate hexadecimal
halves of undecoded extended instructions output with a space instead of
presenting them concatenated.

	opcodes/
	* mips-dis.c (print_insn_mips16): Use a tab rather than a space
	to separate `extend' and its uninterpreted argument output.
	Separate hexadecimal halves of undecoded extended instructions
	output.

	binutils/
	* testsuite/binutils-all/mips/mips16-extend-noinsn.d: New test.
	* testsuite/binutils-all/mips/mips16-extend-noinsn.s: New test
	source.
	* testsuite/binutils-all/mips/mips.exp: Run the new test.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Use hexadecimal interpretation for the `e' operand code
@ 2016-12-10  0:31 sergiodj+buildbot
  2016-12-17  0:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-10  0:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f17ecb4baca990b57cc57e8337c4e03ecee02742 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: f17ecb4baca990b57cc57e8337c4e03ecee02742

MIPS16/opcodes: Use hexadecimal interpretation for the `e' operand code

Make the `e' operand code used with raw EXTEND instructions use the
hexadecimal rather than decimal format, for consistency with what is
actually produced by code in `print_insn_mips16' dedicated to EXTEND
disassembly.  Due to that special handling the operand code is only
interpreted for assembly however, which accepts either format either
way, so there is no functional change here.

	opcodes/
	* mips16-opc.c (decode_mips16_operand) <'e'>: Use HINT rather
	than UINT.

	gas/
	* testsuite/gas/mips/mips16-extend.d: New test.
	* testsuite/gas/mips/mips16-extend.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new test.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Handle memory error in print_insn_rl78_common
@ 2016-12-12  9:28 sergiodj+buildbot
  2016-12-17 18:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-12  9:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3a0b8f7ddb874283879baaf8af6d11094f4c4999 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 3a0b8f7ddb874283879baaf8af6d11094f4c4999

Handle memory error in print_insn_rl78_common

Nowadays, memory error in rl78 disassembly is not handled, so if I
start a fresh GDB, and disassemble,

(gdb) set architecture rl78
The target architecture is assumed to be rl78
(gdb) disassemble 0x0,+4
Dump of assembler code from 0x0 to 0x4:
   0x00000000:	nop
   0x00000001:	nop
   0x00000002:	nop
   0x00000003:	nop

the output is wrong.  This patch adds code to call dis->memory_error_func
on memory error, and longjmp to print_insn_rl78_common.  With this
patch applied,

(gdb) set architecture rl78
The target architecture is assumed to be rl78
(gdb) disassemble 0,+4
Dump of assembler code from 0x0 to 0x4:
   0x00000000:	Cannot access memory at address 0x0

opcodes:

2016-12-12  Yao Qi  <yao.qi@linaro.org>

	* rl78-dis.c: Include <setjmp.h>.
	(struct private): New.
	(rl78_get_byte): Check return value of read_memory_func, and
	call memory_error_func and OPCODES_SIGLONGJMP on error.
	(print_insn_rl78_common): Call OPCODES_SIGJMP.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Handle memory error in print_insn_rx
@ 2016-12-12 10:38 sergiodj+buildbot
  2016-12-17 21:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-12 10:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 029e9d52de3ac7fe984dc079ebd24506fd1eace7 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 029e9d52de3ac7fe984dc079ebd24506fd1eace7

Handle memory error in print_insn_rx

Nowadays, memory error in rx disassembly is not handled, so if I
start a fresh GDB, and disassemble,

(gdb) set architecture rx
The target architecture is assumed to be rx
(gdb) disassemble 0x0,+4
Dump of assembler code from 0x0 to 0x4:
   0x00000000:	brk
   0x00000001:	brk
   0x00000002:	brk
   0x00000003:	brk

the output is wrong.  This patch adds code to call dis->memory_error_func
on memory error, and longjmp to print_insn_rx.  With this patch applied,

(gdb) set architecture rx
The target architecture is assumed to be rx
(gdb) disassemble 0,+4
Dump of assembler code from 0x0 to 0x4:
   0x00000000:	Cannot access memory at address 0x0

opcodes:

2016-12-12  Yao Qi  <yao.qi@linaro.org>

	* rx-dis.c: Include <setjmp.h>
	(struct private): New.
	(rx_get_byte): Check return value of read_memory_func, and
	call memory_error_func and OPCODES_SIGLONGJMP on error.
	(print_insn_rx): Call OPCODES_SIGSETJMP.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove assert on exec_bfd in cris_delayed_get_disassembler
@ 2016-12-12 10:51 sergiodj+buildbot
  2016-12-17 23:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-12 10:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d36cab83a963f5bb3773e0218cc02f63b0851d0b ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: d36cab83a963f5bb3773e0218cc02f63b0851d0b

Remove assert on exec_bfd in cris_delayed_get_disassembler

cris_delayed_get_disassembler has an assert that exec_bfd can't be
NULL, but this assert can be triggered like this,

(gdb) set architecture cris
The target architecture is assumed to be cris
(gdb) disassemble 0x0,+4
Dump of assembler code from 0x0 to 0x4:
   0x00000000:
../../binutils-gdb/gdb/cris-tdep.c:3798: internal-error: int cris_delayed_get_disassembler(bfd_vma, disassemble_info*): Assertion `exec_bfd != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.

however, cris_get_disassembler does have code to handle the case that
bfd is NULL,

  /* If there's no bfd in sight, we return what is valid as input in all
     contexts if fed back to the assembler: disassembly *with* register
     prefix.  Unfortunately this will be totally wrong for v32.  */
  if (abfd == NULL)
    return print_insn_cris_with_register_prefix;

This patch is to remove this assert.

gdb:

2016-12-12  Yao Qi  <yao.qi@linaro.org>

	PR tdep/20955
	* cris-tdep.c (cris_delayed_get_disassembler): Remove the
	assert.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Port c++/78252 from GCC
@ 2016-12-12 18:30 sergiodj+buildbot
  2016-12-18  5:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-12 18:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 88acc2e16743fc1e6384758c9a68cd6d2a8bbd46 ***

Author: Nathan Sidwell <nathan@acm.org>
Branch: master
Commit: 88acc2e16743fc1e6384758c9a68cd6d2a8bbd46

Port c++/78252 from GCC

	PR c++/78252
	* cp-demangle.c (struct d_print_info): Add is_lambda_arg field.
	(d_print_init): Initialize it.
	(d_print_comp_inner) <DEMANGLE_COMPONENT_TEMPLATE_PARAM>: Check
	is_lambda_arg for auto.
	<DEMANGLE_COMPONENT_REFERENCE,
	DEMANGLE_COMPONENT_RVALUE_REFERENCE>: Skip smashing check when
	is_lambda_arg.
	<DEMANGLE_COMPONENT_LAMBDA>: Increment is_lambda_arg around arg
	printing.
	* testsuite/demangle-expected: Add lambda auto mangling cases.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Don't fudge p_vaddr when PHDR in segment
@ 2016-12-12 23:39 sergiodj+buildbot
  2016-12-18  7:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-12 23:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6392030005291f7c783da2247b63ae31dc8352e0 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 6392030005291f7c783da2247b63ae31dc8352e0

Don't fudge p_vaddr when PHDR in segment

RX does horrible fudges to PT_LOAD p_vaddr, that affect the testsuite
and mean the target won't support dynamic objects.  The latter
probably doesn't matter too much since RX is an embedded target, but
it's easy to stop some of the fudges in order to reduce special cases
for RX in the testsuite.  The changes make sense in isolation too.

bfd/
	* elf32-rx.c (elf32_rx_modify_program_headers): Don't adjust
	segments that include the ELF file header or program headers.
ld/
	* testsuite/ld-elf/flags1.d: Run for RX.
	* testsuite/ld-scripts/phdrs.exp: Likewise.
	* testsuite/ld-scripts/pr14962.d: Likewise.
	* testsuite/ld-scripts/pr14962-2.d: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix aarch64 sim bug with adds64, and add testcases for last 3 bug fixes.
@ 2016-12-13 17:09 sergiodj+buildbot
  2016-12-18 13:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-13 17:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 963201cf5d29c4dc718b5fb3507e085b302ff896 ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 963201cf5d29c4dc718b5fb3507e085b302ff896

Fix aarch64 sim bug with adds64, and add testcases for last 3 bug fixes.

	sim/aarch64
	* simulator.c (NEG, POS): Move before set_flags_for_add64.
	(set_flags_for_add64): Replace with a modified copy of
	set_flags_for_sub64.

	sim/testsuite/sim/aarch64
	* testutils.inc (pass): Move .Lpass to start.
	(fail): Move .Lfail to start.  Return 1 instead of 0.
	(start): Moved .Lpass and .Lfail to here.
	* adds.s: New.
	* fstur.s: New.
	* tbnz.s: New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [Binutils][AARCH64]Remove Cn register for coprocessor CRn, CRm field
@ 2016-12-13 17:55 sergiodj+buildbot
  2016-12-18 15:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-13 17:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a6a51754740513db76fdee3aa153cdd51e87a24a ***

Author: Renlin Li <renlin.li@arm.com>
Branch: master
Commit: a6a51754740513db76fdee3aa153cdd51e87a24a

[Binutils][AARCH64]Remove Cn register for coprocessor CRn, CRm field

The internal CN register representation for coprocessor fields used in aarch64
sys, sysl instructions are removed in this patch.

After the change, those fields are represented as immediate. Related checks are
added as well.

opcodes/

	* aarch64-opc.c (aarch64_opnd_qualifiers): New CR value range
	qualifier.
	(operand_general_constraint_met_p): Remove case for CP_REG.
	(aarch64_print_operand): Print CRn, CRm operand using imm field.
	* aarch64-tbl.h (QL_SYS): Use CR qualifier.
	(QL_SYSL): Likewise.
	(aarch64_opcode_table): Change CRn, CRm operand class and type.
	* aarch64-opc-2.c : Regenerate.
	* aarch64-asm-2.c : Likewise.
	* aarch64-dis-2.c : Likewise.

include/

	* opcode/aarch64.h (aarch64_operand_class): Remove
	AARCH64_OPND_CLASS_CP_REG.
	(enum aarch64_opnd): Change AARCH64_OPND_Cn to AARCH64_OPND_CRn,
	AARCH64_OPND_Cm to AARCH64_OPND_CRm.
	(aarch64_opnd_qualifier): Define AARCH64_OPND_QLF_CR qualifier.

gas/

	* config/tc-aarch64.c (AARCH64_REG_TYPES): Remove CN register.
	(get_reg_expected_msg): Remove CN register case.
	(parse_operands): rewrite parser for CRn, CRm operand.
	(reg_names): Remove CN register.
	* testsuite/gas/aarch64/diagnostic.s: Add a new test case.
	* testsuite/gas/aarch64/diagnostic.l: Adjust error message.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] ld: aarch64: fix TLS relaxation where TCB_SIZE is used
@ 2016-12-14  6:47 sergiodj+buildbot
  2016-12-18 19:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-14  6:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6650f7bd18f8161b9f666d3e65a6346e23a9d85f ***

Author: Yury Norov <ynorov@caviumnetworks.com>
Branch: master
Commit: 6650f7bd18f8161b9f666d3e65a6346e23a9d85f

ld: aarch64: fix TLS relaxation where TCB_SIZE is used

TCB_SIZE is 2*sizeof(void *), which is 0x10 for lp64, and 0x8 for
ilp32. During relaxation, ld goes to do a replace:
bl   __tls_get_addr => add R0, R0, TCB_SIZE

But actual implementation is:
bfd_putl32 (0x91004000, contents + rel->r_offset + 4);

Which is equivalent of add x0, x0, 0x10. This is wrong for ilp32.

The possible fix for it is:
bfd_putl32 (0x91000000 | (TCB_SIZE<<10), contents + rel->r_offset + 4);

But ilp32 also needs w-registers, so it's simpler to put proper
instruction in #if/#else condition.

THere are 2 such relaxations in elfNN_aarch64_tls_relax(), and so 2 new
tests added for ilp32 mode to test it.

Yury


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfd: aarch64: fix word and arrdess size declaration in ilp32 mode
@ 2016-12-14  7:22 sergiodj+buildbot
  2016-12-18 21:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-14  7:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a02c3512655cc2c8ad68e4b656959b7d284acc7d ***

Author: Yury Norov <ynorov@caviumnetworks.com>
Branch: master
Commit: a02c3512655cc2c8ad68e4b656959b7d284acc7d

bfd: aarch64: fix word and arrdess size declaration in ilp32 mode


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Revert "ld: aarch64: fix TLS relaxation where TCB_SIZE is used"
@ 2016-12-14  8:12 sergiodj+buildbot
  2016-12-18 23:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-14  8:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 98fa61facff8fb041205950d642f5403372bfd96 ***

Author: Yury Norov <ynorov@caviumnetworks.com>
Branch: master
Commit: 98fa61facff8fb041205950d642f5403372bfd96

Revert "ld: aarch64: fix TLS relaxation where TCB_SIZE is used"

This reverts commit 6650f7bd18f8161b9f666d3e65a6346e23a9d85f.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Revert "bfd: aarch64: fix word and arrdess size declaration in ilp32 mode"
@ 2016-12-14  8:26 sergiodj+buildbot
  2016-12-19  3:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-14  8:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7acd51d6971f12b832cd7281f669a7ae7feddf45 ***

Author: Yury Norov <ynorov@caviumnetworks.com>
Branch: master
Commit: 7acd51d6971f12b832cd7281f669a7ae7feddf45

Revert "bfd: aarch64: fix word and arrdess size declaration in ilp32 mode"

This reverts commit a02c3512655cc2c8ad68e4b656959b7d284acc7d.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] ld: aarch64: fix TLS relaxation where TCB_SIZE is used
@ 2016-12-14  9:08 sergiodj+buildbot
  2016-12-19  5:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-14  9:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c1fc2d7ee590f3bc87ee79c36e7216b0b6bb054b ***

Author: Yury Norov <ynorov@caviumnetworks.com>
Branch: master
Commit: c1fc2d7ee590f3bc87ee79c36e7216b0b6bb054b

ld: aarch64: fix TLS relaxation where TCB_SIZE is used

TCB_SIZE is 2*sizeof(void *), which is 0x10 for lp64, and 0x8 for
ilp32. During relaxation, ld goes to do a replace:
bl   __tls_get_addr => add R0, R0, TCB_SIZE

But actual implementation is:
bfd_putl32 (0x91004000, contents + rel->r_offset + 4);

Which is equivalent of add x0, x0, 0x10. This is wrong for ilp32.

The possible fix for it is:
bfd_putl32 (0x91000000 | (TCB_SIZE<<10), contents + rel->r_offset + 4);

But ilp32 also needs w-registers, so it's simpler to put proper
instruction in #if/#else condition.

There are 2 such relaxations in elfNN_aarch64_tls_relax(), and so 2 new
tests added for ilp32 mode to test it.

Yury

	* bfd/elfnn-aarch64.c: fix TLS relaxations for ilp32 where
	TCB_SIZE is used.
	* ld/testsuite/ld-aarch64/aarch64-elf.exp: Add tests for the case.
	* ld/testsuite/ld-aarch64/tls-relax-ld-le-small-ilp32.d: New file.
	* ld/testsuite/ld-aarch64/tls-relax-ld-le-tiny-ilp32.d: New file.

Signed-off-by: Yury Norov <ynorov@caviumnetworks.com>


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS16/opcodes: Fix and clarify MIPS16e commentary
@ 2016-12-14 22:56 sergiodj+buildbot
  2016-12-19  9:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-14 22:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 63e014fccdd91a89873554f6b33d7128d7112813 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 63e014fccdd91a89873554f6b33d7128d7112813

MIPS16/opcodes: Fix and clarify MIPS16e commentary

Correct the note about JALRC/JRC being compact jumps rather than
branches, and add a reference from where the remaining MIPS16e additions
live and the jumps used to be too, complementing commit ceb94aa50d68
("Update insn_mo when converting to a MIPS16e compact jump"),
<https://sourceware.org/ml/binutils/2011-06/msg00369.html>.

	opcodes/
	* mips16-opc.c (mips16_opcodes): Update comments on MIPS16e
	compact jumps.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS16: Fix SP-relative SD instruction annotation
@ 2016-12-14 23:46 sergiodj+buildbot
  2016-12-19 11:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-14 23:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 353abf7c10561aab3e8e7ffce6e270c3743376f0 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 353abf7c10561aab3e8e7ffce6e270c3743376f0

MIPS16: Fix SP-relative SD instruction annotation

Fix the annotation of SP-relative SD instructions incorrectly marked as
reading from the PC rather than SP, which in turn prevented their 16-bit
forms from being scheduled into jump delay slots.  This bug has been
there since forever.

	opcodes/
	* mips16-opc.c (mips16_opcodes): Set RD_SP rather than RD_PC in
	`pinfo2' with SP-relative "sd" entries.

	gas/
	* testsuite/gas/mips/mips16-sprel-swap.d: New test.
	* testsuite/gas/mips/mips16-sprel-swap.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new test.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS/opcodes: Reorder ELF file header flag handling in disassembler
@ 2016-12-15  0:13 sergiodj+buildbot
  2016-12-19 13:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-15  0:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8184783a4069e04deb2e43b4ad0d66d80f1ad2df ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 8184783a4069e04deb2e43b4ad0d66d80f1ad2df

MIPS/opcodes: Reorder ELF file header flag handling in disassembler

Move ELF file header flag interpretation code, used to set disassembler
options, beyond architecture setup.  No functional change as the effects
of both code sections are disjoint from each other, but this provides
for a further expansion of ELF file header flag interpretation.

	opcodes/
	* mips-dis.c (set_default_mips_dis_options): Reorder ELF file
	header flag interpretation code.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MAINTAINERS: Add myself as a MIPS maintainer
@ 2016-12-15  1:26 sergiodj+buildbot
  2016-12-19 20:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-15  1:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cadf97cf20cf76af35e41075dff81197fbec0e51 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: cadf97cf20cf76af35e41075dff81197fbec0e51

MAINTAINERS: Add myself as a MIPS maintainer

	* MAINTAINERS (Maintainers for particular sims): Add myself as
	a MIPS maintainer.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Linking non-ELF file broken by PR20908 fix
@ 2016-12-15 13:29 sergiodj+buildbot
  2016-12-19 23:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-15 13:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a961cdd5f139d3c3e09170db52bd8df7dafae13f ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: a961cdd5f139d3c3e09170db52bd8df7dafae13f

Linking non-ELF file broken by PR20908 fix

	PR ld/20968
	PR ld/20908
	* elflink.c (bfd_elf_final_link): Revert 2016-12-02 change.  Move
	reloc counting code later after ELF flavour test.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Implement and document --gc-keep-exported
@ 2016-12-16  3:46 sergiodj+buildbot
  2016-12-20  2:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-16  3:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 221855059a11ab76aa909a5df4104354f9384139 ***

Author: fincs <fincs.alt1@gmail.com>
Branch: master
Commit: 221855059a11ab76aa909a5df4104354f9384139

Implement and document --gc-keep-exported

include/
	* bfdlink.h (struct bfd_link_info): Add gc_keep_exported.
bfd/
	* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Add handling
	for info->gc_keep_exported.
	(bfd_elf_gc_sections): Likewise.
ld/
	* ld.texinfo: Document --gc-keep-exported.
	* ldlex.h (enum option_values): Add OPTION_GC_KEEP_EXPORTED.
	* lexsup.c (parse_args): Add handling for --gc-keep-exported.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix compile time warning building arm-dis.c
@ 2016-12-16 11:03 sergiodj+buildbot
  2016-12-20  6:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-16 11:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT db7b55faa1a11e632ddf57505c9bb64bc783471a ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: db7b55faa1a11e632ddf57505c9bb64bc783471a

Fix compile time warning building arm-dis.c


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS/opcodes: Only call `bfd_mips_elf_get_abiflags' if BFD64
@ 2016-12-19 11:44 sergiodj+buildbot
  2016-12-20 19:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-19 11:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4df995c77118d07c12fb260dbba0ca2b281324f1 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 4df995c77118d07c12fb260dbba0ca2b281324f1

MIPS/opcodes: Only call `bfd_mips_elf_get_abiflags' if BFD64

Complement commit 5e7fc731f80e ("MIPS/opcodes: Also set disassembler's
ASE flags from ELF structures") and fix an `--enable-targets=all' GDB
build regression on 32-bit hosts where the MIPS target is a secondary:

../opcodes/libopcodes.a(mips-dis.o): In function `set_default_mips_dis_options':
mips-dis.c:(.text+0x906): undefined reference to `bfd_mips_elf_get_abiflags'
collect2: error: ld returned 1 exit status
make[2]: *** [gdb] Error 1

by avoiding making a call to the `bfd_mips_elf_get_abiflags' function,
which is not available, because there is no MIPS/ELF BFD included in
32-bit BFD builds.  This call is only made from a conditional code block
guarded by a check against `bfd_target_elf_flavour', which is dead in
such a configuration, however cannot be optimized away by the compiler.
Also some other MIPS BFDs may be available, such as a.out, ECOFF or PE,
so the disassembler has to remain functional.

	opcodes/
	* mips-dis.c (set_default_mips_dis_options) [BFD64]: Only call
	`bfd_mips_elf_get_abiflags' here.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS/opcodes: Only examine ELF file structures if SYMTAB_AVAILABLE
@ 2016-12-19 11:45 sergiodj+buildbot
  2016-12-21  2:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-19 11:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 91068ec6ae02e85c5ca4fbe3c6e214bd87bb872f ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 91068ec6ae02e85c5ca4fbe3c6e214bd87bb872f

MIPS/opcodes: Only examine ELF file structures if SYMTAB_AVAILABLE

Correct commit 640c0ccdc980 ("some objdump -M options, better reg
dumps"), <https://sourceware.org/ml/binutils/2002-12/msg00706.html>, and
only execute code setting up disassembler options based on ELF file
structures if SYMTAB_AVAILABLE is set.

	opcodes/
	* mips-dis.c (set_default_mips_dis_options) [SYMTAB_AVAILABLE]:
	Only examine ELF file structures here.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Clean up gdb.gdb/selftest.exp
@ 2016-12-19 15:59 sergiodj+buildbot
  2016-12-21 11:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-19 15:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 16e69324ec7fbe4ea12f2a0a069ad207ac8e3f97 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 16e69324ec7fbe4ea12f2a0a069ad207ac8e3f97

Clean up gdb.gdb/selftest.exp

I recently see the test fails like this,

(gdb) PASS: gdb.gdb/selftest.exp: step over argv initialization
list^M
487       std::vector<struct cmdarg> cmdarg_vec;^M
(gdb) FAIL: gdb.gdb/selftest.exp: unknown source line (after step over argv initialization)

step^M
std::vector<cmdarg, std::allocator<cmdarg> >::vector (this=0x7fffffffdc10) at ../../binutils-gdb/gdb/main.c:487^M
487       std::vector<struct cmdarg> cmdarg_vec;^M
(gdb) FAIL: gdb.gdb/selftest.exp: step into xmalloc call

These fails are caused by using std::vector in commit
f60ee22ea1d62f7004511ec65a3ad76890032d88.  selttest.exp should match
the source code of GDB.  It is a maintenance pain, so this patch
removes do_steps_and_nexts.

gdb/testsuite:

2016-12-19  Yao Qi  <yao.qi@linaro.org>

	* gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
	(test_with_self): Don't call do_steps_and_nexts, and remove
	code about stepping into xmalloc.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Formatting changes for RISC-V
@ 2016-12-20  2:03 sergiodj+buildbot
  2016-12-21 20:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-20  2:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1d65abb5e2cb1624b358dda27a53a070bec685cc ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: 1d65abb5e2cb1624b358dda27a53a070bec685cc

Formatting changes for RISC-V

This is a mixed bag of format changes:

 * Replacing constants with macros (0xffffffff with MINUS_ONE, for
   example).  There's one technically functional change in here (some
   MINUS_ONEs are changed to 0), but it only changes the behavior of an
   otherwise-unused field.
 * Using 0 instead of 0x0 in the relocation table.
 * There were some missing spaces before parens, the spaces have been
   added.
 * A handful of comments are now more descriptive.
 * A bunch of whitespace-only changes, mostly alignment and brace
   newlines.

bfd/
	* elfnn-riscv.c: Formatting and comment fixes throughout.
	* elfxx-riscv.c: Likewise.
	(howto_table): Change the src_mask field from MINUS_ONE to 0 for
	R_RISCV_TLS_DTPMOD32, R_RISCV_TLS_DTPMOD64, R_RISCV_TLS_DTPREL32,
	R_RISCV_TLS_DTPREL64, R_RISCV_TLS_TPREL32, R_RISCV_TLS_TPREL64.
opcodes/
	* riscv-opc.c: Formatting fixes.
gas/
	* config/tc-riscv.c: Formatting and comment fixes throughout.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add opcodes RISC-V dependencies
@ 2016-12-20  2:03 sergiodj+buildbot
  2016-12-21 12:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-20  2:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dd1d944e2321de26f75a21f42750dd38ed964714 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: dd1d944e2321de26f75a21f42750dd38ed964714

Add opcodes RISC-V dependencies

	* Makefile.am (TARGET_LIBOPCODES_CFILES): Add riscv files.
	* Makefile.in: Regenerate.
	* po/POTFILES.in: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Rework RISC-V relocations
@ 2016-12-20  2:07 sergiodj+buildbot
  2016-12-22  2:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-20  2:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 45f764234a71431b581340957a3c8338e0593fdb ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: 45f764234a71431b581340957a3c8338e0593fdb

Rework RISC-V relocations

Before this commit we didn't cleanly support CFI directives because the
internal offsets used to get relaxed which broke them.  This patch
significantly reworks how we handle linker relaxations:

 * DWARF is now properly supported

 * There is a ".option norelax" to disable relaxations, for when users
   write assembly that can't be relaxed (if it's to be later patched up,
   for example).

 * There is an additional _RELAX relocation that specifies when previous
   relocations can be relaxed.

We're in the process of documenting the RISC-V ELF ABI, which will
include documentation of our relocations

  https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md

but we expect that this relocation set will remain ABI compatible in the
future (ie, it's safe to release).

Thanks to Kuan-Lin Chen for figuring out how to correctly relax the
debug info!

include/
	* elf/riscv.h: Add R_RISCV_TPREL_I through R_RISCV_SET32.
bfd/
	* reloc.c (BFD_RELOC_RISCV_TPREL_I): New relocation.
	(BFD_RELOC_RISCV_TPREL_S): Likewise.
	(BFD_RELOC_RISCV_RELAX): Likewise.
	(BFD_RELOC_RISCV_CFA): Likewise.
	(BFD_RELOC_RISCV_SUB6): Likewise.
	(BFD_RELOC_RISCV_SET8): Likewise.
	(BFD_RELOC_RISCV_SET8): Likewise.
	(BFD_RELOC_RISCV_SET16): Likewise.
	(BFD_RELOC_RISCV_SET32): Likewise.
	* elfnn-riscv.c (perform_relocation): Handle the new
	relocations.
	(_bfd_riscv_relax_tls_le): Likewise.
	(_bfd_riscv_relax_align): Likewise.
	(_bfd_riscv_relax_section): Likewise.
	(howto_table): Likewise.
	(riscv_reloc_map): Likewise.
	(relax_func_t): New type.
	(_bfd_riscv_relax_call): Add reserve_size argument, which
	controls the maximal offset pessimism.  Correct type of max_alignment.
	(_bfd_riscv_relax_lui): Likewise.
	(_bfd_riscv_relax_tls_le): Likewise.
	(_bfd_riscv_relax_align): Likewise.
	(_bfd_riscv_relax_section): Compute the required reserve size
	when relocating and use it to when calling relax_func.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Likewise.
gas/
	* config/tc-riscv.c (riscv_set_options): Add relax.
	(riscv_opts): Likewise.
	(s_riscv_option): Add relax and norelax.
	(riscv_apply_const_reloc): New function.
	(append_insn): Move constant relocation handling to
	riscv_apply_const_reloc.
	(md_pcrel_from): Likewise.
	(parse_relocation): Skip BFD_RELOC_UNUSED.
	(md_pcrel_from): Handle BFD_RELOC_RISCV_SUB6,
	BFD_RELOC_RISCV_RELAX, BFD_RELOC_RISCV_CFA.
	(md_apply_fix): Likewise.
	(riscv_pre_output_hook): New function.
	* config/tc-riscv.h (md_pre_output_hook): Define.
	(riscv_pre_output_hook): Declare.
	(DWARF_CIE_DATA_ALIGNMENT): Always -4.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Improve RISC-V LD error message
@ 2016-12-20  2:12 sergiodj+buildbot
  2016-12-21 18:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-20  2:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 96b0927de3ebdb302d8d571c43da3db5ec23847e ***

Author: Palmer Dabbelt <palmer@dabbelt.com>
Branch: master
Commit: 96b0927de3ebdb302d8d571c43da3db5ec23847e

Improve RISC-V LD error message

I recently ran into this error message and found it's not helpful: it
just tells me some temporary file can't be linked.  This slightly
improved one at least tells me it's because of an elf32/elf64 conflict.

	* elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Improve
	error message when linking elf32 and elf64.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Set emacs default mode for the GDB directory to C++
@ 2016-12-20 16:15 sergiodj+buildbot
  2016-12-22 21:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-20 16:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ff71884063d048e8f8c03de27d2bac343df4f77a ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: ff71884063d048e8f8c03de27d2bac343df4f77a

Set emacs default mode for the GDB directory to C++

Since GDB has switched to C++ but the file names are still .c emacs does
not load the proper mode when opening files in the gdb directory.

This patch fixes that by enabling c++ mode.

This patch also fixes indentation tweaks as discussed in this thread:
https://sourceware.org/ml/gdb-patches/2016-12/msg00074.html

Indent with gdb-code-style.el included and the .dir-locals.el is as such:

namespace TestNameSpace {

class test
{
public:
  test test() {}

  int m_a;
};

struct teststruct
{
  int a;
}
}

gdb/ChangeLog:

	* .dir-locals.el: Set c++ mode for the directory and set indent
	properly.
	* gdb-code-style.el: Set c-set-offset 'innamespace as a safe value
	to be used in .dir-locals.el.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix longjmp across readline w/ --enable-sjlj-exceptions toolchains
@ 2016-12-20 17:00 sergiodj+buildbot
  2016-12-23  0:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-20 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2693a26216c329bd7ec2aae7743409f572de4fa5 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 2693a26216c329bd7ec2aae7743409f572de4fa5

Fix longjmp across readline w/ --enable-sjlj-exceptions toolchains

Nowadays, GDB propagates C++ exceptions across readline using
setjmp/longjmp 89525768cd08 ("Propagate GDB/C++ exceptions across
readline using sj/lj-based TRY/CATCH") because DWARF-based unwinding
can't cross C functions compiled without -fexceptions (see details
from the commit above).

Unfortunately, toolchains that use SjLj-based C++ exceptions got
broken with that fix, because _Unwind_SjLj_Unregister, which is put at
the exit of a function, is not executed due to the longjmp added by
that commit.

 (gdb) [New Thread 2936.0xb80]
 kill

 Thread 1 received signal SIGSEGV, Segmentation fault.
 0x03ff662b in ?? ()
 top?bt 15
 #0  0x03ff662b in ?? ()
 #1  0x00526b92 in stdin_event_handler (error=0, client_data=0x172ed8)
    at ../../binutils-gdb/gdb/event-top.c:555
 #2  0x00525a94 in handle_file_event (ready_mask=<optimized out>,
    file_ptr=0x3ff5cb8) at ../../binutils-gdb/gdb/event-loop.c:733
 #3  gdb_wait_for_event (block=block@entry=1)
    at ../../binutils-gdb/gdb/event-loop.c:884
 #4  0x00525bfb in gdb_do_one_event ()
    at ../../binutils-gdb/gdb/event-loop.c:347
 #5  0x00525ce5 in start_event_loop ()
    at ../../binutils-gdb/gdb/event-loop.c:371
 #6  0x0051fada in captured_command_loop (data=0x0)
    at ../../binutils-gdb/gdb/main.c:324
 #7  0x0051cf5d in catch_errors (
    func=func@entry=0x51fab0 <captured_command_loop(void*)>,
    func_args=func_args@entry=0x0,
    errstring=errstring@entry=0x7922bf <VEC_interp_factory_p_quick_push(VEC_inte rp_factory_p*, interp_factory*, char const*, unsigned int)::__PRETTY_FUNCTION__+351> "", mask=mask@entry=RETURN_MASK_ALL)
    at ../../binutils-gdb/gdb/exceptions.c:236
 #8  0x00520f0c in captured_main (data=0x328feb4)
    at ../../binutils-gdb/gdb/main.c:1149
 #9  gdb_main (args=args@entry=0x328feb4) at ../../binutils-gdb/gdb/main.c:1159
 #10 0x0071e400 in main (argc=1, argv=0x171220)
    at ../../binutils-gdb/gdb/gdb.c:32

Fix this by making the functions involved in setjmp/longjmp as
noexcept, so that the compiler knows it doesn't need to emit the
_Unwind_SjLj_Register / _Unwind_SjLj_Unregister calls for C++
exceptions.

Tested on x86_64 Fedora 23 with:
 - GCC 5.3.1 w/ DWARF-based exceptions.
 - GCC 7 built with --enable-sjlj-exceptions.

gdb/ChangeLog:
2016-12-20  Pedro Alves  <palves@redhat.com>
	    Yao Qi  <yao.qi@linaro.org>

	PR gdb/20977
	* event-top.c (gdb_rl_callback_read_char_wrapper_noexcept): New
	noexcept function, factored out from ...
	(gdb_rl_callback_read_char_wrapper): ... this.
	(gdb_rl_callback_handler): Mark noexcept.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Constify solib_find
@ 2016-12-20 19:34 sergiodj+buildbot
  2016-12-23  6:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-20 19:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 992f1ddc3be1f5195f18beaa801ac50f284b10c5 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 992f1ddc3be1f5195f18beaa801ac50f284b10c5

gdb: Constify solib_find

gdb/ChangeLog:
2016-12-20  Pedro Alves  <palves@redhat.com>

	* nto-tdep.c (nto_find_and_open_solib): Constify 'solib'
	parameter.
	* nto-tdep.h (nto_find_and_open_solib): Constify 'solib'
	parameter.
	* solib.c (solib_find_1, exec_file_find, solib_find): Constify
	in_pathname' parameter.
	* solist.h (struct target_so_ops) <find_and_open_solib>: Constify
	'soname' parameter.
	(exec_file_find, solib_find): Constify 'in_pathname' parameter.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove high bit set characters
@ 2016-12-21 11:51 sergiodj+buildbot
  2016-12-23 11:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-21 11:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4e25adb3956f880efc28bfebabe79be7338b413f ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 4e25adb3956f880efc28bfebabe79be7338b413f

Remove high bit set characters

gas/
	* doc/c-lm32.texi: Fix chars with high bit set.
	* testsuite/gas/bfin/vector2.s: Likewise.
gold/
	* arm.cc: Fix comment chars with high bit set.
include/
	* coff/pe.h: Fix comment chars with high bit set.
	* opcode/xgate.h: Likewise.
ld/
	* testsuite/ld-scripts/sysroot-prefix.exp: Fix chars with high bit set.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfd: aarch64: fix word and arrdess size declaration in ilp32 mode
@ 2016-12-21 13:59 sergiodj+buildbot
  2016-12-23 14:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-21 13:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3145b997151d2815065b5c880c1b0d63905d7630 ***

Author: Yury Norov <ynorov@caviumnetworks.com>
Branch: master
Commit: 3145b997151d2815065b5c880c1b0d63905d7630

bfd: aarch64: fix word and arrdess size declaration in ilp32 mode

ILP32 has 32-bit word and address, but currently they declared as 64-bit in
bfd_aarch64_arch_ilp32, which breaks further logic of bfd. This patch fixes it.

Glibc testsuite build with patched binutils shows that next tests stop to fail:
iconvdata/mtrace-tst-loading
iconvdata/tst-loading
iconvdata/tst-tables
localedata/mtrace-tst-leaks
localedata/tst-leaks
posix/tst-getaddrinfo4
posix/tst-getaddrinfo5
posix/tst-regex2


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Avoid creating symbol table entries for registers
@ 2016-12-21 14:46 sergiodj+buildbot
  2016-12-23 17:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-21 14:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 58a6d3c9d8d4d4be8f1dfc1a49fed264dceddaba ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: 58a6d3c9d8d4d4be8f1dfc1a49fed264dceddaba

Avoid creating symbol table entries for registers

Instructions like "jal t0, foo" were erroneously creating symbol table
entries for t0 as well as foo, which causes linking problems.  Fix by
reordering instruction alternatives so that t0 is first attempted to
be parsed as a register, rather than as a symbol.

	* riscv-opc.c (riscv_opcodes): Reorder jal and call entries.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Don't make_bfd_vms_lib archive functions NULL
@ 2016-12-21 15:21 sergiodj+buildbot
  2016-12-23 21:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-21 15:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f0d19df99dfe1c63842206d15ae41dfd33d25bf0 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: f0d19df99dfe1c63842206d15ae41dfd33d25bf0

Don't make_bfd_vms_lib archive functions NULL

Contrary to the comment, they can in fact be called.

	* libbfd-in.h (_bfd_vms_lib_slurp_armap): Use _bfd_noarchive function.
	(_bfd_vms_lib_slurp_extended_name_table: Likewise.
	(_bfd_vms_lib_construct_extended_name_table: Likewise.
	(_bfd_vms_lib_truncate_arname: Likewise.
	(_bfd_vms_lib_write_armap: Likewise.
	(_bfd_vms_lib_read_ar_hdr: Likewise.
	(_bfd_vms_lib_write_ar_hdr: Likewise.
	* libbfd.h: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix bugs with float compare and Inf operands.
@ 2016-12-21 21:24 sergiodj+buildbot
  2016-12-24  1:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-21 21:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 87903eafb083abbf330c22fbf941fcbad700c098 ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 87903eafb083abbf330c22fbf941fcbad700c098

Fix bugs with float compare and Inf operands.

	sim/aarch64/
	* simulator.c (set_flags_for_float_compare): Add code to handle Inf.
	Add comment to document NaN issue.
	(set_flags_for_double_compare): Likewise.

	sim/testsuite/sim/aarch64/
	* fcmp.s: New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Class-ify ui_out
@ 2016-12-22 22:01 sergiodj+buildbot
  2016-12-24  5:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-22 22:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 112e8700a6fd2fed65ca70132c9cbed4132e8bd4 ***

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

Class-ify ui_out

This patch finalizes the C++ conversion of the ui-out subsystem, by
turning the ui_out and ui_out_impl structures into a single class
hierarchy.  ui_out functions are turned into virtual methods of that new
class, so as a result there are a lot of call sites to update.

In the previous version of the patchset, there were separate ui_out and
ui_out_impl classes, but it wasn't really useful and added boilerplate.
In this version there is simply an ui_out base class that is
extended for CLI, TUI and MI.

It's a bit hard to maintain a ChangeLog for such a big patch, I did my
best but I'm sure there are some missing or outdated info in there...

gdb/ChangeLog:

    * ui-out.h (ui_out_begin, ui_out_end, ui_out_table_header,
    ui_out_table_body,  ui_out_field_int, ui_out_field_fmt_int,
    ui_out_field_core_addr, ui_out_field_string, ui_out_field_stream,
    ui_out_field_fmt, ui_out_field_skip, ui_out_spaces, ui_out_text,
    ui_out_message, ui_out_wrap_hint, ui_out_flush, ui_out_test_flags,
    ui_out_query_field, ui_out_is_mi_like_p, ui_out_redirect):
    Remove, replace with a method in class ui_out.
    (table_begin_ftype): Remove, replace with pure virtual method in
    class ui_out.
    (table_body_ftype): Likewise.
    (table_end_ftype): Likewise.
    (table_header_ftype): Likewise.
    (ui_out_begin_ftype): Likewise.
    (ui_out_end_ftype): Likewise.
    (field_int_ftype): Likewise.
    (field_skip_ftype): Likewise.
    (field_string_ftype): Likewise.
    (field_fmt_ftype): Likewise.
    (spaces_ftype): Likewise.
    (text_ftype): Likewise.
    (message_ftype): Likewise.
    (wrap_hint_ftype): Likewise.
    (flush_ftype): Likewise.
    (redirect_ftype): Likewise.
    (data_destroy_ftype): Likewise.
    (struct ui_out_impl): Remove, replace with class ui_out.
    (ui_out_new): Remove.
    (class ui_out): New class.
    * ui-out.c (struct ui_out): Remove, replaced with class ui_out.
    (current_level): Remove, replace with ui_out method.
    (push_level): Likewise.
    (pop_level): Likewise.
    (uo_table_begin, uo_table_body, uo_table_end, uo_table_header,
    uo_begin, uo_end, uo_field_int, uo_field_skip, uo_field_fmt,
    uo_spaces, uo_text, uo_message, uo_wrap_hint, uo_flush,
    uo_redirect, uo_field_string): Remove.
    (ui_out_table_begin): Replace with ...
    (ui_out::table_begin): ... this.
    (ui_out_table_body): Replace with ...
    (ui_out::table_body): ... this.
    (ui_out_table_end): Replace with ...
    (ui_out::table_end): ... this.
    (ui_out_table_header): Replace with ...
    (ui_out::table_header): ... this.
    (ui_out_begin): Replace with ...
    (ui_out::begin): ... this.
    (ui_out_end): Replace with ...
    (ui_out::end): ... this.
    (ui_out_field_int): Replace with ...
    (ui_out::field_int): ... this.
    (ui_out_field_fmt_int): Replace with ...
    (ui_out::field_fmt_int): ... this.
    (ui_out_field_core_addr): Replace with ...
    (ui_out::field_core_addr): ... this.
    (ui_out_field_stream): Replace with ...
    (ui_out::field_stream): ... this.
    (ui_out_field_skip): Replace with ...
    (ui_out::field_skip): ... this.
    (ui_out_field_string): Replace with ...
    (ui_out::field_string): ... this.
    (ui_out_field_fmt): Replace with ...
    (ui_out::field_fmt): ... this.
    (ui_out_spaces): Replace with ...
    (ui_out::spaces): ... this.
    (ui_out_text): Replace with ...
    (ui_out::text): ... this.
    (ui_out_message): Replace with ...
    (ui_out::message): ... this.
    (ui_out_wrap_hint): Replace with ...
    (ui_out::wrap_hint): ... this.
    (ui_out_flush): Replace with ...
    (ui_out::flush): ... this.
    (ui_out_redirect): Replace with ...
    (ui_out::redirect): ... this.
    (ui_out_test_flags): Replace with ...
    (ui_out::test_flags): ... this.
    (ui_out_is_mi_like_p): Replace with ...
    (ui_out::is_mi_like_p): ... this.
    (verify_field): Replace with ...
    (ui_out::verify_field): ... this.
    (ui_out_query_field): Replace with ...
    (ui_out::query_table_field): ... this.
    (ui_out_data): Remove.
    (ui_out_new): Remove, replace with ...
    (ui_out::ui_out): ... this constructor.
    (do_cleanup_table_end, make_cleanup_ui_out_tuple_begin_end,
    do_cleanup_end, make_cleanup_ui_out_tuple_begin_end,
    make_cleanup_ui_out_list_begin_end): Update fallouts of struct
    ui_out -> class ui_out change.
    * cli-out.c (cli_out_data): Remove.
    (cli_uiout_dtor): Remove.
    (cli_table_begin): Replace with ...
    (cli_ui_out::do_table_begin): ... this new method.
    (cli_table_body): Replace with ...
    (cli_ui_out::do_table_body): ... this new method.
    (cli_table_end): Replace with ...
    (cli_ui_out::do_table_end): ... this new method.
    (cli_table_header): Replace with ...
    (cli_ui_out::do_table_header): ... this new method.
    (cli_begin): Replace with ...
    (cli_ui_out::do_begin): ... this new method.
    (cli_end): Replace with ...
    (cli_ui_out::do_end): ... this new method.
    (cli_field_int): Replace with ...
    (cli_ui_out::do_field_int): ... this new method.
    (cli_field_skip): Replace with ...
    (cli_ui_out::do_field_skip): ... this new method.
    (cli_field_string): Replace with ...
    (cli_ui_out::do_field_string): ... this new method.
    (cli_field_fmt): Replace with ...
    (cli_ui_out::do_field_fmt): ... this new method.
    (cli_spaces): Replace with ...
    (cli_ui_out::do_spaces): ... this new method.
    (cli_text): Replace with ...
    (cli_ui_out::do_text): ... this new method.
    (cli_message): Replace with ...
    (cli_ui_out::do_message): ... this new method.
    (cli_wrap_hint): Replace with ...
    (cli_ui_out::do_wrap_hint): ... this new method.
    (cli_flush): Replace with ...
    (cli_ui_out::do_flush): ... this new method.
    (cli_redirect): Replace with ...
    (cli_ui_out::do_redirect): ... this new method.
    (out_field_fmt): Replace with ...
    (cli_ui_out::out_field_fmt): ... this new method.
    (field_separator): Replace with ...
    (cli_ui_out::field_separator): ... this new method.
    (cli_out_set_stream): Replace with ...
    (cli_ui_out::set_stream): ... this new method.
    (cli_ui_out_impl): Remove.
    (cli_out_data_ctor): Remove.
    (cli_ui_out_impl::cli_ui_out_impl): New constructor.
    (cli_ui_out_impl::~cli_ui_out_impl): New destructor.
    (cli_out_new): Change return type to cli_ui_out *, instantiate a
    cli_ui_out.
    * cli-out.h (cli_ui_out_data): Remove, replace with class
    cli_ui_out.
    (class cli_ui_out): New class.
    (cli_ui_out_impl): Remove.
    (cli_out_data_ctor): Remove.
    (cli_out_new): Change return type to cli_ui_out*.
    (cli_out_set_stream): Remove.
    * cli/cli-interp.c (struct cli_interp) <cli_uiout>: Change type
    to cli_ui_out*.
    (cli_interpreter_resume): Adapt.
    (cli_interpreter_exec): Adapt.
    * mi/mi-out.c (mi_ui_out_data, mi_out_data): Remove.
    (mi_ui_out_impl): Remove.
    (mi_table_begin): Replace with ...
    (mi_ui_out::do_table_begin): ... this.
    (mi_table_body): Replace with ...
    (mi_ui_out::do_table_body): ... this.
    (mi_table_end): Replace with ...
    (mi_ui_out::do_table_end): ... this.
    (mi_table_header): Replace with ...
    (mi_ui_out::do_table_header): ... this.
    (mi_begin): Replace with ...
    (mi_ui_out::do_begin): ... this.
    (mi_end): Replace with ...
    (mi_ui_out::do_end): ... this.
    (mi_field_int): Replace with ...
    (mi_ui_out::do_field_int): ... this.
    (mi_field_skip): Replace with ...
    (mi_ui_out::do_field_skip): ... this.
    (mi_field_string): Replace with ...
    (mi_ui_out::do_field_string): ... this.
    (mi_field_fmt): Replace with ...
    (mi_ui_out::do_field_fmt): ... this.
    (mi_spaces): Replace with ...
    (mi_ui_out::do_spaces): ... this.
    (mi_text): Replace with ...
    (mi_ui_out::do_text): ... this.
    (mi_message): Replace with ...
    (mi_ui_out::do_message): ... this.
    (mi_wrap_hint): Replace with ...
    (mi_ui_out::do_wrap_hint): ... this.
    (mi_flush): Replace with ...
    (mi_ui_out::do_flush): ... this.
    (mi_redirect): Replace with ...
    (mi_ui_out::do_redirect):
    (field_separator): Replace with ...
    (mi_ui_out::field_separator):
    (mi_open): Replace with ...
    (mi_ui_out::open): ... this.
    (mi_close): Replace with ...
    (mi_ui_out::close): ... this.
    (mi_out_rewind): Replace with ...
    (mi_ui_out::rewind): ... this.
    (mi_out_put): Replace with ...
    (mi_ui_out::put): ... this.
    (mi_version): Replace with ...
    (mi_ui_out::version): ... this.
    (mi_out_data_ctor): Replace with ...
    (mi_ui_out::mi_ui_out): ... this.
    (mi_out_data_dtor): Replace with ...
    (mi_ui_out::~mi_ui_out): ... this.
    (mi_out_new): Change return type to mi_ui_out*, instantiate
    an mi_ui_out object.
    (as_mi_ui_out): New function.
    (mi_version): Update fallouts of struct ui_out to class ui_out
    transition.
    (mi_out_put): Likewise.
    (mi_out_rewind): Likewise.
    * mi/mi-out.h (mi_out_new): Change return type to mi_ui_out*.
    * tui/tui-out.c (tui_ui_out_data, tui_out_data, tui_ui_out_impl):
    Remove.
    (tui_field_int): Replace with ...
    (tui_ui_out::do_field_int): ... this.
    (tui_field_string): Replace with ...
    (tui_ui_out::do_field_string): ... this.
    (tui_field_fmt): Replace with ...
    (tui_ui_out::do_field_fmt): ... this.
    (tui_text): Replace with ...
    (tui_ui_out::do_text): ... this.
    (tui_out_new): Change return type to tui_ui_out*, instantiate
    tui_ui_out object.
    (tui_ui_out::tui_ui_out): New.
    * tui/tui-out.h: New file.
    * tui/tui.h (tui_out_new): Move declaration to tui/tui-out.h.
    * tui/tui-io.c: Include tui/tui-out.h.
    (tui_old_uiout): Change type to cli_ui_out*.
    (tui_setup_io): Use dynamic_cast.
    * tui/tui-io.h (tui_old_uiout): Change type to cli_ui_out*.
    * tui/tui-interp.c (tui_resume): Adapt.
    * ada-lang.c (print_it_exception): Update fallouts of struct
    ui_out to class ui_out transition.
    (print_one_exception): Likewise.
    (print_mention_exception): Likewise.
    * ada-tasks.c (print_ada_task_info): Likewise.
    (info_task): Likewise.
    (task_command): Likewise.
    * auto-load.c (print_script): Likewise.
    (auto_load_info_scripts): Likewise.
    (info_auto_load_cmd): Likewise.
    * break-catch-sig.c (signal_catchpoint_print_one): Likewise.
    * break-catch-syscall.c (print_it_catch_syscall): Likewise.
    (print_one_catch_syscall): Likewise.
    * break-catch-throw.c (print_it_exception_catchpoint): Likewise.
    (print_one_exception_catchpoint): Likewise.
    (print_one_detail_exception_catchpoint): Likewise.
    (print_mention_exception_catchpoint): Likewise.
    * breakpoint.c (maybe_print_thread_hit_breakpoint): Likewise.
    (print_solib_event): Likewise.
    (watchpoint_check): Likewise.
    (wrap_indent_at_field): Likewise.
    (print_breakpoint_location): Likewise.
    (output_thread_groups): Likewise.
    (print_one_breakpoint_location): Likewise.
    (breakpoint_1): Likewise.
    (default_collect_info): Likewise.
    (watchpoints_info): Likewise.
    (print_it_catch_fork): Likewise.
    (print_one_catch_fork): Likewise.
    (print_it_catch_vfork): Likewise.
    (print_one_catch_vfork): Likewise.
    (print_it_catch_solib): Likewise.
    (print_one_catch_solib): Likewise.
    (print_it_catch_exec): Likewise.
    (print_one_catch_exec): Likewise.
    (mention): Likewise.
    (print_it_ranged_breakpoint): Likewise.
    (print_one_ranged_breakpoint): Likewise.
    (print_one_detail_ranged_breakpoint): Likewise.
    (print_mention_ranged_breakpoint): Likewise.
    (print_it_watchpoint): Likewise.
    (print_mention_watchpoint): Likewise.
    (print_it_masked_watchpoint): Likewise.
    (print_one_detail_masked_watchpoint): Likewise.
    (print_mention_masked_watchpoint): Likewise.
    (bkpt_print_it): Likewise.
    (tracepoint_print_one_detail): Likewise.
    (tracepoint_print_mention): Likewise.
    (update_static_tracepoint): Likewise.
    (tracepoints_info): Likewise.
    (save_breakpoints): Likewise.
    * cli/cli-cmds.c (complete_command): Likewise.
    * cli/cli-logging.c (set_logging_redirect): Likewise.
    (pop_output_files): Likewise.
    (handle_redirections): Likewise.
    * cli/cli-script.c (print_command_lines): Likewise.
    * cli/cli-setshow.c (do_show_command): Likewise.
    (cmd_show_list): Likewise.
    * cp-abi.c (list_cp_abis): Likewise.
    (show_cp_abi_cmd): Likewise.
    * darwin-nat-info.c (darwin_debug_regions_recurse): Likewise.
    * disasm.c (gdb_pretty_print_insn): Likewise.
    (do_mixed_source_and_assembly_deprecated): Likewise.
    (do_mixed_source_and_assembly): Likewise.
    * gdb_bfd.c (print_one_bfd): Likewise.
    (maintenance_info_bfds): Likewise.
    * guile/scm-breakpoint.c (gdbscm_breakpoint_commands): Likewise.
    * guile/scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
    * i386-linux-tdep.c (i386_linux_handle_segmentation_fault): Likewise.
    * i386-tdep.c (i386_mpx_print_bounds): Likewise.
    * infcmd.c (run_command_1): Likewise.
    (print_return_value_1): Likewise.
    * inferior.c (print_selected_inferior): Likewise.
    (print_inferior): Likewise.
    * infrun.c (print_end_stepping_range_reason): Likewise.
    (print_signal_exited_reason): Likewise.
    (print_exited_reason): Likewise.
    (print_signal_received_reason): Likewise.
    (print_no_history_reason): Likewise.
    * interps.c (interp_set): Likewise.
    * linespec.c (decode_line_full): Likewise.
    * linux-thread-db.c (info_auto_load_libthread_db): Likewise.
    * mi/mi-cmd-env.c (mi_cmd_env_pwd): Likewise.
    (mi_cmd_env_path): Likewise.
    (mi_cmd_env_dir): Likewise.
    (mi_cmd_inferior_tty_show): Likewise.
    * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Likewise.
    (print_partial_file_name): Likewise.
    (mi_cmd_file_list_exec_source_files): Likewise.
    * mi/mi-cmd-info.c (mi_cmd_info_ada_exceptions): Likewise.
    (mi_cmd_info_gdb_mi_command): Likewise.
    * mi/mi-cmd-stack.c (mi_cmd_stack_info_depth): Likewise.
    (mi_cmd_stack_list_args): Likewise.
    (list_arg_or_local): Likewise.
    * mi/mi-cmd-var.c (print_varobj): Likewise.
    (mi_cmd_var_create): Likewise.
    (mi_cmd_var_delete): Likewise.
    (mi_cmd_var_set_format): Likewise.
    (mi_cmd_var_show_format): Likewise.
    (mi_cmd_var_info_num_children): Likewise.
    (mi_cmd_var_list_children): Likewise.
    (mi_cmd_var_info_type): Likewise.
    (mi_cmd_var_info_path_expression): Likewise.
    (mi_cmd_var_info_expression): Likewise.
    (mi_cmd_var_show_attributes): Likewise.
    (mi_cmd_var_evaluate_expression): Likewise.
    (mi_cmd_var_assign): Likewise.
    (varobj_update_one): Likewise.
    * mi/mi-interp.c (as_mi_interp): Likewise.
    (mi_on_normal_stop_1): Likewise.
    (mi_tsv_modified): Likewise.
    (mi_breakpoint_created): Likewise.
    (mi_breakpoint_modified): Likewise.
    (mi_solib_loaded): Likewise.
    (mi_solib_unloaded): Likewise.
    (mi_command_param_changed): Likewise.
    (mi_memory_changed): Likewise.
    (mi_user_selected_context_changed): Likewise.
    * mi/mi-main.c (print_one_inferior): Likewise.
    (output_cores): Likewise.
    (list_available_thread_groups): Likewise.
    (mi_cmd_data_list_register_names): Likewise.
    (mi_cmd_data_list_changed_registers): Likewise.
    (output_register): Likewise.
    (mi_cmd_data_evaluate_expression): Likewise.
    (mi_cmd_data_read_memory): Likewise.
    (mi_cmd_data_read_memory_bytes): Likewise.
    (mi_cmd_list_features): Likewise.
    (mi_cmd_list_target_features): Likewise.
    (mi_cmd_add_inferior): Likewise.
    (mi_execute_command): Likewise.
    (mi_load_progress): Likewise.
    (print_variable_or_computed): Likewise.
    (mi_cmd_trace_frame_collected): Likewise.
    * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Likewise.
    * osdata.c (info_osdata_command): Likewise.
    * probe.c (gen_ui_out_table_header_info): Likewise.
    (print_ui_out_not_applicables): Likewise.
    (print_ui_out_info): Likewise.
    (info_probes_for_ops): Likewise.
    (enable_probes_command): Likewise.
    (disable_probes_command): Likewise.
    * progspace.c (print_program_space): Likewise.
    * python/py-breakpoint.c (bppy_get_commands): Likewise.
    * python/py-framefilter.c (py_print_type): Likewise.
    (py_print_value): Likewise.
    (py_print_single_arg): Likewise.
    (enumerate_args): Likewise.
    (enumerate_locals): Likewise.
    (py_print_args): Likewise.
    (py_print_frame): Likewise.
    * record-btrace.c (btrace_ui_out_decode_error): Likewise.
    (btrace_call_history_insn_range): Likewise.
    (btrace_call_history_src_line): Likewise.
    (btrace_call_history): Likewise.
    * remote.c (show_remote_cmd): Likewise.
    * skip.c (skip_info): Likewise.
    * solib.c (info_sharedlibrary_command): Likewise.
    * source.c (print_source_lines_base): Likewise.
    * spu-tdep.c (info_spu_event_command): Likewise.
    (info_spu_signal_command): Likewise.
    (info_spu_mailbox_list): Likewise.
    (info_spu_dma_cmdlist): Likewise.
    (info_spu_dma_command): Likewise.
    (info_spu_proxydma_command): Likewise.
    * stack.c (print_stack_frame): Likewise.
    (print_frame_arg): Likewise.
    (read_frame_arg): Likewise.
    (print_frame_args): Likewise.
    (print_frame_info): Likewise.
    (print_frame): Likewise.
    * symfile.c (load_progress): Likewise.
    (generic_load): Likewise.
    (print_transfer_performance): Likewise.
    * thread.c (do_captured_list_thread_ids): Likewise.
    (print_thread_info_1): Likewise.
    (restore_selected_frame): Likewise.
    (do_captured_thread_select): Likewise.
    (print_selected_thread_frame): Likewise.
    * top.c (execute_command_to_string): Likewise.
    * tracepoint.c (tvariables_info_1): Likewise.
    (trace_status_mi): Likewise.
    (tfind_1): Likewise.
    (print_one_static_tracepoint_marker): Likewise.
    (info_static_tracepoint_markers_command): Likewise.
    * utils.c (do_ui_out_redirect_pop): Likewise.
    (fputs_maybe_filtered): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] New syntax for mt print symbols,msymbols,psymbols.
@ 2016-12-23  0:18 sergiodj+buildbot
  2016-12-24 10:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-23  0:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 34c41c681f4a0a0dfe0405c7d2aecf458520557a ***

Author: Doug Evans <xdje42@gmail.com>
Branch: master
Commit: 34c41c681f4a0a0dfe0405c7d2aecf458520557a

New syntax for mt print symbols,msymbols,psymbols.

gdb/ChangeLog:

	* NEWS: Document new syntax for "mt print symbols", "mt print psymbols"
	and "mt print msymbols" commands.
	* psymtab.c (DEV_TTY): Delete.
	(dump_psymtab_addrmap): Don't dump if psymtabs_addrmap is NULL.
	(maintenance_print_psymbols): Rewrite for new syntax:
	mt print psymbols [-objfile objfile] [-pc address] [outfile]
	mt print psymbols [-objfile objfile] [-source source] [outfile]
	(_initialize_psymtab): Update help text.
	* symmisc.c (maintenance_print_symbols): Rewrite for new syntax:
	mt print symbols [-pc address] [outfile]
	mt print symbols [-objfile objfile] [-source source] [outfile]
	(maintenance_print_msymbols): Rewrite for new syntax:
	mt print msymbols [-objfile objfile] [outfile]
	Only print symbols for the current progspace.
	(_initialize_symmisc): Update help text.

gdb/doc/ChangeLog:

	* gdb.texinfo (Symbols): Update docs for symbol printing maintenance
	commands.

gdb/testsuite/ChangeLog:

	* gdb.base/maint.exp: Update tests for maint print symbols, psymbols
	and msymbols.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] infrun.c (set_step_over_info): Add comment.
@ 2016-12-23  1:16 sergiodj+buildbot
  2016-12-24 13:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-23  1:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ce0db13751aed2782c417bc4cf715313f9273e94 ***

Author: Doug Evans <xdje42@gmail.com>
Branch: master
Commit: ce0db13751aed2782c417bc4cf715313f9273e94

infrun.c (set_step_over_info): Add comment.

gdb/ChangeLog:

	* infrun.c (set_step_over_info): Add comment.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Regenerate pot files.
@ 2016-12-23  9:35 sergiodj+buildbot
  2016-12-24 19:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-23  9:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e0e7a9d436cb3c97ae89c9b0d2750a006746b233 ***

Author: Tristan Gingold <gingold@adacore.com>
Branch: master
Commit: e0e7a9d436cb3c97ae89c9b0d2750a006746b233

Regenerate pot files.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Bump version to 2.28.51
@ 2016-12-23  9:49 sergiodj+buildbot
  2016-12-24 21:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-23  9:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 99b5dbf2e78a63ba4be067bfabb3bec1a6406f1c ***

Author: Tristan Gingold <gingold@adacore.com>
Branch: master
Commit: 99b5dbf2e78a63ba4be067bfabb3bec1a6406f1c

Bump version to 2.28.51

bfd/
2016-12-23  Tristan Gingold  <gingold@adacore.com>

	* version.m4: Bump version to 2.28.51
	* configure: Regenerate.

binutils/
2016-12-23  Tristan Gingold  <gingold@adacore.com>

	* configure: Regenerate.

gas/
2016-12-23  Tristan Gingold  <gingold@adacore.com>

	* configure: Regenerate.

gprof/
2016-12-23  Tristan Gingold  <gingold@adacore.com>

	* configure: Regenerate.

ld/
2016-12-23  Tristan Gingold  <gingold@adacore.com>

	* configure: Regenerate.

opcodes/
2016-12-23  Tristan Gingold  <gingold@adacore.com>

	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] hppa-linux-gnu-ranlib: libcpp.a: File format not recognized
@ 2016-12-23 14:34 sergiodj+buildbot
  2016-12-25  4:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 14:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 865422fafaf387745b2979d47b6f448d28e0edb8 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 865422fafaf387745b2979d47b6f448d28e0edb8

hppa-linux-gnu-ranlib: libcpp.a: File format not recognized

This stops an --enable-targets selection affecting the main target in
regards to forcing 64-bit archives.  It also means mips64 and s390x
will revert to binutils-2.25 and binutils-2.26 behaviour of not
forcing 64-bit archives at least in the common case when plugins were
enabled.

	PR binutils/20464
	PR binutils/14625
	* configure.ac: Revert 2016-05-25 configure change setting
	want_64_bit_archive for mips64 and s390x.  Revise USE_64_BIT_ARCHIVE
	description.
	* configure: Regenerate.
	* config.in: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove "collect" forms of generic linker add symbols functions
@ 2016-12-23 14:54 sergiodj+buildbot
  2016-12-25  7:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 14:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b9fc2576a13367070c741c7ea1d364a483eed0e4 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: b9fc2576a13367070c741c7ea1d364a483eed0e4

Remove "collect" forms of generic linker add symbols functions

Nothing calls them and they were in the way of a bug fix.

	* linker.c (generic_link_add_symbols): Delete.  Merge into..
	(_bfd_generic_link_add_symbols): ..here.
	(generic_link_check_archive_element_no_collect): Delete.
	(generic_link_check_archive_element_collect): Likewise.
	(generic_link_add_object_symbols): Remove "collect" param.  Update
	callers.
	(generic_link_add_symbol_list): Likewise.
	(generic_link_check_archive_element): Likewise.  Call
	bfd_link_add_symbols rather than generic_link_add_object_symbols.
	* libbfd-in.h (_bfd_generic_link_add_symbols_collect): Delete.
	* libbfd.h: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Call target specific add_symbols function
@ 2016-12-23 16:53 sergiodj+buildbot
  2016-12-25 13:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 16:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6eda96bcf3a53843feb5d6d4441f0d9da7bc8a75 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 6eda96bcf3a53843feb5d6d4441f0d9da7bc8a75

Call target specific add_symbols function

This allows targets that have target specific code to add object
symbols to make use of the generic archive handling.

	* linker.c (generic_link_check_archive_element): Call target
	bfd_link_add_symbols to add element symbols.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] opcodes: Use autoconf to check for `bfd_mips_elf_get_abiflags' in BFD
@ 2016-12-23 21:30 sergiodj+buildbot
  2016-12-25 22:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 21:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9e76c212e6311abaee4d02473473f7d6dcad972f ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 9e76c212e6311abaee4d02473473f7d6dcad972f

opcodes: Use autoconf to check for `bfd_mips_elf_get_abiflags' in BFD

Fix a regression introduced with commit 5e7fc731f80e ("MIPS/opcodes:
Also set disassembler's ASE flags from ELF structures"), further updated
with commit 4df995c77118 ("MIPS/opcodes: Also set disassembler's ASE
flags from ELF structures"), and use autoconf to check for the presence
of `bfd_mips_elf_get_abiflags' in BFD.

	opcodes/
	* mips-dis.c (set_default_mips_dis_options): Use
	HAVE_BFD_MIPS_ELF_GET_ABIFLAGS rather than BFD64 to guard the
	call to `bfd_mips_elf_get_abiflags'.
	* configure.ac: Check for `bfd_mips_elf_get_abiflags' in BFD.
	* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add `libbfd.la'.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config.in: Regenerate.
	* Makefile.in: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS16/GAS: Disallow EXTEND delay-slot scheduling
@ 2016-12-23 21:34 sergiodj+buildbot
  2016-12-26  3:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 21:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 645c455650ed35460afdacb078c7c58308607fbe ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 645c455650ed35460afdacb078c7c58308607fbe

MIPS16/GAS: Disallow EXTEND delay-slot scheduling

Do not allow any explicitly coded EXTEND instruction to be automatically
scheduled into a jump delay slot, as an EXTEND prefix is coupled with
the next regular MIPS16 instruction and therefore swapping it with a
jump would change program's semantics; EXTEND is not architecturally
allowed to be present in a jump delay slot anyway.

	opcodes/
	* mips16-opc.c (mips16_opcodes): Set NODS in `pinfo' for
	"extend".

	gas/
	* testsuite/gas/mips/mips16-extend-swap.d: New test.
	* testsuite/gas/mips/mips16-extend-swap.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new test.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS16: Handle non-extensible instructions correctly
@ 2016-12-23 21:54 sergiodj+buildbot
  2016-12-26 12:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 21:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0674ee5dada21c8deec690ca66d5b2870f13ea49 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 0674ee5dada21c8deec690ca66d5b2870f13ea49

MIPS16: Handle non-extensible instructions correctly

Identify non-extensible instructions in the MIPS16 opcode table and
disallow their use with the `.e' instruction size suffix in assembly and
do not interpret any EXTEND prefix present as a part of the instruction
in disassembly.

According to all versions of the MIPS16 ASE specifications the following
instructions encodings are not extensible [1][2][3][4][5][6]: I8/MOV32R,
I8/MOVR32, all RRR minor opcodes, all RR minor opcodes except from DSRA
and DSRL, and EXTEND itself, and as from revision 2.50 of the MIPS16e
ASE specifications it has been further clarified what was previously
implied, that non-extesiable instructions when preceded with an EXTEND
prefix must cause a Reserved Instruction exception [3][5].

Therefore in the presence of an EXTEND prefix none of these instructions
are supposed to be handled as extended instructions and supporting these
forms in disassembly causes confusion, and in the case of the RRR major
opcode it also clashes with the ASMACRO encoding.

References:

[1] "Product Description, MIPS16 Application-Specific Extension",
    Version 1.3, MIPS Technologies, Inc., 970130, Table 3. "MIPS16
    Instruction Set Summary", p. 5

[2] same, Table 5 "RR Minor Opcodes (RR-type instructions)", p.10

[3] "MIPS32 Architecture for Programmers, Volume IV-a: The MIPS16e
    Application-Specific Extension to the MIPS32 Architecture", MIPS
    Technologies, Inc., Document Number: MD00076, Revision 2.63, July
    16, 2013, Section 3.9 "MIPS16e Instruction Summaries", pp. 37-39

[4] same, Section 3.15 "Instruction Bit Encoding", pp. 46-49

[5] "MIPS64 Architecture for Programmers, Volume IV-a: The MIPS16e
    Application-Specific Extension to the MIPS64 Architecture", MIPS
    Technologies, Inc., Document Number: MD00077, Revision 2.60, June
    25, 2008, Section 1.9 "MIPS16e Instruction Summaries", pp. 38-41

[6] same, Section 1.15 "Instruction Bit Encoding", pp. 48-51

	include/
	* opcode/mips.h (INSN2_SHORT_ONLY): New macro.

	gas/
	* config/tc-mips.c (is_size_valid_16): Disallow a `.e' suffix
	instruction size override for INSN2_SHORT_ONLY opcode table
	entries.
	* testsuite/gas/mips/mips16-extend-swap.d: Adjust output.
	* testsuite/gas/mips/mips16-macro-e.l: Adjust error messages.
	* testsuite/gas/mips/mips16-32@mips16-macro-e.l: Adjust error
	messages.
	* testsuite/gas/mips/mips16e-32@mips16-macro-e.l: Adjust error
	messages.
	* testsuite/gas/mips/mips16-insn-e.d: New test.
	* testsuite/gas/mips/mips16-insn-t.d: New test.
	* testsuite/gas/mips/mips16-32@mips16-insn-e.d: New test.
	* testsuite/gas/mips/mips16-64@mips16-insn-e.d: New test.
	* testsuite/gas/mips/mips16e-32@mips16-insn-e.d: New test.
	* testsuite/gas/mips/mips16-32@mips16-insn-t.d: New test.
	* testsuite/gas/mips/mips16-64@mips16-insn-t.d: New test.
	* testsuite/gas/mips/mips16e-32@mips16-insn-t.d: New test.
	* testsuite/gas/mips/mips16-insn-e.l: New stderr output.
	* testsuite/gas/mips/mips16-insn-t.l: New stderr output.
	* testsuite/gas/mips/mips16-32@mips16-insn-e.l: New stderr
	output.
	* testsuite/gas/mips/mips16-64@mips16-insn-e.l: New stderr
	output.
	* testsuite/gas/mips/mips16e-32@mips16-insn-e.l: New stderr
	output.
	* testsuite/gas/mips/mips16-32@mips16-insn-t.l: New stderr
	output.
	* testsuite/gas/mips/mips16-64@mips16-insn-t.l: New stderr
	output.
	* testsuite/gas/mips/mips16e-32@mips16-insn-t.l: New stderr
	output.
	* testsuite/gas/mips/mips16-insn-e.s: New test source.
	* testsuite/gas/mips/mips16-insn-t.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new tests.

	opcodes/
	* mips-dis.c (print_insn_mips16): Disallow EXTEND prefix
	matching for INSN2_SHORT_ONLY opcode table entries.
	* mips16-opc.c (SH): New macro.
	(mips16_opcodes): Set SH in `pinfo2' for non-extensible
	instruction entries: "nop", "addu", "and", "break", "cmp",
	"daddu", "ddiv", "ddivu", "div", "divu", "dmult", "dmultu",
	"drem", "dremu", "dsllv", "dsll", "dsrav", "dsra", "dsrlv",
	"dsrl", "dsubu", "exit", "entry", "jalr", "jal", "jr", "j",
	"jalrc", "jrc", "mfhi", "mflo", "move", "mult", "multu", "neg",
	"not", "or", "rem", "remu", "sllv", "sll", "slt", "sltu",
	"srav", "sra", "srlv", "srl", "subu", "xor", "sdbbp", "seb",
	"seh", "sew", "zeb", "zeh", "zew" and "extend".

	binutils/
	* testsuite/binutils-all/mips/mips16-extend-insn.d: New test.
	* testsuite/binutils-all/mips/mips16-extend-insn.s: New test
	source.
	* testsuite/binutils-all/mips/mips.exp: Run the new tests.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS16: Simplify extended operand handling
@ 2016-12-23 22:22 sergiodj+buildbot
  2016-12-26 19:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 22:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bdd152861ce75c36828904cf3d10f8ce14da6cf5 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: bdd152861ce75c36828904cf3d10f8ce14da6cf5

MIPS16: Simplify extended operand handling

Simplify extended operand handling and only specially process immediates
which require bit shuffling, using the generic operand insertion and
extraction handlers for the '<' (5-bit shift amount) operand code in
particular.  Require the least significant bit of all extended operand
forms to be (artificially) set to 0 for their special processing to
trigger.

	gas/
	* config/tc-mips.c (mips16_immed): Limit `mips16_immed_extend'
	use to operands whose LSB position is zero.

	opcodes/
	* mips-dis.c (print_mips16_insn_arg): Simplify processing of
	extended operands.
	* mips16-opc.c (decode_mips16_operand): Switch the extended
	form of the `<' operand type to LSB position 22.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS16: Remove "extended" BREAK/SDBBP handling
@ 2016-12-23 22:25 sergiodj+buildbot
  2016-12-26  6:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-23 22:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b2805ed55456cea2694d31fc8627cca17120267b ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: b2805ed55456cea2694d31fc8627cca17120267b

MIPS16: Remove "extended" BREAK/SDBBP handling

Remove special casing for the `6' operand code used for the embedded
trap code of the BREAK and the SDBBP instructions to support supposedly
extended forms of these instructions.

According to all versions of the MIPS16 ASE specifications these
instructions are not extensible [1][2][3][4][5][7][8][10][11], and as
from revision 2.50 of the MIPS16e ASE specifications it has been further
clarified what was previously implied, that non-extesiable instructions
when preceded with an EXTEND prefix must cause a Reserved Instruction
exception [5][6][9][10].

Therefore supposedly extended BREAK and SDBBP instructions do not serve
their purpose anymore as they do not cause a Bp and a Debug exception
respectively and supporting these forms in disassembly only causes
confusion.

References:

[1] "Product Description, MIPS16 Application-Specific Extension",
    Version 1.3, MIPS Technologies, Inc., 970130, Table 3. "MIPS16
    Instruction Set Summary", p. 5

[2] same, Table 5 "RR Minor Opcodes (RR-type instructions)", p.10

[3] same, Table 18. "Extendable MIPS16 Instructions", p. 24

[4] "MIPS32 Architecture for Programmers, Volume IV-a: The MIPS16e
    Application-Specific Extension to the MIPS32 Architecture", MIPS
    Technologies, Inc., Document Number: MD00076, Revision 2.63, July
    16, 2013, Table 3.8 "MIPS16e Special Instructions", p. 38

[5] same, Section 3.11 "MIPS16e Extensible Instructions, p. 41

[6] same, Table 3.15 "MIPS16e Extensible Instructions", p. 41

[7] same, Table 3.24 "MIPS16e RR Encoding of the Funct Field", p. 49

[8] "MIPS64 Architecture for Programmers, Volume IV-a: The MIPS16e
    Application-Specific Extension to the MIPS64 Architecture", MIPS
    Technologies, Inc., Document Number: MD00077, Revision 2.60, June
    25, 2008, Table 1.8 "MIPS16e Special Instructions", p. 39

[9] same, Section 1.11 "MIPS16e Extensible Instructions", p. 42

[10] same, Table 1.15 "MIPS16e Extensible Instructions", pp. 42-43

[11] same, Table 1.24 "MIPS16e RR Encoding of the Funct Field", p. 50

	gas/
	* config/tc-mips.c (match_mips16_insn): Remove the `6' operand
	code special case and its associated comment.

	opcodes/
	* mips16-opc.c (decode_mips16_operand) <'6'>: Remove extended
	encoding support.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS16: Reassign `0' and `4' operand codes
@ 2016-12-24  0:33 sergiodj+buildbot
  2016-12-26 16:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-24  0:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d8722d7641d234dcd3d1f2254fbc5d9cf234e4e6 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: d8722d7641d234dcd3d1f2254fbc5d9cf234e4e6

MIPS16: Reassign `0' and `4' operand codes

Replace `0' and `4' operand codes with `.' and `F' respectively to free
up the `0'-`4' consecutive range.  No functional change.

	gas/
	* config/tc-mips.c (mips16_macro_build): Replace `0' and `4'
	operand codes with `.' and `F' respectively.
	(mips16_macro): Likewise.

	include/
	* opcode/mips.h: Replace `0' and `4' operand codes with `.' and
	`F' respectively.

	opcodes/
	* mips16-opc.c (decode_mips16_operand): Replace `0' and `4'
	operand codes with `.' and `F' respectively.
	(mips16_opcodes): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS16: Add ASMACRO instruction support
@ 2016-12-24  1:33 sergiodj+buildbot
  2016-12-27  4:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-24  1:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5284e471d53ccb7c7a1d140bd83098607ccf4b8a ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 5284e471d53ccb7c7a1d140bd83098607ccf4b8a

MIPS16: Add ASMACRO instruction support

Add ASMACRO instruction support as per the MIPS16e ASE architecture
specifications [1][2], completing MIPS16e instruction set support.

[1] "MIPS32 Architecture for Programmers, Volume IV-a: The MIPS16e
    Application-Specific Extension to the MIPS32 Architecture", MIPS
    Technologies, Inc., Document Number: MD00076, Revision 2.63, July
    16, 2013, Section 4.1 "MIPS16e Instruction Descriptions", p. 65

[2] "MIPS64 Architecture for Programmers, Volume IV-a: The MIPS16e
    Application-Specific Extension to the MIPS64 Architecture", MIPS
    Technologies, Inc., Document Number: MD00077, Revision 2.60, June
    25, 2008, Section 1.1 "MIPS16e Instruction Descriptions", p. 66

	include/
	* opcode/mips.h: Document `0', `1', `2', `3', `4' and `s'
	operand codes.

	opcodes/
	* mips16-opc.c (decode_mips16_operand): Add `0', `1', `2', `3',
	`4' and `s' operand codes.
	(mips16_opcodes): Add "asmacro" entry.

	binutils/
	* testsuite/binutils-all/mips/mips16-extend-insn.d: Update for
	ASMACRO support.

	gas/
	* testsuite/gas/mips/mips16-asmacro.d: New test.
	* testsuite/gas/mips/mips16-32@mips16-asmacro.d: New test.
	* testsuite/gas/mips/mips16-64@mips16-asmacro.d: New test.
	* testsuite/gas/mips/mips16-asmacro.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new tests.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS/BFD: Remove EI_ABIVERSION 5 allocation for PT_GNU_STACK support
@ 2016-12-24  3:33 sergiodj+buildbot
  2016-12-27  6:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-24  3:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4d4f40e041ce7c8c7c8e50f957e0440b64ab7e95 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 4d4f40e041ce7c8c7c8e50f957e0440b64ab7e95

MIPS/BFD: Remove EI_ABIVERSION 5 allocation for PT_GNU_STACK support

Revert commit 17733f5be961 ("Increment the ABIVERSION to 5 for MIPS
objects with non-executable stacks.") and remove EI_ABIVERSION 5
allocation for PT_GNU_STACK support, which has not made it to glibc
and will be reassigned.

	bfd/
	* bfd/elfxx-mips.c (_bfd_mips_post_process_headers): Revert
	2016-02-23 change and remove EI_ABIVERSION 5 support.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Put .dynbss and .rel.bss shortcuts in main elf hash table
@ 2016-12-26  6:26 sergiodj+buildbot
  2016-12-27 18:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-26  6:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9d19e4fdb7c684329c8b1b72796a0071708dabc7 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 9d19e4fdb7c684329c8b1b72796a0071708dabc7

Put .dynbss and .rel.bss shortcuts in main elf hash table

Also, create .rel{,a}.bss for PIEs on all targets, not just x86.

	* elf-bfd.h (struct elf_link_hash_table): Add sdynbss and srelbss.
	* elflink.c (_bfd_elf_create_dynamic_sections): Set them.  Create
	.rel.bss/.rela.bss for executables, both PIE and non-PIE.
	* elf32-arc.c (struct elf_arc_link_hash_table): Delete srelbss.
	Use ELF hash table var throughout.
	* elf32-arm.c (struct elf32_arm_link_hash_table): Delete sdynbss
	and srelbss.  Use ELF hash table vars throughout.
	* elf32-hppa.c (struct elf32_hppa_link_hash_table): Likewise.
	* elf32-i386.c (struct elf_i386_link_hash_table): Likewise.
	* elf32-metag.c (struct elf_metag_link_hash_table): Likewise.
	* elf32-microblaze.c (struct elf32_mb_link_hash_table): Likewise.
	* elf32-nios2.c (struct elf32_nios2_link_hash_table): Likewise.
	* elf32-or1k.c (struct elf_or1k_link_hash_table): Likewise.
	* elf32-ppc.c (struct ppc_elf_link_hash_table): Likewise.
	* elf32-s390.c (struct elf_s390_link_hash_table): Likewise.
	* elf32-tic6x.c (struct elf32_tic6x_link_hash_table): Likewise.
	* elf32-tilepro.c (struct tilepro_elf_link_hash_table): Likewise.
	* elf64-ppc.c (struct ppc_link_hash_table): Likewise.
	* elf64-s390.c (struct elf_s390_link_hash_table): Likewise.
	* elf64-x86-64.c (struct elf_x86_64_link_hash_table): Likewise.
	* elfnn-aarch64.c (struct elf_aarch64_link_hash_table): Likewise.
	* elfnn-riscv.c (struct riscv_elf_link_hash_table): Likewise.
	* elfxx-mips.c (struct mips_elf_link_hash_table): Likewise.
	* elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Likewise.
	* elfxx-sparc.c: Likewise.
	* elfxx-tilegx.c (struct tilegx_elf_link_hash_table): Likewise.

	* elf32-arc.c (arc_elf_create_dynamic_sections): Delete.
	(elf_backend_create_dynamic_sections): Use base ELF version.
	* elf32-microblaze.c (microblaze_elf_create_dynamic_sections): Delete.
	(elf_backend_create_dynamic_sections): Use base ELF version.
	* elf32-or1k.c (or1k_elf_create_dynamic_sections): Delete.
	(elf_backend_create_dynamic_sections): Use base ELF version.
	* elf32-s390.c (elf_s390_create_dynamic_sections): Delete.
	(elf_backend_create_dynamic_sections): Use base ELF version.
	* elf64-ppc.c (ppc64_elf_create_dynamic_sections): Delete.
	(elf_backend_create_dynamic_sections): Use base ELF version.
	* elf64-s390.c (elf_s390_create_dynamic_sections): Delete.
	(elf_backend_create_dynamic_sections): Use base ELF version.

	* elf32-tilepro.c (tilepro_elf_create_dynamic_sections): Remove
	extraneous tests.
	* elfnn-aarch64.c (elfNN_aarch64_create_dynamic_sections): Likewise.
	* elfxx-mips.c (_bfd_mips_elf_create_dynamic_sections): Likewise.
	* elfxx-tilegx.c (tilegx_elf_create_dynamic_sections): Likewise.

	* elf32-i386.c (elf_i386_create_dynamic_sections): Don't create
	".rel.bss" for executables.
	* elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Don't create
	".rela.bss" for executables.
	* elf32-nios2.c (nios2_elf32_create_dynamic_sections): Don't
	ignore return status from _bfd_elf_create_dynamic_sections.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] dynrelro section for read-only dynamic symbols copied into executable
@ 2016-12-26  6:54 sergiodj+buildbot
  2016-12-27 22:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-26  6:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5474d94f03aedba2f832006dc7d680cc15792a7b ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 5474d94f03aedba2f832006dc7d680cc15792a7b

dynrelro section for read-only dynamic symbols copied into executable

Variables defined in shared libraries are copied into an executable's
.bss section when code in the executable is non-PIC and thus would
require dynamic text relocations to access the variable directly in
the shared library.  Recent x86 toolchains also copy variables into
the executable to gain a small speed improvement.

The problem is that if the variable was originally read-only, the copy
in .bss is writable, potentially opening a security hole.  This patch
cures that problem by putting the copy in a section that becomes
read-only after ld.so relocation, provided -z relro is in force.

The patch also fixes a microblaze linker segfault on attempting to
use dynamic bss variables.

bfd/
	PR ld/20995
	* elf-bfd.h (struct elf_link_hash_table): Add sdynrelro and
	sreldynrelro.
	(struct elf_backend_data): Add want_dynrelro.
	* elfxx-target.h (elf_backend_want_dynrelro): Define.
	(elfNN_bed): Update initializer.
	* elflink.c (_bfd_elf_create_dynamic_sections): Create
	sdynrelro and sreldynrelro sections.
	* elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Place variables
	copied into the executable from read-only sections into sdynrelro.
	(elf32_arm_size_dynamic_sections): Handle sdynrelro.
	(elf32_arm_finish_dynamic_symbol): Select sreldynrelro for
	dynamic relocs in sdynrelro.
	(elf_backend_want_dynrelro): Define.
	* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol)
	(elf32_hppa_size_dynamic_sections, elf32_hppa_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf32-i386.c (elf_i386_adjust_dynamic_symbol)
	(elf_i386_size_dynamic_sections, elf_i386_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf32-metag.c (elf_metag_adjust_dynamic_symbol)
	(elf_metag_size_dynamic_sections, elf_metag_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf32-microblaze.c (microblaze_elf_adjust_dynamic_symbol)
	(microblaze_elf_size_dynamic_sections)
	(microblaze_elf_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf32-nios2.c (nios2_elf32_finish_dynamic_symbol)
	(nios2_elf32_adjust_dynamic_symbol)
	(nios2_elf32_size_dynamic_sections)
	(elf_backend_want_dynrelro): As above.
	* elf32-or1k.c (or1k_elf_finish_dynamic_symbol)
	(or1k_elf_adjust_dynamic_symbol, or1k_elf_size_dynamic_sections)
	(elf_backend_want_dynrelro): As above.
	* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol)
	(ppc_elf_size_dynamic_sections, ppc_elf_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf32-s390.c (elf_s390_adjust_dynamic_symbol)
	(elf_s390_size_dynamic_sections, elf_s390_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf32-tic6x.c (elf32_tic6x_adjust_dynamic_symbol)
	(elf32_tic6x_size_dynamic_sections)
	(elf32_tic6x_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf32-tilepro.c (tilepro_elf_adjust_dynamic_symbol)
	(tilepro_elf_size_dynamic_sections)
	(tilepro_elf_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol)
	(ppc64_elf_size_dynamic_sections, ppc64_elf_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf64-s390.c (elf_s390_adjust_dynamic_symbol)
	(elf_s390_size_dynamic_sections, elf_s390_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol)
	(elf_x86_64_size_dynamic_sections)
	(elf_x86_64_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elfnn-aarch64.c (elfNN_aarch64_adjust_dynamic_symbol)
	(elfNN_aarch64_size_dynamic_sections)
	(elfNN_aarch64_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elfnn-riscv.c (riscv_elf_adjust_dynamic_symbol)
	(riscv_elf_size_dynamic_sections, riscv_elf_finish_dynamic_symbol)
	(elf_backend_want_dynrelro): As above.
	* elfxx-mips.c (_bfd_mips_elf_adjust_dynamic_symbol)
	(_bfd_mips_elf_size_dynamic_sections)
	(_bfd_mips_vxworks_finish_dynamic_symbol): As above.
	* elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol)
	(_bfd_sparc_elf_size_dynamic_sections)
	(_bfd_sparc_elf_finish_dynamic_symbol): As above.
	* elfxx-tilegx.c (tilegx_elf_adjust_dynamic_symbol)
	(tilegx_elf_size_dynamic_sections)
	(tilegx_elf_finish_dynamic_symbol): As above.
	* elf32-mips.c (elf_backend_want_dynrelro): Define.
	* elf64-mips.c (elf_backend_want_dynrelro): Define.
	* elf32-sparc.c (elf_backend_want_dynrelro): Define.
	* elf64-sparc.c (elf_backend_want_dynrelro): Define.
	* elf32-tilegx.c (elf_backend_want_dynrelro): Define.
	* elf64-tilegx.c (elf_backend_want_dynrelro): Define.
	* elf32-microblaze.c (microblaze_elf_adjust_dynamic_symbol): Tidy.
	(microblaze_elf_size_dynamic_sections): Handle sdynbss.
	* elf32-nios2.c (nios2_elf32_size_dynamic_sections): Make use
	of linker shortcuts to dynamic sections rather than comparing
	names.  Correctly set "got" flag.
ld/
	PR ld/20995
	* testsuite/ld-arm/farcall-mixed-app-v5.d: Update to suit changed
	stub hash table traversal caused by section id increment.  Accept
	the previous output too.
	* testsuite/ld-arm/farcall-mixed-app.d: Likewise.
	* testsuite/ld-arm/farcall-mixed-lib-v4t.d: Likewise.
	* testsuite/ld-arm/farcall-mixed-lib.d: Likewise.
	* testsuite/ld-elf/pr20995a.s, * testsuite/ld-elf/pr20995b.s,
	* testsuite/ld-elf/pr20995.r: New test.
	* testsuite/ld-elf/elf.exp: Run it.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Check bfd support for bfd_mips_elf_get_abiflags in mips make rule
@ 2016-12-28 13:44 sergiodj+buildbot
  2016-12-28 21:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-28 13:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0fa6f7cee7dedb600799234b1e2d52c5b0da8f96 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 0fa6f7cee7dedb600799234b1e2d52c5b0da8f96

Check bfd support for bfd_mips_elf_get_abiflags in mips make rule

The previous scheme with a dependency in opcodes on libbfd.la
broke "make distclean".

	* configure.ac: Revert 2016-12-23.
	* Makefile.am: Likewise.
	(MIPS_DEFS): Define.
	(mips-dis.lo): Add rule.
	* Makefile.in: Regenerate.
	* aclocal.m4: Regenerate.
	* config.in: Regenerate.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] link_hash_copy_indirect and symbol flags
@ 2016-12-29 14:37 sergiodj+buildbot
  2016-12-29 16:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-29 14:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e81830c5c61a8665c098189d069cc68b0df113d3 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: e81830c5c61a8665c098189d069cc68b0df113d3

link_hash_copy_indirect and symbol flags

A while ago HJ fixed PR ld/18720 with commit 6e33951ed, which, among
other things, modified _bfd_elf_link_hash_copy_indirect to not copy
ref_dynamic, ref_regular, ref_regular_nonweak, non_got_ref, needs_plt
and pointer_equality_needed when setting up an indirect non-versioned
symbol pointing to a non-default versioned symbol.  I didn't notice at
the time, but the pr18720 testcase fails on hppa-linux with
"internal error, aborting at binutils-gdb-2.28/bfd/elf32-hppa.c:3933
in elf32_hppa_relocate_section".

Now hppa-linux creates entries in the plt even for local functions, if
they are referenced using plabel (function pointer) relocations.   So
needs_plt is set for foo when processing pr18720a.o.  When the aliases
in pr28720b.o are processed, we get an indirection from foo to
foo@FOO, but don't copy needs_plt.  Since foo@FOO is the "real" symbol
that is used after that point, no plt entry is made for foo and we
bomb when relocating the plabel.

As shown by the hppa-linux scenario, needs_plt should be copied even
for non-default versioned symbols.  I believe all of the others ought
to be copied too, with the exception of ref_dynamic.  Not copying
ref_dynamic is right because if a shared lib references "foo" it
should not be satisfied by any non-default version "foo@FOO".

	* elflink.c (_bfd_elf_link_hash_copy_indirect): Only omit
	copying one flag, ref_dynamic, when versioned_hidden.
	* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
	* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Use same
	logic for copying weakdef flags.  Copy plabel flag and merge
	tls_type.
	* elf32-i386.c (elf_i386_copy_indirect_symbol): Use same logic
	for copying weakdef flags.
	* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise.
	* elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise.
	* elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise.
	* elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise.
	* elfnn-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
	* elf64-x86-64.c (elf_x86_64_copy_indirect_symbol): Likewise.
	Simplify.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Return 'int' rather than 'unsigned short' in avrdis_opcode
@ 2016-12-29 16:30 sergiodj+buildbot
  2016-12-29 22:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-29 16:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a7e10188e3c08403fb00b728644d7a95092c732 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 0a7e10188e3c08403fb00b728644d7a95092c732

Return 'int' rather than 'unsigned short' in avrdis_opcode

avrdis_opcode return type is unsigned short, but -1 at the end of
this function is returned.  Additionally, print_insn_avr doesn't
handle when -1 (in case of memory error) is returned from
avrdis_opcode.

This patch changes avrdis_opcode returning int indicating the error,
and adds a new argument for instruction we got on success.  The
opcode is 16-bit, so I change local variables type to uint16_t,
and include "bfd_stdint.h" as a result.  On memory error,
print_insn_avr returns -1, which is a common convention among most
of print_insn_$ARCH functions.

opcodes:

2016-12-29  Yao Qi  <yao.qi@linaro.org>

	* avr-dis.c: Include "bfd_stdint.h"
	(avrdis_opcode): Change return type to int, add argument
	insn.  Set *INSN on success.
	(print_insn_avr): Check return value of avrdis_opcode, and
	return -1 on error.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Import config.sub
@ 2016-12-31  2:44 sergiodj+buildbot
  2016-12-31  4:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-31  2:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3f66c01be30edcfaedd11d475078f78e464ca4a0 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 3f66c01be30edcfaedd11d475078f78e464ca4a0

Import config.sub

	* config.sub: Import from upstream.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PRU BFD support
@ 2016-12-31  3:06 sergiodj+buildbot
  2016-12-31  9:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-31  3:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 889294f6ffb380eb37b1f1f3bd22807fa9204c14 ***

Author: Dimitar Dimitrov <dimitar@dinux.eu>
Branch: master
Commit: 889294f6ffb380eb37b1f1f3bd22807fa9204c14

PRU BFD support

include/
	* elf/common.h: Add PRU ELF.
	* elf/pru.h: New file.
	* opcode/pru.h: New file.
	* dis-asm.h (print_insn_pru): Declare.
bfd/
	* archures.c: Add bfd_arch_pru.
	* Makefile.am: Add PRU target.
	* config.bfd: Ditto.
	* configure.ac: Ditto.
	* elf-bfd.h (enum elf_target_id): Add PRU_ELF_DATA.
	* targets.c: Add pru_elf32_vec.
	* reloc.c: Add PRU relocations.
	* cpu-pru.c: New file.
	* elf32-pru.c: New file.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
	* po/SRC-POTFILES.in: Regenerate.
	* bfd-in2.h: Regenerate
	* libbfd.h: Regenerate.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Create sdynrelro for elfn32 mips too
@ 2016-12-31  9:11 sergiodj+buildbot
  2016-12-31 18:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-31  9:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b7aba156196caf59117741eae5e93b578d0b59f4 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: b7aba156196caf59117741eae5e93b578d0b59f4

Create sdynrelro for elfn32 mips too

	* elfn32-mips.c (elf_backend_want_dynrelro): Define.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix riscv breakage
@ 2016-12-31 13:03 sergiodj+buildbot
  2016-12-31 22:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2016-12-31 13:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ae4c0df4b6a76db172cc4d4c3f34fdd8064c80ed ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: ae4c0df4b6a76db172cc4d4c3f34fdd8064c80ed

Fix riscv breakage

	* disassemble.c (disassembler): Add break accidentally removed
	by PRU patch.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR20989, sparc GOT sequence optimisation
@ 2017-01-04  0:08 sergiodj+buildbot
  2017-01-04  6:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  0:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5b86074c4a84e32ca55a6c72c5fca45d97dc9374 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 5b86074c4a84e32ca55a6c72c5fca45d97dc9374

PR20989, sparc GOT sequence optimisation

	PR ld/20989
	* elfxx-sparc.c (gdop_relative_offset_ok): New function.
	(_bfd_sparc_elf_relocate_section): Use it to validate GOT
	indirect to GOT pointer relative code edit.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Update year range in copyright notice of all files.
@ 2017-01-04  0:14 sergiodj+buildbot
  2017-01-04  2:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  0:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2571583aed598dd3f9651b53434e5f177a0e3cf7 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 2571583aed598dd3f9651b53434e5f177a0e3cf7

Update year range in copyright notice of all files.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Sync dwarf headers with master versions in gcc repository.
@ 2017-01-04  1:22 sergiodj+buildbot
  2017-01-04 21:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  1:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fb9b4b7e534c4df7e8e0cb60c180e61f27617f0a ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: fb9b4b7e534c4df7e8e0cb60c180e61f27617f0a

Sync dwarf headers with master versions in gcc repository.

	* dwarf2.def: Sync with mainline gcc sources
	* dwarf2.h: Likewise.

	2016-12-21  Jakub Jelinek  <jakub@redhat.com>

	* dwarf2.def (DW_FORM_ref_sup): Renamed to ...
	(DW_FORM_ref_sup4): ... this.  New form.
	(DW_FORM_ref_sup8): New form.

	2016-10-17  Jakub Jelinek  <jakub@redhat.com>

	* dwarf2.h (enum dwarf_calling_convention): Add new DWARF5
	calling convention codes.
	(enum dwarf_line_number_content_type): New.
	(enum dwarf_location_list_entry_type): Add DWARF5 DW_LLE_*
	codes.
	(enum dwarf_source_language): Add new DWARF5 DW_LANG_* codes.
	(enum dwarf_macro_record_type): Add DWARF5 DW_MACRO_* codes.
	(enum dwarf_name_index_attribute): New.
	(enum dwarf_range_list_entry): New.
	(enum dwarf_unit_type): New.
	* dwarf2.def: Add new DWARF5 DW_TAG_*, DW_FORM_*, DW_AT_*,
	DW_OP_* and DW_ATE_* entries.

	2016-08-15  Jakub Jelinek  <jakub@redhat.com>

	* dwarf2.def (DW_AT_string_length_bit_size,
	DW_AT_string_length_byte_size): New attributes.

	2016-08-12  Alexandre Oliva <aoliva@redhat.com>

	PR debug/63240
	* dwarf2.def (DW_AT_deleted, DW_AT_defaulted): New.
	* dwarf2.h (enum dwarf_defaulted_attribute): New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix compile time warning about using a possibly uninitialised variable.
@ 2017-01-04  1:38 sergiodj+buildbot
  2017-01-05  1:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  1:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 09fe2662a708aa4da665bcaf942b5529e6809220 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 09fe2662a708aa4da665bcaf942b5529e6809220

Fix compile time warning about using a possibly uninitialised variable.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Regen opcodes cgen files
@ 2017-01-04  2:06 sergiodj+buildbot
  2017-01-04 17:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  2:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f47b0d4a49facbfa5c2f0971474593df0a854547 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: f47b0d4a49facbfa5c2f0971474593df0a854547

Regen opcodes cgen files

	* epiphany-desc.h: Regenerate.
	* epiphany-opc.h: Regenerate.
	* fr30-desc.h: Regenerate.
	* fr30-opc.h: Regenerate.
	* frv-desc.h: Regenerate.
	* frv-opc.h: Regenerate.
	* ip2k-desc.h: Regenerate.
	* ip2k-opc.h: Regenerate.
	* iq2000-desc.h: Regenerate.
	* iq2000-opc.h: Regenerate.
	* lm32-desc.h: Regenerate.
	* lm32-opc.h: Regenerate.
	* m32c-desc.h: Regenerate.
	* m32c-opc.h: Regenerate.
	* m32r-desc.h: Regenerate.
	* m32r-opc.h: Regenerate.
	* mep-desc.h: Regenerate.
	* mep-opc.h: Regenerate.
	* mt-desc.h: Regenerate.
	* mt-opc.h: Regenerate.
	* or1k-desc.h: Regenerate.
	* or1k-opc.h: Regenerate.
	* xc16x-desc.h: Regenerate.
	* xc16x-opc.h: Regenerate.
	* xstormy16-desc.h: Regenerate.
	* xstormy16-opc.h: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add new Serbian translation for the opcodes library.
@ 2017-01-04  2:25 sergiodj+buildbot
  2017-01-05  4:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  2:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f90c58d59339ae3e0593cd6e464775973b7c259c ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: f90c58d59339ae3e0593cd6e464775973b7c259c

Add new Serbian translation for the opcodes library.

	* po/sr.po: New Serbian translation.
	* configure.ac (ALL_LINGUAS): Add sr.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add support for the Q extension to the RISCV ISA.
@ 2017-01-04  3:42 sergiodj+buildbot
  2017-01-05 15:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  3:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc917fd93d2a836adfd61b91df021cf835e88fd1 ***

Author: Kito Cheng <kito.cheng@gmail.com>
Branch: master
Commit: cc917fd93d2a836adfd61b91df021cf835e88fd1

Add support for the Q extension to the RISCV ISA.

gas    * config/tc-riscv.c (riscv_set_arch): Whitelist the "q" ISA
        extension.
        (riscv_after_parse_args): Set FLOAT_ABI_QUAD when the Q ISA is
        enabled and no other ABI is specified.

include * opcode/riscv-opc.h: Add support for the "q" ISA extension.

opcodes * riscv-opc.c (riscv-opcodes): Add support for the "q" ISA
        extension.
        * riscv-opcodes/all-opcodes: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfd: alpha: Fix crash caused by double free with --no-keep-memory
@ 2017-01-04  3:56 sergiodj+buildbot
  2017-01-05 18:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  3:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ae4fda663812129df67e3a70691787060242c0f9 ***

Author: James Clarke <jrtc27@jrtc27.com>
Branch: master
Commit: ae4fda663812129df67e3a70691787060242c0f9

bfd: alpha: Fix crash caused by double free with --no-keep-memory

Without this, ld has been seen to crash in libc when freeing tsec_free:

*** Error in `/usr/bin/ld': double free or corruption (!prev): 0x0000000120ceb6a0 ***

_bfd_elf_link_read_relocs will always return the cached value if
present, even if keep_memory is false, therefore setting tsec_free to
NULL only when keep_memory is true is not sufficient.

	* elf64-alpha.c (elf64_alpha_relax_opt_call): Don't set tsec_free
	if relocs are cached.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix generation of GOT table when only GOT-relative relocs are used.
@ 2017-01-04  5:38 sergiodj+buildbot
  2017-01-05 11:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-04  5:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT de1010f40884537cf0905ad134162cd2db71dc2a ***

Author: Rich Felker <bugdal@aerifal.cx>
Branch: master
Commit: de1010f40884537cf0905ad134162cd2db71dc2a

Fix generation of GOT table when only GOT-relative relocs are used.

	PR ld/21017
	* elf32-microblaze.c (microblaze_elf_check_relocs): Add an entry
	for R_MICROBLAZE_GOTOFF_64.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Add separate feature flag for weaker release consistent load insns
@ 2017-01-04 12:49 sergiodj+buildbot
  2017-01-06  1:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-04 12:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d74d4880e23263bac3690bcb641af56bd13036e6 ***

Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Branch: master
Commit: d74d4880e23263bac3690bcb641af56bd13036e6

[AArch64] Add separate feature flag for weaker release consistent load insns

The weaker release consistency support of ARMv8.3-A is allowed as an optional
extension for ARMv8.2-A, so separate command line option and feature flag is
added: -march=armv8.2-a+rcpc turns LDAPR, LDAPRB, LDAPRH instructions on.

opcodes/
	* aarch64-tbl.h (RCPC, RCPC_INSN): Define.
	(aarch64_opcode_table): Use RCPC_INSN.

include/
	* opcode/aarch64.h (AARCH64_FEATURE_RCPC): Define.
	(AARCH64_ARCH_V8_3): Update.

gas/
	* config/tc-aarch64.c (aarch64_features): Add rcpc.
	* doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
	* testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
	* testsuite/gas/aarch64/ldst-rcpc.d: This.
	* testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
	* testsuite/gas/aarch64/ldst-rcpc.s: This.
	* testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] update-copyright.py for binutils
@ 2017-01-04 14:57 sergiodj+buildbot
  2017-01-06 12:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-04 14:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7c2a23b23e9ca7015acadbbc7a12c665791c8337 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 7c2a23b23e9ca7015acadbbc7a12c665791c8337

update-copyright.py for binutils

This is a modified form of gcc's contrib/update-copyright.py.

	* update-copyright.py: New file.
	* add-log.el: Update copyright year range.
	* texi2pod.pl: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [DWARF] Sync GCC dwarf.def change on AArch64
@ 2017-01-04 16:08 sergiodj+buildbot
  2017-01-06 15:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-04 16:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8cf50cb070642d73acc537010d71c912f921861c ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 8cf50cb070642d73acc537010d71c912f921861c

[DWARF] Sync GCC dwarf.def change on AArch64

include/
	* dwarf2.def: Sync with mainline gcc sources.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use correct OSABI constant for FreeBSD/mips binaries.
@ 2017-01-04 20:32 sergiodj+buildbot
  2017-01-06 19:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-04 20:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c988ac1de5bc0efec2022fc6ce7d13b24e540099 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: c988ac1de5bc0efec2022fc6ce7d13b24e540099

Use correct OSABI constant for FreeBSD/mips binaries.

gdb/ChangeLog:

	* mips-fbsd-tdep.c (_initialize_mips_fbsd_tdep): Use
	GDB_OSABI_FREEBSD instead of GDB_OSABI_FREEBSD_ELF.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Five fixes, for fcsel, fcvtz, fminnm, mls, and non-widening mul.
@ 2017-01-05  0:23 sergiodj+buildbot
  2017-01-06 22:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-05  0:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0386d4d54d2cc33d6efc0b998fe6396bf92be15 ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: c0386d4d54d2cc33d6efc0b998fe6396bf92be15

Five fixes, for fcsel, fcvtz, fminnm, mls, and non-widening mul.

	sim/aarch64/
	* cpustate.c: Include math.h.
	(aarch64_set_FP_float): Use signbit to check for signed zero.
	(aarch64_set_FP_double): Likewise.
	* simulator.c (do_vec_MOV_immediate, case 0x8): Add missing break.
	(do_vec_mul): In all DO_VEC_WIDENING_MUL calls, make second and fourth
	args same size as third arg.
	(fmaxnm): Use isnan instead of fpclassify.
	(fminnm, dmaxnm, dminnm): Likewise.
	(do_vec_MLS): Reverse order of subtraction operands.
	(dexSimpleFPCondSelect): Call aarch64_get_FP_double or
	aarch64_get_FP_float to get source register contents.
	(UINT_MIN, ULONG_MIN, FLOAT_UINT_MAX, FLOAT_UINT_MIN,
	DOUBLE_UINT_MAX, DOUBLE_UINT_MIN, FLOAT_ULONG_MAX, FLOAT_ULONG_MIN,
	DOUBLE_ULONG_MAX, DOUBLE_ULONG_MIN): New.
	(do_fcvtzu): Use ULONG instead of LONG, and UINT instead of INT in
	raise_exception calls.

	sim/testsuite/sim/aarch64/
	* fcsel.s: New.
	* fcvtz.s: New.
	* fminnm.s: New.
	* mls.s: New.
	* mul.s: New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Prevent an abort in the FRV disassembler if the target bfd name is unknown.
@ 2017-01-05  9:19 sergiodj+buildbot
  2017-01-07  2:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-05  9:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0ae60c3ef45d41b34d40ed5c7b4fdfea289530de ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 0ae60c3ef45d41b34d40ed5c7b4fdfea289530de

Prevent an abort in the FRV disassembler if the target bfd name is unknown.

	PR 20946
	* frv-desc.c (lookup_mach_via_bfd_name): Return NULL if the name
	could not be matched.
	(frv_cgen_cpu_open): Allow for lookup_mach_via_bfd_name returning
	NULL.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix ARI warning
@ 2017-01-05 15:02 sergiodj+buildbot
  2017-01-07  5:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-05 15:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1c33cd7f00c7b2d195cdb004559332c397663bae ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 1c33cd7f00c7b2d195cdb004559332c397663bae

Fix ARI warning

This patch splits the expression before the && operator instead of
after it.

gdb:

2017-01-05  Yao Qi  <yao.qi@linaro.org>

	* mips-fbsd-tdep.c (mips_fbsd_sigframe_init): Move && to
	new line.
	(mips64_fbsd_sigframe_init): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Update gdb_ptrace.h in HFILES_NO_SRCDIR
@ 2017-01-06 14:17 sergiodj+buildbot
  2017-01-07  8:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 14:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ad5cba2adbdb8ec216d44515468bde8d96892c3d ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: ad5cba2adbdb8ec216d44515468bde8d96892c3d

Update gdb_ptrace.h in HFILES_NO_SRCDIR

Commit e379037 (Move gdb_ptrace.h to nat/), so we should update
file name in HFILES_NO_SRCDIR too.  Otherwise, 'make tags' complains,

$ make tags
make: *** No rule to make target `gdb_ptrace.h', needed by `TAGS'.  Stop.

gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* Makefile.in (HFILES_NO_SRCDIR): Replace gdb_ptrace.h
	with nat/gdb_ptrace.h.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Include ax.h in ax-gdb.h
@ 2017-01-06 15:00 sergiodj+buildbot
  2017-01-07 12:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 15:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0b8369c8aa4e05bf8f1b2ce4a79133cf1192a16 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: c0b8369c8aa4e05bf8f1b2ce4a79133cf1192a16

Include ax.h in ax-gdb.h

$ make check-headers CHECK_HEADERS="ax-gdb.h"
...

../../binutils-gdb/gdb/ax-gdb.h:104:8: error: 'agent_expr_up' does not name a type
 extern agent_expr_up gen_trace_for_expr (CORE_ADDR, struct expression *,
        ^

gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* ax-gdb.h: Include "ax.h"


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Include doublest.h and expression.h in dfp.h
@ 2017-01-06 15:35 sergiodj+buildbot
  2017-01-07 15:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 15:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8018d34f1e5d94ffe1f12ac2455429c6f713c518 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 8018d34f1e5d94ffe1f12ac2455429c6f713c518

Include doublest.h and expression.h in dfp.h

$ make check-headers CHECK_HEADERS="dfp.h"
...
../../binutils-gdb/gdb/dfp.h:39:8: error: 'DOUBLEST' does not name a type
 extern DOUBLEST decimal_to_doublest (const gdb_byte *from, int len,
        ^
../../binutils-gdb/gdb/dfp.h:41:33: error: use of enum 'exp_opcode' without previous declaration
 extern void decimal_binop (enum exp_opcode,
                                 ^
gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* dfp.h: Include "dboulest.h" and "expression.h".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Include target.h in inf-loop.h
@ 2017-01-06 16:36 sergiodj+buildbot
  2017-01-07 19:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 16:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 051d2ddae5a2289d1f253b563e57a8e8496a06bb ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 051d2ddae5a2289d1f253b563e57a8e8496a06bb

Include target.h in inf-loop.h

$ make check-headers CHECK_HEADERS="target.h inf-loop.h"
...
../../binutils-gdb/gdb/inf-loop.h:23:42: error: use of enum 'inferior_event_type' without previous declaration
 extern void inferior_event_handler (enum inferior_event_type event_type,
                                          ^
gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* inf-loop.c: Don't include "target.h".
	* inf-loop.h: Include it here.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Include mi-cmds.h in mi-parse.h
@ 2017-01-06 17:08 sergiodj+buildbot
  2017-01-07 22:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 17:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 66c80d03078b71470c66b8f00cab82d89daeea08 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 66c80d03078b71470c66b8f00cab82d89daeea08

Include mi-cmds.h in mi-parse.h

$ make check-headers CHECK_HEADERS="mi/mi-parse.h"
...
../../binutils-gdb/gdb/mi/mi-parse.h:77:6: error: use of enum 'print_values' without previous declaration
 enum print_values mi_parse_print_values (const char *name);
      ^

gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* mi/mi-parse.h: Include mi-cmds.h.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Include break-common.h in nat/aarch64-linux-hw-point.h
@ 2017-01-06 17:58 sergiodj+buildbot
  2017-01-08  1:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 17:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bc3008c48f17aa67d39e539737a999737cd697a7 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: bc3008c48f17aa67d39e539737a999737cd697a7

Include break-common.h in nat/aarch64-linux-hw-point.h

$ make check-headers CHECK_HEADERS="nat/aarch64-linux-hw-point.h"
...
../../binutils-gdb/gdb/nat/aarch64-linux-hw-point.h:169:37: error: use of enum 'target_hw_bp_type' without previous declaration
 int aarch64_handle_breakpoint (enum target_hw_bp_type type, CORE_ADDR addr,
                                     ^
gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* nat/aarch64-linux-hw-point.h: Include break-common.h.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Include signal.h in nat/amd64-linux-siginfo.h
@ 2017-01-06 18:31 sergiodj+buildbot
  2017-01-08  4:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 18:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1ca8f924a46c620c7a7ddbd156c3a623a5a6d1fb ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 1ca8f924a46c620c7a7ddbd156c3a623a5a6d1fb

Include signal.h in nat/amd64-linux-siginfo.h

$ make check-headers CHECK_HEADERS="nat/amd64-linux-siginfo.h"
....
../../binutils-gdb/gdb/nat/amd64-linux-siginfo.h:52:39: error: 'siginfo_t' was not declared in this scope
 int amd64_linux_siginfo_fixup_common (siginfo_t *native, gdb_byte *inf,
                                       ^
gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* nat/amd64-linux-siginfo.h: Include signal.h.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Include ppc-tdep.h in ppc-linux-tdep.h
@ 2017-01-06 19:22 sergiodj+buildbot
  2017-01-08  8:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 19:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 656731fe0f5bae5bb788b0688cc36900128fcc2f ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 656731fe0f5bae5bb788b0688cc36900128fcc2f

Include ppc-tdep.h in ppc-linux-tdep.h

$ make check-headers CHECK_HEADERS="ppc-linux-tdep.h"
...
../../binutils-gdb/gdb/ppc-linux-tdep.h:34:24: error: 'PPC_NUM_REGS' was not declared in this scope
   PPC_ORIG_R3_REGNUM = PPC_NUM_REGS,
                        ^

gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* ppc-linux-tdep.h: Include ppc-tdep.h.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Include serial.h in ser-base.h.
@ 2017-01-06 19:51 sergiodj+buildbot
  2017-01-08 11:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 19:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 44d6d3f93341387bd2c95ea4c941bf99127e7389 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 44d6d3f93341387bd2c95ea4c941bf99127e7389

Include serial.h in ser-base.h.

$ make check-headers CHECK_HEADERS="ser-base.h"
...
../../binutils-gdb/gdb/ser-base.h:33:8: error: 'serial_ttystate' does not name a type
 extern serial_ttystate ser_base_get_tty_state (struct serial *scb);
        ^

gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* ser-base.h: Include serial.h.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Include gdb_proc_service.h in x86-linux-nat.h
@ 2017-01-06 20:40 sergiodj+buildbot
  2017-01-08 15:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-06 20:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0e2d6fa6a38ae2b80a56d786a41d905c9541906f ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 0e2d6fa6a38ae2b80a56d786a41d905c9541906f

Include gdb_proc_service.h in x86-linux-nat.h

$ make check-headers CHECK_HEADERS="x86-linux-nat.h"
...
../../binutils-gdb/gdb/x86-linux-nat.h:29:8: error: 'ps_err_e' does not name a type
 extern ps_err_e x86_linux_get_thread_area (pid_t pid, void *addr,
        ^

gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* x86-linux-nat.h: Include gdb_proc_service.h.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] S/390: Issue error for overflowing relocs.
@ 2017-01-07 21:17 sergiodj+buildbot
  2017-01-08 18:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-07 21:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 431e5de3f224e94fb0d061edb3a56d8e3c3f4403 ***

Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Branch: master
Commit: 431e5de3f224e94fb0d061edb3a56d8e3c3f4403

S/390: Issue error for overflowing relocs.

Building PIE executable from non-PIC code results in broken binaries.
With this patch the problem is detected at link-time.

bfd/ChangeLog:

2017-01-07  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* elf64-s390.c (elf_s390_relocate_section): Issue error for
	non-PLT relocs of shared libary symbol in exectuable.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Improve objdump's behaviour when it encounters a corrupt binary with an excessively large symbol table.
@ 2017-01-09  9:47 sergiodj+buildbot
  2017-01-09 13:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-09  9:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 98f02962fefbacf1b805e93fb7bddeb58ec6ff70 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 98f02962fefbacf1b805e93fb7bddeb58ec6ff70

Improve objdump's behaviour when it encounters a corrupt binary with an excessively large symbol table.

	PR binutils/21013
	* coffgen.c (_bfd_coff_get_external_symbols): Generate an error
	message if there are too many symbols to load.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Speed up objdump when displaying disassembly mixed with line number and source code information.
@ 2017-01-09 17:05 sergiodj+buildbot
  2017-01-09 20:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-09 17:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd6581da62c32a391f9a4c2c5d248a11aa6fa8f7 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: cd6581da62c32a391f9a4c2c5d248a11aa6fa8f7

Speed up objdump when displaying disassembly mixed with line number and source code information.

bfd	* dwarf2.c (lookup_address_in_function_table): Return early if
	there are no functions in the given comp unit, or if the high
	address of the last function in the comp unit is less than the
	desired address.

binutils * objdump.c (display_file): Add new parameter 'last_file'.  If
	last_file is true, do not call bfd_close at the end of the
	function.
	(main): Set the value of the last_file parameter when calling
	display_file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix inferior memory reading in GDBServer for arm/aarch32
@ 2017-01-09 17:56 sergiodj+buildbot
  2017-01-09 23:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-09 17:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 694b382c67a4fc656f30acbc74776c5e9cb53622 ***

Author: Antoine Tremblay <antoine.tremblay@ericsson.com>
Branch: master
Commit: 694b382c67a4fc656f30acbc74776c5e9cb53622

Fix inferior memory reading in GDBServer for arm/aarch32

Before this patch, some functions would read the inferior memory with
(*the_target)->read_memory, which returns the raw memory, rather than the
shadowed memory.

This is wrong since these functions do not expect to read a breakpoint
instruction and can lead to invalid behavior.

Use of raw memory in get_next_pcs_read_memory_unsigned_integer for example
could lead to get_next_pc returning an invalid pc.

Here's how this would happen:

In non-stop:

the user issues:

thread 1
step&
thread 2
step&
thread 3
step&

In a similar way as non-stop-fair-events.exp (threads are looping).

GDBServer:

 linux_resume is called
 GDBServer has pending events,
 threads are not resumed and single-step breakpoint for thread 1 not installed.

 linux_wait_1 is called with a pending event on thread 2 at pc A
 GDBServer handles the event and calls proceed_all_lwps
 This calls proceed_one_lwp and installs single-step breakpoints on all
 the threads that need one.

 Now since thread 1 needs to install a single-step breakpoint and is at pc B
 (different than thread 2), a step-over is not initiated and get_next_pc
 is called to figure out the next instruction from pc B.

 However it may just be that thread 3 as a single step breakpoint at pc
 B. And thus get_next_pc fails.

This situation is tested with non-stop-fair-events.exp.

In other words, single-step breakpoints are installed in proceed_one_lwp
for each thread.  GDBserver proceeds two threads for resume_step, as
requested by GDB, and the thread proceeded later may see the single-step
breakpoints installed for the thread proceeded just now.

Tested on gdbserver-native/-m{thumb,arm} no regressions.

gdb/gdbserver/ChangeLog:

	* linux-aarch32-low.c (arm_breakpoint_kind_from_pc): Use
	target_read_memory.
	* linux-arm-low.c (get_next_pcs_read_memory_unsigned_integer): Likewise.
	(get_next_pcs_syscall_next_pc): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Update help of the "frame" command
@ 2017-01-10 15:35 sergiodj+buildbot
  2017-01-10 17:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-10 15:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT df2946549f60624503663cc6c28cd5a6ef0ab434 ***

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

Update help of the "frame" command

The help message of the "frame" command states that nothing is printed
if the command is executed from the command file or user-defined
command.  My testing leads me to think that this is not true (at least
today).

  (gdb) bt
  #0  bar (n=17) at test.c:9
  #1  0x00000000004006e0 in foo (v=17) at test.c:13
  #2  0x00000000004006f0 in main () at test.c:21
  (gdb) frame
  #0  bar (n=17) at test.c:9
  9	    baz(n);
  (gdb) define foo
  Type commands for definition of "foo".
  End with a line saying just "end".
  >frame 1
  >end
  (gdb) foo
  #1  0x00000000004006e0 in foo (v=17) at test.c:13
  13	    bar(v);

This patch simply removes that bit from the help message.  I didn't find
anything corresponding to this in the documentation that needs to be
fixed.

The behavior change corresponding to this documentation change was done
in commit b00771232fab861fb31e42dfd5f6643ba1b43cc9.

gdb/ChangeLog:

	* stack.c (_initialize_stack): Update "frame" command help message.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Change return type of ui_out redirect to void
@ 2017-01-10 16:47 sergiodj+buildbot
  2017-01-10 21:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-10 16:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7becfd03bad526c02216eeb5ec2bebae694b1af1 ***

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

Change return type of ui_out redirect to void

All implementations of redirect/do_redirect in the ui_out subsystem
always return 0 (success).  We can therefore clean it up and make them
return void.

gdb/ChangeLog:

	* cli-out.c (cli_ui_out::do_redirect): Change return type to
	void.
	* cli-out.h (cli_ui_out::do_redirect): Likewise.
	* mi/mi-out.c (mi_ui_out::do_redirect): Likewise.
	* mi/mi-out.h (mi_ui_out::do_redirect): Likewise.
	* ui-out.c (ui_out::redirect): Likewise.
	* ui-out.h (ui_out::redirect, ui_out::do_redirect): Likewise.
	* cli/cli-logging.c (set_logging_redirect): Update call site of
	ui_out::redirect.
	(handle_redirections): Likewise.
	* scm-ports.c (ioscm_with_output_to_port_worker): Likewise.
	* top.c (execute_command_to_string): Likewise.
	* utils.c (do_ui_out_redirect_pop): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Don't use elf_i386_eh_frame_plt directly
@ 2017-01-10 19:51 sergiodj+buildbot
  2017-01-11  1:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-10 19:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f129e49f4d07f4d36319ac757fdcf3a8ce7d605b ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: f129e49f4d07f4d36319ac757fdcf3a8ce7d605b

Don't use elf_i386_eh_frame_plt directly

Use eh_frame_plt_size and eh_frame_plt from elf_i386_plt_layout for
.eh_frame covering the .plt section.

	* elf32-i386.c (elf_i386_size_dynamic_sections): Set
	plt_eh_frame->size to eh_frame_plt_size and use eh_frame_plt.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] i386/x86-64: Add unwind info for .plt.got section
@ 2017-01-10 21:52 sergiodj+buildbot
  2017-01-11  5:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-10 21:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fff53daefb7838b5718422c87946330e4a8288ce ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: fff53daefb7838b5718422c87946330e4a8288ce

i386/x86-64: Add unwind info for .plt.got section

When there are both PLT and GOT references to the same function symbol,
linker combines GOTPLT and GOT slots into a single GOT slot and create
an entry in .plt.got section for PLT access via the GOT slot.  This
patch adds unwind info for .plt.got section.

bfd/

	PR ld/20830
	* elf32-i386.c (elf_i386_eh_frame_plt_got): New.
	(PLT_GOT_FDE_LENGTH): Likewise.
	(elf_i386_plt_layout): Add eh_frame_plt_got and
	eh_frame_plt_got_size.
	(elf_i386_plt): Updated.
	(elf_i386_link_hash_table): Add plt_got_eh_frame.
	(elf_i386_check_relocs): Create .eh_frame section for .plt.got.
	(elf_i386_size_dynamic_sections): Allocate and initialize
	.eh_frame section for .plt.got.
	(elf_i386_finish_dynamic_sections): Adjust .eh_frame section for
	.plt.got.
	(elf_i386_nacl_plt): Add FIXME for eh_frame_plt_got and
	eh_frame_plt_got_size.
	* elf64-x86-64.c (elf_x86_64_eh_frame_plt_got): New.
	(PLT_GOT_FDE_LENGTH): Likewise.
	(elf_x86_64_backend_data): Add eh_frame_plt_got and
	eh_frame_plt_got_size.
	(elf_x86_64_arch_bed): Updated.
	(elf_x86_64_bnd_arch_bed): Add FIXME for eh_frame_plt_got and
	eh_frame_plt_got_size.
	(elf_x86_64_nacl_arch_bed): Likewise.
	(elf_x86_64_link_hash_table): Add plt_got_eh_frame.
	(elf_x86_64_check_relocs): Create .eh_frame section for .plt.got.
	(elf_x86_64_size_dynamic_sections): Allocate and initialize
	.eh_frame section for .plt.got.
	(elf_x86_64_finish_dynamic_sections): Adjust .eh_frame section
	for .plt.got.

ld/

	PR ld/20830
	* testsuite/ld-i386/i386.exp: Run pr20830.
	* testsuite/ld-x86-64/x86-64.exp: Likewise.
	* testsuite/ld-i386/pr20830.d: New file.
	* testsuite/ld-i386/pr20830.s: Likewise.
	* testsuite/ld-x86-64/pr20830.d: Likewise.
	* testsuite/ld-x86-64/pr20830.s: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Introduce py-ref.h
@ 2017-01-11  5:41 sergiodj+buildbot
  2017-01-11 13:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11  5:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a68ff33e0dcb4733584265088030d12a31e740e4 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: a68ff33e0dcb4733584265088030d12a31e740e4

Introduce py-ref.h

This patch introduces class gdbpy_ref, which is a sort of smart
pointer that owns a single Python reference to a PyObject.  This class
acts a bit like unique_ptr, but also a bit like shared_ptr (in that
copies do what you might expect); I considered going solely with
unique_ptr but it seemed quite strange to have a unique_ptr that
actually manages a shared resource.

Subsequent patches use this new class to simplify logic in the Python
layer.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-ref.h: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-type.c
@ 2017-01-11  6:08 sergiodj+buildbot
  2017-01-11 19:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11  6:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3bb4338431288002c2225ff660e1500818684c16 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 3bb4338431288002c2225ff660e1500818684c16

Use gdbpy_ref in py-type.c

This changes py-type.c to use gdbpy_ref.
This results in simpler logic and the removal of "goto"s.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-type.c (convert_field, make_fielditem, typy_fields)
	(typy_range): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in gdbpy_breakpoints
@ 2017-01-11  7:09 sergiodj+buildbot
  2017-01-12  9:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11  7:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf2a52fa2ac2c4486653993a765fd922b3cd64a6 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: bf2a52fa2ac2c4486653993a765fd922b3cd64a6

Use gdbpy_ref in gdbpy_breakpoints

This changes gdbpy_breakpoints to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-breakpoint.c (gdbpy_breakpoints): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-framefilter.c
@ 2017-01-11  7:59 sergiodj+buildbot
  2017-01-12 13:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11  7:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ee0a3fb85b33b172f704796612c4487ea368d675 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: ee0a3fb85b33b172f704796612c4487ea368d675

Use gdbpy_ref in py-framefilter.c

This changes some code in py-framefilter.c to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-framefilter.c (extract_sym, extract_value)
	(get_py_iter_from_func, bootstrap_python_frame_filters): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in gdbpy_string_to_argv
@ 2017-01-11  8:42 sergiodj+buildbot
  2017-01-11 22:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11  8:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d1b3de2e43380a0c51772a40315cd2268573d985 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: d1b3de2e43380a0c51772a40315cd2268573d985

Use gdbpy_ref in gdbpy_string_to_argv

This chanes gdbpy_string_to_argv to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-cmd.c (gdbpy_string_to_argv): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in call_doc_function
@ 2017-01-11  9:54 sergiodj+buildbot
  2017-01-12 20:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11  9:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1bb44c9f567c75355c1b4417d88cda959e82a3a3 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 1bb44c9f567c75355c1b4417d88cda959e82a3a3

Use gdbpy_ref in call_doc_function

This changes call_doc_function to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-param.c (call_doc_function): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in python.c
@ 2017-01-11 10:24 sergiodj+buildbot
  2017-01-13  4:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 10:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ff3724f5123b9d9c52a07f7c1a5d85852e666c48 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: ff3724f5123b9d9c52a07f7c1a5d85852e666c48

Use gdbpy_ref in python.c

This changes a couple of functions in python.c to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (gdbpy_progspaces, gdbpy_objfiles): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-value.c
@ 2017-01-11 11:14 sergiodj+buildbot
  2017-01-13  7:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 11:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 53a0cca3bd0f6ae80b2d6fc34b2873046965c7f0 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 53a0cca3bd0f6ae80b2d6fc34b2873046965c7f0

Use gdbpy_ref in py-value.c

This changes a few functions in py-value.c to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-value.c (value_has_field, get_field_flag)
	(get_field_type, valpy_getitem, convert_value_from_python): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in gdbpy_inferiors
@ 2017-01-11 11:23 sergiodj+buildbot
  2017-01-12  6:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 11:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f59fe7f8e3e55472e6fcfb06677ff4925dad1f64 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: f59fe7f8e3e55472e6fcfb06677ff4925dad1f64

Use gdbpy_ref in gdbpy_inferiors

This changes gdbpy_inferiors to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-inferior.c (gdbpy_inferiors): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Introduce gdbpy_enter
@ 2017-01-11 11:46 sergiodj+buildbot
  2017-01-13 14:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 11:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4ecee2c47da3e91c0571683acb5cfb8400402663 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 4ecee2c47da3e91c0571683acb5cfb8400402663

Introduce gdbpy_enter

This introduces gdbpy_enter, a class that can be used to acquire and
release the Python GIL, and also set other Python-related globals used
by gdb.  ensure_python_env is rewritten in terms of this new class.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (gdbpy_enter): New constructor.
	(~gdbpy_enter): New destructor.
	(restore_python_env, ensure_python_env): Rewrite.
	* python/python-internal.h (gdbpy_enter): New class.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-breakpoint.c
@ 2017-01-11 12:35 sergiodj+buildbot
  2017-01-13 18:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 12:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT de2dc875c2ddb731741f3c326545ff91fd587dd5 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: de2dc875c2ddb731741f3c326545ff91fd587dd5

Use gdbpy_enter in py-breakpoint.c

Change py-breakpoint.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
	gdbpy_enter.
	(gdbpy_breakpoint_has_cond): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-cmd.c
@ 2017-01-11 12:51 sergiodj+buildbot
  2017-01-13 22:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 12:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6ba0cd406511d3edbe643f5e599d79538febedc5 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 6ba0cd406511d3edbe643f5e599d79538febedc5

Use gdbpy_enter in py-cmd.c

Change py-cmd.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-cmd.c (cmdpy_destroyer)
	(cmdpy_completer_handle_brkchars, cmdpy_completer): Use
	gdbpy_enter.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-inferior.c
@ 2017-01-11 13:22 sergiodj+buildbot
  2017-01-14  5:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 13:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 07bc7329128028e6d3e2733c6d2ebd874367bcee ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 07bc7329128028e6d3e2733c6d2ebd874367bcee

Use gdbpy_enter in py-inferior.c

Change py-inferior.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-inferior.c (python_on_normal_stop, python_on_resume)
	(python_on_inferior_call_pre, python_on_inferior_call_post)
	(python_on_memory_change, python_on_register_change)
	(python_inferior_exit, python_new_objfile, add_thread_object)
	(delete_thread_object, py_free_inferior): Use gdbpy_enter.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-linetable.c
@ 2017-01-11 13:26 sergiodj+buildbot
  2017-01-12 16:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 13:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 87ce03fdc5a94f48fe62580410a099c0a0f68ee0 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 87ce03fdc5a94f48fe62580410a099c0a0f68ee0

Use gdbpy_ref in py-linetable.c

This changes some code in py-linetable.c to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-linetable.c (build_line_table_tuple_from_pcs)
	(ltpy_get_all_source_lines): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-objfile.c
@ 2017-01-11 14:12 sergiodj+buildbot
  2017-01-14  8:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 14:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2d38bcedc2f91692857d257e106dafc9269d8f1a ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 2d38bcedc2f91692857d257e106dafc9269d8f1a

Use gdbpy_enter in py-objfile.c

Change py-objfile.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-objfile.c (py_free_objfile): Use gdbpy_enter.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in python.c
@ 2017-01-11 14:43 sergiodj+buildbot
  2017-01-14 16:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 14:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 60e600ec691255536ae53e365d0410ecf79bdea2 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 60e600ec691255536ae53e365d0410ecf79bdea2

Use gdbpy_enter in python.c

Change the simple parts of python.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (gdbpy_eval_from_control_command)
	(gdbpy_source_script, gdbpy_run_events)
	(gdbpy_source_objfile_script, gdbpy_execute_objfile_script)
	(gdbpy_free_type_printers, gdbpy_finish_initialization): Use
	gdbpy_enter.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-prettyprint.c
@ 2017-01-11 14:45 sergiodj+buildbot
  2017-01-13  0:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 14:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0700aea50c7a77d7908868373d0f9644b0ece29c ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 0700aea50c7a77d7908868373d0f9644b0ece29c

Use gdbpy_ref in py-prettyprint.c

This changes several functions in py-prettyprint.c to use
gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-prettyprint.c (search_pp_list)
	(find_pretty_printer_from_objfiles)
	(find_pretty_printer_from_progspace)
	(find_pretty_printer_from_gdb, find_pretty_printer)
	(gdbpy_get_display_hint, gdbpy_get_varobj_pretty_printer): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-type.c
@ 2017-01-11 14:59 sergiodj+buildbot
  2017-01-14 19:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 14:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c57af3f12b91ca49adc2e06056f794cb09514897 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: c57af3f12b91ca49adc2e06056f794cb09514897

Use gdbpy_enter in py-type.c

Change py-type.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-type.c (save_objfile_types): Use gdbpy_enter.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-xmethods.c
@ 2017-01-11 15:49 sergiodj+buildbot
  2017-01-14 23:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 15:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f18e226ff84f7fba9ce7197ed7a2969eba231b4d ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: f18e226ff84f7fba9ce7197ed7a2969eba231b4d

Use gdbpy_enter in py-xmethods.c

Change the simple parts of py-xmethods.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-xmethods.c (gdbpy_free_xmethod_worker_data)
	(gdbpy_clone_xmethod_worker_data): Use gdbpy_enter.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-unwind.c
@ 2017-01-11 16:05 sergiodj+buildbot
  2017-01-15  2:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 16:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0171de646ddd85bac9d4bb1ebdf601f7ba7eeab ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: c0171de646ddd85bac9d4bb1ebdf601f7ba7eeab

Use gdbpy_enter in py-unwind.c

Change py-unwind.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-unwind.c (pending_frame_invalidate): Remove.
	(pyuw_sniffer): Use gdbpy_enter and gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Introduce htab_up and use gdbpy_enter in py-framefilter.c
@ 2017-01-11 16:56 sergiodj+buildbot
  2017-01-15  6:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 16:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6349f452e01ddb7a1e64b8a63c93a9c9abc95725 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 6349f452e01ddb7a1e64b8a63c93a9c9abc95725

Introduce htab_up and use gdbpy_enter in py-framefilter.c

This introduces a new "htab_up" typedef, which is a std::unique_ptr
that can call htab_delete.  Then it changes some code in
py-framefilter.c to use both gdbpy_enter and the new htab_up.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* utils.h (htab_deleter): New struct.
	(htab_up): New typedef.
	* python/py-framefilter.c (gdbpy_apply_frame_filter): Use
	gdbpy_enter, gdbpy_ref, htab_up.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-prettyprint.c
@ 2017-01-11 17:11 sergiodj+buildbot
  2017-01-15 10:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 17:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e9f0c3639f33dc76fcab1b9299209c29ef2ee26e ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: e9f0c3639f33dc76fcab1b9299209c29ef2ee26e

Use gdbpy_enter in py-prettyprint.c

Change py-prettyprint.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
	gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in gdbpy_before_prompt_hook
@ 2017-01-11 17:26 sergiodj+buildbot
  2017-01-15 14:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 17:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a88b13c7e36e8eb0a3bf772d508380682536c0da ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: a88b13c7e36e8eb0a3bf772d508380682536c0da

Use gdbpy_enter in gdbpy_before_prompt_hook

Change gdbpy_before_prompt_hook to use gdbpy_enter and gdbpy_ref.
This also rearranges the function a tiny bit to make it more clear.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter,
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in python_interactive_command
@ 2017-01-11 18:16 sergiodj+buildbot
  2017-01-15 17:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 18:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 396a78b6271c45410fc22c4bc7f8cff75da3d153 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 396a78b6271c45410fc22c4bc7f8cff75da3d153

Use gdbpy_enter in python_interactive_command

This changes python_interactive_command to use gdbpy_enter.
Previously this function was leaving a dangling cleanup -- this is
sort of ok in a command function, but IMO it's still better to clean
up.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (python_interactive_command): Use gdbpy_enter.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in gdbpy_get_matching_xmethod_workers
@ 2017-01-11 18:31 sergiodj+buildbot
  2017-01-15 20:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 18:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 572a5524c1eb50d8064a44108fd0ef22a0e63bf8 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 572a5524c1eb50d8064a44108fd0ef22a0e63bf8

Use gdbpy_enter in gdbpy_get_matching_xmethod_workers

Change gdbpy_get_matching_xmethod_workers to use gdbpy_enter and
gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
	gdbpy_enter, gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-xmethod.c
@ 2017-01-11 19:03 sergiodj+buildbot
  2017-01-16  4:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 19:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 14b122bf1ce59f5f1b82f6e2a347f4ad89801f45 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 14b122bf1ce59f5f1b82f6e2a347f4ad89801f45

Use gdbpy_enter in py-xmethod.c

This changes the remaining functions in py-xmethod.c to use
gdbpy_enter; using gdbpy_ref and unique_xmalloc_ptr as
appropriate.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-xmethods.c (gdbpy_get_xmethod_result_type): Use
	gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
	(gdbpy_invoke_xmethod): Use gdbpy_ref, gdbpy_enter.
	(gdbpy_get_xmethod_arg_types): Use gdbpy_ref,
	unique_xmalloc_ptr.
	(gdbpy_get_xmethod_arg_types): Use gdbpy_ref, gdbpy_enter.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-finishbreakpoint.c
@ 2017-01-11 19:07 sergiodj+buildbot
  2017-01-14  2:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 19:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6e7c365ee0ea2551f9f840b71081fdf759088b5e ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 6e7c365ee0ea2551f9f840b71081fdf759088b5e

Use gdbpy_enter in py-finishbreakpoint.c

Change py-finishbreakpoint.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-finishbreakpoint.c (bpfinishpy_handle_stop)
	(bpfinishpy_handle_exit): Use gdbpy_enter.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Introduce gdbpy_enter_varobj and use it
@ 2017-01-11 19:18 sergiodj+buildbot
  2017-01-16  8:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 19:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6cd67beaae58c9e870b79feea3cf74ffdf7a9b33 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 6cd67beaae58c9e870b79feea3cf74ffdf7a9b33

Introduce gdbpy_enter_varobj and use it

This introduces gdbpy_enter_varobj, a subclass of gdbpy_enter; then
changes one function in py-varobj.c to use it.  gdbpy_enter_varobj
takes a varobj as an argument, similar to varobj_ensure_python_env.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* varobj.c (gdbpy_enter_varobj): New constructor.
	* python/python-internal.h (gdbpy_enter_varobj): New class.
	* python/py-varobj.c (py_varobj_get_iterator): Use
	gdbpy_enter_varobj.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in cmdpy_function
@ 2017-01-11 19:49 sergiodj+buildbot
  2017-01-16 14:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 19:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 12a5cedd4f2c5b1f4e303efda6f8ac3e06eec944 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 12a5cedd4f2c5b1f4e303efda6f8ac3e06eec944

Use gdbpy_enter in cmdpy_function

This changes cmdpy_function to use gdbpy_enter and gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-cmd.c (cmdpy_function): Use gdbpy_enter, gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in python.c
@ 2017-01-11 20:35 sergiodj+buildbot
  2017-01-17  0:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 20:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a7785f8c797183eb363e95c201343df67d8536c6 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: a7785f8c797183eb363e95c201343df67d8536c6

Use gdbpy_enter in python.c

This changes the last functions in python.c to use gdbpy_enter.  I
split gdbpy_finish_initialization into two functions in order to avoid
some "goto"s.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (python_command): Use gdbpy_enter, gdbpy_ref.
	(do_finish_initialization): New function.  Use gdbpy_ref.
	(gdbpy_finish_initialization): Use gdbpy_enter.  Call
	do_finish_initialization.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in py-progspace.c
@ 2017-01-11 21:38 sergiodj+buildbot
  2017-01-14 12:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 21:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf7da5b06ffbbaa40c8a2900727a791265f897ea ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: bf7da5b06ffbbaa40c8a2900727a791265f897ea

Use gdbpy_enter in py-progspace.c

Change py-progspace.c to use gdbpy_enter.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-progspace.c (py_free_pspace): Use gdbpy_enter.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Change type of encoding argument to gdbpy_extract_lazy_string
@ 2017-01-11 21:40 sergiodj+buildbot
  2017-01-17  8:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 21:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1eba63835ea23cbae6059c076db985a47e39ce24 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 1eba63835ea23cbae6059c076db985a47e39ce24

Change type of encoding argument to gdbpy_extract_lazy_string

This changes gdbpy_extract_lazy_string's "encoding" argument to be a
unique_xmalloc_ptr.  I chose this rather than std::string because it
can sometimes be NULL.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-prettyprint.c (print_string_repr, print_children):
	Update.
	* python/py-lazy-string.c (gdbpy_extract_lazy_string): Change type
	of "encoding".
	* varobj.c (varobj_value_get_print_value): Update.
	* python/python-internal.h (gdbpy_extract_lazy_string): Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py_print_frame
@ 2017-01-11 22:26 sergiodj+buildbot
  2017-01-17 18:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 22:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3b4e0e01f8b19269d720948ee2350cb753f8ede4 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 3b4e0e01f8b19269d720948ee2350cb753f8ede4

Use gdbpy_ref in py_print_frame

This changes py_print_frame to use gdbpy_ref in a few spots.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-framefilter.c (py_print_frame): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Change python_run_simple_file to use gdbpy_ref
@ 2017-01-11 23:31 sergiodj+buildbot
  2017-01-18  2:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-11 23:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9de10f6d53dffbec12cec9843662d5764526983d ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 9de10f6d53dffbec12cec9843662d5764526983d

Change python_run_simple_file to use gdbpy_ref

This changes python_run_simple_file to use gdbpy_ref and
unique_xmalloc_ptr.  Thi fixes a latent bug in this function, where
the error path previously ran the cleanups and then referred to one of
the objects just freed.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (python_run_simple_file): Use
	unique_xmalloc_ptr, gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in archpy_disassemble
@ 2017-01-12  0:34 sergiodj+buildbot
  2017-01-18  6:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  0:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 59e9e83119a528f17afea89ee22195a95322c6d6 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 59e9e83119a528f17afea89ee22195a95322c6d6

Use gdbpy_ref in archpy_disassemble

This changes archpy_disassemble to use gdbpy_ref.  It also fixes a
latent bug where archpy_disassemble was decref'ing the results of a
all to PyArg_ParseTupleAndKeywords.  This is incorrect because
PyArg_ParseTupleAndKeywords returns borrowed references.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-arch.c (archpy_disassemble): Use gdbpy_ref.  Don't
	decref results of PyArg_ParseTupleAndKeywords.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-param.c
@ 2017-01-12  2:37 sergiodj+buildbot
  2017-01-19  4:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  2:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 97d83487d5fbffd04d68a049f97009e1df2562a3 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 97d83487d5fbffd04d68a049f97009e1df2562a3

Use gdbpy_ref in py-param.c

This changes py-param.c to use gdbpy_ref in a couple more spots.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-param.c (get_doc_string, compute_enum_values): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in python.c
@ 2017-01-12  2:53 sergiodj+buildbot
  2017-01-19  8:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  2:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 59876f8f9f32081b2831aed83a03a815e8d85a97 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 59876f8f9f32081b2831aed83a03a815e8d85a97

Use gdbpy_ref in python.c

This changes more places in python.c to use gdbpy_ref.

Additionally, previously gdbpy_apply_type_printers would return
EXT_LANG_RC_ERROR if a type printer returned None.  However, that
doesn't seem correct to me; this patch changes it to return
EXT_LANG_RC_NOP in this case.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (eval_python_command, gdbpy_decode_line)
	(gdbpy_run_events, gdbpy_start_type_printers)
	(gdbpy_apply_type_printers): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in pyuw_object_attribute_to_pointer
@ 2017-01-12  3:09 sergiodj+buildbot
  2017-01-19 12:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  3:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4586d54305ed275bb909f3373a7372c02d7e579e ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 4586d54305ed275bb909f3373a7372c02d7e579e

Use gdbpy_ref in pyuw_object_attribute_to_pointer

This changes pyuw_object_attribute_to_pointer to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-unwind.c (pyuw_object_attribute_to_pointer): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove make_cleanup_py_decref and make_cleanup_py_xdecref
@ 2017-01-12  4:45 sergiodj+buildbot
  2017-01-20  3:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  4:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8dbcee674ea4a8daa55f880ad7ade96efca96951 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 8dbcee674ea4a8daa55f880ad7ade96efca96951

Remove make_cleanup_py_decref and make_cleanup_py_xdecref

make_cleanup_py_decref and make_cleanup_py_xdecref are now unused, so
this patch removes themm.  Future Python changes should use gdbpy_ref
instead.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/python-internal.h (make_cleanup_py_decref)
	(make_cleanup_py_xdecref): Don't declare.
	* python/py-utils.c (py_decref, make_cleanup_py_decref)
	(py_xdecref, make_cleanup_py_xdecref): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in invoke_match_method
@ 2017-01-12  5:21 sergiodj+buildbot
  2017-01-16  0:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  5:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf1ca3b9476185fb6e301d85e646f5d2af95e257 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: bf1ca3b9476185fb6e301d85e646f5d2af95e257

Use gdbpy_ref in invoke_match_method

Change invoke_match_method to use gdbpy_ref.
I neglected to convert this function in my earlier series.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-xmethods.c (invoke_match_method): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add gdb_ref_ptr.h
@ 2017-01-12  5:46 sergiodj+buildbot
  2017-01-20 10:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  5:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 50315b21779d71c172eb98a786a9b8281622e407 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 50315b21779d71c172eb98a786a9b8281622e407

Add gdb_ref_ptr.h

This adds a new gdb_ref_ptr.h, that implements a reference-counting
smart pointer class, where the user of the class supplies a
reference-counting policy object.

This class will be used in the next patch, which changes most explicit
BFD reference counts to use this new type.  Meanwhile, this patch
changes gdbpy_ref to be a specialization of this new class.

This change required adding new nullptr_t overloads some operators in
gdb_ref_ptr.h.  I suspect this was needed because some Python header
redefines NULL, but I'm not certain.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* common/gdb_ref_ptr.h: New file.
	* python/py-ref.h (struct gdbpy_ref_policy): New.
	(gdbpy_ref): Now a typedef.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use class to manage BFD reference counts
@ 2017-01-12  6:35 sergiodj+buildbot
  2017-01-20 14:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  6:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 192b62ce0b4bb5c61188f570e127a26d2c32f716 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 192b62ce0b4bb5c61188f570e127a26d2c32f716

Use class to manage BFD reference counts

This introduces a new specialization of gdb::ref_ptr that can be used
to manage BFD reference counts.  Then it changes most places in gdb to
use this new class, rather than explicit reference-counting or
cleanups.  This patch removes make_cleanup_bfd_unref.

If you look you will see a couple of spots using "release" where a use
of gdb_bfd_ref_ptr would be cleaner.  These will be fixed in the next
patch.

I think this patch fixes some latent bugs.  For example, it seems to
me that previously objfpy_add_separate_debug_file leaked a BFD.

I'm not 100% certain that the macho_symfile_read_all_oso change is
correct.  The existing code here is hard for me to follow.  One goal
of this sort of automated reference counting, though, is to make it
more difficult to make logic errors; so hopefully the code is clear
now.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* windows-tdep.c (windows_xfer_shared_library): Update.
	* windows-nat.c (windows_make_so): Update.
	* utils.h (make_cleanup_bfd_unref): Remove.
	* utils.c (do_bfd_close_cleanup, make_cleanup_bfd_unref): Remove.
	* symfile.h (symfile_bfd_open)
	(find_separate_debug_file_in_section): Return gdb_bfd_ref_ptr.
	* symfile.c (read_symbols, symbol_file_add)
	(separate_debug_file_exists): Update.
	(symfile_bfd_open): Return gdb_bfd_ref_ptr.
	(generic_load, reread_symbols): Update.
	* symfile-mem.c (symbol_file_add_from_memory): Update.
	* spu-linux-nat.c (spu_bfd_open): Return gdb_bfd_ref_ptr.
	(spu_symbol_file_add_from_memory): Update.
	* solist.h (struct target_so_ops) <bfd_open>: Return
	gdb_bfd_ref_ptr.
	(solib_bfd_fopen, solib_bfd_open): Return gdb_bfd_ref_ptr.
	* solib.c (solib_bfd_fopen, solib_bfd_open): Return
	gdb_bfd_ref_ptr.
	(solib_map_sections, reload_shared_libraries_1): Update.
	* solib-svr4.c (enable_break): Update.
	* solib-spu.c (spu_bfd_fopen): Return gdb_bfd_ref_ptr.
	* solib-frv.c (enable_break2): Update.
	* solib-dsbt.c (enable_break): Update.
	* solib-darwin.c (gdb_bfd_mach_o_fat_extract): Return
	gdb_bfd_ref_ptr.
	(darwin_solib_get_all_image_info_addr_at_init): Update.
	(darwin_bfd_open): Return gdb_bfd_ref_ptr.
	* solib-aix.c (solib_aix_bfd_open): Return gdb_bfd_ref_ptr.
	* record-full.c (record_full_save): Update.
	* python/py-objfile.c (objfpy_add_separate_debug_file): Update.
	* procfs.c (insert_dbx_link_bpt_in_file): Update.
	* minidebug.c (find_separate_debug_file_in_section): Return
	gdb_bfd_ref_ptr.
	* machoread.c (macho_add_oso_symfile): Change abfd to
	gdb_bfd_ref_ptr.
	(macho_symfile_read_all_oso): Update.
	(macho_check_dsym): Return gdb_bfd_ref_ptr.
	(macho_symfile_read): Update.
	* jit.c (bfd_open_from_target_memory): Return gdb_bfd_ref_ptr.
	(jit_bfd_try_read_symtab): Update.
	* gdb_bfd.h (gdb_bfd_open, gdb_bfd_fopen, gdb_bfd_openr)
	(gdb_bfd_openw, gdb_bfd_openr_iovec)
	(gdb_bfd_openr_next_archived_file, gdb_bfd_fdopenr): Return
	gdb_bfd_ref_ptr.
	(gdb_bfd_ref_policy): New struct.
	(gdb_bfd_ref_ptr): New typedef.
	* gdb_bfd.c (gdb_bfd_open, gdb_bfd_fopen, gdb_bfd_openr)
	(gdb_bfd_openw, gdb_bfd_openr_iovec)
	(gdb_bfd_openr_next_archived_file, gdb_bfd_fdopenr): Return
	gdb_bfd_ref_ptr.
	* gcore.h (create_gcore_bfd): Return gdb_bfd_ref_ptr.
	* gcore.c (create_gcore_bfd): Return gdb_bfd_ref_ptr.
	(gcore_command): Update.
	* exec.c (exec_file_attach): Update.
	* elfread.c (elf_symfile_read): Update.
	* dwarf2read.c (dwarf2_get_dwz_file): Update.
	(try_open_dwop_file, open_dwo_file): Return gdb_bfd_ref_ptr.
	(open_and_init_dwo_file): Update.
	(open_dwp_file): Return gdb_bfd_ref_ptr.
	(open_and_init_dwp_file): Update.
	* corelow.c (core_open): Update.
	* compile/compile-object-load.c (compile_object_load): Update.
	* common/gdb_ref_ptr.h (ref_ptr::operator->): New operator.
	* coffread.c (coff_symfile_read): Update.
	* cli/cli-dump.c (bfd_openr_or_error, bfd_openw_or_error): Return
	gdb_bfd_ref_ptr.  Rename.
	(dump_bfd_file, restore_command): Update.
	* build-id.h (build_id_to_debug_bfd): Return gdb_bfd_ref_ptr.
	* build-id.c (build_id_to_debug_bfd): Return gdb_bfd_ref_ptr.
	(find_separate_debug_file_by_buildid): Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Introduce and use gdb::unlinker
@ 2017-01-12  6:50 sergiodj+buildbot
  2017-01-20 17:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  6:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bef155c3e8a995fcdb1c2ba5aba012eb653d9f30 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: bef155c3e8a995fcdb1c2ba5aba012eb653d9f30

Introduce and use gdb::unlinker

This introduces a new class, gdb::unlinker, that unlinks a file in the
destructor.  The user of this class has the option to preserve the
file instead, by calling the "keep" method.

This patch then changes the spots in gdb that use unlink in a cleanup
to use this class instead.  In one spot I went ahead and removed all
the cleanups from the function.

This fixes one latent bug -- do_bfd_delete_cleanup could refer to
freed memory, by decref'ing the BFD before using its filename.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* record-full.c (record_full_save_cleanups): Remove.
	(record_full_save): Use gdb::unlinker.
	* gcore.c (do_bfd_delete_cleanup): Remove.
	(gcore_command): Use gdb::unlinker, unique_xmalloc_ptr.  Remove
	cleanups.
	* dwarf2read.c (unlink_if_set): Remove.
	(write_psymtabs_to_index): Use gdb::unlinker.
	* common/gdb_unlinker.h: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove make_cleanup_discard_psymtabs
@ 2017-01-12  7:06 sergiodj+buildbot
  2017-01-20 21:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  7:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 906768f970826102252e8cfd30ee72da71de29f7 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 906768f970826102252e8cfd30ee72da71de29f7

Remove make_cleanup_discard_psymtabs

This removes make_cleanup_discard_psymtabs in favor of a new class.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* dwarf2read.c (dwarf2_build_psymtabs): Use psymtab_discarder.
	* psympriv.h (make_cleanup_discard_psymtabs): Don't declare.
	* psymtab.c (discard_psymtabs_upto): Remove.
	(make_cleanup_discard_psymtabs): Remove.
	(struct psymtab_state): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter_varobj in py-varobj.c
@ 2017-01-12  7:27 sergiodj+buildbot
  2017-01-16 11:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  7:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 788f258604773ccbe9ccba71f9b1725930324275 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 788f258604773ccbe9ccba71f9b1725930324275

Use gdbpy_enter_varobj in py-varobj.c

This converts the remaining functions in py-varobj.c to use
gdbpy_enter_varobj.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-varobj.c (py_varobj_iter_dtor, py_varobj_iter_next):
	Use gdbpy_enter_varobj.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add scoped_value_mark
@ 2017-01-12  7:52 sergiodj+buildbot
  2017-01-21  0:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  7:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT eb115069323087e15210c09e3b581be0f6fb5852 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: eb115069323087e15210c09e3b581be0f6fb5852

Add scoped_value_mark

This adds a scoped_value_mark class, that records the value mark in
the constructor and then calls value_free_to_mark in the destructor.
It then updates various spots in gdb to use this class, rather than a
cleanup.

It would be better overall to replace "struct value *" with a
shared_ptr, maybe eliminating the need for this class (watchpoints
would perhaps need some new mechanism as well).  However, that's
difficult to do.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-value.c (valpy_dereference, valpy_referenced_value)
	(valpy_reference_value, valpy_const_value, valpy_get_address)
	(valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast)
	(valpy_getitem, valpy_call, valpy_binop_throw, valpy_negative)
	(valpy_absolute, valpy_richcompare_throw): Use scoped_value_mark.
	* dwarf2loc.c (dwarf2_loc_desc_get_symbol_read_needs): Use
	scoped_value_mark.
	* dwarf2-frame.c (execute_stack_op): Use scoped_value_mark.
	* value.h (scoped_value_mark): New class.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove cleanups from execute_gdb_command
@ 2017-01-12  8:23 sergiodj+buildbot
  2017-01-21  7:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  8:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1ac32117f7224620f44ac966b5ca53df6e4fc5bd ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 1ac32117f7224620f44ac966b5ca53df6e4fc5bd

Remove cleanups from execute_gdb_command

This replaces a cleanup in execute_gdb_command with an instance of
std::string.

Testing showed that this originally missed a cleanup that was returned
by prevent_dont_repeat.  This version of the patch changes
prevent_dont_repeat to return a scoped_restore rather than a cleanup.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* top.c (prevent_dont_repeat): Change return type.
	* python/python.c (execute_gdb_command): Use std::string.
	Update.
	* guile/guile.c (gdbscm_execute_gdb_command): Update.
	* command.h (prevent_dont_repeat): Change return type.
	* breakpoint.c (bpstat_do_actions_1): Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add constructor and destructor to demangle_parse_info
@ 2017-01-12  8:38 sergiodj+buildbot
  2017-01-21 11:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  8:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c8b23b3f89fbb0ed28d6b78f775b0038d8604798 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: c8b23b3f89fbb0ed28d6b78f775b0038d8604798

Add constructor and destructor to demangle_parse_info

This adds a constructor and destructor to demangle_parse_info, and
then changes all the users to use them.  This removes
make_cleanup_cp_demangled_name_parse_free and its single use.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-type.c (typy_legacy_template_argument): Update.
	* cp-support.h (struct demangle_parse_info) (demangle_parse_info,
	~demangle_parse_info): Declare new members.
	(cp_demangled_name_to_comp): Return unique_ptr.
	(cp_demangled_name_parse_free)
	(make_cleanup_cp_demangled_name_parse_free)
	(cp_new_demangle_parse_info): Remove.
	* cp-support.c (do_demangled_name_parse_free_cleanup)
	(make_cleanup_cp_demangled_name_parse_free): Remove.
	(inspect_type, cp_canonicalize_string_full)
	(cp_canonicalize_string): Update.
	(mangled_name_to_comp): Change return type.
	(cp_class_name_from_physname, method_name_from_physname)
	(cp_func_name, cp_remove_params): Update.
	* cp-name-parser.y (demangle_parse_info): New constructor, from
	cp_new_demangle_parse_info.
	(~demangle_parse_info): New destructor, from
	cp_demangled_name_parse_free.
	(cp_merge_demangle_parse_infos): Update.
	(cp_demangled_name_to_comp): Change return type.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter in fnpy_call
@ 2017-01-12  8:52 sergiodj+buildbot
  2017-01-16 17:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  8:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0e9dcc758786feaaaf5026c6e59af42b30a35d36 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 0e9dcc758786feaaaf5026c6e59af42b30a35d36

Use gdbpy_enter in fnpy_call

This changes fnpy_call to use gdbpy_enter and gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-function.c (fnpy_call): Use gdbpy_enter, gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add support for x86/64 redox target.
@ 2017-01-12  9:28 sergiodj+buildbot
  2017-01-21 14:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12  9:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f2e2d2f54b462db40efac449f4d7724ae4728fe5 ***

Author: Jeremy Soller <jackpot51@gmail.com>
Branch: master
Commit: f2e2d2f54b462db40efac449f4d7724ae4728fe5

Add support for x86/64 redox target.

bfd	* config.bfd: Add entries for i686-redox and x86_64-redox.

gas	* configure.tgt: Add entry for i386-redox.

ld	* configure.tgt: Add entries for x86-redox and x86_64-redox.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_enter_varobj in more of varobj.c
@ 2017-01-12 10:32 sergiodj+buildbot
  2017-01-17  4:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 10:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bde7b3e3a0d5e1f0b66730d692b21c98a8686f75 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: bde7b3e3a0d5e1f0b66730d692b21c98a8686f75

Use gdbpy_enter_varobj in more of varobj.c

This converts most of the remaining functions in varobj.c to use
gdbpy_enter_varobj.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* varobj.c (varobj_get_display_hint)
	(dynamic_varobj_has_child_method, install_new_value_visualizer)
	(varobj_set_visualizer, free_variable): Use
	gdbpy_enter_varobj.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Return -1 on memory error in print_insn_msp430
@ 2017-01-12 11:14 sergiodj+buildbot
  2017-01-22  1:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 11:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d95014a2ef6e9aee927c13960fa37e509d46eb32 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: d95014a2ef6e9aee927c13960fa37e509d46eb32

Return -1 on memory error in print_insn_msp430

Disassemblers in opcodes return -1 on memory error, but msp430 doesn't
follow this convention.  If I change GDB not to throw exception in
disassemble_info.memory_error_func and rely on the return value of
disassembler, I'll get the following output.

(gdb) disassemble 0x0,+8
Dump of assembler code from 0x0 to 0x8:
   0x00000000:  .word   0xffff; ????
   0x00000002:  .word   0xffff; ????
   0x00000004:  .word   0xffff; ????
   0x00000006:  .word   0xffff; ????
End of assembler dump.

This patch teaches print_insn_msp430 and its callees to return -1
on memory error.

opcodes:

2017-01-12  Yao Qi  <yao.qi@linaro.org>

	* msp430-dis.c (msp430_singleoperand): Return -1 if
	msp430dis_opcode_signed returns false.
	(msp430_doubleoperand): Likewise.
	(msp430_branchinstr): Return -1 if
	msp430dis_opcode_unsigned returns false.
	(msp430x_calla_instr): Likewise.
	(print_insn_msp430): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove ensure_python_env
@ 2017-01-12 12:41 sergiodj+buildbot
  2017-01-17 14:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 12:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 17a22718b113a220de121ef4211fc3990d9b1745 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 17a22718b113a220de121ef4211fc3990d9b1745

Remove ensure_python_env

All of gdb has been converted away from ensure_python_env and
varobj_ensure_python_env now; so remove them.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (ensure_python_env, restore_python_env):
	Remove.
	* python/python-internal.h (ensure_python_env): Don't declare.
	* varobj.h (varobj_ensure_python_env): Don't declare.
	* varobj.c (varobj_ensure_python_env): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in gdbpy_breakpoint_cond_says_stop
@ 2017-01-12 15:55 sergiodj+buildbot
  2017-01-18 10:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 15:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 64081434cce13f38288d82d3d31b6199e9deff4a ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 64081434cce13f38288d82d3d31b6199e9deff4a

Use gdbpy_ref in gdbpy_breakpoint_cond_says_stop

This changes gdbpy_breakpoint_cond_says_stop to use gdbpy_ref rather
than explicit reference management.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove dead serial_interface_lookup calls
@ 2017-01-12 15:58 sergiodj+buildbot
  2017-01-22  5:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 15:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ca1ca08b0893eb6ec530db0cc7e12537417244fa ***

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

Remove dead serial_interface_lookup calls

By inspecting the serial_add_interface calls, I found that the serial
interface names that we have today are:

 - hardwire
 - terminal
 - pipe
 - tcp
 - event

 The calls to serial_interface_lookup with any other names are most
 likely leftovers which can be removed since these serial interfaces
 don't exist anymore.  The commits that removed the "pc" and "parallel"
 interfaces are respectively:

  cb2a4ac5dae478fcd9d6e772530c3aba0576fc7a

and

  e386d4d2fb55042f77d0557a0849ed2464aee7b3

gdb/ChangeLog:

	* serial.c (serial_open): Forget about "pc" and "lpt" serial interface.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Update comment in linux_nat_can_async_p
@ 2017-01-12 16:22 sergiodj+buildbot
  2017-01-22  8:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 16:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fde1b17d37fd5557a22948d500bb5f4b6ef5d089 ***

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

Update comment in linux_nat_can_async_p

I think this comment is outdated.  Nowadays, linux-nat is always async,
unless the user has explictly turned it off with
"maint set target-async off".

gdb/ChangeLog:

	* linux-nat.c (linux_nat_can_async_p): Update comment.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-cmd.c
@ 2017-01-12 16:30 sergiodj+buildbot
  2017-01-18 14:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 16:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 905f2ccab1b7070c7953e9f12de638e2dc147a9a ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 905f2ccab1b7070c7953e9f12de638e2dc147a9a

Use gdbpy_ref in py-cmd.c

This changes py-cmd.c to use gdbpy_ref in more places.  This also
fixes a latent memory leak in cmdpy_completer_helper, which
unnecessarily increfs the result of PyObject_CallMethodObjArgs.  This
is not needed because that function returns a new reference.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-cmd.c (cmdpy_completer_helper): Use gdbpy_ref.  Remove
	extra incref.
	(cmdpy_completer_handle_brkchars, cmdpy_completer, cmdpy_init):
	Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in bpfinishpy_out_of_scope
@ 2017-01-12 17:03 sergiodj+buildbot
  2017-01-18 17:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 17:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 16361ffbd145c877952f3c124c247460a6005d26 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 16361ffbd145c877952f3c124c247460a6005d26

Use gdbpy_ref in bpfinishpy_out_of_scope

This changes bpfinishpy_out_of_scope to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-finishbreakpoint.c (bpfinishpy_out_of_scope): Use
	gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Update comment in remote_can_async_p
@ 2017-01-12 17:08 sergiodj+buildbot
  2017-01-22 12:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 17:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3015c06465584a437261c65a397fbd8f1a71aae7 ***

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

Update comment in remote_can_async_p

I find this comment counter intuitive, and it probably predates the
always-target-async change.  AFAIK, remote will always be async, unless
the user explicitly prevents it with "maint set target-async off".

gdb/ChangeLog:

	* remote.c (remote_can_async_p): Update comment.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py_print_frame
@ 2017-01-12 17:47 sergiodj+buildbot
  2017-01-18 21:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 17:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 74c49d454b81c84fcffbc090466e241bdefd2f3a ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 74c49d454b81c84fcffbc090466e241bdefd2f3a

Use gdbpy_ref in py_print_frame

This changes py_print_frame to use gdbpy_ref in more places.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-framefilter.c (py_print_frame): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86-64: Also generate unwind info for .plt.bnd
@ 2017-01-12 18:52 sergiodj+buildbot
  2017-01-23  2:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 18:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8361ed4d6b7049264153434e8dc15e6dc2200ebf ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 8361ed4d6b7049264153434e8dc15e6dc2200ebf

x86-64: Also generate unwind info for .plt.bnd

Also generate unwind info for the .plt.bnd section.  Sine it is the same
as unwind info for the .plt.got section, we use unwind info for the
.plt.got section to cover the the .plt.bnd section.

bfd/

	PR ld/21038
	* elf64-x86-64.c (elf_x86_64_link_hash_table): Add
	plt_bnd_eh_frame.
	(elf_x86_64_check_relocs): Create .eh_frame section for the
	.plt.bnd section.
	(elf_x86_64_size_dynamic_sections): Allocate and initialize
	.eh_frame section for the .plt.bnd section.
	(elf_x86_64_finish_dynamic_sections): Adjust .eh_frame section
	for the .plt.bnd section.

ld/

	PR ld/21038
	* testsuite/ld-x86-64/pr21038b.d: Updated.
	* testsuite/ld-x86-64/pr21038c.d: New file.
	* testsuite/ld-x86-64/pr21038c.s: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run pr21038c.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in py-utils.c
@ 2017-01-12 21:33 sergiodj+buildbot
  2017-01-19 16:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 21:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 830a493402da4a055bf2d34ab300a83305391095 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 830a493402da4a055bf2d34ab300a83305391095

Use gdbpy_ref in py-utils.c

This changes more places in py-utils.c to use gdbpy_ref.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-utils.c (unicode_to_encoded_string)
	(python_string_to_target_string)
	(python_string_to_target_python_string)
	(python_string_to_host_string, gdbpy_obj_to_string)
	(get_addr_from_python): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbpy_ref in enumerate_args
@ 2017-01-12 22:14 sergiodj+buildbot
  2017-01-19 20:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-12 22:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 06fc9bf7d92d0bc857f3e8c109686f36aea5509c ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 06fc9bf7d92d0bc857f3e8c109686f36aea5509c

Use gdbpy_ref in enumerate_args

This changes enumerate_args to use gdbpy_ref, and gets rid of many
gotos.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* python/py-framefilter.c (enumerate_args): Use gdbpy_ref.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use scoped_value_mark in dwarf2_evaluate_loc_desc_full
@ 2017-01-13  5:07 sergiodj+buildbot
  2017-01-21  4:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-13  5:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0cf082277804ba3747be70a4013019f68b92bb84 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 0cf082277804ba3747be70a4013019f68b92bb84

Use scoped_value_mark in dwarf2_evaluate_loc_desc_full

This changes dwarf2_evaluate_loc_desc_full to use scoped_value_mark.

Note that this function previously called do_cleanup using the same
cleanup multiple times.  I had thought this was buggy, but re-reading
make_my_cleanup2 indicates that it is not.  Nevertheless it is
surprising, and at least one of the calls (the one that is completely
removed in this patch) seems to have been done under the assumption
that it would still have some effect.

2017-01-10  Tom Tromey  <tom@tromey.com>

	* value.h (scoped_value_mark::~scoped_value_mark): Call
	free_to_mark.
	(scoped_value_mark::free_to_mark): New method.
	* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use
	scoped_value_mark.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove magic numbers in m68k-dis.c:print_insn_arg
@ 2017-01-13 12:41 sergiodj+buildbot
  2017-01-23  5:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-13 12:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f622ea96de49d77646f52501ef00d03132fcb2df ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: f622ea96de49d77646f52501ef00d03132fcb2df

Remove magic numbers in m68k-dis.c:print_insn_arg

When I inspect the return values of disassmblers, I happen to see
various -1/-2/-3 magic numbers are used in m68k-dis.c.  This patch
is to replace them with enum.

-1 and -2 is "clearly documented" in print_ins_arg's comments, but
-3 isn't.  In fact, -3 is returned when FETCH_DATA returns false,
which means memory error (because fetch_data return 0 on memory
error).  So I name enum PRINT_INSN_ARG_MEMORY_ERROR for -3.

This patch is a refactor patch, doesn't affect any functionality.

opcodes:

2017-01-13  Yao Qi  <yao.qi@linaro.org>

	* m68k-dis.c (enum print_insn_arg_error): New.
	(NEXTBYTE): Replace -3 with
	PRINT_INSN_ARG_MEMORY_ERROR.
	(NEXTULONG): Likewise.
	(NEXTSINGLE): Likewise.
	(NEXTDOUBLE): Likewise.
	(NEXTDOUBLE): Likewise.
	(NEXTPACKED): Likewise.
	(FETCH_ARG): Likewise.
	(FETCH_DATA): Update comments.
	(print_insn_arg): Update comments. Replace magic numbers with
	enum.
	(match_insn_m68k): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Return -1 on memory error in print_insn_m68k
@ 2017-01-13 12:56 sergiodj+buildbot
  2017-01-23  9:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-13 12:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9608051a0eba6303adcadff7d09b70a36067fba3 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 9608051a0eba6303adcadff7d09b70a36067fba3

Return -1 on memory error in print_insn_m68k

m68k-dis.c:print_insn_m68k doesn't return -1 on memory error, but GDB
expects it returning -1 on memory error.

opcodes:

2017-01-13  Yao Qi  <yao.qi@linaro.org>

	* m68k-dis.c (match_insn_m68k): Extend comments.  Return -1
	if FETCH_DATA returns 0.
	(m68k_scan_mask): Likewise.
	(print_insn_m68k): Update code to handle -1 return value.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Enable Intel AVX512_VPOPCNTDQ instructions
@ 2017-01-13 14:22 sergiodj+buildbot
  2017-01-22 16:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-13 14:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 620214f742f7816e2844e1bb7f78a7a684431927 ***

Author: Igor Tsimbalist <igor.v.tsimbalist@intel.com>
Branch: master
Commit: 620214f742f7816e2844e1bb7f78a7a684431927

Enable Intel AVX512_VPOPCNTDQ instructions

gas/

2017-01-12  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>

	* config/tc-i386.c (cpu_arch): Add .avx512_vpopcntdq.
	(cpu_noarch): Add noavx512_vpopcntdq.
	* doc/c-i386.texi: Document avx512_vpopcntdq, noavx512_vpopcntdq.
	* testsuite/gas/i386/i386.exp: Run AVX512_VPOPCNTDQ tests.
	* testsuite/gas/i386/avx512_vpopcntdqd-intel.d: New file.
	* testsuite/gas/i386/avx512_vpopcntdqd.d: Ditto.
	* testsuite/gas/i386/avx512_vpopcntdqd.s: Ditto.
	* testsuite/gas/i386/x86-64-avx512_vpopcntdqd-intel.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_vpopcntdqd.d: Ditto.
	* testsuite/gas/i386/x86-64-avx512_vpopcntdqd.s: Ditto.

opcodes/

2017-01-12  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>

	* i386-dis.c (enum): Add PREFIX_EVEX_0F3855, EVEX_W_0F3855_P_2.
	* i386-dis-evex.h (evex_table): Updated.
	* i386-gen.c (cpu_flag_init): Add CPU_AVX512_VPOPCNTDQ_FLAGS,
	CPU_ANY_AVX512_VPOPCNTDQ_FLAGS. Update CPU_ANY_AVX512F_FLAGS.
	(cpu_flags): Add CpuAVX512_VPOPCNTDQ.
	* i386-opc.h (enum): (AVX512_VPOPCNTDQ): New.
	(i386_cpu_flags): Add cpuavx512_vpopcntdq.
	* i386-opc.tbl: Add Intel AVX512_VPOPCNTDQ instructions.
	* i386-init.h: Regenerate.
	* i386-tbl.h: Ditto.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] 'make check-headers' for c++ header
@ 2017-01-13 15:29 sergiodj+buildbot
  2017-01-23 12:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-13 15:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e4241ace685d9886c14f1362e1e1783129774b7c ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: e4241ace685d9886c14f1362e1e1783129774b7c

'make check-headers' for c++ header

If I run 'make check-headers', I get these errors,
....
In file included from ../../binutils-gdb/gdb/common/common-defs.h:78:0,
                 from ../../binutils-gdb/gdb/defs.h:28,
                 from <command-line>:0:
../../binutils-gdb/gdb/common/common-utils.h:23:18: fatal error: string: No such file or directory
 #include <string>
                  ^

because we still parse headers as c file with a c compiler, which is no
longer true after we moved to C++.  This patch changes it to use C++
compiler and parse headers as c++ headers.

gdb:

2017-01-13  Yao Qi  <yao.qi@linaro.org>

	* Makefile.in (checker-headers): Use CXX and CXX_DIALET instead
	of CC.  Pass "-x c++-header" instead of "-x c".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Don't print too much if remote_debug is on
@ 2017-01-13 16:01 sergiodj+buildbot
  2017-01-23 16:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-13 16:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6f8976bfd6d7848268849b88e95917217ee31d3e ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 6f8976bfd6d7848268849b88e95917217ee31d3e

Don't print too much if remote_debug is on

If we turn "remote debug" on and GDB does some vFile operations,
a lot of things will be printed in the screen, which makes
"remote debug" useless.

This patch changes the code that we only print 512 chars in max in
debugging messages, like this,

Sending packet: $qXfer:features:read:target.xml:0,fff#7d...Packet received: l<?xml version="1.0"?>\n<!-- Copyright (C) 2010-2016 Free Software Foundation, Inc.\n\n     Copying and distribution of this file, with or without modification,\n     are permitted in any medium without royalty provided the copyright\n     notice and this notice are preserved.  -->\n\n<!-- AMD64 with AVX - Includes Linux-only special "register".  -->\n\n<!DOCTYPE target SYSTEM "gdb-target.dtd">\n<target>\n  <architecture>i386:x86-64</architecture>\n  <osabi>GNU/Linux</osabi>\n  <xi:include href="64bit-core.xml"/>\n  <xi:[14 bytes omitted]

Sending packet: $qXfer:auxv:read::0,1000#6b...Packet received: l!\000\000\000\000\000\000\000\000d\000\000\000\000\000\000\000\003\000\000\000\000\000\000\000@\000@\000\000\000\000\000\004\000\000\000\000\000\000\0008\000\000\000\000\000\000\000\005\000\000\000\000\000\000\000\t\000\000\000\000\000\000\000\a\000\000\000\000\000\000\000\177\000\000\b\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\t\000\000\000\000\000\000\000\000\004@\000\000\000\000\000\013\000\000\000\000\000\000\003\000\000\000\000\000\000\f\000\000\000\000\000\000\003\000\000\000\000\000\000\r\000\000\000\000\000\000\003\000\000\000\000\000\000\016\000\000\000\000\000\000\003\000\000\000\000\000\000\027\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\031\000\000\000\000\000\000\177\000\000\037\000\000\000\000\000\000\000\000\017\000\000\000\000\000\000\00\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000[582 bytes omitted]

gdb:

2017-01-13  Yao Qi  <yao.qi@linaro.org>

	* remote.c (REMOTE_DEBUG_MAX_CHAR): New macro.
	(putpkt_binary): Print only REMOTE_DEBUG_MAX_CHAR chars in debug
	output.
	(getpkt_or_notif_sane_1): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix unused-but-set warning in elf32-cris.c:elf_cris_finish_dynamic_symbol
@ 2017-01-27  8:31 sergiodj+buildbot
  2017-01-27 12:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-27  8:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 22d9a0dee3a69973858000b326cf8eaa14ce7180 ***

Author: Hans-Peter Nilsson <hp@bitrange.com>
Branch: master
Commit: 22d9a0dee3a69973858000b326cf8eaa14ce7180

Fix unused-but-set warning in elf32-cris.c:elf_cris_finish_dynamic_symbol

	* elf32-cris.c (elf_cris_finish_dynamic_symbol): Remove now unused
	local variable dynobj.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbserver-amd64: add HAVE_STRUCT_USER_REGS_STRUCT_(GS|FS)_BASE for gdbserver.
@ 2017-01-27 14:35 sergiodj+buildbot
  2017-01-27 18:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-27 14:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 239b6d10954b18ce089e9c3a667e7f2df3655476 ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 239b6d10954b18ce089e9c3a667e7f2df3655476

gdbserver-amd64: add HAVE_STRUCT_USER_REGS_STRUCT_(GS|FS)_BASE for gdbserver.

The macros mentioned in the title were set only for GDB. In gdbserver they
were not set until now.  To align the code in GDB and gdbserver these macros
are also added into gdbserver, enabling read and write of gs_base and fs_base
registers from the system in new and old kernels.

2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>

gdb/gdbserver/ChangeLog:

    	* configure.ac: Check if the fs_base and gs_base members of
    	`struct user_regs_struct' exist.
    	* config.in: Regenerated.
    	* configure: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] amd64: remove additional comparison for validity of a register number.
@ 2017-01-27 15:16 sergiodj+buildbot
  2017-01-27 22:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-27 15:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7005d26ac72abbf12e02947ab87dbb3804f326a8 ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 7005d26ac72abbf12e02947ab87dbb3804f326a8

amd64: remove additional comparison for validity of a register number.

Second part of the && is already guaranteed in the "regnum < num_regs"
due to comparison above.

2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>

	* amd64-nat.c (amd64_native_gregset_reg_offset): Simplify logic
	that checks validity of a register number.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] amd64: simplify addition of new general registers.
@ 2017-01-27 16:10 sergiodj+buildbot
  2017-01-28  1:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-27 16:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8884e97e78f337bccb50df7682333db4e7ee1542 ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 8884e97e78f337bccb50df7682333db4e7ee1542

amd64: simplify addition of new general registers.

The purpose of this patch is only simplify the addition of new registers.
ORIG_RAX is kept as last register and any addition is done right before it.

2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>

	* amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM):
	Set to AMD64_NUM_REGS.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] amd64-linux: expose system register FS_BASE and GS_BASE for Linux.
@ 2017-01-27 16:49 sergiodj+buildbot
  2017-01-28  5:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-27 16:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2735833d5fb220983d09770087b573fed5bf93cd ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 2735833d5fb220983d09770087b573fed5bf93cd

amd64-linux: expose system register FS_BASE and GS_BASE for Linux.

This patch allows examination of the registers FS_BASE and GS_BASE
for Linux Systems running on 64bit. Tests for simple read and write
of the new registers is also added with this patch.

2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
	    Richard Henderson  <rth@redhat.com>

gdb/ChangeLog:

	* amd64-linux-nat.c (PTRACE_ARCH_PRCTL): New define.
	(amd64_linux_fetch_inferior_registers): Add case to fetch FS_BASE
	GS_BASE for older kernels.
	(amd64_linux_store_inferior_registers): Add case to store FS_BASE
	GS_BASE for older kernels.
	* amd64-linux-tdep.c (amd64_linux_gregset_reg_offset): Add FS_BASE
	and GS_BASE to the offset table.
	(amd64_linux_register_reggroup_p): Add FS_BASE and GS_BASE to the
	system register group.
	* amd64-nat.c (amd64_native_gregset_reg_offset): Implements case
	for older kernels.
	* amd64-tdep.c (amd64_init_abi): Add segment registers for the
	amd64 ABI.
	* amd64-tdep.h (amd64_regnum): Add AMD64_FSBASE_REGNUM and
	AMD64_GSBASE_REGNUM.
	(AMD64_NUM_REGS): Set to AMD64_GSBASE_REGNUM + 1.
	* features/Makefile (amd64-linux.dat, amd64-avx-linux.dat)
	(amd64-mpx-linux.dat, amd64-avx512-linux.dat, x32-linux.dat)
	(x32-avx-linux.dat, x32-avx512-linux.dat): Add
	i386/64bit-segments.xml in those rules.
	* features/i386/64bit-segments.xml: New file.
	* features/i386/amd64-avx-mpx-linux.xml: Add 64bit-segments.xml.
	* features/i386/amd64-avx-linux.xml: Add 64bit-segments.xml.
	* features/i386/amd64-avx512-linux.xml: Add 64bit-segments.xml.
	* features/i386/amd64-mpx-linux.xml: Add 64bit-segments.xml.
	* features/i386/x32-avx512-linux.xml: Add 64bit-segments.xml.
	* features/i386/x32-avx-linux.xml: Add 64bit-segments.xml.
	* features/i386/amd64-linux.xml: Add 64bit-segments.xml.
	* features/i386/amd64-avx-linux.c: Regenerated.
	* features/i386/amd64-avx-mpx-linux.c: Regenerated.
	* features/i386/amd64-avx-mpx.c: Regenerated.
	* features/i386/amd64-avx512-linux.c: Regenerated.
	* features/i386/amd64-linux.c: Regenerated.
	* features/i386/amd64-mpx-linux.c: Regenerated.
	* features/i386/i386-avx-mpx-linux.c: Regenerated.
	* features/i386/i386-avx-mpx.c: Regenerated.
	* features/i386/x32-avx-linux.c: Regenerated.
	* features/i386/x32-avx512-linux.c: Regenerated.
	* regformats/i386/amd64-avx-linux.dat: Regenerated.
	* regformats/i386/amd64-avx-mpx-linux.dat: Regenerated.
	* regformats/i386/amd64-avx512-linux.dat: Regenerated.
	* regformats/i386/amd64-linux.dat: Regenerated.
	* regformats/i386/amd64-mpx-linux.dat: Regenerated.
	* regformats/i386/x32-avx-linux.dat: Regenerated.
	* regformats/i386/x32-avx512-linux.dat: Regenerated.
	* regformats/i386/x32-linux.dat: Regenerated.

gdb/doc/ChangeLog:

	* gdb.texinfo (i386 Features): Add system segment registers
	as feature.

gdb/gdbserver/ChangeLog:

	* linux-x86-low.c (x86_64_regmap): Add fs_base and gs_base
	to the register table.
	(x86_fill_gregset): Add support for old kernels for the
	fs_base and gs_base system registers.
	(x86_store_gregset): Likewise.
	* configure.srv (srv_i386_64bit_xmlfiles): Add 64bit-segments.xml.

gdb/testsuite/ChangeLog:

	* gdb.arch/amd64-gs_base.c: New file.
	* gdb.arch/amd64-gs_base.exp: New file.

Change-Id: I2e0eeb93058a2320d4d3b045082643cfe4aff963
Signed-off-by: Walfred Tedeschi <walfred.tedeschi@intel.com>


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS: Add options to control branch ISA checks
@ 2017-01-30 17:32 sergiodj+buildbot
  2017-01-30 20:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-30 17:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8b10b0b3e100c25322a083248c7a18bf5a1f3527 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 8b10b0b3e100c25322a083248c7a18bf5a1f3527

MIPS: Add options to control branch ISA checks

Complement commit 9d862524f6ae ("MIPS: Verify the ISA mode and alignment
of branch and jump targets") and add GAS and LD options to control the
checks for invalid branches between ISA modes introduced there, to help
with some handwritten code lacking `.insn' annotation for labels used as
branch targets and code produced by older versions of GCC which suffers
from the issue with branches to code that has been optimized away,
addressed with GCC commit 242424 ("MIPS/GCC: Mark trailing labels with
`.insn'"), <https://gcc.gnu.org/ml/gcc-patches/2016-11/msg01061.html>.

	bfd/
	* elfxx-mips.h (_bfd_mips_elf_insn32): Rename prototype to...
	(_bfd_mips_elf_linker_flags): ... this.  Add another parameter.
	* elfxx-mips.c (mips_elf_link_hash_table): Add
	`ignore_branch_isa' member.
	(mips_elf_perform_relocation): Do not treat an ISA mode mismatch
	in branch relocation calculation as an error if
	`ignore_branch_isa' has been set.
	(_bfd_mips_elf_insn32): Rename to...
	(_bfd_mips_elf_linker_flags): ... this.  Rename the `on'
	parameter to `insn32' and add an `ignore_branch_isa' parameter.
	Handle the new parameter.

	gas/
	* config/tc-mips.c (mips_ignore_branch_isa): New variable.
	(options): Add OPTION_IGNORE_BRANCH_ISA and
	OPTION_NO_IGNORE_BRANCH_ISA enum values.
	(md_longopts): Add "mignore-branch-isa" and
	"mno-ignore-branch-isa" options.
	(md_parse_option): Handle OPTION_IGNORE_BRANCH_ISA and
	OPTION_NO_IGNORE_BRANCH_ISA.
	(fix_bad_cross_mode_branch_p): Return FALSE if
	`mips_ignore_branch_isa' has been set.
	(md_show_usage): Add `-mignore-branch-isa' and
	`-mno-ignore-branch-isa'.

	* doc/as.texinfo (Target MIPS options): Add
	`-mignore-branch-isa' and `-mno-ignore-branch-isa' options.
	(-mignore-branch-isa, -mno-ignore-branch-isa): New options.
	* doc/c-mips.texi (MIPS Options): Add `-mignore-branch-isa' and
	`-mno-ignore-branch-isa' options.

	* testsuite/gas/mips/branch-local-ignore-2.d: New test.
	* testsuite/gas/mips/branch-local-ignore-3.d: New test.
	* testsuite/gas/mips/branch-local-ignore-n32-2.d: New test.
	* testsuite/gas/mips/branch-local-ignore-n32-3.d: New test.
	* testsuite/gas/mips/branch-local-ignore-n64-2.d: New test.
	* testsuite/gas/mips/branch-local-ignore-n64-3.d: New test.
	* testsuite/gas/mips/mips.exp: Run the new tests.

	ld/
	* emultempl/mipself.em (ignore_branch_isa): New variable.
	(mips_create_output_section_statements): Rename
	`_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
	add `ignore_branch_isa' argument.
	(PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
	OPTION_NO_IGNORE_BRANCH_ISA enum values.
	(PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
	"no-ignore-branch-isa" options.
	(PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
	`--no-ignore-branch-isa'.
	(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
	OPTION_NO_IGNORE_BRANCH_ISA.

	* ld.texinfo (Options specific to MIPS targets): Add
	`--ignore-branch-isa' and `--no-ignore-branch-isa' options.
	(ld and the MIPS family): Likewise.

	* testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
	* testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
	* testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
	* testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
	test.
	* testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
	test.
	* testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: make_scoped_restore and types convertible to T
@ 2017-01-31 23:53 sergiodj+buildbot
  2017-02-01  2:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-01-31 23:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 60adb36c08942fd4a2f8bf598864254c043668a1 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 60adb36c08942fd4a2f8bf598864254c043668a1

gdb: make_scoped_restore and types convertible to T

A following patch will want to do

   string_file str_file;

   scoped_restore save_stdout
    = make_scoped_restore (&gdb_stdout, &str_file);

where gdb_stdout is a ui_file *, and string_file is a type that
inherits from ui_file, but that doesn't compile today:

  src/gdb/top.c: In function std::__cxx11::string execute_command_to_string(char*, int):
  src/gdb/top.c:710:50: error: no matching function for call to make_scoped_restore(ui_file**, string_file*)
       = make_scoped_restore (&gdb_stdout, &str_file);
						    ^
  [...]
  In file included from src/gdb/utils.h:25:0,
		   from src/gdb/defs.h:732,
		   from src/gdb/top.c:20:
  src/gdb/common/scoped_restore.h:94:24: note: candidate: template<class T> scoped_restore_tmpl<T> make_scoped_restore(T*, T)
   scoped_restore_tmpl<T> make_scoped_restore (T *var, T value)
			  ^
  src/gdb/common/scoped_restore.h:94:24: note:   template argument deduction/substitution failed:
  src/gdb/top.c:710:50: note:   deduced conflicting types for parameter T (ui_file* and string_file*)
       = make_scoped_restore (&gdb_stdout, &str_file);
						    ^

This commit makes code such as the above possible.

gdb/ChangeLog:
2017-01-31  Pedro Alves  <palves@redhat.com>

	* common/scoped_restore.h
	(scoped_restore_tmpl::scoped_restore_tmpl): Template on T2, and
	change the value's parameter type to T2.
	(make_scoped_restore): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb/varobj.c: Fix leak
@ 2017-02-01  0:40 sergiodj+buildbot
  2017-02-01  6:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-01  0:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b47413b47e103677fedb7cd1301c62fee01ac4ba ***

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

gdb/varobj.c: Fix leak

Whoops, this function returns a std::string.

gdb/ChangeLog:
2017-01-31  Pedro Alves  <palves@redhat.com>

	* varobj.c (varobj_value_get_print_value): Remove xstrdup call.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb/stack.c: Remove unused mem_fileopen
@ 2017-02-01  0:56 sergiodj+buildbot
  2017-02-01 10:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-01  0:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 289b5b2421ca79324b7374492ea652aceb869a1d ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 289b5b2421ca79324b7374492ea652aceb869a1d

gdb/stack.c: Remove unused mem_fileopen

gdb/ChangeLog:
2017-01-31  Pedro Alves  <palves@redhat.com>

	* stack.c (print_frame_args): Remove local mem_fileopen stream,
	not used.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb/mi/mi-interp.c: Fix typos
@ 2017-02-01  1:15 sergiodj+buildbot
  2017-02-01 13:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-01  1:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 29b0b2512ff436c46a77db39317ff50c4bc93601 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 29b0b2512ff436c46a77db39317ff50c4bc93601

gdb/mi/mi-interp.c: Fix typos

gdb/ChangeLog:
2017-01-31  Pedro Alves  <palves@redhat.com>

	* mi/mi-interp.c (mi_breakpoint_created, mi_breakpoint_modified):
	Fix typos.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [ob/pushed] Use gdb_insn_length instead of creating dummy stream
@ 2017-02-01  1:27 sergiodj+buildbot
  2017-02-01 17:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-01  1:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT be85ce7dcbe99a8e7cd847a0c5b449a0b18a8ce7 ***

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

[ob/pushed] Use gdb_insn_length instead of creating dummy stream

gdb/ChangeLog:
2017-02-01  Pedro Alves  <palves@redhat.com>

	* i386-tdep.c (i386_fast_tracepoint_valid_at): Use gdb_insn_length.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] thread: add can_access_registers_ptid
@ 2017-02-01 13:56 sergiodj+buildbot
  2017-02-01 20:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-01 13:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cf77c34ea71c27c3cb6dd31c9448249276e8a8a6 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: cf77c34ea71c27c3cb6dd31c9448249276e8a8a6

thread: add can_access_registers_ptid

Add a function can_access_registers_ptid that behaves like
validate_registers_access but returns a boolean value instead of throwing an
exception.

gdb/
	* gdbthread.h (can_access_registers_ptid): New.
	* thread.c (can_access_registers_ptid): New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] btrace: allow recording to be started (and stopped) for running threads
@ 2017-02-01 14:07 sergiodj+buildbot
  2017-02-01 23:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-01 14:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cd4007e43421a2f974f51574b6e2b52b9b1a7a50 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: cd4007e43421a2f974f51574b6e2b52b9b1a7a50

btrace: allow recording to be started (and stopped) for running threads

When recording is started for a running thread, GDB was able to start tracing
but then failed to read registers to insert the initial entry for the current
PC.  We don't really need that initial entry if we don't know where exactly we
started recording.  Skip that step to allow recording to be started while
threads are running.

If we do run into errors, we need to undo the tracing enable to not leak this
thread.  The operation did not complete so our caller won't clean up this
thread.

For the BTRACE_FORMAT_PT btrace format, we don't need that initial entry since
it will be recorded in the trace.  We can omit the call to btrace_add_pc.

gdb/
	* btrace.c (btrace_enable): Do not call btrace_add_pc for
	BTRACE_FORMAT_PT or if can_access_registers_ptid returns false.
	(btrace_fetch): Assert can_access_registers_ptid.
	* record-btrace.c (require_btrace_thread, record_btrace_info): Call
	validate_registers_access.

testsuite/
	* gdb.btrace/enable-running.c: New.
	* gdb.btrace/enable-running.exp: New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] testsuite: diagnose a running GDB in gdb_skip_xml_tests
@ 2017-02-01 14:54 sergiodj+buildbot
  2017-02-02 12:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-01 14:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 787f00256b3eabe34b8599fca4df0243df80d5ca ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 787f00256b3eabe34b8599fca4df0243df80d5ca

testsuite: diagnose a running GDB in gdb_skip_xml_tests

If GDB is running when gdb_skip_xml_tests is called with
--target_board=native-extended-gdbserer.exp, it fails with:

    (gdb) FAIL: ....exp: set tdesc filename .../trivial.xml (got interactive prompt)
    monitor exit

Diagnose this in gdb_skip_xml_tests to generate a more meaningful error message:

    ERROR: tcl error sourcing ....exp.
    ERROR: GDB must not be running in gdb_skip_xml_tests.
        while executing
    [...]

testsuite/
	* lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] btrace: add unsupported/untested messages when skipping tests
@ 2017-02-01 15:06 sergiodj+buildbot
  2017-02-02  2:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-01 15:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b5ac99b0828d4e1dfa33540b428c0fc6c32eda67 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: b5ac99b0828d4e1dfa33540b428c0fc6c32eda67

btrace: add unsupported/untested messages when skipping tests

We may silently skip gdb.btrace tests if

  - the target does not support record-btrace
  - the target does not support TSX
  - the target does not support gdbserver
  - we fail to compile the test
  - we fail to run to main

Add unsupported/untested messages for each of those.

testsuite/
	* gdb.btrace/buffer-size.exp: Add unsupported/untested message if
	the test is skipped.
	* gdb.btrace/data.exp: Likewise.
	* gdb.btrace/delta.exp: Likewise.
	* gdb.btrace/dlopen.exp: Likewise.
	* gdb.btrace/enable-running.exp: Likewise.
	* gdb.btrace/enable.exp: Likewise.
	* gdb.btrace/exception.exp: Likewise.
	* gdb.btrace/function_call_history.exp: Likewise.
	* gdb.btrace/gcore.exp: Likewise.
	* gdb.btrace/instruction_history.exp: Likewise.
	* gdb.btrace/multi-thread-step.exp: Likewise.
	* gdb.btrace/nohist.exp: Likewise.
	* gdb.btrace/non-stop.exp: Likewise.
	* gdb.btrace/reconnect.exp: Likewise.
	* gdb.btrace/record_goto-step.exp: Likewise.
	* gdb.btrace/record_goto.exp: Likewise.
	* gdb.btrace/rn-dl-bind.exp: Likewise.
	* gdb.btrace/segv.exp: Likewise.
	* gdb.btrace/step.exp: Likewise.
	* gdb.btrace/stepi.exp: Likewise.
	* gdb.btrace/tailcall-only.exp: Likewise.
	* gdb.btrace/tailcall.exp: Likewise.
	* gdb.btrace/tsx.exp: Likewise.
	* gdb.btrace/unknown_functions.exp: Likewise.
	* gdb.btrace/vdso.exp: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] btrace, testsuite: fix extended-remote non-stop test
@ 2017-02-01 15:42 sergiodj+buildbot
  2017-02-02  5:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-01 15:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a1c7e2881226bb9734d7c31c9415c636f35921d ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 0a1c7e2881226bb9734d7c31c9415c636f35921d

btrace, testsuite: fix extended-remote non-stop test

With --target_board=native-extended-gdbserver non-stop tests are failing with

    UNTESTED: gdb.btrace/non-stop.exp: failed to run to main

Fix that by adding '-ex "set non-stop on"' to GDBFLAGS before restarting.

testsuite/
	* gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to GDBFLAGS.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Big-endian targets: Don't ignore offset into DW_OP_implicit_value
@ 2017-02-01 16:25 sergiodj+buildbot
  2017-02-02 16:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-01 16:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7346ef59bb33e28161d78ab478c3476b3dab2e8e ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 7346ef59bb33e28161d78ab478c3476b3dab2e8e

Big-endian targets: Don't ignore offset into DW_OP_implicit_value

When a variable's location is expressed as DW_OP_implicit_value, but the
given value is longer than needed, which bytes should be used?  GDB's
current logic was introduced with a patch from 2011 and uses the "least
significant" bytes:

  https://sourceware.org/ml/gdb-patches/2011-08/msg00123.html

Now consider a sub-value from such a location at a given offset, accessed
through DW_OP_implicit_pointer.  Which bytes should be used for that?  The
patch above *always* uses the last bytes on big-endian targets, ignoring
the offset.

E.g., given the code snippet

  const char foo[] = "Hello, world!";
  const char *a = &foo[0];
  const char *b = &foo[7];

assume that `foo' is described as DW_OP_implicit_value and `a' and `b'
each as DW_OP_implicit_pointer into that value.  Then with current GDB
`*a' and `*b' yield the same result -- the string's zero terminator.

This patch basically reverts the portion of the patch above that deals
with DW_OP_implicit_value.  This fixes the offset handling and also goes
back to dropping the last instead of the first bytes on big-endian targets
if the implicit value is longer than needed.  The latter aspect of the
change probably doesn't matter for actual programs, but simplifies the
logic.

The patch also cleans up the original code a bit and adds appropriate test
cases.

gdb/testsuite/ChangeLog:

	* gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
	taking a 2-byte value out of a 4-byte DWARF implicit value on
	big-endian targets.
	* gdb.dwarf2/nonvar-access.exp: Add more comments to existing
	logic.  Add test cases for DW_OP_implicit.

gdb/ChangeLog:

	* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): For
	DWARF_VALUE_LITERAL, no longer ignore the offset on big-endian
	targets.  And if the implicit value is longer than needed, extract
	the first bytes instead of the "least significant" ones.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] btrace, testsuite: fix extended-remote fail
@ 2017-02-01 16:37 sergiodj+buildbot
  2017-02-02  9:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-01 16:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 68777c298919d6dbdb9537c92a64ed9440ef6f3c ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 68777c298919d6dbdb9537c92a64ed9440ef6f3c

btrace, testsuite: fix extended-remote fail

Parts of gdb.btrace/enable.exp are only valid for native debug.  The check for
skip_gdbserver_tests is done while GDB is running, though, which causes it to
fail with --target_board=native-extended-gdbserver.  Exit GDB before that check.

testsuite/
	* gdb.btrace/enable.exp: Call gdb_exit before skip_gdbserver_tests.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove unused file_string parameter in gdb_disassembly
@ 2017-02-02  4:29 sergiodj+buildbot
  2017-02-02 20:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-02  4:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7a8eb317c5bce0f1ff290a9343777db74adec663 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 7a8eb317c5bce0f1ff290a9343777db74adec663

Remove unused file_string parameter in gdb_disassembly

The file_string parameter was added in 8f0eea0 (sorry, no title back
then) and has never actually been used.

gdb/ChangeLog:

	* disasm.h (gdb_disassembly): Remove file_string parameter.
	* disasm.c (gdb_disassembly): Likewise.
	* cli/cli-cmds.c (print_disassembly): Adapt.
	* mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
	* stack.c (do_gdb_disassembly): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add back gdb_pretty_print_insn
@ 2017-02-02 11:42 sergiodj+buildbot
  2017-02-02 23:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 11:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 187808b04f61df1c38fda0921e2d9eeb53e332ee ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 187808b04f61df1c38fda0921e2d9eeb53e332ee

Add back gdb_pretty_print_insn

ui_file_rewind is a ui_file method that only really works with mem
buffer files, and is a nop on other ui_file types.  It'd be desirable
to eliminate it from the base ui_file interface, and move it to the
"mem_fileopen" subclass of ui_file instead.  A following patch does
just that.

Unfortunately, there are a couple references to ui_file_rewind inside
gdb_disassembler::pretty_print_insn that were made harder to eliminate
with the recent addition of the gdb_disassembler wrapper.

Before the gdb_disassembler wrapper was added, in commit
e47ad6c0bd7aa3 ("Refactor disassembly code"), gdb_pretty_print_insn
used to be passed a ui_file pointer as argument, and it was simple to
adjust that pointer be a "mem_fileopen" ui_file pointer instead, since
there's only one gdb_pretty_print_insn caller.

That commit made gdb_pretty_print_insn be a method of
gdb_disassembler, and removed the method's ui_file parameter at the
same time, replaced by referencing the gdb_disassembler's stream
instead.  The trouble is that a gdb_disassembler can be instantiated
with a pointer any kind of ui_file.  Casting the gdb_disassembler's
stream to a mem_fileopen ui_file inside
gdb_disassembler::pretty_print_insn in order to call the reset method
would be gross hack.

The fix here is to:

 - make gdb_disassembler::pretty_print_insn a be free function again
   instead of a method of gdb_disassembler.  I.e., bring back
   gdb_pretty_print_insn.

 - but, don't add back the ui_file * parameter.  Instead, move the
   mem_fileopen allocation inside.  That is a better interface, given
   that the ui_file is only ever used as temporary scratch buffer as
   an implementation detail of gdb_pretty_print_insn.  The function's
   real "where to send output" parameter is the ui_out pointer.  (A
   following patch will add back buffer reuse across invocations
   differently).

 - don't add back a disassemble_info pointer either.  That used to be
   necessary for this bit:

	  err = m_di.read_memory_func (pc, &data, 1, &m_di);
	  if (err != 0)
	    m_di.memory_error_func (err, pc, &m_di);

   ... but AFAIK, it's not really necessary.  We can replace those
   three lines with a call to read_code.  This seems to fix a
   regression even, because before commit d8b49cf0c891d0 ("Don't throw
   exception in dis_asm_memory_error"), that memory_error_func call
   would throw an error/exception, but now it only records the error
   in the gdb_disassembler's m_err_memaddr field.  (read_code throws
   on error.)

With all these, gdb_pretty_print_insn is completely layered on top of
gdb_disassembler only using the latter's public API.

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

	* disasm.c (gdb_disassembler::pretty_print_insn): Rename to...
	(gdb_pretty_print_insn): ... this.  Now a free function.  Add back
	a 'gdbarch' parameter.  Allocate a mem_fileopen stream here.
	Adjust to call gdb_print_insn instead of
	gdb_disassembler::print_insn.
	(dump_insns, do_mixed_source_and_assembly_deprecated)
	(do_mixed_source_and_assembly, do_assembly_only): Add back a
	'gdbarch' parameter.  Remove gdb_disassembler parameter.
	(gdb_disassembly): Don't allocate a gdb_disassembler here.
	* disasm.h (gdb_disassembler::pretty_print_insn): Delete
	declaration.
	(gdb_pretty_print_insn): Re-add declaration.
	* record-btrace.c (btrace_insn_history): Don't allocate a
	gdb_disassembler here.  Adjust to call gdb_pretty_print_insn.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy
@ 2017-02-02 12:25 sergiodj+buildbot
  2017-02-03  2:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 12:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d7e747318f4d04af033f16325f9b6d74f67079ec ***

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

Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy

This patch starts from the desire to eliminate
make_cleanup_ui_file_delete, but then goes beyond.  It makes ui_file &
friends a real C++ class hierarchy, and switches temporary
ui_file-like objects to stack-based allocation.

- mem_fileopen -> string_file

mem_fileopen is replaced with a new string_file class that is treated
as a value class created on the stack.  This alone eliminates most
make_cleanup_ui_file_delete calls, and, simplifies code a whole lot
(diffstat shows around 1k loc dropped.)

string_file's internal buffer is a std::string, thus the "string" in
the name.  This simplifies the implementation much, compared to
mem_fileopen, which managed growing its internal buffer manually.

- ui_file_as_string, ui_file_strdup, ui_file_obsavestring all gone

The new string_file class has a string() method that provides direct
writable access to the internal std::string buffer.  This replaced
ui_file_as_string, which forced a copy of the same data the stream had
inside.  With direct access via a writable reference, we can instead
move the string out of the string_stream, avoiding deep string
copying.

Related, ui_file_xstrdup calls are replaced with xstrdup'ping the
stream's string, and ui_file_obsavestring is replaced by
obstack_copy0.

With all those out of the way, getting rid of the weird ui_file_put
mechanism was possible.

- New ui_file::printf, ui_file::puts, etc. methods

These simplify / clarify client code.  I considered splitting
client-code changes, like these, e.g.:

  -  stb = mem_fileopen ();
  -  fprintf_unfiltered (stb, "%s%s%s",
  -		      _("The valid values are:\n"),
  -		      regdesc,
  -		      _("The default is \"std\"."));
  +  string_file stb;
  +  stb.printf ("%s%s%s",
  +	      _("The valid values are:\n"),
  +	      regdesc,
  +	      _("The default is \"std\"."));

In two steps, with the first step leaving fprintf_unfiltered (etc.)
calls in place, and only afterwards do a pass to change all those to
call stb.printf etc..  I didn't do that split, because (when I tried),
it turned out to be pointless make-work: the first pass would have to
touch the fprintf_unfiltered line anyway, to replace "stb" with
"&stb".

- gdb_fopen replaced with stack-based objects

This avoids the need for cleanups or unique_ptr's.  I.e., this:

      struct ui_file *file = gdb_fopen (filename, "w");
      if (filename == NULL)
 	perror_with_name (filename);
      cleanups = make_cleanup_ui_file_delete (file);
      // use file.
      do_cleanups (cleanups);

is replaced with this:

      stdio_file file;
      if (!file.open (filename, "w"))
 	perror_with_name (filename);
      // use file.

- odd contorsions in null_file_write / null_file_fputs around when to
  call to_fputs / to_write eliminated.

- Global null_stream object

A few places that were allocating a ui_file in order to print to
"nowhere" are adjusted to instead refer to a new 'null_stream' global
stream.

- TUI's tui_sfileopen eliminated.  TUI's ui_file much simplified

The TUI's ui_file was serving a dual purpose.  It supported being used
as string buffer, and supported being backed by a stdio FILE.  The
string buffer part is gone, replaced by using of string_file.  The
'FILE *' support is now much simplified, by making the TUI's ui_file
inherit from stdio_file.

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

	* ada-lang.c (type_as_string): Use string_file.
	* ada-valprint.c (ada_print_floating): Use string_file.
	* ada-varobj.c (ada_varobj_scalar_image)
	(ada_varobj_get_value_image): Use string_file.
	* aix-thread.c (aix_thread_extra_thread_info): Use string_file.
	* arm-tdep.c (_initialize_arm_tdep): Use string_printf.
	* breakpoint.c (update_inserted_breakpoint_locations)
	(insert_breakpoint_locations, reattach_breakpoints)
	(print_breakpoint_location, print_one_detail_ranged_breakpoint)
	(print_it_watchpoint): Use string_file.
	(save_breakpoints): Use stdio_file.
	* c-exp.y (oper): Use string_file.
	* cli/cli-logging.c (set_logging_redirect): Use ui_file_up and
	tee_file.
	(pop_output_files): Use delete.
	(handle_redirections): Use stdio_file and tee_file.
	* cli/cli-setshow.c (do_show_command): Use string_file.
	* compile/compile-c-support.c (c_compute_program): Use
	string_file.
	* compile/compile-c-symbols.c (generate_vla_size): Take a
	'string_file &' instead of a 'ui_file *'.
	(generate_c_for_for_one_variable): Take a 'string_file &' instead
	of a 'ui_file *'.  Use string_file.
	(generate_c_for_variable_locations): Take a 'string_file &'
	instead of a 'ui_file *'.
	* compile/compile-internal.h (generate_c_for_for_one_variable):
	Take a 'string_file &' instead of a 'ui_file *'.
	* compile/compile-loc2c.c (push, pushf, unary, binary)
	(print_label, pushf_register_address, pushf_register)
	(do_compile_dwarf_expr_to_c): Take a 'string_file &' instead of a
	'ui_file *'.  Adjust.
	* compile/compile.c (compile_to_object): Use string_file.
	* compile/compile.h (compile_dwarf_expr_to_c)
	(compile_dwarf_bounds_to_c): Take a 'string_file &' instead of a
	'ui_file *'.
	* cp-support.c (inspect_type): Use string_file and obstack_copy0.
	(replace_typedefs_qualified_name): Use string_file and
	obstack_copy0.
	* disasm.c (gdb_pretty_print_insn): Use string_file.
	(gdb_disassembly): Adjust reference the null_stream global.
	(do_ui_file_delete): Delete.
	(gdb_insn_length): Use null_stream.
	* dummy-frame.c (maintenance_print_dummy_frames): Use stdio_file.
	* dwarf2loc.c (dwarf2_compile_property_to_c)
	(locexpr_generate_c_location, loclist_generate_c_location): Take a
	'string_file &' instead of a 'ui_file *'.
	* dwarf2loc.h (dwarf2_compile_property_to_c): Likewise.
	* dwarf2read.c (do_ui_file_peek_last): Delete.
	(dwarf2_compute_name): Use string_file.
	* event-top.c (gdb_setup_readline): Use stdio_file.
	* gdbarch.sh (verify_gdbarch): Use string_file.
	* gdbtypes.c (safe_parse_type): Use null_stream.
	* guile/scm-breakpoint.c (gdbscm_breakpoint_commands): Use
	string_file.
	* guile/scm-disasm.c (gdbscm_print_insn_from_port): Take a
	'string_file *' instead of a 'ui_file *'.
	(gdbscm_arch_disassemble): Use string_file.
	* guile/scm-frame.c (frscm_print_frame_smob): Use string_file.
	* guile/scm-ports.c (class ioscm_file_port): Now a class that
	inherits from ui_file.
	(ioscm_file_port_delete, ioscm_file_port_rewind)
	(ioscm_file_port_put): Delete.
	(ioscm_file_port_write): Rename to ...
	(ioscm_file_port::write): ... this.  Remove file_port_magic
	checks.
	(ioscm_file_port_new): Delete.
	(ioscm_with_output_to_port_worker): Use ioscm_file_port and
	ui_file_up.
	* guile/scm-type.c (tyscm_type_name): Use string_file.
	* guile/scm-value.c (vlscm_print_value_smob, gdbscm_value_print):
	Use string_file.
	* infcmd.c (print_return_value_1): Use string_file.
	* infrun.c (print_target_wait_results): Use string_file.
	* language.c (add_language): Use string_file.
	* location.c (explicit_to_string_internal): Use string_file.
	* main.c (captured_main_1): Use null_file.
	* maint.c (maintenance_print_architecture): Use stdio_file.
	* mi/mi-cmd-stack.c (list_arg_or_local): Use string_file.
	* mi/mi-common.h (struct mi_interp) <out, err, log, targ,
	event_channel>: Change type to mi_console_file pointer.
	* mi/mi-console.c (mi_console_file_fputs, mi_console_file_flush)
	(mi_console_file_delete): Delete.
	(struct mi_console_file): Delete.
	(mi_console_file_magic): Delete.
	(mi_console_file_new): Delete.
	(mi_console_file::mi_console_file): New.
	(mi_console_file_delete): Delete.
	(mi_console_file_fputs): Delete.
	(mi_console_file::write): New.
	(mi_console_raw_packet): Delete.
	(mi_console_file::flush): New.
	(mi_console_file_flush): Delete.
	(mi_console_set_raw): Rename to ...
	(mi_console_file::set_raw): ... this.
	* mi/mi-console.h (class mi_console_file): New class.
	(mi_console_file_new, mi_console_set_raw): Delete.
	* mi/mi-interp.c (mi_interpreter_init): Use mi_console_file.
	(mi_set_logging): Use delete and tee_file.  Adjust.
	* mi/mi-main.c (output_register): Use string_file.
	(mi_cmd_data_evaluate_expression): Use string_file.
	(mi_cmd_data_read_memory): Use string_file.
	(mi_cmd_execute, print_variable_or_computed): Use string_file.
	* mi/mi-out.c (mi_ui_out::main_stream): New.
	(mi_ui_out::rewind): Use main_stream and
	string_file.
	(mi_ui_out::put): Use main_stream and string_file.
	(mi_ui_out::mi_ui_out): Remove 'stream' parameter.
	Allocate a 'string_file' instead.
	(mi_out_new): Don't allocate a mem_fileopen stream here.
	* mi/mi-out.h (mi_ui_out::mi_ui_out): Remove 'stream' parameter.
	(mi_ui_out::main_stream): Declare method.
	* printcmd.c (eval_command): Use string_file.
	* psymtab.c (maintenance_print_psymbols): Use stdio_file.
	* python/py-arch.c (archpy_disassemble): Use string_file.
	* python/py-breakpoint.c (bppy_get_commands): Use string_file.
	* python/py-frame.c (frapy_str): Use string_file.
	* python/py-framefilter.c (py_print_type, py_print_single_arg):
	Use string_file.
	* python/py-type.c (typy_str): Use string_file.
	* python/py-unwind.c (unwind_infopy_str): Use string_file.
	* python/py-value.c (valpy_str): Use string_file.
	* record-btrace.c (btrace_insn_history): Use string_file.
	* regcache.c (regcache_print): Use stdio_file.
	* reggroups.c (maintenance_print_reggroups): Use stdio_file.
	* remote.c (escape_buffer): Use string_file.
	* rust-lang.c (rust_get_disr_info): Use string_file.
	* serial.c (serial_open_ops_1): Use stdio_file.
	(do_serial_close): Use delete.
	* stack.c (print_frame_arg): Use string_file.
	(print_frame_args): Remove local mem_fileopen stream, not used.
	(print_frame): Use string_file.
	* symmisc.c (maintenance_print_symbols): Use stdio_file.
	* symtab.h (struct symbol_computed_ops) <generate_c_location>:
	Take a 'string_file *' instead of a 'ui_file *'.
	* top.c (new_ui): Use stdio_file and stderr_file.
	(free_ui): Use delete.
	(execute_command_to_string): Use string_file.
	(quit_confirm): Use string_file.
	* tracepoint.c (collection_list::append_exp): Use string_file.
	* tui/tui-disasm.c (tui_disassemble): Use string_file.
	* tui/tui-file.c: Don't include "ui-file.h".
	(enum streamtype, struct tui_stream): Delete.
	(tui_file_new, tui_file_delete, tui_fileopen, tui_sfileopen)
	(tui_file_isatty, tui_file_rewind, tui_file_put): Delete.
	(tui_file::tui_file): New method.
	(tui_file_fputs): Delete.
	(tui_file_get_strbuf): Delete.
	(tui_file::puts): New method.
	(tui_file_adjust_strbuf): Delete.
	(tui_file_flush): Delete.
	(tui_file::flush): New method.
	* tui/tui-file.h: Tweak intro comment.
	Include ui-file.h.
	(tui_fileopen, tui_sfileopen, tui_file_get_strbuf)
	(tui_file_adjust_strbuf): Delete declarations.
	(class tui_file): New class.
	* tui/tui-io.c (tui_initialize_io): Use tui_file.
	* tui/tui-regs.c (tui_restore_gdbout): Use delete.
	(tui_register_format): Use string_stream.
	* tui/tui-stack.c (tui_make_status_line): Use string_file.
	(tui_get_function_from_frame): Use string_file.
	* typeprint.c (type_to_string): Use string_file.
	* ui-file.c (struct ui_file, ui_file_magic, ui_file_new): Delete.
	(null_stream): New global.
	(ui_file_delete): Delete.
	(ui_file::ui_file): New.
	(null_file_isatty): Delete.
	(ui_file::~ui_file): New.
	(null_file_rewind): Delete.
	(ui_file::printf): New.
	(null_file_put): Delete.
	(null_file_flush): Delete.
	(ui_file::putstr): New.
	(null_file_write): Delete.
	(ui_file::putstrn): New.
	(null_file_read): Delete.
	(ui_file::putc): New.
	(null_file_fputs): Delete.
	(null_file_write_async_safe): Delete.
	(ui_file::vprintf): New.
	(null_file_delete): Delete.
	(null_file::write): New.
	(null_file_fseek): Delete.
	(null_file::puts): New.
	(ui_file_data): Delete.
	(null_file::write_async_safe): New.
	(gdb_flush, ui_file_isatty): Adjust.
	(ui_file_put, ui_file_rewind): Delete.
	(ui_file_write): Adjust.
	(ui_file_write_for_put): Delete.
	(ui_file_write_async_safe, ui_file_read): Adjust.
	(ui_file_fseek): Delete.
	(fputs_unfiltered): Adjust.
	(set_ui_file_flush, set_ui_file_isatty, set_ui_file_rewind)
	(set_ui_file_put, set_ui_file_write, set_ui_file_write_async_safe)
	(set_ui_file_read, set_ui_file_fputs, set_ui_file_fseek)
	(set_ui_file_data): Delete.
	(string_file::~string_file, string_file::write)
	(struct accumulated_ui_file, do_ui_file_xstrdup, ui_file_xstrdup)
	(do_ui_file_as_string, ui_file_as_string): Delete.
	(do_ui_file_obsavestring, ui_file_obsavestring): Delete.
	(struct mem_file): Delete.
	(mem_file_new): Delete.
	(stdio_file::stdio_file): New.
	(mem_file_delete): Delete.
	(stdio_file::stdio_file): New.
	(mem_fileopen): Delete.
	(stdio_file::~stdio_file): New.
	(mem_file_rewind): Delete.
	(stdio_file::set_stream): New.
	(mem_file_put): Delete.
	(stdio_file::open): New.
	(mem_file_write): Delete.
	(stdio_file_magic, struct stdio_file): Delete.
	(stdio_file_new, stdio_file_delete, stdio_file_flush): Delete.
	(stdio_file::flush): New.
	(stdio_file_read): Rename to ...
	(stdio_file::read): ... this.  Adjust.
	(stdio_file_write): Rename to ...
	(stdio_file::write): ... this.  Adjust.
	(stdio_file_write_async_safe): Rename to ...
	(stdio_file::write_async_safe) ... this.  Adjust.
	(stdio_file_fputs): Rename to ...
	(stdio_file::puts) ... this.  Adjust.
	(stdio_file_isatty): Delete.
	(stdio_file_fseek): Delete.
	(stdio_file::isatty): New.
	(stderr_file_write): Rename to ...
	(stderr_file::write) ... this.  Adjust.
	(stderr_file_fputs): Rename to ...
	(stderr_file::puts) ... this.  Adjust.
	(stderr_fileopen, stdio_fileopen, gdb_fopen): Delete.
	(stderr_file::stderr_file): New.
	(tee_file_magic): Delete.
	(struct tee_file): Delete.
	(tee_file::tee_file): New.
	(tee_file_new): Delete.
	(tee_file::~tee_file): New.
	(tee_file_delete): Delete.
	(tee_file_flush): Rename to ...
	(tee_file::flush): ... this.  Adjust.
	(tee_file_write): Rename to ...
	(tee_file::write): ... this.  Adjust.
	(tee_file::write_async_safe): New.
	(tee_file_fputs): Rename to ...
	(tee_file::puts): ... this.  Adjust.
	(tee_file_isatty): Rename to ...
	(tee_file::isatty): ... this.  Adjust.
	* ui-file.h (struct obstack, struct ui_file): Don't
	forward-declare.
	(ui_file_new, ui_file_flush_ftype, set_ui_file_flush)
	(ui_file_write_ftype)
	(set_ui_file_write, ui_file_fputs_ftype, set_ui_file_fputs)
	(ui_file_write_async_safe_ftype, set_ui_file_write_async_safe)
	(ui_file_read_ftype, set_ui_file_read, ui_file_isatty_ftype)
	(set_ui_file_isatty, ui_file_rewind_ftype, set_ui_file_rewind)
	(ui_file_put_method_ftype, ui_file_put_ftype, set_ui_file_put)
	(ui_file_delete_ftype, set_ui_file_data, ui_file_fseek_ftype)
	(set_ui_file_fseek): Delete.
	(ui_file_data, ui_file_delete, ui_file_rewind)
	(struct ui_file): New.
	(ui_file_up): New.
	(class null_file): New.
	(null_stream): Declare.
	(ui_file_write_for_put, ui_file_put): Delete.
	(ui_file_xstrdup, ui_file_as_string, ui_file_obsavestring):
	Delete.
	(ui_file_fseek, mem_fileopen, stdio_fileopen, stderr_fileopen)
	(gdb_fopen, tee_file_new): Delete.
	(struct string_file): New.
	(struct stdio_file): New.
	(stdio_file_up): New.
	(struct stderr_file): New.
	(class tee_file): New.
	* ui-out.c (ui_out::field_stream): Take a 'string_file &' instead
	of a 'ui_file *'.  Adjust.
	* ui-out.h (class ui_out) <field_stream>: Likewise.
	* utils.c (do_ui_file_delete, make_cleanup_ui_file_delete)
	(null_stream): Delete.
	(error_stream): Take a 'string_file &' instead of a 'ui_file *'.
	Adjust.
	* utils.h (struct ui_file): Delete forward declaration..
	(make_cleanup_ui_file_delete, null_stream): Delete declarations.
	(error_stream): Take a 'string_file &' instead of a
	'ui_file *'.
	* varobj.c (varobj_value_get_print_value): Use string_file.
	* xtensa-tdep.c (xtensa_verify_config): Use string_file.
	* gdbarch.c: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Reuse buffers across gdb_pretty_print_insn calls
@ 2017-02-02 13:22 sergiodj+buildbot
  2017-02-03  6:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 13:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8b172ce7c9435095d14e0bd98cd431bb9584e95e ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 8b172ce7c9435095d14e0bd98cd431bb9584e95e

Reuse buffers across gdb_pretty_print_insn calls

gdb_pretty_print_insn allocates and destroys a couple local buffers
each time it is called, which can be many times when disassembling a
region of memory.  Avoid that overhead by adding a new class that
holds the buffers and making gdb_pretty_print_insn a method of that
class, so that the buffers can be reused across calls.

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

	* disasm.c (gdb_pretty_print_insn): Rename to ...
	(gdb_pretty_print_disassembler::pretty_print_insn): ... this.
	Remove gdbarch parameter.  Adapt to clear the object's buffers
	instead of allocating new buffers, and to print using the object's
	gdb_disassembler instead of calling gdb_print_insn.
	(dump_insns): Use gdb_pretty_print_disassembler.
	* disasm.h (gdb_pretty_print_insn): Delete declaration.
	(gdb_pretty_print_disassembler): New class.
	* record-btrace.c (btrace_insn_history): Use
	gdb_pretty_print_disassembler.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Tweak pretty_print_disassembler's intro comment
@ 2017-02-02 13:57 sergiodj+buildbot
  2017-02-03 10:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 13:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c99cc448c805b6bd481603155078881a503cd64a ***

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

Tweak pretty_print_disassembler's intro comment

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

	* disasm.h (gdb_pretty_print_disassembler): Tweak intro comment.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix "-gdb-set logging redirect on" crash
@ 2017-02-02 14:53 sergiodj+buildbot
  2017-02-03 13:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 14:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5be5dbf0ce3d2eb20003fea3691eaa6bfa5710d2 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5be5dbf0ce3d2eb20003fea3691eaa6bfa5710d2

Fix "-gdb-set logging redirect on" crash

This commit fixes a "-gdb-set logging redirect on" crash by not
handling "logging redirect on" on the fly.

Previous discussion here:
 https://sourceware.org/ml/gdb-patches/2017-01/msg00467.html

Code for handling "logging redirect on" on the fly was added here:
 https://sourceware.org/ml/gdb-patches/2010-08/msg00202.html

Meanwhile, MI gained support for logging, but flipping redirect "on"
on the fly was not considered.  The result is that this sequence of
commands crashes GDB:

 -gdb-set logging on
 -gdb-set logging redirect on

 Program received signal SIGSEGV, Segmentation fault.
 0x00000000008dd7bc in gdb_flush (file=0x2a097f0) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/ui-file.c:95
 194       file->to_flush (file);
 (top-gdb) bt
 #0  0x00000000008dd7bc in gdb_flush(ui_file*) (file=0x2a097f0) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/ui-file.c:95
 #1  0x00000000007b5f34 in gdb_wait_for_event(int) (block=0) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/event-loop.c:752
 #2  0x00000000007b52b6 in gdb_do_one_event() () at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/event-loop.c:322
 #3  0x00000000007b5362 in start_event_loop() () at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/event-loop.c:371
 #4  0x000000000082704a in captured_command_loop(void*) (data=0x0) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/main.c:325
 #5  0x00000000007b8d7c in catch_errors(int (*)(void*), void*, char*, return_mask) (func=0x827008 <captured_command_loop(void*)>, func_args=0x0, errstring=0x11dee51 "", mask=RETURN_MASK_ALL) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/exceptions.c:236
 #6  0x000000000082839b in captured_main(void*) (data=0x7fffffffd820) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/main.c:1148
 During symbol reading, cannot get low and high bounds for subprogram DIE at 24065.
 #7  0x00000000008283c4 in gdb_main(captured_main_args*) (args=0x7fffffffd820) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/main.c:1158
 #8  0x0000000000412d4d in main(int, char**) (argc=4, argv=0x7fffffffd928) at /home/pedro/gdb/mygit/cxx-convertion/src/gdb/gdb.c:32

The handling of redirect on the fly is not really a use case we need
to handle, IMO.  Its inconsistent (other "set logging foo" commands
aren't handled on the fly), and complicates the code significantly.
Instead of complicating it further for MI, go back to the original
idea of warning, only:

  https://sourceware.org/ml/gdb-patches/2010-08/msg00083.html

New test included.

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

	* cli/cli-logging.c (maybe_warn_already_logging): New factored out
	from ...
	(set_logging_overwrite): ... here.
	(logging_no_redirect_file): Delete.
	(set_logging_redirect): Don't handle redirection on the fly.
	Instead warn that "logging off" / "logging on" is necessary.
	(pop_output_files): Delete references to logging_no_redirect_file.
	(show_logging_command): Always speak in terms of what will happen
	once logging is reenabled.

gdb/testsuite/ChangeLog:
2017-02-02  Pedro Alves  <palves@redhat.com>

	* gdb.mi/mi-logging.exp: Add "redirect while already logging"
	tests.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Move "tee" building down to interpreter::set_logging_proc
@ 2017-02-02 22:23 sergiodj+buildbot
  2017-02-03 16:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 22:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 616268b639780e0819b51053c794037bcde3de16 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 616268b639780e0819b51053c794037bcde3de16

Move "tee" building down to interpreter::set_logging_proc

This patch gets rid of this hack in mi_set_logging:

      /* The tee created already is based on gdb_stdout, which for MI
	 is a console and so we end up in an infinite loop of console
	 writing to ui_file writing to console etc.  So discard the
	 existing tee (it hasn't been used yet, and MI won't ever use
	 it), and create one based on raw_stdout instead.  */

By pushing down responsibility for the tee creation to the
interpreter.  I.e., pushing the CLI bits out of handle_redirections
down to the CLI interpreter's set_logging_proc method.

This fixes a few leaks that I spotted, and then confirmed with
"valgrind --leak-check=full":

[...]
  ==21429== 56 (32 direct, 24 indirect) bytes in 1 blocks are definitely lost in loss record 30,243 of 34,980
  ==21429==    at 0x4C29216: operator new(unsigned long) (vg_replace_malloc.c:334)
  ==21429==    by 0x62D9A9: mi_set_logging(interp*, int, ui_file*, ui_file*) (mi-interp.c:1395)
  ==21429==    by 0x810B8A: current_interp_set_logging(int, ui_file*, ui_file*) (interps.c:360)
  ==21429==    by 0x61C537: handle_redirections(int) (cli-logging.c:162)
  ==21429==    by 0x61C6EC: set_logging_on(char*, int) (cli-logging.c:190)
  ==21429==    by 0x6163BE: do_cfunc(cmd_list_element*, char*, int) (cli-decode.c:105)
  ==21429==    by 0x6193C1: cmd_func(cmd_list_element*, char*, int) (cli-decode.c:1913)
  ==21429==    by 0x8DB790: execute_command(char*, int) (top.c:674)
  ==21429==    by 0x632AE6: mi_execute_cli_command(char const*, int, char const*) (mi-main.c:2343)
  ==21429==    by 0x6329BA: mi_cmd_execute(mi_parse*) (mi-main.c:2306)
  ==21429==    by 0x631E19: captured_mi_execute_command(ui_out*, mi_parse*) (mi-main.c:1998)
  ==21429==    by 0x632389: mi_execute_command(char const*, int) (mi-main.c:2163)
  ==21429==
[...]
  ==26635== 24 bytes in 1 blocks are definitely lost in loss record 20,740 of 34,995
  ==26635==    at 0x4C29216: operator new(unsigned long) (vg_replace_malloc.c:334)
  ==26635==    by 0x61C355: handle_redirections(int) (cli-logging.c:131)
  ==26635==    by 0x61C6EC: set_logging_on(char*, int) (cli-logging.c:190)
  ==26635==    by 0x6163BE: do_cfunc(cmd_list_element*, char*, int) (cli-decode.c:105)
  ==26635==    by 0x6193C1: cmd_func(cmd_list_element*, char*, int) (cli-decode.c:1913)
  ==26635==    by 0x8DB7BC: execute_command(char*, int) (top.c:674)
  ==26635==    by 0x7B9132: command_handler(char*) (event-top.c:590)
  ==26635==    by 0x7B94F7: command_line_handler(char*) (event-top.c:780)
  ==26635==    by 0x7B8ABB: gdb_rl_callback_handler(char*) (event-top.c:213)
  ==26635==    by 0x933CE9: rl_callback_read_char (callback.c:220)
  ==26635==    by 0x7B89ED: gdb_rl_callback_read_char_wrapper_noexcept() (event-top.c:175)
  ==26635==    by 0x7B8A49: gdb_rl_callback_read_char_wrapper(void*) (event-top.c:192)

One is fixed by transfering ownership of the log file to the tee.  In
pseudo-patch, since the code was moved at the same time:

 -     out = new tee_file (curr_output, false, logfile.get (), false);
 +     out = new tee_file (curr_output, false, logfile.get (), true);

The other is this bit in mi_set_logging:

    else
      {
 +      delete mi->raw_stdout;

I tried to split the leak fixes to a smaller preparatory patch, but
that was difficult exactly because of the tee hack in
handle_redirections -> mi_set_logging.

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

	* cli/cli-interp.c (struct saved_output_files, saved_output):
	Moved from cli/cli-logging.c.
	(cli_set_logging): New function.
	(cli_interp_procs): Install cli_set_logging.
	* cli/cli-interp.h (make_logging_output, cli_set_logging):
	Declare.
	* cli/cli-logging.c (struct saved_output_files, saved_output):
	Moved to cli/cli-interp.c.
	(pop_output_files): Don't save outputs here.
	(make_logging_output): New function.
	(handle_redirections): Don't build tee nor save previous outputs
	here.
	* interps.c (current_interp_set_logging): Change prototype.
	Assume there's always a set_logging_proc method installed.
	* interps.h (interp_set_logging_ftype): Change prototype.
	(current_interp_set_logging): Change prototype and adjust comment.
	* mi/mi-interp.c (mi_set_logging): Change protototype.  Adjust to
	use make_logging_output.
	* tui/tui-interp.c (tui_interp_procs): Install cli_set_logging.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] BFD: Wrap overlong error handler call line in `elf_gc_sweep'
@ 2017-02-02 23:22 sergiodj+buildbot
  2017-02-03 19:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 23:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8f56d4fd28b887cc709524b1993c9da4c64b0696 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 8f56d4fd28b887cc709524b1993c9da4c64b0696

BFD: Wrap overlong error handler call line in `elf_gc_sweep'

	bfd/
	* elflink.c (elf_gc_sweep): Wrap overlong line.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS/BFD: Fix assertion in `mips_elf_sort_hash_table'
@ 2017-02-02 23:37 sergiodj+buildbot
  2017-02-03 23:39 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-02 23:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 17a80fa80adbe79df39ba1fc70e611dff92df197 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 17a80fa80adbe79df39ba1fc70e611dff92df197

MIPS/BFD: Fix assertion in `mips_elf_sort_hash_table'

Move the assertion on non-NULL `htab' in `mips_elf_sort_hash_table' to
the beginning, before the pointer is dereferenced (`mips_elf_hash_table
(info)' and `elf_hash_table (info)' both point to the same memory
location, differently typed).

	bfd/
	* elfxx-mips.c (mips_elf_sort_hash_table): Move assertion on
	non-NULL `htab' to the beginning.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS/BFD: Respect the ELF gABI dynamic symbol table sort requirement
@ 2017-02-03  0:13 sergiodj+buildbot
  2017-02-04 10:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  0:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e17b0c351f0b22fb42edf34e5a6e486d72e9ee05 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: e17b0c351f0b22fb42edf34e5a6e486d72e9ee05

MIPS/BFD: Respect the ELF gABI dynamic symbol table sort requirement

Ensure all local symbols precede external symbols in the dynamic symbol
table.

No local symbols are expected to make it to the dynamic symbol table
except for section symbols already taken care of, so this is really a
safeguard only against a potential BFD bug otherwise not so harmful,
which may become a grave one due to a symbol table sorting requirement
violation (see PR ld/20828 for an example).  This means however that no
test suite coverage is possible for this change as code introduced here
is not normally expected to trigger.

Logically split then the part of the dynamic symbol table which is not
global offset table mapped, into a local area at the beginning and an
external area following.  By the time `mips_elf_sort_hash_table' is
called we have the number of local dynamic symbol table entries (section
and non-section) already counted in `local_dynsymcount', so use it to
offset the external area from the beginning.

	bfd/
	* elfxx-mips.c (mips_elf_hash_sort_data): Add
	`max_local_dynindx'.
	(mips_elf_sort_hash_table): Handle it.
	(mips_elf_sort_hash_table_f) <GGA_NONE>: For forced local
	symbols bump up `max_local_dynindx' rather than
	`max_non_got_dynindx'.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix "maintenance selftest" printing stray instructions
@ 2017-02-03  0:38 sergiodj+buildbot
  2017-02-04 17:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  0:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b1ace6bdc2063f3dcf46172db98bb3474b6e1121 ***

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

Fix "maintenance selftest" printing stray instructions

The "maintenance selftest" command is printing odd bits of stray
instructions like:

~~~
brkwarning: A handler for the OS ABI "GNU/Linux" is not built into this configuration
of GDB.  Attempting to continue with the default HS settings.


brkmov  r0, #0mov       r0, #0mov       r0, #0mov       r0, #0mov       r0, #0mov       r0, #0mov       r0, #0mov       r0, #0mov       r0, #0mov       r0, #0mov       r0, #0mov   r0, #0mov       r0, #0mov       r0, #0mov       r0, #0breakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakbreakM3.L = 0xffff;/* ( -1) M3=0x0xffff(65535) */break 8break 8warning: A handler for the OS ABI "GNU/Linux" is not built into this configuration
of GDB.  Attempting to continue with the default cris:common_v10_v32 settings.
~~~

etc.  Those appear because here:

  class gdb_disassembler_test : public gdb_disassembler
  {
  public:

    const bool verbose = false;

    explicit gdb_disassembler_test (struct gdbarch *gdbarch,
				    const gdb_byte *insn,
				    size_t len)
      : gdb_disassembler (gdbarch,
			  (verbose ? gdb_stdout : &null_stream),
			  gdb_disassembler_test::read_memory),


specifically in this line:

			  (verbose ? gdb_stdout : &null_stream),

"verbose" has not been initialized yet, because the order of
initialization is base classes first, then members.  I.e. "verbose" is
only initialized after the base constructor is called.  Since the
gdb_disassembler_test object is created on the stack, "verbose" has
garbage at that point.  If the gargage is non-zero, then we end up
with the gdb_disassembler_test's stream incorrectly pointing to
gdb_stdout.

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

	* disasm-selftests.c (print_one_insn_test): Move the "verbose"
	field out of gdb_disassembler_test and make it static.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS/BFD: Streamline hash table references in `mips_elf_sort_hash_table'
@ 2017-02-03  1:31 sergiodj+buildbot
  2017-02-04  3:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  1:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0f8c4b60ef3953a2373992e468106ae833049fff ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 0f8c4b60ef3953a2373992e468106ae833049fff

MIPS/BFD: Streamline hash table references in `mips_elf_sort_hash_table'

Make all hash table references throughout `mips_elf_sort_hash_table' use
`htab', simplifying code and improving readability.

	bfd/
	* elfxx-mips.c (mips_elf_sort_hash_table): Use `htab' throughout
	to access the hash table.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS/BFD: Use `bfd_size_type' for dynamic symbol table indices
@ 2017-02-03  2:37 sergiodj+buildbot
  2017-02-04  7:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  2:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 55f8b9d243dbd879ffa585f7e0c7d8b6b819302d ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 55f8b9d243dbd879ffa585f7e0c7d8b6b819302d

MIPS/BFD: Use `bfd_size_type' for dynamic symbol table indices

Use the `bfd_size_type' data type for dynamic symbol table indices in
the MIPS backend, in line with generic code and removing the need to use
a cast.

	bfd/
	* elfxx-mips.c (mips_elf_hash_sort_data): Convert the
	`min_got_dynindx', `max_unref_got_dynindx' and
	`max_non_got_dynindx' members to the `bfd_size_type' data type.
	(mips_elf_sort_hash_table): Adjust accordingly.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Reindent rust-lang.c
@ 2017-02-03  4:54 sergiodj+buildbot
  2017-02-05  0:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  4:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b50f188dfa065c9edfe82c874e2f8c179eb6d697 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: b50f188dfa065c9edfe82c874e2f8c179eb6d697

Reindent rust-lang.c

I noticed a few spots in rust-lang.c had incorrect indentation.  This
patch fixes this.

2017-02-02  Tom Tromey  <tom@tromey.com>

	* rust-lang.c: Reindent.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use bool in Rust code
@ 2017-02-03  5:37 sergiodj+buildbot
  2017-02-05  4:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  5:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 65c40c956fcd9443a5390d6cc36f84bd1bf77df4 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 65c40c956fcd9443a5390d6cc36f84bd1bf77df4

Use bool in Rust code

This changes various functions in the Rust code to use a bool rather
than an int when a boolean is intended.

2017-02-02  Tom Tromey  <tom@tromey.com>

	* rust-exp.y (ends_raw_string, space_then_number)
	(rust_identifier_start_p): Return bool.
	* rust-lang.c (rust_tuple_type_p, rust_underscore_fields)
	(rust_tuple_struct_type_p, rust_tuple_variant_type_p)
	(rust_slice_type_p, rust_range_type_p, rust_u8_type_p)
	(rust_chartype_p): Return bool.
	(val_print_struct, rust_print_struct_def, rust_print_type):
	Update.
	* rust-lang.h (rust_tuple_type_p, rust_tuple_struct_type_p):
	Return bool.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use std::string in Rust code
@ 2017-02-03  6:34 sergiodj+buildbot
  2017-02-04 21:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  6:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 03c85b11b07452f2d7341b405a7fe70c74226505 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 03c85b11b07452f2d7341b405a7fe70c74226505

Use std::string in Rust code

This changes a couple of spots in the Rust support to use std::string.
In one spot this removes some manual memory management; in the other
spot this allows the removal of a call to xstrdup.

2017-02-02  Tom Tromey  <tom@tromey.com>

	* rust-lang.h (rust_crate_for_block): Update.
	* rust-lang.c (rust_crate_for_block): Return std::string.
	(rust_get_disr_info): Use std:;string, not
	gdb::unique_xmalloc_ptr.
	* rust-exp.y (crate_name): Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix compile time warning messages when compiling binutils with gcc 7.0.1.
@ 2017-02-03  9:19 sergiodj+buildbot
  2017-02-05  9:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-03  9:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1b7e3d2fb7036ce6f9d74e32dc052518f5cd45b6 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 1b7e3d2fb7036ce6f9d74e32dc052518f5cd45b6

Fix compile time warning messages when compiling binutils with gcc 7.0.1.

	PR 21096
bfd	* coffcode.h (coff_write_object_contents): Enlarge size of
	s_name_buf in order to avoid compile time warning about possible
	integer truncation.
	* elf32-nds32.c (nds32_elf_ex9_import_table): Mask off lower
	32-bits of insn value before printing into buffer.

opcodes	* aarch64-opc.c (print_register_list): Ensure that the register
	list index will fir into the tb buffer.
	(print_register_offset_address): Likewise.
	* tic6x-dis.c (print_insn_tic6x): Increase size of func_unit_buf.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] C++-fy struct interp/cli_interp/tui_interp/mi_interp
@ 2017-02-03 16:50 sergiodj+buildbot
  2017-02-05 13:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-03 16:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d6f9b0fbc7998909712cbc1b194f1cbd4ae8b6fa ***

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

C++-fy struct interp/cli_interp/tui_interp/mi_interp

- The interp->data field disappears, since we can put data in the
  interpreter directly now.  The "init" method remains in place, but
  it now returns void.

- A few places check if the interpreter method is NULL before calling
  it, and also check whether the method returns true/false.  For some
  of those methods, all current implementations always return true.
  In those cases, this commit makes the C++-fied method return void
  instead and cleans up the callers.

Tested on x86_64 Fedora 23.

gdb/ChangeLog:
2017-02-03  Pedro Alves  <palves@redhat.com>

	* cli/cli-interp.c (cli_interp_base::cli_interp_base)
	(cli_interp_base::~cli_interp_base): New.
	(cli_interp): New struct.
	(as_cli_interp): Cast the interp itself to cli_interp.
	(cli_interpreter_pre_command_loop): Rename to ...
	(cli_interp_base::pre_command_loop): ... this.  Remove 'self'
	parameter.
	(cli_interpreter_init): Rename to ...
	(cli_interp::init): ... this.  Remove 'self' parameter.  Use
	boolean.  Make extern.
	(cli_interpreter_resume): Rename to ...
	(cli_interp::resume): ... this.  Remove 'data' parameter.  Make
	extern.
	(cli_interpreter_suspend): Rename to ...
	(cli_interp::suspend): ... this.  Remove 'data' parameter.  Make
	extern.
	(cli_interpreter_exec): Rename to ...
	(cli_interp::exec): ... this.  Remove 'data' parameter.  Make
	extern.
	(cli_interpreter_supports_command_editing): Rename to ...
	(cli_interp_base::supports_command_editing): ... this.  Remove
	'interp' parameter.  Make extern.
	(cli_ui_out): Rename to ...
	(cli_interp::interp_ui_out): ... this.  Remove 'interp' parameter.
	Make extern.
	(cli_set_logging): Rename to ...
	(cli_interp_base::set_logging): ... this.  Remove 'interp'
	parameter.  Make extern.
	(cli_interp_procs): Delete.
	(cli_interp_factory): Adjust to use "new".
	* cli/cli-interp.h: Include "interps.h".
	(struct cli_interp_base): New struct.
	* interps.c (struct interp): Delete.  Fields moved to interps.h.
	(interp_new): Delete.
	(interp::interp, interp::~interp): New.
	(interp_set): Use bool, and return void.  Assume the interpreter
	has suspend, init and resume methods, and that the all return
	void.
	(set_top_level_interpreter): interp_set returns void.
	(interp_ui_out): Adapt.
	(current_interp_set_logging): Adapt.
	(interp_data): Delete.
	(interp_pre_command_loop, interp_supports_command_editing): Adapt.
	(interp_exec): Adapt.
	(top_level_interpreter_data): Delete.
	* interps.h (interp_init_ftype, interp_resume_ftype)
	(interp_suspend_ftype, interp_exec_ftype)
	(interp_pre_command_loop_ftype, interp_ui_out_ftype): Delete.
	(class interp): New.
	(interp_new): Delete.
	(interp_set): Now returns void.  Use bool.
	(interp_data, top_level_interpreter_data): Delete.
	* mi/mi-common.h: Include interps.h.
	(class mi_interp): Inherit from interp.  Define a ctor.  Declare
	init, resume, suspect, exec, interp_ui_out, set_logging and
	pre_command_loop methods.
	* mi/mi-interp.c (as_mi_interp): Cast the interp itself.
	(mi_interpreter_init): Rename to ...
	(mi_interp::init): ... this.  Remove the 'interp' parameter, use
	bool, return void and make extern.  Adjust.
	(mi_interpreter_resume): ... Rename to ...
	(mi_interp::resume): ... this.  Remove the 'data' parameter,
	return void and make extern.  Adjust.
	(mi_interpreter_suspend): ... Rename to ...
	(mi_interp::suspend): ... this.  Remove the 'data' parameter,
	return void and make extern.  Adjust.
	(mi_interpreter_exec): ... Rename to ...
	(mi_interp::exec): ... this.  Remove the 'data' parameter and make
	extern.  Adjust.
	(mi_interpreter_pre_command_loop): ... Rename to ...
	(mi_interp::pre_command_loop): ... this.  Remove the 'self'
	parameter and make extern.
	(mi_on_normal_stop_1): Adjust.
	(mi_ui_out): Rename to ...
	(mi_interp::interp_ui_out): ... this.  Remove the 'interp'
	parameter and make extern.  Adjust.
	(mi_set_logging): Rename to ...
	(mi_interp::set_logging): ... this.  Remove the 'interp'
	parameter and make extern.  Adjust.
	(mi_interp_procs): Delete.
	(mi_interp_factory): Adjust to use 'new'.
	* mi/mi-main.c (mi_cmd_gdb_exit, captured_mi_execute_command)
	(mi_print_exception, mi_execute_command, mi_load_progress):
	Adjust.
	* tui/tui-interp.c (tui_interp): New class.
	(as_tui_interp): Return a tui_interp pointer.
	(tui_on_normal_stop, tui_on_signal_received)
	(tui_on_end_stepping_range, tui_on_signal_exited, tui_on_exited)
	(tui_on_no_history, tui_on_user_selected_context_changed): Adjust
	to use interp::interp_ui_out.
	(tui_init): Rename to ...
	(tui_interp::init): ... this.  Remove the 'self' parameter, use
	bool, return void and make extern.  Adjust.
	(tui_resume): Rename to ...
	(tui_interp::resume): ... this.  Remove the 'data' parameter,
	return void and make extern.  Adjust.
	(tui_suspend): Rename to ...
	(tui_interp::suspend): ... this.  Remove the 'data' parameter,
	return void and make extern.  Adjust.
	(tui_ui_out): Rename to ...
	(tui_interp::interp_ui_out): ... this.  Remove the 'self'
	parameter, and make extern.  Adjust.
	(tui_exec): Rename to ...
	(tui_interp::exec): ... this.  Remove the 'data' parameter and
	make extern.
	(tui_interp_procs): Delete.
	(tui_interp_factory): Use "new".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix ptype of single-member Rust enums
@ 2017-02-04  6:28 sergiodj+buildbot
  2017-02-05 16:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-04  6:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f0fd41c1926984fd1a524ff551286cba694539a0 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: f0fd41c1926984fd1a524ff551286cba694539a0

Fix ptype of single-member Rust enums

While looking into PR rust/21097, I found that ptype of a
single-element enum in Rust did not always format the result properly.
In particular, it would leave out the members of a tuple struct.
Further testing showed that it also did the wrong thing for ordinary
struct members as well.

This patch fixes these problems.  I'm marking it as being associated
with the PR, since that is where the discovery was made; but this
doesn't actually fix that PR (which I think ultimately is due to a
Rust compiler bug).

Built and regtested on x86-64 Fedora 25, using the system Rust
compiler.  I'm checking this in.

2017-02-03  Tom Tromey  <tom@tromey.com>

	PR rust/21097:
	* rust-lang.c (rust_print_type) <TYPE_CODE_UNION>: Handle enums
	with a single member.

2017-02-03  Tom Tromey  <tom@tromey.com>

	PR rust/21097:
	* gdb.rust/simple.exp: Add new tests.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: provide and use sparc{32, 64} target description XML files.
@ 2017-02-06  8:01 sergiodj+buildbot
  2017-02-06 10:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-06  8:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3f7b46f2daa6c396564d786bda9c81e66d4b9278 ***

Author: Ivo Raisr <ivo.raisr@oracle.com>
Branch: master
Commit: 3f7b46f2daa6c396564d786bda9c81e66d4b9278

gdb: provide and use sparc{32,64} target description XML files.

gdb/ChangeLog:

2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>

	PR tdep/20936
	Provide and use sparc32 and sparc64 target description XML files.
	* features/sparc/sparc32-cp0.xml, features/sparc/sparc32-cpu.xml,
	features/sparc/sparc32-fpu.xml: New files for sparc 32-bit.
	* features/sparc/sparc64-cp0.xml, features/sparc/sparc64-cpu.xml,
	features/sparc/sparc64-fpu.xml: New files for sparc 64-bit.
	* features/sparc/sparc32-solaris.xml: New file.
	* features/sparc/sparc64-solaris.xml: New file.
	* features/sparc/sparc32-solaris.c: Generated.
	* features/sparc/sparc64-solaris.c: Generated.
	* sparc-tdep.h: Account for differences in target descriptions.
	* sparc-tdep.c (sparc32_register_name): Use target provided registers.
	(sparc32_register_type): Use target provided registers.
	(validate_tdesc_registers): New function.
	(sparc32_gdbarch_init): Use tdesc_has_registers.
	Set pseudoregister functions.
	* sparc64-tdep.c (sparc64_register_name): Use target provided registers.
	(sparc64_register_type): Use target provided registers.
	(sparc64_init_abi): Set pseudoregister functions.

gdb/doc/ChangeLog:

2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>

	PR tdep/20936
	* gdb.texinfo: (Standard Target Features): Document SPARC features.
	(Sparc Features): New node.

gdb/testsuite/ChangeLog:

2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>

	PR tdep/20936
	* gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [BZ 21005] Add support for Intel 64 rdrand and rdseed record/replay
@ 2017-02-06  9:31 sergiodj+buildbot
  2017-02-06 14:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-06  9:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 20b477a75c00de06a92b9577fd74416699d2c37f ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 20b477a75c00de06a92b9577fd74416699d2c37f

[BZ 21005] Add support for Intel 64 rdrand and rdseed record/replay

This patch addresses BZ 21005, which is gdb failing to recognize an rdrand
instruction.

It enables support for both rdrand and rdseed and handles extended register
addressing (R8~R15) for 16-bit, 32-bit and 64-bit.

gdb/ChangeLog
2017-02-06  Luis Machado  <lgustavo@codesourcery.com>

	* NEWS: Mention support for record/replay of Intel 64 rdrand and
	rdseed instructions.
	i386-tdep.c (i386_process_record): Handle Intel 64 rdrand and rseed.

gdb/testsuite/ChangeLog:
2017-02-06  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
	* gdb.reverse/insn-reverse-x86.c: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [ARC] Provide an interface to decode ARC instructions.
@ 2017-02-06 10:53 sergiodj+buildbot
  2017-02-06 18:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-06 10:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6ec7c1ae19e9e1bf2edad5125941a2fd5fdfde0b ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: 6ec7c1ae19e9e1bf2edad5125941a2fd5fdfde0b

[ARC] Provide an interface to decode ARC instructions.

gas/
2017-02-06  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/tc-arc.c (parse_opcode_flags): Ignore implicit flags.

include/
2017-02-06  Claudiu Zissulescu  <claziss@synopsys.com>
	    Anton Kolesov  <anton.kolesov@synopsys.com>

	* opcode/arc.h (insn_class_t): Add ENTER, LEAVE, POP, PUSH, BBIT0,
	BBIT1, BI, BIH, BRCC, EI, JLI, and SUB instruction classes.
	(flag_class_t): Add F_CLASS_WB, F_CLASS_ZZ, and F_CLASS_IMPLICIT
	flag classes.

opcode/
2017-02-06  Claudiu Zissulescu  <claziss@synopsys.com>
	    Anton Kolesov  <anton.kolesov@synopsys.com>

	* arc-dis.c (arc_disassemble_info): New structure.
	(init_arc_disasm_info): New function.
	(find_format_from_table): Ignore implicit flags.
	(find_format): Update dissassembler private data.
	(print_flags): Likewise.
	(print_insn_arc): Likewise.
	(arc_opcode_to_insn_type): Consider the new added instruction
	classes.
	(arcAnalyzeInstr): Remove.
	(arc_insn_decode): New function.
	* arc-dis.h (arc_ldst_writeback_mode): New enum.
	(arc_ldst_data_size): Likewise.
	(arc_condition_code): Likewise.
	(arc_operand_kind): Likewise.
	(arc_insn_kind): New struct.
	(arc_instruction): Likewise.
	(arc_insn_decode): Declare function.
	(ARC_Debugger_OperandType): Deleted.
	(Flow): Likewise.
	(NullifyMode): Likewise.
	(allOperandsSize): Likewise.
	(arcDisState): Likewise.
	(arcAnalyzeInstr): Likewise.
	* arc-dis.c (arc_opcode_to_insn_type): Handle newly introduced
	insn_class_t enums.
	* arc-opc.c (F_SIZED): New define.
	(C_CC_EQ, C_CC_GE, C_CC_GT, C_CC_HI, C_CC_HS): Likewise.
	(C_CC_LE, C_CC_LO, C_CC_LS, C_CC_LT, C_CC_NE): Likewise.
	(C_CC_NE, C_AA_AB, C_AA_AW, C_ZZ_D, C_ZZ_H, C_ZZ_B): Likewise.
	(arc_flag_classes): Add F_CLASS_COND/F_CLASS_IMPLICIT flags.
	* opcodes/arc-tbl.h: Update instructions to include new
	F_CLASS_IMPLICIT flags.
	(bbit0, lp): Change class.
	(bbit1, bi, bih, br*, ei_s, jli_s): Likewsie


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfd: Fix objdump --dynamic-reloc for SPARC 64-bit to show symbol names.
@ 2017-02-07 14:25 sergiodj+buildbot
  2017-02-07 16:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-07 14:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3d044c0c78c11968b4fe3c5c019523e3177b1710 ***

Author: Sheldon Lobo <sheldon.lobo@oracle.com>
Branch: master
Commit: 3d044c0c78c11968b4fe3c5c019523e3177b1710

bfd: Fix objdump --dynamic-reloc for SPARC 64-bit to show symbol names.

Fixes ld/testsuite/ld-elf/shared.exp "Build libpr16496b.so".

The root cause is in bfd/elf64-sparc.c, elf64_sparc_slurp_one_reloc_table(),
bfd_get_symcount() was used for dynamic mode as well. The fix is to use
bfd_get_dynamic_symcount().

This has been tested with sparc64-linux-gnu, and it does not introduce any
regressions.

bfd/ChangeLog:

2017-02-06  Sheldon Lobo  <sheldon.lobo@oracle.com>

	Fix sparc64 dynamic relocation processing to use the dynamic
        symbol count.
	* elf64-sparc.c (elf64_sparc_slurp_one_reloc_table): Use 'dynamic'
	to determine if bfd_get_symcount() or bfd_get_dynamic_symcount()
	should be used.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: fix ARI warning in sparc-tdep.c
@ 2017-02-07 21:40 sergiodj+buildbot
  2017-02-08  0:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-07 21:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1291063deab60b735429411b29eea9d7fd68d50e ***

Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Branch: master
Commit: 1291063deab60b735429411b29eea9d7fd68d50e

gdb: fix ARI warning in sparc-tdep.c

gdb/ChangeLog:

2017-02-07  Jose E. Marchesi  <jose.marchesi@oracle.com>

	* sparc-tdep.c (sparc32_gdbarch_init): Do not place a + operator
	at the end of the line.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix segfault when .plt section does not exist
@ 2017-02-08  2:16 sergiodj+buildbot
  2017-02-08  5:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-08  2:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc16242794b13a5f942badcfffb03be5d81f14f7 ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: cc16242794b13a5f942badcfffb03be5d81f14f7

Fix segfault when .plt section does not exist

bfd/ChangeLog

2017-02-07  Andrew Waterman  <andrew@sifive.com>

	* elfnn-riscv.c (riscv_elf_finish_dynamic_sections): Only write PLT
	entry size if PLT header is written.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Command names: make them case sensitive
@ 2017-02-08 18:32 sergiodj+buildbot
  2017-02-08 20:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-08 18:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3d7b173c29900879c9a5958dd6029fd36666e57c ***

Author: Jerome Guitton <guitton@adacore.com>
Branch: master
Commit: 3d7b173c29900879c9a5958dd6029fd36666e57c

Command names: make them case sensitive

Case-insensitive search for command names is an obscure undocumented
feature, which seems to be unused, is not tested and not quite
consistent. Remove it.

gdb/ChangeLog:

	* cli-decode.c (lookup_cmd_1, lookup_cmd_composition):
	Remove case-insensitive search.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Eliminate interp::quiet_p
@ 2017-02-08 20:52 sergiodj+buildbot
  2017-02-09  3:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-08 20:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a474bd8eeea16b2b6aa7089dedb142d86c22a4d7 ***

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

Eliminate interp::quiet_p

This commit removes interp::quiet_p / interp_quiet_p /
interp_set_quiet, because AFAICS, it doesn't really do anything.

interp_quiet is only ever checked inside interp_set nowadays:

  if (!first_time && !interp_quiet_p (interp))
    {
      xsnprintf (buffer, sizeof (buffer),
		 "Switching to interpreter \"%.24s\".\n", interp->name);
      current_uiout->text (buffer);
    }

I did a bit of archaelogy, and found that back in 4a8f6654 (2003), it
was also called in another place, to decide whether to print the CLI
prompt.

AFAICS, that condition is always false today, making that if/then
block always dead code.  If we remove that code, then there are no
interp_quiet_p uses left in the tree, so we can remove it all.

There are two paths that lead to interp_set calls:

#1 - When installing the top level interpreter.  In this case,
FIRST_TIME is true.

#2 - In interpreter_exec_cmd.  In this case, the interpreter is always
set quiet before interp_set is called.

Grepping a gdb.log of an x86_64 GNU/Linux run for "Switching to
interpreter" (before this patch) doesn't find any hits.

I suspect the intention of this message was to support something like
a "set interpreter ..." command that would change the interpreter
permanently.  But there's no such command.

Tested on x86_64 Fedora 23.

gdb/ChangeLog:
2017-02-08  Pedro Alves  <palves@redhat.com>

	* interps.c (interp::interp): Remove reference to quiet_p.
	(interp_set): Make static.  Remove dead "Switching to" output
	code.
	(interp_quiet_p, interp_set_quiet): Delete.
	(interpreter_exec_cmd): Don't set the interpreter quiet.
	* interps.h (interp_quiet_p): Make static.
	(class interp) <quiet_p>: Remove field


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix NULL pointer dereference
@ 2017-02-09 15:56 sergiodj+buildbot
  2017-02-09 18:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-09 15:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ff6fa24786eb2c03c1af95e2559fa3fd0b2f3893 ***

Author: Gary Benson <gbenson@redhat.com>
Branch: master
Commit: ff6fa24786eb2c03c1af95e2559fa3fd0b2f3893

Fix NULL pointer dereference

This commit fixes a segmentation fault on tab completion when
certain debuginfo is installed:

  https://bugzilla.redhat.com/show_bug.cgi?id=1398387

gdb/ChangeLog:

	* symtab.c (add_symtab_completions): Prevent NULL pointer
	dereference.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove return in function returning void
@ 2017-02-09 22:32 sergiodj+buildbot
  2017-02-10  0:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-09 22:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 62c14536e4df4c84d3ab72e5516c0189c32eb62f ***

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

Remove return in function returning void

gdb/ChangeLog:

	* interps.c (current_interp_set_logging): Remove "return".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] POWER9 add scv/rfscv instruction support
@ 2017-02-10  8:52 sergiodj+buildbot
  2017-02-10 10:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-10  8:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dce75bf9848c88583377c608e9734a2f8616d12b ***

Author: Nicholas Piggin <npiggin@gmail.com>
Branch: master
Commit: dce75bf9848c88583377c608e9734a2f8616d12b

POWER9 add scv/rfscv instruction support

opcodes/
	* ppc-opc.c (powerpc_opcodes) <scv, rfscv>: New mnemonics.

gas/
	* testsuite/gas/ppc/power9.d <scv, rfscv>: New tests.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb/MAINTAINERS: Update my e-mail address
@ 2017-02-10 18:09 sergiodj+buildbot
  2017-02-10 23:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-10 18:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f67f945cf2f6361d4c4997c487b174e396d23cd9 ***

Author: Martin Galvan <martingalvan@sourceware.org>
Branch: master
Commit: f67f945cf2f6361d4c4997c487b174e396d23cd9

gdb/MAINTAINERS: Update my e-mail address

gdb/ChangeLog:

2017-02-10  Martin Galvan  <martingalvan@sourceware.org>

        * MAINTAINERS (Write After Approval): Update my e-mail address.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove some ui_out-related cleanups from Python
@ 2017-02-10 20:08 sergiodj+buildbot
  2017-02-11  3:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-10 20:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d4b0bb186e204f77ed70bc719d16c6ca302094fd ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: d4b0bb186e204f77ed70bc719d16c6ca302094fd

Remove some ui_out-related cleanups from Python

This patch introduces a bit of infrastructure -- namely, a minimal
std::optional analogue called gdb::optional, and an RAII template
class that works like make_cleanup_ui_out_tuple_begin_end or
make_cleanup_ui_out_list_begin_end -- and then uses these in the
Python code.  This removes a number of cleanups and generally
simplifies this code.

std::optional is only available in C++17.  Normally I would have had
this code check __cplusplus, but my gcc apparently isn't new enough to
find <optional>, even with -std=c++1z; so, because I could not test
it, the patch does not do this.

gdb/ChangeLog
2017-02-10  Tom Tromey  <tom@tromey.com>

	* ui-out.h (ui_out_emit_type): New class.
	(ui_out_emit_tuple, ui_out_emit_list): New typedefs.
	* python/py-framefilter.c (py_print_single_arg): Use gdb::optional
	and ui_out_emit_tuple.
	(enumerate_locals): Likewise.
	(py_mi_print_variables, py_print_locals, py_print_args): Use
	ui_out_emit_list.
	(py_print_frame): Use gdb::optional, ui_out_emit_tuple,
	ui_out_emit_list.
	* common/gdb_optional.h: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Turn gdbpy_ref into a template
@ 2017-02-10 21:03 sergiodj+buildbot
  2017-02-11  7:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-10 21:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7780f18678aeb553778633aeb50f41694f55bf27 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 7780f18678aeb553778633aeb50f41694f55bf27

Turn gdbpy_ref into a template

This turns gdbpy_ref into a template class, so that it can be used to
wrap subclasses of PyObject.  The default argument remains PyObject;
and this necessitated renaming uses of "gdbpy_ref" to "gdbpy_ref<>".

gdb/ChangeLog
2017-02-10  Tom Tromey  <tom@tromey.com>

	* python/py-ref.h (gdbpy_ref_policy): Now a template.
	(gdbpy_ref): Now a template; allow subclasses of PyObject to be
	used.
	* python/py-arch.c, python/py-bpevent.c, python/py-breakpoint.c,
	python/py-cmd.c, python/py-continueevent.c, python/py-event.c,
	python/py-exitedevent.c, python/py-finishbreakpoint.c,
	python/py-framefilter.c, python/py-function.c,
	python/py-inferior.c, python/py-infevents.c,
	python/py-linetable.c, python/py-newobjfileevent.c,
	python/py-param.c, python/py-prettyprint.c, python/py-ref.h,
	python/py-signalevent.c, python/py-stopevent.c,
	python/py-symbol.c, python/py-threadevent.c, python/py-type.c,
	python/py-unwind.c, python/py-utils.c, python/py-value.c,
	python/py-varobj.c, python/py-xmethods.c, python/python.c,
	varobj.c: Change gdbpy_ref to gdbpy_ref<>.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Do not send queries on secondary UIs
@ 2017-02-10 23:51 sergiodj+buildbot
  2017-02-12 11:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-10 23:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 26a06916b684ceda25c2edb43141e1101bf337c6 ***

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

Do not send queries on secondary UIs

This is a follow-up to

  https://sourceware.org/ml/gdb-patches/2017-02/msg00261.html

This patch restricts queries to the main UI, which allows to avoid two
different problems.

The first one is that GDB is issuing queries on secondary MI channels
for which a TTY is allocated.  The second one is that GDB is not able to
handle queries on two (CLI) UIs simultaneously.  Restricting queries to
the main UI allows to bypass these two problems.

More details on how/why these two problems happen:

1. Queries on secondary MI UI

  The current criterion to decide if we should query the user is whether
  the input stream is a TTY.  The original way to start GDB in MI mode
  from a front-end was to create a subprocess with pipes to its
  stdin/stdout.  In this case, the input was considered non-interactive
  and queries were auto-answered.  Now that front-ends can create the MI
  channel as a separate UI connected to a dedicated TTY, GDB now
  considers this input stream as interactive and sends queries to it.
  By restricting queries to the main UI, we make sure we never query on
  the secondary MI UI.

2. Simultaneous queries

  As Pedro stated it, when you have two queries on two different CLI UIs
  at the same time, you end up with the following pseudo stack:

  #0 gdb_readline_wrapper
  #1 defaulted_query                 // for UI #2
  #2 handle_command
  #3 execute_command ("handle SIGTRAP" ....
  #4 stdin_event_handler             // input on UI #2
  #5 gdb_do_one_event
  #7 gdb_readline_wrapper
  #8 defaulted_query                 // for UI #1
  #9 handle_command
  #10 execute_command ("handle SIGINT" ....
  #11 stdin_event_handler            // input on UI #1
  #12 gdb_do_one_event
  #13 gdb_readline_wrapper

  trying to answer the query on UI #1 will therefore answer for UI #2.

  By restricting the queries to the main UI, we ensure that there will
  never be more than one pending query, since you can't have two queries
  on a UI at the same time.

I added a snippet to gdb.base/new-ui.exp to verify that we get a query
on the main UI, but that we don't on the secondary one (or, more
precisely, that it gets auto-answered).

gdb/ChangeLog:

	* utils.c (defaulted_query): Don't query on secondary UIs.

gdb/testsuite/ChangeLog:

	* gdb.base/new-ui.exp (do_test): Test queries behavior on main
	and extra UIs.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove some gotos from Python
@ 2017-02-11  0:55 sergiodj+buildbot
  2017-02-11 18:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-11  0:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2bb8f231957e2beecfb689a896252b8d9fb67e23 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 2bb8f231957e2beecfb689a896252b8d9fb67e23

Remove some gotos from Python

This patch slightly refactors a couple of spots in the Python code to
avoid some gotos.

gdb/ChangeLog
2017-02-10  Tom Tromey  <tom@tromey.com>

	* python/python.c (do_start_initialization): New function, from
	_initialize_python.
	(_initialize_python): Call do_start_initialization.
	* python/py-linetable.c (ltpy_iternext): Use explicit returns, not
	goto.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove unnecessary local variables
@ 2017-02-11  0:55 sergiodj+buildbot
  2017-02-11 21:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-11  0:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2d8365c48f797c7b947623eed8b1285d98323b68 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 2d8365c48f797c7b947623eed8b1285d98323b68

Remove unnecessary local variables

I found an unused local variables in a couple of places in the Python
code; this removes them.

gdb/ChangeLog
2017-02-10  Tom Tromey  <tom@tromey.com>

	* python/py-value.c (valpy_richcompare_throw): Remove unnecessary
	"cleanup" local.
	* python/py-type.c (typy_legacy_template_argument): Remove
	unnecessary "cleanup" local.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix Python test to use lowercase command
@ 2017-02-11  2:51 sergiodj+buildbot
  2017-02-12  1:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-11  2:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b964bee0f058b8e63c9206a8862b2fc1253f1bbd ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: b964bee0f058b8e63c9206a8862b2fc1253f1bbd

Fix Python test to use lowercase command

While testing this series I saw some errors from the Python test
suite.  There were a couple of tests using "P" as a command; this
changes them to "p".

gdb/testsuite/ChangeLog
2017-02-10  Tom Tromey  <tom@tromey.com>

	* gdb.python/py-xmethods.exp: Use "p" command, not "P".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] new-ui.exp: Use proc_with_prefix
@ 2017-02-11  5:51 sergiodj+buildbot
  2017-02-12  8:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-11  5:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b761ca9e3d6e9c0f1762e0994dfdf2b989e3fc21 ***

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

new-ui.exp: Use proc_with_prefix

gdb/testsuite/ChangeLog:

	* gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
	proc_with_prefix.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix use after free in cgen instruction lookup
@ 2017-02-11  7:43 sergiodj+buildbot
  2017-02-12 16:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-11  7:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 54064fdb792313355c92d9880680fad825d71ebd ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 54064fdb792313355c92d9880680fad825d71ebd

Fix use after free in cgen instruction lookup

	* cgen-opc.c (cgen_lookup_insn): Delete buf and base_insn temps.
	Use insn_bytes_value and insn_int_value directly instead.  Don't
	free allocated memory until function exit.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations
@ 2017-02-13  6:43 sergiodj+buildbot
  2017-02-13  9:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-13  6:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 13a590ca65f744c8fa55d6e0748cb12f443493f0 ***

Author: Mike Frysinger <vapier@gentoo.org>
Branch: master
Commit: 13a590ca65f744c8fa55d6e0748cb12f443493f0

sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Make gdb.arch/i386-biarch-core.exp more robust
@ 2017-02-13 13:29 sergiodj+buildbot
  2017-02-13 16:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-13 13:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 13a66184d0cb485907bfcad15aac0622fd86d25f ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 13a66184d0cb485907bfcad15aac0622fd86d25f

Make gdb.arch/i386-biarch-core.exp more robust

This test attempts to load a x86 core file no matter what target
architectures the tested GDB supports. If GDB doesn't know how to handle
a i386 target, it is very likely the core file will not be recognized.

In this case we should still attempt to load a core file to make sure GDB
doesn't crash or throws an internal error.  But we should not proceed to
try to read memory unconditionally.

This patch makes the test check for proper i386 arch support in GDB and bails
out if i386 is not supported and the core file format is not recognized.

This addresses the spurious aarch64-elf failures i'm seeing for this test.

gdb/testsuite/ChangeLog:

2017-02-13  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
	return if core file is not recognized.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix gdb.linespec/explicit.exp
@ 2017-02-13 14:23 sergiodj+buildbot
  2017-02-13 19:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-13 14:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf5f525c8908b03f4892433baa707310b0b9959d ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: bf5f525c8908b03f4892433baa707310b0b9959d

Fix gdb.linespec/explicit.exp

This patch addresses timeout failures i noticed while testing aarch64-elf.

FAIL: gdb.linespec/explicit.exp: complete unique function name (timeout)
FAIL: gdb.linespec/explicit.exp: complete non-unique function name (timeout)
FAIL: gdb.linespec/explicit.exp: complete non-existant function name (timeout)
FAIL: gdb.linespec/explicit.exp: complete unique file name (timeout)
FAIL: gdb.linespec/explicit.exp: complete non-unique file name (timeout)

The timeouts were caused by an attempt to match a bell character (x07) that
doesn't show up on my particular test setup.

The bell character is output whenever one tries to complete a pattern and there
are multiple possible matches. When there is only one possible match, GDB will
complete the input pattern without outputting the bell character.

The reason for the discrepancy in this test's behavior is due to the use of
"main" for a unique name test.

On glibc-based systems, GDB may notice the "main_arena" symbol, which is
a data global part of glibc's malloc implementation. Therefore a bell character
will be output because we have a couple possible completion matches.

GDB should not be outputting such a data symbol as a possible match, but this
problem may/will be addressed in a future change and is besides the point of
this particular change.

On systems that are not based on glibc, GDB will not see any other possible
matches for completing "main", so there will be no bell characters.

The use of main is a bit fragile though, so the patch adds a new local function
with a name that has a greater chance of being unique and adjusts the test to
iuse it.

I've also added the regular expression switch (-re) to all the
gdb_test_multiple calls that were missing it. Hopefully this will reduce the
chances of someone wasting time trying to match a regular expression (a much
more common use case) when, in reality, the pattern is supposed to be matched
literally.

gdb/testsuite/ChangeLog

2017-02-13  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.linespec/explicit.c (my_unique_function_name): New function.
	(main): Call my_unique_function_name.
	* gdb.linespec/explicit.exp: Use my_unique_function_name to test
	completion of patterns with a single match.
	Add missing -re switches to gdb_test_multiple calls.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Improve load command's help text
@ 2017-02-13 15:27 sergiodj+buildbot
  2017-02-13 23:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-13 15:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5cf30ebf64d3c6da961094c615a94d2f1682a478 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 5cf30ebf64d3c6da961094c615a94d2f1682a478

Improve load command's help text

This fairly obvious patch adds usage text to the load command's help text.

Originally it did not have usage and mentioned things like FILE and OFFSET
without explaining how those should be passed in the command.

gdb/ChangeLog:

2017-02-13  Luis Machado  <lgustavo@codesourcery.com>

	* symfile (_initialize_symfile): Add usage text to the load command's
	help text.

gdb/doc/ChangeLog:

2017-02-13  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.texinfo (Target Commands): Document the optional offset
	argument for the load command.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Don't use "_gp" on RISC-V, use "_global_pointer$" instead
@ 2017-02-13 18:27 sergiodj+buildbot
  2017-02-14  7:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-13 18:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 10ddfe62f8979cfe380b07c4f827e72681cc612a ***

Author: Palmer Dabbelt <palmer@dabbelt.com>
Branch: master
Commit: 10ddfe62f8979cfe380b07c4f827e72681cc612a

Don't use "_gp" on RISC-V, use "_global_pointer$" instead

"_gp" could conflict with ABI-complient code.  While it's probably OK
because MIPS uses this name, we figured it'd be good to clean this up
before a release with RISC-V in it.

ld/ChangeLog:

2017-02-13  Palmer Dabbelt  <palmer@dabbelt.com>

        * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
        _gp to __global_pointer$.

bfd/ChangeLog:

2017-02-13  Palmer Dabbelt  <palmer@dabbelt.com>

        * elfnn-riscv.c (riscv_global_pointer_value): Change _gp to
        __global_pointer$.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix invalid memory access in the BFD library's DWARF parser.
@ 2017-02-13 18:49 sergiodj+buildbot
  2017-02-14  4:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-13 18:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d11135f55294d75099ad03f81bacbe8ae93a6b28 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: d11135f55294d75099ad03f81bacbe8ae93a6b28

Fix invalid memory access in the BFD library's DWARF parser.

	PR binutils/21151
	* dwarf2.c (_bfd_dwarf2_find_nearest_line): Check for an invalid
	unit length field.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] btrace: preserve call stack on function switch
@ 2017-02-14  9:47 sergiodj+buildbot
  2017-02-14 12:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-14  9:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4c2c7ac69d7318d61a5c0e4f5ddcee1c1597f4e0 ***

Author: Markus Metzger <markus.t.metzger@intel.com>
Branch: master
Commit: 4c2c7ac69d7318d61a5c0e4f5ddcee1c1597f4e0

btrace: preserve call stack on function switch

On 64-bit FC25, the _dl_runtime_resolve function uses a conditional branch to
'call' a particular variant optimized for that system:

    (gdb) disas _dl_runtime_resolve_avx_opt
    Dump of assembler code for function _dl_runtime_resolve_avx_opt:
       0x00007ffff7deeb60 <+0>: push   %rax
       0x00007ffff7deeb61 <+1>: push   %rcx
       0x00007ffff7deeb62 <+2>: push   %rdx
       0x00007ffff7deeb63 <+3>: mov    $0x1,%ecx
       0x00007ffff7deeb68 <+8>: xgetbv
       0x00007ffff7deeb6b <+11>: mov    %eax,%r11d
       0x00007ffff7deeb6e <+14>: pop    %rdx
       0x00007ffff7deeb6f <+15>: pop    %rcx
       0x00007ffff7deeb70 <+16>: pop    %rax
       0x00007ffff7deeb71 <+17>: and    $0x4,%r11d
       0x00007ffff7deeb75 <+21>: bnd je 0x7ffff7def4a0 <_dl_runtime_resolve_sse_vex>
    End of assembler dump.

When computing the function-level trace, btrace treats this as a switch from
_dl_runtime_resolve_avx_opt to _dl_runtime_resolve_sse_vex.  We know that we
switched functions but we can't really say in which caller/callee relationship
those two functions are.

In addition to preserving the indentaion level, also preserve the caller
information.  This is a heuristic since we don't really know.  But at least in
this case, this seems to be the right thing to do.

This fixes a fail in gdb.btrace/rn-dl-bind.exp on 64-bit FC25.

gdb/
	* btrace.c (ftrace_new_switch): Preserve up link and flags.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] btrace: Count gaps as one instruction explicitly.
@ 2017-02-14 10:42 sergiodj+buildbot
  2017-02-14 15:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 10:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 69090ceead6fa841669eea0c81b3e8e9695def5f ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: 69090ceead6fa841669eea0c81b3e8e9695def5f

btrace: Count gaps as one instruction explicitly.

This gives all instructions, including gaps, a unique number.  Add a function
to retrieve the error code if a btrace instruction iterator points to an
invalid instruction.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog:

	* btrace.c (ftrace_call_num_insn, btrace_insn_get_error): New function.
	(ftrace_new_function, btrace_insn_number, btrace_insn_cmp,
	btrace_find_insn_by_number): Remove special case for gaps.
	* btrace.h (btrace_insn_get_error): New export.
	(btrace_insn_number, btrace_find_insn_by_number): Adjust comment.
	* record-btrace.c (btrace_insn_history): Print number for gaps.
	(record_btrace_info, record_btrace_goto): Handle gaps.

Change-Id: I8eb0e48a95f4278522fea74ea13526bfe6898ecc


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] btrace: Export btrace_decode_error function.
@ 2017-02-14 10:44 sergiodj+buildbot
  2017-02-14 19:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 10:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 508352a9bf3f84f2d731397bb0d9382c84f27f25 ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: 508352a9bf3f84f2d731397bb0d9382c84f27f25

btrace: Export btrace_decode_error function.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog:

	* record-btrace.c (btrace_ui_out_decode_error): Move most of it ...
	* btrace.c (btrace_decode_error): ... here.  New function.
	* btrace.h (btrace_decode_error): New export.

Change-Id: I2b4b43a55dbfd9f526a540d2ad52a6708f31feba


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] btrace: Use binary search to find instruction.
@ 2017-02-14 12:24 sergiodj+buildbot
  2017-02-14 23:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 12:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fdd2bd920bd67e6a1e877baf52b9c138c00da13f ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: fdd2bd920bd67e6a1e877baf52b9c138c00da13f

btrace: Use binary search to find instruction.

Currently, btrace_find_insn_by_number will iterate over all function call
segments to find the one that contains the needed instruction.  This linear
search is too slow for the upcoming Python bindings that will use this
function to access instructions.  This patch introduces a vector in struct
btrace_thread_info that holds pointers to all recorded function segments and
allows to use binary search.

The proper solution is to turn the underlying tree into a vector of objects
and use indices for access.  This requires more work.  A patch set is
currently being worked on and will be published later.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog:
	* btrace.c (btrace_fetch): Copy function call segments pointer
	into a vector.
	(btrace_clear): Clear the vector.
	(btrace_find_insn_by_number): Use binary search to find the correct
	function call segment.
	* btrace.h (brace_fun_p): New typedef.
	(struct btrace_thread_info) <functions>: New field.

Change-Id: I8a7f67e80bfe4ff62c4192f74a2153a70bf2a035


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add record_start and record_stop functions.
@ 2017-02-14 13:41 sergiodj+buildbot
  2017-02-15  4:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 13:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 45b196c59065cd2c5b750b78a0329d42f6e924b1 ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: 45b196c59065cd2c5b750b78a0329d42f6e924b1

Add record_start and record_stop functions.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog

	* record.h (record_start, record_stop): New export.
	* record.c (record_start, record_stop): New function.

Change-Id: If235d4bde8ec61dab6dbd23e087430e66d2e91a7


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add method to query current recording method to target_ops.
@ 2017-02-14 14:37 sergiodj+buildbot
  2017-02-15  9:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 14:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b158a20f26f1d226088122e8c4fa5a23bb893a48 ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: b158a20f26f1d226088122e8c4fa5a23bb893a48

Add method to query current recording method to target_ops.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog

	* record-btrace.c (record_btrace_record_method): New function.
	(init_record_btrace_ops): Initialize to_record_method.
	* record-full.c (record_full_record_method): New function.
	(init_record_full_ops, init_record_full_core_ops): Add
	record_full_record_method.
	* record.h (enum record_method): New enum.
	* target-debug.h (target_debug_print_enum_record_method: New define.
	* target-delegates.c: Regenerate.
	* target.c (target_record_method): New function.
	* target.h: Include record.h.
	(struct target_ops) <to_record_method>: New field.
	(target_record_method): New export.

Change-Id: I05daa70e4e08a19901e848c731bb7d60cd87cc5a


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] python: Create Python bindings for record history.
@ 2017-02-14 15:41 sergiodj+buildbot
  2017-02-15 13:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 15:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4726b2d82c89fe6f8e769d1ae9f9e5e528f91156 ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: 4726b2d82c89fe6f8e769d1ae9f9e5e528f91156

python: Create Python bindings for record history.

This patch adds three new functions to the gdb module in Python:
	- start_recording
	- stop_recording
	- current_recording
start_recording and current_recording return an object of the new type
gdb.Record, which can be used to access the recorded data.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog

	* Makefile.in (SUBDIR_PYTHON_OBS): Add python/py-record.o.
	(SUBDIR_PYTHON_SRCS): Add python/py-record.c.
	* python/py-record.c: New file.
	* python/python-internal.h (gdbpy_start_recording,
	gdbpy_current_recording, gdpy_stop_recording,
	gdbpy_initialize_record): New export.
	* python/python.c (_initialize_python): Add gdbpy_initialize_record.
	(python_GdbMethods): Add gdbpy_start_recording,
	gdbpy_current_recording and gdbpy_stop_recording.

Change-Id: I772aa9aa068621443f10a330b11dc7dc9a63face


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] python: Implement btrace Python bindings for record history.
@ 2017-02-14 17:02 sergiodj+buildbot
  2017-02-15 17:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 17:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 75c0bdf484b7a949a53b04edd95edca5f4662184 ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: 75c0bdf484b7a949a53b04edd95edca5f4662184

python: Implement btrace Python bindings for record history.

This patch implements the gdb.Record Python object methods and fields for
record target btrace.  Also, implement a stub for record target full.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog:

	* Makefile.in (SUBDIR_PYTHON_OBS): Add py-record-btrace.o,
	py-record-full.o.
	(SUBDIR_PYTHON_SRCS): Add py-record-btrace.c, py-record-full.c.
	* python/py-record-btrace.c, python/py-record-btrace.h,
	python/py-record-full.c, python/py-record-full.h: New file.
	* python/py-record.c: Add include for py-record-btrace.h and
	py-record-full.h.
	(recpy_method, recpy_format, recpy_goto, recpy_replay_position,
	recpy_instruction_history, recpy_function_call_history, recpy_begin,
	recpy_end): Use functions from py-record-btrace.c and py-record-full.c.
	* python/python-internal.h (PyInt_FromSsize_t, PyInt_AsSsize_t):
	New definition.
	(gdbpy_initialize_btrace): New export.
	* python/python.c (_initialize_python): Add gdbpy_initialize_btrace.

Change-Id: I8bd893672ffc7e619cc1386767897249e125973a


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] python: Add tests for record Python bindings
@ 2017-02-14 17:55 sergiodj+buildbot
  2017-02-15 20:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 17:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 714aa61c16ec17d75931ae2566acef61981b93ca ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: 714aa61c16ec17d75931ae2566acef61981b93ca

python: Add tests for record Python bindings

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/testsuite/ChangeLog:

        * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
	gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.

Change-Id: Icd919b4e1d5642f5cbc097a6aede1416eba402e5


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add documentation for new record Python bindings.
@ 2017-02-14 19:15 sergiodj+buildbot
  2017-02-16 17:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 19:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a0faf9fc652903d6467fc2bc8609891be730bdb ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: 0a0faf9fc652903d6467fc2bc8609891be730bdb

Add documentation for new record Python bindings.

Signed-off-by: Tim Wiederhake <tim.wiederhake@intel.com>

gdb/ChangeLog:

	* NEWS: Add record Python bindings entry.

gdb/doc/ChangeLog:

	* python.texi (Recordings In Python): New section.

Change-Id: Ibacb5930085bff36b0003fde30db9a8178cb280b


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Big-endian targets: Fix implptrpiece.exp
@ 2017-02-14 23:03 sergiodj+buildbot
  2017-02-17  3:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-14 23:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 075beec08ae857d918890c30d290863abb3f7f57 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 075beec08ae857d918890c30d290863abb3f7f57

Big-endian targets: Fix implptrpiece.exp

The test case implptrpiece.exp accesses the second byte of the short
integer number 1 and expects it to be zero.  This is valid for
little-endian targets, but fails on big-endian targets.

This is fixed by distinguishing the expected value by endianness.

gdb/testsuite/ChangeLog:

	* gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add ldn/stn single support, fix ldnr support.
@ 2017-02-15  1:30 sergiodj+buildbot
  2017-02-17 10:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-15  1:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e8f42b5e36b2083e36855007442aff110291b6aa ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: e8f42b5e36b2083e36855007442aff110291b6aa

Add ldn/stn single support, fix ldnr support.

	sim/aarch64/
	* simulator.c: (LDn_STn_SINGLE_LANE_AND_SIZE): New.
	(do_vec_LDn_single, do_vec_STn_single): New.
	(do_vec_LDnR): Add and set new nregs var.  Replace switch on nregs with
	loop over nregs using new var n.  Add n times size to address in loop.
	Add n to vd in loop.
	(do_vec_load_store): Add comment for instruction bit 24.  New var
	single to hold instruction bit 24.  Add new code to use single.  Move
	ldnr support inside single if statements.  Fix ldnr register counts
	inside post if statement.  Change HALT_NYI calls to HALT_UNALLOC.

	sim/testsuite/sim/aarch64/
	* ldn_single.s: New.
	* ldnr.s: New.
	* stn_single.s: New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add self to aarch64 maintainers. Fix mla instruction.
@ 2017-02-15  3:18 sergiodj+buildbot
  2017-02-17 16:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-15  3:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 742e3a7781c7f29136ccc36673ef2c887ba2860d ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 742e3a7781c7f29136ccc36673ef2c887ba2860d

Add self to aarch64 maintainers.  Fix mla instruction.

	sim/
	* MAINTAINTERS (aarch64): Add myself.

	sim/aarch64/
	* simulator.c (do_vec_MLA): Rewrite switch body.

	sim/testsuite/sim/aarch64/
	* mla.s: New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Distinguish some of the registers different on ARC700 and HS38 cpus
@ 2017-02-15  9:17 sergiodj+buildbot
  2017-02-17 21:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-15  9:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 66a5a74065ac79b90618b02f4c550904b50a59f5 ***

Author: Vineet Gupta <vgupta@synopsys.com>
Branch: master
Commit: 66a5a74065ac79b90618b02f4c550904b50a59f5

Distinguish some of the registers different on ARC700 and HS38 cpus

opcodes	* arc-regs.h: Distinguish some of the registers different on
	ARC700 and HS38 cpus.

gas	* testsuite/gas/arc/st.d: Update for 0xe having a name now


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [ARC] Fix assembler relaxation.
@ 2017-02-15 11:36 sergiodj+buildbot
  2017-02-18  1:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-15 11:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cc07cda69e26ef28895086e1f214ddd1d3cb939d ***

Author: Claudiu Zissulescu <claziss@synopsys.com>
Branch: master
Commit: cc07cda69e26ef28895086e1f214ddd1d3cb939d

[ARC] Fix assembler relaxation.

Fix assembler relaxation step for add, ld, mov, mpy and sub
instructions. Add tests to it.

gas/
2017-02-15  Claudiu Zissulescu  <claziss@synopsys.com>

	* config/tc-arc.c (md_convert_frag): Remove @pcl relocation
	information from input expression.
	(assemble_insn): Make sure pcrel is correctly set.
	(arc_pcrel_adjust): Compensate for PCL rounding.
	* testsuite/gas/arc/relax-add01.d: New file.
	* testsuite/gas/arc/relax-add01.s: Likewise.
	* testsuite/gas/arc/relax-add02.d: Likewise.
	* testsuite/gas/arc/relax-add02.s: Likewise.
	* testsuite/gas/arc/relax-add03.d: Likewise.
	* testsuite/gas/arc/relax-add03.s: Likewise.
	* testsuite/gas/arc/relax-add04.d: Likewise.
	* testsuite/gas/arc/relax-add04.s: Likewise.
	* testsuite/gas/arc/relax-ld01.d: Likewise.
	* testsuite/gas/arc/relax-ld01.s: Likewise.
	* testsuite/gas/arc/relax-ld02.d: Likewise.
	* testsuite/gas/arc/relax-ld02.s: Likewise.
	* testsuite/gas/arc/relax-mov01.d: Likewise.
	* testsuite/gas/arc/relax-mov01.s: Likewise.
	* testsuite/gas/arc/relax-mov02.d: Likewise.
	* testsuite/gas/arc/relax-mov02.s: Likewise.
	* testsuite/gas/arc/relax-mpy01.d: Likewise.
	* testsuite/gas/arc/relax-mpy01.s: Likewise.
	* testsuite/gas/arc/relax-sub01.d: Likewise.
	* testsuite/gas/arc/relax-sub01.s: Likewise.
	* testsuite/gas/arc/relax-sub02.d: Likewise.
	* testsuite/gas/arc/relax-sub02.s: Likewise.
	* testsuite/gas/arc/relax-sub03.d: Likewise.
	* testsuite/gas/arc/relax-sub03.s: Likewise.
	* testsuite/gas/arc/relax-sub04.d: Likewise.
	* testsuite/gas/arc/relax-sub04.s: Likewise.

opcodes/
2017-02-15  Claudiu Zissulescu  <claziss@synopsys.com>

	* arc-opc.c (UIMM6_20R): Define.
	(SIMM12_20): Use above.
	(SIMM12_20R): Define.
	(SIMM3_5_S): Use above.
	(UIMM7_A32_11R_S): Define.
	(UIMM7_9_S): Use above.
	(UIMM3_13R_S): Define.
	(SIMM11_A32_7_S): Use above.
	(SIMM9_8R): Define.
	(UIMM10_A32_8_S): Use above.
	(UIMM8_8R_S): Define.
	(W6): Use above.
	(arc_relax_opcodes): Use all above defines.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix illegal upper case gdb cmd in chained-calls.exp
@ 2017-02-15 12:11 sergiodj+buildbot
  2017-02-18  4:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-15 12:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b58a8c0c83d58c8f4be67dc1d7a1d9a5e1edba82 ***

Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Branch: master
Commit: b58a8c0c83d58c8f4be67dc1d7a1d9a5e1edba82

Fix illegal upper case gdb cmd in chained-calls.exp

3d7b173c29900879c9a5958dd6029fd36666e57c made upper case commands now
illegal. However gdb.cp/chained-calls.exp still contains one test using
P to print an expression. This patch fixes the testcase to use p
instead.

2017-02-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>

	gdb/
	* gdb.cp/chained-calls.exp: Use p instead of P.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PowerPC/BFD: Convert `%P: %H:' to `%H:' in error messages
@ 2017-02-15 14:09 sergiodj+buildbot
  2017-02-18  8:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-15 14:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 174d0a74a2e631d7303fe00b517bcee75003a4a6 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 174d0a74a2e631d7303fe00b517bcee75003a4a6

PowerPC/BFD: Convert `%P: %H:' to `%H:' in error messages

Remove an inconsistency in BFD linker error messages across the PowerPC
backends, where in the presence of line information the `%P: %H:' format
sequence makes the first error message produced for any given function
different from subsequent ones.

Taking the `ld/testsuite/ld-powerpc/tocopt7.s' test case source as an
example and the `powerpc-linux' target we have:

$ as -gdwarf2 -o tocopt.o -a64 tocopt.s
$ ld -o tocopt -melf64ppc tocopt.o
ld: tocopt.o: In function `_start':
tocopt.s:35:(.text+0x14): toc optimization is not supported for 0x3fa00000 instruction.
ld: tocopt.s:49:(.text+0x34): toc optimization is not supported for 0x3fa00000 instruction.
$

where the first error message does not have the source file name
prefixed with the linker program executable's name, i.e. `ld:', whereas
the second error message does, as would any subsequent.

This is because with a multiple-line error message such as `%H' produces
`%P' only prints the program executable's name on the first line and not
any later ones.  Also the PowerPC backend is the only part of BFD which
uses `%P' along with one of the clever `%C', `%D', `%G', `%H' format
specifiers.  And last but not least this breaks a GNU Coding Standard's
requirement that error messages from compilers should look like this:

source-file-name:lineno: message

also quoted in `vfinfo' code handling these specifiers.

Convert `%P: %H:' to `%H:' in error messages across the PowerPC backends
then, yielding:

$ as -gdwarf2 -o tocopt.o -a64 tocopt.s
$ ld -o tocopt -melf64ppc tocopt.o
tocopt.o: In function `_start':
tocopt.s:35:(.text+0x14): toc optimization is not supported for 0x3fa00000 instruction.
tocopt.s:49:(.text+0x34): toc optimization is not supported for 0x3fa00000 instruction.
$

instead, making it consistent and matching the GNU Coding Standard's
requirement.

	bfd/
	* elf32-ppc.c (ppc_elf_check_relocs): Use `%H:' rather than
	`%P: %H:' with `info->callbacks->einfo'.
	(ppc_elf_relocate_section): Likewise.
	* elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
	(ppc64_elf_edit_toc): Likewise.
	(ppc64_elf_relocate_section): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Add SVE system registers
@ 2017-02-15 17:26 sergiodj+buildbot
  2017-02-18 11:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-15 17:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 773fb663445646ebe45298e255d263f9520b2e2e ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 773fb663445646ebe45298e255d263f9520b2e2e

[AArch64] Add SVE system registers

This patch adds the SVE-specific system registers.

opcodes/
	* aarch64-opc.c (aarch64_sys_regs): Add SVE registers.
	(aarch64_sys_reg_supported_p): Handle them.

gas/
	* testsuite/gas/aarch64/sve-sysreg.s,
	testsuite/gas/aarch64/sve-sysreg.d,
	testsuite/gas/aarch64/sve-sysreg-invalid.d,
	testsuite/gas/aarch64/sve-sysreg-invalid.l: New tests.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add SFENCE.VMA instruction
@ 2017-02-15 18:56 sergiodj+buildbot
  2017-02-18 14:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-15 18:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f98d33be3af3a8d788aaef37e8fef167b59c81b2 ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: f98d33be3af3a8d788aaef37e8fef167b59c81b2

Add SFENCE.VMA instruction

include/ChangeLog:

2017-02-14  Andrew Waterman  <andrew@sifive.com>

        * opcode/riscv-opc.h (MATCH_SFENCE_VMA): New define.
        (MASK_SFENCE_VMA): Likewise.
        (sfence_vma): Declare instruction.

opcodes/ChangeLog:

2017-02-14  Andrew Waterman  <andrew@sifive.com>

        * riscv-opc.c (riscv_opcodes): Add sfence.vma instruction and
        pseudoinstructions.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add a test for R_386_GOT32/R_386_GOT32X IFUNC reloc error
@ 2017-02-15 20:09 sergiodj+buildbot
  2017-02-18 18:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-15 20:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a5def14f1ca70e14d9433cb229c9369fa3051598 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: a5def14f1ca70e14d9433cb229c9369fa3051598

Add a test for R_386_GOT32/R_386_GOT32X IFUNC reloc error

bfd/

	PR ld/20244
	* elf32-i386.c (elf_i386_relocate_section): Properly get IFUNC
	symbol name when reporting R_386_GOT32/R_386_GOT32X relocation
	error against local IFUNC symbol without a base register for
	PIC.

ld/

	PR ld/20244
	* testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
	pr20244-4c.
	* testsuite/ld-i386/pr20244-4.s: New file.
	* testsuite/ld-i386/pr20244-4a.d: Likewise.
	* testsuite/ld-i386/pr20244-4b.d: Likewise.
	* testsuite/ld-i386/pr20244-4c.d: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] i386: Allow "lea foo@GOT, %reg" in PIC
@ 2017-02-15 21:34 sergiodj+buildbot
  2017-02-18 21:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-15 21:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2a5684011edabf5804abb9e11253a9747587b284 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 2a5684011edabf5804abb9e11253a9747587b284

i386: Allow "lea foo@GOT, %reg" in PIC

"lea foo@GOT, %reg" is OK in PIC since it only loads the GOT offset
into register, which can be used later with a GOT base register to
get the value in the GOT entry.

bfd/

	PR ld/21168
	* elf32-i386.c (elf_i386_relocate_section): Allow
	"lea foo@GOT, %reg" in PIC.

ld/

	PR ld/21168
	* testsuite/ld-i386/i386.exp: Run pr21168.
	* testsuite/ld-i386/pr21168a.c: New file.
	* testsuite/ld-i386/pr21168b.S: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR gdb/21164: maint print {symbols, msymbols, psymbols} without args crash
@ 2017-02-16  1:11 sergiodj+buildbot
  2017-02-19  1:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-16  1:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 99e8a4f9f8832da0f37c6f35b11629b01897800d ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: 99e8a4f9f8832da0f37c6f35b11629b01897800d

PR gdb/21164: maint print {symbols,msymbols,psymbols} without args crash

This is a fix for PR gdb/21164.  The problem started to happen after:

 commit 34c41c681f4a0a0dfe0405c7d2aecf458520557a
 Author:     Doug Evans <xdje42@gmail.com>
 AuthorDate: Mon Dec 19 08:33:46 2016 -0800

    New syntax for mt print symbols,msymbols,psymbols.

This change introduced new syntax for the mentioned commands, and
improved the parsing of arguments by using 'gdb_buildargv'.  However,
it is necessary to check if the argv being built is not NULL, which
can happen if the user doesn't provide any arguments to these
commands.

gdb/ChangeLog:
2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>

	PR gdb/21164
	* psymtab.c (maintenance_print_psymbols): Verify if 'argv' is not
	NULL before using it.
	* symmisc.c (maintenance_print_symbols): Likewise.
	(maintenance_print_msymbols): Likewise.

gdb/testsuite/ChangeLog:

gdb/ChangeLog:
2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>

	PR gdb/21164
	* gdb.base/maint.exp: Add testcases for when the commands do
	not have arguments.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [Patch] Add BFD_LINKER_CREATED to BFD_FLAGS_SAVED
@ 2017-02-16 10:47 sergiodj+buildbot
  2017-02-19  4:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-16 10:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 905712060597d0c7a13ffccbca40330c7ad3e3a8 ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 905712060597d0c7a13ffccbca40330c7ad3e3a8

[Patch] Add BFD_LINKER_CREATED to BFD_FLAGS_SAVED

bfd/
	* bfd.c (BFD_FLAGS_SAVED): Add BFD_LINKER_CREATED.
	* bfd-in2.h: Regenerated.

Bug exposed by https://sourceware.org/ml/binutils/2017-02/msg00128.html


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR21132, hppa-linux pie support doesn't work
@ 2017-02-16 13:04 sergiodj+buildbot
  2017-02-19  7:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-16 13:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 247d6c4c14769b7576d810a381a68e35388ee874 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 247d6c4c14769b7576d810a381a68e35388ee874

PR21132, hppa-linux pie support doesn't work

This fixes a long-standing hppa bug seen when generating PIEs, and I
think possible to trigger with forced local symbols in shared
libraries.  Not allocating enough space for PLT relocs results in ld
writing outside of the buffer.

	PR 21132
	* elf32-hppa.c (allocate_plt_static): Allocate space for relocs
	if pic.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] hppa -z relro again
@ 2017-02-16 14:39 sergiodj+buildbot
  2017-02-19 11:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-16 14:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a8c75b765e57aaebb99d4e32e0f228835cff2737 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: a8c75b765e57aaebb99d4e32e0f228835cff2737

hppa -z relro again

I misunderstood the hppa alias problem.  File offsets of segments need
to be such that no page is mapped twice with different permissions.
(Which still seems to me like something the kernel could fix, but
anyhow, this is not so difficult to achieve in ld.)

	PR 21000
bfd/
	* elf-bfd.h (struct elf_backend_data): Add no_page_alias.
	* elfxx-target.h (elf_backend_no_page_alias): Define.
	(elfNN_bed): Init new field.
	* elf.c (assign_file_positions_for_load_sections): If no_page_alias
	ensure PT_LOAD segment starts on a new page.
	* elf32-hppa.c (elf_backend_no_page_alias): Define.
ld/
	* testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets.
	* testsuite/ld-elf/loadaddr2.d: Likewise.
	* testsuite/ld-elf/loadaddr3a.d: Likewise.
	* testsuite/ld-scripts/rgn-at5.d: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfd/dwarf: Improve use of previously loaded dwarf information
@ 2017-02-16 15:13 sergiodj+buildbot
  2017-02-19 14:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-16 15:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 90ed9b8bc136c80116273d1aae5a31fbd415af27 ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 90ed9b8bc136c80116273d1aae5a31fbd415af27

bfd/dwarf: Improve use of previously loaded dwarf information

When parsing DWARF data in order to report file/line type error messages
we perform section placement to make section addresses unique within
relocatable object files.

Currently, if we reuse previously loaded (and cached) dwarf data then we
neglect to perform section placement, the result is that the section
addresses will not be unique, and we might, incorrectly associate an
address with the wrong debug information, and so report an incorrect
file and line number.

Further we neglect to check that that bfd for which we are looking up
debug information is actually the bfd for which the previous debug
information was loaded, it is possible that we will reuse previously
loaded debug information for a different bfd.

And finally, due to following of gnu_debuglink links in one bfd to
another, the process of checking that the cached debug information is
valid requires us to track the original bfd in the cached debug
information.  The original debug information here is either the bfd that
we're interested in, not the bfd we finally load the debug information
from.

bfd/ChangeLog:

	* dwarf2.c (struct dwarf2_debug): Add orig_bfd member.
	(_bfd_dwarf2_slurp_debug_info): If stashed debug information does
	not match current bfd, then reload debug information.  Record bfd
	we're loading debug info for in the stash.  If we have debug
	informatin in the cache then perform section placement before
	returning.

ld/ChangeLog:

	* testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
	* testsuite/ld-elf/dwarf2.err: New file.
	* testsuite/ld-elf/dwarf2a.c: New file.
	* testsuite/ld-elf/dwarf2b.c: New file.
	* testsuite/ld-elf/dwarf3.c: New file.
	* testsuite/ld-elf/dwarf3.err: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfd: Improve lookup of file / line information for errors
@ 2017-02-16 16:18 sergiodj+buildbot
  2017-02-19 18:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-16 16:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3239a4231ff79bf8b67b8faaf414b1667486167c ***

Author: Andrew Burgess <andrew.burgess@embecosm.com>
Branch: master
Commit: 3239a4231ff79bf8b67b8faaf414b1667486167c

bfd: Improve lookup of file / line information for errors

When looking up file and line information (used from the linker to
report error messages) if no symbol is passed in, then use the symbol
list to look for a matching symbol.

If a matching symbol is found then use this to look up the file / line
information.

This should improve errors when looking up file / line information for
data sections.  Hopefully we should find a matching data symbol, which
should, in turn (we hope) match a DW_TAG_variable in the DWARF, this
should allow us to give accurate file / line errors for data symbols.

As the hope is to find a matching DW_TAG_variable in the DWARF then we
ignore section symbols, and prefer global symbols to locals.

bfd/ChangeLog:

	* dwarf2.c (_bfd_dwarf2_find_nearest_line): Perform symbol lookup
	before trying to fine matching file and line information.

ld/ChangeLog:

	* testsuite/ld-elf/shared.exp: Update expected results.
	* testsuite/ld-elf/dwarf2.err: Likewise


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfd: Rename real_{ftell, fseek, fopen}
@ 2017-02-17  1:56 sergiodj+buildbot
  2017-02-19 21:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-17  1:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c7c3d11bead272b718bade379e3441ff239bbd16 ***

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

bfd: Rename real_{ftell, fseek, fopen}

Give these bfd-internal symbols with external linkage a _bfd_ prefix
to avoid collisions in the global symbol namespace.

bfd/ChangeLog:
2017-02-17  Pedro Alves  <palves@redhat.com>

	* bfdio.c (real_ftell): Rename to ...
	(_bfd_real_ftell): ... this.
	(real_fseek): Rename to ...
	(_bfd_real_fseek): ... this.
	(real_fopen): Rename to ...
	(_bfd_real_fopen): ... this.
	* libbfd-in.h (real_ftell): Rename to ...
	(_bfd_real_ftell): ... this.
	(real_fseek): Rename to ...
	(_bfd_real_fseek): ... this.
	(real_fopen): Rename to ...
	(_bfd_real_fopen): ... this.
	* cache.c, dwarf2.c, opncls.c: Adjust all callers.
	* libbfd.h: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfd: Rename warn_deprecated
@ 2017-02-17  3:05 sergiodj+buildbot
  2017-02-20  1:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-17  3:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8c8402ccf1e69a4b8971994deb19f9d88e665925 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 8c8402ccf1e69a4b8971994deb19f9d88e665925

bfd: Rename warn_deprecated

Give this bfd-internal symbol with external linkage a _bfd_ prefix to
avoid collisions in the global symbol namespace.

bfd/ChangeLog:
2017-02-17  Pedro Alves  <palves@redhat.com>

	* bfd-in.h (bfd_read, bfd_write): Adjust to rename.
	(warn_deprecated): Rename to ...
	(_bfd_warn_deprecated): ... this.
	* libbfd.c (warn_deprecated): Rename to ...
	(_bfd_warn_deprecated): ... this.
	* bfd-in2.h: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfd: Rename bsd_write_armap and coff_write_armap
@ 2017-02-17  4:25 sergiodj+buildbot
  2017-02-20  4:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-17  4:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7ec22e0f1e08e96718ac27ea57a1dca0707a8b02 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 7ec22e0f1e08e96718ac27ea57a1dca0707a8b02

bfd: Rename bsd_write_armap and coff_write_armap

Give these bfd-internal symbols with external linkage a _bfd_ prefix
to avoid collisions in the global symbol namespace.

bfd/ChangeLog:
2017-02-17  Pedro Alves  <palves@redhat.com>

	* archive.c (bsd_write_armap): Rename to ...
	(_bfd_bsd_write_armap): ... this.
	(coff_write_armap): Rename to ...
	(_bfd_coff_write_armap): ... this.
	* libbfd-in.h (bsd_write_armap): Rename to ...
	(_bfd_bsd_write_armap): ... this.
	(coff_write_armap): Rename to ...
	(_bfd_coff_write_armap): ... this.
	* aout-target.h, aout-tic30.c: Adjust all users.
	* libbfd.h: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfd: Rename Chunk and S3Forced
@ 2017-02-17  5:50 sergiodj+buildbot
  2017-02-20  8:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-17  5:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4bc26c69597fea658dc9ce020b27e8d2ecdbe1a3 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 4bc26c69597fea658dc9ce020b27e8d2ecdbe1a3

bfd: Rename Chunk and S3Forced

The direct references in objcopy kind of look like a hack to me, so
I'm calling these symbols internal too.  Certainly they aren't named
and documented as a public BFD symbol today anyway.

So ... give these bfd-internal symbols with external linkage a _bfd_
prefix to avoid collisions in the global symbol namespace.

While at it, give them names that more closely match the corresponding
option name that toggles them.

Also while at it, fix a few related comment typos.

gdb/ChangeLog:
2017-02-17  Pedro Alves  <palves@redhat.com>

	* srec.c (Chunk): Rename to ...
	(_bfd_srec_len): ... this.
	(S3Forced): Rename to ...
	(_bfd_srec_forceS3): ... this.
	* objcopy.c: Adjust all references.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Sync up x86-gcc-cpuid.h with cpuid.h from gcc-6 branch.
@ 2017-02-17 10:39 sergiodj+buildbot
  2017-02-20 12:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-17 10:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1f85ef5042f0e021fb56b1364dddd92177073bf4 ***

Author: Michael Sturm <michael.sturm@intel.com>
Branch: master
Commit: 1f85ef5042f0e021fb56b1364dddd92177073bf4

Sync up x86-gcc-cpuid.h with cpuid.h from gcc-6 branch.

Pedro suggested a separate patch synching with GCCs cpuid.h
instead of just adding new bits for PKU feature.

 gdb/Changelog:
     2016-11-14  Michael Sturm  <michael.sturm@intel.com>

          * nat/x86-gcc-cpuid.h: Replace with copy of cpuid.h
            from gcc-6 branch.

Change-Id: I16f8f7f2d0aa7c2e815701d15ed831a6c6b33d21
Signed-off-by: Michael Sturm <michael.sturm@intel.com>


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Change xstate_bv handling to use 8 bytes of data.
@ 2017-02-17 11:06 sergiodj+buildbot
  2017-02-20 15:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-17 11:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ff6527bb52e2938b53687a42d1bcda09300e9390 ***

Author: Michael Sturm <michael.sturm@intel.com>
Branch: master
Commit: ff6527bb52e2938b53687a42d1bcda09300e9390

Change xstate_bv handling to use 8 bytes of data.

The size of the state-component bitmap as specified in
Intel(R) 64 and IA-32 Architectures Software Developer's Manual,
Chapter 13.4.2 is 8 bytes.
So far, the data types used for xstate_bv_p (gdb_byte*),
clear_bv (unsigned int) and tdep->xcr0 (uint64_t) were
inconsistent. But, since the xstate components were still
fitting into a single byte, the code still worked
as expected.
However, with the addition of the PKU feature (bit 9),
using one byte for the bitmap will no longer be sufficient.

This patch changes related code to use 64 bit data types
consistently and changes read/write acces of the XSAVE
header in the xsave buffer to use the endianess-aware
functions extract_unsigned_integer and store_unsigned_integer.
This is required to make sure that eventual differences
in endianess between host and target are taken care off.

gdb/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * i387-tdep.c (i387_supply_xsave): Change type
     of clear_bv to ULONGEST. Replace gdb_byte *xstate_bv_p
     with ULONGEST xstate_bv and use extract_unsigned_integer
     and store_unsigned_integer to read/write its value from
     the xsave buffer.
     (i387_collect_xsave): Replace gdb_byte *xstate_bv_p
     with ULONGEST initial_xstate_bv and use
     extract_unsigned_integer/store_unsigned_integer to
     read/write its value from the xsave buffer.
     Change type of clear_bv to ULONGEST.

gdbserver/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * i387-fp.c (i387_cache_to_xsave): Change type of clear_bv to
     unsigned long long.
     (i387_fxsave_to_cache): Likewise.

Change-Id: I0de254158960b4f7bcbc9fe2fb857034fa1f7ca5
Signed-off-by: Michael Sturm <michael.sturm@intel.com>


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add support for Intel PKRU register to GDB and GDBserver.
@ 2017-02-17 11:43 sergiodj+buildbot
  2017-02-21  2:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-17 11:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 51547df62c155231530ca502c485659f3d2b66cb ***

Author: Michael Sturm <michael.sturm@intel.com>
Branch: master
Commit: 51547df62c155231530ca502c485659f3d2b66cb

Add support for Intel PKRU register to GDB and GDBserver.

This patch adds support for the registers added by the
Memory Protection Keys for Userspace (PKU aka PKEYs) feature.
Native and remote debugging are covered by this patch.

The XSAVE area is extended with a new state containing
the 32-bit wide PKRU register. The new register is added to
amd64-avx-mpx_avx512-* tdesc, thus it is renamed accordingly. Also,
respective xstate mask X86_XSTATE_AVX_MPX_AVX512_MASK is renamed to
X86_XSTATE_AVX_MPX_AVX512_PKU_MASK to reflect the new feature set
it supports.

For more information, please refer to the
Intel(R) 64 and IA-32 Architectures Software Developer's
Manual - Septemper 2015
http://www.intel.com/content/dam/www/public/us/en/documents/
manuals/64-ia-32-architectures-software-developer-manual-325462.pdf

gdb/Changelog:
2015-12-08  Michael Sturm  <michael.sturm@intel.com>

     * NEWS: Mention addition of PKU feature.
     * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add PKRU register.
     * amd64-linux-tdep.c (features/i386/amd64-avx-mpx-avx512-linux.c): Rename
       to...
     (features/i386/amd64-avx-mpx-avx512-pku-linux.c): ...this.
     (amd64_linux_gregset_reg_offset): Add PKRU register.
     (amd64_linux_core_read_description): Rename
     X86_XSTATE_AVX_MPX_AVX512_MASK,
     rename tdesc_amd64_avx_mpx_avx512_pku_linux.
     (_initialize_amd64_linux_tdep): Rename
     initialize_tdesc_amd64_avx_mpx_avx512_linux.
     * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
     calculation.
     (tdesc_amd64_avx_mpx_avx512_linux): Rename to...
     (tdesc_amd64_avx_mpx_avx512_pku_linux): ...this.
     * amd64-tdep.c (features/i386/amd64-avx-mpx-avx512-pku.c): Rename to...
     (features/i386/amd64-avx-mpx-avx512-pku.c): ...this.
     (amd64_pkeys_names): New register name for raw register PKRU.
     (amd64_init_abi): Add code to initialize PKRU tdep variables if feature
     is present.
     (amd64_target_description): Rename X86_XSTATE_AVX_MPX_AVX512_MASK,
     rename tdesc_amd64_avx_mpx_avx512.
     (_initialize_amd64_tdep): Rename initialize_tdesc_amd64_avx_mpx_avx512.
     * amd64-tdep.h (enum amd64_regnum): Add PKRU register.
     (AMD64_NUM_REGS): Adjust regnum calculation.
     * i386-linux.nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
     registers supplied via XSTATE by PKRU register.
     * common/x86-xstate.h (X86_XSTATE_PKRU): New macro.
     (X86_XSTATE_AVX_MPX_AVX512_MASK): Add PKRU and renamed mask.
     (X86_XSTATE_ALL_MASK): Rename X86_XSTATE_AVX_MPX_AVX512_MASK.
     (X86_XSTATE_PKRU_SIZE): New macro.
     (X86_XSTATE_MAX_SIZE): Adjust size.
     (HAS_PKRU(XCR0)): New macro.
     (X86_XSTATE_SIZE): Add checkfor PKRU.
     * features/Makefile (WHICH): Rename i386/i386-avx-mpx-avx512,
     i386/i386-avx-mpx-avx512-linux, i386/amd64-avx-mpx-avx512,
     i386/amd64-avx-mpx-avx512-linux.
     (i386/i386-avx-mpx-avx512-expedite): Rename expedite.
     (i386/i386-avx-mpx-avx512-linux-expedite): Likewise.
     (i386/amd64-avx-mpx-avx512-expedite): Likewise.
     (i386/amd64-avx-mpx-avx512-linux-expedite): Likewise.
     (XMLTOC): Rename i386/amd64-avx-mpx-avx512-linux.xml,
     i386/amd64-avx-mpx-avx512.xml, i386/i386-avx-mpx-avx512-linux.xml,
     i386/i386-avx-mpx-avx512.xml.
     ((outdir)/i386/i386-avx-mpx-avx512.dat): Rename rule, add
     i386/32bit-pkeys.xml.
     ((outdir)/i386/i386-avx-mpx-avx512-pku-linux.dat): Likewise.
     ((outdir)/i386/amd64-avx-mpx-avx512.dat): Rename rule, add
     i386/64bit-pkeys.xml.
     ((outdir)/i386/amd64-avx-mpx-avx512-linux.dat): Likewise.
     * features/i386/32bit-pkeys.xml: New file.
     * features/i386/64bit-pkeys.xml: Likewise.
     * features/i386/amd64-avx-mpx-avx512-linux-pku.c: Regenerate from
     renamed XML file.
     * features/i386/amd64-avx-mpx-avx512-linux.xml: Rename to
     amd64-avx-mpx-avx512-pku-linux.xml, add 64bit-pkeys.xml
     * features/i386/amd64-avx-mpx-avx512.c: Regenerate from
     renamed XML file.
     * features/i386/amd64-avx-mpx-avx512.xml: Rename to
     amd64-avx-mpx-avx512-pku.xml, add 64bit-pkeys.xml.
     * features/i386/i386-avx-mpx-avx512-linux.c: Regenerate from
     renamed XML file.
     * features/i386/i386-avx-mpx-avx512-linux.xml: Rename to
     i386-avx-mpx-avx512-pku-linux.xml, add 32bit-pkeys.xml.
     * features/i386/i386-avx-mpx-avx512.c: Regenerate from
     renamed XML file.
     * features/i386/i386-avx-mpx-avx512.xml: Rename to
     i386-avx-mpx-avx512-pku.xml, add 32bit-pkeys.xml.
     * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Change to use
     I386_PKEYS_NUM_REGS.
     * i386-linux-tdep.c (features/i386/i386-avx-mpx-avx512-linux.c): Rename
     include.
     (i386_linux_gregset_reg_offset): Add PKRU register.
     (i386_linux_core_read_description): Rename xstate mask and returned
     tdesc for X86_XSTATE_AVX_MPX_AVX512_PKU_MASK.
     (_initialize_i386_linux_tdep): Rename
     initialize_tdesc_i386_avx_mpx_avx512_linux.
     * i386-linux-tdep.h (I386_LINUX_ORIG_EAX_REGNUM): Adjuste regnum
     calculation.
     (tdesc_i386_avx_mpx_avx512_linux): Rename prototype.
     (/* Format of XSAVE...): Add pkru register.
     * i386-tdep.c (i386-avx-mpx-avx512.c): Rename include.
     (i386_pkeys_names): New register name for raw register PKRU.
     (i386_pkru_regnum_p): Add function to look up register number of
     PKRU raw register.
     (i386_register_reggroup_p): Add code to exclude PKRU from general
     register group.
     (i386_validate_tdesc_p): Add code to handle PKRU feature, add PKRU
     registers if feature is present in xcr0.
     (i386_gdbarch_init): Adjust number of registers in architecture. Add code
     to initialize PKRU feature variables in tdep structure.
     (i386_target_description): Rename xstate mask and returned
     tdesc for X86_XSTATE_AVX_MPX_AVX512_PKU_MASK.
     (_initialize_i386_tdep): Rename initialize_tdesc_i386_avx_mpx_avx512.
     * i386-tdep.h (struct gdbarch_tdep): Add feature variables to tdep
     structure.
     (enum i386_regnum): Add PKRU register.
     (I386_PKEYS_NUM_REGS): New define for number of registers in PKRU feature.
     (i386_pkru_regnum_p): New prototype.
     * i387-tdep.c (xsave_pkeys_offset): New table for PKRU offsets in
     XSAVE buffer.
     (XSAVE_PKEYS_ADDR): New macro.
     (i387_supply_xsave): Add code to handle PKRU register.
     (i387_collect_xsave): Likewise.
     * i387-tdep.h (I387_NUM_PKEYS_REGS): New define for number of registers
     in PKRU feature.
     (I387_PKRU_REGNUM): New macro.
     (I387_PKEYSEND_REGNUM): Likewise.
     * regformats/i386/amd64_avx_mpx_avx512_pku_linux.dat: Regenerate from
     renamed XML file.
     * regformats/i386/amd64_avx_mpx_avx512_pku.dat: Likewise.
     * regformats/i386/i386/amd64-avx-mpx-avx512-pku.dat: Likewise.
     * regformats/i386/i386_avx_mpx_avx512_pku_linux.dat: Likewise.

testsuite/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * gdb.arch/i386-pkru.c: New file.
     * gdb.arch/i386-pkru.exp: Likewise.

gdbserver/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * Makefile.in (clean): Rename i386-avx-mpx-avx512.c,
     i386-avx-mpx-avx512-linux.c, amd64-avx-mpx-avx512.c,
     amd64-avx-mpx-avx512-linux.c.
     (i386-avx-mpx-avx512-linux-ipa.o:): Rename rule and source file.
     (amd64-avx-mpx-avx512-linux-ipa.o:): Likewise.
     (i386-avx-mpx-avx512.c :): Rename rule, source files and dat files.
     (i386-avx-mpx-avx512-linux.c :): Likewise.
     (amd64-avx-mpx-avx512.c :): Likewise.
     (amd64-avx-mpx-avx512-linux.c :): Likewise.
     * configure.srv (srv_i386_regobj): Rename i386-avx-mpx-avx512.o.
     (srv_i386_linux_regobj): Rename i386-avx-mpx-avx512-linux.o.
     (srv_amd64_regobj): Rename amd64-avx-mpx-avx512.o.
     (srv_amd64_linux_regobj): Rename amd64-avx-mpx-avx512-linux.o.
     (ipa_i386_linux_regobj): Rename i386-avx-mpx-avx512-linux-ipa.o.
     (ipa_amd64_linux_regobj): Rename amd64-avx-mpx-avx512-pku-linux-ipa.o.
     (srv_i386_32bit_xmlfiles): Add 32bit-pkeys.xml.
     (srv_i386_64bit_xmlfiles): Add 64bit-pkeys.xml.
     (srv_i386_xmlfiles): Rename i386/i386-avx-mpx-avx512.xml.
     (srv_amd64_xmlfiles): Rename i386/amd64-avx-mpx-avx512.xml.
     (srv_i386_linux_xmlfiles): Rename i386/i386-avx-mpx-avx512-linux.xml.
     (srv_amd64_linux_xmlfiles): Rename di386/amd64-avx-mpx-avx512-linux.xml.
     * i387-fp.c (num_pkeys_registers): New variable.
     (struct i387_xsave): Add space for pkru values.
     (i387_cache_to_fsave): Add code to handle PKRU register.
     (i387_xsave_to_cache): Likewise.
     * linux-amd64-ipa.c (get_ipa_tdesc): Rename
     tdesc_amd64_avx_mpx_avx512_linux.
     (initialize_low_tracepoint): Rename
     init_registers_amd64_avx_mpx_avx512_linux.
     * linux-i386-ipa.c (get_ipa_desc): Rename
     tdesc_i386_avx_mpx_avx512_linux.
     (initialize_low_tracepoint): Rename
     init_registers_i386_avx_mpx_avx512_linux.
     * linux-x86-low.c (x86_64_regmap[]): Add PKRU register.
     (x86_linux_read_description): Rename X86_XSTATE_AVX_MPX_AVX512_MASK,
     rename tdesc_amd64_avx_mpx_avx512_linux, rename
     tdesc_i386_avx_mpx_avx512_linux.
     (x86_get_ipa_tdesc_idx): Rename tdesc_amd64_avx_mpx_avx512_linux,
     rename tdesc_i386_avx_mpx_avx512_linux.
     (initialize_low_arch): Rename init_registers_amd64_avx_mpx_avx512_linux,
     rename init_registers_i386_avx_mpx_avx512_linux.
     * linux-x86-tdesc.h (init_registers_amd64_avx_mpx_avx512_linux): Renamed
     prototype.
     (tdesc_amd64_avx_mpx_avx512_linux): Likewise.
     (init_registers_i386_avx_mpx_avx512_linux): Likewise.
     (tdesc_i386_avx_mpx_avx512_linux): Likewise.

doc/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * gdb.texinfo (i386 Features): Add description of PKRU register.

Change-Id: If75ce5aba7dfd33fdbe3d8b47f04ef3f550c52be
Signed-off-by: Michael Sturm <michael.sturm@intel.com>


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Rename target descriptions to reflect actual content of description.
@ 2017-02-17 12:37 sergiodj+buildbot
  2017-02-20 19:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-17 12:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 22049425ce40324139be82d9a6ec518c46b65815 ***

Author: Michael Sturm <michael.sturm@intel.com>
Branch: master
Commit: 22049425ce40324139be82d9a6ec518c46b65815

Rename target descriptions to reflect actual content of description.

To better reflect the actual feature set covered by the IA target
descriptions, the existing descriptions are renamed. Each feature of
the extended state is added to the name of a description or xstate mask
starting from AVX.
For example, amd64-mpx-avx512-linux becomes amd64-avx-mpx-avx512-linux,
while amd64-avx-linux remains unchanged.
Likewise, the corresponding xstate masks are changed, e.g. from
X86_XSTATE_MPX_AVX512_MASK to X86_XSTATE_AVX_MPX_AVX512_MASK.

gdb/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * amd64-linux-tdep.c (features/i386/amd64-avx512-linux.c): Rename
     include to...
     (features/i386/amd64-avx-mpx-avx512-linux.c): ...this.
     (features/i386/x32-avx512-linux.c): Rename include to...
     (features/i386/x32-avx-mpx-avx512-linux.c): ...this.
     (amd64_linux_core_read_description): Rename X86_XSTATE_MPX_AVX512_MASK,
     X86_XSTATE_AVX512_MASK, desc_x32_avx512_linux, tdesc_amd64_avx512_linux.
     (_initialize_amd64_linux_tdep): Rename
     initialize_tdesc_amd64_avx512_linux, initialize_tdesc_x32_avx512_linux.
     * amd64-linux-tdep.h (tdesc_amd64_avx512_linux): Rename to...
     (tdesc_amd64_avx_mpx_avx512_linux): ...this.
     (tdesc_x32_avx512_linux): Rename to...
     (tdesc_x32_avx_mpx_avx512_linux): ...this.
     * amd64-tdep.c (features/i386/amd64-avx512.c): Rename include to...
     (features/i386/amd64-avx-mpx-avx512.c): ...this.
     (features/i386/x32-avx512.c): Rename include to...
     (features/i386/x32-avx-mpx-avx512.c): ...this.
     (amd64_target_description): Rename X86_XSTATE_MPX_AVX512_MASK,
     X86_XSTATE_AVX512_MASK, tdesc_amd64_avx512.
     (_initialize_amd64_tdep): Rename initialize_tdesc_amd64_avx512. Rename
     initialize_tdesc_x32_avx512.
     * common/x86-xstate.h (X86_XSTATE_AVX512_MASK): Rename to...
     (X86_XSTATE_AVX_AVX512_MASK): ...this.
     (86_XSTATE_MPX_AVX512_MASK): Rename to...
     (X86_XSTATE_AVX_MPX_AVX512_MASK): ...this.
     (X86_XSTATE_ALL_MASK): Rename X86_XSTATE_MPX_AVX512_MASK to
     X86_XSTATE_AVX_MPX_AVX512_MASK.
     * features/Makefile (WHICH): Rename i386/i386-avx512,
     i386/i386-avx512-linux, i386/amd64-avx512, i386/amd64-avx512-linux,
     i386/x32-avx512, i386/x32-avx512-linux.
     (i386/i386-avx512-expedite, i386/i386-avx512-linux-expedite,
     i386/amd64-avx512-expedite, i386/amd64-avx512-linux-expedite,
     i386/x32-avx512-expedite, i386/x32-avx512-linux-expedite): Rename
     expedites.
     (XMLTOC): Rename i386/amd64-avx512-linux.xml, i386/amd64-avx512.xml,
     i386/i386-avx512-linux.xml, i386/i386-avx512.xml,
     i386/x32-avx512-linux.xml, i386/x32-avx512.xml.
     ($(outdir)/i386/i386-avx512.dat): Rename dat file in rule.
     ($(outdir)/i386/i386-avx512-linux.dat): Likewise.
     ($(outdir)/i386/amd64-avx512.dat): Likewise.
     ($(outdir)/i386/amd64-avx512-linux.dat): Likewise.
     ($(outdir)/i386/x32-avx512.dat): Likewise.
     ($(outdir)/i386/x32-avx512-linux.dat): Likewise.
     * features/i386/amd64-avx512-linux.c: Regenerate from renamed XML file.
     * features/i386/amd64-avx512-linux.xml: Rename XML file.
     * features/i386/amd64-avx512.c: Regenerate from renamed XML file.
     * features/i386/amd64-avx512.xml: Rename XML file.
     * features/i386/i386-avx512-linux.c: Regenerate from renamed XML file.
     * features/i386/i386-avx512-linux.xml: Rename XML file.
     * features/i386/i386-avx512.c: Regenerate from renamed XML file.
     * features/i386/i386-avx512.xml: Rename XML file.
     * features/i386/x32-avx512-linux.c: Regenerate from renamed XML file.
     * features/i386/x32-avx512-linux.xml: Rename XML file.
     * features/i386/x32-avx512.c: Regenerate from renamed XML file.
     * features/i386/x32-avx512.xml: Rename XML file.
     * i386-linux-tdep.c (features/i386/i386-avx512-linux.c): Rename to...
     (features/i386/i386-avx-mpx-avx512-linux.c): ...this.
     (i386_linux_core_read_description): Rename X86_XSTATE_MPX_AVX512_MASK,
     X86_XSTATE_AVX512_MASK, tdesc_i386_avx512_linux.
     (_initialize_i386_linux_tdep): Rename initialize_tdesc_i386_avx512_linux.
     * i386-linux-tdep.h (tdesc_i386_avx512_linux): Rename to...
     (tdesc_i386_avx_mpx_avx512_linux): ...this.
     * i386-tdep.c (features/i386/i386-avx512.c): Rename to...
     (features/i386/i386-avx-mpx-avx512.c): ...this.
     (i386_register_reggroup_p): Rename X86_XSTATE_AVX512_MASK.
     (i386_validate_tdesc_p): Likewise.
     (i386_target_description): Rename X86_XSTATE_MPX_AVX512_MASK,
     tdesc_i386_avx512.
     (_initialize_i386_tdep): Rename initialize_tdesc_i386_avx512.
     * regformats/i386/amd64-avx512-linux.dat: Regenerate from renamed XML
     file.
     * regformats/i386/amd64-avx512.dat: Likewise.
     * regformats/i386/i386-avx512-linux.dat: Likewise.
     * regformats/i386/i386-avx512.dat: Likewise.
     * regformats/i386/x32-avx512-linux.dat: Likewise.
     * regformats/i386/x32-avx512.dat: Likewise.
     * x86-Linux-nat.c (x86_linux_read_description): Rename
     X86_XSTATE_MPX_AVX512_MASK, X86_XSTATE_AVX512_MASK,
     tdesc_x32_avx512_linux, tdesc_amd64_avx512_linux, tdesc_i386_avx512_linux.

gdbserver/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * Makefile.in (clean): Rename i386-avx512.c, i386-avx512-linux.c,
     amd64-avx512.c, amd64-avx512-linux.c, x32-avx512.c, x32-avx512-linux.c.
     (i386-avx512-linux-ipa.o): Rename rule and source files.
     (amd64-avx512-linux-ipa.o): Likewise.
     (i386-avx512.c): Rename rule, source fils and dat files.
     (i386-avx512-linux.c): Likewise.
     (amd64-avx512.c): Likewise.
     (amd64-avx512-linux.c): Likewise.
     (x32-avx512.c): Likewise.
     (x32-avx512-linux.c): Likewise.
     * configfure.srv (srv_i386_regobj): Rename i386-avx512.o.
     (i386_linux_regobj): Rename i386-avx512-linux.o.
     (srv_amd64_regobj): Rename amd64-avx512.o, x32-avx512.o.
     (srv_amd64_linux_regobj): Rename amd64-avx512-linux.o,
     x32-avx512-linux.o.
     (ipa_i386_linux_regobj): Rename i386-avx512-linux-ipa.o.
     (ipa_amd64_linux_regobj): Rename amd64-avx512-linux-ipa.o.
     (srv_i386_xmlfiles): Rename i386/i386-avx512.xml.
     (srv_amd64_xmlfiles): Rename i386/amd64-avx512.xml, i386/x32-avx512.xml.
     (srv_i386_linux_xmlfiles): Rename i386/i386-avx512-linux.xml.
     (srv_amd64_linux_xmlfiles): Rename i386/amd64-avx512-linux.xml,
     i386/x32-avx512-linux.xml).
     * linux-amd64-ipa.c (get_ipa_tdesc): Rename X86_TDESC_AVX512 and returned
     tdesc for that case.
     (initialize_low_tracepoint): Rename init_registers_amd64_avx512_linux.
     * linux-i386-ipa.c (get_ipa_tdesc): Rename X86_TDESC_AVX512 and tdesc
     returned for that case.
     (initialize_low_tracepoint): Rename init_registers_i386_avx512_linux.
     * linux-x86-low.c (x86_linux_read_description): Rename
     X86_XSTATE_AVX512_MASK and tdesc returned for that case.
     (x86_get_ipa_tdesc_idx): Rename tdesc_amd64_avx512_linux,
     tdesc_x32_avx512_linux and mask returned for these descriptions.
     Rename tdesc_i386_avx512_linux and mask returned for that description.
     (initialize_low_arch): Rename init_registers_amd64_avx512_linux,
     init_registers_x32_avx512_linux, init_registers_i386_avx512_linux.
     * linux-x86-tdesc.h (enum x86_linux_tdesc): Rename X86_TDESC_AVX512.
     (init_registers_amd64_avx512_linux): Rename to...
     (init_registers_amd64_avx_mpx_avx512_linux): ...this.
     (tdesc_amd64_avx512_linux): Rename to...
     (tdesc_amd64_avx_mpx_avx512_linux): ...this.
     (init_registers_x32_avx512_linux): Rename to...
     (init_registers_x32_avx_mpx_avx512_linux): ...this.
     (tdesc_x32_avx512_linux): Rename to...
     (tdesc_x32_avx_mpx_avx512_linux): ...this.
     (init_registers_i386_avx512_linux): Rename to...
     (init_registers_i386_avx_mpx_avx512_linux): ...this.
     (tdesc_i386_avx512_linux): Rename to...
     (tdesc_i386_avx_mpx_avx512_linux): ...this.

Change-Id: Idb83be3b3b72d5487542d4b568193df2777a3d9d
Signed-off-by: Michael Sturm <michael.sturm@intel.com>


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add target description for avx-avx512.
@ 2017-02-17 13:45 sergiodj+buildbot
  2017-02-20 22:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-17 13:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a1fa17ee1556b0175afb081a7b8a13710246307a ***

Author: Michael Sturm <michael.sturm@intel.com>
Branch: master
Commit: a1fa17ee1556b0175afb081a7b8a13710246307a

Add target description for avx-avx512.

Add a dedicated target description for the feature combination
avx-avx512 as implemented by certain IA CPU models.

The corresponding X86_XSTATE_AVX_AVX512_MASK already exists, but shared
the tdesc with X86_XSTATE_AVX_MPX_AVX512_MASK. This caused MPX registers
displayed as undefined on CPUs that only implemented
X86_XSTATE_AVX_AVX512_MASK, which is undesired. This patch solves this issue.

This patch also corrects the wrong usage of x32-avx-mpx-avx512, which is
replaced by x32-avx-avx512. The MPX feature is not implemented in x32 mode.

gdb/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * amd64-linux-tdep.c (features/i386/amd64-avx-avx512-linux.c):
     New include.
     (features/i386/x32-avx-mpx-avx512-linux.c): Rename to...
     (features/i386/x32-avx-avx512-linux.c): ...this.
     (amd64_linux_core_read_description): Add dedicated cases for
     X86_XSTATE_AVX_AVX512_MASK and return appropriate tdesc.
     (_initialize_amd64_linux_tdep): Add calls to
     initialize_tdesc_amd64_avx_avx512_linux and
     initialize_tdesc_x32_avx_avx512_linux.
     * amd64-linux.tdep.h (tdesc_amd64_avx_avx512_linux): New prototype.
     (tdesc_x32_avx_mpx_avx512_linux): Rename to...
     (tdesc_x32_avx_avx512_linu): ...this.
     * amd64-tdep.c (features/i386/amd64-avx-avx512.c): New include.
     (features/i386/x32-avx-mpx-avx512.c): Rename to...
     (features/i386/x32-avx-avx512.c): ...this.
     (amd64_target_description): Add dedicated case for
     X86_XSTATE_AVX_AVX512_MASK and return appropriate tdesc.
     (_initialize_amd64_tdep): Add call to
     initialize_tdesc_amd64_avx_avx512.
     (initialize_tdesc_x32_avx_mpx_avx512): Rename to...
     (initialize_tdesc_x32_avx_avx512): ...this.
     * features/Makefile (WHICH): New tdescs i386/i386-avx-avx512,
     i386/i386-avx-avx512-linux, i386/amd64-avx-avx512,
     i386/amd64-avx-avx512-linux.
     (i386/x32-avx-mpx-avx512): Rename to...
     (i386/x32-avx-avx512): ...this.
     (i386/x32-avx-mpx-avx512-linux): Rename to...
     (i386/x32-avx-avx512-linux): ...this.
     (i386/i386-avx-avx512-expedite, i386/i386-avx-avx512-linux-expedite,
     i386/amd64-avx-avx512-expedite, i386/amd64-avx-avx512-linux-expedite):
     New expedites.
     (i386/x32-avx-mpx-avx512-expedite): Rename to...
     (i386/x32-avx-avx512-expedite): ...this.
     (i386/x32-avx-mpx-avx512-linux-expedite): Rename to...
     (i386/x32-avx-avx512-linux-expedite): ...this.
     (XMLTOC): New XML files i386/amd64-avx-avx512-linux.xml,
     i386/amd64-avx-avx512.xml, i386/i386-avx-avx512-linux.xml,
     i386/i386-avx-avx512.xml.
     (i386/x32-avx-mpx-avx512-linux.xml): Rename to...
     (i386/x32-avx-avx512-linux.xml): ...this.
     (i386/x32-avx-mpx-avx512.xml): Rename to...
     (i386/x32-avx-avx512.xml): ...this.
     ($(outdir)/i386/i386-avx-avx512.dat): New rule.
     ($(outdir)/i386/i386-avx-avx512-linux.dat): Likewise.
     ($(outdir)/i386/amd64-avx-avx512.dat): Likewise.
     ($(outdir)/i386/amd64-avx-avx512-linux.dat): Likewise.
     ($(outdir)/i386/x32-avx-mpx-avx512.dat):  Rename to...
     ($(outdir)/i386/x32-avx-avx512.dat): ...this.
     ($(outdir)/i386/x32-avx-mpx-avx512-linux.dat): Rename to...
     ($(outdir)/i386/x32-avx-avx512-linux.dat): ...this.
     * features/i386/amd64-avx-avx512-linux.c: New file.
     * features/i386/amd64-avx-avx512-linux.xml: Likewise.
     * features/i386/amd64-avx-avx512.c: Likewise.
     * features/i386/amd64-avx-avx512.xml: Likewise.
     * features/i386/i386-avx-avx512-linux.c: Likewise.
     * features/i386/i386-avx-avx512-linux.xml: Likewise.
     * features/i386/i386-avx-avx512.c: Likewise.
     * features/i386/i386-avx-avx512.xml: Likewise.
     * features/i386/x32-avx-mpx-avx512-linux.c: Deleted.
     * features/i386/x32-avx-avx512-linux.c: New file.
     * features/i386/x32-avx-mpx-avx512-linux.xml: Deleted.
     * features/i386/x32-avx-avx512-linux.xml: New file.
     * features/i386/x32-avx-mpx-avx512.c: Deleted.
     * features/i386/x32-avx-avx512.c: New file.
     * features/i386/x32-avx-mpx-avx512.xml: Deleted.
     * features/i386/x32-avx-avx512.xml: New file.
     * i386-linux-tdep.c (features/i386/i386-avx-avx512-linux.c): New include.
     (i386_linux_core_read_description): Add dedicated case for
     X86_XSTATE_AVX_AVX512_MASK and return appropriate tdesc.
     (_initialize_i386_linux_tdep): Add call to
     initialize_tdesc_i386_avx_avx512_linux.
     * i386-linux-tdep.h (tdesc_i386_avx_avx512_linux): New prototype.
     * i386-tdep.c (features/i386/i386-avx-avx512.c): New include.
     (i386_validate_tdesc_p): Correct XSTATE mask used for feature_avx512.
     (i386_target_description): Add dedicated case for
     X86_XSTATE_AVX_AVX512_MASK and return appropriate tdesc.
     (_initialize_i386_tdep): Add call to initialize_tdesc_i386_avx_avx512.
     * regformats/i386/amd64-avx-avx512-linux.dat: New file
     * regformats/i386/amd64-avx-avx512.dat: Likewise.
     * regformats/i386/i386-avx-avx512-linux.dat: Likewise.
     * regformats/i386/i386-avx-avx512.dat: Likewise.
     * regformats/i386/x32-avx-mpx-avx512-linux.dat: Deleted.
     * regformats/i386/x32-avx-avx512-linux.dat: New file.
     * regformats/i386/x32-avx-mpx-avx512.dat: Deleted.
     * regformats/i386/x32-avx-avx512.dat: New file.
     * x86-linux-nat.c (x86_linux_read_description): Add dedidated case for
     X86_XSTATE_AVX_AVX512_MASK and return appropriate description.

gdbserver/Changelog:
2016-04-18  Michael Sturm  <michael.sturm@intel.com>

     * Makefile.in  (clean): Add handling of new source files
     i386-avx-avx512.c, i386-avx-avx512-linux.c, amd64-avx-avx512.c,
     amd64-avx-avx512-linux.c.
     (x32-avx-mpx-avx512.c): Rename to...
     (x32-avx-avx512.c): ...this.
     (x32-avx-mpx-avx512-linux.c): Rename to...
     (x32-avx-avx512-linux.c): ...this.
     (i386-avx-avx512-linux-ipa.o): New rule.
     (amd64-avx-avx512-linux-ipa.o): Likewise.
     (i386-avx-avx512.c): Likewise.
     (i386-avx-avx512-linux.c): Likewise.
     (amd64-avx-avx512.c): Likewise.
     (amd64-avx-avx512-linux.c): Likewise.
     (x32-avx-avx512.c): Rename rule, source files, dat files from
     x32-avx-mpx-avx512.*) to this.
     (x32-avx-avx512-linux.c): Rename rule, source files, dat files from
     x32-avx-mpx-avx512-linux.*) to this.
     * configure.srv (srv_i386_regobj): Add i386-avx-avx512.o.
     (srv_i386_linux_regobj): Add i386-avx-avx512-linux.o.
     (srv_amd64_regobj): Add amd64-avx-avx512.o, rename
     x32-avx-mpx-avx512.o to x32-avx-avx512.o.
     (srv_amd64_linux_regobj): Add amd64-avx-avx512-linux.o, rename
     x32-avx-mpx-avx512-linux.o to x32-avx-avx512-linux.o.
     (ipa_i386_linux_regobj): Add i386-avx-avx512-linux-ipa.o.
     (ipa_amd64_linux_regobj): Add amd64-avx-avx512-linux-ipa.o.
     (srv_i386_xmlfiles): Add i386/i386-avx-avx512.xml.
     (srv_amd64_xmlfiles): Add i386/amd64-avx-avx512.xml, rename
     x32-avx-mpx-avx512.xml to x32-avx-avx512.xml.
     (srv_i386_linux_xmlfiles): Add i386/i386-avx-avx512-linux.xml.
     (srv_amd64_linux_xmlfiles): Add i386/amd64-avx-avx512-linux.xml,
     rename x32-avx-mpx-avx512-linux.xml to x32-avx-avx512-linux.xml.
     * linux-amd64-ipa.c (get_ipa_tdesc): Add dedicated case for
     X86_TDESC_AVX_AVX512 and return appropriate tdesc.
     (initialize_low_tracepoint): Add init_registers_amd64_avx_avx512_linux.
     * linux-i386-ipa.c (get_ipa_tdesc): Add dedicated case for
     X86_TDESC_AVX_AVX512 and return appropriate tdesc.
     (initialize_low_tracepoint): Add init_registers_i386_avx_avx512_linux.
     * linux-x86-low.c (x86_linux_read_description): Add dedicated cases for
     X86_XSTATE_AVX_AVX512_MASK and return appropriate tdesc.
     (x86_get_ipa_tdesc_idx): Rename tdesc_x32_avx_mpx_avx512_linux to
     tdesc_x32_avx_avx512_linux, add dedicated if-clause for
     tdesc_amd64_avx_avx512_linux and return appropriate mask.
     Add dedicated clause for tdesc_i386_avx_avx512_linux
     and return appropriate mask.
     (initialize_low_arch): Add init_registers_amd64_avx_avx512_linux,
     rename init_registers_x32_avx_mpx_avx512_linux, add
     init_registers_i386_avx_avx512_linux.
     * linux-x86-tdesc.h (enum x86_linux_tdesc): Add new value for
     X86_TDESC_AVX_AVX512.
     (init_registers_amd64_avx_avx512_linux): New prototype.
     (tdesc_amd64_avx_avx512_linux): Likewise.
     (init_registers_x32_avx_mpx_avx512_linux): Rename to...
     (init_registers_x32_avx_avx512_linux): ...this.
     (tdesc_x32_avx_mpx_avx512_linux): Rename to...
     (tdesc_x32_avx_avx512_linux): ...this.
     (init_registers_i386_avx_avx512_linux): New prototype.
     (tdesc_i386_avx_avx512_linux): Likewise.

Change-Id: I01359fab56c961a39568df50af39714ec7b31706
Signed-off-by: Michael Sturm <michael.sturm@intel.com>


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix potential illegal memory access in ZLIB because of an erroneous declaration of the size of the input buffer.
@ 2017-02-17 15:09 sergiodj+buildbot
  2017-02-21  6:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-17 15:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6438d1be9e9b6802a465c70c76b9cec7e23270f3 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 6438d1be9e9b6802a465c70c76b9cec7e23270f3

Fix potential illegal memory access in ZLIB because of an erroneous declaration of the size of the input buffer.

	* compress.c (bfd_get_full_section_contents): Remember to reduce
	compressed size by the sizeof the compression header when
	decompressing the contents.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix for aarch64 sim sxtl/uxtl insns, plus another fix for addv.
@ 2017-02-19 21:43 sergiodj+buildbot
  2017-02-21 10:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-19 21:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2e7e5e28909bcffe2267b417f9cff0441b576fba ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 2e7e5e28909bcffe2267b417f9cff0441b576fba

Fix for aarch64 sim sxtl/uxtl insns, plus another fix for addv.

	sim/aarch64/
	* simulator.c (do_vec_ADDV): Mov val declaration inside each case,
	with type set to input type size.
	(do_vec_xtl): Change bias from 3 to 4 for byte case.

	sim/testsuite/sim/aarch64/
	* bit.s: Change cmp immediates to account for addv bug fix.
	* cmtst.s, ldn_single.s, stn_single.s: Likewise.
	* xtl.s: New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Code cleanup: Split create_debug_types_hash_table
@ 2017-02-20 20:29 sergiodj+buildbot
  2017-02-21 22:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-20 20:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 78d4d2c538dd7975f0f130b2df842c4858c01fd3 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 78d4d2c538dd7975f0f130b2df842c4858c01fd3

Code cleanup: Split create_debug_types_hash_table

DWARF-5 moved .debug_types into .debug_info and so the types reading code needs
to be reused more (in a future patch).

gdb/ChangeLog
2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf2read.c (create_debug_type_hash_table): New function from
	create_debug_types_hash_table.
	(create_debug_types_hash_table): Call create_debug_type_hash_table.
	(create_all_type_units, open_and_init_dwo_file): Update
	create_debug_types_hash_table callers.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Code cleanup: Split dwarf2_ranges_read to a callback
@ 2017-02-20 20:58 sergiodj+buildbot
  2017-02-22  2:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-20 20:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5f46c5a54825aabb3f30095c84ac30aff7400ac5 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 5f46c5a54825aabb3f30095c84ac30aff7400ac5

Code cleanup: Split dwarf2_ranges_read to a callback

DWARF-5 has .debug_rnglists which is somehow similar to .debug_ranges.

This patch converts dwarf2_ranges_read to dwarf2_ranges_process which can work
with both DWARF kinds of range lists through a callback.

It also simplifies dwarf2_record_block_ranges which can benefit from it.

gdb/ChangeLog
2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf2read.c (dwarf2_ranges_process): New function from
	dwarf2_ranges_read.
	(dwarf2_ranges_read, dwarf2_record_block_ranges): Use
	dwarf2_ranges_process.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Code cleanup: Refactor abbrev_table_read_table cycle
@ 2017-02-20 22:02 sergiodj+buildbot
  2017-02-22  5:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-20 22:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 22d2f3ab926890490deed2888f6f013031fa6a6e ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 22d2f3ab926890490deed2888f6f013031fa6a6e

Code cleanup: Refactor abbrev_table_read_table cycle

I find it as an improvement on its own, it prevents more code duplication in
a future patch.

gdb/ChangeLog
2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf2read.c (abbrev_table_read_table): Read the data only once.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix recent compiler warnings.
@ 2017-02-21  8:59 sergiodj+buildbot
  2017-02-22 11:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-21  8:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7814882a6534c100d8eba1a41588611a8b38c429 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 7814882a6534c100d8eba1a41588611a8b38c429

Fix recent compiler warnings.

gcc-4.8.5-11.el7.x86_64

dwarf2read.c: In function pc_bounds_kind dwarf2_get_pc_bounds(die_info*, CORE_ADDR*, CORE_ADDR*, dwarf2_cu*, partial_symtab*):
dwarf2read.c:12134:7: error: range_end may be used uninitialized in this function [-Werror=maybe-uninitialized]
dwarf2read.c:12133:7: error: range_beginning may be used uninitialized in this function [-Werror=maybe-uninitialized]

gdb/ChangeLog
2017-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf2_rnglists_process: Initialize range_beginning and range_end.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix test names starting with uppercase in gdb.arch/ppc64-atomic-inst.exp
@ 2017-02-21 14:17 sergiodj+buildbot
  2017-02-22 14:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-21 14:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a51d7ecf3ddd64e0aec68e3c30913faba680b2cb ***

Author: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Branch: master
Commit: a51d7ecf3ddd64e0aec68e3c30913faba680b2cb

Fix test names starting with uppercase in gdb.arch/ppc64-atomic-inst.exp

gdb/testsuite/
2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>

	* gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
	uppercase.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Default initialize enum flags to 0
@ 2017-02-21 17:22 sergiodj+buildbot
  2017-02-22 20:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-21 17:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1b90b1390679473dd84416e462afa1587769ceec ***

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

Default initialize enum flags to 0

... so that we don't need to do it manually, and potentially forget.
For example, this allows to do:

  my_flags flags;

  ...

  flags |= some_flag;

gdb/ChangeLog:

	* common/enum-flags.h (enum_flags::enum_flags): Initialize
	m_enum_value to 0 in default constructor.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PowerPC ld segfault on script discarding dynamic sections
@ 2017-02-21 23:12 sergiodj+buildbot
  2017-02-23  0:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-21 23:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6528b6eba85f044667876a2ad77d4612a9e5fc65 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 6528b6eba85f044667876a2ad77d4612a9e5fc65

PowerPC ld segfault on script discarding dynamic sections

bfd/
	* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Don't segfault
	on .got or .plt output section being discarded by script.
	* elf32-ppc.c (ppc_elf_finish_dynamic_sections): Likewise.  Move
	vxworks splt temp.
gold/
	* powerpc.cc (Target_powerpc::make_iplt_section): Check that
	output_section exists before attempting add_output_section_data.
	(Target_powerpc::make_brlt_section): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix a regression by: Code cleanup: Split dwarf2_ranges_read to a callback
@ 2017-02-22  0:26 sergiodj+buildbot
  2017-02-23  4:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-22  0:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 58fdfd2c4a0d2a68c3c3cbe3a83a0386526a2b72 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 58fdfd2c4a0d2a68c3c3cbe3a83a0386526a2b72

Fix a regression by: Code cleanup: Split dwarf2_ranges_read to a callback

On some Fedora 23 systems an internal error has been printed.

gdb/ChangeLog
2017-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf2read.c (dwarf2_record_block_ranges): Add forgotten BASEADDR.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] aarch64: actually copy first operand in convert_bfc_to_bfm()
@ 2017-02-22  9:55 sergiodj+buildbot
  2017-02-23  7:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-22  9:55 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 11648de5a91658326748dea1e4965559e9bd7a0f ***

Author: Jan Beulich <jbeulich@novell.com>
Branch: master
Commit: 11648de5a91658326748dea1e4965559e9bd7a0f

aarch64: actually copy first operand in convert_bfc_to_bfm()

Commit 93562a343c ("[AArch64] PR target/20666, fix wrong encoding of
new introduced BFC pseudo") changed the destination operand to 0,
making the whole function invocation a no-op. We really want to copy
operand 0 (a register) to operand 1 (an immediate before coming here),
even if right now this likely is only a latent bug.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR ld/20828: Move symbol version processing ahead of GC symbol sweep
@ 2017-02-22 19:04 sergiodj+buildbot
  2017-02-23 14:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-22 19:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 902e9fc76a0ec9f642cefa71ef88cca1c675ad54 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 902e9fc76a0ec9f642cefa71ef88cca1c675ad54

PR ld/20828: Move symbol version processing ahead of GC symbol sweep

Complement commit b531344c34b0 ("PR ld/20828: Reorder the symbol sweep
stage of section GC") and commit 81ff47b3a546 ("PR ld/20828: Fix linker
script symbols wrongly forced local with section GC") and move symbol
version processing ahead of the symbol sweep stage of section GC, all in
`bfd_elf_size_dynamic_sections', so that version symbols created stay in
the global scope and are not output as local symbols to the dynamic
symbol table in the presence of corresponding symbol definitions pulled
from a DSO involved in a link.

Consolidate the whole of symbol version processing into a single block
from all parts scattered across the function and rearranging the local
variables used as necessary, however leaving the setting of dynamic
entries associated with the DT_VERDEF, DT_VERDEFNUM, DT_VERNEED and
DT_VERNEEDNUM tags and the SEC_EXCLUDE flag for unused `.gnu.version'
section in the original places.

With the rearrangement of code blocks `Elf_Internal_Verneed *t' would
shadow the previous definition of `struct bfd_elf_version_tree *t', so
rename the former variable to `vn'.

	bfd/
	PR ld/20828
	* elflink.c (bfd_elf_size_dynamic_sections): Move symbol version
	processing ahead of the call to `elf_gc_sweep_symbol'.

	ld/
	PR ld/20828
	* testsuite/ld-elf/pr20828-d.sd: New test.
	* testsuite/ld-elf/pr20828-e.sd: New test.
	* testsuite/ld-elf/pr20828-v.od: New test.
	* testsuite/ld-elf/pr20828-v.ver: New test version script.
	* testsuite/ld-elf/pr20828-v.ld: New test linker script.
	* testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and
	`.gnu.version_d'.
	* testsuite/ld-elf/shared.exp: Run the new tests.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use delete instead of xfree for varobj_item
@ 2017-02-23 11:39 sergiodj+buildbot
  2017-02-24  2:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-23 11:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0a8beaba19a991bbfcf03756c4a150bf9512a164 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 0a8beaba19a991bbfcf03756c4a150bf9512a164

Use delete instead of xfree for varobj_item

In commit 2f408ec (Use ui_file_as_string throughout more), we start to
new varobj_item,

> -  vitem = XNEW (struct varobj_item);
> +  vitem = new varobj_item ();

but we still use xfree.  This causes some ASAN errors,

-var-update container^M
=================================================================^M
^[[1m^[[31m==20660==ERROR: AddressSanitizer: alloc-dealloc-mismatch (operator new vs free) on 0x602000090c10^M
^[[1m^[[0m    #0 0x2baa77d03631 in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x54631)^M
    #1 0x80e0c8 in xfree(void*) /home/yao/SourceCode/gnu/gdb/git/gdb/common/common-utils.c:100^M
    #2 0xc13670 in varobj_clear_saved_item /home/yao/SourceCode/gnu/gdb/git/gdb/varobj.c:727^M
    #3 0xc13957 in update_dynamic_varobj_children /home/yao/SourceCode/gnu/gdb/git/gdb/varobj.c:752^M
    #4 0xc1841c in varobj_update(varobj**, int) /home/yao/SourceCode/gnu/gdb/git/gdb/varobj.c:1699^M
    #5 0x5a2bf7 in varobj_update_one /home/yao/SourceCode/gnu/gdb/git/gdb/mi/mi-cmd-var.c:712^M
    #6 0x5a2a41 in mi_cmd_var_update(char*, char**, int) /home/yao/SourceCode/gnu/gdb/git/gdb/mi/mi-cmd-var.c:695^
........
^M
^[[1m^[[32m0x602000090c10 is located 0 bytes inside of 16-byte region [0x602000090c10,0x602000090c20)^M
^[[1m^[[0m^[[1m^[[35mallocated by thread T0 here:^[[1m^[[0m^M
    #0 0x2baa77d0415f in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x5515f)^M
    #1 0x63613e in py_varobj_iter_next /home/yao/SourceCode/gnu/gdb/git/gdb/python/py-varobj.c:112^M
    #2 0xc13b89 in update_dynamic_varobj_children /home/yao/SourceCode/gnu/gdb/git/gdb/varobj.c:776^M
    #3 0xc1841c in varobj_update(varobj**, int) /home/yao/SourceCode/gnu/gdb/git/gdb/varobj.c:1699^M
    #4 0x5a2bf7 in varobj_update_one /home/yao/SourceCode/gnu/gdb/git/gdb/mi/mi-cmd-var.c:712^M
    #5 0x5a2a41 in mi_cmd_var_update(char*, char**, int) /home/yao/SourceCode/gnu/gdb/git/gdb/mi/mi-cmd-var.c:695^M

gdb:

2017-02-23  Yao Qi  <yao.qi@linaro.org>

	* varobj.c (varobj_clear_saved_item): Use delete instead of
	xfree.
	(update_dynamic_varobj_children): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use xfree rather than delete for varobj_iter
@ 2017-02-23 12:12 sergiodj+buildbot
  2017-02-24  6:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-23 12:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 387687511347d5e978bb47d193fe67c25e0e10a6 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 387687511347d5e978bb47d193fe67c25e0e10a6

Use xfree rather than delete for varobj_iter

ASAN reports an error,

-var-create container @ c^M
=================================================================^M
^[[1m^[[31m==21639==ERROR: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete) on 0x6030000805c0^M
^[[1m^[[0m    #0 0x7f2449b01b2a in operator delete(void*) (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x99b2a)^M
    #1 0xbb601d in update_dynamic_varobj_children ../../binutils-gdb/gdb/varobj.c:794^M
    #2 0xbb6556 in varobj_get_num_children(varobj*) ../../binutils-gdb/gdb/varobj.c:854^M
    #3 0x580cb4 in print_varobj ../../binutils-gdb/gdb/mi/mi-cmd-var.c:61^M
    #4 0x58138b in mi_cmd_var_create(char*, char**, int) ../../binutils-gdb/gdb/mi/mi-cmd-var.c:145^M
    #5 0x5967ce in mi_cmd_execute ../../binutils-gdb/gdb/mi/mi-main.c:2301^M
    #6 0x594b05 in captured_mi_execute_command ../../binutils-gdb/gdb/mi/mi-main.c:2001
....
^M
^[[1m^[[32m0x6030000805c0 is located 0 bytes inside of 32-byte region [0x6030000805c0,0x6030000805e0)^M
^[[1m^[[0m^[[1m^[[35mallocated by thread T0 here:^[[1m^[[0m^M
    #0 0x7f2449b00602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)^M
    #1 0x7d1596 in xmalloc ../../binutils-gdb/gdb/common/common-utils.c:43^M
    #2 0x604176 in py_varobj_iter_new ../../binutils-gdb/gdb/python/py-varobj.c:159^M
    #3 0x6042da in py_varobj_get_iterator(varobj*, _object*) ../../binutils-gdb/gdb/python/py-varobj.c:198^M
    #4 0xbb5806 in varobj_get_iterator ../../binutils-gdb/gdb/varobj.c:720^M
    #5 0xbb5b9b in update_dynamic_varobj_children ../../binutils-gdb/gdb/varobj.c:758^M

gdb:

2017-02-23  Yao Qi  <yao.qi@linaro.org>

	* varobj-iter.h (varobj_iter_delete): Call xfree instead of
	delete.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix usage of inferior_ptid in two thread_alive implementations
@ 2017-02-23 15:54 sergiodj+buildbot
  2017-02-24 10:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-23 15:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8eaf53202ea60191162d5f1069cd08ebd9f38f6c ***

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

Fix usage of inferior_ptid in two thread_alive implementations

While inspecting some target code, I noticed that in these two
implementations of thread_alive, inferior_ptid is referenced directly
instead of using the ptid passed as parameters.  I guess that it is
wrong, although I can't really test it in both cases.

gdb/ChangeLog:

	* bsd-uthread.c (bsd_uthread_thread_alive): Use ptid instead of
	inferior_ptid.
	* go32-nat.c (go32_thread_alive): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdb::function_view in iterate_over_symtabs & co
@ 2017-02-23 19:28 sergiodj+buildbot
  2017-02-24 21:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-23 19:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 14bc53a81471e0b550de1c24d4d5266f676aacc3 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 14bc53a81471e0b550de1c24d4d5266f676aacc3

Use gdb::function_view in iterate_over_symtabs & co

I wanted to pass a lambda to iterate_over_symtabs (see following
patch), so I converted it to function_view, and then the rest is
cascaded from that.

This gets rid of a bunch of single-use callback functions and
corresponding manually managed callback capture types
(add_partial_datum, search_symbols_data, etc.) in favor of letting the
compiler generate them for us by using lambdas with a capture.  In a
couple cases, it was more natural to convert the existing function
callbacks to function objects (i.e., operator(), e.g.,
decode_compound_collector).

gdb/ChangeLog:
2017-02-23  Pedro Alves  <palves@redhat.com>

	* ada-lang.c: Include "common/function-view.h".
	(ada_iterate_over_symbols): Adjust to use function_view as
	callback type.
	(struct add_partial_datum, ada_complete_symbol_matcher): Delete.
	(ada_make_symbol_completion_list): Use a lambda.
	(ada_exc_search_name_matches): Delete.
	(name_matches_regex): New.
	(ada_add_global_exceptions): Use a lambda and name_matches_regex.
	* compile/compile-c-support.c: Include "common/function-view.h".
	(print_one_macro): Change prototype to accept a ui_file pointer.
	(write_macro_definitions): Use a lambda.
	* dwarf2read.c: Include "common/function-view.h".
	(dw2_map_expand_apply, dw2_map_symtabs_matching_filename)
	(dw2_expand_symtabs_matching): Adjust to use function_view as
	callback type.
	* language.h: Include "common/function-view.h".
	(struct language_defn) <la_iterate_over_symbols>: Adjust to use
	function_view as callback type.
	(LA_ITERATE_OVER_SYMBOLS): Remove DATA parameter.
	* linespec.c: Include "common/function-view.h".
	(collect_info::add_symbol): New method.
	(struct symbol_and_data_callback, iterate_inline_only, struct
	symbol_matcher_data, iterate_name_matcher): Delete.
	(iterate_over_all_matching_symtabs): Adjust to use function_view
	as callback type and lambdas.
	(iterate_over_file_blocks): Adjust to use function_view as
	callback type.
	(decode_compound_collector): Now a class with private fields.
	(decode_compound_collector::release_symbols): New method.
	(collect_one_symbol): Rename to...
	(decode_compound_collector::operator()): ... this and adjust.
	(lookup_prefix_sym): decode_compound_collector construction bits
	move to decode_compound_collector ctor.  Pass the
	decode_compound_collector object directly as callback.  Remove
	cleanups and use decode_compound_collector::release_symbols
	instead.
	(symtab_collector): Now a class with private fields.
	(symtab_collector::release_symtabs): New method.
	(add_symtabs_to_list): Rename to...
	(symtab_collector::operator()): ... this and adjust.
	(collect_symtabs_from_filename): symtab_collector construction
	bits move to symtab_collector ctor.  Pass the symtab_collector
	object directly as callback.  Remove cleanups and use
	symtab_collector::release_symtabs instead.
	(collect_symbols): Delete.
	(add_matching_symbols_to_info): Use lambdas.
	* macrocmd.c (print_macro_callback): Delete.
	(info_macro_command): Use a lambda.
	(info_macros_command): Pass print_macro_definition as callable
	directly.
	(print_one_macro): Remove 'ignore' parameter.
	(macro_list_command): Adjust.
	* macrotab.c (macro_for_each_data::fn): Now a function_view.
	(macro_for_each_data::user_data): Delete field.
	(foreach_macro): Adjust to call the function_view.
	(macro_for_each): Adjust to use function_view as callback type.
	(foreach_macro_in_scope): Adjust to call the function_view.
	(macro_for_each_in_scope): Adjust to use function_view as callback
	type.
	* macrotab.h: Include "common/function-view.h".
	(macro_callback_fn): Declare a prototype instead of a pointer.
	Remove "user_data" parameter.
	(macro_for_each, macro_for_each_in_scope): Adjust to use
	function_view as callback type.
	* psymtab.c (partial_map_expand_apply)
	(psym_map_symtabs_matching_filename, recursively_search_psymtabs):
	Adjust to use function_view as callback type and to return bool.
	(psym_expand_symtabs_matching): Adjust to use function_view as
	callback types.
	* symfile-debug.c (debug_qf_map_symtabs_matching_filename): Adjust
	to use function_view as callback type and to return bool.
	(debug_qf_expand_symtabs_matching): Adjust to use function_view as
	callback types.
	* symfile.c (expand_symtabs_matching): Adjust to use function_view
	as callback types.
	* symfile.h: Include "common/function-view.h".
	(expand_symtabs_file_matcher_ftype)
	(expand_symtabs_symbol_matcher_ftype)
	(expand_symtabs_exp_notify_ftype): Remove "data" parameter and
	return bool.
	(quick_symbol_functions::map_symtabs_matching_filename)
	(quick_symbol_functions::expand_symtabs_matching): Adjust to use
	function_view as callback type and return bool.
	(expand_symtabs_matching): Adjust to use function_view as callback
	type.
	(maintenance_expand_name_matcher)
	(maintenance_expand_file_matcher): Delete.
	(maintenance_expand_symtabs): Use lambdas.
	* symtab.c (iterate_over_some_symtabs): Adjust to use
	function_view as callback types and return bool.
	(iterate_over_symtabs): Likewise.  Use unique_xmalloc_ptr instead
	of a cleanup.
	(lookup_symtab_callback): Delete.
	(lookup_symtab): Use a lambda.
	(iterate_over_symbols): Adjust to use function_view as callback
	type.
	(struct search_symbols_data, search_symbols_file_matches)
	(search_symbols_name_matches): Delete.
	(search_symbols): Use a pair of lambdas.
	(struct add_name_data, add_macro_name, symbol_completion_matcher)
	(symtab_expansion_callback): Delete.
	(default_make_symbol_completion_list_break_on_1): Use lambdas.
	* symtab.h: Include "common/function-view.h".
	(iterate_over_some_symtabs): Adjust to use function_view as
	callback type and return bool.
	(iterate_over_symtabs): Adjust to use function_view as callback
	type.
	(symbol_found_callback_ftype): Remove 'data' parameter and return
	bool.
	(iterate_over_symbols): Adjust to use function_view as callback
	type.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR21166: Validate rdrand/rdseed support separately in gdb.reverse/insn-reverse-x86.c
@ 2017-02-23 21:46 sergiodj+buildbot
  2017-02-25  5:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-23 21:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 17cd494709a60750234c7dbe4f1db2932f8a71c4 ***

Author: Luis Machado <lgustavo@codesourcery.com>
Branch: master
Commit: 17cd494709a60750234c7dbe4f1db2932f8a71c4

PR21166: Validate rdrand/rdseed support separately in gdb.reverse/insn-reverse-x86.c

As reported in PR21166, there are Intel processors out there that support
rdrand but not rdseed. The fix is to verify both features separately and only
run rdrand/rdseed tests if supported.

gdb/testsuite/ChangeLog:
2017-02-23  Luis Machado  <lgustavo@codesourcery.com>

	* gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
	(check_supported_features): ... this. Changed return type to void.
	(supports_rdseed): New static global.
	(rdseed): Check supports_rdseed.
	(initialize): Call check_supported_features.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS/BFD: Discard ineligible JALR relocations right away
@ 2017-02-24  0:15 sergiodj+buildbot
  2017-02-25  9:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-24  0:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c1556ecd7843912269aba283a0fd307729fa0c3a ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: c1556ecd7843912269aba283a0fd307729fa0c3a

MIPS/BFD: Discard ineligible JALR relocations right away

Discard R_MIPS_JALR and R_MICROMIPS_JALR relocations associated with
jumps that cannot be converted to an equivalent branch right away in
`mips_elf_calculate_relocation' rather than letting them through to
`mips_elf_perform_relocation'.  This includes cross-mode jumps which
need to flip the ISA bit or jumps to a misaligned location that cannot
be encoded with a branch, in addition to preemptible symbol references
already handled.

Cross-mode jumps are actually already rejected as the conversion is made
in `mips_elf_perform_relocation', so in this case this change only saves
some processing.  Jumps to a misaligned location are however converted,
with bits causing misalignment lost, making resulting code functionally
different even if the lone effect is avoiding an address error exception
with an instruction fetch at the jump destination requested.

Add test cases suitable, also including GAS verification to confirm that
the JALR relocations explicitly requested have indeed been output in the
intermediate objects used.

	bfd/
	* elfxx-mips.c (mips_elf_calculate_relocation) <R_MIPS_JALR>
	<R_MICROMIPS_JALR>: Discard relocation if `cross_mode_jump_p'
	or misaligned.

	gas/
	* testsuite/gas/mips/jalr4.d: New test.
	* testsuite/gas/mips/jalr4-n32.d: New test.
	* testsuite/gas/mips/jalr4-n64.d: New test.
	* testsuite/gas/mips/jalr4.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new tests.

	ld/
	* testsuite/ld-mips-elf/jalr4.dd: New test.
	* testsuite/ld-mips-elf/mips-elf.exp: Run the new test.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS/BFD: Remove duplicate NewABI JALR relocation handling
@ 2017-02-24  1:21 sergiodj+buildbot
  2017-02-25 13:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-24  1:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5d58c7337972bb24caea7598d0ae4d461b0fc22b ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 5d58c7337972bb24caea7598d0ae4d461b0fc22b

MIPS/BFD: Remove duplicate NewABI JALR relocation handling

Remove separate original NewABI JALR relocation handling, introduced
with commit d06471104a83 ("relax jalr $t9 [R_MIPS_JALR symbol] to bal
symbol"), <https://sourceware.org/ml/binutils/2003-03/msg00394.html>,
and only used by LD with the `--relax' option specified, and rely solely
on `mips_elf_perform_relocation' code, which has been introduced with
commit 1367d393bb74 ("On the RM9000 convert jal to bal if in range"),
<https://www.sourceware.org/ml/binutils/2004-12/msg00088.html> and since
made more complete, across all the three ABIs.

Also remove the `--relax' option, now irrelevant, from the tests added
with the former commit.

	bfd/
	* elfxx-mips.h (_bfd_mips_relax_section): Remove prototype.
	* elfxx-mips.c (_bfd_mips_relax_section): Remove function.
	* elf64-mips.c (bfd_elf64_bfd_relax_section): Remove macro.
	* elfn32-mips.c (bfd_elf32_bfd_relax_section): Likewise.

	ld/
	* testsuite/ld-mips-elf/relax-jalr-n32.d: Remove `--relax'
	option.
	* testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
	* testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise.
	* testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: also correctly support TEST opcode aliases
@ 2017-02-24  9:18 sergiodj+buildbot
  2017-02-25 16:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-24  9:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7db2c58848ca683f3b09e687a9b012dbb49316af ***

Author: Jan Beulich <jbeulich@novell.com>
Branch: master
Commit: 7db2c58848ca683f3b09e687a9b012dbb49316af

x86: also correctly support TEST opcode aliases

Opcodes F6/1 and F7/1 are aliases of F6/0 and F7/0 in all modes. This
complements commit 8b89fe14b5 ("X86: Decode opcode 0x82 as opcode 0x80
in 32-bit mode"), just that here 64-bit mode is also covered.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use I386_MAX_REGISTER_SIZE and M68K_MAX_REGISTER_SIZE
@ 2017-02-24 16:32 sergiodj+buildbot
  2017-02-25 20:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-24 16:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 975c21ab6d2f6e94fcd4723bcaada4015ce7b0cf ***

Author: Alan Hayward <alan.hayward@arm.com>
Branch: master
Commit: 975c21ab6d2f6e94fcd4723bcaada4015ce7b0cf

Use I386_MAX_REGISTER_SIZE and M68K_MAX_REGISTER_SIZE

gdb/
	* i386-tdep.c (i386_pseudo_register_read_into_value): Use
	I386_MAX_REGISTER_SIZE.
	(i386_pseudo_register_write): Likewise.
	(i386_process_record): Likewise.
	* i387-tdep.c (i387_supply_xsave): Likewise.
	* m68k-linux-nat.c (fetch_register): Use M68K_MAX_REGISTER_SIZE.
	(store_register): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove use of MAX_REGISTER_SIZE
@ 2017-02-24 16:45 sergiodj+buildbot
  2017-02-26  0:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-24 16:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b0e4b369d519f9c604bddd6305e64dbb9f794256 ***

Author: Alan Hayward <alan.hayward@arm.com>
Branch: master
Commit: b0e4b369d519f9c604bddd6305e64dbb9f794256

Remove use of MAX_REGISTER_SIZE

gdb/
	* stack.c (frame_info): Use frame_unwind_register_value to avoid buf.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add new counter-enable CSRs
@ 2017-02-24 19:18 sergiodj+buildbot
  2017-02-26  5:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-24 19:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 742d14b39b384e822fd2218cf1803aef68a95d99 ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: 742d14b39b384e822fd2218cf1803aef68a95d99

Add new counter-enable CSRs

include/ChangeLog:

2017-02-22  Andrew Waterman  <andrew@sifive.com>

       * opcode/riscv-opc.h (CSR_SCOUNTEREN): New define.
       (CSR_MCOUNTEREN): Likewise.
       (scounteren): Declare register.
       (mcounteren): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [AArch64] Additional SVE instructions
@ 2017-02-24 19:30 sergiodj+buildbot
  2017-02-26 21:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-24 19:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 582e12bf7602bb62ecc234402eb54044e83065e2 ***

Author: Richard Sandiford <richard.sandiford@arm.com>
Branch: master
Commit: 582e12bf7602bb62ecc234402eb54044e83065e2

[AArch64] Additional SVE instructions

This patch supports some additions to the SVE architecture prior to
its public release.

include/
	* opcode/aarch64.h (AARCH64_OPND_SVE_ADDR_RI_S4x16)
	(AARCH64_OPND_SVE_IMM_ROT1, AARCH64_OPND_SVE_IMM_ROT2)
	(AARCH64_OPND_SVE_Zm3_INDEX, AARCH64_OPND_SVE_Zm3_22_INDEX)
	(AARCH64_OPND_SVE_Zm4_INDEX): New aarch64_opnds.

opcodes/
	* aarch64-tbl.h (OP_SVE_HMH, OP_SVE_VMU_HSD, OP_SVE_VMVU_HSD)
	(OP_SVE_VMVV_HSD, OP_SVE_VMVVU_HSD, OP_SVE_VM_HSD, OP_SVE_VUVV_HSD)
	(OP_SVE_VUV_HSD, OP_SVE_VU_HSD, OP_SVE_VVVU_H, OP_SVE_VVVU_S)
	(OP_SVE_VVVU_HSD, OP_SVE_VVV_D, OP_SVE_VVV_D_H, OP_SVE_VVV_H)
	(OP_SVE_VVV_HSD, OP_SVE_VVV_S, OP_SVE_VVV_S_B, OP_SVE_VVV_SD_BH)
	(OP_SVE_VV_BHSDQ, OP_SVE_VV_HSD, OP_SVE_VZVV_HSD, OP_SVE_VZV_HSD)
	(OP_SVE_V_HSD): New macros.
	(OP_SVE_VMU_SD, OP_SVE_VMVU_SD, OP_SVE_VM_SD, OP_SVE_VUVV_SD)
	(OP_SVE_VU_SD, OP_SVE_VVVU_SD, OP_SVE_VVV_SD, OP_SVE_VZVV_SD)
	(OP_SVE_VZV_SD, OP_SVE_V_SD): Delete.
	(aarch64_opcode_table): Add new SVE instructions.
	(aarch64_opcode_table): Use imm_rotate{1,2} instead of imm_rotate
	for rotation operands.  Add new SVE operands.
	* aarch64-asm.h (ins_sve_addr_ri_s4): New inserter.
	(ins_sve_quad_index): Likewise.
	(ins_imm_rotate): Split into...
	(ins_imm_rotate1, ins_imm_rotate2): ...these two inserters.
	* aarch64-asm.c (aarch64_ins_imm_rotate): Split into...
	(aarch64_ins_imm_rotate1, aarch64_ins_imm_rotate2): ...these two
	functions.
	(aarch64_ins_sve_addr_ri_s4): New function.
	(aarch64_ins_sve_quad_index): Likewise.
	(do_misc_encoding): Handle "MOV Zn.Q, Qm".
	* aarch64-asm-2.c: Regenerate.
	* aarch64-dis.h (ext_sve_addr_ri_s4): New extractor.
	(ext_sve_quad_index): Likewise.
	(ext_imm_rotate): Split into...
	(ext_imm_rotate1, ext_imm_rotate2): ...these two extractors.
	* aarch64-dis.c (aarch64_ext_imm_rotate): Split into...
	(aarch64_ext_imm_rotate1, aarch64_ext_imm_rotate2): ...these two
	functions.
	(aarch64_ext_sve_addr_ri_s4): New function.
	(aarch64_ext_sve_quad_index): Likewise.
	(aarch64_ext_sve_index): Allow quad indices.
	(do_misc_decoding): Likewise.
	* aarch64-dis-2.c: Regenerate.
	* aarch64-opc.h (FLD_SVE_i3h, FLD_SVE_rot1, FLD_SVE_rot2): New
	aarch64_field_kinds.
	(OPD_F_OD_MASK): Widen by one bit.
	(OPD_F_NO_ZR): Bump accordingly.
	(get_operand_field_width): New function.
	* aarch64-opc.c (fields): Add new SVE fields.
	(operand_general_constraint_met_p): Handle new SVE operands.
	(aarch64_print_operand): Likewise.
	* aarch64-opc-2.c: Regenerate.

gas/
	* doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
	* config/tc-aarch64.c (parse_vector_type_for_operand): Allow .q
	to be used with SVE registers.
	(parse_operands): Handle new SVE operands.
	(aarch64_features): Make "sve" require F16 rather than FP.  Also
	require COMPNUM.
	* testsuite/gas/aarch64/sve.s: Add tests for new instructions.
	Include compnum tests.
	* testsuite/gas/aarch64/sve.d: Update accordingly.
	* testsuite/gas/aarch64/sve-invalid.s: Add tests for new instructions.
	* testsuite/gas/aarch64/sve-invalid.l: Update accordingly.  Also
	update expected output for new FMOV and MOV alternatives.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] symtab.c: Small refactor
@ 2017-02-24 21:09 sergiodj+buildbot
  2017-02-26 13:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-24 21:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 34e4bae972e66c0bcbd382478bbcaffc9b45ac05 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 34e4bae972e66c0bcbd382478bbcaffc9b45ac05

symtab.c: Small refactor

add_symtab_completions does the exact same as the code that it is
replacing.

gdb/ChangeLog:
2017-02-24  Pedro Alves  <palves@redhat.com>

	* symtab.c (make_file_symbol_completion_list_1): Use
	add_symtab_completions.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] ARC naughtiness causing assertion fail at elf-strtab.c:302
@ 2017-02-25  9:00 sergiodj+buildbot
  2017-02-27 17:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-25  9:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 034fed0bbc3541d2a11a839faf4be521843ad954 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 034fed0bbc3541d2a11a839faf4be521843ad954

ARC naughtiness causing assertion fail at elf-strtab.c:302

This patch fixes a number of issues in the ARC backend.

- The ARC size_dynamic_sections was trashing dynamic section contents,
  in particular the .gnu.version_d contents.  Those versions
  definitions are therefore lost so they do not drain from the strtab,
  resulting in assertion failures.
- The code attempting to set DT_TEXTREL was completely bogus.
- The ARC finish_dynamic_sections would segfault on trying to set
  sh_entsize for .rela.plt if that section had been discarded.
- arc_create_dynamic_sections wouldn't have ever created dynamics
  sections, which was just as well since the places it was called were
  way too late to create dynamic sections.  Its usefulness then
  devolved down to finding just one dynamic section.  All the others
  packaged into a struct were unused.
- .interp wasn't set for PIEs.

	* elf32-arc.c (struct dynamic_sections): Delete.
	(enum dyn_section_types): Delete.
	(dyn_section_names): Delete.
	(arc_create_dynamic_sections): Delete.
	(elf_arc_finish_dynamic_sections): Don't call the above.  Don't
	segfault on discarded .rela.plt section.
	(elf_arc_size_dynamic_sections): Formatting.  Don't call
	arc_create_dynamic_sections.  Don't allocate memory for sections
	handled by the generic linker.  Correct code finding relocs in
	read-only sections.  Set SEC_EXCLUDE on zero size .got,
	.got.plt, and .dynbss sections.  Do set .interp for pies.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add missing cnt (popcount) instruction support.
@ 2017-02-26  4:21 sergiodj+buildbot
  2017-02-27 21:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-26  4:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ac189e7bf8865d61b4f5e89a530476f9e4c5c70b ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: ac189e7bf8865d61b4f5e89a530476f9e4c5c70b

Add missing cnt (popcount) instruction support.

	sim/aarch64/
	* simulator.c (popcount): New.
	(do_vec_CNT): New.
	(do_vec_op1): Add do_vec_CNT call.

	sim/testsuite/sim/aarch64/
	* cnt.s: New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add missing smov support, and clean up existing umov support.
@ 2017-02-26  5:34 sergiodj+buildbot
  2017-02-28  1:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-26  5:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 152e1e1bc90030cec9ce8318ab982675b1e90a00 ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 152e1e1bc90030cec9ce8318ab982675b1e90a00

Add missing smov support, and clean up existing umov support.

	sim/aarch64/
	* simulator.c (do_vec_SMOV_into_scalar): New.
	(do_vec_UMOV_into_scalar): Renamed from do_vec_MOV_into_scalar.
	Rewritten.
	(do_vec_UMOV): Merged into do_vec_UMOV_into_scalar and deleted.
	(do_vec_op1): Move do_vec_TRN call and do_vec_UZP call.  Add
	do_vec_SMOV_into_scalar call.  Delete do_vec_MOV_into_scalar and
	do_vec_UMOV calls.  Add do_vec_UMOV_into_scalar call.

	sim/testsuite/sim/aarch64/
	* sumov.s: New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] DWARF-5: Initialization due to a false compiler warning
@ 2017-02-26 16:22 sergiodj+buildbot
  2017-02-28 15:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-26 16:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a49dd8dd482da6a8131752f8312a06aa6599063c ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: a49dd8dd482da6a8131752f8312a06aa6599063c

DWARF-5: Initialization due to a false compiler warning

gcc-6.3.1-1.fc25.x86_64

dwarf2read.c: In function void create_debug_type_hash_table(dwo_file*, dwarf2_section_info*, htab*&, rcuh_kind):
dwarf2read.c:4776:32: error: header.comp_unit_head::type_offset_in_tu.cu_offset::cu_off may be used uninitialized in this function [-Werror=maybe-uninitialized]
dwarf2read.c:4816:21: error: header.comp_unit_head::signature may be used uninitialized in this function [-Werror=maybe-uninitialized]
cc1plus: all warnings being treated as errors

gdb/ChangeLog
2017-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* dwarf2read.c (create_debug_type_hash_table): Initialize
	header.signature and header.type_offset_in_tu.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove MAX_REGISTER_SIZE from remote.c
@ 2017-02-27 10:31 sergiodj+buildbot
  2017-02-28 19:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-27 10:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8e3681243c642d667164bd23ae9a376620da0780 ***

Author: Alan Hayward <alan.hayward@arm.com>
Branch: master
Commit: 8e3681243c642d667164bd23ae9a376620da0780

Remove MAX_REGISTER_SIZE from remote.c

gdb/
	* regcache.c (regcache_raw_update): New function.
	(regcache_raw_read): Move code to regcache_raw_update.
	* regcache.h (regcache_raw_update): New declaration.
	* remote.c (remote_prepare_to_store): Call regcache_raw_update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix segfault in microblaze linker when garbage collection removes a symbol scheduled for a slot in the PLT.
@ 2017-02-27 11:51 sergiodj+buildbot
  2017-02-28 23:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-27 11:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bd757ca7bf5886a4025ca02093fca1b8c5ce11a2 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: bd757ca7bf5886a4025ca02093fca1b8c5ce11a2

Fix segfault in microblaze linker when garbage collection removes a symbol scheduled for a slot in the PLT.

	PR ld/21180
	* elf32-microblaze.c (microblaze_elf_finish_dynamic_symbol): Avoid
	generating a seg-fault when encountering a symbol that has been
	deleted by garbage collection.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix array out of bound access
@ 2017-02-27 17:42 sergiodj+buildbot
  2017-03-01  4:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-27 17:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2123df0ebfc7ade46784ef412226490d59f8ce05 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 2123df0ebfc7ade46784ef412226490d59f8ce05

Fix array out of bound access

ASAN reports the following error,

(gdb) PASS: gdb.fortran/vla-ptr-info.exp: continue to breakpoint: pvla-associated
print &pvla^M
=================================================================^M
^[[1m^[[31m==14331==ERROR: AddressSanitizer: global-buffer-overflow on address 0x000000ea569f at pc 0x0000008eb546 bp 0x7ffde0c1dc70 sp 0x7ffde0c1dc60^M
^[[1m^[[0m^[[1m^[[34mREAD of size 1 at 0x000000ea569f thread T0^[[1m^[[0m^M
    #0 0x8eb545 in f_print_type(type*, char const*, ui_file*, int, int, type_print_options const*) ../../binutils-gdb/gdb/f-typeprint.c:89^M
    #1 0xb611e2 in type_print(type*, char const*, ui_file*, int) ../../binutils-gdb/gdb/typeprint.c:365^M
    #2 0x7b3471 in c_value_print(value*, ui_file*, value_print_options const*) ../../binutils-gdb/gdb/c-valprint.c:650^M
    #3 0xb99517 in value_print(value*, ui_file*, value_print_options const*) ../../binutils-gdb/gdb/valprint.c:1233^M
    #4 0xa42be8 in print_formatted ../../binutils-gdb/gdb/printcmd.c:321^M
    #5 0xa46ac9 in print_value(value*, format_data const*) ../../binutils-gdb/gdb/printcmd.c:1233^M
    #6 0xa46d82 in print_command_1 ../../binutils-gdb/gdb/printcmd.c:1261^M
    #7 0xa46e3e in print_command ../../binutils-gdb/gdb/printcmd.c:1267

on this line of code

      demangled_args = varstring[strlen (varstring) - 1] == ')';

because varstring is an empty string and strlen () is 0, so "strlen () - 1"
is definitely out of the bound of "varstring",

(gdb) bt 10
    at /home/yao/SourceCode/gnu/gdb/git/gdb/f-typeprint.c:56
    at /home/yao/SourceCode/gnu/gdb/git/gdb/typeprint.c:365
    at /home/yao/SourceCode/gnu/gdb/git/gdb/c-valprint.c:650
    at /home/yao/SourceCode/gnu/gdb/git/gdb/valprint.c:1236

This patch adds a pre-check that varstring is empty or not.

gdb:

2017-02-27  Yao Qi  <yao.qi@linaro.org>

	* f-typeprint.c (f_print_type): Check "varstring" is empty first.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use range-based for loop in remote_add_target_side_condition
@ 2017-02-27 18:58 sergiodj+buildbot
  2017-03-01  8:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-27 18:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8362122330c97c8c4a15da4e7ba8aa29f0c11157 ***

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

Use range-based for loop in remote_add_target_side_condition

Using a range based for loop makes this code a bit more clean and
readable.

The comment above is clearly erroneous, so I've updated it.

gdb/ChangeLog:

	* remote.c (remote_add_target_side_condition): Use range-based
	for loop.  Update comment.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove struct keyword from range-based for loop
@ 2017-02-27 19:30 sergiodj+buildbot
  2017-03-01 12:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-27 19:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d538e36decd5628c084dbd5a7de13719b8b92121 ***

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

Remove struct keyword from range-based for loop

The previous patch introduced this error with recent-ish GCCs:

../../binutils-gdb/gdb/remote.c: In function int remote_add_target_side_condition(gdbarch*, bp_target_info*, char*, char*):
../../binutils-gdb/gdb/remote.c:9668:8: error: types may not be defined in a for-range-declaration [-Werror]
   for (struct agent_expr *aexpr : bp_tgt->conditions)
        ^~~~~~

Removing the struct keyword fixes the error.

gdb/ChangeLog:

	* remote.c (remote_add_target_side_condition): Remove "struct"
	keyword from range-based for loop.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS/BFD: Also handle `jalr $0, $25' with R_MIPS_JALR
@ 2017-02-28  0:57 sergiodj+buildbot
  2017-03-01 15:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-28  0:57 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0e39210161e7c547ab53afb86997303e24a42c0c ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 0e39210161e7c547ab53afb86997303e24a42c0c

MIPS/BFD: Also handle `jalr $0, $25' with R_MIPS_JALR

Interpret the `jalr $0, $25' instruction encoding with an R_MIPS_JALR
relocation attached as an alias to `jr $25' and convert the jump to an
equivalent branch where possible, consequently covering the MIPSr6
architecture for the purpose of this optimization too.

	bfd/
	* elfxx-mips.c (mips_elf_perform_relocation): Also handle the
	`jalr $0, $25' instruction encoding.

	gas/
	* testsuite/gas/mips/jalr4.s: Add `jalr $0, $25' instructions.
	* testsuite/gas/mips/jalr4.d: Adjust accordingly.  Remove MIPSr6
	encoding patterns.
	* testsuite/gas/mips/jalr4-n64.d: Likewise.
	* testsuite/gas/mips/mipsr6@jalr4.d: New test.
	* testsuite/gas/mips/mipsr6@jalr4-n32.d: New test.
	* testsuite/gas/mips/mipsr6@jalr4-n64.d: New test.

	ld/
	* testsuite/ld-mips-elf/jalr4.dd: Adjust for `jalr $0, $25'
	instructions.
	* testsuite/ld-mips-elf/jalr4-r6.dd: New test.
	* testsuite/ld-mips-elf/mips-elf.exp: Run the new test.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Don't make dynamic .data.rel.ro SEC_READONLY
@ 2017-02-28  3:19 sergiodj+buildbot
  2017-03-01 20:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-28  3:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT afbf7e8e3aa24152ad58e430c8d37d82e5751f1c ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: afbf7e8e3aa24152ad58e430c8d37d82e5751f1c

Don't make dynamic .data.rel.ro SEC_READONLY

I'd made this dynamic section read-only so a flag test distinguished
it from .dynbss, but like any other .data.rel.ro section it really
should be marked read-write.  (It is read-only after relocation, not
before.)  When using the standard linker scripts this usually doesn't
matter since the output section is among other read-write sections and
not page aligned.  However, it might matter in the extraordinary case
of the dynamic section being the only .data.rel.ro section with the
output section just happening to be page aligned and a multiple of a
page in size.  In that case the output section would be read-only, and
live it its own read-only PT_LOAD segment, which is incorrect.

	* elflink.c (_bfd_elf_create_dynamic_sections): Don't make
	dynamic .data.rel.ro read-only.
	* elf32-arm.c (elf32_arm_finish_dynamic_symbol): Compare section
	rather than section flags when deciding where copy reloc goes.
	* elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise.
	* elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Likewise.
	* elf32-i386.c (elf_i386_finish_dynamic_symbol): Likewise.
	* elf32-metag.c (elf_metag_finish_dynamic_symbol): Likewise.
	* elf32-microblaze.c (microblaze_elf_finish_dynamic_symbol): Likewise.
	* elf32-nios2.c (nios2_elf32_finish_dynamic_symbol): Likewise.
	* elf32-or1k.c (or1k_elf_finish_dynamic_symbol): Likewise.
	* elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Likewise.
	* elf32-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
	* elf32-tic6x.c (elf32_tic6x_finish_dynamic_symbol): Likewise.
	* elf32-tilepro.c (tilepro_elf_finish_dynamic_symbol): Likewise.
	* elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Likewise.
	* elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
	* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.
	* elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_symbol): Likewise.
	* elfnn-riscv.c (riscv_elf_finish_dynamic_symbol): Likewise.
	* elfxx-mips.c (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
	* elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
	* elfxx-tilegx.c (tilegx_elf_finish_dynamic_symbol): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PowerPC addpcis fix
@ 2017-02-28  4:22 sergiodj+buildbot
  2017-03-02  0:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-28  4:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7ba71655a425ac44721f97cc0ad7922ca15bce43 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 7ba71655a425ac44721f97cc0ad7922ca15bce43

PowerPC addpcis fix

This came up because I was looking at ld/tmpdir/addpcis.o and noticed
the odd addends on REL16DX_HA.  They ought to both be -4.  The error
crept in due REL16DX_HA howto being pc-relative (as indeed it should
be), and code at gas/write.c:1001 after this comment
	      /* Make it pc-relative.  If the back-end code has not
		 selected a pc-relative reloc, cancel the adjustment
		 we do later on all pc-relative relocs.  */
*not* cancelling the pc-relative adjustment.  So I've made a dummy
non-relative split reloc so that the generic code handles this, rather
than attempting to add hacks later in md_apply_fix which would not be
very robust.  Having the new internal reloc also makes it easy to
support

 addpcis rx,sym@ha

as an equivalent to

 addpcis rx,(sym-0f)@ha
0:

The patch also fixes overflow checking, which must test whether the
addi will overflow too since @l relocs don't have any overflow check.

Lastly, since I was poking at md_apply_fix, I arranged to have the
generic gas/write.c code emit errors for subtraction expressions where
we lack reloc support.

include/
	* elf/ppc64.h (R_PPC64_16DX_HA): New.  Expand fake reloc comment.
	* elf/ppc.h (R_PPC_16DX_HA): Likewise.
bfd/
	* reloc.c (BFD_RELOC_PPC_16DX_HA): New.
	* elf64-ppc.c (ppc64_elf_howto_raw <R_PPC64_16DX_HA>): New howto.
	(ppc64_elf_reloc_type_lookup): Translate new bfd reloc.
	(ppc64_elf_ha_reloc): Correct overflow test on REL16DX_HA.
	(ppc64_elf_relocate_section): Likewise.
	* elf32-ppc.c (ppc_elf_howto_raw <R_PPC_16DX_HA>): New howto.
	(ppc_elf_reloc_type_lookup): Translate new bfd reloc.
	(ppc_elf_check_relocs): Handle R_PPC_16DX_HA to pacify gcc.
	* libbfd.h: Regenerate.
	* bfd-in2.h: Regenerate.
gas/
	* config/tc-ppc.c (md_assemble): Use BFD_RELOC_PPC_16DX_HA for addpcis.
	(md_apply_fix): Remove fx_subsy check.  Move code converting to
	pcrel reloc earlier and handle BFD_RELOC_PPC_16DX_HA.  Remove code
	emiiting errors on seeing fx_pcrel set on unexpected relocs, as
	that is done now by the generic code via..
	* config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): ..this. Define.
	(TC_VALIDATE_FIX_SUB): Define.
ld/
	* testsuite/ld-powerpc/addpcis.d: Define ext1 and ext2 at
	limits of addpcis range.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Nios2 dynobj handling fixes
@ 2017-02-28  5:23 sergiodj+buildbot
  2017-03-02  3:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-28  5:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4ef97a1b459849ad190244c36b36d45bdd078030 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 4ef97a1b459849ad190244c36b36d45bdd078030

Nios2 dynobj handling fixes

A number of places in elf32-nios.c created dynamic sections but didn't
set the hash table dynobj.  That meant we could have duplicate dynamic
sections connected to a number of bfds, so size_dynamic_sections
didn't properly discard or allocate contents.

Also, the entire set of dynamic sections was created in check_relocs
on seeing GOT relocs, when only .got related sections are needed,
probably done to hide segfaults later in finish_dynamic_sections.

The patch fixes these issues and makes the assembler emit errors when
nios2 lacks the necessary pc-relative relocs for subtraction
expressions, rather than silently generating bad code.
eg. ld-elf/merge.  I've also tidied uses of elf32_nios2_hash_table and
elf_hash_table.

bfd/
	PR 20995
	* elf32-nios2.c (nios2_elf32_relocate_section): Use htab
	rather than elf32_nios2_hash_table or elf_hash_table.
	(create_got_section): Likewise.
	(nios2_elf32_finish_dynamic_symbol): Likewise.
	(nios2_elf32_adjust_dynamic_symbol): Likewise.
	(nios2_elf32_size_dynamic_sections): Likewise.
	(nios2_elf32_check_relocs): Delete dynobj, sgot, and srelgot
	vars.  Use htab equivalents directly instead.  Don't create
	all dynamic sections on needing just the GOT.  Use a goto
	rather than a fall-through with reloc test.  Ensure
	htab->dynobj is set when making dynamic sreloc section.
	(nios2_elf32_finish_dynamic_sections): Delete dynobj, use htab
	equivalent directly instead.  Don't segfault on looking for
	.dynamic when dynamic sections have not been created.  Don't
	segfault on .got.plt being discarded.
	(nios2_elf32_size_dynamic_sections): Delete plt and got vars.
	Don't set "relocs" on .rela.plt.  Do handle .sbss.  Delete
	fixme and another not so relevant comment.
	(nios2_elf_add_symbol_hook): Delete dynobj var.  If not
	already set, set hash table dynobj on creating .sbss.
gas/
	* config/tc-nios2.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
ld/
	* testsuite/ld-elf/merge.d: xfail for nios.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: fix handling of 64-bit operand size VPCMPESTR{I, M}
@ 2017-02-28 10:17 sergiodj+buildbot
  2017-03-02  7:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-28 10:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 15c7c1d8a535000e94ed36f4259d0ede32001408 ***

Author: Jan Beulich <jbeulich@novell.com>
Branch: master
Commit: 15c7c1d8a535000e94ed36f4259d0ede32001408

x86: fix handling of 64-bit operand size VPCMPESTR{I,M}

Just like REX.W affects operand size of the implicit rAX/rDX inputs to
PCMPESTR{I,M}, VEX.W does for VPCMPESTR{I,M}. Allow Q or L suffixes on
the instructions.

Similarly the disassembler needs to be adjusted to no longer require
VEX.W to be zero for the instructions to be valid, and to emit proper
suffixes.

Note, however, that this doesn't address the problem of there being no
way to control (at least) {,E}VEX.W for 32- or 16-bit code. Nor does it
address the problem of the many WIG instructions not getting properly
disassembled when VEX.W=1.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] GDB: Add support for the new set/show disassembler-options commands.
@ 2017-02-28 18:48 sergiodj+buildbot
  2017-03-02 15:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-02-28 18:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 65b48a81404cb058c75c562f7dfdeb74f07eba72 ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: 65b48a81404cb058c75c562f7dfdeb74f07eba72

GDB: Add support for the new set/show disassembler-options commands.

This commit adds support to GDB so that it can modify the disassembler-options
value that is passed to the disassembler, similar to objdump's -M option.
Currently, the only supported targets are ARM, PowerPC and S/390, but
adding support for a new target(s) is not difficult.

include/
	* dis-asm.h (disasm_options_t): New typedef.
	(parse_arm_disassembler_option): Remove prototype.
	(set_arm_regname_option): Likewise.
	(get_arm_regnames): Likewise.
	(get_arm_regname_num_options): Likewise.
	(disassemble_init_s390): New prototype.
	(disassembler_options_powerpc): Likewise.
	(disassembler_options_arm): Likewise.
	(disassembler_options_s390): Likewise.
	(remove_whitespace_and_extra_commas): Likewise.
	(disassembler_options_cmp): Likewise.
	(next_disassembler_option): New inline function.
	(FOR_EACH_DISASSEMBLER_OPTION): New macro.

opcodes/
	* disassemble.c Include "safe-ctype.h".
	(disassemble_init_for_target): Handle s390 init.
	(remove_whitespace_and_extra_commas): New function.
	(disassembler_options_cmp): Likewise.
	* arm-dis.c: Include "libiberty.h".
	(NUM_ELEM): Delete.
	(regnames): Use long disassembler style names.
	Add force-thumb and no-force-thumb options.
	(NUM_ARM_REGNAMES): Rename from this...
	(NUM_ARM_OPTIONS): ...to this.  Use ARRAY_SIZE.
	(get_arm_regname_num_options): Delete.
	(set_arm_regname_option): Likewise.
	(get_arm_regnames): Likewise.
	(parse_disassembler_options): Likewise.
	(parse_arm_disassembler_option): Rename from this...
	(parse_arm_disassembler_options): ...to this.  Make static.
	Use new FOR_EACH_DISASSEMBLER_OPTION macro to scan over options.
	(print_insn): Use parse_arm_disassembler_options.
	(disassembler_options_arm): New function.
	(print_arm_disassembler_options): Handle updated regnames.
	* ppc-dis.c: Include "libiberty.h".
	(ppc_opts): Add "32" and "64" entries.
	(ppc_parse_cpu): Use ARRAY_SIZE and disassembler_options_cmp.
	(powerpc_init_dialect): Add break to switch statement.
	Use new FOR_EACH_DISASSEMBLER_OPTION macro.
	(disassembler_options_powerpc): New function.
	(print_ppc_disassembler_options): Use ARRAY_SIZE.
	Remove printing of "32" and "64".
	* s390-dis.c: Include "libiberty.h".
	(init_flag): Remove unneeded variable.
	(struct s390_options_t): New structure type.
	(options): New structure.
	(init_disasm): Rename from this...
	(disassemble_init_s390): ...to this.  Add initializations for
	current_arch_mask and option_use_insn_len_bits_p.  Remove init_flag.
	(print_insn_s390): Delete call to init_disasm.
	(disassembler_options_s390): New function.
	(print_s390_disassembler_options): Print using information from
	struct 'options'.
	* po/opcodes.pot: Regenerate.

binutils/
	* objdump.c (main): Use remove_whitespace_and_extra_commas.

gdb/
	* NEWS: Mention new set/show disassembler-options commands.
	* doc/gdb.texinfo: Document new set/show disassembler-options commands.
	* disasm.c: Include "arch-utils.h", "gdbcmd.h" and "safe-ctype.h".
	(prospective_options): New static variable.
	(gdb_disassembler::gdb_disassembler): Initialize
	m_di.disassembler_options.
	(gdb_buffered_insn_length_init_dis): Initilize di->disassembler_options.
	(get_disassembler_options): New function.
	(set_disassembler_options): Likewise.
	(set_disassembler_options_sfunc): Likewise.
	(show_disassembler_options_sfunc): Likewise.
	(disassembler_options_completer): Likewise.
	(_initialize_disasm): Likewise.
	* disasm.h (get_disassembler_options): New prototype.
	(set_disassembler_options): Likewise.
	* gdbarch.sh (gdbarch_disassembler_options): New variable.
	(gdbarch_verify_disassembler_options): Likewise.
	* gdbarch.c: Regenerate.
	* gdbarch.h: Likewise.
	* arm-tdep.c (num_disassembly_options): Delete.
	(set_disassembly_style): Likewise.
	(arm_disassembler_options): New static variable.
	(set_disassembly_style_sfunc): Convert short style name into long
	option name.  Call set_disassembler_options.
	(show_disassembly_style_sfunc): New function.
	(arm_gdbarch_init): Call set_gdbarch_disassembler_options and
	set_gdbarch_verify_disassembler_options.
	(_initialize_arm_tdep): Delete regnames variable and update callers.
	(arm_disassembler_options): Initialize.
	(disasm_options): New variable.
	(num_disassembly_options): Rename from this...
	(num_disassembly_styles): ...to this.  Compute by scanning through
	disasm_options.
	(valid_disassembly_styles): Initialize using disasm_options.
	Remove calls to parse_arm_disassembler_option, get_arm_regnames and
	set_arm_regname_option.
	Pass show_disassembly_style_sfunc to the "disassembler" setshow command.
	* rs6000-tdep.c (powerpc_disassembler_options): New static variable.
	(rs6000_gdbarch_init): Call set_gdbarch_disassembler_options and
	set_gdbarch_verify_disassembler_options.
	* s390-tdep.c (s390_disassembler_options): New static variable.
	(s390_gdbarch_init):all set_gdbarch_disassembler_options and
	set_gdbarch_verify_disassembler_options.

gdb/testsuite/
	* gdb.arch/powerpc-power.exp: Delete test.
	* gdb.arch/powerpc-power.s: Likewise.
	* gdb.disasm/disassembler-options.exp: New test.
	* gdb.arch/powerpc-altivec.exp: Likewise.
	* gdb.arch/powerpc-altivec.s: Likewise.
	* gdb.arch/powerpc-altivec2.exp: Likewise.
	* gdb.arch/powerpc-altivec2.s: Likewise.
	* gdb.arch/powerpc-altivec3.exp: Likewise.
	* gdb.arch/powerpc-altivec3.s: Likewise.
	* gdb.arch/powerpc-power7.exp: Likewise.
	* gdb.arch/powerpc-power7.s: Likewise.
	* gdb.arch/powerpc-power8.exp: Likewise.
	* gdb.arch/powerpc-power8.s: Likewise.
	* gdb.arch/powerpc-power9.exp: Likewise.
	* gdb.arch/powerpc-power9.s: Likewise.
	* gdb.arch/powerpc-vsx.exp: Likewise.
	* gdb.arch/powerpc-vsx.s: Likewise.
	* gdb.arch/powerpc-vsx2.exp: Likewise.
	* gdb.arch/powerpc-vsx2.s: Likewise.
	* gdb.arch/powerpc-vsx3.exp: Likewise.
	* gdb.arch/powerpc-vsx3.s: Likewise.
	* gdb.arch/arm-disassembler-options.exp: Likewise.
	* gdb.arch/powerpc-disassembler-options.exp: Likewise.
	* gdb.arch/s390-disassembler-options.exp: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add support for displaying and merging GNU_BUILD_NOTEs.
@ 2017-03-01 11:25 sergiodj+buildbot
  2017-03-02 19:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-01 11:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9ef920e933bf2ea228c909cf81636e6d9577e51e ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 9ef920e933bf2ea228c909cf81636e6d9577e51e

Add support for displaying and merging GNU_BUILD_NOTEs.

include	* elf/common.h (SHF_GNU_BUILD_NOTE): Define.
	(NT_GNU_PROPERTY_TYPE_0): Define.
	(NT_GNU_BUILD_ATTRIBUTE_OPEN): Define.
	(NT_GNU_BUILD_ATTRIBUTE_FUN): Define.
	(GNU_BUILD_ATTRIBUTE_TYPE_NUMERIC): Define.
	(GNU_BUILD_ATTRIBUTE_TYPE_STRING): Define.
	(GNU_BUILD_ATTRIBUTE_TYPE_BOOL_TRUE): Define.
	(GNU_BUILD_ATTRIBUTE_TYPE_BOOL_FALSE): Define.
	(GNU_BUILD_ATTRIBUTE_VERSION): Define.
	(GNU_BUILD_ATTRIBUTE_STACK_PROT): Define.
	(GNU_BUILD_ATTRIBUTE_RELRO): Define.
	(GNU_BUILD_ATTRIBUTE_STACK_SIZE): Define.
	(GNU_BUILD_ATTRIBUTE_TOOL): Define.
	(GNU_BUILD_ATTRIBUTE_ABI): Define.
	(GNU_BUILD_ATTRIBUTE_PIC): Define.
	(NOTE_GNU_PROPERTY_SECTION_NAME): Define.
	(GNU_BUILD_ATTRS_SECTION_NAME): Define.
	(GNU_PROPERTY_STACK_SIZE): Define.
	(GNU_PROPERTY_NO_COPY_ON_PROTECTED): Define.
	(GNU_PROPERTY_X86_ISA_1_USED): Define.
	(GNU_PROPERTY_X86_ISA_1_NEEDED): Define.
	(GNU_PROPERTY_X86_ISA_1_486): Define.
	(GNU_PROPERTY_X86_ISA_1_586): Define.
	(GNU_PROPERTY_X86_ISA_1_686): Define.
	(GNU_PROPERTY_X86_ISA_1_SSE): Define.
	(GNU_PROPERTY_X86_ISA_1_SSE2): Define.
	(GNU_PROPERTY_X86_ISA_1_SSE3): Define.
	(GNU_PROPERTY_X86_ISA_1_SSSE3): Define.
	(GNU_PROPERTY_X86_ISA_1_SSE4_1): Define.
	(GNU_PROPERTY_X86_ISA_1_SSE4_2): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX2): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX512F): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX512CD): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX512ER): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX512PF): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX512VL): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX512DQ): Define.
	(GNU_PROPERTY_X86_ISA_1_AVX512BW): Define.

binutils* readelf.c (get_note_type): Add support for GNU_BUILD_NOTEs.
	(get_gnu_elf_note_type): Add support for GNU_PROPERTY_NOTEs.
	(decode_x86_isa): New function.
	(print_gnu_property_note): New function.
	(print_gnu_note): Handle GNU_PROPERTY_NOTEs.
	(print_gnu_build_attribute_description): New function.
	(print_gnu_build_attribute_name): New function.
	(process_note): Add support for GNU_BUILD_NOTEs.
	* objcopy.c (--merge-notes): New command line option.
	(copy_options): Add merge-notes.
	(copy_usage): Likewise.
	(is_merge_note_section): New function.
	(merge_gnu_build_notes): New function.
	(copy_object): Merge note sections if asked to do so.
	(skip_section): Add skip_copy parameter.  Add support for skipping
	merged note sections.
	(copy_relocations_in_section): Update call to skip_section.
	(copy_section): Likewise.
	(copy_main): Add support for merge-notes option.
	* doc/binutils.texi: Document the new option to objcopy.
	* NEWS: Mention the new feature.
	* testsuite/binutils-all/note-2-32.d: New test.  Checks note
	merging on 32-bit targets.
	* testsuite/binutils-all/note-2-32.s: New test source file.
	* testsuite/binutils-all/note-2-64.d: New test.  Like note-2-32.d
	but for 64-bit targets.
	* testsuite/binutils-all/note-2-64.s: New test source file.
	* testsuite/binutils-all/objcopy.exp: Run the new test.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Sync libiberty sources with GCC mainline.
@ 2017-03-01 15:42 sergiodj+buildbot
  2017-03-03  0:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-01 15:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 134e805d3e18cf700a5046912b8dca9301fe6f2e ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 134e805d3e18cf700a5046912b8dca9301fe6f2e

Sync libiberty sources with GCC mainline.

Brings in:
  2017-01-18  Markus Trippelsdorf  <markus@trippelsdorf.de>

	PR PR c++/70182
	* cp-demangle.c (d_unqualified_name): Handle "on" for
	operator names.
	* testsuite/demangle-expected: Add tests.

 2017-01-18  Markus Trippelsdorf  <markus@trippelsdorf.de>

	PR c++/77489
	* cp-demangle.c (d_discriminator): Handle discriminator >= 10.
	* testsuite/demangle-expected: Add tests for discriminator.

 2016-12-13  Jakub Jelinek  <jakub@redhat.com>

	PR c++/78761
	* cp-demangle.c (cplus_demangle_type): Demangle Dc as decltype(auto).
	* testsuite/demangle-expected: Add test for decltype(auto).


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PowerPC VLE typo fix
@ 2017-03-02  0:24 sergiodj+buildbot
  2017-03-03  4:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-02  0:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 673cff9b8b3105f74ce97c202a0727f9e83e56e6 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 673cff9b8b3105f74ce97c202a0727f9e83e56e6

PowerPC VLE typo fix

	* elf32-ppc.c (ppc_elf_vle_split16): Correct insn mask typo.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Disable warning message about a program header with no associated sections when that header's file size is non-zero.
@ 2017-03-02 15:11 sergiodj+buildbot
  2017-03-03  8:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-02 15:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f98450c6eee6878ebf5b052d231758026d250427 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: f98450c6eee6878ebf5b052d231758026d250427

Disable warning message about a program header with no associated sections when that header's file size is non-zero.

	PR ld/21212
	* elf.c (rewrite_elf_program_header): Do not issue a warning for
	empty segments which have a non-zero filesz.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fetch lazy value before calling val_print
@ 2017-03-03 17:35 sergiodj+buildbot
  2017-03-03 20:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-03 17:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7d45f3df96ca108f6d7d0c5e4279e22b820145fa ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 7d45f3df96ca108f6d7d0c5e4279e22b820145fa

Fetch lazy value before calling val_print

As reported in PR 21165,

(gdb) info locals^M
gv = /home/yao/SourceCode/gnu/gdb/git/gdb/value.c:372: internal-error: int value_bits_any_optimized_out(const value*, int, int): Assertion `!value->lazy' failed.^M
A problem internal to GDB has been detected,^M
further debugging may prove unreliable.^M
Quit this debugging session? (y or n) FAIL: gdb.ada/info_locals_renaming.exp: info locals (GDB internal error)
Resyncing due to internal error.

This internal error is caused by e8b24d9 (Remove parameter valaddr from
la_val_print).  Commit e8b24d9 removes some calls to
value_contents_for_printing, but value_fetch_lazy is not called, so the
internal error above is triggered.  This patch adds value_fetch_lazy
call before val_print.

gdb:

2017-03-03  Yao Qi  <yao.qi@linaro.org>

	PR gdb/21165
	* ada-valprint.c (ada_val_print_ref): Call value_fetch_lazy if
	value is lazy.
	* valprint.c (common_val_print): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use range-based for loop in remote_add_target_side_commands
@ 2017-03-03 18:22 sergiodj+buildbot
  2017-03-03 23:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-03 18:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT df97be551faa262732128493c8ac159ae4b7f6d3 ***

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

Use range-based for loop in remote_add_target_side_commands

gdb/ChangeLog:

	* remote.c (remote_add_target_side_commands): Use range-based
	for loop.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix umulh and smulh bugs. Fix bugs in last week's sumov.s testsuite.
@ 2017-03-03 21:27 sergiodj+buildbot
  2017-03-04  3:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-03 21:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8ecbe595e69a84a0e3053884832d63af37113680 ***

Author: Jim Wilson <jim.wilson@linaro.org>
Branch: master
Commit: 8ecbe595e69a84a0e3053884832d63af37113680

Fix umulh and smulh bugs.  Fix bugs in last week's sumov.s testsuite.

	sim/aarch64/
	* simulator.c (mul64hi): Shift carry left by 32.
	(smulh): Change signum to negate.  If negate, invert result, and add
	carry bit if low part of multiply result is zero.

	sim/testsuite/sim/aarch64/
	* sumov.s: Correct compare test values.
	* sumulh.s: New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Align eh_frame FDEs according to their encoding
@ 2017-03-05  4:44 sergiodj+buildbot
  2017-03-05  7:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-05  4:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2e0ce1c84d328bde4dca24b7cfc8b9c033ed271c ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 2e0ce1c84d328bde4dca24b7cfc8b9c033ed271c

Align eh_frame FDEs according to their encoding

bfd/
	* elf-bfd.h (struct eh_cie_fde): Add u.cie.per_encoding_aligned8.
	* elf-eh-frame.c (size_of_output_cie_fde): Don't align here.
	(next_cie_fde_offset): New function.
	(_bfd_elf_parse_eh_frame): Set u.cie.per_encoding_aligned8.
	(_bfd_elf_discard_section_eh_frame): Align zero terminator to
	four bytes.  Align CIEs to four or eight bytes depending on
	per_encoding_aligned8.  Align FDEs according to their encoding.
	Pad last FDE to output section alignment.
	(_bfd_elf_write_section_eh_frame): Adjust to suit.  Remove
	assertion.
	* elf64-ppc.c (glink_eh_frame_cie): Delete padding.
	(ppc64_elf_size_stubs): Pad glink eh_frame as per elf-eh-frame.c.
	(ppc64_elf_finish_dynamic_sections): Adjust to suit.
ld/
	* testsuite/ld-elf/eh3.d: Adjust for eh_frame alignment change.
	* testsuite/ld-elf/eh6.d: Likewise.
	* testsuite/ld-alpha/tlsbin.dd: Likewise.
	* testsuite/ld-alpha/tlsbin.td: Likewise.
	* testsuite/ld-alpha/tlsbinr.dd: Likewise.
	* testsuite/ld-alpha/tlspic.dd: Likewise.
	* testsuite/ld-alpha/tlspic.rd: Likewise.
	* testsuite/ld-alpha/tlspic.sd: Likewise.
	* testsuite/ld-alpha/tlspic.td: Likewise.
	* testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise.
	* testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise.
	* testsuite/ld-mips-elf/eh-frame3.d: Likewise.
	* testsuite/ld-x86-64/pr20830a.d: Likewise.
	* testsuite/ld-x86-64/pr21038a.d: Likewise.
	* testsuite/ld-x86-64/pr21038b.d: Likewise.
	* testsuite/ld-x86-64/pr21038c.d: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove const in xtensa-linux-nat.c:fetch_gregs
@ 2017-03-06 21:27 sergiodj+buildbot
  2017-03-06 23:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-06 21:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d274ecf4ddf76768af57e27f654b9ce6784b391c ***

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

Remove const in xtensa-linux-nat.c:fetch_gregs

Fixes:

/home/emaisin/src/binutils-gdb/gdb/xtensa-linux-nat.c: In function 'void fetch_gregs(regcache*, ptid_t, int)':
/home/emaisin/src/binutils-gdb/gdb/xtensa-linux-nat.c:178:23: error: uninitialized const 'regs' [-fpermissive]
   const gdb_gregset_t regs;
                       ^

gdb/ChangeLog:

	* xtensa-linux-nat.c (fetch_gregs): Remove const.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add support for Intel CET instructions
@ 2017-03-06 23:51 sergiodj+buildbot
  2017-03-07  3:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-06 23:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 603555e563725616246912711419637add54c961 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 603555e563725616246912711419637add54c961

Add support for Intel CET instructions

Support Intel Control-flow Enforcement Technology (CET) instructions:

https://software.intel.com/sites/default/files/managed/4d/2a/control-flow-enforcement-technology-preview.pdf

gas/

	* config/tc-i386.c (cpu_arch): Add .cet.
	* doc/c-i386.texi: Document cet.
	* testsuite/gas/i386/cet-intel.d: New file.
	* testsuite/gas/i386/cet.d: Likewise.
	* testsuite/gas/i386/cet.s: Likewise.
	* testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
	* testsuite/gas/i386/x86-64-cet.d: Likewise.
	* testsuite/gas/i386/x86-64-cet.s: Likewise.
	* testsuite/gas/i386/i386.exp: Run Intel CET tests.

opcodes/

	* i386-dis.c (REG_0F1E_MOD_3): New enum.
	(MOD_0F1E_PREFIX_1): Likewise.
	(MOD_0F38F5_PREFIX_2): Likewise.
	(MOD_0F38F6_PREFIX_0): Likewise.
	(RM_0F1E_MOD_3_REG_7): Likewise.
	(PREFIX_MOD_0_0F01_REG_5): Likewise.
	(PREFIX_MOD_3_0F01_REG_5_RM_1): Likewise.
	(PREFIX_MOD_3_0F01_REG_5_RM_2): Likewise.
	(PREFIX_0F1E): Likewise.
	(PREFIX_MOD_0_0FAE_REG_5): Likewise.
	(PREFIX_0F38F5): Likewise.
	(dis386_twobyte): Use PREFIX_0F1E.
	(reg_table): Add REG_0F1E_MOD_3.
	(prefix_table): Add PREFIX_MOD_0_0F01_REG_5,
	PREFIX_MOD_3_0F01_REG_5_RM_1, PREFIX_MOD_3_0F01_REG_5_RM_2,
	PREFIX_0F1E, PREFIX_MOD_0_0FAE_REG_5 and PREFIX_0F38F5.  Update
	PREFIX_0FAE_REG_6 and PREFIX_0F38F6.
	(three_byte_table): Use PREFIX_0F38F5.
	(mod_table): Use PREFIX_MOD_0_0F01_REG_5, PREFIX_MOD_0_0FAE_REG_5.
	Add MOD_0F1E_PREFIX_1, MOD_0F38F5_PREFIX_2, MOD_0F38F6_PREFIX_0.
	(rm_table): Add MOD_0F38F5_PREFIX_2, MOD_0F38F6_PREFIX_0,
	RM_0F1E_MOD_3_REG_7.  Use PREFIX_MOD_3_0F01_REG_5_RM_1 and
	PREFIX_MOD_3_0F01_REG_5_RM_2.
	* i386-gen.c (cpu_flag_init): Add CPU_CET_FLAGS.
	(cpu_flags): Add CpuCET.
	* i386-opc.h (CpuCET): New enum.
	(CpuUnused): Commented out.
	(i386_cpu_flags): Add cpucet.
	* i386-opc.tbl: Add Intel CET instructions.
	* i386-init.h: Regenerated.
	* i386-tbl.h: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PowerPC64 abort due to dynamic relocs on hidden undefweak
@ 2017-03-07  2:46 sergiodj+buildbot
  2017-03-07  7:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-07  2:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b1b07054c08eea65ba8d1a9f771796d686f337e5 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: b1b07054c08eea65ba8d1a9f771796d686f337e5

PowerPC64 abort due to dynamic relocs on hidden undefweak

ppc64_elf_relocate_section lacked a check which meant that it emitted
dynamic relocs against a hidden undefweak symbol for which no dynamic
relocs had been allocated.

	PR 21224
	PR 20519
	* elf64-ppc.c (ppc64_elf_relocate_section): Add missing
	dyn_relocs check.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] amd64-mpx: initialize BND register before performing inferior calls.
@ 2017-03-07 13:27 sergiodj+buildbot
  2017-03-07 16:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-07 13:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4a612d6f67d605f480ce7eec7fd9ca1cd1087b35 ***

Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Branch: master
Commit: 4a612d6f67d605f480ce7eec7fd9ca1cd1087b35

amd64-mpx: initialize BND register before performing inferior calls.

This patch initializes the BND registers before executing the inferior
call.  BND registers can be in arbitrary values at the moment of the
inferior call.  In case the function being called uses as part of the
parameters BND register, e.g. when passing a pointer as parameter, the
current value of the register will be used.  This can cause boundary
violations that are not due to a real bug or even desired by the user.
In this sense the best to be done is set the BND registers to allow
access to the whole memory, i.e. initialized state, before pushing the
inferior call.

2017-03-07  Walfred Tedeschi <walfred.tedeschi@intel.com>

gdb/ChangeLog:

	* i387-tdep.h (i387_reset_bnd_regs): Add function definition.
	* i387-tdep.c (i387_reset_bnd_regs): Add function implementation.
	* i386-tdep.c (i386_push_dummy_call): Call i387_reset_bnd_regs.
	* amd64-tdep (amd64_push_dummy_call): Call i387_reset_bnd_regs.

gdb/testsuite/ChangeLog:

	* i386-mpx-call.c: New file.
	* i386-mpx-call.exp: New file.

gdb/doc/ChangeLog:

	* Memory Protection Extensions: Add information about inferior
	calls.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix "layout reg" crash
@ 2017-03-07 16:03 sergiodj+buildbot
  2017-03-08  1:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-07 16:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5f6fd321915fae0194e01322d22cad4e451e8d20 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5f6fd321915fae0194e01322d22cad4e451e8d20

Fix "layout reg" crash

Commit d7e747318f4d04 ("Eliminate make_cleanup_ui_file_delete / make
ui_file a class hierarchy") introduced a problem when using "layout
regs", that leads gdb to crash when issuing:

./gdb ./a.out -ex 'layout regs' -ex start

>From the backtrace, it's caused by this 'delete' on tui_restore_gdbout():

 (gdb) bt
 #0  0x00007ffff6b962b2 in free () from /lib64/libc.so.6
 #1  0x000000000059fa47 in tui_restore_gdbout (ui=0x22997b0) at ../../gdb/tui/tui-regs.c:714
 #2  0x0000000000619996 in do_my_cleanups (pmy_chain=pmy_chain@entry=0x1e08320 <cleanup_chain>, old_chain=old_chain@entry=0x235b4b0) at ../../gdb/common/cleanups.c:154
 #3  0x0000000000619b1d in do_cleanups (old_chain=old_chain@entry=0x235b4b0) at ../../gdb/common/cleanups.c:176
 #4  0x000000000059fb0d in tui_register_format (frame=frame@entry=0x22564e0, regnum=regnum@entry=0) at ../../gdb/tui/tui-regs.c:747
 #5  0x000000000059ffeb in tui_get_register (data=0x2434d18, changedp=0x0, regnum=0, frame=0x22564e0) at ../../gdb/tui/tui-regs.c:768
 #6  tui_show_register_group (refresh_values_only=<optimized out>, frame=0x22564e0, group=0x1e09250 <general_group>) at ../../gdb/tui/tui-regs.c:287
 #7  tui_show_registers (group=0x1e09250 <general_group>) at ../../gdb/tui/tui-regs.c:156
 #8  0x00000000005a07cf in tui_check_register_values (frame=frame@entry=0x22564e0) at ../../gdb/tui/tui-regs.c:496
 #9  0x00000000005a3e65 in tui_check_data_values (frame=frame@entry=0x22564e0) at ../../gdb/tui/tui-windata.c:232
 #10 0x000000000059cf65 in tui_refresh_frame_and_register_information (registers_too_p=1) at ../../gdb/tui/tui-hooks.c:156
 #11 0x00000000006d5c05 in generic_observer_notify (args=0x7fffffffdbe0, subject=<optimized out>) at ../../gdb/observer.c:167
 #12 observer_notify_normal_stop (bs=<optimized out>, print_frame=print_frame@entry=1) at ./observer.inc:61
 #13 0x00000000006a6409 in normal_stop () at ../../gdb/infrun.c:8364
 #14 0x00000000006af8f5 in fetch_inferior_event (client_data=<optimized out>) at ../../gdb/infrun.c:3990
 #15 0x000000000066f0fd in gdb_wait_for_event (block=block@entry=0) at ../../gdb/event-loop.c:859
 #16 0x000000000066f237 in gdb_do_one_event () at ../../gdb/event-loop.c:322
 #17 0x000000000066f386 in gdb_do_one_event () at ../../gdb/event-loop.c:353
 #18 0x00000000007411bc in wait_sync_command_done () at ../../gdb/top.c:570
 #19 0x0000000000741426 in maybe_wait_sync_command_done (was_sync=0) at ../../gdb/top.c:587
 #20 execute_command (p=<optimized out>, p@entry=0x7fffffffe43a "start", from_tty=from_tty@entry=1) at ../../gdb/top.c:676
 #21 0x00000000006c2048 in catch_command_errors (command=0x741200 <execute_command(char*, int)>, arg=0x7fffffffe43a "start", from_tty=1) at ../../gdb/main.c:376
 #22 0x00000000006c2b60 in captured_main_1 (context=0x7fffffffde70) at ../../gdb/main.c:1119
 #23 captured_main (data=0x7fffffffde70) at ../../gdb/main.c:1140
 #24 gdb_main (args=args@entry=0x7fffffffdf90) at ../../gdb/main.c:1158
 #25 0x0000000000408cf5 in main (argc=<optimized out>, argv=<optimized out>) at ../../gdb/gdb.c:32
 (gdb) f 1
 #1  0x000000000059fa47 in tui_restore_gdbout (ui=0x22997b0) at ../../gdb/tui/tui-regs.c:714
 714	  delete gdb_stdout;

The problem is simply that the commit mentioned above made the ui_file
that gdb_stdout is temporarily set to be a stack-allocated
string_file, while before it used to be a heap-allocated ui_file.  The
fix is simply to remove the now-incorrect delete.

New test included, which exercises enabling all TUI layouts, with and
without execution.  (This particular crash only triggers with
execution.)

gdb/ChangeLog:
2017-03-07  Pedro Alves  <palves@redhat.com>

	* tui/tui-regs.c (tui_restore_gdbout): Don't delete gdb_stdout.

gdb/testsuite/ChangeLog:
2017-03-07  Pedro Alves  <palves@redhat.com>

	* gdb.base/tui-layout.c: New file.
	* gdb.base/tui-layout.exp: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove use of the no longer needed -mminimal-toc option.
@ 2017-03-07 17:42 sergiodj+buildbot
  2017-03-08  5:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-07 17:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e45ced6c5e06b0092ac9f5497aa580cfad0c953c ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: e45ced6c5e06b0092ac9f5497aa580cfad0c953c

Remove use of the no longer needed -mminimal-toc option.

	* config/powerpc/ppc64-linux.mh (MH_CFLAGS): Delete.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] GDB: Fix some null pointer dereferences due to disassembler-options patch.
@ 2017-03-07 18:49 sergiodj+buildbot
  2017-03-08 11:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-07 18:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f7bb4e3a0d3738e8cce3dcded6ef12c9949cb85f ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: f7bb4e3a0d3738e8cce3dcded6ef12c9949cb85f

GDB: Fix some null pointer dereferences due to disassembler-options patch.

gdb/
	* gdbarch.sh (pstring_ptr): New static function.
	(gdbarch_disassembler_options): Use it.
	(gdbarch_verify_disassembler_options): Print valid_disassembler_options,
	not valid_disassembler_option->name.
	* gdbarch.c: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Share gdb/environ.[ch] with gdbserver
@ 2017-03-07 21:08 sergiodj+buildbot
  2017-03-08 14:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-07 21:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1672e0d98d88d11b5c7d5793bd2cf29cbb56696f ***

Author: Sergio Durigan Junior <sergiodj@redhat.com>
Branch: master
Commit: 1672e0d98d88d11b5c7d5793bd2cf29cbb56696f

Share gdb/environ.[ch] with gdbserver

We will need access to the environment functions when we share
fork_inferior between GDB and gdbserver, therefore we simply make the
API on gdb/environ.[ch] available on common/.  No extra adjustments
are needed to make it compile on gdbserver.

gdb/ChangeLog:
2017-03-07  Sergio Durigan Junior  <sergiodj@redhat.com>

	* Makefile.in (SFILES): Replace "environ.c" with
	"common/environ.c".
	(HFILES_NO_SRCDIR): Likewise, for "environ.h".
	* environ.c: Include "common-defs.h" instead of "defs.h.  Moved
	to...
	* common/environ.c: ... here.
	* environ.h: Moved to...
	* common/environ.h: ... here.

gdb/gdbserver/ChangeLog:
2017-03-07  Sergio Durigan Junior  <sergiodj@redhat.com>

	* Makefile.in (SFILES): Add "common/environ.c".
	(OBJS): Add "common/environ.h".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Move TUI testcases to new gdb/testsuite/gdb.tui/ directory
@ 2017-03-08  0:56 sergiodj+buildbot
  2017-03-08 18:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-08  0:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7cbbff33a502dcba0264a1935840345274b8aee2 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 7cbbff33a502dcba0264a1935840345274b8aee2

Move TUI testcases to new gdb/testsuite/gdb.tui/ directory

Let's start putting TUI tests in their own dir.

gdb/testsuite/
2017-03-08  Pedro Alves  <palves@redhat.com>

	* gdb.base/tui-disasm-long-lines.c,
	gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
	gdb.base/tui-layout.exp: Move to ...
	* gdb.tui/: ... this new directory.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Move TUI completion tests to gdb.tui/completion.exp
@ 2017-03-08  1:27 sergiodj+buildbot
  2017-03-08 22:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-08  1:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a4dd9ddae4ce51724b4e08c6304e7c64f8f916f ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 1a4dd9ddae4ce51724b4e08c6304e7c64f8f916f

Move TUI completion tests to gdb.tui/completion.exp

gdb/testsuite/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	* gdb.base/completion.exp: Move TUI completion tests to ...
	* gdb.tui/completion.exp: ... this new file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix PR tui/21216: TUI line breaks regression
@ 2017-03-08  2:52 sergiodj+buildbot
  2017-03-09  2:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-08  2:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9753a2f6d74dc92d2ad94993a5479ee0edbc6887 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 9753a2f6d74dc92d2ad94993a5479ee0edbc6887

Fix PR tui/21216: TUI line breaks regression

Commit d7e747318f4d04 ("Eliminate make_cleanup_ui_file_delete / make
ui_file a class hierarchy") regressed the TUI's command window.
Newlines miss doing a "carriage return", resulting in output like:

~~~~~~~~~~~~~~~~~~
(gdb) helpList of classes of commands:

                                      aliases -- Aliases of other commands
                                                                          breakpoints -- Making program stop at certain points
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Before the commit mentioned above, the default ui_file->to_write
implementation had a hack that would defer into the ui_file->to_fputs
method.  The TUI's ui_file did not implement the to_write method, so
all writes would end up going to the ncurses window via tui_file_fputs
-> tui_puts.

After the commit above, the hack is gone, but the TUI's ui_file still
does not implement the ui_file::write method.  Since tui_file inherits
from stdio_file, writing to a tui_file ends up doing fwrite on the
FILE stream the TUI is "associated" with, via stdio_file::write,
instead of writing to the ncurses window.

The fix is to have tui_file override the "write" method.

New test included.

gdb/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	PR tui/21216
	* tui/tui-file.c (tui_file::write): New.
	* tui/tui-file.h (tui_file): Override "write".
	* tui/tui-io.c (do_tui_putc, update_start_line): New functions,
	factored out from ...
	(tui_puts): ... here.
	(tui_putc): Use them.
	(tui_write): New function.
	* tui/tui-io.h (tui_write): Declare.

gdb/testsuite/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	PR tui/21216
	* gdb.tui/tui-nl-filtered-output.exp: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix PR 21218: GDB dumps core when escaping newline in multi-line command
@ 2017-03-08 13:00 sergiodj+buildbot
  2017-03-09  7:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 13:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6e5d74e74756fafe59e8198c4cc462cf7c57e12c ***

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

Fix PR 21218: GDB dumps core when escaping newline in multi-line command

With commit 3b12939dfc2399 ("Replace the sync_execution global with a
new enum prompt_state tristate"), GDB started aborting if you try
splitting an input line with a continuation char (backslash) while in
a multi-line command:

 (gdb) commands
 Type commands for breakpoint(s) 1, one per line.
 End with a line saying just "end".
 >print \

 (gdb) 1      # note "(gdb)" incorrectly printed here.
 >end

 readline: readline_callback_read_char() called with no handler!
 $

That abort is actually a symptom of an old problem introduced when
gdb_readline_wrapper was rewritten to use asynchronous readline, back
in 2007.  Note how the "(gdb)" prompt is printed above in the "(gdb)
1" line.  Clearly it shouldn't be there, but it already was before the
commit mentioned above.  Fixing that also fixes the readline abort
shown above.

The problem starts when command_line_input passes a NULL prompt to
gdb_readline_wrapper when it finds previous incomplete input due to a
backslash, trying to fetch more input without printing another ">"
secondary prompt.  That itself should not be a problem, because
passing NULL to gdb_readline_wrapper has the same meaning as passing a
pointer to empty string, since gdb_readline_wrapper exposes the same
interface as 'readline(char *)'.  However, gdb_readline_wrapper passes
the prompt argument directly to display_gdb_prompt, and for the
latter, a NULL prompt argument has a different meaning - it requests
printing the primary prompt.

Before commit 782a7b8ef9c096 (which rewrote gdb_readline_wrapper to
use asynchronous readline), GDB behaved like this:

 (gdb) commands
 [....]
 >print \
 1
 >end
 (gdb)

The above is what this commit restores GDB back to.

New test included.

gdb/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	PR cli/21218
	* top.c (gdb_readline_wrapper): Avoid passing NULL to
	display_gdb_prompt.
	(command_line_input): Add comment.

gdb/testsuite/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>
	    Jan Kratochvil  <jan.kratochvil@redhat.com>

	PR cli/21218
	* gdb.base/commands.exp (backslash_in_multi_line_command_test):
	New proc.
	(top level): Call it.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] "gdb.arch/i386-pkru.exp: probe PKRU support" shouldn't FAIL if not supported
@ 2017-03-08 13:45 sergiodj+buildbot
  2017-03-09 14:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 13:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 25dcbff6ef0088e080d92b3cbc346ae0b5071d9d ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 25dcbff6ef0088e080d92b3cbc346ae0b5071d9d

"gdb.arch/i386-pkru.exp: probe PKRU support" shouldn't FAIL if not supported

Currently I get:

 (gdb) print have_pkru()
 $1 = 0
 (gdb) FAIL: gdb.arch/i386-pkru.exp: probe PKRU support
 UNSUPPORTED: gdb.arch/i386-pkru.exp: processor does not support protection key feature.

Probing suceeded, so that should be a PASS -> UNSUPPORTED.

gdb/testsuite/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	* gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
	PKRU as not supported as a PASS.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Fix a few unstable test names
@ 2017-03-08 14:07 sergiodj+buildbot
  2017-03-09 10:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 14:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dc9366eb0592157e2125967690f0aed61b17bcf7 ***

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

gdb: Fix a few unstable test names

Avoid putting unstable path names in test messages, in order to avoid
spurious testrun result diffs like:

 [....]
 -PASS: gdb.base/break-fun-addr.exp: /home/pedro/gdb/test-build1/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr1: break *main
 +PASS: gdb.base/break-fun-addr.exp: /home/pedro/gdb/test-build2/gdb/testsuite/outputs/gdb.base/break-fun-addr/break-fun-addr1: break *main
 [....]

gdb/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	* gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
	prefix instead of $binfile1/$binfile2.
	* gdb.btrace/gcore.exp: Use "core" instead of unstable path name
	in test message.
	* gdb.python/py-completion.exp: Use "load python file" as test
	messages instead of unstable path names.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb.arch/amd64-entry-value-param*.exp: Make sure test messages are unique
@ 2017-03-08 15:51 sergiodj+buildbot
  2017-03-09 18:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 15:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2e86a2830cfef688a27e17353b84f59f8147ab23 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 2e86a2830cfef688a27e17353b84f59f8147ab23

gdb.arch/amd64-entry-value-param*.exp: Make sure test messages are unique

gdb/testsuite/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	* gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
	* gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Properly dump NT_GNU_PROPERTY_TYPE_0
@ 2017-03-08 16:18 sergiodj+buildbot
  2017-03-09 22:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 16:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1fc87489b40b3100badf184a7c266387bae47def ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 1fc87489b40b3100badf184a7c266387bae47def

Properly dump NT_GNU_PROPERTY_TYPE_0

Property type and datasz are always 4 bytes for both 32-bit and 64-bit
objects.  Property values for GNU_PROPERTY_X86_ISA_1_USED and
GNU_PROPERTY_X86_ISA_1_NEEDED are 4 bytes for both i386 and x86-64
objects.  We should also check GNU_PROPERTY_LOPROC and
GNU_PROPERTY_LOUSER.

binutils/

	PR binutils/21231
	* readelf.c (decode_x86_isa): Change argument to unsigned int.
	(print_gnu_property_note): Retrieve property type and datasz as
	4-byte integer.  Consolidate property datasz check.  Check
	GNU_PROPERTY_LOPROC and GNU_PROPERTY_LOUSER.
	* testsuite/binutils-all/i386/pr21231a.d: New file.
	* testsuite/binutils-all/i386/pr21231a.s: Likewise.
	* testsuite/binutils-all/i386/pr21231b.d: Likewise.
	* testsuite/binutils-all/i386/pr21231b.s: Likewise.
	* testsuite/binutils-all/x86-64/pr21231a.d: Likewise.
	* testsuite/binutils-all/x86-64/pr21231a.s: Likewise.
	* testsuite/binutils-all/x86-64/pr21231b.d: Likewise.
	* testsuite/binutils-all/x86-64/pr21231b.s: Likewise.

include/

	PR binutils/21231
	* elf/common.h (GNU_PROPERTY_LOPROC): New.
	(GNU_PROPERTY_HIPROC): Likewise.
	(GNU_PROPERTY_LOUSER): Likewise.
	(GNU_PROPERTY_HIUSER): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Fix ATTRIBUTE_NONNULL usage
@ 2017-03-08 17:58 sergiodj+buildbot
  2017-03-10  2:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 17:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 15c22686d0e33d87262bc9075296eeddd7d955f7 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 15c22686d0e33d87262bc9075296eeddd7d955f7

gdb: Fix ATTRIBUTE_NONNULL usage

Should fix the build failure with Clang mentioned at
	<https://sourceware.org/bugzilla/show_bug.cgi?id=21206#c2>:

 In file included from ../../binutils-gdb/gdb/dwarf2read.c:72:
 ../../binutils-gdb/gdb/common/gdb_unlinker.h:35:35: error: '__nonnull__' attribute is invalid for the implicit this argument
   unlinker (const char *filename) ATTRIBUTE_NONNULL (1)
				   ^                  ~
 ../../binutils-gdb/gdb/../include/ansidecl.h:169:48: note: expanded from macro 'ATTRIBUTE_NONNULL'
 #  define ATTRIBUTE_NONNULL(m) __attribute__ ((__nonnull__ (m)))

gdb/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	PR 21206
	* common/gdb_unlinker.h (unlinker::unlinker): Attribute nonnull
	goes to argument 2, not 1.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix PR18360 - internal error when using "interrupt -a"
@ 2017-03-08 20:16 sergiodj+buildbot
  2017-03-10 22:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 20:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c65d6b55b3a592906c470c566f57ad8ceacc1605 ***

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

Fix PR18360 - internal error when using "interrupt -a"

If you do "interrupt -a" just while some thread is stepping over a
breakpoint, gdb trips on an internal error.

The test added by this patch manages to trigger this consistently by
spawning a few threads that are constantly tripping on a conditional
breakpoint whose condition always evaluates to false.  With current
gdb, you get:

~~~
 interrupt -a
 .../src/gdb/inline-frame.c:343: internal-error: void skip_inline_frames(ptid_t): Assertion `find_inline_frame_state (ptid) == NULL' failed.
 A problem internal to GDB has been detected,
 further debugging may prove unreliable.
 Quit this debugging session? (y or n) FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=on: iter=0: interrupt -a (GDB internal error)
[...]
 .../src/gdb/inline-frame.c:343: internal-error: void skip_inline_frames(ptid_t): Assertion `find_inline_frame_state (ptid) == NULL' failed.
 A problem internal to GDB has been detected,
 further debugging may prove unreliable.
 Quit this debugging session? (y or n) FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=0: wait for stops (GDB internal error)
~~~

The assertion triggers because we're processing a stop for a thread
that had already stopped before and thus had already its inline-frame
state filled in.

Calling handle_inferior_event_1 directly within a
"thread_stop_requested" observer is something that I've wanted to get
rid of before, for being fragile.  Nowadays, infrun is aware of
threads with pending events, so we can use that instead, and let the
normal fetch_inferior_event -> handle_inferior_event code path handle
the forced stop.

The change to finish_step_over is necessary because sometimes a thread
that was told to PTRACE_SINGLESTEP reports back a SIGSTOP instead of a
SIGTRAP (i.e., we tell it to single-step, and then interrupt it quick
enough that on the kernel side the thread dequeues the SIGTOP before
ever having had a chance of executing the instruction to be stepped).
SIGSTOP gets translated to a GDB_SIGNAL_0.  And then finish_step_over
would miss calling clear_step_over_info, and thus miss restarting the
other threads (which in this case of threads with pending events,
means setting their "resumed" flag, so their pending events can be
consumed).

And now that we always restart threads in finish_step_over, we no
longer need to do that in handle_signal_stop.

Tested on x86_64 Fedora 23, native and gdbserver.

gdb/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	PR gdb/18360
	* infrun.c (start_step_over, do_target_resume, resume)
	(restart_threads): Assert we're not resuming a thread that is
	meant to be stopped.
	(infrun_thread_stop_requested_callback): Delete.
	(infrun_thread_stop_requested): If the thread is internally
	stopped, queue a pending stop event and clear the thread's
	inline-frame state.
	(handle_stop_requested): New function.
	(handle_syscall_event, handle_inferior_event_1): Use
	handle_stop_requested.
	(handle_stop_requested): New function.
	(handle_signal_stop): Set the thread's stop_signal here instead of
	at caller.
	(finish_step_over): Clear step over info unconditionally.
	(handle_signal_stop): If the user had interrupted the event
	thread, consider the stop a random signal.
	(handle_signal_stop) <signal arrived while stepping over
	breakpoint>: Don't restart threads here.
	(stop_waiting): Don't clear step-over info here.

gdb/testsuite/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	PR gdb/18360
	* gdb.threads/interrupt-while-step-over.c: New file.
	* gdb.threads/interrupt-while-step-over.exp: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add support for the new 'lnia' extended mnemonic.
@ 2017-03-08 20:33 sergiodj+buildbot
  2017-03-11 19:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 20:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1437d0631b209500db8371c425e896deb66ec9f9 ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: 1437d0631b209500db8371c425e896deb66ec9f9

Add support for the new 'lnia' extended mnemonic.

opcodes/
	* ppc-opc.c (powerpc_opcodes) <lnia>: New extended mnemonic.

gas/
	* testsuite/gas/ppc/power9.d <lnia> New test.
	* testsuite/gas/ppc/power9.s: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Avoid unstable test message in gdb.base/step-over-exit.exp
@ 2017-03-08 22:52 sergiodj+buildbot
  2017-03-12 14:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-08 22:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1de05205afe1ecd1f1fa2befc6843d0dc70adefc ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 1de05205afe1ecd1f1fa2befc6843d0dc70adefc

Avoid unstable test message in gdb.base/step-over-exit.exp

Currently diffing testrun results shows:

 -PASS: gdb.base/step-over-exit.exp: break *0x7ffff77e18c6 if main == 0
 +PASS: gdb.base/step-over-exit.exp: break *0x2aaaab0988c6 if main == 0

gdb/testsuite/ChangeLog:
2017-03-08  Pedro Alves  <palves@redhat.com>

	* gdb.base/step-over-exit.exp: Add explicit test message.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Update -maltivec and -mvsx options to only enable their oldest instructions.
@ 2017-03-09  3:06 sergiodj+buildbot
  2017-03-13 10:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-09  3:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4b8b687e885287ed85dafffcebbb8d03d7ea2c38 ***

Author: Peter Bergner <bergner@vnet.ibm.com>
Branch: master
Commit: 4b8b687e885287ed85dafffcebbb8d03d7ea2c38

Update -maltivec and -mvsx options to only enable their oldest instructions.

Currently, the -maltivec and -mvsx GAS options enable *all* of the altivec
and vsx instructions respecitively that have ever been added.  This is in
constract to GCC's -maltivec and -mvsx options, which only enable the oldest
(ie, first) set of altivec and vsx instructions.  This patch changes GAS to
mimic GCC's behaviour with respect to -maltivec and -mvsx and it solves a
problem with trying to assemble the lxvx instruction which is different
between POWER8 and POWER9.

opcodes/
	* ppc-dis.c (ppc_opts) <altivec>: Do not use PPC_OPCODE_ALTIVEC2;
	<vsx>: Do not use PPC_OPCODE_VSX3;

gas/
	* testsuite/gas/ppc/altivec2.d (as): Use the -mpower8 option.
	(objdump): Use the -Mpower8 option.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use CpuCET on rdsspq
@ 2017-03-09 16:05 sergiodj+buildbot
  2017-03-14  7:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-09 16:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c1fe188b154a4e81372629316be3d3a7820efdac ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: c1fe188b154a4e81372629316be3d3a7820efdac

Use CpuCET on rdsspq

	* i386-opc.tbl: Use CpuCET on rdsspq.
	* i386-tbl.h: Regenerated.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix compile time warnings about using possibly uninitialised variables in rs6000-core.c.
@ 2017-03-09 16:53 sergiodj+buildbot
  2017-03-15  8:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-09 16:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f03265d9cda1f5f8df238efa9b7a20330e5711f1 ***

Author: Sam Thursfield <sam.thursfield@codethink.co.uk>
Branch: master
Commit: f03265d9cda1f5f8df238efa9b7a20330e5711f1

Fix compile time warnings about using possibly uninitialised variables in rs6000-core.c.

	* rs6000-core.c (CORE_NEW): Simplify macro when
	AIX_CORE_DUMPX_CORE and BFD64 are true to avoid compile warning.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] X86: Add pseudo prefixes to control encoding
@ 2017-03-09 18:26 sergiodj+buildbot
  2017-03-16 10:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-09 18:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 86fa6981e7487e2c2df4337aa75ed2d93c32eaf2 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 86fa6981e7487e2c2df4337aa75ed2d93c32eaf2

X86: Add pseudo prefixes to control encoding

Many x86 instructions have more than one encodings.  Assembler picks
the default one, usually the shortest one.  Although the ".s", ".d8"
and ".d32" suffixes can be used to swap register operands or specify
displacement size, they aren't very flexible.  This patch adds pseudo
prefixes, {xxx}, to control instruction encoding.  The available
pseudo prefixes are {disp8}, {disp32}, {load}, {store}, {vex2}, {vex3}
and {evex}.  Pseudo prefixes are preferred over the ".s", ".d8" and
".d32" suffixes, which are deprecated.

gas/

	* config/tc-i386.c (_i386_insn): Add dir_encoding and
	vec_encoding.  Remove swap_operand and need_vrex.
	(extra_symbol_chars): Add '}'.
	(md_begin): Mark '}' with LEX_BEGIN_NAME.  Allow '}' in
	mnemonic.
	(build_vex_prefix): Don't use 2-byte VEX encoding with
	{vex3}.  Check dir_encoding and load.
	(parse_insn): Check pseudo prefixes.  Set dir_encoding.
	(VEX_check_operands): Likewise.
	(match_template): Check dir_encoding and load.
	(parse_real_register): Set vec_encoding instead of need_vrex.
	(parse_register): Likewise.
	* doc/c-i386.texi: Document {disp8}, {disp32}, {load}, {store},
	{vex2}, {vex3} and {evex}.  Remove ".s", ".d8" and ".d32"
	* testsuite/gas/i386/i386.exp: Run pseudos and x86-64-pseudos.
	* testsuite/gas/i386/pseudos.d: New file.
	* testsuite/gas/i386/pseudos.s: Likewise.
	* testsuite/gas/i386/x86-64-pseudos.d: Likewise.
	* testsuite/gas/i386/x86-64-pseudos.s: Likewise.

opcodes/

	* i386-gen.c (opcode_modifiers): Replace S with Load.
	* i386-opc.h (S): Removed.
	(Load): New.
	(i386_opcode_modifier): Replace s with load.
	* i386-opc.tbl: Add {disp8}, {disp32}, {swap}, {vex2}, {vex3}
	and {evex}.  Replace S with Load.
	* i386-tbl.h: Regenerated.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add basic recognition of new EM_ ELF machine numbers.
@ 2017-03-10 11:14 sergiodj+buildbot
  2017-03-17  6:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-10 11:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 55e22ca83ae50d6fe422cd0542f2a1a5934b2dd2 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 55e22ca83ae50d6fe422cd0542f2a1a5934b2dd2

Add basic recognition of new EM_ ELF machine numbers.

include	* elf/common.h (EM_LANAI): New machine number.
	(EM_BPF): Likewise.
	(EM_WEBASSEMBLY): Likewise.
	Move low value, deprecated, numbers to their numerical
	equivalents.

binutils * readelf.c (get_machine_name): Rearrange switch table in order of
	increasing machine number.  Add missing entries.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] c++/8218: Destructors w/arguments.
@ 2017-03-10 18:58 sergiodj+buildbot
  2017-03-18  2:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-10 18:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5f4d10850850cd95af5e95a16848c8c07a273d88 ***

Author: Keith Seitz <keiths@redhat.com>
Branch: master
Commit: 5f4d10850850cd95af5e95a16848c8c07a273d88

c++/8218: Destructors w/arguments.

For a long time now, c++/8218 has noted that GDB is printing argument types
for destructors:

(gdb) ptype A
type = class A {
  public:
    ~A(int);
}

This happens because cp_type_print_method_args doesn't ignore artificial
arguments.  [It ignores the first `this' pointer because it simply skips
the first argument for any non-static function.]

This patch fixes this:

(gdb) ptype  A
type = class A {
  public:
    ~A();
}

I've adjusted gdb.cp/templates.exp to account for this and added a new
passing regexp.

gdb/ChangeLog

	PR c++/8218
	* c-typeprint.c (cp_type_print_method_args): Skip artificial arguments.

gdb/testsuite/ChangeLog

	PR c++/8128
	* gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
	type from destructor regexps.
	Add a branch which actually passes the test.
	Adjust "ptype t5i" test names.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
[parent not found: <@gdb-build>]
* [binutils-gdb] testsuite: Introduce dejagnu_version
@ 2017-03-21 21:25 sergiodj+buildbot
  2017-03-22 16:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-21 21:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 896c0c1edee117ea333c66b1adac8c6f4def3f2b ***

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

testsuite: Introduce dejagnu_version

The next patch will require checking the DejaGnu version.  There is
already a test that does this,
gdb.threads/attach-many-short-lived-threads.exp.  This patch introduces
a new procedure, dejagnu_version, and makes that test use it.

The version number is "right-padded" with zeroes, to make sure that we
always return a triplet (major, minor, patch).

The procedure does not consider the DejaGnu versions from git.  For
example, if you used DejaGnu from its current master branch, the version
would be "1.6.1-git", meaning that 1.6.1 will be the next release.  I
figured we'll cross that bridge when (and if) we get there.

gdb/testsuite/ChangeLog:

	* lib/gdb.exp (dejagnu_version): New proc.
	* gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
	Use dejagnu_version.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] testsuite: Disable backslash_in_multi_line_command_test for old DejaGnus
@ 2017-03-21 21:41 sergiodj+buildbot
  2017-03-23 11:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-21 21:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7978d7c385b072a344d969f71cdc68e1a1171ec2 ***

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

testsuite: Disable backslash_in_multi_line_command_test for old DejaGnus

I noticed that backslash_in_multi_line_command_test in
gdb.base/commands.exp failed on our RHEL6 servers.  I traced it to the
old version of DejaGnu (1.4.4).  I have found that instead of receiving
the expected:

  "print \\\nargc\n"

gdb received:

  "print  argc\n"

thus breaking the test and its purpose.  Versionof DejaGnu < 1.5 mess
up sending "\\\n", it somehow gets replaced with a space.  I found that
the following commit in DejaGnu fixed the issue:

http://git.savannah.gnu.org/cgit/dejagnu.git/commit/lib/remote.exp?id=3f39294f5cd6802858838d3bcc0ccce847ae17f2

Even though the commit is almost 10 years old, the following release of
DejaGnu was only in 2013, which is why we still have systems with the
old code.

If the DejaGnu version is < 1.5, we just skip the test.

gdb/testsuite/ChangeLog:

	* gdb.base/commands.exp (backslash_in_multi_line_command_test):
	Skip for versions of DejaGnu < 1.5.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for regformats source file generation
@ 2017-03-21 22:27 sergiodj+buildbot
  2017-03-24  8:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-21 22:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c362e6217b556ce932250c340218f1ca16391070 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: c362e6217b556ce932250c340218f1ca16391070

gdbserver: Use pattern rule for regformats source file generation

gdb/gdbserver/ChangeLog:

	* Makefile.in
	(%.c: ../regformats/%.dat,
	(%.c: ../regformats/arm/%.dat,
	(%.c: ../regformats/i386/%.dat,
	(%.c: ../regformats/rs6000/%.dat): New rules.
	(aarch64.c): Remove.
	(reg-arm.c): Remove.
	(arm-with-iwmmxt.c): Remove.
	(arm-with-vfpv2.c): Remove.
	(arm-with-vfpv3.c): Remove.
	(arm-with-neon.c): Remove.
	(reg-bfin.c): Remove.
	(reg-cris.c): Remove.
	(reg-crisv32.c): Remove.
	(i386.c): Remove.
	(i386-linux.c): Remove.
	(i386-avx.c): Remove.
	(i386-avx-linux.c): Remove.
	(i386-avx-avx512.c): Remove.
	(i386-avx-avx512-linux.c): Remove.
	(i386-mpx.c): Remove.
	(i386-mpx-linux.c): Remove.
	(i386-avx-mpx-avx512-pku.c): Remove.
	(i386-avx-mpx-avx512-pku-linux.c): Remove.
	(i386-avx-mpx.c): Remove.
	(i386-avx-mpx-linux.c): Remove.
	(i386-mmx.c): Remove.
	(i386-mmx-linux.c): Remove.
	(reg-ia64.c): Remove.
	(reg-m32r.c): Remove.
	(reg-m68k.c): Remove.
	(reg-cf.c): Remove.
	(mips-linux.c): Remove.
	(mips-dsp-linux.c): Remove.
	(mips64-linux.c): Remove.
	(mips64-dsp-linux.c): Remove.
	(nios2-linux.c): Remove.
	(powerpc-32.c): Remove.
	(powerpc-32l.c): Remove.
	(powerpc-altivec32l.c): Remove.
	(powerpc-cell32l.c): Remove.
	(powerpc-vsx32l.c): Remove.
	(powerpc-isa205-32l.c): Remove.
	(powerpc-isa205-altivec32l.c): Remove.
	(powerpc-isa205-vsx32l.c): Remove.
	(powerpc-e500l.c): Remove.
	(powerpc-64l.c): Remove.
	(powerpc-altivec64l.c): Remove.
	(powerpc-cell64l.c): Remove.
	(powerpc-vsx64l.c): Remove.
	(powerpc-isa205-64l.c): Remove.
	(powerpc-isa205-altivec64l.c): Remove.
	(powerpc-isa205-vsx64l.c): Remove.
	(s390-linux32.c): Remove.
	(s390-linux32v1.c): Remove.
	(s390-linux32v2.c): Remove.
	(s390-linux64.c): Remove.
	(s390-linux64v1.c): Remove.
	(s390-linux64v2.c): Remove.
	(s390-te-linux64.c): Remove.
	(s390-vx-linux64.c): Remove.
	(s390-tevx-linux64.c): Remove.
	(s390x-linux64.c): Remove.
	(s390x-linux64v1.c): Remove.
	(s390x-linux64v2.c): Remove.
	(s390x-te-linux64.c): Remove.
	(s390x-vx-linux64.c): Remove.
	(s390x-tevx-linux64.c): Remove.
	(tic6x-c64xp-linux.c): Remove.
	(tic6x-c64x-linux.c): Remove.
	(tic6x-c62x-linux.c): Remove.
	(reg-sh.c): Remove.
	(reg-sparc64.c): Remove.
	(reg-spu.c): Remove.
	(amd64.c): Remove.
	(amd64-linux.c): Remove.
	(amd64-avx.c): Remove.
	(amd64-avx-linux.c): Remove.
	(amd64-avx-avx512.c): Remove.
	(amd64-avx-avx512-linux.c): Remove.
	(amd64-mpx.c): Remove.
	(amd64-mpx-linux.c): Remove.
	(amd64-avx-mpx-avx512-pku.c): Remove.
	(amd64-avx-mpx-avx512-pku-linux.c): Remove.
	(amd64-avx-mpx.c): Remove.
	(amd64-avx-mpx-linux.c): Remove.
	(x32.c): Remove.
	(x32-linux.c): Remove.
	(x32-avx.c): Remove.
	(x32-avx-linux.c): Remove.
	(x32-avx-avx512.c): Remove.
	(x32-avx-avx512-linux.c): Remove.
	(reg-xtensa.c): Remove.
	(reg-tilegx.c): Remove.
	(reg-tilegx32.c): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for objects from nat/
@ 2017-03-21 23:46 sergiodj+buildbot
  2017-03-26 22:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-21 23:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c5a22423d09e3bf670fb0de0a98e6feb6176eb3f ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: c5a22423d09e3bf670fb0de0a98e6feb6176eb3f

gdbserver: Use pattern rule for objects from nat/

gdb/gdbserver/ChangeLog:

	* Makefile.in (%.o: ../nat/%.c): New rule.
	(x86-dregs.o: ../nat/x86-dregs.c): Remove.
	(amd64-linux-siginfo.o: ../nat/amd64-linux-siginfo.c): Remove.
	(linux-btrace.o: ../nat/linux-btrace.c): Remove.
	(linux-osdata.o: ../nat/linux-osdata.c): Remove.
	(linux-procfs.o: ../nat/linux-procfs.c): Remove.
	(linux-ptrace.o: ../nat/linux-ptrace.c): Remove.
	(linux-waitpid.o: ../nat/linux-waitpid.c): Remove.
	(mips-linux-watch.o: ../nat/mips-linux-watch.c): Remove.
	(ppc-linux.o: ../nat/ppc-linux.c): Remove.
	(linux-personality.o: ../nat/linux-personality.c): Remove.
	(aarch64-linux-hw-point.o: ../nat/aarch64-linux-hw-point.c): Remove.
	(aarch64-linux.o: ../nat/aarch64-linux.c): Remove.
	(x86-linux.o: ../nat/x86-linux.c): Remove.
	(x86-linux-dregs.o: ../nat/x86-linux-dregs.c): Remove.
	(linux-namespaces.o: ../nat/linux-namespaces.c): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for objects from target/
@ 2017-03-22  0:39 sergiodj+buildbot
  2017-03-25  5:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  0:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 21122961ecea30b3be7c788e09179d297e3233f0 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 21122961ecea30b3be7c788e09179d297e3233f0

gdbserver: Use pattern rule for objects from target/

gdb/gdbserver/ChangeLog:

	* Makefile.in (%.o: ../target/%.c): New rule.
	(waitstatus.o: ../target/waitstatus.c): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for IPA objects from gdbserver/
@ 2017-03-22  0:48 sergiodj+buildbot
  2017-03-28 13:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  0:48 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a8ebe3d5f17f12490012a1a3c69d17b6e9362805 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: a8ebe3d5f17f12490012a1a3c69d17b6e9362805

gdbserver: Use pattern rule for IPA objects from gdbserver/

gdb/gdbserver/ChangeLog:

	* Makefile.in (%-ipa.o: %.c): New rule.
	(tracepoint-ipa.o: tracepoint.c): Remove.
	(utils-ipa.o: utils.c): Remove.
	(remote-utils-ipa.o: remote-utils.c): Remove.
	(regcache-ipa.o: regcache.c): Remove.
	(i386-linux-ipa.o: i386-linux.c): Remove.
	(i386-mmx-linux-ipa.o: i386-mmx-linux.c): Remove.
	(i386-avx-linux-ipa.o: i386-avx-linux.c): Remove.
	(i386-mpx-linux-ipa.o: i386-mpx-linux.c): Remove.
	(i386-avx-mpx-linux-ipa.o: i386-avx-mpx-linux.c): Remove.
	(i386-avx-avx512-linux-ipa.o: i386-avx-avx512-linux.c): Remove.
	(i386-avx-mpx-avx512-pku-linux-ipa.o: i386-avx-mpx-avx512-pku-linux.c): Remove.
	(amd64-linux-ipa.o: amd64-linux.c): Remove.
	(amd64-avx-linux-ipa.o: amd64-avx-linux.c): Remove.
	(amd64-mpx-linux-ipa.o: amd64-mpx-linux.c): Remove.
	(amd64-avx-mpx-linux-ipa.o: amd64-avx-mpx-linux.c): Remove.
	(amd64-avx-avx512-linux-ipa.o: amd64-avx-avx512-linux.c): Remove.
	(amd64-avx-mpx-avx512-pku-linux-ipa.o: amd64-avx-mpx-avx512-pku-linux.c): Remove.
	(aarch64-ipa.o: aarch64.c): Remove.
	(s390-linux32-ipa.o: s390-linux32.c): Remove.
	(s390-linux32v1-ipa.o: s390-linux32v1.c): Remove.
	(s390-linux32v2-ipa.o: s390-linux32v2.c): Remove.
	(s390-linux64-ipa.o: s390-linux64.c): Remove.
	(s390-linux64v1-ipa.o: s390-linux64v1.c): Remove.
	(s390-linux64v2-ipa.o: s390-linux64v2.c): Remove.
	(s390-te-linux64-ipa.o: s390-te-linux64.c): Remove.
	(s390-vx-linux64-ipa.o: s390-vx-linux64.c): Remove.
	(s390-tevx-linux64-ipa.o: s390-tevx-linux64.c): Remove.
	(s390x-linux64-ipa.o: s390x-linux64.c): Remove.
	(s390x-linux64v1-ipa.o: s390x-linux64v1.c): Remove.
	(s390x-linux64v2-ipa.o: s390x-linux64v2.c): Remove.
	(s390x-te-linux64-ipa.o: s390x-te-linux64.c): Remove.
	(s390x-vx-linux64-ipa.o: s390x-vx-linux64.c): Remove.
	(s390x-tevx-linux64-ipa.o: s390x-tevx-linux64.c): Remove.
	(powerpc-32l-ipa.o: powerpc-32l.c): Remove.
	(powerpc-altivec32l-ipa.o: powerpc-altivec32l.c): Remove.
	(powerpc-cell32l-ipa.o: powerpc-cell32l.c): Remove.
	(powerpc-vsx32l-ipa.o: powerpc-vsx32l.c): Remove.
	(powerpc-isa205-32l-ipa.o: powerpc-isa205-32l.c): Remove.
	(powerpc-isa205-altivec32l-ipa.o: powerpc-isa205-altivec32l.c): Remove.
	(powerpc-isa205-vsx32l-ipa.o: powerpc-isa205-vsx32l.c): Remove.
	(powerpc-e500l-ipa.o: powerpc-e500l.c): Remove.
	(powerpc-64l-ipa.o: powerpc-64l.c): Remove.
	(powerpc-altivec64l-ipa.o: powerpc-altivec64l.c): Remove.
	(powerpc-cell64l-ipa.o: powerpc-cell64l.c): Remove.
	(powerpc-vsx64l-ipa.o: powerpc-vsx64l.c): Remove.
	(powerpc-isa205-64l-ipa.o: powerpc-isa205-64l.c): Remove.
	(powerpc-isa205-altivec64l-ipa.o: powerpc-isa205-altivec64l.c): Remove.
	(powerpc-isa205-vsx64l-ipa.o: powerpc-isa205-vsx64l.c): Remove.
	(tdesc-ipa.o: tdesc.c): Remove.
	(x32-linux-ipa.o: x32-linux.c): Remove.
	(x32-avx-linux-ipa.o: x32-avx-linux.c): Remove.
	(x32-avx512-linux-ipa.o: x32-avx512-linux.c): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for IPA objects from common/
@ 2017-03-22  1:03 sergiodj+buildbot
  2017-03-29 10:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  1:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 36bc18a810a13f884d826842abbdd6d744ff6481 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 36bc18a810a13f884d826842abbdd6d744ff6481

gdbserver: Use pattern rule for IPA objects from common/

gdb/gdbserver/ChangeLog:

	* Makefile.in (%-ipa.o: ../common/%.c): New rule.
	(print-utils-ipa.o: ../common/print-utils.c): Remove.
	(rsp-low-ipa.o: ../common/rsp-low.c): Remove.
	(errors-ipa.o: ../common/errors.c): Remove.
	(format-ipa.o: ../common/format.c): Remove.
	(common-utils-ipa.o: ../common/common-utils.c): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for objects from common/
@ 2017-03-22  1:38 sergiodj+buildbot
  2017-03-26  1:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  1:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6bda016bec556855c6d4e191f360f921faa40ded ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 6bda016bec556855c6d4e191f360f921faa40ded

gdbserver: Use pattern rule for objects from common/

gdb/gdbserver/ChangeLog:

	* Makefile.in (%.o: ../common/%.c): New rule.
	(signals.o: ../common/signals.c): Remove.
	(print-utils.o: ../common/print-utils.c): Remove.
	(rsp-low.o: ../common/rsp-low.c): Remove.
	(common-utils.o: ../common/common-utils.c): Remove.
	(posix-strerror.o: ../common/posix-strerror.c): Remove.
	(mingw-strerror.o: ../common/mingw-strerror.c): Remove.
	(vec.o: ../common/vec.c): Remove.
	(gdb_vecs.o: ../common/gdb_vecs.c): Remove.
	(xml-utils.o: ../common/xml-utils.c): Remove.
	(ptid.o: ../common/ptid.c): Remove.
	(buffer.o: ../common/buffer.c): Remove.
	(format.o: ../common/format.c): Remove.
	(filestuff.o: ../common/filestuff.c): Remove.
	(agent.o: ../common/agent.c): Remove.
	(errors.o: ../common/errors.c): Remove.
	(environ.o: ../common/environ.c): Remove.
	(common-debug.o: ../common/common-debug.c): Remove.
	(cleanups.o: ../common/cleanups.c): Remove.
	(common-exceptions.o: ../common/common-exceptions.c): Remove.
	(fileio.o: ../common/fileio.c): Remove.
	(common-regcache.o: ../common/common-regcache.c): Remove.
	(signals-state-save-restore.o: ../common/signals-state-save-restore.c): Remove.
	(new-op.o: ../common/new-op.c): Remove.
	(btrace-common.o: ../common/btrace-common.c): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Introduce regcache_get_ptid
@ 2017-03-22  2:06 sergiodj+buildbot
  2017-03-31  3:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  2:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ddaaf0fb8605fced72e84410fc7ac834e529eb53 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: ddaaf0fb8605fced72e84410fc7ac834e529eb53

Introduce regcache_get_ptid

This patch introduces the regcache_get_ptid function, which can be used
to retrieve the ptid a regcache is connected to.  It is used in
subsequent patches.

gdb/ChangeLog:

	* regcache.h (regcache_get_ptid): New function.
	* regcache.c (regcache_get_ptid): New function.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add asserts in target_fetch/store_registers
@ 2017-03-22  2:21 sergiodj+buildbot
  2017-04-01  6:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  2:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c6386875ba57a806c896ba097afef525671de4a0 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: c6386875ba57a806c896ba097afef525671de4a0

Add asserts in target_fetch/store_registers

We are currently assuming that regcache->ptid is equal to inferior_ptid
when we call target_fetch/store_registers.  These asserts just validate
that assumption.  Also, since the following patches will change target
code to use regcache->ptid instead of inferior_ptid, asserting that they
are the same should ensure that our changes don't have any unintended
consequences.

gdb/ChangeLog:

	* target.c (target_fetch_registers, target_store_registers): Add
	assert.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] amd64-linux-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22  2:36 sergiodj+buildbot
  2017-04-02  2:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  2:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6a06fbb7b73fe55d6b9057f8154652e1ae8f883c ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 6a06fbb7b73fe55d6b9057f8154652e1ae8f883c

amd64-linux-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* amd64-linux-nat.c (amd64_linux_fetch_inferior_registers,
	amd64_linux_fetch_inferior_registers): Use regcache->ptid
	instead of inferior_ptid.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] aarc64-linux-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22  3:26 sergiodj+buildbot
  2017-04-02 22:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  3:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 551196862e4e9dfda510f59c53b0a3ff3153e4ed ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 551196862e4e9dfda510f59c53b0a3ff3153e4ed

aarc64-linux-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* aarch64-linux-nat.c (fetch_gregs_from_thread,
	store_gregs_to_thread, fetch_fpregs_from_thread,
	store_fpregs_to_thread): Use regcache->ptid instead of
	inferior_ptid.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for objects from arch/
@ 2017-03-22  3:38 sergiodj+buildbot
  2017-03-27 17:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  3:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 50cfacb78f3998e5ecc653090e4f1a11dfb3d8dd ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 50cfacb78f3998e5ecc653090e4f1a11dfb3d8dd

gdbserver: Use pattern rule for objects from arch/

gdb/gdbserver/ChangeLog:

	* Makefile.in (%.o: ../arch/%.c): New rule.
	(arm.o: ../arch/arm.c): Remove.
	(arm-linux.o: ../arch/arm-linux.c): Remove.
	(arm-get-next-pcs.o: ../arch/arm-get-next-pcs.c): Remove.
	(aarch64-insn.o: ../arch/aarch64-insn.c): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] aix-thread: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22  3:39 sergiodj+buildbot
  2017-04-03 18:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  3:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT edb5fb00a6865884f99be01a9e97f44243a9deb9 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: edb5fb00a6865884f99be01a9e97f44243a9deb9

aix-thread: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* aix-thread.c (aix_thread_fetch_registers,
	aix_thread_store_registers): Use regcache->ptid instead of
	inferior_ptid.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] RISC-V: Fix [dis]assembly of srai/srli
@ 2017-03-22  6:11 sergiodj+buildbot
  2017-04-08 20:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  6:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2c232b8361a044d689d12161b7a645d238586f5e ***

Author: Andrew Waterman <andrew@sifive.com>
Branch: master
Commit: 2c232b8361a044d689d12161b7a645d238586f5e

RISC-V: Fix [dis]assembly of srai/srli

These were simple copy/paste errors from the compressed left shift
pattern, which can't have a 0-register.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] inf-ptrace: Do not stop memory transfers after a single word
@ 2017-03-22  6:21 sergiodj+buildbot
  2017-04-09 17:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  6:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 87c336f60eccc6506ff19369c29575f43fea02ea ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 87c336f60eccc6506ff19369c29575f43fea02ea

inf-ptrace: Do not stop memory transfers after a single word

When inf_ptrace_xfer_partial performs a memory transfer via ptrace with
PT_READ_I, PT_WRITE_I (aka PTRACE_PEEKTEXT, PTRACE_POKETEXT), etc., then
it currently transfers at most one word.  This behavior yields degraded
performance, particularly if the caller has significant preparation work
for each invocation.  And indeed it has for writing, in
memory_xfer_partial in target.c, where all of the remaining data to be
transferred is copied to a temporary buffer each time, for breakpoint
shadow handling.  Thus large writes have quadratic runtime and can take
hours.

Note: On GNU/Linux targets GDB usually does not use
inf_ptrace_xfer_partial for large memory transfers, but attempts a single
read/write from/to /proc/<pid>/mem instead.  However, the kernel may
reject writes to /proc/<pid>/mem (such as kernels prior to 2.6.39), or
/proc may not be mounted.  In both cases GDB falls back to the ptrace
mechanism.

This patch fixes the performance issue by attempting to fulfill the whole
transfer request in inf_ptrace_xfer_partial, using a loop around the
ptrace call.

gdb/ChangeLog:

	PR gdb/21220
	* inf-ptrace.c (inf_ptrace_xfer_partial): In "case
	TARGET_OBJECT_MEMORY", extract the logic for ptrace peek/poke...
	(inf_ptrace_peek_poke): ...here.  New function.  Now also loop
	over ptrace peek/poke until end of buffer or error.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdbserver: Use pattern rule for the remaining %-ipa.o objects
@ 2017-03-22  6:40 sergiodj+buildbot
  2017-03-30  6:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  6:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a01e7c6b0eaed1bfe70d48692e1103c6e9ee2d9 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 1a01e7c6b0eaed1bfe70d48692e1103c6e9ee2d9

gdbserver: Use pattern rule for the remaining %-ipa.o objects

gdb/gdbserver/ChangeLog:

	* Makefile.in (%-ipa.o: %-ipa.c): New rule.
	(ax-ipa.o: ax.c): Remove.
	(linux-i386-ipa.o: linux-i386-ipa.c): Remove.
	(linux-amd64-ipa.o: linux-amd64-ipa.c): Remove.
	(linux-aarch64-ipa.o: linux-aarch64-ipa.c): Remove.
	(linux-s390-ipa.o: linux-s390-ipa.c): Remove.
	(linux-ppc-ipa.o: linux-ppc-ipa.c): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix expect for gdb.cp/m-static.exp
@ 2017-03-22  7:47 sergiodj+buildbot
  2017-04-13  4:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  7:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ec3b243d4308ee56c9e3c62470b10ed2a822eb51 ***

Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Branch: master
Commit: ec3b243d4308ee56c9e3c62470b10ed2a822eb51

Fix expect for gdb.cp/m-static.exp

The expectation in gdb.cp/m-static.exp for the ptype of
single_constructor is to get in the result of destructor with the
following prototype: ~single_constructor(int).

Yet, m-static.cc declares the destructor as ~single_constructor(). This
commit fixes the expectation.

2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>

	gdb/testsuite/
	* gdb.cp/m-static.exp: Fix expectation for prototype of
	test5.single_constructor and single_constructor::single_constructor.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [Patch] Fix variable type glitch in inf-ptrace.c
@ 2017-03-22  8:05 sergiodj+buildbot
  2017-04-14  3:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  8:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 28f1c60507ad4ca2252cebada30d2f63ec3b772f ***

Author: Jiong Wang <jiong.wang@arm.com>
Branch: master
Commit: 28f1c60507ad4ca2252cebada30d2f63ec3b772f

[Patch] Fix variable type glitch in inf-ptrace.c

gdb/
	* inf-ptrace.c (inf_ptrace_peek_poke): Change the type to "ULONGEST"
	for "skip".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] New function tyscm_scm_to_type.
@ 2017-03-22  8:23 sergiodj+buildbot
  2017-04-15  0:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22  8:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a3a5feccd26be653efbdf1408874b98962baaa50 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: a3a5feccd26be653efbdf1408874b98962baaa50

New function tyscm_scm_to_type.

gdb/ChangeLog:

	* guile/guile-internal.h (tyscm_scm_to_type): Declare.
	* guile/scm-type.c (tyscm_scm_to_type): New function.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add instruction_reader to arm process record
@ 2017-03-22 10:10 sergiodj+buildbot
  2017-04-17 15:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 10:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 728a79135f51a1c20719ebaf3c98446d9ee248db ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 728a79135f51a1c20719ebaf3c98446d9ee248db

Add instruction_reader to arm process record

This patch adds an abstract class abstract_memory_reader a
and pass it to the code reading instructions in arm process record,
rather than using target_read_memory to read from real target.  This
paves the way for adding more unit tests to arm process record.

gdb:

2017-03-16  Yao Qi  <yao.qi@linaro.org>

	* arm-tdep.c (abstract_memory_reader): New class.
	(instruction_reader): New class.
	(extract_arm_insn): Add argument 'reader'.  Callers updated.
	(decode_insn): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix arm process record for some instructions
@ 2017-03-22 10:25 sergiodj+buildbot
  2017-04-19 11:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 10:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b121eeb9971ebfceffc38e6131fdc15ec4188599 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: b121eeb9971ebfceffc38e6131fdc15ec4188599

Fix arm process record for some instructions

I look at some fails in gdb.reverse/solib-precsave.exp in -mthumb,
they are caused by some bugs on decoding these three instructions,
uxtb, ldr and mrc.  This patch adds unit tests against these three
instructions, and fix these bugs by re-organizing the code to match
the table in ARM ARM.

gdb:

2017-03-16  Yao Qi  <yao.qi@linaro.org>

	* arm-tdep.c [GDB_SELF_TEST]: include "selftests.h".
	(arm_record_test): Declare.
	(_initialize_arm_tdep) [GDB_SELF_TEST]: call register_self_test.
	(thumb_record_ld_st_reg_offset): Rewrite the opcode matching to
	align with the manual.
	(thumb_record_misc): Adjust the code order to align with the
	manual.
	(thumb2_record_decode_insn_handler): Fix instruction matching.
	(instruction_reader_thumb): New class.
	(arm_record_test): New function.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add support for a GNU BUILD note type to record the enum size.
@ 2017-03-22 10:54 sergiodj+buildbot
  2017-04-22  2:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 10:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a8be5506b626a57f84771c5ddfaefabf2d61c017 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: a8be5506b626a57f84771c5ddfaefabf2d61c017

Add support for a GNU BUILD note type to record the enum size.

include	* elf/common.h (GNU_BUILD_ATTRIBUTE_SHORT_ENUM): New GNU BUILD
	note type.

binutils * readelf.c (print_gnu_build_attribute_name): Add support for
	GNU_BUILD_ATTRIBUTE_SHORT_ENUM.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] alpha-bsd-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 12:42 sergiodj+buildbot
  2017-04-04 14:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 12:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f79ec2066662b2c32c9e62ee372c9c230d206b89 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: f79ec2066662b2c32c9e62ee372c9c230d206b89

alpha-bsd-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* alpha-bsd-nat.c (alphabsd_fetch_inferior_registers,
	alphabsd_store_inferior_registers): Use regcache->ptid instead
	of inferior_ptid.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] E6500 spr mnemonics
@ 2017-03-22 12:43 sergiodj+buildbot
  2017-05-05  4:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 12:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4b94dd2de12dd0389615700b13b63260e162ccf0 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 4b94dd2de12dd0389615700b13b63260e162ccf0

E6500 spr mnemonics

	PR 21248
	* ppc-opc.c (powerpc_opcodes): Enable mfivor32, mfivor33,
	mtivor32, and mtivor33 for e6500.  Move mfibatl and mfibatu after
	those spr mnemonics they alias.  Similarly for mtibatl, mtibatu.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix PR gdb/19637: bound_registers.py: Add support for Python 3
@ 2017-03-22 13:04 sergiodj+buildbot
  2017-05-06  0:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 13:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7503099f3e29739d34cb1224d54fba96404e6e61 ***

Author: Jonah Graham <jonah@kichwacoders.com>
Branch: master
Commit: 7503099f3e29739d34cb1224d54fba96404e6e61

Fix PR gdb/19637: bound_registers.py: Add support for Python 3

Fix this the same way gdb/python/lib/gdb/printing.py handles it.

gdb/Changelog:
2017-03-17  Jonah Graham  <jonah@kichwacoders.com>

	PR gdb/19637
	* python/lib/gdb/printer/bound_registers.py: Add support for
	Python 3.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR remote/21188: Fix remote serial timeout
@ 2017-03-22 13:24 sergiodj+buildbot
  2017-05-06 20:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 13:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9bcbdca808b5f9fec6217d20bd4b48a56008c460 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 9bcbdca808b5f9fec6217d20bd4b48a56008c460

PR remote/21188: Fix remote serial timeout

As Gareth McMullin <gareth@blacksphere.co.nz> reports at
<https://sourceware.org/ml/gdb-patches/2017-02/msg00560.html>, the
timeout mechanism in ser-unix.c was broken by commit 048094acc
("target remote: Don't rely on immediate_quit (introduce quit
handlers)").

Instead of applying a local fix, and since we now finally always use
interrupt_select [1], let's get rid of hardwire_readchar entirely, and
use ser_base_readchar instead, which has similar timeout handling,
except for the bug.

Smoke tested with:

 $ socat -d -d pty,raw,echo=0 pty,raw,echo=0
 2017/03/14 14:08:13 socat[4994] N PTY is /dev/pts/14
 2017/03/14 14:08:13 socat[4994] N PTY is /dev/pts/15
 2017/03/14 14:08:13 socat[4994] N starting data transfer loop with FDs [3,3] and [5,5]
 $ gdbserver /dev/pts/14 PROG
 $ gdb PROG -ex "tar rem /dev/pts/15"

and then a few continues/ctrl-c's, plus killing gdbserver and socat.

[1] - See FIXME comments being removed.

gdb/ChangeLog:
2017-03-17  Pedro Alves  <palves@redhat.com>

	PR remote/21188
	* ser-base.c (ser_base_wait_for): Add comment.
	(do_ser_base_readchar): Improve comment based on the ser-unix.c's
	version.
	* ser-unix.c (hardwire_raw): Remove reference to
	scb->current_timeout.
	(wait_for, do_hardwire_readchar, hardwire_readchar): Delete.
	(hardwire_ops): Install ser_base_readchar instead of
	hardwire_readchar.
	* serial.h (struct serial) <current_timeout, timeout_remaining>:
	Remove fields.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Restore test-cp-name-parser build
@ 2017-03-22 13:41 sergiodj+buildbot
  2017-04-05 10:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 13:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8a6200ba863f207d93467312431d107f50f0e2ab ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 8a6200ba863f207d93467312431d107f50f0e2ab

Restore test-cp-name-parser build

Commit c8b23b3f89fbb0 ("Add constructor and destructor to
demangle_parse_info") a while ago broke the "test-cp-name-parser"
build:

 $ make test-cp-name-parser
 [...]
 src/gdb/cp-name-parser.y: In function int main(int, char**):
 src/gdb/cp-name-parser.y:2190:9: error: cannot convert std::unique_ptr<demangle_parse_info> to demangle_parse_info* in assignment
   result = cp_demangled_name_to_comp (str2, &errmsg);
	  ^
 src/gdb/cp-name-parser.y:2199:38: error: cp_demangled_name_parse_free was not declared in this scope
   cp_demangled_name_parse_free (result);
				       ^
 src/gdb/cp-name-parser.y:2211:14: error: cannot convert std::unique_ptr<demangle_parse_info> to demangle_parse_info* in assignment
	result = cp_demangled_name_to_comp (argv[arg], &errmsg);
	       ^
 src/gdb/cp-name-parser.y:2219:43: error: cp_demangled_name_parse_free was not declared in this scope
	cp_demangled_name_parse_free (result);
					    ^
 Makefile:2107: recipe for target 'test-cp-name-parser.o' failed
 make: *** [test-cp-name-parser.o] Error 1

This commit restores it.

gdb/ChangeLog:
2017-03-14  Pedro Alves  <palves@redhat.com>

	* cp-name-parser.y (cp_demangled_name_to_comp): Update comment.
	(main): Use std::unique_ptr.  Remove calls to
	cp_demangled_name_parse_free.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] arm-linux-nat.c: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 14:08 sergiodj+buildbot
  2017-05-07 16:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 14:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4ac4bb6ad5ead16be5ca6996a3e325c26ddf71da ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 4ac4bb6ad5ead16be5ca6996a3e325c26ddf71da

arm-linux-nat.c: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* arm-linux-nat.c (fetch_fpregs, store_fpregs, fetch_regs,
	store_regs, fetch_wmmx_regs, store_wmmx_regs, fetch_vfp_regs,
	store_vfp_regs): Use ptid from regcache.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] arm-nbsd-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 14:26 sergiodj+buildbot
  2017-05-08 12:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 14:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9ac8a7c281aa949cf588cccb9977ea51eaff8130 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 9ac8a7c281aa949cf588cccb9977ea51eaff8130

arm-nbsd-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* arm-nbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register,
	fetch_fp_regs, store_register, store_regs, store_fp_register,
	store_fp_regs): Use ptid from regcache.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] linux-nat: Exploit /proc/<pid>/mem for writing
@ 2017-03-22 14:42 sergiodj+buildbot
  2017-04-06  5:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 14:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a379284af268ed768674e7f452ca78dad2aaaf55 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: a379284af268ed768674e7f452ca78dad2aaaf55

linux-nat: Exploit /proc/<pid>/mem for writing

So far linux_proc_xfer_partial refused to handle write requests.  This is
still based on the assumption that the Linux kernel does not support
writes to /proc/<pid>/mem.  That used to be true, but has changed with
Linux 2.6.39 released in May 2011.

This patch lifts this restriction and now exploits /proc/<pid>/mem for
writing to inferior memory as well, if possible.

gdb/ChangeLog:

	* linux-nat.c (linux_proc_xfer_partial): Handle write operations
	as well.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bsd-uthread: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 15:22 sergiodj+buildbot
  2017-05-09  9:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 15:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 317cd4925a9d6ef6f8752a771cb56e85ddfb30f0 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 317cd4925a9d6ef6f8752a771cb56e85ddfb30f0

bsd-uthread: Use ptid from regcache instead of inferior_ptid

This is one of the rare to_fetch/store_registers implementations that will
still rely (for now) on inferior_ptid (because of the memory read/write
operations).  We therefore have to add a save/restore of inferior_ptid.  We'll
be able to remove it when we make the memory operations accept the ptid as a
parameter.

gdb/ChangeLog:

	* bsd-uthread.c (bsd_uthread_fetch_registers,
	bsd_uthread_store_registers): Use ptid from regcache, set and
	restore inferior_ptid.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add test name argument to get_valueof, get_integer_valueof and get_sizeof
@ 2017-03-22 15:42 sergiodj+buildbot
  2017-04-07  1:39 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 15:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0efcde634d45f4cda03fd18c43ff449103559d7a ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: 0efcde634d45f4cda03fd18c43ff449103559d7a

Add test name argument to get_valueof, get_integer_valueof and get_sizeof

An optional parameter TEST has been added to get_hexadecimal_valueof in commit:

  https://sourceware.org/ml/gdb-patches/2016-06/msg00469.html

This patch adds a similar optional parameter to other related methods that
retrieve expression values: get_valueof, get_integer_valueof and get_sizeof.
Thus tests that evaluate same expression multiple times can provide custom
test names, ensuring that test names will be unique.

gdb/testsuite/ChangeLog:
2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>

	* lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
	  Add optional 'test' parameter.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] corelow: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 16:13 sergiodj+buildbot
  2017-05-10  5:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 16:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 11a3371447f15af26def26646ad2eb7a4386462d ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 11a3371447f15af26def26646ad2eb7a4386462d

corelow: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* corelow.c (get_core_register_section): Use ptid from regcache,
	update doc.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] hppa-linux-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 16:39 sergiodj+buildbot
  2017-05-11  0:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 16:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 00204cf7da01d99205aacc994e5c594ed12bba64 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 00204cf7da01d99205aacc994e5c594ed12bba64

hppa-linux-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* hppa-linux-nat.c (fetch_register, store_register): Use ptid
	from regcache.  Use get_ptrace_pid.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Make length_of_subexp static
@ 2017-03-22 16:41 sergiodj+buildbot
  2017-04-07 21:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 16:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cf81cf6081d1a8c15c477f903d15d7b88f31b686 ***

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

Make length_of_subexp static

It isn't used anywhere else than the file it's defined in.

gdb/ChangeLog:

	* parse.c (length_of_subexp): Make static.
	* parser-defs.h (length_of_subexp): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] hppa-nbsd-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 17:03 sergiodj+buildbot
  2017-07-19  4:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 17:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 10799020a9336b6a88c1ace53c601960b840d580 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 10799020a9336b6a88c1ace53c601960b840d580

hppa-nbsd-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* hppa-nbsd-nat.c (hppanbsd_fetch_registers,
	hppanbsd_store_registers): Use ptid from regcache.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] hppa-obsd-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 17:59 sergiodj+buildbot
  2017-07-19 14:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 17:59 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bbe1eef1e585e19d5493882e55f2b7902df9827a ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: bbe1eef1e585e19d5493882e55f2b7902df9827a

hppa-obsd-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* hppa-obsd-nat.c (hppaobsd_fetch_registers,
	hppaobsd_store_registers): Use ptid from regcache.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] i386-bsd-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 18:49 sergiodj+buildbot
  2017-07-21 17:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 18:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aac12e2497a42b47223680ab1b5924137de77c9a ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: aac12e2497a42b47223680ab1b5924137de77c9a

i386-bsd-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* i386-bsd-nat.c (i386bsd_fetch_inferior_registers,
	i386bsd_store_inferior_registers): Use ptid from regcache.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] i386-darwin-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 19:06 sergiodj+buildbot
  2017-07-22 14:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 19:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1afaf9f42fe201872d758214beceff85325a988a ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 1afaf9f42fe201872d758214beceff85325a988a

i386-darwin-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* i386-darwin-nat.c (i386_darwin_fetch_inferior_registers,
	i386_darwin_store_inferior_registers): Use ptid from regcache.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] i386-gnu-nat: Use ptid from regcache instead of inferior_ptid
@ 2017-03-22 19:22 sergiodj+buildbot
  2017-07-23 10:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 19:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d9cb6cdcfa12368f2f639f8cd06d18b94bd98a39 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: d9cb6cdcfa12368f2f639f8cd06d18b94bd98a39

i386-gnu-nat: Use ptid from regcache instead of inferior_ptid

gdb/ChangeLog:

	* i386-gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Use
	ptid from regcache.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] DT_TEXTREL vs IFUNC
@ 2017-03-22 19:37 sergiodj+buildbot
  2017-07-24  6:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 19:37 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 82e66161e649e5e801c40a52cba759292a76a59a ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 82e66161e649e5e801c40a52cba759292a76a59a

DT_TEXTREL vs IFUNC

If you should somehow link non-pic objects into a PIE or shared
library, resulting in an object with DT_TEXTREL (text relocations)
set, and your executable or shared library also contains GNU indirect
functions, then you're in trouble.  To apply dynamic relocations
ld.so will make the text segment writable.  On most systems this will
make the text segment non-executable, which will then result in a
segfault when ld.so tries to run ifunc resolvers when applying
relocations against ifuncs.

This patch teaches PowerPC ld to detect the situation, and warn.

	* elf64-ppc.c (struct ppc_link_hash_table): Add
	local_ifunc_resolver and maybe_local_ifunc_resolver.
	(ppc_build_one_stub): Set flags on emitting dynamic
	relocation to ifunc.
	(ppc64_elf_relocate_section): Likewise.
	(ppc64_elf_finish_dynamic_symbol): Likewise.
	(ppc64_elf_finish_dynamic_sections): Error on DT_TEXTREL with
	local dynamic relocs to ifuncs.
	* elf32-ppc.c (struct ppc_elf_link_hash_table): Add
	local_ifunc_resolver and maybe_local_ifunc_resolver.
	(ppc_elf_relocate_section): Set flag on emitting dynamic
	relocation to ifuncs.
	(ppc_elf_finish_dynamic_symbol): Likewise.
	(ppc_elf_finish_dynamic_sections): Error on DT_TEXTREL with local
	dynamic relocs to ifuncs.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR 21266, unstable qsort in bfd/elf64-ppc.c
@ 2017-03-22 19:52 sergiodj+buildbot
  2017-07-25 10:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 19:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aaed6f5be3a41a88cc13c744e88af78f5a42dd5b ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: aaed6f5be3a41a88cc13c744e88af78f5a42dd5b

PR 21266, unstable qsort in bfd/elf64-ppc.c

	PR 21266
	* elf64-ppc.c (compare_symbols): Stabilize sort.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add DW_OP_GNU_variable_value
@ 2017-03-22 20:08 sergiodj+buildbot
  2017-04-10 13:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 20:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c98763221af696a9e0c6686da7d65881bfd6bdd0 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: c98763221af696a9e0c6686da7d65881bfd6bdd0

Add DW_OP_GNU_variable_value

Sync GCC dwarf.def change

2017-03-14  Jakub Jelinek  <jakub@redhat.com>

	PR debug/77589
	* dwarf2.def (DW_OP_GNU_variable_value): New opcode.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] s390: Fix displaced-stepping certain relative branch insns
@ 2017-03-22 20:36 sergiodj+buildbot
  2017-07-26  6:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 20:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT dcb84eda0c5f25835251a311c4d6704e70cfa498 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: dcb84eda0c5f25835251a311c4d6704e70cfa498

s390: Fix displaced-stepping certain relative branch insns

On s390x targets GDB can not handle displaced stepping correctly for some
relative branch instructions, such as cij (compare immediate and branch
relative).  When setting a breakpoint on such an instruction and
single-stepping over it, the branch is never taken.  This is because the
check in s390_displaced_step_fixup for relative branch instructions is
incomplete.

Instead of completing the list of relative branch instructions to check
against, this patch just treats relative branches and non-branching
instructions in the same way and adjusts the PC with the negated
displacement in both cases.

gdb/ChangeLog:

	* s390-linux-tdep.c (is_rsi, is_rie): Remove functions.
	(s390_displaced_step_fixup): Cover relative branches with the
	default fixup handling.  This fixes lack of support for some
	relative branch instructions.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] RISC-V: Fix assembler for c.addi, rd can be x0
@ 2017-03-22 20:41 sergiodj+buildbot
  2017-04-11  9:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 20:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 03b039a518fa0f89a9900a44a8b874cc91061305 ***

Author: Kito Cheng <kito.cheng@gmail.com>
Branch: master
Commit: 03b039a518fa0f89a9900a44a8b874cc91061305

RISC-V: Fix assembler for c.addi, rd can be x0

opcodes/ChangeLog:

2017-03-14  Kito Cheng  <kito.cheng@gmail.com>

	* riscv-opc.c (riscv_opcodes) <c.addi>: Use match_opcode.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix spurious FAILs with examine-backward.exp
@ 2017-03-22 20:51 sergiodj+buildbot
  2017-07-27 11:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 20:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 59a561480d547d041127630b1ba17a284eef8225 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 59a561480d547d041127630b1ba17a284eef8225

Fix spurious FAILs with examine-backward.exp

The test case examine-backward.exp issues the command "x/-s" after the end
of the first string in TestStrings, but without making sure that this
string is preceded by a string terminator.  Thus GDB may spuriously print
some random characters from before that string, and then the test fails.

This patch assures that TestStrings is preceded by a string terminator.

gdb/testsuite/ChangeLog:

	* gdb.base/examine-backward.c (Barrier): New character array
	constant, to ensure that TestStrings is preceded by a string
	terminator.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add a better diagnostic message in mi_gdb_test
@ 2017-03-22 21:28 sergiodj+buildbot
  2017-07-29 11:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 21:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5b291c049658614196197e4ea4bb42bcc176b876 ***

Author: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Branch: master
Commit: 5b291c049658614196197e4ea4bb42bcc176b876

Add a better diagnostic message in mi_gdb_test

When using mi_gdb_test, if it fails because of the presence of
unexpected output, the error message is only the message passed as
the argument with no indication that there was an unexpected output.
This change adds an additional text to the failure message to
indicate that there was an unexpected output.

gdb/testsuite/ChangeLog:

	* lib/mi-support.exp (mi_gdb_test): Add additional message
	for unexpected output.

Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add -file-list-shared-libraries MI command
@ 2017-03-22 21:43 sergiodj+buildbot
  2017-07-30  7:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 21:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 51457a05780da82b5321a1574caed95ac0e6923e ***

Author: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Branch: master
Commit: 51457a05780da82b5321a1574caed95ac0e6923e

Add -file-list-shared-libraries MI command

This change adds the MI equivalent for the "info sharedlibrary"
command. The command was already partially documented but ignored as
it was not implemented. The new MI command works similarly to the CLI
command, taking an optional regular expression as an argument and
outputting the library information.

I included a test for the new command in mi-solib.exp.

gdb/doc/ChangeLog:

	* gdb.texinfo (gdb/mi Symbol Query Commands): Document new MI
	command file-list-shared-libraries
	(GDB/MI Async Records): Update documentation of library-loaded with new
	field.

gdb/ChangeLog:

	* NEWS: Add an entry about new '-file-list-shared-libraries' command.
	* mi/mi-cmd-file.c (mi_cmd_file_list_shared_libraries):
	New function definition.
	* mi/mi-cmds.c (mi_cmds): Add -file-list-shared-libraries command.
	* mi/mi-cmds.h (mi_cmd_file_list_shared_libraries):
	New function declaration.
	* mi/mi-interp.c (mi_output_solib_attribs): New Function.
	* mi/mi-interp.h: New file.
	* solib.c (info_sharedlibrary_command): Replace for loop with
	ALL_SO_LIBS macro
	* solib.h (update_solib_list): New function declaration.
	(so_list_head): Move macro.
	* solist.h (ALL_SO_LIBS): New macro.

gdb/testsuite/ChangeLog:

	* gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
	New procedure.

Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] RISC-V: Fix assembler for c.li, c.andi and c.addiw
@ 2017-03-22 22:07 sergiodj+buildbot
  2017-04-12  7:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 22:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b416fe873ef44b2a613c9266c6462a481926d986 ***

Author: Kito Cheng <kito.cheng@gmail.com>
Branch: master
Commit: b416fe873ef44b2a613c9266c6462a481926d986

RISC-V: Fix assembler for c.li, c.andi and c.addiw

 - They can accept 0 in imm field

 2017-03-14  Kito Cheng  <kito.cheng@gmail.com>

       * riscv-opc.c (riscv_opcodes> <c.li>: Use the 'o' immediate encoding.
       <c.andi>: Likewise.
       <c.addiw> Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add definitions for rvalue reference types
@ 2017-03-22 22:25 sergiodj+buildbot
  2017-07-31  5:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 22:25 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f9aeb8d499fa12610610dc19618230304c698f6c ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: f9aeb8d499fa12610610dc19618230304c698f6c

Add definitions for rvalue reference types

This patch introduces preliminal definitions regarding C++11 rvalue references
to the gdb type system. In addition to an enum type_code entry, a field in
struct type and an accessor macro for that which are created similarly to the
lvalue references counterparts, we also introduce a TYPE_REFERENCE convenience
macro used to check for both kinds of references simultaneously as they are
equivalent in many contexts.

gdb/Changelog

    PR gdb/14441
    * gdbtypes.h (enum type_code) <TYPE_CODE_RVALUE_REF>: New constant.
    (TYPE_IS_REFERENCE): New macro.
    (struct type): Add rvalue_reference_type field.
    (TYPE_RVALUE_REFERENCE_TYPE): New macro.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add ability to return rvalue reference values from value_ref
@ 2017-03-22 23:28 sergiodj+buildbot
  2017-08-01 21:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 23:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a65cfae5f8b268158c23a862e7a996d15bbcef0e ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: a65cfae5f8b268158c23a862e7a996d15bbcef0e

Add ability to return rvalue reference values from value_ref

Parameterize value_ref() by the kind of reference type the value of which
is requested. Change all callers to use the new API.

gdb/ChangeLog

	PR gdb/14441
	* ada-lang.c (ada_evaluate_subexp): Adhere to the new
	value_ref() interface.
	* c-valprint.c (c_value_print): Likewise.
	* infcall.c (value_arg_coerce): Likewise.
	* python/py-value.c (valpy_reference_value): Likewise.
	* valops.c (value_cast, value_reinterpret_cast)
	(value_dynamic_cast, typecmp): Likewise.
	(value_ref): Parameterize by kind of return value reference type.
	* value.h (value_ref): Add new parameter "refcode".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Implement demangling for rvalue reference type names
@ 2017-03-22 23:58 sergiodj+buildbot
  2017-08-03 13:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-22 23:58 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e4347c89f3a14b480fc88581d1363835f7b99b68 ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: e4347c89f3a14b480fc88581d1363835f7b99b68

Implement demangling for rvalue reference type names

This patch fixes demangling of names containing rvalue reference typenames by
handling DEMANGLE_COMPONENT_RVALUE_REFERENCE demangle component.

gdb/ChangeLog

	PR gdb/14441
	* cp-name-parser.y (ptr_operator): Handle the '&&' token in
	typename.
	* cp-support.c (replace_typedefs): Handle
	DEMANGLE_COMPONENT_RVALUE_REFERENCE.
	* python/py-type.c (typy_lookup_type): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Support DW_TAG_rvalue_reference type
@ 2017-03-23  0:29 sergiodj+buildbot
  2017-08-05  6:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  0:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4297a3f0029974c62628d69b6f3f9ef25f01ea7d ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: 4297a3f0029974c62628d69b6f3f9ef25f01ea7d

Support DW_TAG_rvalue_reference type

Make gdb DWARF reader understand the DW_TAG_rvalue_reference type tag. Handling
of this tag is done in the existing read_tag_reference_type() function, to
which we add a new parameter representing the kind of reference type
(lvalue vs rvalue).

gdb/ChangeLog

	PR gdb/14441
	* dwarf2read.c (process_die, read_type_die_1): Handle the
	DW_TAG_rvalue_reference_type DIE.
	(read_tag_reference_type): Add new parameter "refcode".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix various python lazy string bugs.
@ 2017-03-23  1:38 sergiodj+buildbot
  2017-04-15 21:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  1:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 34b433203b5f56149c27a8dfea21a921392cb158 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 34b433203b5f56149c27a8dfea21a921392cb158

Fix various python lazy string bugs.

gdb/ChangeLog:

	PR python/17728, python/18439, python/18779
	* python/py-lazy-string.c (lazy_string_object): Clarify use of LENGTH
	member.  Change type of TYPE member to PyObject *.  All uses updated.
	(stpy_convert_to_value): Fix handling of TYPE_CODE_PTR.
	(gdbpy_create_lazy_string_object): Flag bad length values.
	Handle TYPE_CODE_ARRAY with possibly different user-provided length.
	Handle typedefs in incoming type.
	(stpy_lazy_string_elt_type): New function.
	(gdbpy_extract_lazy_string): Call it.
	* python/py-value.c (valpy_lazy_string): Flag bad length values.
	Fix handling of TYPE_CODE_PTR.  Handle TYPE_CODE_ARRAY.  Handle
	typedefs in incoming type.

gdb/testsuite/ChangeLog:

	PR python/17728, python/18439, python/18779
	* gdb.python/py-value.c (main) Delete locals sptr, sn.
	* gdb.python/py-lazy-string.c (pointer): New typedef.
	(main): New locals ptr, array, typedef_ptr.
	* gdb.python/py-value.exp: Move lazy string tests to ...
	* gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
	array, typedef lazy strings.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add rvalue references to overloading resolution
@ 2017-03-23  1:42 sergiodj+buildbot
  2017-08-07 20:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  1:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 15c0a2a9305648095f5586a02b5a5017e1643e99 ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: 15c0a2a9305648095f5586a02b5a5017e1643e99

Add rvalue references to overloading resolution

This patch introduces changes to rank_one_type() dealing with ranking an rvalue
reference type when selecting a best viable function from a set of candidate
functions. The 4 new added rules for rvalue references are:

1) An rvalue argument cannot be bound to a non-const lvalue reference parameter
and an lvalue argument cannot be bound to an rvalue reference parameter.
[C++11 13.3.3.1.4p3]

2) If a conversion to one type of reference is an identity conversion, and a
conversion to the second type of reference is a non-identity conversion, choose
the first type. [C++11 13.3.3.2p3]

3) An rvalue should be first tried to bind to an rvalue reference, and then to
an lvalue reference. [C++11 13.3.3.2p3]

4) An lvalue reference to a function gets higher priority than an rvalue
reference to a function. [C++11 13.3.3.2p3]

This patch is not exactly correct.  See c++/15372 for tracking overload
resolution bugs.

gdb/ChangeLog

	PR gdb/14441
	* gdbtypes.c (rank_one_type): Implement overloading
	resolution rules regarding rvalue references.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Copy lazy string handling fixes from Python.
@ 2017-03-23  2:39 sergiodj+buildbot
  2017-04-16 16:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  2:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a7c0469f992721b30665ba92f4f2f74d29032a84 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: a7c0469f992721b30665ba92f4f2f74d29032a84

Copy lazy string handling fixes from Python.

This patch keeps the Scheme side of lazy string handling in sync
with the python size, bringing over fixes for
PRs python/17728, python/18439, python/18779.

gdb/ChangeLog:

	* guile/scm-lazy-string.c (lazy_string_smob): Clarify use of LENGTH
	member.  Change type of TYPE member to SCM.  All uses updated.
	(lsscm_make_lazy_string_smob): Add assert.
	(lsscm_make_lazy_string): Flag bad length values.
	(lsscm_elt_type): New function.
	(gdbscm_lazy_string_to_value): Rewrite to use
	lsscm_safe_lazy_string_to_value.
	(lsscm_safe_lazy_string_to_value): Fix handling of TYPE_CODE_PTR.
	* guile/scm-value.c (gdbscm_value_to_lazy_string): Flag bad length
	values.  Fix TYPE_CODE_PTR.  Handle TYPE_CODE_ARRAY.  Handle typedefs
	in incoming type.
	* guile/guile-internal.h (tyscm_scm_to_type): Declare.
	* guile/scm-type.c (tyscm_scm_to_type): New function.

gdb/testsuite/ChangeLog:

	* gdb.guile/scm-value.c (main) Delete locals sptr, sn.
	* gdb.guile/scm-lazy-string.c: New file.
	* gdb.guile/scm-value.exp: Move lazy string tests to ...
	* gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
	for pointer, array, typedef lazy strings.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use ptid from regcache in almost all remaining nat files
@ 2017-03-23  3:08 sergiodj+buildbot
  2017-08-09 13:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  3:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bcc0c096d5b0f77482cdb3154acd2515a0ca832f ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: bcc0c096d5b0f77482cdb3154acd2515a0ca832f

Use ptid from regcache in almost all remaining nat files

This patch contains almost all of the remaining changes needed to make
to_fetch_registers/to_store_registers/to_prepare_to_store independent of
inferior_ptid.  It contains only some "trivial" changes, the more
complicated ones are in separate patches.

gdb/ChangeLog:

	* i386-linux-nat.c (fetch_register, store_register,
	i386_linux_fetch_inferior_registers,
	i386_linux_store_inferior_registers): Use ptid from regcache.
	* ia64-linux-nat.c (ia64_linux_fetch_register,
	ia64_linux_store_register): Likewise.
	* inf-ptrace.c (inf_ptrace_fetch_register,
	inf_ptrace_store_register): Likewise.
	* m32r-linux-nat.c (m32r_linux_fetch_inferior_registers,
	m32r_linux_store_inferior_registers): Likewise.
	* m68k-bsd-nat.c (m68kbsd_fetch_inferior_registers,
	m68kbsd_store_inferior_registers): Likewise.
	* m68k-linux-nat.c (fetch_register, store_register,
	m68k_linux_fetch_inferior_registers,
	m68k_linux_store_inferior_registers): Likewise.
	* m88k-bsd-nat.c (m88kbsd_fetch_inferior_registers,
	m88kbsd_store_inferior_registers): Likewise.
	* mips-fbsd-nat.c (mips_fbsd_fetch_inferior_registers,
	mips_fbsd_store_inferior_registers): Likewise.
	* mips-linux-nat.c (mips64_linux_regsets_fetch_registers,
	mips64_linux_regsets_store_registers): Likewise.
	* mips-nbsd-nat.c (mipsnbsd_fetch_inferior_registers,
	mipsnbsd_store_inferior_registers): Likewise.
	* mips-obsd-nat.c (mips64obsd_fetch_inferior_registers,
	mips64obsd_store_inferior_registers): Likewise.
	* nto-procfs.c (procfs_fetch_registers, procfs_store_registers):
	Likewise.
	* ppc-fbsd-nat.c (ppcfbsd_fetch_inferior_registers,
	ppcfbsd_store_inferior_registers): Likewise.
	* ppc-linux-nat.c (ppc_linux_fetch_inferior_registers,
	ppc_linux_store_inferior_registers): Likewise.
	* ppc-nbsd-nat.c (ppcnbsd_fetch_inferior_registers,
	ppcnbsd_store_inferior_registers): Likewise.
	* ppc-obsd-nat.c (ppcobsd_fetch_registers,
	ppcobsd_store_registers): Likewise.
	* procfs.c (procfs_fetch_registers, procfs_store_registers):
	Likewise.
	* ravenscar-thread.c (ravenscar_fetch_registers,
	ravenscar_store_registers, ravenscar_prepare_to_store):
	Likewise.
	* record-btrace.c (record_btrace_fetch_registers,
	record_btrace_store_registers, record_btrace_prepare_to_store):
	Likewise.
	* remote-sim.c (gdbsim_fetch_register, gdbsim_store_register):
	Lookup inferior using ptid from regcache, instead of
	current_inferior.
	* remote.c (remote_fetch_registers, remote_store_registers): Use
	ptid from regcache.
	* rs6000-nat.c (fetch_register, store_register): Likewise.
	* s390-linux-nat.c (s390_linux_fetch_inferior_registers,
	s390_linux_store_inferior_registers): Likewise.
	* sh-nbsd-nat.c (shnbsd_fetch_inferior_registers,
	shnbsd_store_inferior_registers): Likewise.
	* sol-thread.c (sol_thread_fetch_registers,
	sol_thread_store_registers): Likewise.
	* sparc-nat.c (sparc_fetch_inferior_registers,
	sparc_store_inferior_registers): Likewise.
	* tilegx-linux-nat.c (fetch_inferior_registers,
	store_inferior_registers): Likewise.
	* vax-bsd-nat.c (vaxbsd_fetch_inferior_registers,
	vaxbsd_store_inferior_registers): Likewise.
	* xtensa-linux-nat.c (fetch_gregs, store_gregs, fetch_xtregs,
	store_xtregs): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix break on Python 2
@ 2017-03-23  4:06 sergiodj+buildbot
  2017-08-11 11:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  4:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cee59b3feac9a8f6300a5b788e3db4e15af2a894 ***

Author: Tim Wiederhake <tim.wiederhake@intel.com>
Branch: master
Commit: cee59b3feac9a8f6300a5b788e3db4e15af2a894

Fix break on Python 2

This changes the return type of "gdb.BtraceInstruction.data ()" from
"memoryview" to "buffer" on Python 2.7 and below, similar to what
"gdb.Inferior.read_memory ()" does.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Decode properly flags of %ccr register on sparc64.
@ 2017-03-23  4:21 sergiodj+buildbot
  2017-08-12  7:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  4:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5badf10a18af78c57dd4ce8e6a6ead7f46e1a878 ***

Author: Ivo Raisr <ivo.raisr@oracle.com>
Branch: master
Commit: 5badf10a18af78c57dd4ce8e6a6ead7f46e1a878

Decode properly flags of %ccr register on sparc64.

While at it, decode also properly one-bit flags for %fsr (accrued and
current exception flags were mixed up).

ChangeLog entry:
2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>

    	PR tdep/20928
    	* gdb/sparc-tdep.h (gdbarch_tdep) <sparc64_ccr_type>: New field.
    	* gdb/sparc64-tdep.c (sparc64_ccr_type): New function.
    	(sparc64_fsr_type): Fix %fsr decoding.

ChangeLog entry for testsuite:
2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>

    	PR tdep/20928
    	* gdb.arch/sparc64-regs.exp: New file.
    	* gdb.arch/sparc64-regs.S: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] S/390: Remove vx2 facility flag
@ 2017-03-23  5:15 sergiodj+buildbot
  2017-08-14  3:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  5:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2253c8f089193b90141e08436417bc8ea1dd6015 ***

Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Branch: master
Commit: 2253c8f089193b90141e08436417bc8ea1dd6015

S/390: Remove vx2 facility flag

This patch removes the vx2 facility flag.  It will not be used by GCC
and was a misnomer anyway.

Committed to mainline and 2.28 branch.

include/ChangeLog:

2017-03-21  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* opcode/s390.h (S390_INSTR_FLAG_VX2): Remove.
	(S390_INSTR_FLAG_FACILITY_MASK): Adjust value.

gas/ChangeLog:

2017-03-21  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* config/tc-s390.c (s390_parse_cpu): Remove S390_INSTR_FLAG_VX2
	from cpu_table.  Remove vx2, and novx2 from cpu_flags.

opcodes/ChangeLog:

2017-03-21  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* s390-mkopc.c (main): Remove vx2 check.
	* s390-opc.txt: Remove vx2 instruction flags.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove remaining reference to struct serial::current_timeout
@ 2017-03-23  5:30 sergiodj+buildbot
  2017-08-15  1:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  5:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0e7b8f61069f1219ca53a9dd927ba55c9a7eefd4 ***

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

Remove remaining reference to struct serial::current_timeout

I get this when trying to build for --host=x68_64-w64-mingw32:

/home/emaisin/src/binutils-gdb/gdb/ser-mingw.c: In function 'void ser_windows_raw(serial*)':
/home/emaisin/src/binutils-gdb/gdb/ser-mingw.c:166:8: error: 'struct serial' has no member named 'current_timeout'
   scb->current_timeout = 0;
        ^~~~~~~~~~~~~~~

It is just a leftover from

  9bcbdca808b5f9fec6217d20bd4b48a56008c460
  PR remote/21188: Fix remote serial timeout

gdb/ChangeLog:

	* ser-mingw.c (ser_windows_raw): Remove reference to
	struct serial::current_timeout.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Support CBNZ, CBZ, REV, REV16 and REVSH in arm process record
@ 2017-03-23  5:40 sergiodj+buildbot
  2017-04-20  9:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  5:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ba14f3792fe007bedd88b62e554c79258adc53d9 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: ba14f3792fe007bedd88b62e554c79258adc53d9

Support CBNZ, CBZ, REV, REV16 and REVSH in arm process record

This patch adds the support for these instructions in arm process
record.

gdb:

2017-03-16  Yao Qi  <yao.qi@linaro.org>

	* arm-tdep.c (thumb_record_misc): Decode CBNZ, CBZ, REV16,
	and REVSH instructions.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] windows: Use ptid from regcache in register fetch/store
@ 2017-03-23  5:45 sergiodj+buildbot
  2017-08-15 23:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  5:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3de88e9afbf0d8d10a8c4ce1415c219120e0a0c1 ***

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

windows: Use ptid from regcache in register fetch/store

Use the ptid from the regcache so we don't depend on the current value
of the inferior_ptid global.

Also, change how the current thread is passed to sub-functions.  The
windows_fetch_inferior_registers function sets current_thread then calls
do_windows_fetch_inferior_registers, which reads current_thread.  This
very much looks like passing a parameter through a global variable.  I
think it would be more straightforward to pass the thread as a
parameter.

gdb/ChangeLog:

	* windows-nat.c (do_windows_fetch_inferior_registers): Add
	windows_thread_info parameter and use it instead of
	current_thread.
	(windows_fetch_inferior_registers): Don't set current_thread,
	pass the thread to do_windows_fetch_inferior_registers.  Use
	ptid from regcache instead of inferior_ptid.
	(do_windows_store_inferior_registers): Add windows_thread_info
	parameter and use it instead of current_thread.
	(windows_store_inferior_registers): Don't set current_thread,
	pass the thread to do_windows_store_inferior_registers.  Use
	ptid from regcache instead of inferior_ptid.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Wrap locally used classes in anonymous namespace
@ 2017-03-23  6:14 sergiodj+buildbot
  2017-08-18  8:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  6:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ffdbe8642e74527795b695988a176f0920d58f96 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: ffdbe8642e74527795b695988a176f0920d58f96

Wrap locally used classes in anonymous namespace

Both aarch64-tdep.c and arm-tdep.c defines a class instruction_reader, which
violates ODR, but linker doesn't an emit error.  I fix this issue by wrapping
them by anonymous namespace, but I think it is better to apply this for all
locally used classes.

If it is a good idea to put locally used class into anonymous namespace, we
should document this rule into GDB coding convention, or even GCC coding
convention.  Note that anonymous namespace has been used in GCC but GCC
coding convention doesn't mention the it.

gdb:

2017-03-22  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c: Wrap locally used classes in anonymous
	namespace.
	* arm-tdep.c: Likewise.
	* linespec.c: Likewise.
	* ui-out.c: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Sync top level config files with master versions in the FSF config project.
@ 2017-03-23  6:29 sergiodj+buildbot
  2017-08-19 16:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  6:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 11997a83a040245406b6e2e9978c6720f17e80c4 ***

Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 11997a83a040245406b6e2e9978c6720f17e80c4

Sync top level config files with master versions in the FSF config project.

	* config.sub: Sync with master version in config project.
	* config.guess: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb.python/py-lazy-string (pointer): Really add new typedef.
@ 2017-03-23  7:41 sergiodj+buildbot
  2017-04-27 17:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  7:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6ebac3fbacebaebd9e2c9393da3b612342d953a9 ***

Author: Doug Evans <dje@google.com>
Branch: master
Commit: 6ebac3fbacebaebd9e2c9393da3b612342d953a9

gdb.python/py-lazy-string (pointer): Really add new typedef.

Somehow got dropped in earlier commit.

gdb/testsuite/ChangeLog:

	* gdb.python/py-lazy-string (pointer): Really add new typedef.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Big-endian targets: Don't ignore offset into DW_OP_stack_value
@ 2017-03-23  8:41 sergiodj+buildbot
  2017-05-04  1:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23  8:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7942e96e435d1cf4d4dbf58c47bb28d9f628c9e6 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 7942e96e435d1cf4d4dbf58c47bb28d9f628c9e6

Big-endian targets: Don't ignore offset into DW_OP_stack_value

Recently I fixed a bug that caused a DW_OP_implicit_pointer with non-zero
offset into a DW_OP_implicit_value to be handled incorrectly on big-endian
targets.  GDB ignored the offset and copied the wrong bytes:

  https://sourceware.org/ml/gdb-patches/2017-01/msg00251.html

But there is still a similar issue when a DW_OP_implicit_pointer points
into a DW_OP_stack_value instead; and again, the offset is ignored.  There
is an important difference, though: While implicit values are treated like
blocks of data and anchored at the lowest-addressed byte, stack values
traditionally contain integer numbers and are anchored at the *least
significant* byte.  Also, stack values do not come in varying sizes, but
are cut down appropriately when used.  Thus, on big-endian targets the
scenario looks like this (higher addresses shown right):

  |<- - - - - Stack value - - - - - - ->|
                  |                     |
                  |<- original object ->|
                  |
                  | offset ->|####|
			      ^^^^
                              de-referenced
			      implicit pointer

(Note how the original object's size influences the position of the
de-referenced implicit pointer within the stack value.  This is not the
case for little-endian targets, where the original object starts at offset
zero within the stack value.)

This patch implements the logic indicated in the above diagram and adds an
appropriate test case.  A new function dwarf2_fetch_die_type_sect_off is
added; it is used for retrieving the original object's type, so its size
can be determined.  That type is passed to dwarf2_evaluate_loc_desc_full
via a new parameter.

gdb/ChangeLog:

	* dwarf2loc.c (indirect_synthetic_pointer): Get data type of
	pointed-to DIE and pass it to dwarf2_evaluate_loc_desc_full.
	(dwarf2_evaluate_loc_desc_full): New parameter subobj_type; rename
	byte_offset to subobj_byte_offset.  Fix the handling of
	DWARF_VALUE_STACK on big-endian targets when coming via an
	implicit pointer.
	(dwarf2_evaluate_loc_desc): Adjust call to
	dwarf2_evaluate_loc_desc_full.
	* dwarf2loc.h (dwarf2_fetch_die_type_sect_off): New declaration.
	* dwarf2read.c (dwarf2_fetch_die_type_sect_off): New function.

gdb/testsuite/ChangeLog:

	* lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
	* gdb.dwarf2/nonvar-access.exp: Add test for stack value location
	and implicit pointer into such a location.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix memory leak in python.c:do_start_initialization
@ 2017-03-23 11:28 sergiodj+buildbot
  2017-08-21  2:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23 11:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3f2a3564b1c3872e4a380f2484d40ce2495a4835 ***

Author: Philipp Rudo <prudo@linux.vnet.ibm.com>
Branch: master
Commit: 3f2a3564b1c3872e4a380f2484d40ce2495a4835

Fix memory leak in python.c:do_start_initialization

When intializing Python the path to the python binary is build the
following way

progname = concat (ldirname (python_libdir), SLASH_STRING, "bin",
		   SLASH_STRING, "python", (char *) NULL);

This is problematic as both concat and ldirname allocate memory for the
string they return.  Thus the memory allocated by ldirname cannot be
accessed afterwards causing a memory leak.  Fix it by temporarily storing
libdir in a variable and xfree it after concat.

gdb/ChangeLog:
	python/python.c (do_start_initialization): Fix memory leak.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove constness of libdir in do_start_initialization
@ 2017-03-23 12:14 sergiodj+buildbot
  2017-08-22  6:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23 12:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a5e158b68d0fb3b1ba3d038e87c841239572a35 ***

Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Branch: master
Commit: 1a5e158b68d0fb3b1ba3d038e87c841239572a35

Remove constness of libdir in do_start_initialization

The patch "Fix memory leak in python.c:do_start_initialization"
(https://sourceware.org/ml/gdb-patches/2017-03/msg00407.html) introduced a
compilation error on some platforms:

  ../../binutils-gdb/gdb/python/python.c: In function bool do_start_initialization():
  ../../binutils-gdb/gdb/python/python.c:1556:16: error: invalid conversion from const void* to void* [-fpermissive]
   xfree (libdir);
                ^

This is fixed by removing the constness of libdir's data type.

gdb/ChangeLog:

	* python/python.c (do_start_initialization): Remove 'const' from
	data type of libdir.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove AARCH64_RECORD_FAILURE
@ 2017-03-23 15:04 sergiodj+buildbot
  2017-08-22 16:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23 15:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a0eef9404b0fcfc8b0fbe7511d094a419ac631e9 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: a0eef9404b0fcfc8b0fbe7511d094a419ac631e9

Remove AARCH64_RECORD_FAILURE

It is not used at all.

gdb:

2017-03-23  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c: Remove AARCH64_RECORD_FAILURE.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix code indentation
@ 2017-03-23 15:19 sergiodj+buildbot
  2017-08-24 21:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-23 15:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 338771252e913f82df8a445cb3e748a791b1cba8 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 338771252e913f82df8a445cb3e748a791b1cba8

Fix code indentation

gdb:

2017-03-23  Yao Qi  <yao.qi@linaro.org>

	* aarch64-tdep.c (aarch64_record_load_store): Fix code
	indentation.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove unused parameter in solib_add and update_solib_list
@ 2017-03-24  3:12 sergiodj+buildbot
  2017-07-28 15:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-24  3:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e696b3ad342dde596dcdad4cff6b875c361ed6d0 ***

Author: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Branch: master
Commit: e696b3ad342dde596dcdad4cff6b875c361ed6d0

Remove unused parameter in solib_add and update_solib_list

The target parameter in both solib_add and update_solib_list
functions is not used anymore and as not been used for a while. This
change removes the parameter to clean up the code a little bit.

gdb/ChangeLog:

	* infcmd.c (post_create_inferior): Remove unused argument in
	call to solib_add.
	* remote.c (remote_start_remote): Likewise.
	* solib-frv.c (frv_fetch_objfile_link_map): Likewise.
	* solib-svr4.c: (svr4_fetch_objfile_link_map): Likewise.
	(enable_break): Likewise.
	* solib.c (update_solib_list): Remove unused target argument
	and its documentation.
	(solib_add): Remove unused target argument.  Remove unused
	argument in call to update_solib_list.
	(info_sharedlibrary_command): Remove unused argument in call
	to update_solib_list.
	(sharedlibrary_command): Remove unused argument in call to
	solib_add.
	(handle_solib_event): Likewise.
	(reload_shared_libraries): Likewise.
	* solib.h (solib_add): Remove unused target argument.

Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Change {lookup,make}_reference_type API
@ 2017-03-24  7:12 sergiodj+buildbot
  2017-08-01  1:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-24  7:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3b22433085e4cfee83f5c52f3baa8fb9bc67f8dd ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: 3b22433085e4cfee83f5c52f3baa8fb9bc67f8dd

Change {lookup,make}_reference_type API

Parameterize lookup_reference_type() and make_reference_type() by the kind of
reference type we want to look up. Create two wrapper functions
lookup_{lvalue,rvalue}_reference_type() for lookup_reference_type() to simplify
the API. Change all callers to use the new API.

gdb/Changelog

	PR gdb/14441
	* dwarf2read.c (read_tag_reference_type): Use
	lookup_lvalue_reference_type() instead of lookup_reference_type().
	* eval.c (evaluate_subexp_standard): Likewise.
	* f-exp.y: Likewise.
	* gdbtypes.c (make_reference_type, lookup_reference_type):
	Generalize with rvalue reference types.
	(lookup_lvalue_reference_type, lookup_rvalue_reference_type): New
	convenience wrappers for lookup_reference_type().
	* gdbtypes.h (make_reference_type, lookup_reference_type): Add a
	reference kind parameter.
	(lookup_lvalue_reference_type, lookup_rvalue_reference_type): Add
	wrappers for lookup_reference_type().
	* guile/scm-type.c (gdbscm_type_reference): Use
	lookup_lvalue_reference_type() instead of lookup_reference_type().
	* guile/scm-value.c (gdbscm_value_dynamic_type): Likewise.
	* parse.c (follow_types): Likewise.
	* python/py-type.c (typy_reference, typy_lookup_type): Likewise.
	* python/py-value.c (valpy_get_dynamic_type, valpy_getitem):
	Likewise.
	* python/py-xmethods.c (gdbpy_get_xmethod_result_type)
	(gdbpy_invoke_xmethod): Likewise.
	* stabsread.c: Provide extra argument to make_reference_type()
	call.
	* valops.c (value_ref, value_rtti_indirect_type): Use
	lookup_lvalue_reference_type() instead of lookup_reference_type().


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Support rvalue reference type in parser
@ 2017-03-24  9:10 sergiodj+buildbot
  2017-08-02 17:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-24  9:10 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 53cc15f5fe1f5e2358994d4f60f1c2aa9115004d ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: 53cc15f5fe1f5e2358994d4f60f1c2aa9115004d

Support rvalue reference type in parser

This patch implements correct parsing of C++11 rvalue reference typenames.
This is done in full similarity to the handling of regular references by adding
a '&&' token handling in c-exp.y, defining an rvalue reference type piece, and
implementing a follow type derivation in follow_types().

gdb/ChangeLog

	PR gdb/14441
	* c-exp.y (ptr_operator): Handle the '&&' token in the typename.
	* parse.c (insert_type): Change assert statement.
	(follow_types): Handle rvalue reference types.
	* parser-defs.h (enum type_pieces) <tp_rvalue_reference>: New
	constant.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Implement printing of rvalue reference types and values
@ 2017-03-24 11:12 sergiodj+buildbot
  2017-08-04  9:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-24 11:12 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e1cb3213476485a01aa11ecedfa186e386cb4bdb ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: e1cb3213476485a01aa11ecedfa186e386cb4bdb

Implement printing of rvalue reference types and values

This patch provides the ability to print out names of rvalue reference types
and values of those types. This is done in full similarity to regular
references, and as with them, we don't print out "const" suffix because all
rvalue references are const.

gdb/ChangeLog

	PR gdb/14441
	* c-typeprint.c (c_print_type, c_type_print_varspec_prefix)
	(c_type_print_modifier, c_type_print_varspec_suffix)
	(c_type_print_base): Support printing rvalue reference types.
	* c-valprint.c (c_val_print, c_value_print): Support printing
	rvalue reference values.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Support rvalue references in the gdb python module (includes doc/)
@ 2017-03-24 13:22 sergiodj+buildbot
  2017-08-06  3:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-24 13:22 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3fcf899da106890f3948093c2424f9dff67d6fe0 ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: 3fcf899da106890f3948093c2424f9dff67d6fe0

Support rvalue references in the gdb python module (includes doc/)

This patch adds the ability to inspect rvalue reference types and values using
the gdb python module. This is achieved by creating two wrappers for
valpy_reference_value(), using the ReferenceExplorer class to handle the
objects of rvalue reference types and placing necessary checks for a
TYPE_CODE_RVALUE_REF type code next to the checks for a TYPE_CODE_REF type
code.

gdb/ChangeLog

	PR gdb/14441
	* doc/python.texi (Types in Python): Add TYPE_CODE_RVALUE_REF to
	table of constants.
	* python/lib/gdb/command/explore.py: Support exploring values
	of rvalue reference types.
	* python/lib/gdb/types.py: Implement get_basic_type() for
	rvalue reference types.
	* python/py-type.c (pyty_codes) <TYPE_CODE_RVALUE_REF>: New
	constant.
	* python/py-value.c (valpy_getitem): Add an rvalue reference
	check.
	(valpy_reference_value): Add new parameter "refcode".
	(valpy_lvalue_reference_value, valpy_rvalue_reference_value):
	New wrappers for valpy_reference_value().
	* python/py-xmethods.c (gdbpy_get_xmethod_result_type)
	(gdbpy_invoke_xmethod): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Convert lvalue reference type check to general reference type check
@ 2017-03-24 14:23 sergiodj+buildbot
  2017-08-06 23:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-24 14:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aa0061181ab00081e9907447561e589d6edee9f2 ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: aa0061181ab00081e9907447561e589d6edee9f2

Convert lvalue reference type check to general reference type check

In almost all contexts (except for overload resolution rules and expression
semantics), lvalue and rvalue references are equivalent. That means that in all
but these cases we can replace a TYPE_CODE_REF check to a TYPE_IS_REFERENCE
check and, for switch statements, add a case label for a rvalue reference type
next to a case label for an lvalue reference type. This patch does exactly
that.

gdb/ChangeLog

	PR gdb/14441
	* aarch64-tdep.c (aarch64_type_align)
	(aarch64_extract_return_value, aarch64_store_return_value): Change
	lvalue reference type checks to general reference type checks.
	* amd64-tdep.c (amd64_classify): Likewise.
	* amd64-windows-tdep.c (amd64_windows_passed_by_integer_register):
	Likewise.
	* arm-tdep.c (arm_type_align, arm_extract_return_value)
	(arm_store_return_value): Likewise.
	* ax-gdb.c (gen_fetch, gen_cast): Likewise.
	* c-typeprint.c (c_print_type): Likewise.
	* c-varobj.c (adjust_value_for_child_access, c_value_of_variable)
	(cplus_number_of_children, cplus_describe_child): Likewise.
	* compile/compile-c-symbols.c (generate_vla_size): Likewise.
	* completer.c (expression_completer): Likewise.
	* cp-support.c (make_symbol_overload_list_adl_namespace):
	Likewise.
	* darwin-nat-info.c (info_mach_region_command): Likewise.
	* dwarf2loc.c (entry_data_value_coerce_ref)
	(value_of_dwarf_reg_entry): Likewise.
	* eval.c (ptrmath_type_p, evaluate_subexp_standard)
	(evaluate_subexp_for_address, evaluate_subexp_for_sizeof):
	Likewise.
	* findvar.c (extract_typed_address, store_typed_address):
	Likewise.
	* gdbtypes.c (rank_one_type): Likewise.
	* hppa-tdep.c (hppa64_integral_or_pointer_p): Likewise.
	* infcall.c (value_arg_coerce): Likewise.
	* language.c (pointer_type): Likewise.
	* m32c-tdep.c (m32c_reg_arg_type, m32c_m16c_address_to_pointer):
	Likewise.
	* m88k-tdep.c (m88k_integral_or_pointer_p): Likewise.
	* mn10300-tdep.c (mn10300_type_align): Likewise.
	* msp430-tdep.c (msp430_push_dummy_call): Likewise.
	* ppc-sysv-tdep.c (do_ppc_sysv_return_value)
	(ppc64_sysv_abi_push_param, ppc64_sysv_abi_return_value):
	Likewise.
	* printcmd.c (print_formatted, x_command): Likewise.
	* python/py-type.c (typy_get_composite, typy_template_argument):
	Likewise.
	* python/py-value.c (valpy_referenced_value)
	(valpy_get_dynamic_type, value_has_field): Likewise.
	* s390-linux-tdep.c (s390_function_arg_integer): Likewise.
	* sparc-tdep.c (sparc_integral_or_pointer_p): Likewise.
	* sparc64-tdep.c (sparc64_integral_or_pointer_p): Likewise.
	* spu-tdep.c (spu_scalar_value_p): Likewise.
	* symtab.c (lookup_symbol_aux): Likewise.
	* typeprint.c (whatis_exp, print_type_scalar): Likewise.
	* valarith.c (binop_types_user_defined_p, unop_user_defined_p):
	Likewise.
	* valops.c (value_cast_pointers, value_cast)
	(value_reinterpret_cast, value_dynamic_cast, value_addr, typecmp)
	(value_struct_elt, value_struct_elt_bitpos)
	(value_find_oload_method_list, find_overload_match)
	(value_rtti_indirect_type): Likewise.
	* valprint.c (val_print_scalar_type_p, generic_val_print):
	Likewise.
	* value.c (value_actual_type, value_as_address, unpack_long)
	(pack_long, pack_unsigned_long, coerce_ref_if_computed)
	(coerce_ref): Likewise.
	* varobj.c (varobj_get_value_type): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add rvalue reference tests and docs
@ 2017-03-24 16:24 sergiodj+buildbot
  2017-08-08 16:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-24 16:24 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c0f55cc689a57deb342b988b8f0ecb908f0a76e1 ***

Author: Artemiy Volkov <artemiyv@acm.org>
Branch: master
Commit: c0f55cc689a57deb342b988b8f0ecb908f0a76e1

Add rvalue reference tests and docs

This patch adds tests for the initial rvalue reference support patchset.  All
of the new tests are practically mirrored regular references tests and, except
for the demangler ones, are introduced in new files, which are set to be
compiled with -std=gnu++11.  Tested are printing of rvalue reference types and
values, rvalue reference parameters in function overloading, demangling of
function names containing rvalue reference parameters, casts to rvalue
reference types, application of the sizeof operator to rvalue reference types
and values, and support for rvalue references within the gdb python module.

gdb/ChnageLog

	PR gdb/14441
	* NEWS: Mention support for rvalue references in GDB and python.
	* doc/gdb.texinfo (C Plus Plus Expressions): Mention that GDB
	supports both lvalue and rvalue references.

gdb/testsuite/ChangeLog

	PR gdb/14441
	* gdb.cp/demangle.exp: Add rvalue reference tests.
	* gdb.cp/rvalue-ref-casts.cc: New file.
	* gdb.cp/rvalue-ref-casts.exp: New file.
	* gdb.cp/rvalue-ref-overload.cc: New file.
	* gdb.cp/rvalue-ref-overload.exp: New file.
	* gdb.cp/rvalue-ref-params.cc: New file.
	* gdb.cp/rvalue-ref-params.exp: New file.
	* gdb.cp/rvalue-ref-sizeof.cc: New file.
	* gdb.cp/rvalue-ref-sizeof.exp: New file.
	* gdb.cp/rvalue-ref-types.cc: New file.
	* gdb.cp/rvalue-ref-types.exp: New file.
	* gdb.python/py-rvalue-ref-value-cc.cc: New file.
	* gdb.python/py-rvalue-ref-value-cc.exp: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] spu: Use ptid from regcache instead of inferior_ptid
@ 2017-03-24 18:26 sergiodj+buildbot
  2017-08-10 15:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-24 18:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 639a9038c9f4fc50b6a57c18fe84db4559367a96 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 639a9038c9f4fc50b6a57c18fe84db4559367a96

spu: Use ptid from regcache instead of inferior_ptid

The implementations of to_fetch_registers/to_store_registers in the spu
code use some functions that rely on inferior_ptid.  It's simpler for
now to set/restore inferior_ptid.

gdb/ChangeLog:

	* spu-linux-nat.c (spu_fetch_inferior_registers,
	spu_store_inferior_registers): Use ptid from regcache, set and
	restore inferior_ptid.
	* spu-multiarch.c (spu_fetch_registers, spu_store_registers):
	Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] arc/nps400: Add cp16/cp32 instructions to opcodes library
@ 2017-03-24 21:27 sergiodj+buildbot
  2017-08-13  7:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-24 21:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 645d3342ba2b920722991255513030bb903b794e ***

Author: Rinat Zelig <rinat@mellanox.com>
Branch: master
Commit: 645d3342ba2b920722991255513030bb903b794e

arc/nps400: Add cp16/cp32 instructions to opcodes library

Instructions for loading or storing 16/32B data from one address type to
another.

gas/ChangeLog

	* testsuite/gas/arc/nps400-11.s: New file.
	* testsuite/gas/arc/nps400-11.d: New file.

include/ChangeLog

	* opcode/arc.h (insn_class_t): Add DMA class.

opcodes/ChangeLog

	* arc-nps400-tbl.h: Add cp32/cp16 instructions format.
	* arc-opc.c: Add F_NPS_NA, NPS_DMA_IMM_ENTRY, NPS_DMA_IMM_OFFSET.
	(insert_nps_imm_offset): New function.
	(extract_nps_imm_offset): New function.
	(insert_nps_imm_entry): New function.
	(extract_nps_imm_entry): New function.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Import sys in gdb/python/lib/gdb/printer/bound_registers.py
@ 2017-03-25  1:28 sergiodj+buildbot
  2017-08-16 19:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-25  1:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9d736fbf01d20bc03804fa0cb49d99fdf6628fab ***

Author: Jonah Graham <jonah@kichwacoders.com>
Branch: master
Commit: 9d736fbf01d20bc03804fa0cb49d99fdf6628fab

Import sys in gdb/python/lib/gdb/printer/bound_registers.py

Pick up missing bits from the patch merged in.

2017-03-22  Jonah Graham  <jonah@kichwacoders.com>

	PR gdb/19637
	* python/lib/gdb/printer/bound_registers.py: Import sys.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove lwp -> pid conversion in linux_nat_xfer_partial
@ 2017-03-25  4:31 sergiodj+buildbot
  2017-08-20 11:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-03-25  4:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b67aeab02c05fdd654f132a550dd4f196cb1f6d3 ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: b67aeab02c05fdd654f132a550dd4f196cb1f6d3

Remove lwp -> pid conversion in linux_nat_xfer_partial

The linux_nat_xfer_partial does a conversion of inferior_ptid: if it's
an LWP (ptid::lwp != 0), it builds a new ptid with the lwp as
the pid and assigns that temporarily to inferior_ptid.  For example, if
inferior_ptid is:

  { .pid = 1234, .lwp = 1235 }

it will assign this to inferior_ptid for the duration of the call:

  { .pid = 1235, .lwp = 0 }

Instead of doing this, this patch teaches the inf-ptrace implementation
of xfer_partial to deal with ptids representing lwps by using
get_ptrace_pid.

Also, in linux_proc_xfer_spu and linux_proc_xfer_partial, we use ptid_get_lwp
instead of ptid_get_pid.  While not strictly necessary, since the content of
/proc/<pid> and /proc/<lwp> should be the same, it's a bit safer, because:

- some files under /proc/<pid>/ may not work if the <pid> thread is
  running, just like ptrace requires a stopped thread.  The current
  thread's lwp id is more likely to be in the necessary state (stopped).

- if the leader (<pid>) had exited and is thus now zombie, then several
  files under "/proc/<pid>" won't work, while they will if you use
  "/proc/<lwp>".

The testsuite found no regression on native amd64 linux.

gdb/ChangeLog:

	* inf-ptrace.c (inf_ptrace_xfer_partial): Get pid from ptid
	using get_ptrace_pid.
	* linux-nat.c (linux_nat_xfer_partial): Don't set/restore
	inferior_ptid.
	(linux_proc_xfer_partial, linux_proc_xfer_spu): Use lwp of
	inferior_ptid instead of pid.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove unused function set_inferior_target_data
@ 2017-08-24 21:53 sergiodj+buildbot
  2017-08-31 16:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-24 21:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a160cc4628aa125959dc65983d805500fc58512c ***

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

Remove unused function set_inferior_target_data

The inferior (thread) target data is always set through add_thread.

gdb/gdbserver/ChangeLog:

	* inferiors.c (set_inferior_target_data): Remove.
	* inferiors.h (set_inferior_target_data): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
[parent not found: <74081948353b117fcbe870fc3cc9ebe0f18fdcf8@gdb-build>]
* [binutils-gdb] gdbserver: Rename some functions, thread -> inferior
@ 2017-08-25  9:18 sergiodj+buildbot
  2017-09-01 13:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-25  9:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6afd337d1a1a789b71d77b157529c08250eb9093 ***

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

gdbserver: Rename some functions, thread -> inferior

These functions apply to thread, and not inferiors (in the gdbserver
sense, the abstraction for threads and processes, as in
inferior_list).  Therefore, it would make more sense if these functions
were named with "thread" rather than "inferior".

gdb/gdbserver/ChangeLog:

	* inferiors.h (inferior_target_data): Rename to ...
	(thread_target_data): ... this.
	(inferior_regcache_data): Rename to ...
	(thread_regcache_data): ... this.
	(set_inferior_regcache_data): Rename to ...
	(set_thread_regcache_data): ... this.
	* inferiors.c (inferior_target_data): Rename to ...
	(thread_target_data): ... this.
	(inferior_regcache_data): Rename to ...
	(thread_regcache_data): ... this.
	(set_inferior_regcache_data): Rename to ...
	(set_thread_regcache_data): ... this.
	(free_one_thread): Update.
	* linux-low.h (get_thread_lwp): Update.
	* regcache.c (get_thread_regcache): Update.
	(regcache_invalidate_thread): Update.
	(free_register_cache_thread): Update.
	* win32-i386-low.c (update_debug_registers_callback): Update.
	(win32_get_current_dr): Update.
	* win32-low.c (thread_rec): Update.
	(delete_thread_info): Update.
	(continue_one_thread): Update.
	(suspend_one_thread): Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Remove redundant "symbol" in comments
@ 2017-08-26  0:39 sergiodj+buildbot
  2017-09-02 12:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-26  0:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5fdda9d6a4c3520f4787d96c4ae293783fe6262a ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 5fdda9d6a4c3520f4787d96c4ae293783fe6262a

x86: Remove redundant "symbol" in comments

	* elf32-i386.c (elf_i386_link_hash_entry): Remove redundant
	"symbol" in comments.
	* elf64-x86-64.c (elf_x86_64_link_hash_entry): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] remove param "dispp" from ada-lang.c::ada_lookup_struct_elt_type
@ 2017-08-26  1:01 sergiodj+buildbot
  2017-09-03  5:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-26  1:01 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 988f6b3dc615173d6d78a76ac26c109b4582da74 ***

Author: Joel Brobecker <brobecker@adacore.com>
Branch: master
Commit: 988f6b3dc615173d6d78a76ac26c109b4582da74

remove param "dispp" from ada-lang.c::ada_lookup_struct_elt_type

The function is always called with DISPP set to NULL, so there is
no need for this parameter anymore. This patch removes it, and
eliminates some dead code associated to that.

gdb/ChangeLog:

        * ada-lang.c (ada_lookup_struct_elt_type): Remove parameter "dispp".
        Update all callers accordingly. Remove all code blocks handling
        the case where DISPP is not NULL.

Tested on x86_64-linux, no regression.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
[parent not found: <f1902523c9b7941775a2c64af89de0f111b8924c@gdb-build>]
* [binutils-gdb] PowerPC TPREL reloc handling
@ 2017-08-26 11:54 sergiodj+buildbot
  2017-09-04  1:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-26 11:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7c8bbca5e670b5ea44b61ff30c5c7fcec47ee405 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 7c8bbca5e670b5ea44b61ff30c5c7fcec47ee405

PowerPC TPREL reloc handling

Tidy how these are handled in PIEs.

	* elf32-ppc.c (must_be_dyn_reloc): Use bfd_link_dll.  Comment.
	(ppc_elf_check_relocs): Only set DF_STATIC_TLS in shared libs.
	(ppc_elf_relocate_section): Comment fix.
	* elf64-ppc.c (must_be_dyn_reloc): Use bfd_link_dll.  Comment.
	(ppc64_elf_check_relocs): Only set DF_STATIC_TLS in shared libs.
	Support dynamic relocs for TPREL16 when non-pic too.
	(dec_dynrel_count): Adjust TPREL16 handling as per check_relocs.
	(ppc64_elf_relocate_section): Support dynamic relocs for TPREL16
	when non-pic too.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Disallow copy relocation against protected data symbol
@ 2017-08-27  2:54 sergiodj+buildbot
  2017-09-04 23:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-27  2:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a5b4ee9451dc9ffb6aa29376fc03943c53c6da0d ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: a5b4ee9451dc9ffb6aa29376fc03943c53c6da0d

Disallow copy relocation against protected data symbol

We shpouldn't generate copy relocation to resolve reference to protected
data symbol defined in shared object with the NO_COPY_ON_PROTECTED
property.  This patch adds a bit to elf_obj_tdata as well as
elf_i386_link_hash_entry and elf_x86_64_link_hash_entry to track the bfd
with the NO_COPY_ON_PROTECTED property as well as protected symbol
defined in shared object.  extern_protected_data is set to FALSE if any
input relocatable file contains the NO_COPY_ON_PROTECTED property.

bfd/

	PR ld/21997
	* elf-bfd.h (elf_obj_tdata): Use ENUM_BITFIELD on object_id,
	dyn_lib_class and has_gnu_symbols.  Change bad_symtab to bitfield.
	Add a has_no_copy_on_protected bitfield.
	(elf_has_no_copy_on_protected): New.
	* elf-properties.c (_bfd_elf_parse_gnu_properties): Set
	elf_has_no_copy_on_protected for GNU_PROPERTY_NO_COPY_ON_PROTECTED.
	(elf_merge_gnu_property_list): Likewise.
	(_bfd_elf_link_setup_gnu_properties): Set extern_protected_data
	to FALSE for elf_has_no_copy_on_protected.
	* elf32-i386.c (SYMBOL_NO_COPYRELOC): New.
	(elf_i386_link_hash_entry): Add def_protected.
	(elf_i386_adjust_dynamic_symbol): Also check SYMBOL_NO_COPYRELOC
	when checking info->nocopyreloc.
	(elf_i386_link_setup_gnu_properties): Don't set
	extern_protected_data here.
	(elf_i386_merge_symbol_attribute): New function.
	(elf_backend_merge_symbol_attribute): New.
	* elf64-x86-64.c (SYMBOL_NO_COPYRELOC): New.
	(elf_x86_64_link_hash_entry): Add def_protected.
	(elf_x86_64_need_pic): Report protected symbol for def_protected.
	(elf_x86_64_adjust_dynamic_symbol): Also check SYMBOL_NO_COPYRELOC
	when checking info->nocopyreloc.
	(elf_x86_64_relocate_section): Also check for R_X86_64_PC32
	relocation run-time overflow and unresolvable R_X86_64_32S
	relocation against protected data symbol defined in shared object
	with GNU_PROPERTY_NO_COPY_ON_PROTECTED.
	(elf_x86_64_link_setup_gnu_properties): Don't set
	extern_protected_data here.
	(elf_x86_64_merge_symbol_attribute): New function.
	(elf_backend_merge_symbol_attribute): New.

ld/

	PR ld/21997
	* testsuite/ld-i386/i386.exp: Run PR ld/21997 tests.
	* testsuite/ld-x86-64/x86-64.exp: Likewise.
	* testsuite/ld-i386/pr21997-1a.S: New file.
	* testsuite/ld-i386/pr21997-1b.c: Likewise.
	* testsuite/ld-i386/pr21997-1c.S: Likewise.
	* testsuite/ld-x86-64/pr21997-1a.S: Likewise.
	* testsuite/ld-x86-64/pr21997-1a.err: Likewise.
	* testsuite/ld-x86-64/pr21997-1b.c: Likewise.
	* testsuite/ld-x86-64/pr21997-1b.err: Likewise.
	* testsuite/ld-x86-64/pr21997-1c.c: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Initialize def_protected
@ 2017-08-27 14:46 sergiodj+buildbot
  2017-09-07 11:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-27 14:46 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 596dc58f33e20bd2784459dc0931e92922465444 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 596dc58f33e20bd2784459dc0931e92922465444

x86: Initialize def_protected

	* elf32-i386.c (elf_i386_link_hash_newfunc): Initialize
	def_protected.
	* elf64-x86-64.c (elf_x86_64_link_hash_newfunc): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
[parent not found: <34bb2571d40e1ca323a1b60e0827a25047890faa@gdb-build>]
* [binutils-gdb] x86: Check for valid PLT section size
@ 2017-08-28 18:53 sergiodj+buildbot
  2017-09-08 11:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-28 18:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 90efb6422939ca031804266fba669f77c22a274a ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 90efb6422939ca031804266fba669f77c22a274a

x86: Check for valid PLT section size

Update x86 get_synthetic_symtab to check for valid PLT section size
before examining PLT section contents.

	PR binutils/22018
	* elf32-i386.c (elf_i386_get_synthetic_symtab): Check for valid
	PLT section size.
	* elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] define_command: Don't convert command name to lower case
@ 2017-08-28 21:32 sergiodj+buildbot
  2017-09-09 12:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-28 21:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fd437cbc432d5421492a5b0e371750de104cce93 ***

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

define_command: Don't convert command name to lower case

Commit

  Command names: make them case sensitive
  3d7b173c29900879c9a5958dd6029fd36666e57c

made command name lookup case sensitive.  However, define_command, used
when creating a user-defined command, converts the command name to
lowercase, assuming that the command name lookup works in a case
insensitive way.  This causes user-defined commands with capital letters
in their name to only be callable with a lowercase version:

  (gdb) define Foo
  Type commands for definition of "Foo".
  End with a line saying just "end".
  >print 1
  >end
  (gdb) Foo
  Undefined command: "Foo".  Try "help".
  (gdb) foo
  $1 = 1

This patch removes that conversion to lowercase, so that the user can
call the command with the same name they provided.

gdb/ChangeLog:

	* cli/cli-script.c (define_command): Don't convert command name
	to lower case.

gdb/testsuite/ChangeLog:

	* gdb.base/commands.exp (user_defined_command_case_sensitivity):
	New proc, call it from toplevel.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb.base/commands.exp: Remove unused global references
@ 2017-08-28 22:28 sergiodj+buildbot
  2017-09-11  7:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-28 22:28 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5e89eb3ab04a378133ff3da1ed23d4bd89a56b5e ***

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

gdb.base/commands.exp: Remove unused global references

There are a few unused references to the gdb_prompt global.

gdb/testsuite/ChangeLog:

	* gdb.base/commands.exp (gdbvar_simple_if_test,
	gdbvar_simple_if_test, gdbvar_complex_if_while_test,
	progvar_simple_if_test, progvar_simple_while_test,
	progvar_complex_if_while_test, user_defined_command_test,
	user_defined_command_args_eval,
	user_defined_command_args_stack_test,
	user_defined_command_manyargs_test, bp_deleted_in_command_test,
	temporary_breakpoint_commands,
	gdb_test_no_prompt, redefine_hook_test,
	redefine_backtrace_test): Remove "global gdb_prompt".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
[parent not found: <7073b5b9edc9e06974bd733b7e4b3845d6d6f690@gdb-build>]
* [binutils-gdb] Remove unused _bfd_elf_ifunc_get_synthetic_symtab
@ 2017-08-28 23:21 sergiodj+buildbot
  2017-09-12  6:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-28 23:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0fb0a7677827aea3e7ca1fdb2dfd1ccbdf6c2f71 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 0fb0a7677827aea3e7ca1fdb2dfd1ccbdf6c2f71

Remove unused _bfd_elf_ifunc_get_synthetic_symtab

Since _bfd_elf_ifunc_get_synthetic_symtab is no longer called by x86
get_synthetic_symtab, it is now unused.  This patch removes it.

	* elf-bfd.h (_bfd_elf_ifunc_get_synthetic_symtab): Removed.
	* elf-ifunc.c (_bfd_elf_ifunc_get_synthetic_symtab): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix simulation of MSP430's open system call.
@ 2017-08-29 13:35 sergiodj+buildbot
  2017-09-13 11:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-29 13:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3819af136deb7ba6bc2058d7848cf80b33dbe51c ***

Author: Jozef Lawrynowicz <jozef.l@somniumtech.com>
Branch: master
Commit: 3819af136deb7ba6bc2058d7848cf80b33dbe51c

Fix simulation of MSP430's open system call.

	* sim/msp430/msp430-sim.c (maybe_perform_syscall): Fix passing of
	arguments for variadic syscall "open".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Check valid PLT sections before checking dynamic relocations
@ 2017-08-29 18:16 sergiodj+buildbot
  2017-09-14  9:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-29 18:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 37c0b6ee65941d54fa8064c21b39f97fdc318156 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 37c0b6ee65941d54fa8064c21b39f97fdc318156

x86: Check valid PLT sections before checking dynamic relocations

Update x86 get_synthetic_symtab to check valid PLT sections before
checking dynamic relocations and free invalid PLT section contents.

	* elf32-i386.c (elf_i386_get_synthetic_symtab): Check valid PLT
	sections before checking dynamic relocations and free invalid
	PLT section contents.
	* elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Simplify bad return in get_synthetic_symtab
@ 2017-08-29 18:56 sergiodj+buildbot
  2017-09-15  6:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-29 18:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 823cb06774ad6a2aee0afcf6f011c3a134f25747 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 823cb06774ad6a2aee0afcf6f011c3a134f25747

x86: Simplify bad return in get_synthetic_symtab

	* elf32-i386.c (elf_i386_get_synthetic_symtab): Simplify bad
	return.
	* elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add elfxx-x86.h and elfxx-x86.c
@ 2017-08-29 21:02 sergiodj+buildbot
  2017-09-16 12:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-29 21:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0afcef5384c656b69706fed61d91f6d886c4c0f1 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 0afcef5384c656b69706fed61d91f6d886c4c0f1

Add elfxx-x86.h and elfxx-x86.c

Move common codes in elf32-i386.c and elf64-x86-64.c to elfxx-x86.c.

	* Makefile.am (BFD32_BACKENDS): Add elfxx-x86.lo.
	(BFD64_BACKENDS): Likewise.
	(BFD32_BACKENDS_CFILES): Add elfxx-x86.c.
	(BFD64_BACKENDS_CFILES): Likewise.
	* Makefile.in: Regenerated.
	* configure.ac (bfd_backends): Add elfxx-x86.lo together with
	elf32-i386.lo and elf64-x86-64.lo.
	* configure: Regenerated.
	* elf32-i386.c: Include "elfxx-x86.h" instead of "sysdep.h",
	"bfd.h", "bfdlink.h", "libbfd.h", "elf-bfd.h", "bfd_stdint.h",
	"objalloc.h" and "hashtab.h".
	(ELIMINATE_COPY_RELOCS): Removed.
	(UNDEFINED_WEAK_RESOLVED_TO_ZERO):Likewise.
	(SYMBOL_NO_COPYRELOC): Likewise.
	(elf_i386_link_hash_entry): Likewise.
	(GOT_UNKNOWN): Likewise.
	(GOT_NORMAL): Likewise.
	(GOT_TLS_GD): Likewise.
	(elf_i386_hash_entry): Likewise.
	(elf_i386_obj_tdata): Likewise.
	(elf_i386_tdata): Likewise.
	(elf_i386_local_got_tls_type): Likewise.
	(elf_i386_local_tlsdesc_gotent): Likewise.
	(elf_i386_hash_table): Likewise.
	(elf_i386_link_hash_newfunc): Likewise.
	(elf_i386_local_htab_hash): Likewise.
	(elf_i386_local_htab_eq): Likewise.
	(elf_i386_get_local_sym_hash): Likewise.
	(elf_i386_link_hash_table_free): Likewise.
	(elf_i386_copy_indirect_symbol): Likewise.
	(elf_i386_fixup_symbol): Likewise.
	(elf_i386_readonly_dynrelocs): Likewise.
	(elf_i386_always_size_sections): Likewise.
	(elf_i386_set_tls_module_base): Likewise.
	(elf_i386_dtpoff_base): Likewise.
	(compare_relocs): Likewise.
	(elf_i386_hash_symbol): Likewise.
	(elf_i386_parse_gnu_properties): Likewise.
	(elf_i386_merge_gnu_properties): Likewise.
	(elf_i386_link_check_relocs): Likewise.
	(elf_i386_merge_symbol_attribute): Likewise.
	(bfd_elf32_bfd_link_check_relocs): Likewise.
	(elf_backend_copy_indirect_symbol): Likewise.
	(elf_backend_always_size_sections): Likewise.
	(elf_backend_omit_section_dynsym): Likewise.
	(elf_backend_hash_symbol): Likewise.
	(elf_backend_fixup_symbol): Likewise.
	(elf_backend_parse_gnu_properties): Likewise.
	(elf_backend_merge_gnu_properties): Likewise.
	(elf_backend_merge_symbol_attribute): Likewise.
	(elf_i386_mkobject): Updated.
	(elf_i386_link_hash_table_create): Likewise.
	(elf_i386_check_tls_transition): Likewise.
	(elf_i386_tls_transition): Likewise.
	(elf_i386_convert_load_reloc): Likewise.
	(elf_i386_check_relocs): Likewise.
	(elf_i386_adjust_dynamic_symbol): Likewise.
	(elf_i386_allocate_dynrelocs): Likewise.
	(elf_i386_convert_load): Likewise.
	(elf_i386_size_dynamic_sections): Likewise.
	(elf_i386_relocate_section): Likewise.
	(elf_i386_finish_dynamic_symbol ): Likewise.
	(elf_i386_finish_dynamic_sections): Likewise.
	(elf_i386_output_arch_local_syms): Likewise.
	(elf_i386_get_synthetic_symtab): Likewise.
	(elf_i386_link_setup_gnu_properties): Likewise.
	(elf_i386_link_hash_table): Use elf_x86_link_hash_table, instead
	of elf_link_hash_table, as base.
	(elf_i386_next_tls_desc_index): New.
	(elf_i386_srelplt2): Likewise.
	(elf_i386_plt): Likewise.
	(elf_i386_lazy_plt): Likewise.
	(elf_i386_non_lazy_plt): Likewise.
	* elf32-x86-64.c: Include "elfxx-x86.h" instead of "sysdep.h",
	"bfd.h", "bfdlink.h", "libbfd.h", "elf-bfd.h", "bfd_stdint.h",
	"objalloc.h" and "hashtab.h".
	(ELIMINATE_COPY_RELOCS): Removed.
	(UNDEFINED_WEAK_RESOLVED_TO_ZERO):Likewise.
	(SYMBOL_NO_COPYRELOC): Likewise.
	(elf_x86_64_link_hash_entry): Likewise.
	(GOT_UNKNOWN): Likewise.
	(GOT_NORMAL): Likewise.
	(GOT_TLS_GD): Likewise.
	(elf_x86_64_hash_entry): Likewise.
	(elf_x86_64_obj_tdata): Likewise.
	(elf_x86_64_tdata): Likewise.
	(elf_x86_64_local_got_tls_type): Likewise.
	(elf_x86_64_local_tlsdesc_gotent): Likewise.
	(elf_x86_64_hash_table): Likewise.
	(elf_x86_64_link_hash_newfunc): Likewise.
	(elf_x86_64_local_htab_hash): Likewise.
	(elf_x86_64_local_htab_eq): Likewise.
	(elf_x86_64_get_local_sym_hash): Likewise.
	(elf_x86_64_link_hash_table_free): Likewise.
	(elf_x86_64_copy_indirect_symbol): Likewise.
	(elf_x86_64_fixup_symbol): Likewise.
	(elf_x86_64_readonly_dynrelocs): Likewise.
	(elf_x86_64_always_size_sections): Likewise.
	(elf_x86_64_set_tls_module_base): Likewise.
	(elf_x86_64_dtpoff_base): Likewise.
	(compare_relocs): Likewise.
	(elf_x86_64_merge_symbol_attribute): Likewise.
	(elf_x86_64_hash_symbol): Likewise.
	(elf_x86_64_parse_gnu_properties): Likewise.
	(elf_x86_64_merge_gnu_properties): Likewise.
	(elf_x86_64_link_check_relocs): Likewise.
	(elf_backend_copy_indirect_symbol): Likewise.
	(elf_backend_always_size_sections): Likewise.
	(bfd_elf64_bfd_link_check_relocs): Likewise.
	(elf_backend_merge_symbol_attribute): Likewise.
	(elf_backend_hash_symbol): Likewise.
	(elf_backend_omit_section_dynsym): Likewise.
	(elf_backend_fixup_symbol): Likewise.
	(elf_backend_parse_gnu_properties): Likewise.
	(elf_backend_merge_gnu_properties): Likewise.
	(bfd_elf32_bfd_link_check_relocs): Likewise.
	(elf_x86_64_mkobject): Updated.
	(elf_x86_64_link_hash_table_create): Likewise.
	(elf_x86_64_check_tls_transition): Likewise.
	(elf_x86_64_tls_transition): Likewise.
	(elf_x86_64_convert_load_reloc): Likewise.
	(elf_x86_64_check_relocs): Likewise.
	(elf_x86_64_adjust_dynamic_symbol): Likewise.
	(elf_x86_64_allocate_dynrelocs): Likewise.
	(elf_x86_64_convert_load): Likewise.
	(elf_x86_64_size_dynamic_sections): Likewise.
	(elf_x86_64_relocate_section): Likewise.
	(elf_x86_64_finish_dynamic_symbol ): Likewise.
	(elf_x86_64_finish_dynamic_sections): Likewise.
	(elf_x86_64_output_arch_local_syms): Likewise.
	(elf_x86_64_get_synthetic_symtab): Likewise.
	(elf_x86_64_link_setup_gnu_properties): Likewise.
	(elf_x86_64_link_hash_table): Use elf_x86_link_hash_table,
	instead of elf_link_hash_table, as base.
	(elf_x86_64_next_tls_desc_index): New.
	(elf_x86_64_srelplt2): Likewise.
	(elf_x86_64_plt): Likewise.
	(elf_x86_64_lazy_plt): Likewise.
	(elf_x86_64_non_lazy_plt): Likewise.
	* elfxx-x86.c: New file.
	* elfxx-x86.h: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Re-indent elf32-i386.c/elf64-x86-64.c
@ 2017-08-29 22:11 sergiodj+buildbot
  2017-09-17 14:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-29 22:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5f0f0847e23a57d4e95c2c639e803e6f51914efc ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 5f0f0847e23a57d4e95c2c639e803e6f51914efc

x86: Re-indent elf32-i386.c/elf64-x86-64.c

	* elf32-i386.c (elf_i386_pie_finish_undefweak_symbol):
	Re-indent.
	* elf64-x86-64.c (elf_x86_64_finish_local_dynamic_symbol):
	Likewise.
	(elf_x86_64_pie_finish_undefweak_symbol): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Look for FIR in the last FreeBSD/mips floating-point register.
@ 2017-08-29 23:07 sergiodj+buildbot
  2017-09-18 10:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-29 23:07 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7755ddb77d227d1d5c1b211e989fafb17e26765d ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 7755ddb77d227d1d5c1b211e989fafb17e26765d

Look for FIR in the last FreeBSD/mips floating-point register.

FreeBSD/mips kernels were recently changed to include the floating
point implementation revision register in the floating point register
set exported in process cores and via ptrace() (r318067).  This change
will first ship in FreeBSD 12.0 when it is eventually released.  The
space used to hold FIR was previously reserved in 'struct fpreg' as a
zero-filled dummy for padding, so 'struct fpreg' has not changed in
size.  Since FIR should be non-zero on all MIPS processors supported
by FreeBSD, ignore a value of 0 from 'struct fpreg' and only report
non-zero values as a valid FIR register.

gdb/ChangeLog:

	* mips-fbsd-nat.c (getfpregs_supplies): Return true for FIR.
	* mips-fbsd-tdep.c (mips_fbsd_supply_fpregs): Split supply of FSR
	out of loop and add supply of FIR.
	(mips_fbsd_collect_fpregs): Split collect of FSR out of loop and
	add collect of FIR.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PowerPC64 __tls_get_addr sequence optimization
@ 2017-08-30 11:36 sergiodj+buildbot
  2017-09-19  5:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-30 11:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b9f04fe0dfe64bc6224e7bb96378607f17da7446 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: b9f04fe0dfe64bc6224e7bb96378607f17da7446

PowerPC64 __tls_get_addr sequence optimization

There isn't a good reason for ld.bfd to behave differently from gold
in the code generated by TLS GD/LD to LE optimization.

bfd/
	* elf64-ppc.c (ppc64_elf_relocate_section): When optimizing
	__tls_get_addr call sequences to LE, don't move the addi down
	to the nop.  Replace the bl with addi and leave the nop alone.
ld/
	* testsuite/ld-powerpc/tls.d: Update.
	* testsuite/ld-powerpc/tlsexe.d: Update.
	* testsuite/ld-powerpc/tlsexetoc.d: Update.
	* testsuite/ld-powerpc/tlsld.d: Update.
	* testsuite/ld-powerpc/tlsmark.d: Update.
	* testsuite/ld-powerpc/tlsopt4.d: Update.
	* testsuite/ld-powerpc/tlstoc.d: Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PowerPC TPREL16_HA/LO reloc optimization
@ 2017-08-30 12:05 sergiodj+buildbot
  2017-09-20  4:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-30 12:05 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9a23f96e919ba91587d077b1d399246dde4002dd ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 9a23f96e919ba91587d077b1d399246dde4002dd

PowerPC TPREL16_HA/LO reloc optimization

In the TLS GD/LD to LE optimization, ld replaces a sequence like

 addi 3,2,x@got@tlsgd		R_PPC64_GOT_TLSGD16	x
 bl __tls_get_addr(x@tlsgd)	R_PPC64_TLSGD		x
				R_PPC64_REL24		__tls_get_addr
 nop

with

 addis 3,13,x@tprel@ha		R_PPC64_TPREL16_HA	x
 addi 3,3,x@tprel@l		R_PPC64_TPREL16_LO	x
 nop

When the tprel offset is small, this can be further optimized to

 nop
 addi 3,13,x@tprel
 nop

bfd/
	* elf64-ppc.c (struct ppc_link_hash_table): Add do_tls_opt.
	(ppc64_elf_tls_optimize): Set it.
	(ppc64_elf_relocate_section): Nop addis on TPREL16_HA, and convert
	insn on TPREL16_LO and TPREL16_LO_DS relocs to use r13 when
	addis would add zero.
	* elf32-ppc.c (struct ppc_elf_link_hash_table): Add do_tls_opt.
	(ppc_elf_tls_optimize): Set it.
	(ppc_elf_relocate_section): Nop addis on TPREL16_HA, and convert
	insn on TPREL16_LO relocs to use r2 when addis would add zero.
gold/
	* powerpc.cc (Target_powerpc::Relocate::relocate): Nop addis on
	TPREL16_HA, and convert insn on TPREL16_LO and TPREL16_LO_DS
	relocs to use r2/r13 when addis would add zero.
ld/
	* testsuite/ld-powerpc/tls.s: Add calls with tls markers.
	* testsuite/ld-powerpc/tls32.s: Likewise.
	* testsuite/ld-powerpc/powerpc.exp: Run tls marker tests.
	* testsuite/ld-powerpc/tls.d: Adjust for TPREL16_HA/LO optimization.
	* testsuite/ld-powerpc/tlsexe.d: Likewise.
	* testsuite/ld-powerpc/tlsexetoc.d: Likewise.
	* testsuite/ld-powerpc/tlsld.d: Likewise.
	* testsuite/ld-powerpc/tlsmark.d: Likewise.
	* testsuite/ld-powerpc/tlsopt4.d: Likewise.
	* testsuite/ld-powerpc/tlstoc.d: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove elf_x86_64_next_tls_desc_index/elf_x86_64_srelplt2
@ 2017-08-30 12:51 sergiodj+buildbot
  2017-09-20 22:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-30 12:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0f2425c4c8fdaa7822555bbb61468b46d4e4af20 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 0f2425c4c8fdaa7822555bbb61468b46d4e4af20

Remove elf_x86_64_next_tls_desc_index/elf_x86_64_srelplt2

They are unused.

	* elf64-x86-64.c (elf_x86_64_next_tls_desc_index): Removed.
	(elf_x86_64_srelplt2): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Call _close_and_cleanup in bfd_close_all_done
@ 2017-08-30 13:41 sergiodj+buildbot
  2017-09-21 19:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-30 13:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7c0ed39626e3193adb70aeb98d3633787579d6ec ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 7c0ed39626e3193adb70aeb98d3633787579d6ec

Call _close_and_cleanup in bfd_close_all_done

	PR binutils/22032
	* opncls.c (bfd_close_all_done): Call _close_and_cleanup.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] MIPS/BFD: Correct microMIPS cross-mode BAL to JALX relaxation
@ 2017-08-30 15:38 sergiodj+buildbot
  2017-09-22 15:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-30 15:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 70e65ca8e5d1fc984d58f6137c290e807fe772a5 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 70e65ca8e5d1fc984d58f6137c290e807fe772a5

MIPS/BFD: Correct microMIPS cross-mode BAL to JALX relaxation

Fix a bug in commit a6ebf6169a1b ("MIPS: Convert cross-mode BAL to
JALX") and in BFD linker relaxation correct the microMIPS interpretation
of the branch offset, which is supposed to be shifted by 1 bit, rather
than 2 as in the regular MIPS case.

	bfd/
	* elfxx-mips.c (mips_elf_perform_relocation): Correct microMIPS
	branch offset interpretation.

	gas/
	* testsuite/gas/mips/branch-addend-micromips.d: New test.
	* testsuite/gas/mips/branch-addend-micromips-n32.d: New test.
	* testsuite/gas/mips/branch-addend-micromips-n64.d: New test.
	* testsuite/gas/mips/branch-addend-micromips.s: New test source.
	* testsuite/gas/mips/mips.exp: Run the new tests.

	ld/
	* testsuite/ld-mips-elf/bal-jalx-addend-micromips.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-addend-micromips-n32.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-addend-micromips-n64.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-local-micromips.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-local-micromips-n32.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-local-micromips-n64.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: New test.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d: New
	test.
	* testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d: New
	test.
	* testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Add _bfd_x86_elf_link_hash_table_create
@ 2017-08-30 16:30 sergiodj+buildbot
  2017-09-23 17:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-30 16:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 765e526c75506a7d9644bc7c137ac1923fdb1369 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 765e526c75506a7d9644bc7c137ac1923fdb1369

x86: Add _bfd_x86_elf_link_hash_table_create

Share _bfd_x86_elf_link_hash_table_create in elf32-i386.c and
elf64-x86-64.c by:

1. Replace elf_i386_lazy_plt_layout, elf_i386_non_lazy_plt_layout,
elf_i386_plt_layout, elf_x86_64_lazy_plt_layout,
elf_x86_64_non_lazy_plt_layout and elf_x86_64_plt_layout with
elf_x86_lazy_plt_layout, elf_x86_non_lazy_plt_layout and
elf_x86_plt_layout.
2. Move plt, lazy_plt, non_lazy_plt, srelplt2 and next_tls_desc_index
from elf_i386_link_hash_table to elf_x86_link_hash_table.
3. Remove elf_i386_link_hash_table and elf_x86_64_link_hash_table.

	* elf32-i386.c (ELF_DYNAMIC_INTERPRETER): Removed.
	(elf_i386_lazy_plt_layout): Likewise.
	(elf_i386_non_lazy_plt_layout): Likewise.
	(elf_i386_plt_layout): Likewise.
	(elf_i386_link_hash_table): Likewise.
	(elf_i386_next_tls_desc_index): Likewise.
	(elf_i386_srelplt2): Likewise.
	(elf_i386_plt): Likewise.
	(elf_i386_lazy_plt): Likewise.
	(elf_i386_non_lazy_plt): Likewise.
	(elf_i386_link_hash_table_create): Likewise.
	(bfd_elf32_bfd_link_hash_table_create): Likewise.
	(elf_i386_lazy_plt): Updated.
	(elf_i386_non_lazy_plt): Likewise.
	(elf_i386_lazy_ibt_plt): Likewise.
	(elf_i386_non_lazy_ibt_plt): Likewise.
	(elf_i386_allocate_dynrelocs): Likewise.
	(elf_i386_size_dynamic_sections): Likewise.
	(elf_i386_relocate_section): Likewise.
	(elf_i386_finish_dynamic_symbol): Likewise.
	(elf_i386_finish_dynamic_sections): Likewise.
	(elf_i386_get_synthetic_symtab): Likewise.
	(elf_i386_link_setup_gnu_properties): Likewise.
	(elf_i386_nacl_plt): Likewise.
	* elf64-x86-64.c (ABI_64_P): Removed.
	(ELF64_DYNAMIC_INTERPRETER): Likewise.
	(ELF32_DYNAMIC_INTERPRETER): Likewise.
	(elf_x86_64_lazy_plt_layout): Likewise.
	(elf_x86_64_non_lazy_plt_layout): Likewise.
	(elf_x86_64_plt_layout): Likewise.
	(elf_x86_64_link_hash_table): Likewise.
	(elf_x86_64_plt): Likewise.
	(elf_x86_64_lazy_plt): Likewise.
	(elf_x86_64_non_lazy_plt): Likewise.
	(elf_x86_64_link_hash_table_create): Likewise.
	(bfd_elf64_bfd_link_hash_table_create): Likewise.
	(bfd_elf32_bfd_link_hash_table_create): Likewise.
	(elf_x86_64_lazy_plt): Updated.
	(elf_x86_64_non_lazy_plt): Likewise.
	(elf_x86_64_lazy_bnd_plt): Likewise.
	(elf_x86_64_non_lazy_bnd_plt): Likewise.
	(elf_x86_64_lazy_ibt_plt): Likewise.
	(elf_x32_lazy_ibt_plt): Likewise.
	(elf_x86_64_non_lazy_ibt_plt): Likewise.
	(elf_x32_non_lazy_ibt_plt): Likewise.
	(elf_x86_64_allocate_dynrelocs): Likewise.
	(elf_x86_64_size_dynamic_sections): Likewise.
	(elf_x86_64_relocate_section): Likewise.
	(elf_x86_64_finish_dynamic_symbol): Likewise.
	(elf_x86_64_finish_dynamic_sections): Likewise.
	(elf_x86_64_get_synthetic_symtab): Likewise.
	(elf_x86_64_link_setup_gnu_properties): Likewise.
	(elf_x86_64_nacl_plt): Likewise.
	* elfxx-x86.c: Include "objalloc.h", "elf/i386.h" and
	"elf/x86-64.h".
	(ELF32_DYNAMIC_INTERPRETER): New.
	(ELF64_DYNAMIC_INTERPRETER): Likewise.
	(ELFX32_DYNAMIC_INTERPRETER): Likewise.
	(_bfd_x86_elf_link_hash_table_create): Likewise.
	(_bfd_x86_elf_link_hash_table_free): Renamed to ...
	(elf_x86_link_hash_table_free): This.  Make it static.
	* elfxx-x86.h: Don't include "objalloc.h".
	(ABI_64_P): New.
	(elf_x86_lazy_plt_layout): Likewise.
	(elf_x86_non_lazy_plt_layout): Likewise.
	(elf_x86_plt_layout): Likewise.
	(_bfd_x86_elf_link_hash_table_create): Likewise.
	(bfd_elf64_bfd_link_hash_table_create): Likewise.
	(bfd_elf32_bfd_link_hash_table_create): Likewise.
	(elf_x86_link_hash_table): Add plt, lazy_plt, non_lazy_plt,
	srelplt2 and next_tls_desc_index.
	(_bfd_x86_elf_link_hash_table_free): Removed.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Check target_id instead of elf_machine_code
@ 2017-08-30 18:41 sergiodj+buildbot
  2017-09-24  8:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-08-30 18:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5b86dbf4549af98c4428da4764182e03f22c58ab ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 5b86dbf4549af98c4428da4764182e03f22c58ab

x86: Check target_id instead of elf_machine_code

Since both elf32-i386.c and elf64-x86-64.c support targets with
different ELF_MACHINE_CODEs, _bfd_x86_elf_link_hash_table_create
should check target_id instead of elf_machine_code.

	* elfxx-x86.c (_bfd_x86_elf_link_hash_table_create): Check
	target_id instead of elf_machine_code.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
[parent not found: <663c44ac4d4336e99c282705b1d289b365b273d3@gdb-build>]
* [binutils-gdb] Reimplement support for "maint print registers" with no running inferior yet
@ 2017-10-04 17:39 sergiodj+buildbot
  2017-10-09 17:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-04 17:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ed4227b7c6d62767c9c323dd95d8ead75be51a6c ***

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

Reimplement support for "maint print registers" with no running inferior yet

A following patch will change the default target_thread_architecture
method, like this:

   struct gdbarch *
   default_thread_architecture (struct target_ops *ops, ptid_t ptid)
   {
  -  return target_gdbarch ();
  +  inferior *inf = find_inferior_ptid (ptid);
  +  gdb_assert (inf != NULL);
  +  return inf->gdbarch;
   }

This is because target_gdbarch is really just
current_inferior()->gdbarch, and it's wrong to return that
architecture when the inferior of the passed in PTID is NOT the
current inferior -- the inferior for PTID may be running a different
architecture.  E.g., a mix of 64-bit and 32-bit inferiors in the same
debug session.

Doing that change above however exposes a problem in "maint print
registers", caught be the testsuite:

 -PASS: gdb.base/maint.exp: maint print registers
 +FAIL: gdb.base/maint.exp: maint print registers (GDB internal error)
...
  gdb/inferior.c:309: internal-error: inferior* find_inferior_pid(int): Assertion `pid != 0' failed.
  A problem internal to GDB has been detected,

The call stack looks like this:

  #0  0x000000000068b707 in internal_error(char const*, int, char const*, ...) (file=0xa9b958 "gdb/inferior.c", line=309, fmt=0xa9b8e0 "%s: Assertion `%s' failed.") at gdb/common/errors.c:54
  #1  0x00000000006e1c40 in find_inferior_pid(int) (pid=0) at gdb/inferior.c:309
  #2  0x00000000006e1c8d in find_inferior_ptid(ptid_t) (ptid=...) at gdb/inferior.c:323
  #3  0x00000000007c18dc in default_thread_architecture(target_ops*, ptid_t) (ops=0xf86d60 <dummy_target>, ptid=...)
      at gdb/target.c:3134
  #4  0x00000000007b5414 in delegate_thread_architecture(target_ops*, ptid_t) (self=0xf86d60 <dummy_target>, arg1=...)
      at gdb/target-delegates.c:2527
  #5  0x00000000007647b3 in get_thread_regcache(ptid_t) (ptid=...) at gdb/regcache.c:466
  #6  0x00000000007647ff in get_current_regcache() () at gdb/regcache.c:475
  #7  0x0000000000767495 in regcache_print(char const*, regcache_dump_what) (args=0x0, what_to_dump=regcache_dump_none)
      at gdb/regcache.c:1599
  #8  0x0000000000767550 in maintenance_print_registers(char const*, int) (args=0x0, from_tty=1)
      at gdb/regcache.c:1613

I.e., the test does "maint print registers" while the inferior is not
running yet.  This is expected to work, and there's already a hack in
get_thread_arch_regcache to make it work.

Instead of pilling on hacks in the internal of regcache and
target_ops, this commit moves the null_ptid special casing to where it
belongs -- higher up in the call chain in the implementation of "maint
print registers" & co directly.

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

	* regcache.c (get_thread_arch_regcache): Remove null_ptid special
	case.
	(regcache_print): Handle !target_has_registers here instead.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix "Remote 'g' packet reply is too long" problems with multiple inferiors
@ 2017-10-04 17:39 sergiodj+buildbot
  2017-10-10 14:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-04 17:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5cd63fda035d4ba949e6478406162c4673b3c9ef ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5cd63fda035d4ba949e6478406162c4673b3c9ef

Fix "Remote 'g' packet reply is too long" problems with multiple inferiors

When debugging two inferiors (or more) against gdbserver, and the
inferiors have different architectures, such as e.g., on x86_64
GNU/Linux and one inferior is 64-bit while the other is 32-bit, then
GDB can get confused with the different architectures in a couple
spots.

In both cases I ran into, GDB incorrectly ended up using the
architecture of whatever happens to be the selected inferior instead
of the architecture of some other given inferior:

#1 - When parsing the expedited registers in stop replies.

#2 - In the default implementation of the target_thread_architecture
     target method.

These resulted in instances of the infamous "Remote 'g' packet reply
is too long" error.  For example, with the test added in this commit,
we get:

~~~
  Continuing.
  Remote 'g' packet reply is too long (expected 440 bytes, got 816 bytes): ad064000000000000[snip]
  (gdb) FAIL: gdb.multi/multi-arch.exp: inf1 event with inf2 selected: continue to hello_loop

  c
  Continuing.
  Truncated register 50 in remote 'g' packet
  (gdb) PASS: gdb.multi/multi-arch.exp: inf2 event with inf1 selected: c
~~~

This commit fixes that.

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

	* remote.c (get_remote_arch_state): New 'gdbarch' parameter.  Use
	it instead of target_gdbarch.
	(get_remote_state, get_remote_packet_size): Adjust
	get_remote_arch_state calls, passing down target_gdbarch
	explicitly.
	(packet_reg_from_regnum, packet_reg_from_pnum): New parameter
	'gdbarch' and use it instead of target_gdbarch.
	(get_memory_packet_size): Adjust get_remote_arch_state calls,
	passing down target_gdbarch explicitly.
	(struct stop_reply) <arch>: New field.
	(remote_parse_stop_reply): Use the stopped thread's architecture,
	not the current inferior's.  Save the architecture in the
	stop_reply.
	(process_stop_reply): Use the stop reply's architecture.
	(process_g_packet, remote_fetch_registers)
	(remote_prepare_to_store, store_registers_using_G)
	(remote_store_registers): Adjust get_remote_arch_state calls,
	using the regcache's architecture.
	(remote_get_trace_status): Adjust get_remote_arch_state calls,
	passing down target_gdbarch explicitly.
	* spu-multiarch.c (spu_thread_architecture): Defer to the target
	beneath instead of calling target_gdbarch.
	* target.c (default_thread_architecture): Use the specified
	inferior's architecture, instead of the current inferior's
	architecture (via target_gdbarch).

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

	* gdb.multi/hangout.c: Include <unistd.h>.
	(hangout_loop): New function.
	(main): Call alarm.  Call hangout_loop in a loop.
	* gdb.multi/hello.c: Include <unistd.h>.
	(hello_loop): New function.
	(main): Call alarm.  Call hangout_loop in a loop.
	* gdb.multi/multi-arch.exp: Test running to a breakpoint one
	inferior with the other selected.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Redesign mock environment for gdbarch selftests
@ 2017-10-04 17:39 sergiodj+buildbot
  2017-10-05 13:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-04 17:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 55b11ddf16b97b9c50ed480bc9da8b3e1c6c4198 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 55b11ddf16b97b9c50ed480bc9da8b3e1c6c4198

Redesign mock environment for gdbarch selftests

A following patch will remove this hack from within regcache's
implementation:

  struct regcache *
  get_thread_arch_regcache (ptid_t ptid, struct gdbarch *gdbarch)
  {
    struct address_space *aspace;

    /* For the benefit of "maint print registers" & co when debugging an
       executable, allow dumping the regcache even when there is no
       thread selected (target_thread_address_space internal-errors if
       no address space is found).  Note that normal user commands will
       fail higher up on the call stack due to no
       target_has_registers.  */
    aspace = (ptid_equal (null_ptid, ptid)
	      ? NULL
	      : target_thread_address_space (ptid));

i.e., it'll no longer be possible to try to build a regcache for
null_ptid.  That change alone would regress the gdbarch self tests
though, causing this:

  (gdb) maintenance selftest
  [...]
  Running selftest register_to_value.
  src/gdb/inferior.c:309: internal-error: inferior* find_inferior_pid(int): Assertion `pid != 0' failed.
  A problem internal to GDB has been detected,
  further debugging may prove unreliable.
  Quit this debugging session? (y or n) FAIL: gdb.gdb/unittest.exp: maintenance selftest (GDB internal error)

The problem is that the way the mocking environment for those unit
tests is written is a bit fragile: it creates a special purpose
regcache (and sentinel's frame), using whatever is the current
inferior_ptid (usually null_ptid), and assumes get_current_regcache
will find that in the regcache::current_regcache list.

This commit changes the way the mock environment is created.  It
eliminates the special regcache and frame and instead creates a fuller
mock environment, with a custom mock target_ops, and then a mock
inferior and thread "running" on that target.

If there's already a running target when you type "maint selftest",
then we error out, instead of pushing a new target on top of the
existing one (and thus killing the debug session).  This results in:

  (gdb) maint selftest
  (...)
  Self test failed: arch i386: target already pushed
  Self test failed: arch i386:x86-64: target already pushed
  Self test failed: arch i386:x64-32: target already pushed
  Self test failed: arch i8086: target already pushed
  Self test failed: arch i386:intel: target already pushed
  Self test failed: arch i386:x86-64:intel: target already pushed
  Self test failed: arch i386:x64-32:intel: target already pushed
  Self test failed: arch i386:nacl: target already pushed
  Self test failed: arch i386:x86-64:nacl: target already pushed
  Self test failed: arch i386:x64-32:nacl: target already pushed
  Self test failed: self-test failed at /home/pedro/gdb/mygit/src/gdb/selftest-arch.c:86
  (...)
  Ran 19 unit tests, 1 failed

I think that's OK, because self tests are really meant to be run from
a clean state right after GDB is started.  I'm adding that erroring
out just as safe measure just in case someone types "maint selftest"
on the command line while already debugging something (as I've done
it).

(In my multi-target branch, where this patch originated from, we don't
actually need to error out, because there each inferior has its own
target stack).

Also, note that the current code was doing:

 current_inferior()->gdbarch = gdbarch;

without taking care to restore the previous gdbarch.  This means that
GDB's state was being left inconsistent after running the self tests,
further supporting the point that there's probably not much
expectation that mixing "maint selftests" and regular debugging in the
same GDB invocation really works.  This patch fixes that, regardless.

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

	* frame.c (create_test_frame): Delete.
	* frame.h (create_test_frame): Delete.
	* gdbarch-selftests.c: Include gdbthread.h and target.h.
	(class regcache_test): Delete.
	(test_target_has_registers, test_target_has_stack)
	(test_target_has_memory, test_target_prepare_to_store)
	(test_target_store_registers): New functions.
	(test_target_ops): New class.
	(register_to_value_test): Error out if there's already a
	process_stratum (or higher) target pushed.  Create a fuller mock
	environment, with mock target_ops, inferior, address space, thread
	and inferior_ptid.
	* progspace.c (struct address_space): Move to ...
	* progspace.h (struct address_space): ... here.
	* regcache.h (regcache::~regcache, regcache::raw_write)
	[GDB_SELF_TEST]: No longer virtual.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR21167, relocation sections not included in groups
@ 2017-10-04 23:08 sergiodj+buildbot
  2017-10-11  6:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-04 23:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT db4677b8bd90b49f826807352c6c3c7eb0d57814 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: db4677b8bd90b49f826807352c6c3c7eb0d57814

PR21167, relocation sections not included in groups

This fixes a wart I've known about for years, but haven't done
anything about because BFD treats relocation sections as an adjunct to
the section they relocate.  SHF_GROUP on the section thus implicitly
applies to its relocation section(s), but it is an error that the
reloc sections aren't part of the group.

Like many patches to gas, this wasn't as straightforward as it could
be due to a number of backends, i386, cr16 and others, removing relocs
in tc_get_reloc rather than marking them as "done" earlier in
md_apply_reloc.  So it isn't possible for the group support to
reliably detect the presence of relocs by looking at fixups earlier
than write_relocs.  However the group support needs to create
signature symbols, and that must be done before the symbol table is
frozen, before write_relocs.  So split off the group sizing from
elf_adjust_symtab and put it in elf_frob_file_after_relocs.

bfd/
	PR 21167
	* elf.c (_bfd_elf_setup_sections): Don't trim reloc sections from
	groups.
	(_bfd_elf_init_reloc_shdr): Pass sec_hdr, use it to copy SHF_GROUP
	flag from section.
	(elf_fake_sections): Adjust calls.  Exit immediately on failure.
	(bfd_elf_set_group_contents): Add associated reloc section indices
	to group contents
gas/
	PR 21167
	* config/obj-elf.c (struct group_list): Delete elt_count.
	(groups): New static.
	(build_group_lists): Don't count elements.
	(elf_adjust_symtab): Use groups rather than auto list.  Set up
	pointer from group member to SHT_GROUP section.  Don't size
	SHT_GROUP section or clean up here..
	(elf_frob_file_after_relocs): ..do so here instead.
	* testsuite/gas/arc/jli-1.d,
	* testsuite/gas/elf/groupautob.d,
	* testsuite/gas/mips/compact-eh-eb-2.d,
	* testsuite/gas/mips/compact-eh-eb-5.d,
	* testsuite/gas/mips/compact-eh-el-2.d,
	* testsuite/gas/mips/compact-eh-el-5.d: Adjust.
ld/
	PR 21167
	* testsuite/ld-elf/group9b.d: Adjust for relocs included in group.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfd_error_on_input is for archives
@ 2017-10-05  1:09 sergiodj+buildbot
  2017-10-11 21:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-05  1:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8c6716e57eb991ba6ceb07011045d626652aaf01 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: 8c6716e57eb991ba6ceb07011045d626652aaf01

bfd_error_on_input is for archives

	* elflink.c (elf_link_input_bfd): Correct ctor/dtor in init_array/
	fini_array error value.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfd_set_input_error
@ 2017-10-05  1:42 sergiodj+buildbot
  2017-10-12 18:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-05  1:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2ca7de3746be7484aa5affceafa1ad2e1d789381 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 2ca7de3746be7484aa5affceafa1ad2e1d789381

bfd_set_input_error

A downside to the 2017-10-04 PR22245 fix is that bfd_set_error can now
silently accept invalid errors if/when someone passes the a value of
the wrong enumeration type, which previously would be caught by the
-Wenum-conversion warning.

	PR 22245
	* bfd.c (bfd_set_error): Revert 2017-10-04 change.  Remove
	ellipsis parameter.  Split out bfd_error_on_input code to..
	(bfd_set_input_error): .. New function.
	* archive.c (_bfd_write_archive_contents): Use bfd_set_input_error.
	* vms-lib.c (_bfd_vms_lib_write_archive_contents): Likewise.
	* bfd-in2.h: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Update my email address.
@ 2017-10-05  4:45 sergiodj+buildbot
  2017-10-13 11:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-05  4:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT c91933e9e33654c7b8973cb449b93f5152afcbcb ***

Author: Tristan Gingold <tgingold@free.fr>
Branch: master
Commit: c91933e9e33654c7b8973cb449b93f5152afcbcb

Update my email address.

Also refer to global maintainers for branch release approval.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] tile: Dump dynamic relocation info to the map file
@ 2017-10-05 13:02 sergiodj+buildbot
  2017-10-14  8:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-05 13:02 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 007873f54e41eaef2f7a89b8adbb63a563d98b65 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 007873f54e41eaef2f7a89b8adbb63a563d98b65

tile: Dump dynamic relocation info to the map file

Dump dynamic relocation info to the map file when generating dynamic
relocation in read-only section relocations if -Map is used.

	* elf32-tilepro.c (readonly_dynrelocs): Dump dynamic relocation
	in read-only section with minfo.
	(tilepro_elf_size_dynamic_sections): Likewise.
	* elfxx-tilegx.c (readonly_dynrelocs): Likewise.
	(tilegx_elf_size_dynamic_sections): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Handle FreeBSD-specific AT_EHDRFLAGS and AT_HWCAP auxiliary vector types.
@ 2017-10-05 17:00 sergiodj+buildbot
  2017-10-15  0:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-05 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 12c4bd7f53e9cefcf7c3a7f8cbf9e552526cb963 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 12c4bd7f53e9cefcf7c3a7f8cbf9e552526cb963

Handle FreeBSD-specific AT_EHDRFLAGS and AT_HWCAP auxiliary vector types.

FreeBSD recently added two additional ELF auxiliary vectors.  FreeBSD's
AT_HWCAP uses a different number compared to AT_HWCAP on Linux as the
numerical value was already in use for a different vector on FreeBSD.

include/ChangeLog:

	* elf/common.h (AT_FREEBSD_EHDRFLAGS, AT_FREEBSD_HWCAP): Define.

gdb/ChangeLog:

	* fbsd-tdep.c (fbsd_print_auxv_entry): Handle AT_EHDRFLAGS and
	AT_HWCAP.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add a signal frame unwinder for FreeBSD/mipsn32.
@ 2017-10-05 17:00 sergiodj+buildbot
  2017-10-16  6:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-05 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a80a647180bf92692e0f01efe7b323afe7d317c9 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: a80a647180bf92692e0f01efe7b323afe7d317c9

Add a signal frame unwinder for FreeBSD/mipsn32.

The N32 signal frame uses an identical layout to N64, so reuse the N64
handler.  The N32 signal trampoline does use one different instruction
relative to N64, so a separate tramp_frame is required.

gdb/ChangeLog:

	* mips-fbsd-tdep.c (MIPS_INST_ADDIU_A0_SP_N32): Define.
	(mipsn32_fbsd_sigframe): Define.
	(mips_fbsd_init_abi): Install mipsn32_fbsd_sigframe unwinder
	for FreeBSD/mipsn32.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Handle the NT_ARM_VFP core dump note on FreeBSD.
@ 2017-10-05 17:00 sergiodj+buildbot
  2017-10-15 15:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-05 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6d5be5d6b8b4412e65bc037472aa2e727c25ccf5 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 6d5be5d6b8b4412e65bc037472aa2e727c25ccf5

Handle the NT_ARM_VFP core dump note on FreeBSD.

bfd/ChangeLog:

	* elf.c (elfcore_grok_freebsd_note): Handle NT_ARM_VFP.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Clean up includes of doublest.h and floatformat.h
@ 2017-10-05 17:18 sergiodj+buildbot
  2017-10-17  3:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-05 17:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1841ee5d0300cf00022c8aadfe16725c5e86fe1d ***

Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Branch: master
Commit: 1841ee5d0300cf00022c8aadfe16725c5e86fe1d

Clean up includes of doublest.h and floatformat.h

As a first small step to getting rid of doublest.h, this patch removes the
include of "floatformat.h" in "doublest.h".  This is actually not needed
for the file itself.  A few source files now need to include "floatformat.h"
directly, since they got it indirectly via "doublest.h" and still need it.

In reviewing which files need it, I found a number of files that include
"floatformat.h" directly without actually needing it at all.  Similarly,
a number of files include "doublest.h" without needing it.  I've also
removed those unnecessary include statements.

gdb/ChangeLog:
2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>

	* doublest.h: Do not include "floatformat.h".  Remove stale comments.
	* gdbtypes.c: Include "floatformat.h".
	* value.c: Likewise.
	* m68k-tdep.c: Likewise.

	* findvar.c: Do not include "floatformat.h".
	* amd64-darwin-tdep.c: Likewise.
	* arm-linux-tdep.c: Likewise.
	* i386-darwin-tdep.c: Likewise.
	* i387-tdep.c: Likewise.
	* m68k-linux-tdep.c: Likewise.
	* mep-tdep.c: Likewise.
	* mips-tdep.c: Likewise.
	* nios2-tdep.c: Likewise.
	* s390-linux-tdep.c: Likewise.
	* sparc-obsd-tdep.c: Likewise.
	* sparc-tdep.c: Likewise.
	* sparc64-tdep.c: Likewise.
	* spu-tdep.c: Likewise.
	* tic6x-tdep.c: Likewise.
	* tilegx-tdep.c: Likewise.
	* vax-tdep.c: Likewise.
	* xstormy16-tdep.c: Likewise.
	* xtensa-tdep.c: Likewise.

	* top.c: Do not include "doublest.h".
	* aarch64-tdep.c: Likewise.
	* alpha-tdep.c: Likewise.
	* arm-linux-tdep.c: Likewise.
	* m68k-linux-tdep.c: Likewise.
	* tilegx-tdep.c: Likewise.
	* xstormy16-tdep.c: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Clean up some DFP interfaces
@ 2017-10-05 17:18 sergiodj+buildbot
  2017-10-17 18:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-05 17:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3b4b2f160d288b85a1379d24fd0f4de19062f3fd ***

Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Branch: master
Commit: 3b4b2f160d288b85a1379d24fd0f4de19062f3fd

Clean up some DFP interfaces

This cleans up a number of interfaces in dfp.c / dfp.h.  Specifically:

- The decimal_from_string / decimal_to_string routines are C++-ified
  to operate on std::string instead of character buffers.  In the
  decimal_from_string, the boolean return value now actually is bool
  instead of an int.

- The decimal_from_integral and decimal_from_doublest routines take
  an struct value as input.  This is not really appropriate at the low
  level the DFP routines sit, so this replaced them with new routines
  decimal_from_longest / decimal_from_ulongest / decimal_from_doublest
  that operate on contents instead.

- To mirror the decimal_from_[u]longest, a new decimal_to_longest
  routine is added as well, which can be used in unpack_long to
  avoid an unnecessary conversion via DOUBLEST.

Note that the decimal_from_longest / decimal_from_ulongest routines
are actually more powerful than decimal_from_integral: the old routine
would only accept integer *types* of at most four bytes size, while
the new routines accept all integer *values* that fit in an [u]int32_t,
no matter which type they came from.  The DFP tests are updated to
allow for this larger range of integers that can be converted.

gdb/ChangeLog:
2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>

	* dfp.h (MAX_DECIMAL_STRING): Move to dfp.c.
	(decimal_to_string): Return std::string object.
	(decimal_from_string): Accept std::string object.  Return bool.
	(decimal_from_integral, decimal_from_doublest): Remove.
	(decimal_from_longest): Add prototype.
	(decimal_from_ulongest): Likewise.
	(decimal_to_longest): Likewise.
	(decimal_from_doublest): Likewise.
	* dfp.c: Do not include "gdbtypes.h" or "value.h".
	(MAX_DECIMAL_STRING): Move here.
	(decimal_to_string): Return std::string object.
	(decimal_from_string): Accept std::string object.  Return bool.
	(decimal_from_integral): Remove, replace by ...
	(decimal_from_longest, decimal_from_ulongest): ... these new functions.
	(decimal_to_longest): New function.
	(decimal_from_floating): Remove, replace by ...
	(decimal_from_doublest): ... this new function.
	(decimal_to_doublest): Update to new decimal_to_string interface.

	* value.c (unpack_long): Use decimal_to_longest.
	* valops.c (value_cast): Use decimal_from_doublest instead of
	decimal_from_floating.  Use decimal_from_[u]longest isntead of
	decimal_from_integral.
	* valarith.c (value_args_as_decimal): Likewise.
	* valprint.c (print_decimal_floating): Update to new
	decimal_to_string interface.
	* printcmd.c (printf_decfloat): Likewise.
	* c-exp.y (parse_number): Update to new decimal_from_string interface.

gdb/testsuite/ChangeLog:
2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>

	* gdb.base/dfp-exprs.exp: Update tests to larger range of supported
	integer-to-dfp conversion.
	* gdb.base/dfp-test.exp: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove unused "union agent_val" from ax.h
@ 2017-10-05 17:18 sergiodj+buildbot
  2017-10-18 11:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-05 17:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d13b8493cbd2891b5886e6176d468eb63c73606a ***

Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Branch: master
Commit: d13b8493cbd2891b5886e6176d468eb63c73606a

Remove unused "union agent_val" from ax.h

The ax.h header file contains a use of DOUBLEST in the type "union agent_val".

However, that type is never used anywhere, so it can be simply removed.

gdb/ChangeLog:
2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>

	* ax.h: Do not include "doublest.h".
	(union agent_val): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix fork-related regressions on GNU/Linux
@ 2017-10-05 17:35 sergiodj+buildbot
  2017-10-19  2:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-05 17:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2fd9d7ca17539ce983862b25e0abc27cfb706189 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 2fd9d7ca17539ce983862b25e0abc27cfb706189

Fix fork-related regressions on GNU/Linux

Commit 5cd63fda035d ("Fix "Remote 'g' packet reply is too long"
problems with multiple inferiors") caused a number of regressions on
native GNU/Linux, all related to follow-fork support.  E.g.:

  src/gdb/target.c:3141: internal-error: gdbarch* default_thread_architecture(target_ops*, ptid_t): Assertion `inf != NULL' failed.
  A problem internal to GDB has been detected,
  further debugging may prove unreliable.
  Quit this debugging session? (y or n)
  Resyncing due to internal error.
  FAIL: gdb.base/catch-signal-fork.exp: got SIGHUP after fork (GDB internal error)

This commit fixes it.

gdb/ChangeLog:
2017-10-05  Pedro Alves  <palves@redhat.com>

	* linux-nat.c (linux_child_follow_fork): When following the parent
	and detaching the child, consult the parent thread's architecture
	instead of the child's.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] powerpc: Dump dynamic relocation info to the map file
@ 2017-10-06  1:11 sergiodj+buildbot
  2017-10-19 17:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  1:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0caf6c82ab23ece570d14499ed02653968cd8abd ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 0caf6c82ab23ece570d14499ed02653968cd8abd

powerpc: Dump dynamic relocation info to the map file

Dump dynamic relocation info to the map file when generating dynamic
relocation in read-only section relocations if -Map is used.

	* elf32-ppc.c (readonly_dynrelocs): Add a link_info argument.
	Dump dynamic relocation in read-only section with minfo if
	needed.
	(ppc_elf_adjust_dynamic_symbol): Pass NULL to readonly_dynrelocs.
	(maybe_set_textrel): Likewise.
	(ppc_elf_size_dynamic_sections): Dump dynamic relocation in
	read-only section with minfo.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Add TLS_TRANSITION_IE_TO_LE_P
@ 2017-10-06  7:18 sergiodj+buildbot
  2017-10-20  8:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:18 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 51537393bd939e79f6e9291629fb65a17e6f19da ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 51537393bd939e79f6e9291629fb65a17e6f19da

x86: Add TLS_TRANSITION_IE_TO_LE_P

Add TLS_TRANSITION_IE_TO_LE_P which returns TRUE if TLS IE->LE transition
is OK.

	* elfxx-x86.h (TLS_TRANSITION_IE_TO_LE_P): New.
	* elf32-i386.c (elf_i386_tls_transition): Use it.
	* elf64-x86-64.c (elf_x86_64_tls_transition): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Add NEED_DYNAMIC_RELOCATION_P
@ 2017-10-06  7:26 sergiodj+buildbot
  2017-10-21  1:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:26 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT daf1c414a48baf090f005ce4b319b6881d5d6872 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: daf1c414a48baf090f005ce4b319b6881d5d6872

x86: Add NEED_DYNAMIC_RELOCATION_P

Add NEED_DYNAMIC_RELOCATION_P which returns TRUE if dynamic relocation
is needed.

	* elf32-i386.c (X86_PCREL_TYPE_P): New.
	(elf_i386_check_relocs): Use NEED_DYNAMIC_RELOCATION_P.
	* elf64-x86-64.c (IS_X86_64_PCREL_TYPE): Renamed to ...
	(X86_PCREL_TYPE_P): This.
	(elf_x86_64_check_relocs): Use NEED_DYNAMIC_RELOCATION_P.
	Replace IS_X86_64_PCREL_TYPE with X86_PCREL_TYPE_P.
	(elf_x86_64_relocate_section): Replace IS_X86_64_PCREL_TYPE with
	X86_PCREL_TYPE_P.
	* elfxx-x86.h (NEED_DYNAMIC_RELOCATION_P): New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add RESOLVED_LOCALLY_P
@ 2017-10-06  7:30 sergiodj+buildbot
  2017-10-21 18:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2eba97c207399d8b541092a7b0a4428dc02f5cf1 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 2eba97c207399d8b541092a7b0a4428dc02f5cf1

Add RESOLVED_LOCALLY_P


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Add GENERATE_RELATIVE_RELOC_P
@ 2017-10-06  7:36 sergiodj+buildbot
  2017-10-22  9:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:36 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f70656b2604eff12cea2e9bef27c1e00a3077f30 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: f70656b2604eff12cea2e9bef27c1e00a3077f30

x86: Add GENERATE_RELATIVE_RELOC_P

Add GENERATE_RELATIVE_RELOC_P which returns TRUE if dynamic relative
relocation should be generated.

	* elfxx-x86.h (GENERATE_RELATIVE_RELOC_P): New.
	* elf32-i386.c (elf_i386_relocate_section): Use it.
	* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Add POINTER_LOCAL_IFUNC_P/PLT_LOCAL_IFUNC_P
@ 2017-10-06  7:42 sergiodj+buildbot
  2017-10-23  1:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:42 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cf1070f1a1ca1f8be1cd88aa6ece55a25e6a887b ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: cf1070f1a1ca1f8be1cd88aa6ece55a25e6a887b

x86: Add POINTER_LOCAL_IFUNC_P/PLT_LOCAL_IFUNC_P

Add POINTER_LOCAL_IFUNC_P which returns TRUE for pointer reference to
local IFUNC symbol.  Add PLT_LOCAL_IFUNC_P which returns TRUE for PLT
reference to local IFUNC symbol.

	* elfxx-x86.h (POINTER_LOCAL_IFUNC_P): New.
	(PLT_LOCAL_IFUNC_P): Likewise.
	* elf32-i386.c (elf_i386_relocate_section): Use them.
	* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Add GENERATE_DYNAMIC_RELOCATION_P
@ 2017-10-06  7:44 sergiodj+buildbot
  2017-10-23 15:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:44 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT aebcc8ffd201adbee973b414818b01876dabe1a0 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: aebcc8ffd201adbee973b414818b01876dabe1a0

x86: Add GENERATE_DYNAMIC_RELOCATION_P

Add GENERATE_DYNAMIC_RELOCATION_P which returns TRUE if dynamic
relocation should be generated.

	* elf32-i386.c (X86_SIZE_TYPE_P): New.
	(elf_i386_relocate_section): Use GENERATE_DYNAMIC_RELOCATION_P.
	* elf64-x86-64.c (X86_SIZE_TYPE_P): New.
	(elf_x86_64_relocate_section): Use GENERATE_DYNAMIC_RELOCATION_P.
	* elfxx-x86.h (GENERATE_DYNAMIC_RELOCATION_P): New.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Add COPY_INPUT_RELOC_P
@ 2017-10-06  7:49 sergiodj+buildbot
  2017-10-24  6:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e74399c47c76b8111651f41b52a05401852cf799 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: e74399c47c76b8111651f41b52a05401852cf799

x86: Add COPY_INPUT_RELOC_P

Add COPY_INPUT_RELOC_P which returns TRUE if input relocation should
be copied to output.

	* elfxx-x86.h (COPY_INPUT_RELOC_P): New.
	* elf32-i386.c (elf_i386_relocate_section): Use it.
	* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Add VERIFY_PLT_ENTRY
@ 2017-10-06  7:51 sergiodj+buildbot
  2017-10-24 21:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f3180fa9ee8917fa9547cd5f79c822761f5d87a0 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: f3180fa9ee8917fa9547cd5f79c822761f5d87a0

x86: Add VERIFY_PLT_ENTRY

Add VERIFY_PLT_ENTRY to verify that symbol has an entry in the procedure
linkage table.

	* elfxx-x86.h (VERIFY_PLT_ENTRY): New.
	* elf32-i386.c (elf_i386_finish_dynamic_symbol): Use it.
	* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Add VERIFY_COPY_RELOC
@ 2017-10-06  7:54 sergiodj+buildbot
  2017-10-25 11:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  7:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ff38b4cc55dade4c9970cac2149a946d5dc0adc7 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: ff38b4cc55dade4c9970cac2149a946d5dc0adc7

x86: Add VERIFY_COPY_RELOC

Add VERIFY_COPY_RELOC to verify that symbol supports copy relocation.

	* elfxx-x86.h (VERIFY_COPY_RELOC): New.
	* elf32-i386.c (elf_i386_finish_dynamic_symbol): Use it.
	* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb: Fix decoding of ARM neon memory hint insns.
@ 2017-10-06  9:53 sergiodj+buildbot
  2017-10-26  1:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06  9:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2f924de654ff8f719faf60b84948397809baaac6 ***

Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Branch: master
Commit: 2f924de654ff8f719faf60b84948397809baaac6

gdb: Fix decoding of ARM neon memory hint insns.

gdb/ChangeLog:

2017-10-05  Jose E. Marchesi  <jose.marchesi@oracle.com>

	PR build/22188
	* arm-tdep.c (arm_decode_misc_memhint_neon): Fix decoding of CPS
	and SETEND.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [RFC] Replicate src dir in build dir
@ 2017-10-06 10:17 sergiodj+buildbot
  2017-10-26 16:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 10:17 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f38307f593cb8189c82fb39e46e0cd899022e2fb ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: f38307f593cb8189c82fb39e46e0cd899022e2fb

[RFC] Replicate src dir in build dir

Nowadays, GDB build tree is almost flat, but source tree isn't.  We
have arch/ nat/ target/ common/ cli/ mi/ tui/ python/ guile/ directories.
We need to some rules in Makefile for source files in different source
directories, like,

 # Rules for compiling .c files in the various source subdirectories.
%.o: ${srcdir}/arch/%.c
	$(COMPILE) $<
	$(POSTCOMPILE)

%.o: ${srcdir}/nat/%.c
	$(COMPILE) $<
	$(POSTCOMPILE)

so we should take care of some special case that files' base name is the
same, like,

 # Specify an explicit rule for gdb/common/agent.c, to avoid a clash with the
 # object file generate by gdb/agent.c.
common-agent.o: $(srcdir)/common/agent.c
	$(COMPILE) $(srcdir)/common/agent.c
	$(POSTCOMPILE)

As we add more and more files in different directories, it becomes tricky
to name files, because we need take this into account.

This patch takes the first step toward "Replicate src dir in build dir",
that is, we create arch/ directory in buildtree, and put amd64.o there
as an example.  Dependency tracking is updated for files with directory
name.  Currently, when we build amd64.o,

  "-c -o amd64.o -MT amd64.o -MMD -MP -MF .deps/amd64.Tpo"

with this patch applied, it becomes,

  "-c -o arch/amd64.o -MT arch/amd64.o -MMD -MP -MF arch/.deps/amd64.o.Tpo"

"make clean" removes the object files, and "make distclean" removes .deps
additionally.  configure file create .deps directory in each of
CONFIG_SRC_SUBDIR, and pass it to Makefile.in, so that "make clean" and
"make distclean" can remove stuffs there.

If people agree with this change, I'll add more directories to
CONFIG_SRC_SUBDIR.

gdb:

2017-10-06  Yao Qi  <yao.qi@linaro.org>

	* Makefile.in (CONFIG_SRC_SUBDIR): New.
	(ALL_64_TARGET_OBS): Replace amd64.o with arch/amd64.o.
	(clean): Remove object files and dependency files.
	(distclean): Remove the directory.
	* configure.ac: Invoke AC_CONFIG_COMMANDS.
	* configure: Re-generated.
	* configure.tgt: Replace amd64.o with arch/amd64.o.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Share code updating gdb_target_obs
@ 2017-10-06 10:23 sergiodj+buildbot
  2017-10-27  8:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 10:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d97987e219b80c670e37eb0e25e31b36fa295509 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: d97987e219b80c670e37eb0e25e31b36fa295509

Share code updating gdb_target_obs

Nowadays, there are much duplications in configure.tgt to update
gdb_target_obs, some cpu specific object files are added to gdb_target_obs
to some different target triplets of the same cpu.  The same problem
exists for os specific object files too.  It is fragile to update them,
and build with all targets enabled doesn't find the problem.

This patch splits the gdb_target_obs update to three steps, cpu steps, os
steps, and the rest.

I tested this patch by build gdb for each different target triplets
respectively,

aarch64-elf aarch64-rtems aarch64-freebsd aarch64-linux alpha-elf
alpha-linux alpha-netbsd alpha-openbsd arm-elf arm-wince-pe arm-linux
arm-netbsd arm-symbianelf avr cris-elf frv-elf h8300-elf i386-elf
i386-darwin i386-dicos i386-freebsd i386-netbsdelf i386-openbsd
i386-nto i386-solaris i386-linux i386-gnu i386-cygwin i386-mingw32
i386-go32 ia64-linux-gnu ia64-vms lm32-elf m32c-elf m32r-elf m32r-linux
m68hc11-elf m68k-elf m68k-linux m68k-netbsd m68k-openbsd m88k-openbsd
mep-elf microblaze-xilinx-elf microblaze-linux-gnu mips-elf moxie-elf
ms1-elf nios2-elf nios2-linux-gnu hppa-elf hppa-linux hppa-netbsd
hppa-openbsd powerpc-eabi powerpc-freebsd powerpc-netbsd powerpc-openbsd
powerpc-linux powerpc-lynx178 rl78-elf rx-elf s390-linux-gnu score-elf
sh-elf sh-linux sh-openbsd sh64-elf sh64-linux sh64-openbsd sparc64-linux
sparc-linux sparc-freebsd sparc64-freebsd sparc-netbsd sparc64-netbsd
sparc-openbsd sparc64-openbsd spu-elf tic6x-elf tic6x-uclinux v850-elf
vax-netbsd vax-openbsd x86_64-linux-gnu x86_64-darwin x86_64-dicos
x86_64-elf x86_64-freebsd x86_64-mingw32 x86_64-netbsd x86_64-openbsd
x86_64-rtems xstormy16-elf xtensa-elf xtensa-linux

gdb:

2017-10-06  Yao Qi  <yao.qi@linaro.org>

	* configure.tgt (i386_tobjs): New variable.
	(amd64_tobjs): New variable.
	Set $cpu_obs and $os_obs.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix GDB build under msys+mingw gcc 32bit
@ 2017-10-06 10:53 sergiodj+buildbot
  2017-10-27 22:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 10:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b79f7801a2c555ee4ff4bc3050141e83158f66d4 ***

Author: Yuanhui Zhang <asmwarrior@gmail.com>
Branch: master
Commit: b79f7801a2c555ee4ff4bc3050141e83158f66d4

Fix GDB build under msys+mingw gcc 32bit

I see a build error when building GDB under msys+mingw gcc 32bit:

 g++ -x c++ -std=gnu++11 -g -O2    -I. -I../../../binutils-gdb/gdb/gdbserver -I../../../binutils-gdb/gdb/gdbserver/../common -I../../../binutils-gdb/gdb/gdbserver/../regformats -I../../../binutils-gdb/gdb/gdbserver/.. -I../../../binutils-gdb/gdb/gdbserver/../../include -I../../../binutils-gdb/gdb/gdbserver/../gnulib/import -Ibuild-gnulib-gdbserver/import  -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized -Wno-format -Werror -DGDBSERVER -c -o win32-low.o -MT win32-low.o -MMD -MP -MF .deps/win32-low.Tpo ../../../binutils-gdb/gdb/gdbserver/win32-low.c
 ../../../binutils-gdb/gdb/gdbserver/win32-low.c: In function 'BOOL create_process(const char*, char*, DWORD, PROCESS_INFORMATION*)':
 ../../../binutils-gdb/gdb/gdbserver/win32-low.c:566:48: error: 'get_inferior_cwd' was not declared in this scope
    const char *inferior_cwd = get_inferior_cwd ();
						 ^
 make[4]: *** [win32-low.o] Error 1

It can be fixed by simply including the right header file.

gdb/gdbserver/ChangeLog:
2017-10-06  Yuanhui Zhang  <asmwarrior@gmail.com>

	* win32-low.c: Include "common-inferior.h".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix more GDB build breakage on mingw32
@ 2017-10-06 11:06 sergiodj+buildbot
  2017-10-28 14:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 11:06 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a1b85d282f408dfd18a27539874846197f7e4044 ***

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

Fix more GDB build breakage on mingw32

With F23's mingw gcc 5.3.0, I'm seeing:

 i686-w64-mingw32-g++ -x c++ -std=gnu++11 -g3 -O0   -I. -I../../src/gdb -I../../src/gdb/common -I../../src/gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode -I../../src/gdb/../opcodes/.. -I../../src/gdb/../readline/.. -I../../src/gdb/../zlib -I../bfd -I../../src/gdb/../bfd -I../../src/gdb/../include -I../libdecnumber -I../../src/gdb/../libdecnumber  -I../../src/gdb/gnulib/import -Ibuild-gnulib/import   -I/home/pedro/src/expat/install-win32//include   -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wno-error=maybe-uninitialized -Wno-format -Werror -c -o windows-nat.o -MT windows-nat.o -MMD -MP -MF ./.deps/windows-nat.o.Tpo ../../src/gdb/windows-nat.c
 ../../src/gdb/windows-nat.c: In function 'void windows_create_inferior(target_ops*, const char*, const string&, char**, int)':
 ../../src/gdb/windows-nat.c:2476:7: error: 'replace' is not a member of 'std'
	std::replace (expanded_infcwd.begin (), expanded_infcwd.end (),
	^

gdb/Changelog:
2017-10-06  Pedro Alves  <palves@redhat.com>

	* windows-nat.c: Include <algorithm>.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add "do/while(0); " to COPY_INPUT_RELOC_P/VERIFY_COPY_RELOC
@ 2017-10-06 12:54 sergiodj+buildbot
  2017-10-29  4:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 12:54 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT e0d8f43169368abf354e596c7725dee1dd609cb8 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: e0d8f43169368abf354e596c7725dee1dd609cb8

Add "do/while(0);" to COPY_INPUT_RELOC_P/VERIFY_COPY_RELOC

Add "do/while(0);" to COPY_INPUT_RELOC_P/VERIFY_COPY_RELOC to avoid
potential dangling else problems.

	* elfxx-x86.h (COPY_INPUT_RELOC_P): Add "do/while(0);".
	(VERIFY_COPY_RELOC): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Move i386.o to arch/i386.o
@ 2017-10-06 13:11 sergiodj+buildbot
  2017-10-29 20:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 13:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2081b2b2ca30d7c3b6464a3e167ce2c336c0465f ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 2081b2b2ca30d7c3b6464a3e167ce2c336c0465f

Move i386.o to arch/i386.o

This patch changes the build that arch/i386.c is built to arch/i386.o,
instead of i386.o.

gdb:

2017-10-06  Yao Qi  <yao.qi@linaro.org>

	* Makefile.in (ALL_TARGET_OBS): Rename i386.o to arch/i386.o.
	* configure.tgt (i386_tobjs): Replace i386.o with arch/i386.o.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Move arm.o arm-get-next-pcs.o arm-linux.o to arch/
@ 2017-10-06 13:38 sergiodj+buildbot
  2017-10-30 10:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 13:38 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 71917808c3490b4d4df9c6e848e3c5d75f5278d2 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 71917808c3490b4d4df9c6e848e3c5d75f5278d2

Move arm.o arm-get-next-pcs.o arm-linux.o to arch/

It is tested by building GDB for some targets, arm-elf, arm-netbsd,
arm-linux, and aarch64-linux.

gdb:

2017-10-06  Yao Qi  <yao.qi@linaro.org>

	* Makefile.in (ALL_TARGET_OBS): Replace arm.o, arm-get-next-pcs.o,
	and arm-linux.o with arch/arm.o, arch/arm-get-next-pcs.o and
	arch/arm-linux.o respectively.
	* configure.tgt: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Move aarch64-insn.o to arch/aarch64-insn.o and Remove a rule for arch/*.c
@ 2017-10-06 13:56 sergiodj+buildbot
  2017-10-31  2:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 13:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0d28b0a5caa6b04129e21a9aff371d4032c7ef17 ***

Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 0d28b0a5caa6b04129e21a9aff371d4032c7ef17

Move aarch64-insn.o to arch/aarch64-insn.o and Remove a rule for arch/*.c

This patch moves aarch64-insn.o to arch/aarch64-insn.o.  Then, all
arch/*.c are built to arch/*.o, so we don't need a Makefile rule to build
*.o from arch/*.c.  This patch removes it too.

gdb:

2017-10-06  Yao Qi  <yao.qi@linaro.org>

	* Makefile.in (ALL_64_TARGET_OBS): Replace aarch64-insn.o with
	arch/aarch64-insn.o.
	Remove one rule.
	* configure.tgt: Replace aarch64-insn.o with arch/aarch64-insn.o.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Account for padding in FreeBSD/mipsn32 NT_PRSTATUS notes.
@ 2017-10-06 21:43 sergiodj+buildbot
  2017-10-31 18:39 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 21:43 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 544c67cda1686c1b204cb96c0d7885b08d37b8d6 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 544c67cda1686c1b204cb96c0d7885b08d37b8d6

Account for padding in FreeBSD/mipsn32 NT_PRSTATUS notes.

Add a new ELF backend method to grok FreeBSD NT_PRSTATUS core dump
notes.  Define a method for MIPS N32 to override the default
elfcore_grok_freebsd_prstatus that accounts for additional padding
between pr_pid and pr_reg that is not present in other 32-bit FreeBSD
platforms.

	* elf-bfd.h (struct elf_backend_data): Add
	`elf_backend_grok_freebsd_prstatus'.
	* elf.c (elfcore_grok_freebsd_note): Call
	`elf_backend_grok_freebsd_prstatus' to handle NT_PRSTATUS if
	present.
	* elfn32-mips.c (elf_n32_mips_grok_freebsd_prstatus): New
	function.
	(elf_backend_grok_freebsd_prstatus): Define.
	* elfxx-target.h (elf_backend_grok_freebsd_prstatus): Define.
	(elfNN_bed): Initialize `elf_backend_grok_freebsd_prstatus'.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Skip gdb.mi/mi-threads-interrupt.exp if nointerrupts.
@ 2017-10-06 22:49 sergiodj+buildbot
  2017-11-01  8:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-06 22:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b3b7c423883ad8d8b81f166ad2d2d4b637086bc0 ***

Author: Sandra Loosemore <sandra@codesourcery.com>
Branch: master
Commit: b3b7c423883ad8d8b81f166ad2d2d4b637086bc0

Skip gdb.mi/mi-threads-interrupt.exp if nointerrupts.

2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>

	gdb/testsuite/
	* gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Update UNDEFINED_WEAK_RESOLVED_TO_ZERO comments
@ 2017-10-07  0:08 sergiodj+buildbot
  2017-11-02 16:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-07  0:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 99180bccaf09413c9ddb28e51fa30f1ca4966583 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 99180bccaf09413c9ddb28e51fa30f1ca4966583

x86: Update UNDEFINED_WEAK_RESOLVED_TO_ZERO comments

	* elfxx-x86.h (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Update
	comments.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Use zero_undefweak in elf_x86_link_hash_entry
@ 2017-10-07  1:04 sergiodj+buildbot
  2017-11-02  0:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-07  1:04 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 98b273dc13b1e45db8c66821efc9e514884f3c25 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 98b273dc13b1e45db8c66821efc9e514884f3c25

x86: Use zero_undefweak in elf_x86_link_hash_entry

Replace has_got_reloc and has_non_got_reloc in elf_x86_link_hash_entry
with zero_undefweak:

Bit 0: Symbol has no GOT nor PLT relocations.
Bit 1: Symbol has non-GOT/non-PLT relocations in text sections.

zero_undefweak is initialized to 1 and undefined weak symbol should be
resolved to 0 if zero_undefweak > 0.

	* elf32-i386.c (elf_i386_check_relocs): Replace has_got_reloc
	and has_non_got_reloc with zero_undefweak.
	* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
	* elfxx-x86.c (_bfd_x86_elf_link_hash_newfunc): Initialize
	zero_undefweak to 1.
	(_bfd_x86_elf_copy_indirect_symbol): Replace has_got_reloc and
	has_non_got_reloc with zero_undefweak.
	* elfxx-x86.h (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Replace
	has_got_reloc and has_non_got_reloc with zero_undefweak.
	(elf_x86_link_hash_entry): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] sparc: Dump dynamic relocation info to the map file
@ 2017-10-08  0:51 sergiodj+buildbot
  2017-11-03  8:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-08  0:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f0f07ad1825e9b7f539e410562993b25f76e5627 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: f0f07ad1825e9b7f539e410562993b25f76e5627

sparc: Dump dynamic relocation info to the map file

Dump dynamic relocation info to the map file when generating dynamic
relocation in read-only section relocations if -Map is used.

	* elfxx-sparc.c (readonly_dynrelocs): Dump dynamic relocation
	in read-only section with minfo.
	(_bfd_sparc_elf_size_dynamic_sections): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Reformat elf_x86_allocate_dynrelocs
@ 2017-10-08 20:47 sergiodj+buildbot
  2017-11-06  5:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-08 20:47 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 70090aa5f629dcbdfa88b20c29951fa8f50f0545 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 70090aa5f629dcbdfa88b20c29951fa8f50f0545

Reformat elf_x86_allocate_dynrelocs

	* elfxx-x86.c (elf_x86_allocate_dynrelocs): Reformat.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] tilegx: Set this_hdr.sh_entsize only if section size > 0
@ 2017-10-08 21:53 sergiodj+buildbot
  2017-11-06 21:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-08 21:53 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4c7236d3cb7b971bbdc97b6aec348a4aa0594a9b ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 4c7236d3cb7b971bbdc97b6aec348a4aa0594a9b

tilegx: Set this_hdr.sh_entsize only if section size > 0

This fixes:

/export/build/gnu/binutils-cross/build-tilegx-linux/ld/ld-new   -o tmpdir/comm-data -z norelro -L/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-elf  -T comm-data2.ld -Ltmpdir -lcomm-data tmpdir/comm-data2.o
sh: line 1:  9208 Segmentation fault      (core dumped) /export/build/gnu/binutils-cross/build-tilegx-linux/ld/ld-new -o tmpdir/comm-data -z norelro -L/export/gnu/import/git/sources/binutils-gdb/ld/testsuite/ld-elf -T comm-data2.ld -Ltmpdir -lcomm-data tmpdir/comm-data2.o 2>&1
FAIL: Common symbol override test

	* elfxx-tilegx.c (tilegx_elf_finish_dynamic_sections): Set
	this_hdr.sh_entsize only if section size > 0.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] sparc: Remove a strayed comment
@ 2017-10-09  0:35 sergiodj+buildbot
  2017-11-07 13:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09  0:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT f9799aae8e51948c1d87fbe7249b3d76dcb4585d ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: f9799aae8e51948c1d87fbe7249b3d76dcb4585d

sparc: Remove a strayed comment

	* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Remove
	a strayed comment.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] sh: Dump dynamic relocation info to the map file
@ 2017-10-09  1:20 sergiodj+buildbot
  2017-11-08  9:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09  1:20 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a72f95f7760bf85693af393c5e01dd3aedbe5bde ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: a72f95f7760bf85693af393c5e01dd3aedbe5bde

sh: Dump dynamic relocation info to the map file

Dump dynamic relocation info to the map file when generating dynamic
relocation in read-only section relocations if -Map is used.

	* elf32-sh.c (readonly_dynrelocs): Dump dynamic relocation
	in read-only section with minfo.
	(sh_elf_size_dynamic_sections): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] PR22212, memory leak in nm
@ 2017-10-09  5:11 sergiodj+buildbot
  2017-11-09  0:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09  5:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b55ec8b676ed05d93ee49d6c79ae0403616c4fb0 ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: b55ec8b676ed05d93ee49d6c79ae0403616c4fb0

PR22212, memory leak in nm

	PR 22212
	* dwarf2.c (_bfd_dwarf2_cleanup_debug_info): Free
	funcinfo_hash_table and varinfo_hash_table.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Change search_symbols to return std::vector
@ 2017-10-09  5:31 sergiodj+buildbot
  2017-11-09 15:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09  5:31 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b9c04fb2681dd5706d2cafa5dcc6bdcd99016cf4 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: b9c04fb2681dd5706d2cafa5dcc6bdcd99016cf4

Change search_symbols to return std::vector

This changes search_symbols to return a std::vector, replacing the
previous linked list approach.  This allows the removal of some
cleanups, as well as the use of std::sort and std::unique, saving some
code and extra allocations in sort_search_symbols_remove_dups.

Regression tested by the buildbot.

gdb/ChangeLog
2017-10-08  Tom Tromey  <tom@tromey.com>

	* symtab.c (free_search_symbols, do_free_search_symbols_cleanup)
	(make_cleanup_free_search_symbols): Remove.
	(search_symbols): Return std::vector.
	(symbol_search::compare_search_syms): Now member of
	symbol_search.  Change arguments.
	(sort_search_symbols_remove_dups): Change arguments.  Rewrite.
	(symtab_symbol_info, rbreak_command): Update.
	* symtab.h (struct symbol_search) <next>: Remove.
	Add constructors.
	(symbol_search::operator<): New function.
	(symbol_search::operator==): New function.
	(search_symbols): Remove std::vector.
	(free_search_symbols, make_cleanup_free_search_symbols): Remove.
	(symbol_search::compare_search_syms): Declare.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove make_cleanup_value_free
@ 2017-10-09  5:51 sergiodj+buildbot
  2017-11-10  6:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09  5:51 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 757325a3f24e01bf8e7b7214f33c546bc52d1d12 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 757325a3f24e01bf8e7b7214f33c546bc52d1d12

Remove make_cleanup_value_free

This removes make_cleanup_value_free, in favor of a unique_ptr
specialization.

Regression tested by the buildbot.

gdb/ChangeLog
2017-10-08  Tom Tromey  <tom@tromey.com>

	* utils.h (make_cleanup_value_free): Remove.
	* utils.c (do_value_free, struct cleanup): Remove.
	* dwarf2loc.c (dwarf2_evaluate_loc_desc_full) <DWARF_VALUE_STACK>:
	Use gdb_value_up.
	* value.h (struct value_deleter): New.
	(gdb_value_up): New typedef.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove some cleanups from dwarf2read.c
@ 2017-10-09  7:27 sergiodj+buildbot
  2017-11-11 12:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09  7:27 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 791afaa233ca9f4baa59aa16062296a00aa2c4da ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 791afaa233ca9f4baa59aa16062296a00aa2c4da

Remove some cleanups from dwarf2read.c

This removes a number of cleanups from dwarf2read.c in a
straightforward way.

Note that some places in dwarf2read create dangling cleanups.  I don't
believe any of the changes in this patch interact with those spots.

Regression tested by the buildbot.

gdb/ChangeLog
2017-10-08  Tom Tromey  <tom@tromey.com>

	* dwarf2read.c (dwarf2_get_dwz_file): Use
	gdb::unique_xmalloc_ptr.
	(find_slot_in_mapped_hash): Likewise.
	(dwarf2_physname): Likewise.
	(create_dwo_unit_in_dwp_v1): Use std::string.
	(create_dwo_unit_in_dwp_v2): Likewise.
	(lookup_dwo_cutu): Likewise.
	(inherit_abstract_dies): Use std::vector.
	(read_array_type): Likewise.
	(dwarf_decode_macros): Remove unused declaration.
	(unsigned_int_compar): Remove.
	(dwarf2_build_psymtabs_hard): Use scoped_restore.
	(psymtabs_addrmap_cleanup): Remove.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove cleanup from frame_prepare_for_sniffer
@ 2017-10-09  8:52 sergiodj+buildbot
  2017-11-10 20:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09  8:52 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 30a9c02feff56bd58a276c2a7262f364baa558ac ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 30a9c02feff56bd58a276c2a7262f364baa558ac

Remove cleanup from frame_prepare_for_sniffer

Currently frame_prepare_for_sniffer returns a cleanup.  This patch
changes it to return void, and exposes frame_cleanup_after_sniffer to
the caller.

Normally I would write an RAII class for this sort of thing; but
because there was just a single caller of frame_prepare_for_sniffer,
and because this caller is already using try/catch, I thought it
seemed ok to require explicit calls in this instance.

Regression tested by the buildbot.

gdb/ChangeLog
2017-10-08  Tom Tromey  <tom@tromey.com>

	* frame-unwind.c (frame_unwind_try_unwinder): Update.
	* frame.h (frame_cleanup_after_sniffer): Declare.
	(frame_prepare_for_sniffer): Return void.
	* frame.c (frame_cleanup_after_sniffer): No longer static.  Change
	type of argument.
	(frame_prepare_for_sniffer): Return void.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix gdb.base/print-file-var-main.c value check logic
@ 2017-10-09 12:16 sergiodj+buildbot
  2017-11-12  3:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 12:16 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 5c9e4427a745e5e26fba320ecc62e4285b613e4f ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 5c9e4427a745e5e26fba320ecc62e4285b613e4f

Fix gdb.base/print-file-var-main.c value check logic

Fix a typo introduced in commit c56e7c4390ed ("Make ctxobj.exp and
print-file-var.exp work on all platforms.").

This doesn't really affect the outcome of the testcase.  I only
noticed the typo because I stepped through the program manually.

To avoid such problems if the test is extended, this moves the STOP
marker until after the program self-validates the values.  With the
typo in place, this alone would have resulted in a test FAIL.  I.e.,
it'd have caught the typo.

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

	* gdb.base/print-file-var-main.c: Fix get_version_2 value check
	logic.  Move STOP marker after the value checks.
	* gdb.base/print-file-var.exp (continue to STOP marker): Tighten
	regexp.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Make cp_remove_params return a gdb::unique_xmalloc_ptr
@ 2017-10-09 15:34 sergiodj+buildbot
  2017-11-12 17:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 15:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 109483d9eec3f0d0c3eaafd5d829435059167c52 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 109483d9eec3f0d0c3eaafd5d829435059167c52

Make cp_remove_params return a gdb::unique_xmalloc_ptr

Use the type system instead of callers needing to know how the
returned string's memory is supposed to be managed.

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

	* cp-support.c (cp_remove_params): Return a gdb::unique_xmalloc_ptr.
	Use bool.
	(overload_list_add_symbol): Adjust to use gdb::unique_xmalloc_ptr.
	* cp-support.h (cp_remove_params): Now returns a
	gdb::unique_xmalloc_ptr.
	* dwarf2read.c (find_slot_in_mapped_hash): Now returns bool.
	Adjust to cp_remove_params returning a gdb::unique_xmalloc_ptr.
	* psymtab.c (psymtab_search_name): Adjust to cp_remove_params
	returning a gdb::unique_xmalloc_ptr.
	(lookup_partial_symbol): Adjust to use gdb::unique_xmalloc_ptr.
	* stack.c (find_frame_funname): Adjust to cp_remove_params
	returning a gdb::unique_xmalloc_ptr.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Fix automatic dependency tracking
@ 2017-10-09 16:13 sergiodj+buildbot
  2017-11-13  7:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 16:13 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 890e97902a21a3b88f9b6028852736b813303029 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 890e97902a21a3b88f9b6028852736b813303029

Fix automatic dependency tracking

Commit f38307f5 changed COMPILE.post and POSTCOMPILE to remove
$(basename) from the dependency file name computation.  However, it
did not update the `-include' at the end of the Makefile.in; this in
effect disabled automatic dependency tracking.

This patch restores the $(basename) wrapper so that the dependency
files are named "file.Po" rather than "file.o.Po".

I also tested the non-gcc3 dependency mode, which pointed out that
this case hadn't been working since the switch to C++.  This is also
fixed in this patch.

Tested by rebuilding.

ChangeLog
2017-10-09  Tom Tromey  <tom@tromey.com>

	* Makefile.in (COMPILE.post, POSTCOMPILE): Restore $(basename).
	(COMPILE.pre): Use $(CXX).


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] S/390: Sync with IBM z14 POP - SI_RD format
@ 2017-10-09 17:35 sergiodj+buildbot
  2017-11-14  0:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 17:35 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT ee6767daf13a13867f8e716c2a53b748ab0da536 ***

Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Branch: master
Commit: ee6767daf13a13867f8e716c2a53b748ab0da536

S/390: Sync with IBM z14 POP - SI_RD format

The recent POP adjusted a few of the instruction formats.  This patch
adjusts our optable accordingly.  No user visible change - hopefully.

opcodes/ChangeLog:

2017-10-09  Heiko Carstens  <heiko.carstens@de.ibm.com>

	* s390-opc.c (INSTR_SI_RD): New macro.
	(INSTR_S_RD): Adjust example instruction.
	* s390-opc.txt (lpsw, ssm, ts): Change S_RD instruction format to
	SI_RD.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] S/390: Sync with latest POP - 3 new instructions
@ 2017-10-09 17:56 sergiodj+buildbot
  2017-11-14 14:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 17:56 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8e464506d2131fc931c4f81a22cc7125b7adf434 ***

Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Branch: master
Commit: 8e464506d2131fc931c4f81a22cc7125b7adf434

S/390: Sync with latest POP - 3 new instructions

prno, tpei, and irbm are missing in the optable.

gas/ChangeLog:

2017-10-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* testsuite/gas/s390/zarch-arch12.d (prno, tpei, irbm): New
	instructions added.
	* testsuite/gas/s390/zarch-arch12.s: Likewise.
	* testsuite/gas/s390/zarch-z13.d: Rename ppno to prno.

opcodes/ChangeLog:

2017-10-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* s390-opc.txt (prno, tpei, irbm): New instructions added.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Don't try building gdb against guile-2.2
@ 2017-10-09 18:14 sergiodj+buildbot
  2017-11-15  5:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 18:14 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6e66f7538112d2f5fb1af17dbde33ba37a7171be ***

Author: Simon Marchi <simon.marchi@polymtl.ca>
Branch: master
Commit: 6e66f7538112d2f5fb1af17dbde33ba37a7171be

Don't try building gdb against guile-2.2

GDB currently doesn't build with Guile 2.2 (see PR 21104).  If one has
both Guile 2.2 and 2.0 installed, GDB will pick up Guile 2.2 first and
fail building.  Until somebody does the work of adapting the GDB code to
Guile 2.2, we should not try using it.  This patch therefore removes it
from configure.

gdb/ChangeLog:

	* configure.ac (try_guile_versions): Remove guile-2.2.
	* configure: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use gdbarch_long_bit to determine layout of FreeBSD siginfo_t.
@ 2017-10-09 19:00 sergiodj+buildbot
  2017-11-15 20:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 19:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a181c0bf7461c28cdb72a4074c6d7608119fb575 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: a181c0bf7461c28cdb72a4074c6d7608119fb575

Use gdbarch_long_bit to determine layout of FreeBSD siginfo_t.

FreeBSD architectures are either ILP32 or LP64 resulting in two
different layouts for siginfo_t.  Previously, the 'bits_per_word'
member of bfd_arch_info was used to determine the layout to use for a
given FreeBSD architecture.  However, mipsn32 architectures inherit
from a 64-bit mips architecture where bits_per_word is 64.  As a
result, $_siginfo was not properly extracted from FreeBSD/mipsn32 core
dumps.  Fix this by using gdbarch_long_bit instead of 'bits_per_word'
to determine if a FreeBSD architecture is ILP32 or LP64.

gdb/ChangeLog:

	* fbsd-nat.c (fbsd_siginfo_size): Use gdbarch_long_bit.
	(fbsd_convert_siginfo): Likewise.
	* fbsd-tdep.c (fbsd_core_xfer_siginfo): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] gdb.multi/multi-arch-exec.exp: Also test -m32 => -m64
@ 2017-10-09 19:41 sergiodj+buildbot
  2017-11-17  1:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 19:41 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 777a42f1f86b60d11cfe0e5964036823e6920f79 ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 777a42f1f86b60d11cfe0e5964036823e6920f79

gdb.multi/multi-arch-exec.exp: Also test -m32 => -m64

The gdb.multi/multi-arch-exec.exp testcase currently tests execing
from -m64 to -m32, but does not test the other direction.  For
thoroughness, this commit fixes that.  Without the fix in the previous
commit for example ("Multi-arch exec, more register reading
avoidance"), on x86_64 we would get different symptoms depending on
"execing direction".  Vis:

  Continuing.
  Truncated register 50 in remote 'g' packet
  Truncated register 50 in remote 'g' packet
  (gdb) FAIL: gdb.multi/multi-arch-exec.exp: first_arch=1: selected_thread=2: follow_exec_mode=same: continue across exec that changes architecture

Vs:

  Continuing.
  Remote 'g' packet reply is too long (expected 440 bytes, got 816 bytes): daffffffffffffff0000[snip]
  Remote 'g' packet reply is too long (expected 440 bytes, got 816 bytes): daffffffffffffff0000[snip]
  (gdb) FAIL: gdb.multi/multi-arch-exec.exp: first_arch=2: selected_thread=2: follow_exec_mode=same: continue across exec that changes architecture

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

	Test both arch1=>arch2 and arch2=>arch1.

	* gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
	(srcfile2, binfile2, march1, march2): Remove globals.  Largely
	factored out to...
	(append_arch1_options, append_arch2_options, append_arch_options)
	(build_executables): New procedures.
	(do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
	local.
	(top level): Add new 'first_arch' testing axis.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Multi-arch exec, more register reading avoidance
@ 2017-10-09 21:45 sergiodj+buildbot
  2017-11-16 10:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 21:45 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT cbd2b4e316370ab740433b06ed65786831232c8f ***

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

Multi-arch exec, more register reading avoidance

As mentioned in commit bf93d7ba9931 ("Add thread after updating
gdbarch when exec'ing"), we should avoid doing register reads after a
process does an exec and before we've updated that inferior's gdbarch.
Otherwise, we may interpret the registers using the wrong
architecture.

There's still (at least) one case where we still read registers
post-exec with the pre-exec architecture.  That's when infrun decides
it needs to switch context to the exec'ing thread.  I.e., if the exec
event is processed at a time when the current thread is not already
the exec'ing thread, then we get (with the test added by this commit):

  continue
  Continuing.
  Truncated register 50 in remote 'g' packet
  Truncated register 50 in remote 'g' packet
  (gdb) FAIL: gdb.multi/multi-arch-exec.exp: selected_thread=2: follow_exec_mode=same: continue across exec that changes architecture

The fix is to avoid reading registers when switching context in this
case.

(I'd be nice to get rid of the constant stop_pc reading when switching
threads, but that'd be a deeper change.)

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

	* infrun.c (handle_inferior_event_1) <TARGET_WAITKIND_EXECD>: Skip
	reading registers when switching context.

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

	* gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
	(barrier): New.
	(thread_start, all_started): New functions.
	(main): Spawn new thread and wait until it is scheduled.
	* gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
	option.
	(do_test): Add 'selected_thread' parameter.  Run to all_started
	instead of main.  Explicitly set the breakpoint at main.  Switch
	to the SELECTED_THREAD thread.
	(top level): Test handling the exec event with either the main
	thread or the second thread selected.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] mn10300: Don't free cached internal symbol table
@ 2017-10-09 22:40 sergiodj+buildbot
  2017-11-18  5:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-09 22:40 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 478c006f9b4a64d59c31aed081c14c1d7dd4ba68 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 478c006f9b4a64d59c31aed081c14c1d7dd4ba68

mn10300: Don't free cached internal symbol table

Since ELF linker may cache internal symbol table in init_reloc_cookie,
we should check if it is cached, before free it.

	* elf-m10300.c (mn10300_elf_check_relocs): Don't free cached
	isymbuf.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove "do_nothing"
@ 2017-10-10  0:03 sergiodj+buildbot
  2017-11-18 23:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-10  0:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0c478e2d060bebea341696806fed6f67122efab6 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 0c478e2d060bebea341696806fed6f67122efab6

Remove "do_nothing"

The do_nothing function in mi-main.c is used as a splay tree
key-deleting function; but NULL serves the same purpose and is used
elsewhere in gdb.  This patch removes the unneeded function.

ChangeLog
2017-10-09  Tom Tromey  <tom@tromey.com>

	* mi/mi-main.c (do_nothing): Remove.
	(list_available_thread_groups): Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] bfin: Don't create .interp section for info->nointerp
@ 2017-10-10  0:15 sergiodj+buildbot
  2017-11-17 15:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-10  0:15 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 9d45a7de8b80336b9965ee99353c34be85b1b98f ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 9d45a7de8b80336b9965ee99353c34be85b1b98f

bfin: Don't create .interp section for info->nointerp

Don't create the .interp section with "ld --no-dynamic-linker".  This
fixed:

FAIL: PR ld/20828 forcibly exported symbol version without section GC
FAIL: PR ld/20828 forcibly exported symbol version with section GC
FAIL: readelf version information

	* elf32-bfin.c (bfin_size_dynamic_sections): Don't create the
	.interp section with "ld --no-dynamic-linker".


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove free_splay_tree cleanup
@ 2017-10-10  0:23 sergiodj+buildbot
  2017-11-19 15:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-10  0:23 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 1a56bfa56ed967c5f6ed98f75834408417a062ff ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 1a56bfa56ed967c5f6ed98f75834408417a062ff

Remove free_splay_tree cleanup

One spot in gdb uses a cleanup to free a splay tree.  This patch
introduces a unique_ptr specialization for this case.

ChangeLog
2017-10-09  Tom Tromey  <tom@tromey.com>

	* mi/mi-main.c (free_splay_tree): Remove.
	(list_available_thread_groups): Use splay_tree_up.
	* common/gdb_splay_tree.h: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Prepare powerpc64 for late check_relocs
@ 2017-10-10  5:29 sergiodj+buildbot
  2017-11-20  6:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-10  5:29 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT b9399fcf4ec90d898a610e39bd9141e85c008fbb ***

Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: b9399fcf4ec90d898a610e39bd9141e85c008fbb

Prepare powerpc64 for late check_relocs

check_relocs was setting up some data used by the --gc-sections
gc_mark_hook.  If we change ld to run check_relocs after gc_sections
that data needs to be set up elsewhere.  Done by this patch in the
backend check_directives function (ppc64_elf_before_check_relocs).

	* elf64-ppc.c (ppc64_elf_before_check_relocs): Set sec_type for
	.opd whenever .opd is present and non-zero size.  Move code
	setting abiversion to/from output file earlier.  Only set
	u.opd.func_sec when --gc-sections.  Read relocs and set up
	u.opd.func_sec values here..
	(ppc64_elf_check_relocs): ..rather than here.  Simplify opd
	section tests.
	(ppc64_elf_edit_opd): Don't set sec_type for .opd here.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] riscv: Cache the max alignment of output sections
@ 2017-10-10  5:49 sergiodj+buildbot
  2017-11-20 21:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-10  5:49 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fc3c534364ca6d6de4f0dbcaf347ec85f5e2f8ff ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: fc3c534364ca6d6de4f0dbcaf347ec85f5e2f8ff

riscv: Cache the max alignment of output sections

Cache the max alignment of output sections instead of scanning all
output sections for each input section, which can take a very long
time if there are millions of input/output sections.

	PR ld/22274
	* elfnn-riscv.c (riscv_elf_link_hash_table): Add max_alignment.
	(riscv_elf_link_hash_table_create): Initialize max_alignment to
	(bfd_vma) -1.
	(_bfd_riscv_relax_section): Cache the max alignment of output
	sections if possible.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] [ARM] PR ld/21402, only override the symbol dynamic decision on undefined weak symbol.
@ 2017-10-10 16:08 sergiodj+buildbot
  2017-11-21 16:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-10 16:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 6c699715f68be7d8c468e965fbefce997f7ed937 ***

Author: Renlin Li <renlin.li@arm.com>
Branch: master
Commit: 6c699715f68be7d8c468e965fbefce997f7ed937

[ARM] PR ld/21402, only override the symbol dynamic decision on undefined weak symbol.

Similar as aarch64 backend, arm backend only overrides the decision on undefined
weak symbols. arm backend part already emits necessary relative relocation for
this case.

bfd/

	PR ld/21402
	* elf32-arm.c (allocate_dynrelocs_for_symbol): Only make undefined weak
	symbols into dynamic.

ld/

	PR ld/21402
	* testsuite/ld-arm/tls-app.d: Update address.
	* testsuite/ld-arm/tls-app.r: Remove relocations.
	* testsuite/ld-arm/unresolved-1-dyn.d: Update.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Eliminate catch_errors
@ 2017-10-10 16:39 sergiodj+buildbot
  2017-11-22  7:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-10 16:39 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT bf4692711232eb96cd840f96d88897a2746d8190 ***

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

Eliminate catch_errors

If you want to use catch_errors with a function with parameters, then
currently you have to manually write a "capture" struct wrapping the
arguments and marshall/unmarshall that.

https://sourceware.org/ml/gdb-patches/2017-09/msg00834.html proposed
adjusting catch_errors to use gdb::function_view, which would allow
passing lambdas with automatic captures.  However, it seems like using
TRY/CATCH directly instead ends up producing clearer and easier to
debug code.  This is what this commit does.

Note that removing catch_errors exposes further cleanup opportunities
around no longer having to follow catch_errors callback type, and also
removes a few cleanups.

I didn't do anything to save/restore current_uiout because I think
that should be the responsibility of the code that changes
current_uiout in the first place.

(Another approach could be to make catch_errors a variadic template
like:

  template<typename Function, typename... Args>
  int catch_errors (const char *errstring, return_mask mask,
		    Function &&func, Args... args);

and then with:

  extern void function_with_args (int, int);
  extern void function_with_no_args ();

calls to the above functions would be wrapped like this:

  catch_errors ("some error happened", RETURN_MASK_ERROR,
                function_with_args, arg1, arg2);

  catch_errors ("some error happened", RETURN_MASK_ERROR,
                function_with_no_args);

but I'm thinking that that doesn't improve much if at all either.)

gdb/ChangeLog
2017-10-10  Pedro Alves  <palves@redhat.com>
	    Tom Tromey  <tom@tromey.com>

	* breakpoint.c (breakpoint_cond_eval): Change return type to bool
	and reverse logic.
	(WP_DELETED, WP_VALUE_CHANGED, WP_VALUE_NOT_CHANGED, WP_IGNORE):
	No longer macros.  Instead ...
	(enum wp_check_result): They're now values of this new
	enumeration.
	(watchpoint_check): Change return type to wp_check_result and
	parameter type to bpstat.
	(bpstat_check_watchpoint): Use TRY/CATCH instead of catch_errors.
	(bpstat_check_breakpoint_conditions): Use TRY/CATCH instead of
	catch_errors.  Reverse logic of watchpoint_check call.
	(breakpoint_re_set_one): Now returns void and takes a breakpoint
	pointer as parameter.
	(breakpoint_re_set): Use TRY/CATCH instead of catch_errors.
	* common/common-exceptions.c (throw_exception_sjlj): Update
	comments to avoid mentioning catch_errors.
	* exceptions.c (catch_errors): Delete.
	* exceptions.h: Update comments to avoid mentioning catch_errors.
	(catch_errors_ftype, catch_errors): Delete.
	* infrun.c (normal_stop): Use TRY/CATCH instead of catch_errors.
	(hook_stop_stub): Delete.
	(restore_selected_frame): Change return type to void, and
	parameter type to const frame_id &.
	(restore_infcall_control_state): Use TRY/CATCH instead of
	catch_errors.
	* main.c (captured_command_loop): Return void and remove
	parameter.  Remove references to catch_errors.
	(captured_main): Use TRY/CATCH instead of catch_errors.
	* objc-lang.c (objc_submethod_helper_data)
	(find_objc_msgcall_submethod_helper): Delete.
	(find_objc_msgcall_submethod): Use TRY/CATCH instead of
	catch_errors.
	* record-full.c (record_full_message): Return void.
	(record_full_message_args, record_full_message_wrapper): Delete.
	(record_full_message_wrapper_safe): Return bool and use TRY/CATCH
	instead of catch_errors.
	* solib-aix.c (solib_aix_open_symbol_file_object): Change
	parameter type to int.
	* solib-darwin.c (open_symbol_file_object): Ditto.
	* solib-dsbt.c (open_symbol_file_object): Ditto.
	* solib-frv.c (open_symbol_file_object): Ditto.
	* solib-svr4.c (open_symbol_file_object): Ditto.
	* solib-target.c (solib_target_open_symbol_file_object): Ditto.
	* solib.c (update_solib_list): Use TRY/CATCH instead of
	catch_errors.
	* solist.h (struct target_so_ops) <open_symbol_file_object>:
	Change type.
	* symmisc.c (struct print_symbol_args): Remove.
	(dump_symtab_1): Use TRY/CATCH instead of catch_errors.
	(print_symbol): Change type.
	* windows-nat.c (handle_load_dll, handle_unload_dll): Return void
	and remove parameters.
	(catch_errors): New.
	(get_windows_debug_event): Adjust.

gdb/testsuite/ChangeLog:
2017-10-10  Pedro Alves  <palves@redhat.com>

	* lib/selftest-support.exp (selftest_setup): Update for
	captured_command_loop's prototype change.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Eliminate catch_exceptions/catch_exceptions_with_msg
@ 2017-10-10 17:00 sergiodj+buildbot
  2017-11-22 22:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-10 17:00 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 65630365f7d073430e62b4fe65f34dcdc0a4b05e ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 65630365f7d073430e62b4fe65f34dcdc0a4b05e

Eliminate catch_exceptions/catch_exceptions_with_msg

This patch gets rid of catch_exceptions / catch_exceptions_with_msg.
The latter is done mostly by getting rid of the three remaining
vestigial libgdb wrapper functions, which are really pointless
nowadays.  This results in a good number of simplifications.

(I checked that Insight doesn't use those functions.)

The gdb.mi/mi-pthreads.exp change is necessary because this actually
fixes a bug, IMO -- the patch stops MI's -thread-select causing output
on the CLI stream.

I.e., before:
 -thread-select 123456789
 &"Thread ID 123456789 not known.\n"
 ^error,msg="Thread ID 123456789 not known."
 (gdb)

After:
 -thread-select 123456789
 ^error,msg="Thread ID 123456789 not known."
 (gdb)

gdb/ChangeLog
2017-10-10  Pedro Alves <palves@redhat.com>
	    Tom Tromey  <tom@tromey.com>

	* breakpoint.c (struct captured_breakpoint_query_args)
	(do_captured_breakpoint_query, gdb_breakpoint_query): Delete.
	(print_breakpoint): New.
	* breakpoint.h (print_breakpoint): Declare.
	* common/common-exceptions.h (enum return_reason): Remove
	references to catch_exceptions.
	* exceptions.c (catch_exceptions, catch_exceptions_with_msg):
	Delete.
	* exceptions.h (catch_exceptions_ftype, catch_exceptions)
	(catch_exception_ftype, catch_exceptions_with_msg): Delete.
	* gdb.h: Delete.
	* gdbthread.h (thread_select): Declare.
	* mi/mi-cmd-break.c: Don't include gdb.h.
	(breakpoint_notify): Use print_breakpoint.
	* mi/mi-cmd-catch.c: Don't include gdb.h.
	* mi/mi-interp.c: Don't include gdb.h.
	(mi_print_breakpoint_for_event): New.
	(mi_breakpoint_created, mi_breakpoint_modified): Use
	mi_print_breakpoint_for_event.
	* mi/mi-main.c: Don't include gdb.h.
	(mi_cmd_thread_select): Parse the global thread ID here.  Use
	thread_select instead of gdb_thread_select.
	(mi_cmd_thread_list_ids): Output "thread-ids" tuple here instead
	of using gdb_list_thread_ids.
	* remote-fileio.c (do_remote_fileio_request): Change type.  Reply
	FILEIO_ENOSYS here.
	(remote_fileio_request): Use TRY/CATCH instead of
	catch_exceptions.
	* symfile-mem.c (struct symbol_file_add_from_memory_args)
	(symbol_file_add_from_memory_wrapper): Delete.
	(add_vsyscall_page): Use TRY/CATCH instead of catch_exceptions.
	* thread.c: Don't include gdb.h.
	(do_captured_list_thread_ids, gdb_list_thread_ids): Delete.
	(thread_alive): Use thread_select.
	(do_captured_thread_select): Delete, parts salvaged as ...
	(thread_select): ... this new function.
	(gdb_thread_select): Delete.

gdb/testsuite/ChangeLog
2017-10-10  Pedro Alves <palves@redhat.com>

	* gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
	expect CLI output.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] get_integer_valueof: Don't output value in test name
@ 2017-10-10 19:34 sergiodj+buildbot
  2017-11-23 14:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-10 19:34 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 2f20e312aad64c0f5257b9725fa5ffa3e8a93ca2 ***

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

get_integer_valueof: Don't output value in test name

The get_integer_valueof outputs the value it has read as part of the
test name.  This causes test names to vary from run to run, and adds
some noise when diffing test results.  e.g.:

-PASS: gdb.threads/process-dies-while-detaching.exp: multi-process: continue: killed outside: get integer valueof "mypid" (28770)
+PASS: gdb.threads/process-dies-while-detaching.exp: multi-process: continue: killed outside: get integer valueof "mypid" (32238)

This patch removes that, since it's probably not very useful.

gdb/testsuite/ChangeLog:

	* lib/gdb.exp (get_integer_valueof): Don't output read value in test name.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] x86: Set GOT refcount to 1
@ 2017-10-10 23:19 sergiodj+buildbot
  2017-11-24 11:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-10 23:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 0f09b4d8d8f7c5d249c8375c5c42d4eba3bdc858 ***

Author: H.J. Lu <hjl.tools@gmail.com>
Branch: master
Commit: 0f09b4d8d8f7c5d249c8375c5c42d4eba3bdc858

x86: Set GOT refcount to 1

Since x86 check_relocs is called after opening all inputs and garbage
collection, they never see the removed sections.  There is no need
for incrementing GOT refcount.  But since PLT refcount is also used in

  /* Don't create the PLT entry if there are only function pointer
     relocations which can be resolved at run-time.  */
  else if (htab->elf.dynamic_sections_created
           && (h->plt.refcount > eh->func_pointer_refcount
               || eh->plt_got.refcount > 0))
    {

we must increment it.

	* elf32-i386.c (elf_i386_check_relocs): Set GOT refcount to 1
	instead of incrementing it.
	* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Flash memory size not aligned to address
@ 2017-10-11  8:11 sergiodj+buildbot
  2017-11-25  2:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-11  8:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT d9b477e3b7388732ed5293d929ceb5fc609916fe ***

Author: Kevin Buettner <kevinb@redhat.com>
Branch: master
Commit: d9b477e3b7388732ed5293d929ceb5fc609916fe

Flash memory size not aligned to address

(This patch is from Mark Rages <markrages@gmail.com>.)

The Nordic nRF52 memory map, reported from black magic probe:

Num Enb Low Addr High Addr Attrs
0 y 0x00000000 0x00080000 flash blocksize 0x1000 nocache
1 y 0x10001000 0x10001210 flash blocksize 0x210 nocache
2 y 0x20000000 0x20010000 rw nocache

The region at 0x10001000 is "UICR" and it is a section of flash that is
erased all at once.

Notice the odd size: 0x210 is the size of the region defined in the
datasheet.

But because the block size was listed as 0x210, gdb was insisting on
issuing two erase commands divisible by 0x210, starting below 0x10001000.

This patch fixes it by doing the alignment computation from the start of
the region, not from address 0.

gdb/ChangeLog:

	* target-memory.c (block_boundaries): Fix for block address not
	aligned on block size.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove unnecessary parentheses in declarations
@ 2017-10-11 10:21 sergiodj+buildbot
  2017-11-27  8:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 10:21 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7fa29be949a96f68ee65dcdb4f56f132609170db ***

Author: Egeyar Bagcioglu <egeyar.bagcioglu@oracle.com>
Branch: master
Commit: 7fa29be949a96f68ee65dcdb4f56f132609170db

Remove unnecessary parentheses in declarations

GCC commit a94975e57 ("C++ warning on vexing parse") introduces new
warnings "unnecessary parentheses in the declaration of ...".  These
cause the build of binutils and gdb to fail.  This patch removes those
parentheses for a successful build.

gdb/ChangeLog:
2017-10-11  Egeyar Bagcioglu  <egeyar.bagcioglu@oracle.com>

	* macrotab.h (macro_lookup_inclusion): Remove unnecessary
	parentheses in the declaration.
	(macro_lookup_inclusion): Likewise.
	(macro_lookup_definition): Likewise.
	* p-lang.h (pascal_builtin_types): Likewise.
	* tui/tui-data.c (tui_win_list): Likewise.
	* tui/tui-data.h (tui_win_list): Likewise.
	* utils.h (make_cleanup_free_section_addr_info): Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Rename _doprnt -> _bfd_doprnt to fix DJGPP bfd build (and likely others)
@ 2017-10-11 12:08 sergiodj+buildbot
  2017-11-28  4:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 12:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 8f314ad58ec824ce6c8467af29f11583f79a80ea ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 8f314ad58ec824ce6c8467af29f11583f79a80ea

Rename _doprnt -> _bfd_doprnt to fix DJGPP bfd build (and likely others)

Building bfd/ for DJGPP, I see:

 ../../src/bfd/bfd.c:642:1: error: conflicting types for '_doprnt'
  _doprnt (FILE *stream, const char *format, va_list ap)
  ^~~~~~~
 In file included from ../../src/bfd/sysdep.h:37:0,
		  from ../../src/bfd/bfd.c:367:
 /usr/lib64/gcc/i586-pc-msdosdjgpp/6.1.0/include-fixed/stdio.h:171:5: note: previous declaration of '_doprnt' was here
  int _doprnt(const char *_fmt, va_list _args, FILE *_f);
      ^~~~~~~

Possible fixes the build on other systems too -- _doprnt was/is an
exported symbol on old Unix/BSD systems too.

bfd/ChangeLog:
2017-10-11  Pedro Alves  <palves@redhat.com>

	* bfd.c (_doprnt): Rename to ...
	(_bfd_doprnt): ... this.
	(error_handler_internal): Adjust.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] arc: Pass proper CPU value to the disassembler
@ 2017-10-11 13:11 sergiodj+buildbot
  2017-11-28 19:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 13:11 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 56d704daee44b036d1eff86123de6dec0c55f61b ***

Author: Anton Kolesov <Anton.Kolesov@synopsys.com>
Branch: master
Commit: 56d704daee44b036d1eff86123de6dec0c55f61b

arc: Pass proper CPU value to the disassembler

There was a problem with generation of the disassembler options for ARC in GDB,
because a BFD architecture name was used as a CPU name, but they have different
meaning even if some architectures have same name as respective CPUs.  Target
description specifies a BFD architecture, which is different from ARC CPU, as
accepted by the disassembler (and most other ARC tools), because CPU values are
much more fine grained - there can be multiple CPU values per single BFD
architecture.  As a result this code should translate architecture to some CPU
value.  Since there is no info on exact CPU configuration, it is best to use
the most feature-rich CPU, so that the disassembler will recognize all
instructions available to the specified architecture.

gdb/ChangeLog
yyyy-mm-dd  Anton Kolesov  <Anton.Kolesov@synopsys.com>

	* arc-tdep.c (arc_gdbarch_init): Pass proper cpu value to disassembler.
	* arc-tdep.h (arc_arch_is_em): New function.
	(arc_arch_is_hs): Likewise.

gdb/testsuite/ChangeLog
yyyy-mm-dd  Anton Kolesov  <Anton.Kolesov@synopsys.com>

	* gdb.arch/arc-tdesc-cpu.exp: New file.
	* gdb.arch/arc-tdesc-cpu.xml: Likewise.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Use std::vector for symtab_fns
@ 2017-10-11 14:08 sergiodj+buildbot
  2017-11-29 10:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 14:08 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 905014d7205d4f171c5cabf695fe1ec3da9b33d3 ***

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

Use std::vector for symtab_fns

Simple replacement of VEC with std::vector.

gdb/ChangeLog:

	* symfile.c (registered_sym_fns): Make struct, not typedef.
	(DEF_VEC_O (registered_sym_fns)): Remove.
	(symtab_fns): Change type to std::vector.
	(add_symtab_fns): Adjust.
	(find_sym_fns): Adjust.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Garbage collect reattach_breakpoints
@ 2017-10-11 14:30 sergiodj+buildbot
  2017-12-01 17:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 14:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 458ca1d02e47db0af0e22d524df0e4b88fc54b6e ***

Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 458ca1d02e47db0af0e22d524df0e4b88fc54b6e

Garbage collect reattach_breakpoints

Not used anywhere.

gdb/ChangeLog:
2017-10-11  Pedro Alves  <palves@redhat.com>

	* breakpoint.c (reattach_breakpoints): Delete.
	* breakpoint.h (reattach_breakpoints): Delete.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] ELF/BFD: Fix padding in `elf_external_linux_prpsinfo64'
@ 2017-10-11 15:19 sergiodj+buildbot
  2017-12-02 15:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 15:19 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 72bc1bb934ba99bc9182179a866c0d2c77d027c8 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 72bc1bb934ba99bc9182179a866c0d2c77d027c8

ELF/BFD: Fix padding in `elf_external_linux_prpsinfo64'

Fix commit 70a38d42c5b3 ("New entry points for writing Linux NT_PRPSINFO
notes."), <https://sourceware.org/ml/binutils/2013-02/msg00023.html>,
and move the padding of the `elf_external_linux_prpsinfo64' structure to
match the corresponding 64-bit Linux kernel `elf_prpsinfo' structure.

The 64-bit kernel structure is defined as follows:

(gdb) ptype struct elf_prpsinfo
type = struct elf_prpsinfo {
    char pr_state;
    char pr_sname;
    char pr_zomb;
    char pr_nice;
    unsigned long pr_flag;
    __kernel_uid_t pr_uid;
    __kernel_gid_t pr_gid;
    pid_t pr_pid;
    pid_t pr_ppid;
    pid_t pr_pgrp;
    pid_t pr_sid;
    char pr_fname[16];
    char pr_psargs[80];
}
(gdb) print /x &((struct elf_prpsinfo *)0)->pr_nice
$1 = 0x3
(gdb) print /x &((struct elf_prpsinfo *)0)->pr_flag
$2 = 0x8
(gdb) print /x &((struct elf_prpsinfo *)0)->pr_uid
$3 = 0x10
(gdb) print sizeof(((struct elf_prpsinfo *)0)->pr_flag)
$4 = 8
(gdb)

with implicit padding present before the `pr_flag' member, to correctly
align it to a multiple of 8.  Conversely `elf_external_linux_prpsinfo64'
has padding after its `pr_flag' member:

(top-gdb) ptype struct elf_external_linux_prpsinfo64
type = struct elf_external_linux_prpsinfo64 {
    char pr_state;
    char pr_sname;
    char pr_zomb;
    char pr_nice;
    char pr_flag[8];
    char gap[4];
    char pr_uid[4];
    char pr_gid[4];
    char pr_pid[4];
    char pr_ppid[4];
    char pr_pgrp[4];
    char pr_sid[4];
    char pr_fname[16];
    char pr_psargs[80];
}
(top-gdb) print /x &((struct elf_external_linux_prpsinfo64 *)0)->pr_nice
$1 = 0x3
(top-gdb) print /x &((struct elf_external_linux_prpsinfo64 *)0)->pr_flag
$2 = 0x4
(top-gdb) print /x &((struct elf_external_linux_prpsinfo64 *)0)->pr_uid
$3 = 0x10
(top-gdb)

and consequently `pr_flag' is misplaced.  Move `gap' ahead of `pr_flag'
then.

	bfd/
	* elf-linux-core.h (elf_external_linux_prpsinfo64): Move the
	`gap' member ahead of `pr_flag'.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] ELF/BFD, GDB: Handle both variants of the 32-bit Linux core PRPSINFO note
@ 2017-10-11 16:09 sergiodj+buildbot
  2017-12-03  6:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 16:09 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT a2f63b2e7a5da01ff828b45c7e0e57265ee24131 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: a2f63b2e7a5da01ff828b45c7e0e57265ee24131

ELF/BFD,GDB: Handle both variants of the 32-bit Linux core PRPSINFO note

Fix commit 70a38d42c5b3 ("New entry points for writing Linux NT_PRPSINFO
notes."), <https://sourceware.org/ml/binutils/2013-02/msg00023.html>,
and commit b3ac9c77560a ("Put more info in NT_PRPSINFO Linux notes"),
<https://sourceware.org/ml/binutils/2013-02/msg00024.html>, and handle
both variants of the 32-bit Linux core PRPSINFO note across all targets.

The 32-bit Linux core PRPSINFO note matches the 32-bit kernel structure,
defined as follows:

(gdb) ptype struct elf_prpsinfo
type = struct elf_prpsinfo {
    char pr_state;
    char pr_sname;
    char pr_zomb;
    char pr_nice;
    unsigned long pr_flag;
    __kernel_uid_t pr_uid;
    __kernel_gid_t pr_gid;
    pid_t pr_pid;
    pid_t pr_ppid;
    pid_t pr_pgrp;
    pid_t pr_sid;
    char pr_fname[16];
    char pr_psargs[80];
}
(gdb)

where the individual data types of most members are the same across all
32-bit Linux ports, with the exception of `__kernel_uid_t' and
`__kernel_gid_t'.  These are defined in <asm-generic/posix_types.h> as
32-bit `unsigned int' by default, however overridden as 16-bit `unsigned
short' in port-specific <asm/posix_types.h> for a few targets, mostly
earlier ports of Linux, specifically: ARM, CRIS, FR-V, M32R, m68k,
MN10300/AM33, s390, SuperH, SPARC and i386.

The default is the same as the PowerPC variant already handled, as from
the commits referred.  Make the special PowerPC case generic then,
removing the GDB part, and provide a backend flag to switch between the
two cases possible, with the 32-bit one being the default and the 16-bit
one explicitly selected.  Set the flag in the target backends affected.

	bfd/
	* elf-bfd.h (elf_backend_data): Add `linux_prpsinfo32_ugid16'
	member.
	(elfcore_write_ppc_linux_prpsinfo32): Remove prototype.
	* elf32-ppc.c (elfcore_write_ppc_linux_prpsinfo32): Remove.
	(elf_external_ppc_linux_prpsinfo32)
	(swap_ppc_linux_prpsinfo32_out): Move to...
	* elf-linux-core.h (elf_external_linux_prpsinfo32_ugid32)
	(swap_linux_prpsinfo32_ugid32_out): ... these.
	(elf_external_linux_prpsinfo32): Rename to...
	(elf_external_linux_prpsinfo32_ugid16): ... this.
	(swap_linux_prpsinfo32_out): Rename to...
	(swap_linux_prpsinfo32_ugid16_out): ... this.
	* elfxx-target.h [!elf_backend_linux_prpsinfo32_ugid16]
	(elf_backend_linux_prpsinfo32_ugid16): Define.
	(elfNN_bed): Initialize `linux_prpsinfo32_ugid16' member.
	* elf.c (elfcore_write_linux_prpsinfo32): Handle both variants
	of the 32-bit Linux core PRPSINFO note.
	* elf32-am33lin.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-arm.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-cris.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-frv.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-i386.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-m32r.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-m68k.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-s390.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-sh.c (elf_backend_linux_prpsinfo32_ugid16): Define.
	* elf32-sparc.c (elf_backend_linux_prpsinfo32_ugid16): Define.

	gdb/
	* ppc-linux-tdep.c (ppc_linux_init_abi): Remove call to
	`set_gdbarch_elfcore_write_linux_prpsinfo'.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] ELF/BFD: Handle both variants of the 64-bit Linux core PRPSINFO note
@ 2017-10-11 16:30 sergiodj+buildbot
  2017-12-11 20:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 16:30 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 3c9a7b0d6d84425ea24d222a1a31e206e587374f ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: 3c9a7b0d6d84425ea24d222a1a31e206e587374f

ELF/BFD: Handle both variants of the 64-bit Linux core PRPSINFO note

Fix commit 70a38d42c5b3 ("New entry points for writing Linux NT_PRPSINFO
notes."), <https://sourceware.org/ml/binutils/2013-02/msg00023.html>,
and handle both variants of the 64-bit Linux core PRPSINFO note across
all targets.

The 64-bit Linux core PRPSINFO note matches the 64-bit kernel structure,
defined as follows:

(gdb) ptype struct elf_prpsinfo
type = struct elf_prpsinfo {
    char pr_state;
    char pr_sname;
    char pr_zomb;
    char pr_nice;
    unsigned long pr_flag;
    __kernel_uid_t pr_uid;
    __kernel_gid_t pr_gid;
    pid_t pr_pid;
    pid_t pr_ppid;
    pid_t pr_pgrp;
    pid_t pr_sid;
    char pr_fname[16];
    char pr_psargs[80];
}
(gdb)

where the individual data types of most members are the same across all
64-bit Linux ports, with the exception of `__kernel_uid_t' and
`__kernel_gid_t'.  These are defined in <asm-generic/posix_types.h> as
32-bit `unsigned int' by default, however overridden as 16-bit `unsigned
short' in port-specific <asm/posix_types.h> for the SuperH target.

The default is already handled, as from the commit referred.  Add the
other variant then and provide a backend flag to switch between the two
cases possible, with the 32-bit one being the default and the 16-bit one
explicitly selected.  Set the flag in the SuperH target backend.  This
arrangement is analogous to how the 32-bit Linux core PRPSINFO note is
handled.

	bfd/
	* elf-bfd.h (elf_backend_data): Add `linux_prpsinfo64_ugid16'
	member.
	* elf-linux-core.h (elf_external_linux_prpsinfo64): Rename to...
	(elf_external_linux_prpsinfo64_ugid32): ... this.
	(swap_linux_prpsinfo32_out): Rename to...
	(swap_linux_prpsinfo32_ugid32_out): ... this.
	(elf_external_linux_prpsinfo64_ugid16): New structure.
	(swap_linux_prpsinfo64_ugid16_out): New function.
	* elfxx-target.h [!elf_backend_linux_prpsinfo64_ugid16]
	(elf_backend_linux_prpsinfo64_ugid16): Define.
	(elfNN_bed): Initialize `linux_prpsinfo64_ugid16' member.
	* elf.c (elfcore_write_linux_prpsinfo64): Handle both variants
	of the 64-bit Linux core PRPSINFO note.
	* elf64-sh64.c (elf_backend_linux_prpsinfo64_ugid16): Define.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] GDB: Remove Linux core PRPSINFO note writer override
@ 2017-10-11 16:50 sergiodj+buildbot
  2017-12-12 17:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 16:50 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT fe22022617a7122491aa83c893a10a8d861cde73 ***

Author: Maciej W. Rozycki <macro@imgtec.com>
Branch: master
Commit: fe22022617a7122491aa83c893a10a8d861cde73

GDB: Remove Linux core PRPSINFO note writer override

Revert parts of commit b3ac9c77560a ("Put more info in NT_PRPSINFO Linux
notes"), <https://sourceware.org/ml/binutils/2013-02/msg00024.html>, and
remove support for a Linux core PRPSINFO note writer override, now that
all variants are handled automatically within BFD itself.

	gdb/
	* linux-tdep.c (linux_make_corefile_notes): Remove call to
	`gdbarch_elfcore_write_linux_prpsinfo'.
	* gdbarch.sh (elfcore_write_linux_prpsinfo): Remove architecture
	method.
	(elf_internal_linux_prpsinfo): Remove declaration.
	* gdbarch.h: Regenerate.
	* gdbarch.c: Regenerate.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add FreeBSD/arm architecture.
@ 2017-10-11 20:03 sergiodj+buildbot
  2017-12-13  8:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 20:03 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 7176dfd28d1a2a74e6d8dd698aeb857eb6edfb98 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 7176dfd28d1a2a74e6d8dd698aeb857eb6edfb98

Add FreeBSD/arm architecture.

Support for collecting and supplying general purpose and floating
point registers is provided along with signal frame unwinding.  While
FreeBSD/arm kernels do populate NT_FPREGSET notes, they are always
zero-filled, so this implementation ignores them.  Recent FreeBSD/arm
kernels generate NT_ARM_VFP notes which are used to supply
floating-point registers.  As with Linux, the AT_HWCAP feature flags
are used to determine the correct target description.

gdb/ChangeLog:

	* Makefile.in (ALL_TARGET_OBS): Add arm-fbsd-tdep.o.
	(ALLDEPFILES): Add arm-fbsd-tdep.c.
	* NEWS: Mention new FreeBSD/arm target.
	* configure.tgt: Add arm*-*-freebsd*.
	* arm-fbsd-tdep.c: New file.
	* arm-fbsd-tdep.h: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Add native target for FreeBSD/arm.
@ 2017-10-11 20:32 sergiodj+buildbot
  2017-12-13 22:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 20:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 4f9d99066edcefab0e5868d20cb9ddaa7b76da52 ***

Author: John Baldwin <jhb@FreeBSD.org>
Branch: master
Commit: 4f9d99066edcefab0e5868d20cb9ddaa7b76da52

Add native target for FreeBSD/arm.

gdb/ChangeLog:

	* Makefile.in (ALLDEPFILES): Add arm-fbsd-nat.c.
	* NEWS: Mention new FreeBSD/arm native configuration.
	* configure.host: Add arm*-*-freebsd*.
	* configure.nat: Likewise.
	* arm-fbsd-nat.c: New file.


^ permalink raw reply	[flat|nested] 4261+ messages in thread
* [binutils-gdb] Remove some cleanups from breakpoint.c
@ 2017-10-11 22:32 sergiodj+buildbot
  2017-12-14 13:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
  0 siblings, 1 reply; 4261+ messages in thread
From: sergiodj+buildbot @ 2017-10-11 22:32 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 81b1e71c4a1370c77ad1d462e1a761402d48b1c0 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 81b1e71c4a1370c77ad1d462e1a761402d48b1c0

Remove some cleanups from breakpoint.c

This removes some cleanups from breakpoint.c, replacing them with C++
data structures.

2017-10-11  Tom Tromey  <tom@tromey.com>

	* breakpoint.c (commands_command_1): Use std::string.
	(cleanup_executing_breakpoints): Remove.
	(bpstat_do_actions_1): Use scoped_restore.
	(bpstat_check_watchpoint): Use std::string.
	(decode_static_tracepoint_spec): Likewise.
	(break_range_command): Likewise.
	(watch_command_1): Likewise.
	(compare_breakpoints): Change argument types.
	(clear_command): Use std::vector.
	(cleanup_executing_breakpoints): Remove.
	(update_global_location_list): Use unique_xmalloc_ptr.
	(strace_command): Remove unused declaration.


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

end of thread, other threads:[~2017-12-14 13:23 UTC | newest]

Thread overview: 4261+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <18d3cec54e1b4fce278dba436484846f8048d7d6@gdb-build>
2016-02-10 22:46 ` Failures on RHEL-s390x-m64, branch master sergiodj+buildbot
2016-02-10 22:47 ` Failures on Debian-s390x-native-gdbserver-m64, " sergiodj+buildbot
2016-02-10 22:49 ` Failures on Fedora-x86_64-m32, " sergiodj+buildbot
2016-02-10 22:49 ` Failures on Fedora-x86_64-cc-with-index, " sergiodj+buildbot
2016-02-10 22:51 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2016-02-10 22:53 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-02-10 23:01 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj+buildbot
2016-02-10 23:04 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot
2016-02-10 23:09 ` Failures on Fedora-s390x-m64, " sergiodj+buildbot
2016-02-10 23:36 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-02-11  5:21 ` Failures on Debian-i686, " sergiodj+buildbot
2016-02-11  5:49 ` Failures on Debian-i686-native-gdbserver, " sergiodj+buildbot
2016-02-11  6:41 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot
2016-02-11  6:53 ` Failures on Fedora-ppc64be-cc-with-index, " sergiodj+buildbot
2016-02-11  7:38 ` Failures on Fedora-ppc64be-native-gdbserver-m64, " sergiodj+buildbot
2016-02-11  7:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-02-11 20:01 ` Failures on Debian-x86_64-native-gdbserver-m64, " sergiodj+buildbot
2016-02-11 20:23 ` Failures on Fedora-ppc64le-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-02-11 20:59 ` Failures on Fedora-ppc64le-native-gdbserver-m64, " sergiodj+buildbot
2016-09-17  1:02 [binutils-gdb] S390: Hardware breakpoint support sergiodj+buildbot
2016-09-17 16:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-17  3:34 [binutils-gdb] gdb: Use std::min and std::max throughout sergiodj+buildbot
2016-09-19  1:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-17  5:15 [binutils-gdb] Introduce cleanup to restore current_uiout sergiodj+buildbot
2016-09-19  4:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-18 23:24 [binutils-gdb] Improve MinGW support in Readline sergiodj+buildbot
2016-09-20  3:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-19  6:16 [binutils-gdb] gdb: Fix std::{min, max}-related build breakage on 32-bit hosts sergiodj+buildbot
2016-09-20 12:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-19 12:42 [binutils-gdb] gdb/s390: Fix build breakage due to std::min/std::max usage without header sergiodj+buildbot
2016-09-20 13:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-19 16:45 [binutils-gdb] Consolidate target_mourn_inferior between GDB and gdbserver sergiodj+buildbot
2016-09-20 16:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-19 23:22 [binutils-gdb] bfd: allow negative offsets to _GLOBAL_OFFSET_TABLE_ in elf64 SPARC sergiodj+buildbot
2016-09-20 16:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-20  9:06 [binutils-gdb] gdb: Fix build breakage with GCC 4.1 and --disable-nls sergiodj+buildbot
2016-09-20 17:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-20 17:47 [binutils-gdb] Use 'event_ptid' instead of 'resume_ptid' on startup_inferior (fix for regression on my last commit) sergiodj+buildbot
2016-09-20 20:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-20 20:52 [binutils-gdb] ppc: Fix record support of Store String Word instructions sergiodj+buildbot
2016-09-21 12:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-20 21:40 [binutils-gdb] Avoid -Wduplicated-cond warnings in gdb/python sergiodj+buildbot
2016-09-21 13:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-21 15:44 [binutils-gdb] Keep reserved bits in CPSR on write sergiodj+buildbot
2016-09-21 18:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-21 17:21 [binutils-gdb] MIPS/testsuite: mips16-thunks: Use `standard_output_file' sergiodj+buildbot
2016-09-21 21:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-21 19:48 [binutils-gdb] [AArch64][SVE 02/32] Avoid hard-coded limit in indented_print sergiodj+buildbot
2016-09-22  0:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-21 20:22 [binutils-gdb] [AArch64][SVE 13/32] Add an F_STRICT flag sergiodj+buildbot
2016-09-22  1:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-21 21:23 [binutils-gdb] [AArch64][SVE 14/32] Make aarch64_logical_immediate_p take an element size sergiodj+buildbot
2016-09-22  4:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-21 21:52 [binutils-gdb] [AArch64][SVE 15/32] Add {insert, extract}_all_fields helpers sergiodj+buildbot
2016-09-22  6:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-21 23:35 [binutils-gdb] [AArch64][SVE 16/32] Use specific insert/extract methods for fpimm sergiodj+buildbot
2016-09-22  8:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-21 23:40 [binutils-gdb] [AArch64][SVE 17/32] Add a prefix parameter to print_register_list sergiodj+buildbot
2016-09-22 11:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  0:34 [binutils-gdb] [AArch64][SVE 18/32] Tidy definition of aarch64-opc.c:int_reg sergiodj+buildbot
2016-09-22 12:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  1:25 [binutils-gdb] [AArch64][SVE 19/32] Refactor address-printing code sergiodj+buildbot
2016-09-22 16:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  2:10 [binutils-gdb] [AArch64][SVE 20/32] Add support for tied operands sergiodj+buildbot
2016-09-22 18:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  2:34 [binutils-gdb] [AArch64][SVE 21/32] Add Zn and Pn registers sergiodj+buildbot
2016-09-22 19:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  4:21 [binutils-gdb] [AArch64][SVE 22/32] Add qualifiers for merging and zeroing predication sergiodj+buildbot
2016-09-23  0:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  4:41 [binutils-gdb] [AArch64][SVE 23/32] Add SVE pattern and prfop operands sergiodj+buildbot
2016-09-23  4:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  5:23 [binutils-gdb] [AArch64][SVE 24/32] Add AARCH64_OPND_SVE_PATTERN_SCALED sergiodj+buildbot
2016-09-23  6:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  6:53 [binutils-gdb] [AArch64][SVE 25/32] Add support for SVE addressing modes sergiodj+buildbot
2016-09-23  7:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  7:02 [binutils-gdb] [AArch64][SVE 26/32] Add SVE MUL VL addressing modes sergiodj+buildbot
2016-09-23  8:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  8:06 [binutils-gdb] [AArch64][SVE 27/32] Add SVE integer immediate operands sergiodj+buildbot
2016-09-23 13:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  8:08 [binutils-gdb] [AArch64][SVE 28/32] Add SVE FP immediate operands sergiodj+buildbot
2016-09-23 16:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  9:31 [binutils-gdb] [AArch64][SVE 30/32] Add SVE instruction classes sergiodj+buildbot
2016-09-23 18:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22  9:37 [binutils-gdb] [AArch64][SVE 29/32] Add new SVE core & FP register operands sergiodj+buildbot
2016-09-23 17:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 10:26 [binutils-gdb] [AArch64][SVE 31/32] Add SVE instructions sergiodj+buildbot
2016-09-23 20:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 11:51 [binutils-gdb] [AArch64] Add SVE condition codes sergiodj+buildbot
2016-09-23 22:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 12:08 [binutils-gdb] [AArch64] Use "must" rather than "should" in error messages sergiodj+buildbot
2016-09-24  0:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 12:46 [binutils-gdb] [AArch64] Print spaces after commas in addresses sergiodj+buildbot
2016-09-24  6:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 13:27 [binutils-gdb] ppc: Add Power ISA 3.0/POWER9 instructions record support sergiodj+buildbot
2016-09-24  9:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 14:12 [binutils-gdb] Update and add .gitignore's sergiodj+buildbot
2016-09-24 12:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 14:56 [binutils-gdb] PR gdb/20604 - fix "quit" when an invalid expression is used sergiodj+buildbot
2016-09-24 14:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 16:46 [binutils-gdb] ppc: Fix return of instruction handlers in ppc_process_record_op63 sergiodj+buildbot
2016-09-24 18:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 17:43 [binutils-gdb] arc: New Synopsys ARC port sergiodj+buildbot
2016-09-24 23:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 17:56 [binutils-gdb] Add myself as a write-after-approval GDB maintainer sergiodj+buildbot
2016-09-25  2:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 19:54 [binutils-gdb] Check the right proc name sergiodj+buildbot
2016-09-25 10:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 20:53 [binutils-gdb] arc: Fix ARI warning for printf(%p) sergiodj+buildbot
2016-09-25 14:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 21:20 [binutils-gdb] Use gdbserver-base in remote-gdbserver-on-localhost.exp sergiodj+buildbot
2016-09-25 16:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-22 23:04 [binutils-gdb] Fix build breakage from commit 6ec2b2 sergiodj+buildbot
2016-09-25 18:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-23  0:46 [binutils-gdb] Close gdbserver in mi_gdb_exit sergiodj+buildbot
2016-09-25 21:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-23 19:06 [binutils-gdb] Delete relocations associatesd with deleted exidx entries sergiodj+buildbot
2016-09-25 23:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-23 20:08 [binutils-gdb] gdb: Replace operator new / operator new[] sergiodj+buildbot
2016-09-26  2:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-23 21:43 [binutils-gdb] Replace sprintf with xsnprintf in nat/linux-osdata.c sergiodj+buildbot
2016-09-26  3:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-23 22:27 [binutils-gdb] Remove some unnecessary code sergiodj+buildbot
2016-09-26  3:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-23 23:51 [binutils-gdb] Use std::string in break-catch-sig.c sergiodj+buildbot
2016-09-26  4:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-24  0:14 [binutils-gdb] Use std::string in cp-namespace.c sergiodj+buildbot
2016-09-26  4:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-24  2:55 [binutils-gdb] Use std::string, std::vector in rust-lang.c sergiodj+buildbot
2016-09-26  7:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-24  4:16 [binutils-gdb] Use std::vector in objfiles.c sergiodj+buildbot
2016-09-26  9:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-24  7:30 [binutils-gdb] Use std::string rather than dyn-string sergiodj+buildbot
2016-09-26  9:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-25  5:08 [binutils-gdb] Fix a use of target_mourn_inferior in windows-nat.c sergiodj+buildbot
2016-09-26 10:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-26 11:09 [binutils-gdb] Call debug_exit in linux_wait_1 sergiodj+buildbot
2016-09-26 16:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-26 16:58 [binutils-gdb] PowerPC .gnu.attributes sergiodj+buildbot
2016-09-26 18:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-26 19:24 [binutils-gdb] [ARC] ISA alignment sergiodj+buildbot
2016-09-27  2:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-26 22:57 [binutils-gdb] Fix the calculation of AMD64_PCRQUAD relocations sergiodj+buildbot
2016-09-27  3:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-27  2:10 [binutils-gdb] When building target binaries, ensure that the warning flags selected for the command line match the target compiler sergiodj+buildbot
2016-09-27  5:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-27 11:34 [binutils-gdb] Detect the magic address of EXC_RETURN in ARM coretx-m profile sergiodj+buildbot
2016-09-27 15:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-28  0:56 [binutils-gdb] Ensure that the timestamp in PE/COFF headers is always initialised sergiodj+buildbot
2016-09-28 11:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-28 12:00 [binutils-gdb] Add archives and make stamps to the .gitignore file sergiodj+buildbot
2016-09-28 22:39 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-28 22:44 [binutils-gdb] [ARM] PR ld/20608 Relocation truncated to fit: R_ARM_THM_JUMP24 for relocation to PLT entry sergiodj+buildbot
2016-09-28 23:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-28 23:53 [binutils-gdb] Fix seg-fault in the linker introduced by the previous delta sergiodj+buildbot
2016-09-29  6:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-29  6:35 [binutils-gdb] Fix PR 20345 - call_function_by_hand_dummy: Assertion `tp->thread_fsm == &sm->thread_fsm' failed sergiodj+buildbot
2016-09-29 16:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-29 17:39 [binutils-gdb] Disallow 3-operand cmp[l][i] for ppc64 sergiodj+buildbot
2016-09-29 20:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-29 21:17 [binutils-gdb] PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression sergiodj+buildbot
2016-09-30  9:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-30 10:59 [binutils-gdb] Update tests to account for the L operand being compulsory sergiodj+buildbot
2016-09-30 13:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-30 14:26 [binutils-gdb] Make bfd_error_handler_type like vprintf sergiodj+buildbot
2016-09-30 16:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-30 15:11 [binutils-gdb] Remove syntactic sugar sergiodj+buildbot
2016-09-30 17:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-09-30 17:36 [binutils-gdb] [AArch64] PR target/20553, fix opcode mask for SIMD multiply by element sergiodj+buildbot
2016-09-30 18:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-03 21:15 [binutils-gdb] Emit inferior, thread and frame selection events to all UIs sergiodj+buildbot
2016-10-03 22:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-03 22:01 [binutils-gdb] Add test for user context selection sync sergiodj+buildbot
2016-10-04  1:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05  8:44 [binutils-gdb] Clean up the XML files for ARM sergiodj+buildbot
2016-10-05 10:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05  9:01 [binutils-gdb] Simplify i386, amd64 and x32 expedite registers sergiodj+buildbot
2016-10-05 12:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05  9:18 [binutils-gdb] Generate s390 target description c files sergiodj+buildbot
2016-10-05 15:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05  9:34 [binutils-gdb] Regenerate some regformats/rs6000/*.dat files sergiodj+buildbot
2016-10-05 17:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 11:11 [binutils-gdb] Update the path arm-*.xml files for aarch64 sergiodj+buildbot
2016-10-05 19:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 13:07 [binutils-gdb] Allow DW_OP_GNU_uninit in dwarf_expr_require_composition sergiodj+buildbot
2016-10-06  0:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 14:41 [binutils-gdb] arc: Remove annoying debug message sergiodj+buildbot
2016-10-05 22:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 16:25 [binutils-gdb] Skip complex types tests if gdb_skip_float_test sergiodj+buildbot
2016-10-06  2:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 17:49 [binutils-gdb] PR symtab/20652 - fix psymbol_compare sergiodj+buildbot
2016-10-06  4:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 17:55 [binutils-gdb] PR gdb/20653 - small cleanup in string_to_explicit_location sergiodj+buildbot
2016-10-06  6:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 19:49 [binutils-gdb] PR remote/20655 - small fix in handle_tracepoint_bkpts sergiodj+buildbot
2016-10-06  9:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-05 20:50 [binutils-gdb] testsuite: Fix recent GCC FAIL: gdb.arch/i386-signal.exp sergiodj+buildbot
2016-10-06 11:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06  0:04 [binutils-gdb] Don't use boolean OR in arithmetic expressions sergiodj+buildbot
2016-10-06 13:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06  0:52 [binutils-gdb] -Wimplicit-fallthrough error fixes sergiodj+buildbot
2016-10-06 16:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06  1:07 [binutils-gdb] -Wimplicit-fallthrough warning fixes sergiodj+buildbot
2016-10-06 18:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 11:32 [binutils-gdb] Make "end" field in feature specs required again sergiodj+buildbot
2016-10-06 20:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 12:17 [binutils-gdb] Fix a few gdb.base/jit-simple.exp problems sergiodj+buildbot
2016-10-06 22:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 13:14 [binutils-gdb] Fix PR11094: JIT breakpoint is not properly recreated on reruns sergiodj+buildbot
2016-10-07  1:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 15:03 [binutils-gdb] stack: fix gdb.dwarf2/dw2-undefined-ret-addr.exp regression sergiodj+buildbot
2016-10-07  8:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 16:49 [binutils-gdb] testsuite: solib-disc: Use `standard_output_file' sergiodj+buildbot
2016-10-07 12:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 17:15 [binutils-gdb] mips-tdep: Rearrange comments in `mips_pseudo_register_type' sergiodj+buildbot
2016-10-07 15:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 17:57 [binutils-gdb] mips-tdep: Make FCRs always 32-bit sergiodj+buildbot
2016-10-07 17:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 21:27 [binutils-gdb] Remove Java support sergiodj+buildbot
2016-10-07 20:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 22:11 [binutils-gdb] frame.h: Forward-declare struct ui_out sergiodj+buildbot
2016-10-08  7:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 23:29 [binutils-gdb] gdb: Remove some C compiler support leftovers sergiodj+buildbot
2016-10-08 12:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-06 23:56 [binutils-gdb] Consolidate API of target_supports_multi_process sergiodj+buildbot
2016-10-08 14:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-07  2:07 [binutils-gdb] Pass link_info to _bfd_merge_private_bfd_data sergiodj+buildbot
2016-10-08 19:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-07  4:51 [binutils-gdb] Fix gdb.Value->python conversion for large unsigned ints sergiodj+buildbot
2016-10-08  9:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-07  7:22 [binutils-gdb] python: accept address and explicit locations in gdb.decode_line sergiodj+buildbot
2016-10-08 21:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-07  7:33 [binutils-gdb] bfd_merge_private_bfd_data tidy sergiodj+buildbot
2016-10-08 16:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-07 10:19 [binutils-gdb] [AArch64] PR target/20667, fix disassembler for the "special" optional SYS_Rt operand for "ic"/"tlbi" sergiodj+buildbot
2016-10-09  1:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-07 10:50 [binutils-gdb] Set regdir in tdesc-regs.exp or arm sergiodj+buildbot
2016-10-08 23:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-09  0:26 [binutils-gdb] ui-out.c: Remove unused parameter to push_level sergiodj+buildbot
2016-10-09  8:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-10  9:44 [binutils-gdb] Remove v850_dbtrap_breakpoint_from_pc sergiodj+buildbot
2016-10-10 10:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-10 10:37 [binutils-gdb] Rename 'arch' by 'gdbarch' in m32c_gdbarch_init sergiodj+buildbot
2016-10-10 11:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-10 11:41 [binutils-gdb] Share enum arm_breakpoint_kinds sergiodj+buildbot
2016-10-10 12:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-11  7:59 [binutils-gdb] Always descend into output section statements in lang_do_assignments sergiodj+buildbot
2016-10-11  8:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-11 10:42 [binutils-gdb] [AArch64] PR target/20666, fix wrong encoding of new introduced BFC pseudo sergiodj+buildbot
2016-10-11 11:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-11 15:00 [binutils-gdb] testsuite: Use standard_output_file sergiodj+buildbot
2016-10-11 15:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-11 17:27 [binutils-gdb] testsuite: Fix gdb.arch/powerpc-prologue.c compilation sergiodj+buildbot
2016-10-11 18:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-11 23:35 [binutils-gdb] BFD_FAKE_SECTION macro params sergiodj+buildbot
2016-10-12  0:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-12 11:51 [binutils-gdb] [AArch64] Track FP registers in prologue analyzer sergiodj+buildbot
2016-10-12 12:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-12 13:03 [binutils-gdb] arc: Add a gdbarch_tdep structure sergiodj+buildbot
2016-10-12 14:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-12 13:32 [binutils-gdb] arc: Add evaluation of long jump targets sergiodj+buildbot
2016-10-12 15:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-12 15:51 [binutils-gdb] Fixup gdb.python/py-value.exp for bare-metal aarch64-elf sergiodj+buildbot
2016-10-12 18:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-12 16:00 [binutils-gdb] arc: Add support for Newlib sergiodj+buildbot
2016-10-12 17:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13  1:21 [binutils-gdb] Convert tid_range_parser and get_number_or_range to classes sergiodj+buildbot
2016-10-13  1:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13  2:25 [binutils-gdb] Change selttest.c to use use std::vector sergiodj+buildbot
2016-10-13  2:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13  2:59 [binutils-gdb] Turn wchar iterator into a class sergiodj+buildbot
2016-10-13  4:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13  4:50 [binutils-gdb] Remove unnecessary null_cleanup sergiodj+buildbot
2016-10-13  5:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13  5:24 [binutils-gdb] Use std::string in macho_symfile_read_all_oso sergiodj+buildbot
2016-10-13  6:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13 14:54 [binutils-gdb] Skip testing structures with floating points sergiodj+buildbot
2016-10-13 15:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-13 15:27 [binutils-gdb] Share proc get_var_address sergiodj+buildbot
2016-10-13 16:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-14  7:30 [binutils-gdb] Include strings.h where available sergiodj+buildbot
2016-10-14 18:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-14 12:37 [binutils-gdb] [ARC] Disassembler: fix LIMM detection for short instructions sergiodj+buildbot
2016-10-15  3:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-14 13:25 [binutils-gdb] Fix set sysroot command on AIX sergiodj+buildbot
2016-10-15  7:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-14 16:29 [binutils-gdb] Move OVERRIDE/FINAL from gcc/coretypes.h to include/ansidecl.h sergiodj+buildbot
2016-10-15 10:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-14 16:54 [binutils-gdb] FINAL/OVERRIDE: Define to empty on g++ < 4.7 sergiodj+buildbot
2016-10-15 14:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-17  9:46 [binutils-gdb] Sync libiberty sources with gcc mainline sergiodj+buildbot
2016-10-17 11:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-17 11:03 [binutils-gdb] Update list of ELF machine numbers sergiodj+buildbot
2016-10-17 15:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-17 13:56 [binutils-gdb] Removed pseudo invalid instructions opcodes sergiodj+buildbot
2016-10-17 18:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-17 16:34 [binutils-gdb] gdb: Fix phony iconv build sergiodj+buildbot
2016-10-17 21:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-17 21:05 [binutils-gdb] Fix -trace-save crash when argument is missing sergiodj+buildbot
2016-10-18  0:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-25  5:31 [binutils-gdb] ARM/BFD: Correct an `index' global shadowing error sergiodj+buildbot
2016-10-25 18:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-25  6:28 [binutils-gdb] NDS32/BFD: Correct an aliasing error in `nds32_elf_check_relocs' sergiodj+buildbot
2016-10-25 22:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-26 16:05 [binutils-gdb] gdb: Clean up remote.c:remote_resume sergiodj+buildbot
2016-10-26 18:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-26 18:48 [binutils-gdb] gdbserver: Leave already-vCont-resumed threads as they were sergiodj+buildbot
2016-11-04 23:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-26 20:33 [binutils-gdb] gdb: Free inferior->priv when inferior exits sergiodj+buildbot
2016-11-04 20:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-26 21:33 [binutils-gdb] Make symfile_add_flags and objfile->flags strongly typed sergiodj+buildbot
2016-11-05  5:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-26 23:05 [binutils-gdb] PR 20569, segv in follow_exec sergiodj+buildbot
2016-11-05  9:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-27 12:23 [binutils-gdb] gas/arc: Don't rely on bfd list of cpu type for cpu selection sergiodj+buildbot
2016-11-05 12:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-27 15:49 [binutils-gdb] Remove single-step breakpoint for GDBserver internal event sergiodj+buildbot
2016-11-05 15:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-27 17:15 [binutils-gdb] Get pending events in random sergiodj+buildbot
2016-11-05 18:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-27 17:39 [binutils-gdb] Enable range stepping if software single step is supported sergiodj+buildbot
2016-11-05 20:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28  9:54 [binutils-gdb] btrace: fix gap indication sergiodj+buildbot
2016-11-05 22:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 12:08 [binutils-gdb] btrace: preserve function level for unexpected returns sergiodj+buildbot
2016-11-06  6:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 12:51 [binutils-gdb] btrace: bridge gaps sergiodj+buildbot
2016-11-06 10:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 14:01 [binutils-gdb] Fix gdb.base/maint.exp regressions sergiodj+buildbot
2016-11-06 13:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 15:01 [binutils-gdb] Make gdb.base/foll-exec.exp test pattern more general sergiodj+buildbot
2016-11-06 16:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 15:46 [binutils-gdb] gdb/testsuite: Avoid a buffer overrun in `gdb.base/maint.exp' sergiodj+buildbot
2016-11-06 19:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 16:20 [binutils-gdb] gdb: Import AX_CXX_COMPILE_STDCXX from the GNU Autoconf Archive sergiodj+buildbot
2016-11-06 20:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-28 17:46 [binutils-gdb] gdb: Require C++11 sergiodj+buildbot
2016-11-07  1:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-29 16:13 [binutils-gdb] Support command-line redirection in native MS-Windows debugging sergiodj+buildbot
2016-11-07  5:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-29 16:50 [binutils-gdb] gdb/NEWS: Mention C++11 requirement sergiodj+buildbot
2016-11-07  9:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-29 17:56 [binutils-gdb] gdb/NEWS: Clarify C++ requirement sergiodj+buildbot
2016-11-07 13:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-31 17:24 [binutils-gdb] MIPS: Remove remains of IRIX OS ABI support sergiodj+buildbot
2016-11-07 23:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-31 18:27 [binutils-gdb] MIPS: Remove remains of legacy remote target support sergiodj+buildbot
2016-11-08  5:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-10-31 19:02 [binutils-gdb] Remove IRIX 5 <sys/proc.h> _KMEMUSER workaround sergiodj+buildbot
2016-11-08  8:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-01 17:00 [binutils-gdb] Add support for RISC-V architecture sergiodj+buildbot
2016-11-08 10:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-01 23:28 [binutils-gdb] BFD: Fix double BFD_FAIL calls in `bfd_default_reloc_type_lookup' sergiodj+buildbot
2016-11-08 12:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-02 19:39 [binutils-gdb] Enable Intel AVX512_4FMAPS instructions sergiodj+buildbot
2016-11-08 15:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-02 22:29 [binutils-gdb] Fix dwarf_expr_context method regressions sergiodj+buildbot
2016-11-08 21:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 11:46 [binutils-gdb] Updated Danish translation for the BFD library sergiodj+buildbot
2016-11-09  0:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 15:00 [binutils-gdb] gdbarch_breakpoint_from_pc doesn't return NULL sergiodj+buildbot
2016-11-09  4:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 15:14 [binutils-gdb] GDBARCH_BREAKPOINT_MANIPULATION and SET_GDBARCH_BREAKPOINT_MANIPULATION sergiodj+buildbot
2016-11-09  7:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 15:35 [binutils-gdb] Split breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind sergiodj+buildbot
2016-11-09 14:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 15:40 [binutils-gdb] New gdbarch methods breakpoint_kind_from_pc and sw_breakpoint_from_kind sergiodj+buildbot
2016-11-09 17:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 15:46 [binutils-gdb] Rename placed_size to kind sergiodj+buildbot
2016-11-09 20:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 15:50 [binutils-gdb] Remove gdbarch_remote_breakpoint_from_pc sergiodj+buildbot
2016-11-10  1:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 16:05 [binutils-gdb] Add default_breakpoint_from_pc sergiodj+buildbot
2016-11-10  3:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 16:16 [binutils-gdb] Determine the kind of single step breakpoint sergiodj+buildbot
2016-11-10  7:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 16:26 [binutils-gdb] Remove arm_override_mode sergiodj+buildbot
2016-11-10  9:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 16:43 [binutils-gdb] X86: Rename REG_82 to REG_83 sergiodj+buildbot
2016-11-10 10:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 16:59 [binutils-gdb] Deprecate old platforms sergiodj+buildbot
2016-11-10 10:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 17:04 [binutils-gdb] Replace YY_NULL with YY_NULLPTR in LANG-exp.c sergiodj+buildbot
2016-11-10 10:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 17:21 [binutils-gdb] X86: Decode opcode 0x82 as opcode 0x80 in 32-bit mode sergiodj+buildbot
2016-11-10 10:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 17:33 [binutils-gdb] X86: Reuse opcode 0x80 decoder for opcode 0x82 sergiodj+buildbot
2016-11-10 10:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 17:39 [binutils-gdb] arc/opcodes/nps400: Fix some instruction masks sergiodj+buildbot
2016-11-10 10:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 17:51 [binutils-gdb] arc: Replace ARC_SHORT macro with arc_opcode_len function sergiodj+buildbot
2016-11-10 10:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 18:03 [binutils-gdb] opcodes/arc: Make some macros 64-bit safe sergiodj+buildbot
2016-11-10 10:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 18:15 [binutils-gdb] arc: Swap highbyte and lowbyte in print_insn_arc sergiodj+buildbot
2016-11-10 10:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 18:26 [binutils-gdb] arc: Change max instruction length to 64-bits sergiodj+buildbot
2016-11-10 10:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 18:59 [binutils-gdb] arc: Implement NPS-400 dcmac instruction sergiodj+buildbot
2016-11-10 10:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 23:05 [binutils-gdb] Fix handling of discriminantless univariant enums in Rust; fix bug with encoded enums sergiodj+buildbot
2016-11-10 10:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 23:17 [binutils-gdb] Add support for untagged unions in Rust sergiodj+buildbot
2016-11-10 10:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-03 23:26 [binutils-gdb] Add support for the sizeof function in Rust sergiodj+buildbot
2016-11-10 10:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-04 14:52 [binutils-gdb] Fix building binutils for all 32-bit targets by moving riscv32 target into 64-bit builds only sergiodj+buildbot
2016-11-10 10:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-04 17:12 [binutils-gdb] Add support for ARM Cortex-M33 processor sergiodj+buildbot
2016-11-10 10:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-04 23:14 [binutils-gdb] arc/nps400: Validate address type operands correctly sergiodj+buildbot
2016-11-10 10:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-05  4:41 [binutils-gdb] Fix a few typos sergiodj+buildbot
2016-11-10 11:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-07 23:22 [binutils-gdb] configure.tgt (x86_64-*-elf*): Remove i386bsd-tdep.o sergiodj+buildbot
2016-11-11  7:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08  0:39 [binutils-gdb] i386-tdep.c (i386_gdbarch_init): Add comments sergiodj+buildbot
2016-11-11  7:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08  1:46 [binutils-gdb] Fix ext lang calls to value_struct_elt sergiodj+buildbot
2016-11-11 11:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08  2:27 [binutils-gdb] X86: Properly handle bad FPU opcode sergiodj+buildbot
2016-11-11 14:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 11:14 [binutils-gdb] Check for truncated registers in process_g_packet sergiodj+buildbot
2016-11-11 17:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 12:26 [binutils-gdb] Fix indentation sergiodj+buildbot
2016-11-11 21:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 13:10 [binutils-gdb] Fix bfd/dwarf2.c build breakage sergiodj+buildbot
2016-11-12  4:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 14:21 [binutils-gdb] Fix PR breakpoints/20739: Badly formatted adress string in error message sergiodj+buildbot
2016-11-12  7:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 14:37 [binutils-gdb] Remove arm_insert_single_step_breakpoint sergiodj+buildbot
2016-11-12 10:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 17:10 [binutils-gdb] gdbarch software_single_step returns VEC (CORE_ADDR) * sergiodj+buildbot
2016-11-12 17:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 18:27 [binutils-gdb] breakpoint.c:commands_command_1 constification and cleanup sergiodj+buildbot
2016-11-13  4:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 19:12 [binutils-gdb] Introduce string_printf sergiodj+buildbot
2016-11-12 18:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 19:27 [binutils-gdb] cli-script.c: Simplify using std::string, eliminate cleanups sergiodj+buildbot
2016-11-13  6:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 19:48 [binutils-gdb] cli/cli-script.c: Remove some dead NULL checks sergiodj+buildbot
2016-11-13  0:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 20:24 [binutils-gdb] 'struct expression *' -> gdb::unique_xmalloc_ptr<expression> sergiodj+buildbot
2016-11-13 11:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 21:02 [binutils-gdb] Introduce ui_file_as_string sergiodj+buildbot
2016-11-13 13:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 21:34 [binutils-gdb] Clean up tracepoint.h/c:collection_list sergiodj+buildbot
2016-11-13 16:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 23:02 [binutils-gdb] Use ui_file_as_string in dwarf2_compute_name sergiodj+buildbot
2016-11-13 22:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-08 23:42 [binutils-gdb] Use ui_file_as_string in gdb/xtensa-tdep.c sergiodj+buildbot
2016-11-14  0:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  0:38 [binutils-gdb] Use ui_file_as_string in gdb/ada-valprint.c sergiodj+buildbot
2016-11-14  2:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  2:14 [binutils-gdb] Use ui_file_as_string in gdb/ui-out.c sergiodj+buildbot
2016-11-14  6:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  3:11 [binutils-gdb] Use ui_file_as_string in gdb/utils.c sergiodj+buildbot
2016-11-14  8:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  3:33 [binutils-gdb] Use ui_file_as_string in gdb/arm-tdep.c sergiodj+buildbot
2016-11-14  9:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  5:16 [binutils-gdb] Use ui_file_as_string in execute_command_to_string sergiodj+buildbot
2016-11-14 18:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  6:19 [binutils-gdb] Use ui_file_as_string in gdb/top.c sergiodj+buildbot
2016-11-14 23:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  6:37 [binutils-gdb] Use ui_file_as_string in gdb/printcmd.c sergiodj+buildbot
2016-11-15  4:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  8:18 [binutils-gdb] Use ui_file_as_string in gdb/remote.c sergiodj+buildbot
2016-11-15  7:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09  9:53 [binutils-gdb] Use ui_file_as_string in gdb/cli/cli-setshow.c sergiodj+buildbot
2016-11-15 11:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 10:10 [binutils-gdb] Use ui_file_as_string in gdb/compile/ sergiodj+buildbot
2016-11-15 17:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 10:46 [binutils-gdb] Use ui_file_as_string in gdb/c-exp.y sergiodj+buildbot
2016-11-15 17:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 12:46 [binutils-gdb] Use ui_file_as_string in gdbarch.sh/gdbarch.c sergiodj+buildbot
2016-11-15 20:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 13:50 [binutils-gdb] Use ui_file_as_string in gdb/infrun.c sergiodj+buildbot
2016-11-16  1:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 14:28 [binutils-gdb] Use ui_file_as_string in gdb/rust-lang.c sergiodj+buildbot
2016-11-16  8:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 15:45 [binutils-gdb] Use ui_file_as_string in gdb/language.c sergiodj+buildbot
2016-11-16  9:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 17:48 [binutils-gdb] 'struct agent_expr *' -> unique_ptr<agent_expr> sergiodj+buildbot
2016-11-16 18:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 18:35 [binutils-gdb] Use ui_file_as_string throughout more sergiodj+buildbot
2016-11-16 15:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 18:42 [binutils-gdb] Eliminate agent_expr_p; VEC -> std::vector in struct bp_target_info sergiodj+buildbot
2016-11-16 19:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 19:49 [binutils-gdb] Use get_frame_register_value instead of deprecated_frame_register_read sergiodj+buildbot
2016-11-16 23:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 20:30 [binutils-gdb] Remove parameter valaddr from la_val_print sergiodj+buildbot
2016-11-17  3:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 21:50 [binutils-gdb] Fix some error-handling bugs in python frame filters sergiodj+buildbot
2016-11-17  7:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 23:16 [binutils-gdb] X86: Remove the THREE_BYTE_0F7A entry sergiodj+buildbot
2016-11-17 14:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-09 23:50 [binutils-gdb] Fix py-value.exp failure on Python 3 sergiodj+buildbot
2016-11-17 12:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  1:21 [binutils-gdb] darwin-nat.c: handle Darwin 16 (aka Sierra) sergiodj+buildbot
2016-11-17 16:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  3:59 [binutils-gdb] tui-winsource: Allocate for actual lines only sergiodj+buildbot
2016-11-18  6:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  4:19 [binutils-gdb] tui-disasm: Fix line buffer size calculation sergiodj+buildbot
2016-11-18  2:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  5:47 [binutils-gdb] gdb: Use vector::emplace_back sergiodj+buildbot
2016-11-18 11:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  6:36 [binutils-gdb] tui-winsource: Remove failed-allocation logic sergiodj+buildbot
2016-11-18  9:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  7:45 [binutils-gdb] gdb/testsuite: Introduce "proc_with_prefix" sergiodj+buildbot
2016-11-18 19:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  7:45 [binutils-gdb] agent_expr_up: gdb::unique_ptr -> std::unique_ptr sergiodj+buildbot
2016-11-18 14:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  7:46 [binutils-gdb] Make gdb.mi/user-selected-context-sync.exp use proc_with_prefix sergiodj+buildbot
2016-11-18 21:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  7:47 [binutils-gdb] X86: Remove the .s suffix from EVEX vpextrw sergiodj+buildbot
2016-11-19  9:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  7:47 [binutils-gdb] X86: Merge AVX512F vmovq sergiodj+buildbot
2016-11-19  2:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  7:48 [binutils-gdb] Further cleanup/modernization of gdb.base/commands.exp sergiodj+buildbot
2016-11-19  5:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  7:49 [binutils-gdb] Use unique_xmalloc_ptr in Python code sergiodj+buildbot
2016-11-19 13:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  8:07 [binutils-gdb] tui-disasm: Fix window content buffer overrun sergiodj+buildbot
2016-11-17 19:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10  9:30 [binutils-gdb] [AArch64] Bind defined symbol locally in PIE sergiodj+buildbot
2016-11-19 15:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-10 12:31 [binutils-gdb] Provide a more helpful error message when the BFD library is unable to load an extremely large section sergiodj+buildbot
2016-11-19 19:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11  9:01 [binutils-gdb] sim: mips: fix builds for r3900 cpus due to missing check_u64 sergiodj+buildbot
2016-11-20  2:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 10:40 [binutils-gdb] Remove parameter valaddr from c print functions sergiodj+buildbot
2016-11-20  9:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 12:02 [binutils-gdb] Remove apply_val_pretty_printer parameter valaddr sergiodj+buildbot
2016-11-20 11:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 12:40 [binutils-gdb] Accept hidden COFF symbols, but treat them as if they were debugging symbols sergiodj+buildbot
2016-11-20 14:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 13:30 [binutils-gdb] [AArch64] Add ARMv8.3 command line option and feature flag sergiodj+buildbot
2016-11-20 16:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 14:42 [binutils-gdb] [AArch64] Increase max_num_aliases in aarch64-gen sergiodj+buildbot
2016-11-20 19:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 15:42 [binutils-gdb] [AArch64] Add ARMv8.3 instructions which are in the NOP space sergiodj+buildbot
2016-11-20 20:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 16:38 [binutils-gdb] [AArch64] Add ARMv8.3 pointer authentication key registers sergiodj+buildbot
2016-11-21  0:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 18:47 [binutils-gdb] [AArch64] Add ARMv8.3 PACGA instruction sergiodj+buildbot
2016-11-21  5:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 19:33 [binutils-gdb] [AArch64] Add ARMv8.3 combined pointer authentication branch instructions sergiodj+buildbot
2016-11-21  8:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 20:35 [binutils-gdb] Identify verilog dump tests as such sergiodj+buildbot
2016-11-21 10:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-11 21:18 [binutils-gdb] Don't handle unavailable/optimized-out in spu_software_single_step sergiodj+buildbot
2016-11-21 13:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-12 19:05 [binutils-gdb] Use std::string in rust_get_disr_info sergiodj+buildbot
2016-11-21 14:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-12 20:45 [binutils-gdb] Remove some cleanups from the rust code sergiodj+buildbot
2016-11-21 17:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-14  9:18 [binutils-gdb] Fix typo "Faal through" should be "Fall through" sergiodj+buildbot
2016-11-22  7:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-14 10:28 [binutils-gdb] btrace: read entire aux buffer sergiodj+buildbot
2016-11-22  9:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-15 20:24 [binutils-gdb] bitfield-parent-optimized-out: Fix struct definition sergiodj+buildbot
2016-11-22 13:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-15 20:54 [binutils-gdb] gdb::{unique_ptr,move} -> std::{unique_ptr,move} sergiodj+buildbot
2016-11-22 15:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-15 22:01 [binutils-gdb] Delete gdb::unique_ptr/gdb::move sergiodj+buildbot
2016-11-22 18:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-16  0:24 [binutils-gdb] gdb: update gnulib to pull in C++ namespace support fixes sergiodj+buildbot
2016-11-22 20:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-16 20:01 [binutils-gdb] Fix PR20789 - relaxation with negative valued diff relocs sergiodj+buildbot
2016-11-22 23:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-16 20:03 [binutils-gdb] Extend test gdb.python/py-recurse-unwind.exp sergiodj+buildbot
2016-11-23  2:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-16 22:04 [binutils-gdb] Change meaning of VALUE_FRAME_ID; rename to VALUE_NEXT_FRAME_ID sergiodj+buildbot
2016-11-23  7:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-16 22:59 [binutils-gdb] Make gdb.PendingFrame.read_register handle "user" registers sergiodj+buildbot
2016-11-23  9:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17  0:20 [binutils-gdb] Stash frame id of current frame before stashing frame id for previous frame sergiodj+buildbot
2016-11-23 11:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17 14:41 [binutils-gdb] gdb/ada-lang.c: one malloc -> unique_ptr<[]> sergiodj+buildbot
2016-11-23 17:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17 15:56 [binutils-gdb] gdb/ctf.c: Get rid of mkdir redefinition sergiodj+buildbot
2016-11-23 20:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17 18:31 [binutils-gdb] Document new hard requirement on GNU make sergiodj+buildbot
2016-11-24  2:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17 19:35 [binutils-gdb] Makefile: Replace old suffix rules with pattern rules sergiodj+buildbot
2016-11-24  6:39 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-17 20:10 [binutils-gdb] Makefile: Replace explicit subdir rules with pattern rules sergiodj+buildbot
2016-11-24  9:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18  9:59 [binutils-gdb] Help diagnose problems with the metag target when mixing static and shared binaries sergiodj+buildbot
2016-11-24 12:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 11:23 [binutils-gdb] [AArch64] Add ARMv8.3 combined pointer authentication load instructions sergiodj+buildbot
2016-11-24 14:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 11:34 [binutils-gdb] [AArch64] Add ARMv8.3 javascript floating-point conversion instruction sergiodj+buildbot
2016-11-24 16:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 12:49 [binutils-gdb] [AArch64] Add ARMv8.3 weaker release consistency load instructions sergiodj+buildbot
2016-11-24 19:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 13:05 [binutils-gdb] [AArch64] Add ARMv8.3 FCMLA and FCADD instructions sergiodj+buildbot
2016-11-24 21:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 14:01 [binutils-gdb] PR c++/71696 testcase sergiodj+buildbot
2016-11-25  1:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 16:06 [binutils-gdb] Implement P0136R1, Rewording inheriting constructors sergiodj+buildbot
2016-11-25  6:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 16:14 [binutils-gdb] libiberty: Fix -Wimplicit-fallthrough warnings sergiodj+buildbot
2016-11-25  8:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 16:19 [binutils-gdb] libiberty: Fix memory leak in ada_demangle when symbol cannot be demangled sergiodj+buildbot
2016-11-25  3:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 16:45 [binutils-gdb] Implement P0012R1, Make exception specifications part of the type system sergiodj+buildbot
2016-11-25 10:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 18:01 [binutils-gdb] libiberty: Add -Wshadow=local to warning flags (if supported) sergiodj+buildbot
2016-11-25 15:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 18:18 [binutils-gdb] libiberty: Fix some demangler crashes caused by reading past end of input sergiodj+buildbot
2016-11-25 15:39 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-18 19:31 [binutils-gdb] libiberty: Add Rust symbol demangling sergiodj+buildbot
2016-11-25 21:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-19  0:43 [binutils-gdb] bfd: fix negative GOT offsets for non-local references on sparc64 sergiodj+buildbot
2016-11-26  1:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-19  1:25 [binutils-gdb] libiberty: demangler crash with missing :? or fold expression component sergiodj+buildbot
2016-11-25 21:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-19 13:29 [binutils-gdb] Revert "bfd: allow negative offsets to _GLOBAL_OFFSET_TABLE_ in elf64 SPARC" sergiodj+buildbot
2016-11-26  6:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-19 19:14 [binutils-gdb] ARI: Add detection of printf_vma and sprintf_vma sergiodj+buildbot
2016-11-26 12:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-21 14:37 [binutils-gdb] Create subobject value in pretty printer sergiodj+buildbot
2016-11-26 21:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-21 17:38 [binutils-gdb] BFD/DWARF2: Correct an `index' global shadowing error sergiodj+buildbot
2016-11-26 23:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-21 21:38 [binutils-gdb] Add missing POSTCOMPILE step to mi/ file generation rules sergiodj+buildbot
2016-11-27  1:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 10:10 [binutils-gdb] Use VALUE_NEXT_FRAME_ID in value_from_component sergiodj+buildbot
2016-11-29 17:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 10:39 [binutils-gdb] Use input_bfd in relocate_section sergiodj+buildbot
2016-11-29 21:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 11:18 [binutils-gdb] PR20744, Incorrect PowerPC VLE relocs sergiodj+buildbot
2016-11-30  0:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 13:53 [binutils-gdb] gas, opcodes: fix hardware capabilities bumping in the sparc assembler sergiodj+buildbot
2016-11-30  5:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 14:50 [binutils-gdb] [ARC] Fix printing 'b' mnemonics sergiodj+buildbot
2016-11-30  3:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 15:10 [binutils-gdb] New regcache_raw_get_signed sergiodj+buildbot
2016-11-30  7:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 15:55 [binutils-gdb] gdbarch software_single_step frame_info to regcache: aarch64 sergiodj+buildbot
2016-11-30 11:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 16:56 [binutils-gdb] gdbarch software_single_step frame_info to regcache: alpha sergiodj+buildbot
2016-11-30 12:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 17:26 [binutils-gdb] gdbarch software_single_step frame_info to regcache: cris sergiodj+buildbot
2016-11-30 15:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 17:49 [binutils-gdb] gdbarch software_single_step frame_info to regcache: mips sergiodj+buildbot
2016-11-30 17:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 19:25 [binutils-gdb] gdbarch software_single_step frame_info to regcache: nios2 sergiodj+buildbot
2016-11-30 21:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 20:15 [binutils-gdb] gdbarch software_single_step frame_info to regcache: sparc sergiodj+buildbot
2016-12-01  1:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 20:47 [binutils-gdb] gdbarch software_single_step frame_info to regcache: s390 sergiodj+buildbot
2016-12-01  3:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 21:00 [binutils-gdb] gdbarch software_single_step frame_info to regcache: rs6000 sergiodj+buildbot
2016-12-01  4:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-22 22:40 [binutils-gdb] gdbarch software_single_step frame_info to regcache: spu sergiodj+buildbot
2016-12-01 10:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  0:03 [binutils-gdb] Change gdbarch software_single_step frame_info to regcache sergiodj+buildbot
2016-12-01 11:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  1:00 [binutils-gdb] Fix spelling mistakes in comments in shell scripts sergiodj+buildbot
2016-12-01 17:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  1:51 [binutils-gdb] gdbserver: Use debug_printf for debug output sergiodj+buildbot
2016-12-01 20:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  2:43 [binutils-gdb] gdbserver: Use warning for warnings sergiodj+buildbot
2016-12-01 21:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  7:46 [binutils-gdb] Regen POTFILES.in sergiodj+buildbot
2016-12-02  0:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  8:40 [binutils-gdb] Delete duplicate target short-cuts to dynamic sections sergiodj+buildbot
2016-12-02  2:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23  9:06 [binutils-gdb] elf_backend_dtrel_excludes_plt sergiodj+buildbot
2016-12-02  5:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23 11:55 [binutils-gdb] Fix the linker so that it will not silently generate ELF binaries with invalid program headers. Fix readelf to report such invalid binaries sergiodj+buildbot
2016-12-02  7:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23 15:19 [binutils-gdb] Makefiles: Flatten and sort file lists sergiodj+buildbot
2016-12-02 10:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23 16:36 [binutils-gdb] Normalize names of some source files sergiodj+buildbot
2016-12-02 12:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-23 17:24 [binutils-gdb] gdb: Use C++11 std::chrono sergiodj+buildbot
2016-12-02 17:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24  3:59 [binutils-gdb] RISC-V/bfd: Fix bitsize of R_RISCV_ADD8 sergiodj+buildbot
2016-12-02 20:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24 14:48 [binutils-gdb] [ARM] Bind defined symbol locally in PIE sergiodj+buildbot
2016-12-02 23:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24 17:53 [binutils-gdb] Fix PR12616 - gdb does not implement DW_AT_data_bit_offset sergiodj+buildbot
2016-12-03  2:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24 18:47 [binutils-gdb] Fix copy_bitwise() sergiodj+buildbot
2016-12-03  5:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24 19:13 [binutils-gdb] Add unit test for copy_bitwise sergiodj+buildbot
2016-12-03  6:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24 19:17 [binutils-gdb] Optimize byte-aligned copies in copy_bitwise() sergiodj+buildbot
2016-12-03  8:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-24 21:00 [binutils-gdb] Add noexcept to custom non-throwing new operators sergiodj+buildbot
2016-12-03 11:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-25 10:36 [binutils-gdb] Prevent problems with section alignment by not shrinking the .rsrc section sergiodj+buildbot
2016-12-03 15:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-25 15:36 [binutils-gdb] Fix typos in comment sergiodj+buildbot
2016-12-03 21:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-25 16:29 [binutils-gdb] Fix typo in comment sergiodj+buildbot
2016-12-03 17:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-25 17:47 [binutils-gdb] Fix typo in Makefile sergiodj+buildbot
2016-12-03 22:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-25 21:27 [binutils-gdb] Remove check requiring void argument to functions with no parameters sergiodj+buildbot
2016-12-04  1:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-26 15:59 [binutils-gdb] Remove stale comments sergiodj+buildbot
2016-12-04  4:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-27  4:20 [binutils-gdb] Remove unused functions and declarations sergiodj+buildbot
2016-12-04  6:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-27  4:37 [binutils-gdb] Rename ui_out_data to mi_ui_out_data sergiodj+buildbot
2016-12-04  9:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-27  5:37 [binutils-gdb] Remove ui_out_destroy sergiodj+buildbot
2016-12-04 11:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-27  5:56 [binutils-gdb] Fix return value of uo_redirect sergiodj+buildbot
2016-12-04 14:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-27  8:16 [binutils-gdb] Constify wrap_here/wrap_hint code path sergiodj+buildbot
2016-12-04 16:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-27  8:30 [binutils-gdb] Remove verbosity from ui_out_message and friends sergiodj+buildbot
2016-12-04 18:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-28 16:35 [binutils-gdb] Properly hide hidden versioned symbol in executable sergiodj+buildbot
2016-12-05  5:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-28 17:50 [binutils-gdb] Move computed value's frame id to piece_closure sergiodj+buildbot
2016-12-05  9:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-28 19:26 [binutils-gdb] Adjust Value.location for lval_register sergiodj+buildbot
2016-12-05 11:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-28 19:38 [binutils-gdb] Restrict checking value.lval on using address sergiodj+buildbot
2016-12-05 12:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-28 20:51 [binutils-gdb] Partially revert patch for PR 20815 - do not sort the PT_LOAD segments. Non-ordered segments are needed by the Linux kernel sergiodj+buildbot
2016-12-05 17:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-28 21:09 [binutils-gdb] X86: Ignore REX_B bit for 32-bit XOP instructions sergiodj+buildbot
2016-12-05 14:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-29  3:18 [binutils-gdb] Fix debug output in record_full_open_1 sergiodj+buildbot
2016-12-05 20:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-29 11:20 [binutils-gdb] [ARC] Fix disassembler option sergiodj+buildbot
2016-12-06  0:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-29 12:01 [binutils-gdb] [ARC] Add checking for LP_COUNT reg usage, improve error reporting sergiodj+buildbot
2016-12-06  2:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-30  7:01 [binutils-gdb] PR20886, looping in ppc64_elf_size_stubs sergiodj+buildbot
2016-12-06  3:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-30 12:13 [binutils-gdb] Revert accidental elf.c change sergiodj+buildbot
2016-12-06  6:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-30 12:39 [binutils-gdb] [ARM] Read memory as unsigned integer sergiodj+buildbot
2016-12-06  8:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-11-30 21:56 [binutils-gdb] Makefiles: Disable suffix rules and implicit rules sergiodj+buildbot
2016-12-06 12:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01  3:08 [binutils-gdb] Use new/delete instead of malloc/free-based functions sergiodj+buildbot
2016-12-06 14:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01  3:47 [binutils-gdb] Use std::vector for ui_out::levels sergiodj+buildbot
2016-12-06 16:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01  4:21 [binutils-gdb] Use std::vector for mi_ui_out_data::streams sergiodj+buildbot
2016-12-06 18:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01  5:08 [binutils-gdb] Use std::vector for cli_ui_out_data::streams sergiodj+buildbot
2016-12-06 21:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01  5:58 [binutils-gdb] Use std::string in ui_out_table sergiodj+buildbot
2016-12-07  0:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 12:11 [binutils-gdb] Fix abort in x86 disassembler sergiodj+buildbot
2016-12-07  4:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 12:29 [binutils-gdb] Fix a seg-fault disassembling a corrupt binary sergiodj+buildbot
2016-12-07  7:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 13:18 [binutils-gdb] Fix handling of MIPS16 HI16 relocs sergiodj+buildbot
2016-12-07  9:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 14:12 [binutils-gdb] Fix accesses to the GOT for AARCH64 operating in 32-bit mode sergiodj+buildbot
2016-12-07 12:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 17:48 [binutils-gdb] Fix bug with FP stur instructions sergiodj+buildbot
2016-12-07 13:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 21:12 [binutils-gdb] Fix test names starting with uppercase output by basic functions sergiodj+buildbot
2016-12-07 16:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 21:50 [binutils-gdb] Fix test names starting with uppercase using gdb_test on a single line sergiodj+buildbot
2016-12-07 18:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 22:09 [binutils-gdb] Fix test names starting with uppercase using gdb_test_no_output sergiodj+buildbot
2016-12-07 21:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 23:01 [binutils-gdb] Fix test names starting with uppercase using gdb_test_multiple sergiodj+buildbot
2016-12-08  1:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-01 23:25 [binutils-gdb] Fix test names starting with uppercase using multi-line gdb_test/mi_gdb_test sergiodj+buildbot
2016-12-08  3:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  0:06 [binutils-gdb] Fix test names starting with uppercase using multi-line gdb_test_no_output sergiodj+buildbot
2016-12-08  6:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  0:34 [binutils-gdb] Fix test names starting with uppercase using multi-line gdb_test_multiple sergiodj+buildbot
2016-12-08  8:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  1:27 [binutils-gdb] Fixup testcases outputting own name as a test name and standardize failed compilation messages sergiodj+buildbot
2016-12-08 10:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  2:11 [binutils-gdb] Replace hand-made linked list of ui_out_hdr by vector and iterator sergiodj+buildbot
2016-12-08 12:39 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  2:20 [binutils-gdb] Use std::string for ui_out_hdr's text fields sergiodj+buildbot
2016-12-08 15:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  2:49 [binutils-gdb] Class-ify ui_out_hdr sergiodj+buildbot
2016-12-08 18:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  4:41 [binutils-gdb] Simplify ui-out level code sergiodj+buildbot
2016-12-08 23:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  5:00 [binutils-gdb] ui_out_table: Replace boolean flag with enum sergiodj+buildbot
2016-12-09  2:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02  5:34 [binutils-gdb] Class-ify ui_out_table sergiodj+buildbot
2016-12-09  5:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 10:11 [binutils-gdb] Add unit test to aarch64 prologue analyzer sergiodj+buildbot
2016-12-09  8:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 10:50 [binutils-gdb] [AArch64] Recognize STR instruction in prologue sergiodj+buildbot
2016-12-09 10:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 11:30 [binutils-gdb] Add support for Fushia OS sergiodj+buildbot
2016-12-09 14:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 12:02 [binutils-gdb] Always pass a valid section header offset to elf_parse_notes sergiodj+buildbot
2016-12-09 15:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 15:26 [binutils-gdb] Remove mi_out_data::suppress_output sergiodj+buildbot
2016-12-09 18:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 16:48 [binutils-gdb] PR symtab/16264 - support DW_AT_main_subprogram sergiodj+buildbot
2016-12-09 23:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 17:12 [binutils-gdb] Fix seg-fault in the linker when examining a corrupt binary sergiodj+buildbot
2016-12-10  1:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 18:11 [binutils-gdb] Revert change to gdb.cp/ovldbreak.exp sergiodj+buildbot
2016-12-10  3:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 18:56 [binutils-gdb] Fix seg-fault in linker when passed a corrupt binary input file sergiodj+buildbot
2016-12-10  6:39 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 19:55 [binutils-gdb] Fix PR 20559 - "eval" command and $arg0...$arg9/$argc substitution sergiodj+buildbot
2016-12-10  9:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 20:34 [binutils-gdb] Test user-defined gdb commands and arguments stack sergiodj+buildbot
2016-12-10 12:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 21:13 [binutils-gdb] Support an "unlimited" number of user-defined arguments sergiodj+buildbot
2016-12-10 14:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 21:50 [binutils-gdb] Remove unneeded pattern matching in gdb.base/maint.exp sergiodj+buildbot
2016-12-10 16:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-02 22:35 [binutils-gdb] Introduce enum_flag type for ui_out flags sergiodj+buildbot
2016-12-10 19:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-03 11:13 [binutils-gdb] ppc64_elf_copy_indirect_symbol versioned_hidden fix sergiodj+buildbot
2016-12-11  0:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-03 11:55 [binutils-gdb] Indirect and warning symbols sergiodj+buildbot
2016-12-11  2:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-03 12:21 [binutils-gdb] PowerPC64 add_symbol_adjust sergiodj+buildbot
2016-12-11  3:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-03 13:02 [binutils-gdb] Tidy ppc64_elf_hide_symbol sergiodj+buildbot
2016-12-11  6:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-04  2:02 [binutils-gdb] Fix bugs with tbnz/tbz instructions sergiodj+buildbot
2016-12-11 12:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-05 12:47 [binutils-gdb] Fix assertion failure in linker triggered by corrupt input file sergiodj+buildbot
2016-12-12  0:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-05 13:22 [binutils-gdb] Fix seg-fault in linker parsing a corrupt input file sergiodj+buildbot
2016-12-12  2:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-05 14:06 [binutils-gdb] Fix seg-fault attempting to strip a corrupt binary sergiodj+buildbot
2016-12-12  5:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-05 15:01 [binutils-gdb] bfd, ld: Continue after partially-successful relaxed call relocations in sparc sergiodj+buildbot
2016-12-12  8:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-05 15:33 [binutils-gdb] [ARM] Add ARMv8.3 command line option and feature flag sergiodj+buildbot
2016-12-12  9:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-05 16:01 [binutils-gdb] [ARM] Add ARMv8.3 VJCVT instruction sergiodj+buildbot
2016-12-12 11:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-05 16:45 [binutils-gdb] [ARM] Add ARMv8.3 VCMLA and VCADD instructions sergiodj+buildbot
2016-12-12 14:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-05 17:30 [binutils-gdb] Fix seg-fault running strip on a corrupt binary sergiodj+buildbot
2016-12-12 17:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-05 17:56 [binutils-gdb] Fix abort when running tools on a bogus binary sergiodj+buildbot
2016-12-12 19:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-05 18:41 [binutils-gdb] Fix seg-fault in the binutils utilities when reading a corrupt input file sergiodj+buildbot
2016-12-12 22:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-06  7:30 [binutils-gdb] argv.c (expandargv): Check for directories passed as @-files sergiodj+buildbot
2016-12-13  0:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-06  8:18 [binutils-gdb] PowerPC64 toc optimisation for power9 sergiodj+buildbot
2016-12-13  3:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-06 14:59 [binutils-gdb] Assert on lval_register sergiodj+buildbot
2016-12-13  6:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-06 17:12 [binutils-gdb] Fix seg-fault in strip when copying a corrupt binary sergiodj+buildbot
2016-12-13 12:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-06 21:38 [binutils-gdb] Remove unnecessary inferior lookup in inferior_command sergiodj+buildbot
2016-12-13 12:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-07 10:48 [binutils-gdb] Fix internal error in the linker by replacing a call to abort with an error message sergiodj+buildbot
2016-12-13 15:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-07 13:08 [binutils-gdb] MIPS/include: opcode/mips.h: Add a comment for ASE_DSPR3 sergiodj+buildbot
2016-12-13 17:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-07 13:56 [binutils-gdb] MIPS/opcodes: Reformat `-M' disassembler option's help text sergiodj+buildbot
2016-12-13 21:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-07 14:08 [binutils-gdb] MIPS16/opcodes: Update opcode table comment sergiodj+buildbot
2016-12-13 23:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-07 15:39 [binutils-gdb] MIPS/include: opcode/mips.h: Correct INSN_CHIP_MASK sergiodj+buildbot
2016-12-14  3:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-07 21:39 [binutils-gdb] Hurd: Adjust to "Per-inferior/Inferior-qualified thread IDs" changes sergiodj+buildbot
2016-12-14  6:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-08  8:11 [binutils-gdb] Hurd, C++: Explicitly cast "void *" sergiodj+buildbot
2016-12-14  7:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-08  9:00 [binutils-gdb] Hurd, C++: Avoid GNU C nested functions sergiodj+buildbot
2016-12-14  9:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-08  9:33 [binutils-gdb] Hurd, C++: Avoid "const char *" to "char *" casts sergiodj+buildbot
2016-12-14 13:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-08 10:43 [binutils-gdb] Hurd, C++: kern_return_t vs. error_t sergiodj+buildbot
2016-12-14 15:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-08 11:25 [binutils-gdb] Hurd, C++: Mach/Hurd headers and MIG stubs are not yet fit for C++ sergiodj+buildbot
2016-12-14 18:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-08 11:33 [binutils-gdb] Hurd: In the CLI, use parse_thread_id instead of global_thread_id_to_ptid sergiodj+buildbot
2016-12-14 21:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-08 12:39 [binutils-gdb] PR20932, Internal error during record link assignment sergiodj+buildbot
2016-12-14 23:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-08 13:02 [binutils-gdb] sync binutils config/ with gcc sergiodj+buildbot
2016-12-15  2:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-08 13:58 [binutils-gdb] Fix crash when disassembling invalid range on powerpc vle sergiodj+buildbot
2016-12-15  5:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09  0:14 [binutils-gdb] AArch64/opcodes: Correct another `index' global shadowing error sergiodj+buildbot
2016-12-15 10:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09  0:50 [binutils-gdb] MIPS16/opcodes: Fix PC-relative operation delay-slot adjustment sergiodj+buildbot
2016-12-15 11:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09  1:29 [binutils-gdb] MIPS16/opcodes: Fix off-by-one indentation in `print_mips16_insn_arg' sergiodj+buildbot
2016-12-15 13:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09  7:23 [binutils-gdb] Avoid PATH_MAX usage sergiodj+buildbot
2016-12-15 15:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09  8:00 [binutils-gdb] Hurd: Adjust to changes to "push pruning old threads down to the target" sergiodj+buildbot
2016-12-15 18:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09 10:25 [binutils-gdb] Compile gdb.perf/skip-prologue.c with and without debug info sergiodj+buildbot
2016-12-15 21:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09 11:10 [binutils-gdb] Use code cache in arm prologue analyzer sergiodj+buildbot
2016-12-15 23:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09 11:55 [binutils-gdb] Use code cache in aarch64 prologue analyzer sergiodj+buildbot
2016-12-16  2:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09 15:28 [binutils-gdb] Add test that exercises all bfd architecture, osabi, endian, etc. combinations sergiodj+buildbot
2016-12-16  4:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09 16:12 [binutils-gdb] Create tdep->rl78_psw_type lazily sergiodj+buildbot
2016-12-16  8:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09 17:14 [binutils-gdb] Create tdep->rx_psw_type and tdep->rx_fpsw_type lazily sergiodj+buildbot
2016-12-16 10:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09 19:39 [binutils-gdb] gdb: Remove support for obsolete OSABIs and a.out sergiodj+buildbot
2016-12-16 19:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-09 23:59 [binutils-gdb] MIPS16/opcodes: Reformat raw EXTEND and undecoded output sergiodj+buildbot
2016-12-16 21:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-10  0:31 [binutils-gdb] MIPS16/opcodes: Use hexadecimal interpretation for the `e' operand code sergiodj+buildbot
2016-12-17  0:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-12  9:28 [binutils-gdb] Handle memory error in print_insn_rl78_common sergiodj+buildbot
2016-12-17 18:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-12 10:38 [binutils-gdb] Handle memory error in print_insn_rx sergiodj+buildbot
2016-12-17 21:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-12 10:51 [binutils-gdb] Remove assert on exec_bfd in cris_delayed_get_disassembler sergiodj+buildbot
2016-12-17 23:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-12 18:30 [binutils-gdb] Port c++/78252 from GCC sergiodj+buildbot
2016-12-18  5:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-12 23:39 [binutils-gdb] Don't fudge p_vaddr when PHDR in segment sergiodj+buildbot
2016-12-18  7:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-13 17:09 [binutils-gdb] Fix aarch64 sim bug with adds64, and add testcases for last 3 bug fixes sergiodj+buildbot
2016-12-18 13:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-13 17:55 [binutils-gdb] [Binutils][AARCH64]Remove Cn register for coprocessor CRn, CRm field sergiodj+buildbot
2016-12-18 15:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-14  6:47 [binutils-gdb] ld: aarch64: fix TLS relaxation where TCB_SIZE is used sergiodj+buildbot
2016-12-18 19:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-14  7:22 [binutils-gdb] bfd: aarch64: fix word and arrdess size declaration in ilp32 mode sergiodj+buildbot
2016-12-18 21:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-14  8:12 [binutils-gdb] Revert "ld: aarch64: fix TLS relaxation where TCB_SIZE is used" sergiodj+buildbot
2016-12-18 23:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-14  8:26 [binutils-gdb] Revert "bfd: aarch64: fix word and arrdess size declaration in ilp32 mode" sergiodj+buildbot
2016-12-19  3:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-14  9:08 [binutils-gdb] ld: aarch64: fix TLS relaxation where TCB_SIZE is used sergiodj+buildbot
2016-12-19  5:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-14 22:56 [binutils-gdb] MIPS16/opcodes: Fix and clarify MIPS16e commentary sergiodj+buildbot
2016-12-19  9:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-14 23:46 [binutils-gdb] MIPS16: Fix SP-relative SD instruction annotation sergiodj+buildbot
2016-12-19 11:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-15  0:13 [binutils-gdb] MIPS/opcodes: Reorder ELF file header flag handling in disassembler sergiodj+buildbot
2016-12-19 13:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-15  1:26 [binutils-gdb] MAINTAINERS: Add myself as a MIPS maintainer sergiodj+buildbot
2016-12-19 20:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-15 13:29 [binutils-gdb] Linking non-ELF file broken by PR20908 fix sergiodj+buildbot
2016-12-19 23:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-16  3:46 [binutils-gdb] Implement and document --gc-keep-exported sergiodj+buildbot
2016-12-20  2:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-16 11:03 [binutils-gdb] Fix compile time warning building arm-dis.c sergiodj+buildbot
2016-12-20  6:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-19 11:44 [binutils-gdb] MIPS/opcodes: Only call `bfd_mips_elf_get_abiflags' if BFD64 sergiodj+buildbot
2016-12-20 19:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-19 11:45 [binutils-gdb] MIPS/opcodes: Only examine ELF file structures if SYMTAB_AVAILABLE sergiodj+buildbot
2016-12-21  2:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-19 15:59 [binutils-gdb] Clean up gdb.gdb/selftest.exp sergiodj+buildbot
2016-12-21 11:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20  2:03 [binutils-gdb] Formatting changes for RISC-V sergiodj+buildbot
2016-12-21 20:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20  2:03 [binutils-gdb] Add opcodes RISC-V dependencies sergiodj+buildbot
2016-12-21 12:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20  2:07 [binutils-gdb] Rework RISC-V relocations sergiodj+buildbot
2016-12-22  2:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20  2:12 [binutils-gdb] Improve RISC-V LD error message sergiodj+buildbot
2016-12-21 18:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20 16:15 [binutils-gdb] Set emacs default mode for the GDB directory to C++ sergiodj+buildbot
2016-12-22 21:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20 17:00 [binutils-gdb] Fix longjmp across readline w/ --enable-sjlj-exceptions toolchains sergiodj+buildbot
2016-12-23  0:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-20 19:34 [binutils-gdb] gdb: Constify solib_find sergiodj+buildbot
2016-12-23  6:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-21 11:51 [binutils-gdb] Remove high bit set characters sergiodj+buildbot
2016-12-23 11:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-21 13:59 [binutils-gdb] bfd: aarch64: fix word and arrdess size declaration in ilp32 mode sergiodj+buildbot
2016-12-23 14:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-21 14:46 [binutils-gdb] Avoid creating symbol table entries for registers sergiodj+buildbot
2016-12-23 17:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-21 15:21 [binutils-gdb] Don't make_bfd_vms_lib archive functions NULL sergiodj+buildbot
2016-12-23 21:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-21 21:24 [binutils-gdb] Fix bugs with float compare and Inf operands sergiodj+buildbot
2016-12-24  1:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-22 22:01 [binutils-gdb] Class-ify ui_out sergiodj+buildbot
2016-12-24  5:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23  0:18 [binutils-gdb] New syntax for mt print symbols,msymbols,psymbols sergiodj+buildbot
2016-12-24 10:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23  1:16 [binutils-gdb] infrun.c (set_step_over_info): Add comment sergiodj+buildbot
2016-12-24 13:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23  9:35 [binutils-gdb] Regenerate pot files sergiodj+buildbot
2016-12-24 19:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23  9:49 [binutils-gdb] Bump version to 2.28.51 sergiodj+buildbot
2016-12-24 21:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 14:34 [binutils-gdb] hppa-linux-gnu-ranlib: libcpp.a: File format not recognized sergiodj+buildbot
2016-12-25  4:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 14:54 [binutils-gdb] Remove "collect" forms of generic linker add symbols functions sergiodj+buildbot
2016-12-25  7:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 16:53 [binutils-gdb] Call target specific add_symbols function sergiodj+buildbot
2016-12-25 13:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 21:30 [binutils-gdb] opcodes: Use autoconf to check for `bfd_mips_elf_get_abiflags' in BFD sergiodj+buildbot
2016-12-25 22:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 21:34 [binutils-gdb] MIPS16/GAS: Disallow EXTEND delay-slot scheduling sergiodj+buildbot
2016-12-26  3:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 21:54 [binutils-gdb] MIPS16: Handle non-extensible instructions correctly sergiodj+buildbot
2016-12-26 12:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 22:22 [binutils-gdb] MIPS16: Simplify extended operand handling sergiodj+buildbot
2016-12-26 19:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-23 22:25 [binutils-gdb] MIPS16: Remove "extended" BREAK/SDBBP handling sergiodj+buildbot
2016-12-26  6:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-24  0:33 [binutils-gdb] MIPS16: Reassign `0' and `4' operand codes sergiodj+buildbot
2016-12-26 16:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-24  1:33 [binutils-gdb] MIPS16: Add ASMACRO instruction support sergiodj+buildbot
2016-12-27  4:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-24  3:33 [binutils-gdb] MIPS/BFD: Remove EI_ABIVERSION 5 allocation for PT_GNU_STACK support sergiodj+buildbot
2016-12-27  6:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-26  6:26 [binutils-gdb] Put .dynbss and .rel.bss shortcuts in main elf hash table sergiodj+buildbot
2016-12-27 18:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-26  6:54 [binutils-gdb] dynrelro section for read-only dynamic symbols copied into executable sergiodj+buildbot
2016-12-27 22:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-28 13:44 [binutils-gdb] Check bfd support for bfd_mips_elf_get_abiflags in mips make rule sergiodj+buildbot
2016-12-28 21:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-29 14:37 [binutils-gdb] link_hash_copy_indirect and symbol flags sergiodj+buildbot
2016-12-29 16:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-29 16:30 [binutils-gdb] Return 'int' rather than 'unsigned short' in avrdis_opcode sergiodj+buildbot
2016-12-29 22:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-31  2:44 [binutils-gdb] Import config.sub sergiodj+buildbot
2016-12-31  4:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-31  3:06 [binutils-gdb] PRU BFD support sergiodj+buildbot
2016-12-31  9:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-31  9:11 [binutils-gdb] Create sdynrelro for elfn32 mips too sergiodj+buildbot
2016-12-31 18:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2016-12-31 13:03 [binutils-gdb] Fix riscv breakage sergiodj+buildbot
2016-12-31 22:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  0:08 [binutils-gdb] PR20989, sparc GOT sequence optimisation sergiodj+buildbot
2017-01-04  6:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  0:14 [binutils-gdb] Update year range in copyright notice of all files sergiodj+buildbot
2017-01-04  2:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  1:22 [binutils-gdb] Sync dwarf headers with master versions in gcc repository sergiodj+buildbot
2017-01-04 21:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  1:38 [binutils-gdb] Fix compile time warning about using a possibly uninitialised variable sergiodj+buildbot
2017-01-05  1:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  2:06 [binutils-gdb] Regen opcodes cgen files sergiodj+buildbot
2017-01-04 17:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  2:25 [binutils-gdb] Add new Serbian translation for the opcodes library sergiodj+buildbot
2017-01-05  4:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  3:42 [binutils-gdb] Add support for the Q extension to the RISCV ISA sergiodj+buildbot
2017-01-05 15:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  3:56 [binutils-gdb] bfd: alpha: Fix crash caused by double free with --no-keep-memory sergiodj+buildbot
2017-01-05 18:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04  5:38 [binutils-gdb] Fix generation of GOT table when only GOT-relative relocs are used sergiodj+buildbot
2017-01-05 11:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04 12:49 [binutils-gdb] [AArch64] Add separate feature flag for weaker release consistent load insns sergiodj+buildbot
2017-01-06  1:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04 14:57 [binutils-gdb] update-copyright.py for binutils sergiodj+buildbot
2017-01-06 12:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04 16:08 [binutils-gdb] [DWARF] Sync GCC dwarf.def change on AArch64 sergiodj+buildbot
2017-01-06 15:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-04 20:32 [binutils-gdb] Use correct OSABI constant for FreeBSD/mips binaries sergiodj+buildbot
2017-01-06 19:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-05  0:23 [binutils-gdb] Five fixes, for fcsel, fcvtz, fminnm, mls, and non-widening mul sergiodj+buildbot
2017-01-06 22:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-05  9:19 [binutils-gdb] Prevent an abort in the FRV disassembler if the target bfd name is unknown sergiodj+buildbot
2017-01-07  2:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-05 15:02 [binutils-gdb] Fix ARI warning sergiodj+buildbot
2017-01-07  5:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 14:17 [binutils-gdb] Update gdb_ptrace.h in HFILES_NO_SRCDIR sergiodj+buildbot
2017-01-07  8:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 15:00 [binutils-gdb] Include ax.h in ax-gdb.h sergiodj+buildbot
2017-01-07 12:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 15:35 [binutils-gdb] Include doublest.h and expression.h in dfp.h sergiodj+buildbot
2017-01-07 15:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 16:36 [binutils-gdb] Include target.h in inf-loop.h sergiodj+buildbot
2017-01-07 19:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 17:08 [binutils-gdb] Include mi-cmds.h in mi-parse.h sergiodj+buildbot
2017-01-07 22:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 17:58 [binutils-gdb] Include break-common.h in nat/aarch64-linux-hw-point.h sergiodj+buildbot
2017-01-08  1:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 18:31 [binutils-gdb] Include signal.h in nat/amd64-linux-siginfo.h sergiodj+buildbot
2017-01-08  4:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 19:22 [binutils-gdb] Include ppc-tdep.h in ppc-linux-tdep.h sergiodj+buildbot
2017-01-08  8:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 19:51 [binutils-gdb] Include serial.h in ser-base.h sergiodj+buildbot
2017-01-08 11:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-06 20:40 [binutils-gdb] Include gdb_proc_service.h in x86-linux-nat.h sergiodj+buildbot
2017-01-08 15:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-07 21:17 [binutils-gdb] S/390: Issue error for overflowing relocs sergiodj+buildbot
2017-01-08 18:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-09  9:47 [binutils-gdb] Improve objdump's behaviour when it encounters a corrupt binary with an excessively large symbol table sergiodj+buildbot
2017-01-09 13:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-09 17:05 [binutils-gdb] Speed up objdump when displaying disassembly mixed with line number and source code information sergiodj+buildbot
2017-01-09 20:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-09 17:56 [binutils-gdb] Fix inferior memory reading in GDBServer for arm/aarch32 sergiodj+buildbot
2017-01-09 23:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-10 15:35 [binutils-gdb] Update help of the "frame" command sergiodj+buildbot
2017-01-10 17:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-10 16:47 [binutils-gdb] Change return type of ui_out redirect to void sergiodj+buildbot
2017-01-10 21:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-10 19:51 [binutils-gdb] Don't use elf_i386_eh_frame_plt directly sergiodj+buildbot
2017-01-11  1:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-10 21:52 [binutils-gdb] i386/x86-64: Add unwind info for .plt.got section sergiodj+buildbot
2017-01-11  5:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11  5:41 [binutils-gdb] Introduce py-ref.h sergiodj+buildbot
2017-01-11 13:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11  6:08 [binutils-gdb] Use gdbpy_ref in py-type.c sergiodj+buildbot
2017-01-11 19:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11  7:09 [binutils-gdb] Use gdbpy_ref in gdbpy_breakpoints sergiodj+buildbot
2017-01-12  9:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11  7:59 [binutils-gdb] Use gdbpy_ref in py-framefilter.c sergiodj+buildbot
2017-01-12 13:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11  8:42 [binutils-gdb] Use gdbpy_ref in gdbpy_string_to_argv sergiodj+buildbot
2017-01-11 22:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11  9:54 [binutils-gdb] Use gdbpy_ref in call_doc_function sergiodj+buildbot
2017-01-12 20:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 10:24 [binutils-gdb] Use gdbpy_ref in python.c sergiodj+buildbot
2017-01-13  4:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 11:14 [binutils-gdb] Use gdbpy_ref in py-value.c sergiodj+buildbot
2017-01-13  7:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 11:23 [binutils-gdb] Use gdbpy_ref in gdbpy_inferiors sergiodj+buildbot
2017-01-12  6:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 11:46 [binutils-gdb] Introduce gdbpy_enter sergiodj+buildbot
2017-01-13 14:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 12:35 [binutils-gdb] Use gdbpy_enter in py-breakpoint.c sergiodj+buildbot
2017-01-13 18:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 12:51 [binutils-gdb] Use gdbpy_enter in py-cmd.c sergiodj+buildbot
2017-01-13 22:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 13:22 [binutils-gdb] Use gdbpy_enter in py-inferior.c sergiodj+buildbot
2017-01-14  5:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 13:26 [binutils-gdb] Use gdbpy_ref in py-linetable.c sergiodj+buildbot
2017-01-12 16:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 14:12 [binutils-gdb] Use gdbpy_enter in py-objfile.c sergiodj+buildbot
2017-01-14  8:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 14:43 [binutils-gdb] Use gdbpy_enter in python.c sergiodj+buildbot
2017-01-14 16:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 14:45 [binutils-gdb] Use gdbpy_ref in py-prettyprint.c sergiodj+buildbot
2017-01-13  0:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 14:59 [binutils-gdb] Use gdbpy_enter in py-type.c sergiodj+buildbot
2017-01-14 19:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 15:49 [binutils-gdb] Use gdbpy_enter in py-xmethods.c sergiodj+buildbot
2017-01-14 23:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 16:05 [binutils-gdb] Use gdbpy_enter in py-unwind.c sergiodj+buildbot
2017-01-15  2:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 16:56 [binutils-gdb] Introduce htab_up and use gdbpy_enter in py-framefilter.c sergiodj+buildbot
2017-01-15  6:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 17:11 [binutils-gdb] Use gdbpy_enter in py-prettyprint.c sergiodj+buildbot
2017-01-15 10:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 17:26 [binutils-gdb] Use gdbpy_enter in gdbpy_before_prompt_hook sergiodj+buildbot
2017-01-15 14:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 18:16 [binutils-gdb] Use gdbpy_enter in python_interactive_command sergiodj+buildbot
2017-01-15 17:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 18:31 [binutils-gdb] Use gdbpy_enter in gdbpy_get_matching_xmethod_workers sergiodj+buildbot
2017-01-15 20:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 19:03 [binutils-gdb] Use gdbpy_enter in py-xmethod.c sergiodj+buildbot
2017-01-16  4:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 19:07 [binutils-gdb] Use gdbpy_enter in py-finishbreakpoint.c sergiodj+buildbot
2017-01-14  2:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 19:18 [binutils-gdb] Introduce gdbpy_enter_varobj and use it sergiodj+buildbot
2017-01-16  8:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 19:49 [binutils-gdb] Use gdbpy_enter in cmdpy_function sergiodj+buildbot
2017-01-16 14:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 20:35 [binutils-gdb] Use gdbpy_enter in python.c sergiodj+buildbot
2017-01-17  0:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 21:38 [binutils-gdb] Use gdbpy_enter in py-progspace.c sergiodj+buildbot
2017-01-14 12:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 21:40 [binutils-gdb] Change type of encoding argument to gdbpy_extract_lazy_string sergiodj+buildbot
2017-01-17  8:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 22:26 [binutils-gdb] Use gdbpy_ref in py_print_frame sergiodj+buildbot
2017-01-17 18:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-11 23:31 [binutils-gdb] Change python_run_simple_file to use gdbpy_ref sergiodj+buildbot
2017-01-18  2:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  0:34 [binutils-gdb] Use gdbpy_ref in archpy_disassemble sergiodj+buildbot
2017-01-18  6:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  2:37 [binutils-gdb] Use gdbpy_ref in py-param.c sergiodj+buildbot
2017-01-19  4:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  2:53 [binutils-gdb] Use gdbpy_ref in python.c sergiodj+buildbot
2017-01-19  8:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  3:09 [binutils-gdb] Use gdbpy_ref in pyuw_object_attribute_to_pointer sergiodj+buildbot
2017-01-19 12:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  4:45 [binutils-gdb] Remove make_cleanup_py_decref and make_cleanup_py_xdecref sergiodj+buildbot
2017-01-20  3:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  5:21 [binutils-gdb] Use gdbpy_ref in invoke_match_method sergiodj+buildbot
2017-01-16  0:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  5:46 [binutils-gdb] Add gdb_ref_ptr.h sergiodj+buildbot
2017-01-20 10:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  6:35 [binutils-gdb] Use class to manage BFD reference counts sergiodj+buildbot
2017-01-20 14:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  6:50 [binutils-gdb] Introduce and use gdb::unlinker sergiodj+buildbot
2017-01-20 17:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  7:06 [binutils-gdb] Remove make_cleanup_discard_psymtabs sergiodj+buildbot
2017-01-20 21:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  7:27 [binutils-gdb] Use gdbpy_enter_varobj in py-varobj.c sergiodj+buildbot
2017-01-16 11:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  7:52 [binutils-gdb] Add scoped_value_mark sergiodj+buildbot
2017-01-21  0:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  8:23 [binutils-gdb] Remove cleanups from execute_gdb_command sergiodj+buildbot
2017-01-21  7:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  8:38 [binutils-gdb] Add constructor and destructor to demangle_parse_info sergiodj+buildbot
2017-01-21 11:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  8:52 [binutils-gdb] Use gdbpy_enter in fnpy_call sergiodj+buildbot
2017-01-16 17:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12  9:28 [binutils-gdb] Add support for x86/64 redox target sergiodj+buildbot
2017-01-21 14:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 10:32 [binutils-gdb] Use gdbpy_enter_varobj in more of varobj.c sergiodj+buildbot
2017-01-17  4:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 11:14 [binutils-gdb] Return -1 on memory error in print_insn_msp430 sergiodj+buildbot
2017-01-22  1:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 12:41 [binutils-gdb] Remove ensure_python_env sergiodj+buildbot
2017-01-17 14:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 15:55 [binutils-gdb] Use gdbpy_ref in gdbpy_breakpoint_cond_says_stop sergiodj+buildbot
2017-01-18 10:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 15:58 [binutils-gdb] Remove dead serial_interface_lookup calls sergiodj+buildbot
2017-01-22  5:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 16:22 [binutils-gdb] Update comment in linux_nat_can_async_p sergiodj+buildbot
2017-01-22  8:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 16:30 [binutils-gdb] Use gdbpy_ref in py-cmd.c sergiodj+buildbot
2017-01-18 14:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 17:03 [binutils-gdb] Use gdbpy_ref in bpfinishpy_out_of_scope sergiodj+buildbot
2017-01-18 17:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 17:08 [binutils-gdb] Update comment in remote_can_async_p sergiodj+buildbot
2017-01-22 12:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 17:47 [binutils-gdb] Use gdbpy_ref in py_print_frame sergiodj+buildbot
2017-01-18 21:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 18:52 [binutils-gdb] x86-64: Also generate unwind info for .plt.bnd sergiodj+buildbot
2017-01-23  2:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 21:33 [binutils-gdb] Use gdbpy_ref in py-utils.c sergiodj+buildbot
2017-01-19 16:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-12 22:14 [binutils-gdb] Use gdbpy_ref in enumerate_args sergiodj+buildbot
2017-01-19 20:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-13  5:07 [binutils-gdb] Use scoped_value_mark in dwarf2_evaluate_loc_desc_full sergiodj+buildbot
2017-01-21  4:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-13 12:41 [binutils-gdb] Remove magic numbers in m68k-dis.c:print_insn_arg sergiodj+buildbot
2017-01-23  5:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-13 12:56 [binutils-gdb] Return -1 on memory error in print_insn_m68k sergiodj+buildbot
2017-01-23  9:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-13 14:22 [binutils-gdb] Enable Intel AVX512_VPOPCNTDQ instructions sergiodj+buildbot
2017-01-22 16:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-13 15:29 [binutils-gdb] 'make check-headers' for c++ header sergiodj+buildbot
2017-01-23 12:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-13 16:01 [binutils-gdb] Don't print too much if remote_debug is on sergiodj+buildbot
2017-01-23 16:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-27  8:31 [binutils-gdb] Fix unused-but-set warning in elf32-cris.c:elf_cris_finish_dynamic_symbol sergiodj+buildbot
2017-01-27 12:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-27 14:35 [binutils-gdb] gdbserver-amd64: add HAVE_STRUCT_USER_REGS_STRUCT_(GS|FS)_BASE for gdbserver sergiodj+buildbot
2017-01-27 18:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-27 15:16 [binutils-gdb] amd64: remove additional comparison for validity of a register number sergiodj+buildbot
2017-01-27 22:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-27 16:10 [binutils-gdb] amd64: simplify addition of new general registers sergiodj+buildbot
2017-01-28  1:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-27 16:49 [binutils-gdb] amd64-linux: expose system register FS_BASE and GS_BASE for Linux sergiodj+buildbot
2017-01-28  5:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-30 17:32 [binutils-gdb] MIPS: Add options to control branch ISA checks sergiodj+buildbot
2017-01-30 20:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-01-31 23:53 [binutils-gdb] gdb: make_scoped_restore and types convertible to T sergiodj+buildbot
2017-02-01  2:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01  0:40 [binutils-gdb] gdb/varobj.c: Fix leak sergiodj+buildbot
2017-02-01  6:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01  0:56 [binutils-gdb] gdb/stack.c: Remove unused mem_fileopen sergiodj+buildbot
2017-02-01 10:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01  1:15 [binutils-gdb] gdb/mi/mi-interp.c: Fix typos sergiodj+buildbot
2017-02-01 13:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01  1:27 [binutils-gdb] [ob/pushed] Use gdb_insn_length instead of creating dummy stream sergiodj+buildbot
2017-02-01 17:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01 13:56 [binutils-gdb] thread: add can_access_registers_ptid sergiodj+buildbot
2017-02-01 20:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01 14:07 [binutils-gdb] btrace: allow recording to be started (and stopped) for running threads sergiodj+buildbot
2017-02-01 23:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01 14:54 [binutils-gdb] testsuite: diagnose a running GDB in gdb_skip_xml_tests sergiodj+buildbot
2017-02-02 12:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01 15:06 [binutils-gdb] btrace: add unsupported/untested messages when skipping tests sergiodj+buildbot
2017-02-02  2:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01 15:42 [binutils-gdb] btrace, testsuite: fix extended-remote non-stop test sergiodj+buildbot
2017-02-02  5:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01 16:25 [binutils-gdb] Big-endian targets: Don't ignore offset into DW_OP_implicit_value sergiodj+buildbot
2017-02-02 16:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-01 16:37 [binutils-gdb] btrace, testsuite: fix extended-remote fail sergiodj+buildbot
2017-02-02  9:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02  4:29 [binutils-gdb] Remove unused file_string parameter in gdb_disassembly sergiodj+buildbot
2017-02-02 20:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 11:42 [binutils-gdb] Add back gdb_pretty_print_insn sergiodj+buildbot
2017-02-02 23:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 12:25 [binutils-gdb] Eliminate make_cleanup_ui_file_delete / make ui_file a class hierarchy sergiodj+buildbot
2017-02-03  2:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 13:22 [binutils-gdb] Reuse buffers across gdb_pretty_print_insn calls sergiodj+buildbot
2017-02-03  6:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 13:57 [binutils-gdb] Tweak pretty_print_disassembler's intro comment sergiodj+buildbot
2017-02-03 10:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 14:53 [binutils-gdb] Fix "-gdb-set logging redirect on" crash sergiodj+buildbot
2017-02-03 13:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 22:23 [binutils-gdb] Move "tee" building down to interpreter::set_logging_proc sergiodj+buildbot
2017-02-03 16:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 23:22 [binutils-gdb] BFD: Wrap overlong error handler call line in `elf_gc_sweep' sergiodj+buildbot
2017-02-03 19:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-02 23:37 [binutils-gdb] MIPS/BFD: Fix assertion in `mips_elf_sort_hash_table' sergiodj+buildbot
2017-02-03 23:39 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  0:13 [binutils-gdb] MIPS/BFD: Respect the ELF gABI dynamic symbol table sort requirement sergiodj+buildbot
2017-02-04 10:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  0:38 [binutils-gdb] Fix "maintenance selftest" printing stray instructions sergiodj+buildbot
2017-02-04 17:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  1:31 [binutils-gdb] MIPS/BFD: Streamline hash table references in `mips_elf_sort_hash_table' sergiodj+buildbot
2017-02-04  3:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  2:37 [binutils-gdb] MIPS/BFD: Use `bfd_size_type' for dynamic symbol table indices sergiodj+buildbot
2017-02-04  7:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  4:54 [binutils-gdb] Reindent rust-lang.c sergiodj+buildbot
2017-02-05  0:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  5:37 [binutils-gdb] Use bool in Rust code sergiodj+buildbot
2017-02-05  4:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  6:34 [binutils-gdb] Use std::string in Rust code sergiodj+buildbot
2017-02-04 21:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03  9:19 [binutils-gdb] Fix compile time warning messages when compiling binutils with gcc 7.0.1 sergiodj+buildbot
2017-02-05  9:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-03 16:50 [binutils-gdb] C++-fy struct interp/cli_interp/tui_interp/mi_interp sergiodj+buildbot
2017-02-05 13:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-04  6:28 [binutils-gdb] Fix ptype of single-member Rust enums sergiodj+buildbot
2017-02-05 16:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-06  8:01 [binutils-gdb] gdb: provide and use sparc{32, 64} target description XML files sergiodj+buildbot
2017-02-06 10:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-06  9:31 [binutils-gdb] [BZ 21005] Add support for Intel 64 rdrand and rdseed record/replay sergiodj+buildbot
2017-02-06 14:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-06 10:53 [binutils-gdb] [ARC] Provide an interface to decode ARC instructions sergiodj+buildbot
2017-02-06 18:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-07 14:25 [binutils-gdb] bfd: Fix objdump --dynamic-reloc for SPARC 64-bit to show symbol names sergiodj+buildbot
2017-02-07 16:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-07 21:40 [binutils-gdb] gdb: fix ARI warning in sparc-tdep.c sergiodj+buildbot
2017-02-08  0:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-08  2:16 [binutils-gdb] Fix segfault when .plt section does not exist sergiodj+buildbot
2017-02-08  5:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-08 18:32 [binutils-gdb] Command names: make them case sensitive sergiodj+buildbot
2017-02-08 20:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-08 20:52 [binutils-gdb] Eliminate interp::quiet_p sergiodj+buildbot
2017-02-09  3:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-09 15:56 [binutils-gdb] Fix NULL pointer dereference sergiodj+buildbot
2017-02-09 18:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-09 22:32 [binutils-gdb] Remove return in function returning void sergiodj+buildbot
2017-02-10  0:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-10  8:52 [binutils-gdb] POWER9 add scv/rfscv instruction support sergiodj+buildbot
2017-02-10 10:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-10 18:09 [binutils-gdb] gdb/MAINTAINERS: Update my e-mail address sergiodj+buildbot
2017-02-10 23:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-10 20:08 [binutils-gdb] Remove some ui_out-related cleanups from Python sergiodj+buildbot
2017-02-11  3:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-10 21:03 [binutils-gdb] Turn gdbpy_ref into a template sergiodj+buildbot
2017-02-11  7:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-10 23:51 [binutils-gdb] Do not send queries on secondary UIs sergiodj+buildbot
2017-02-12 11:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-11  0:55 [binutils-gdb] Remove some gotos from Python sergiodj+buildbot
2017-02-11 18:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-11  0:55 [binutils-gdb] Remove unnecessary local variables sergiodj+buildbot
2017-02-11 21:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-11  2:51 [binutils-gdb] Fix Python test to use lowercase command sergiodj+buildbot
2017-02-12  1:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-11  5:51 [binutils-gdb] new-ui.exp: Use proc_with_prefix sergiodj+buildbot
2017-02-12  8:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-11  7:43 [binutils-gdb] Fix use after free in cgen instruction lookup sergiodj+buildbot
2017-02-12 16:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-13  6:43 [binutils-gdb] sim: use ARRAY_SIZE instead of ad-hoc sizeof calculations sergiodj+buildbot
2017-02-13  9:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-13 13:29 [binutils-gdb] Make gdb.arch/i386-biarch-core.exp more robust sergiodj+buildbot
2017-02-13 16:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-13 14:23 [binutils-gdb] Fix gdb.linespec/explicit.exp sergiodj+buildbot
2017-02-13 19:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-13 15:27 [binutils-gdb] Improve load command's help text sergiodj+buildbot
2017-02-13 23:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-13 18:27 [binutils-gdb] Don't use "_gp" on RISC-V, use "_global_pointer$" instead sergiodj+buildbot
2017-02-14  7:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-13 18:49 [binutils-gdb] Fix invalid memory access in the BFD library's DWARF parser sergiodj+buildbot
2017-02-14  4:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14  9:47 [binutils-gdb] btrace: preserve call stack on function switch sergiodj+buildbot
2017-02-14 12:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 10:42 [binutils-gdb] btrace: Count gaps as one instruction explicitly sergiodj+buildbot
2017-02-14 15:27 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 10:44 [binutils-gdb] btrace: Export btrace_decode_error function sergiodj+buildbot
2017-02-14 19:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 12:24 [binutils-gdb] btrace: Use binary search to find instruction sergiodj+buildbot
2017-02-14 23:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 13:41 [binutils-gdb] Add record_start and record_stop functions sergiodj+buildbot
2017-02-15  4:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 14:37 [binutils-gdb] Add method to query current recording method to target_ops sergiodj+buildbot
2017-02-15  9:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 15:41 [binutils-gdb] python: Create Python bindings for record history sergiodj+buildbot
2017-02-15 13:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 17:02 [binutils-gdb] python: Implement btrace Python bindings for record history sergiodj+buildbot
2017-02-15 17:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 17:55 [binutils-gdb] python: Add tests for record Python bindings sergiodj+buildbot
2017-02-15 20:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 19:15 [binutils-gdb] Add documentation for new record Python bindings sergiodj+buildbot
2017-02-16 17:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-14 23:03 [binutils-gdb] Big-endian targets: Fix implptrpiece.exp sergiodj+buildbot
2017-02-17  3:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15  1:30 [binutils-gdb] Add ldn/stn single support, fix ldnr support sergiodj+buildbot
2017-02-17 10:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15  3:18 [binutils-gdb] Add self to aarch64 maintainers. Fix mla instruction sergiodj+buildbot
2017-02-17 16:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15  9:17 [binutils-gdb] Distinguish some of the registers different on ARC700 and HS38 cpus sergiodj+buildbot
2017-02-17 21:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15 11:36 [binutils-gdb] [ARC] Fix assembler relaxation sergiodj+buildbot
2017-02-18  1:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15 12:11 [binutils-gdb] Fix illegal upper case gdb cmd in chained-calls.exp sergiodj+buildbot
2017-02-18  4:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15 14:09 [binutils-gdb] PowerPC/BFD: Convert `%P: %H:' to `%H:' in error messages sergiodj+buildbot
2017-02-18  8:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15 17:26 [binutils-gdb] [AArch64] Add SVE system registers sergiodj+buildbot
2017-02-18 11:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15 18:56 [binutils-gdb] Add SFENCE.VMA instruction sergiodj+buildbot
2017-02-18 14:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15 20:09 [binutils-gdb] Add a test for R_386_GOT32/R_386_GOT32X IFUNC reloc error sergiodj+buildbot
2017-02-18 18:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-15 21:34 [binutils-gdb] i386: Allow "lea foo@GOT, %reg" in PIC sergiodj+buildbot
2017-02-18 21:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-16  1:11 [binutils-gdb] PR gdb/21164: maint print {symbols, msymbols, psymbols} without args crash sergiodj+buildbot
2017-02-19  1:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-16 10:47 [binutils-gdb] [Patch] Add BFD_LINKER_CREATED to BFD_FLAGS_SAVED sergiodj+buildbot
2017-02-19  4:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-16 13:04 [binutils-gdb] PR21132, hppa-linux pie support doesn't work sergiodj+buildbot
2017-02-19  7:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-16 14:39 [binutils-gdb] hppa -z relro again sergiodj+buildbot
2017-02-19 11:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-16 15:13 [binutils-gdb] bfd/dwarf: Improve use of previously loaded dwarf information sergiodj+buildbot
2017-02-19 14:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-16 16:18 [binutils-gdb] bfd: Improve lookup of file / line information for errors sergiodj+buildbot
2017-02-19 18:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17  1:56 [binutils-gdb] bfd: Rename real_{ftell, fseek, fopen} sergiodj+buildbot
2017-02-19 21:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17  3:05 [binutils-gdb] bfd: Rename warn_deprecated sergiodj+buildbot
2017-02-20  1:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17  4:25 [binutils-gdb] bfd: Rename bsd_write_armap and coff_write_armap sergiodj+buildbot
2017-02-20  4:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17  5:50 [binutils-gdb] bfd: Rename Chunk and S3Forced sergiodj+buildbot
2017-02-20  8:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17 10:39 [binutils-gdb] Sync up x86-gcc-cpuid.h with cpuid.h from gcc-6 branch sergiodj+buildbot
2017-02-20 12:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17 11:06 [binutils-gdb] Change xstate_bv handling to use 8 bytes of data sergiodj+buildbot
2017-02-20 15:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17 11:43 [binutils-gdb] Add support for Intel PKRU register to GDB and GDBserver sergiodj+buildbot
2017-02-21  2:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17 12:37 [binutils-gdb] Rename target descriptions to reflect actual content of description sergiodj+buildbot
2017-02-20 19:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17 13:45 [binutils-gdb] Add target description for avx-avx512 sergiodj+buildbot
2017-02-20 22:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-17 15:09 [binutils-gdb] Fix potential illegal memory access in ZLIB because of an erroneous declaration of the size of the input buffer sergiodj+buildbot
2017-02-21  6:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-19 21:43 [binutils-gdb] Fix for aarch64 sim sxtl/uxtl insns, plus another fix for addv sergiodj+buildbot
2017-02-21 10:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-20 20:29 [binutils-gdb] Code cleanup: Split create_debug_types_hash_table sergiodj+buildbot
2017-02-21 22:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-20 20:58 [binutils-gdb] Code cleanup: Split dwarf2_ranges_read to a callback sergiodj+buildbot
2017-02-22  2:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-20 22:02 [binutils-gdb] Code cleanup: Refactor abbrev_table_read_table cycle sergiodj+buildbot
2017-02-22  5:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-21  8:59 [binutils-gdb] Fix recent compiler warnings sergiodj+buildbot
2017-02-22 11:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-21 14:17 [binutils-gdb] Fix test names starting with uppercase in gdb.arch/ppc64-atomic-inst.exp sergiodj+buildbot
2017-02-22 14:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-21 17:22 [binutils-gdb] Default initialize enum flags to 0 sergiodj+buildbot
2017-02-22 20:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-21 23:12 [binutils-gdb] PowerPC ld segfault on script discarding dynamic sections sergiodj+buildbot
2017-02-23  0:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-22  0:26 [binutils-gdb] Fix a regression by: Code cleanup: Split dwarf2_ranges_read to a callback sergiodj+buildbot
2017-02-23  4:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-22  9:55 [binutils-gdb] aarch64: actually copy first operand in convert_bfc_to_bfm() sergiodj+buildbot
2017-02-23  7:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-22 19:04 [binutils-gdb] PR ld/20828: Move symbol version processing ahead of GC symbol sweep sergiodj+buildbot
2017-02-23 14:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23 11:39 [binutils-gdb] Use delete instead of xfree for varobj_item sergiodj+buildbot
2017-02-24  2:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23 12:12 [binutils-gdb] Use xfree rather than delete for varobj_iter sergiodj+buildbot
2017-02-24  6:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23 15:54 [binutils-gdb] Fix usage of inferior_ptid in two thread_alive implementations sergiodj+buildbot
2017-02-24 10:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23 19:28 [binutils-gdb] Use gdb::function_view in iterate_over_symtabs & co sergiodj+buildbot
2017-02-24 21:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-23 21:46 [binutils-gdb] PR21166: Validate rdrand/rdseed support separately in gdb.reverse/insn-reverse-x86.c sergiodj+buildbot
2017-02-25  5:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24  0:15 [binutils-gdb] MIPS/BFD: Discard ineligible JALR relocations right away sergiodj+buildbot
2017-02-25  9:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24  1:21 [binutils-gdb] MIPS/BFD: Remove duplicate NewABI JALR relocation handling sergiodj+buildbot
2017-02-25 13:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24  9:18 [binutils-gdb] x86: also correctly support TEST opcode aliases sergiodj+buildbot
2017-02-25 16:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24 16:32 [binutils-gdb] Use I386_MAX_REGISTER_SIZE and M68K_MAX_REGISTER_SIZE sergiodj+buildbot
2017-02-25 20:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24 16:45 [binutils-gdb] Remove use of MAX_REGISTER_SIZE sergiodj+buildbot
2017-02-26  0:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24 19:18 [binutils-gdb] Add new counter-enable CSRs sergiodj+buildbot
2017-02-26  5:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24 19:30 [binutils-gdb] [AArch64] Additional SVE instructions sergiodj+buildbot
2017-02-26 21:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-24 21:09 [binutils-gdb] symtab.c: Small refactor sergiodj+buildbot
2017-02-26 13:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-25  9:00 [binutils-gdb] ARC naughtiness causing assertion fail at elf-strtab.c:302 sergiodj+buildbot
2017-02-27 17:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-26  4:21 [binutils-gdb] Add missing cnt (popcount) instruction support sergiodj+buildbot
2017-02-27 21:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-26  5:34 [binutils-gdb] Add missing smov support, and clean up existing umov support sergiodj+buildbot
2017-02-28  1:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-26 16:22 [binutils-gdb] DWARF-5: Initialization due to a false compiler warning sergiodj+buildbot
2017-02-28 15:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-27 10:31 [binutils-gdb] Remove MAX_REGISTER_SIZE from remote.c sergiodj+buildbot
2017-02-28 19:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-27 11:51 [binutils-gdb] Fix segfault in microblaze linker when garbage collection removes a symbol scheduled for a slot in the PLT sergiodj+buildbot
2017-02-28 23:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-27 17:42 [binutils-gdb] Fix array out of bound access sergiodj+buildbot
2017-03-01  4:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-27 18:58 [binutils-gdb] Use range-based for loop in remote_add_target_side_condition sergiodj+buildbot
2017-03-01  8:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-27 19:30 [binutils-gdb] Remove struct keyword from range-based for loop sergiodj+buildbot
2017-03-01 12:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-28  0:57 [binutils-gdb] MIPS/BFD: Also handle `jalr $0, $25' with R_MIPS_JALR sergiodj+buildbot
2017-03-01 15:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-28  3:19 [binutils-gdb] Don't make dynamic .data.rel.ro SEC_READONLY sergiodj+buildbot
2017-03-01 20:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-28  4:22 [binutils-gdb] PowerPC addpcis fix sergiodj+buildbot
2017-03-02  0:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-28  5:23 [binutils-gdb] Nios2 dynobj handling fixes sergiodj+buildbot
2017-03-02  3:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-28 10:17 [binutils-gdb] x86: fix handling of 64-bit operand size VPCMPESTR{I, M} sergiodj+buildbot
2017-03-02  7:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-02-28 18:48 [binutils-gdb] GDB: Add support for the new set/show disassembler-options commands sergiodj+buildbot
2017-03-02 15:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-01 11:25 [binutils-gdb] Add support for displaying and merging GNU_BUILD_NOTEs sergiodj+buildbot
2017-03-02 19:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-01 15:42 [binutils-gdb] Sync libiberty sources with GCC mainline sergiodj+buildbot
2017-03-03  0:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-02  0:24 [binutils-gdb] PowerPC VLE typo fix sergiodj+buildbot
2017-03-03  4:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-02 15:11 [binutils-gdb] Disable warning message about a program header with no associated sections when that header's file size is non-zero sergiodj+buildbot
2017-03-03  8:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-03 17:35 [binutils-gdb] Fetch lazy value before calling val_print sergiodj+buildbot
2017-03-03 20:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-03 18:22 [binutils-gdb] Use range-based for loop in remote_add_target_side_commands sergiodj+buildbot
2017-03-03 23:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-03 21:27 [binutils-gdb] Fix umulh and smulh bugs. Fix bugs in last week's sumov.s testsuite sergiodj+buildbot
2017-03-04  3:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-05  4:44 [binutils-gdb] Align eh_frame FDEs according to their encoding sergiodj+buildbot
2017-03-05  7:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-06 21:27 [binutils-gdb] Remove const in xtensa-linux-nat.c:fetch_gregs sergiodj+buildbot
2017-03-06 23:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-06 23:51 [binutils-gdb] Add support for Intel CET instructions sergiodj+buildbot
2017-03-07  3:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-07  2:46 [binutils-gdb] PowerPC64 abort due to dynamic relocs on hidden undefweak sergiodj+buildbot
2017-03-07  7:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-07 13:27 [binutils-gdb] amd64-mpx: initialize BND register before performing inferior calls sergiodj+buildbot
2017-03-07 16:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-07 16:03 [binutils-gdb] Fix "layout reg" crash sergiodj+buildbot
2017-03-08  1:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-07 17:42 [binutils-gdb] Remove use of the no longer needed -mminimal-toc option sergiodj+buildbot
2017-03-08  5:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-07 18:49 [binutils-gdb] GDB: Fix some null pointer dereferences due to disassembler-options patch sergiodj+buildbot
2017-03-08 11:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-07 21:08 [binutils-gdb] Share gdb/environ.[ch] with gdbserver sergiodj+buildbot
2017-03-08 14:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08  0:56 [binutils-gdb] Move TUI testcases to new gdb/testsuite/gdb.tui/ directory sergiodj+buildbot
2017-03-08 18:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08  1:27 [binutils-gdb] Move TUI completion tests to gdb.tui/completion.exp sergiodj+buildbot
2017-03-08 22:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08  2:52 [binutils-gdb] Fix PR tui/21216: TUI line breaks regression sergiodj+buildbot
2017-03-09  2:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 13:00 [binutils-gdb] Fix PR 21218: GDB dumps core when escaping newline in multi-line command sergiodj+buildbot
2017-03-09  7:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 13:45 [binutils-gdb] "gdb.arch/i386-pkru.exp: probe PKRU support" shouldn't FAIL if not supported sergiodj+buildbot
2017-03-09 14:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 14:07 [binutils-gdb] gdb: Fix a few unstable test names sergiodj+buildbot
2017-03-09 10:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 15:51 [binutils-gdb] gdb.arch/amd64-entry-value-param*.exp: Make sure test messages are unique sergiodj+buildbot
2017-03-09 18:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 16:18 [binutils-gdb] Properly dump NT_GNU_PROPERTY_TYPE_0 sergiodj+buildbot
2017-03-09 22:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 17:58 [binutils-gdb] gdb: Fix ATTRIBUTE_NONNULL usage sergiodj+buildbot
2017-03-10  2:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 20:16 [binutils-gdb] Fix PR18360 - internal error when using "interrupt -a" sergiodj+buildbot
2017-03-10 22:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 20:33 [binutils-gdb] Add support for the new 'lnia' extended mnemonic sergiodj+buildbot
2017-03-11 19:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-08 22:52 [binutils-gdb] Avoid unstable test message in gdb.base/step-over-exit.exp sergiodj+buildbot
2017-03-12 14:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-09  3:06 [binutils-gdb] Update -maltivec and -mvsx options to only enable their oldest instructions sergiodj+buildbot
2017-03-13 10:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-09 16:05 [binutils-gdb] Use CpuCET on rdsspq sergiodj+buildbot
2017-03-14  7:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-09 16:53 [binutils-gdb] Fix compile time warnings about using possibly uninitialised variables in rs6000-core.c sergiodj+buildbot
2017-03-15  8:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-09 18:26 [binutils-gdb] X86: Add pseudo prefixes to control encoding sergiodj+buildbot
2017-03-16 10:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-10 11:14 [binutils-gdb] Add basic recognition of new EM_ ELF machine numbers sergiodj+buildbot
2017-03-17  6:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-10 18:58 [binutils-gdb] c++/8218: Destructors w/arguments sergiodj+buildbot
2017-03-18  2:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
     [not found] <@gdb-build>
2017-03-18  3:13 ` sergiodj+buildbot
2017-03-18  3:14 ` sergiodj+buildbot
2017-03-18  3:14 ` sergiodj+buildbot
2017-03-18  3:14 ` sergiodj+buildbot
2017-03-21 21:25 [binutils-gdb] testsuite: Introduce dejagnu_version sergiodj+buildbot
2017-03-22 16:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-21 21:41 [binutils-gdb] testsuite: Disable backslash_in_multi_line_command_test for old DejaGnus sergiodj+buildbot
2017-03-23 11:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-21 22:27 [binutils-gdb] gdbserver: Use pattern rule for regformats source file generation sergiodj+buildbot
2017-03-24  8:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-21 23:46 [binutils-gdb] gdbserver: Use pattern rule for objects from nat/ sergiodj+buildbot
2017-03-26 22:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  0:39 [binutils-gdb] gdbserver: Use pattern rule for objects from target/ sergiodj+buildbot
2017-03-25  5:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  0:48 [binutils-gdb] gdbserver: Use pattern rule for IPA objects from gdbserver/ sergiodj+buildbot
2017-03-28 13:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  1:03 [binutils-gdb] gdbserver: Use pattern rule for IPA objects from common/ sergiodj+buildbot
2017-03-29 10:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  1:38 [binutils-gdb] gdbserver: Use pattern rule for objects from common/ sergiodj+buildbot
2017-03-26  1:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  2:06 [binutils-gdb] Introduce regcache_get_ptid sergiodj+buildbot
2017-03-31  3:43 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  2:21 [binutils-gdb] Add asserts in target_fetch/store_registers sergiodj+buildbot
2017-04-01  6:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  2:36 [binutils-gdb] amd64-linux-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-04-02  2:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  3:26 [binutils-gdb] aarc64-linux-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-04-02 22:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  3:38 [binutils-gdb] gdbserver: Use pattern rule for objects from arch/ sergiodj+buildbot
2017-03-27 17:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  3:39 [binutils-gdb] aix-thread: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-04-03 18:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  6:11 [binutils-gdb] RISC-V: Fix [dis]assembly of srai/srli sergiodj+buildbot
2017-04-08 20:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  6:21 [binutils-gdb] inf-ptrace: Do not stop memory transfers after a single word sergiodj+buildbot
2017-04-09 17:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  6:40 [binutils-gdb] gdbserver: Use pattern rule for the remaining %-ipa.o objects sergiodj+buildbot
2017-03-30  6:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  7:47 [binutils-gdb] Fix expect for gdb.cp/m-static.exp sergiodj+buildbot
2017-04-13  4:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  8:05 [binutils-gdb] [Patch] Fix variable type glitch in inf-ptrace.c sergiodj+buildbot
2017-04-14  3:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22  8:23 [binutils-gdb] New function tyscm_scm_to_type sergiodj+buildbot
2017-04-15  0:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 10:10 [binutils-gdb] Add instruction_reader to arm process record sergiodj+buildbot
2017-04-17 15:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 10:25 [binutils-gdb] Fix arm process record for some instructions sergiodj+buildbot
2017-04-19 11:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 10:54 [binutils-gdb] Add support for a GNU BUILD note type to record the enum size sergiodj+buildbot
2017-04-22  2:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 12:42 [binutils-gdb] alpha-bsd-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-04-04 14:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 12:43 [binutils-gdb] E6500 spr mnemonics sergiodj+buildbot
2017-05-05  4:07 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 13:04 [binutils-gdb] Fix PR gdb/19637: bound_registers.py: Add support for Python 3 sergiodj+buildbot
2017-05-06  0:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 13:24 [binutils-gdb] PR remote/21188: Fix remote serial timeout sergiodj+buildbot
2017-05-06 20:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 13:41 [binutils-gdb] Restore test-cp-name-parser build sergiodj+buildbot
2017-04-05 10:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 14:08 [binutils-gdb] arm-linux-nat.c: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-05-07 16:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 14:26 [binutils-gdb] arm-nbsd-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-05-08 12:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 14:42 [binutils-gdb] linux-nat: Exploit /proc/<pid>/mem for writing sergiodj+buildbot
2017-04-06  5:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 15:22 [binutils-gdb] bsd-uthread: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-05-09  9:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 15:42 [binutils-gdb] Add test name argument to get_valueof, get_integer_valueof and get_sizeof sergiodj+buildbot
2017-04-07  1:39 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 16:13 [binutils-gdb] corelow: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-05-10  5:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 16:39 [binutils-gdb] hppa-linux-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-05-11  0:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 16:41 [binutils-gdb] Make length_of_subexp static sergiodj+buildbot
2017-04-07 21:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 17:03 [binutils-gdb] hppa-nbsd-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-07-19  4:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 17:59 [binutils-gdb] hppa-obsd-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-07-19 14:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 18:49 [binutils-gdb] i386-bsd-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-07-21 17:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 19:06 [binutils-gdb] i386-darwin-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-07-22 14:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 19:22 [binutils-gdb] i386-gnu-nat: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-07-23 10:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 19:37 [binutils-gdb] DT_TEXTREL vs IFUNC sergiodj+buildbot
2017-07-24  6:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 19:52 [binutils-gdb] PR 21266, unstable qsort in bfd/elf64-ppc.c sergiodj+buildbot
2017-07-25 10:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 20:08 [binutils-gdb] Add DW_OP_GNU_variable_value sergiodj+buildbot
2017-04-10 13:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 20:36 [binutils-gdb] s390: Fix displaced-stepping certain relative branch insns sergiodj+buildbot
2017-07-26  6:35 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 20:41 [binutils-gdb] RISC-V: Fix assembler for c.addi, rd can be x0 sergiodj+buildbot
2017-04-11  9:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 20:51 [binutils-gdb] Fix spurious FAILs with examine-backward.exp sergiodj+buildbot
2017-07-27 11:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 21:28 [binutils-gdb] Add a better diagnostic message in mi_gdb_test sergiodj+buildbot
2017-07-29 11:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 21:43 [binutils-gdb] Add -file-list-shared-libraries MI command sergiodj+buildbot
2017-07-30  7:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 22:07 [binutils-gdb] RISC-V: Fix assembler for c.li, c.andi and c.addiw sergiodj+buildbot
2017-04-12  7:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 22:25 [binutils-gdb] Add definitions for rvalue reference types sergiodj+buildbot
2017-07-31  5:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 23:28 [binutils-gdb] Add ability to return rvalue reference values from value_ref sergiodj+buildbot
2017-08-01 21:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-22 23:58 [binutils-gdb] Implement demangling for rvalue reference type names sergiodj+buildbot
2017-08-03 13:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  0:29 [binutils-gdb] Support DW_TAG_rvalue_reference type sergiodj+buildbot
2017-08-05  6:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  1:38 [binutils-gdb] Fix various python lazy string bugs sergiodj+buildbot
2017-04-15 21:00 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  1:42 [binutils-gdb] Add rvalue references to overloading resolution sergiodj+buildbot
2017-08-07 20:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  2:39 [binutils-gdb] Copy lazy string handling fixes from Python sergiodj+buildbot
2017-04-16 16:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  3:08 [binutils-gdb] Use ptid from regcache in almost all remaining nat files sergiodj+buildbot
2017-08-09 13:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  4:06 [binutils-gdb] Fix break on Python 2 sergiodj+buildbot
2017-08-11 11:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  4:21 [binutils-gdb] Decode properly flags of %ccr register on sparc64 sergiodj+buildbot
2017-08-12  7:56 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  5:15 [binutils-gdb] S/390: Remove vx2 facility flag sergiodj+buildbot
2017-08-14  3:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  5:30 [binutils-gdb] Remove remaining reference to struct serial::current_timeout sergiodj+buildbot
2017-08-15  1:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  5:40 [binutils-gdb] Support CBNZ, CBZ, REV, REV16 and REVSH in arm process record sergiodj+buildbot
2017-04-20  9:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  5:45 [binutils-gdb] windows: Use ptid from regcache in register fetch/store sergiodj+buildbot
2017-08-15 23:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  6:14 [binutils-gdb] Wrap locally used classes in anonymous namespace sergiodj+buildbot
2017-08-18  8:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  6:29 [binutils-gdb] Sync top level config files with master versions in the FSF config project sergiodj+buildbot
2017-08-19 16:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  7:41 [binutils-gdb] gdb.python/py-lazy-string (pointer): Really add new typedef sergiodj+buildbot
2017-04-27 17:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23  8:41 [binutils-gdb] Big-endian targets: Don't ignore offset into DW_OP_stack_value sergiodj+buildbot
2017-05-04  1:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23 11:28 [binutils-gdb] Fix memory leak in python.c:do_start_initialization sergiodj+buildbot
2017-08-21  2:22 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23 12:14 [binutils-gdb] Remove constness of libdir in do_start_initialization sergiodj+buildbot
2017-08-22  6:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23 15:04 [binutils-gdb] Remove AARCH64_RECORD_FAILURE sergiodj+buildbot
2017-08-22 16:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-23 15:19 [binutils-gdb] Fix code indentation sergiodj+buildbot
2017-08-24 21:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24  3:12 [binutils-gdb] Remove unused parameter in solib_add and update_solib_list sergiodj+buildbot
2017-07-28 15:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24  7:12 [binutils-gdb] Change {lookup,make}_reference_type API sergiodj+buildbot
2017-08-01  1:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24  9:10 [binutils-gdb] Support rvalue reference type in parser sergiodj+buildbot
2017-08-02 17:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24 11:12 [binutils-gdb] Implement printing of rvalue reference types and values sergiodj+buildbot
2017-08-04  9:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24 13:22 [binutils-gdb] Support rvalue references in the gdb python module (includes doc/) sergiodj+buildbot
2017-08-06  3:17 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24 14:23 [binutils-gdb] Convert lvalue reference type check to general reference type check sergiodj+buildbot
2017-08-06 23:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24 16:24 [binutils-gdb] Add rvalue reference tests and docs sergiodj+buildbot
2017-08-08 16:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24 18:26 [binutils-gdb] spu: Use ptid from regcache instead of inferior_ptid sergiodj+buildbot
2017-08-10 15:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-24 21:27 [binutils-gdb] arc/nps400: Add cp16/cp32 instructions to opcodes library sergiodj+buildbot
2017-08-13  7:02 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-25  1:28 [binutils-gdb] Import sys in gdb/python/lib/gdb/printer/bound_registers.py sergiodj+buildbot
2017-08-16 19:57 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-03-25  4:31 [binutils-gdb] Remove lwp -> pid conversion in linux_nat_xfer_partial sergiodj+buildbot
2017-08-20 11:53 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-24 21:53 [binutils-gdb] Remove unused function set_inferior_target_data sergiodj+buildbot
2017-08-31 16:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
     [not found] <74081948353b117fcbe870fc3cc9ebe0f18fdcf8@gdb-build>
2017-08-25  9:10 ` sergiodj+buildbot
2017-08-25  9:18 [binutils-gdb] gdbserver: Rename some functions, thread -> inferior sergiodj+buildbot
2017-09-01 13:46 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-26  0:39 [binutils-gdb] x86: Remove redundant "symbol" in comments sergiodj+buildbot
2017-09-02 12:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-26  1:01 [binutils-gdb] remove param "dispp" from ada-lang.c::ada_lookup_struct_elt_type sergiodj+buildbot
2017-09-03  5:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
     [not found] <f1902523c9b7941775a2c64af89de0f111b8924c@gdb-build>
2017-08-26 11:53 ` sergiodj+buildbot
2017-08-26 11:54 [binutils-gdb] PowerPC TPREL reloc handling sergiodj+buildbot
2017-09-04  1:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-27  2:54 [binutils-gdb] Disallow copy relocation against protected data symbol sergiodj+buildbot
2017-09-04 23:16 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-27 14:46 [binutils-gdb] x86: Initialize def_protected sergiodj+buildbot
2017-09-07 11:33 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
     [not found] <34bb2571d40e1ca323a1b60e0827a25047890faa@gdb-build>
2017-08-28 13:26 ` sergiodj+buildbot
2017-08-28 18:53 [binutils-gdb] x86: Check for valid PLT section size sergiodj+buildbot
2017-09-08 11:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-28 21:32 [binutils-gdb] define_command: Don't convert command name to lower case sergiodj+buildbot
2017-09-09 12:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-28 22:28 [binutils-gdb] gdb.base/commands.exp: Remove unused global references sergiodj+buildbot
2017-09-11  7:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
     [not found] <7073b5b9edc9e06974bd733b7e4b3845d6d6f690@gdb-build>
2017-08-28 22:45 ` sergiodj+buildbot
2017-08-28 23:21 [binutils-gdb] Remove unused _bfd_elf_ifunc_get_synthetic_symtab sergiodj+buildbot
2017-09-12  6:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-29 13:35 [binutils-gdb] Fix simulation of MSP430's open system call sergiodj+buildbot
2017-09-13 11:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-29 18:16 [binutils-gdb] x86: Check valid PLT sections before checking dynamic relocations sergiodj+buildbot
2017-09-14  9:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-29 18:56 [binutils-gdb] x86: Simplify bad return in get_synthetic_symtab sergiodj+buildbot
2017-09-15  6:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-29 21:02 [binutils-gdb] Add elfxx-x86.h and elfxx-x86.c sergiodj+buildbot
2017-09-16 12:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-29 22:11 [binutils-gdb] x86: Re-indent elf32-i386.c/elf64-x86-64.c sergiodj+buildbot
2017-09-17 14:37 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-29 23:07 [binutils-gdb] Look for FIR in the last FreeBSD/mips floating-point register sergiodj+buildbot
2017-09-18 10:36 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-30 11:36 [binutils-gdb] PowerPC64 __tls_get_addr sequence optimization sergiodj+buildbot
2017-09-19  5:40 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-30 12:05 [binutils-gdb] PowerPC TPREL16_HA/LO reloc optimization sergiodj+buildbot
2017-09-20  4:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-30 12:51 [binutils-gdb] Remove elf_x86_64_next_tls_desc_index/elf_x86_64_srelplt2 sergiodj+buildbot
2017-09-20 22:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-30 13:41 [binutils-gdb] Call _close_and_cleanup in bfd_close_all_done sergiodj+buildbot
2017-09-21 19:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-30 15:38 [binutils-gdb] MIPS/BFD: Correct microMIPS cross-mode BAL to JALX relaxation sergiodj+buildbot
2017-09-22 15:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-30 16:30 [binutils-gdb] x86: Add _bfd_x86_elf_link_hash_table_create sergiodj+buildbot
2017-09-23 17:45 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-08-30 18:41 [binutils-gdb] x86: Check target_id instead of elf_machine_code sergiodj+buildbot
2017-09-24  8:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
     [not found] <663c44ac4d4336e99c282705b1d289b365b273d3@gdb-build>
2017-08-30 19:48 ` sergiodj+buildbot
2017-10-04 17:39 [binutils-gdb] Reimplement support for "maint print registers" with no running inferior yet sergiodj+buildbot
2017-10-09 17:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-04 17:39 [binutils-gdb] Fix "Remote 'g' packet reply is too long" problems with multiple inferiors sergiodj+buildbot
2017-10-10 14:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-04 17:39 [binutils-gdb] Redesign mock environment for gdbarch selftests sergiodj+buildbot
2017-10-05 13:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-04 23:08 [binutils-gdb] PR21167, relocation sections not included in groups sergiodj+buildbot
2017-10-11  6:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05  1:09 [binutils-gdb] bfd_error_on_input is for archives sergiodj+buildbot
2017-10-11 21:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05  1:42 [binutils-gdb] bfd_set_input_error sergiodj+buildbot
2017-10-12 18:32 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05  4:45 [binutils-gdb] Update my email address sergiodj+buildbot
2017-10-13 11:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 13:02 [binutils-gdb] tile: Dump dynamic relocation info to the map file sergiodj+buildbot
2017-10-14  8:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 17:00 [binutils-gdb] Handle FreeBSD-specific AT_EHDRFLAGS and AT_HWCAP auxiliary vector types sergiodj+buildbot
2017-10-15  0:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 17:00 [binutils-gdb] Add a signal frame unwinder for FreeBSD/mipsn32 sergiodj+buildbot
2017-10-16  6:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 17:00 [binutils-gdb] Handle the NT_ARM_VFP core dump note on FreeBSD sergiodj+buildbot
2017-10-15 15:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 17:18 [binutils-gdb] Clean up includes of doublest.h and floatformat.h sergiodj+buildbot
2017-10-17  3:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 17:18 [binutils-gdb] Clean up some DFP interfaces sergiodj+buildbot
2017-10-17 18:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 17:18 [binutils-gdb] Remove unused "union agent_val" from ax.h sergiodj+buildbot
2017-10-18 11:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-05 17:35 [binutils-gdb] Fix fork-related regressions on GNU/Linux sergiodj+buildbot
2017-10-19  2:14 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  1:11 [binutils-gdb] powerpc: Dump dynamic relocation info to the map file sergiodj+buildbot
2017-10-19 17:28 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:18 [binutils-gdb] x86: Add TLS_TRANSITION_IE_TO_LE_P sergiodj+buildbot
2017-10-20  8:29 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:26 [binutils-gdb] x86: Add NEED_DYNAMIC_RELOCATION_P sergiodj+buildbot
2017-10-21  1:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:30 [binutils-gdb] Add RESOLVED_LOCALLY_P sergiodj+buildbot
2017-10-21 18:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:36 [binutils-gdb] x86: Add GENERATE_RELATIVE_RELOC_P sergiodj+buildbot
2017-10-22  9:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:42 [binutils-gdb] x86: Add POINTER_LOCAL_IFUNC_P/PLT_LOCAL_IFUNC_P sergiodj+buildbot
2017-10-23  1:15 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:44 [binutils-gdb] x86: Add GENERATE_DYNAMIC_RELOCATION_P sergiodj+buildbot
2017-10-23 15:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:49 [binutils-gdb] x86: Add COPY_INPUT_RELOC_P sergiodj+buildbot
2017-10-24  6:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:51 [binutils-gdb] x86: Add VERIFY_PLT_ENTRY sergiodj+buildbot
2017-10-24 21:25 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  7:54 [binutils-gdb] x86: Add VERIFY_COPY_RELOC sergiodj+buildbot
2017-10-25 11:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06  9:53 [binutils-gdb] gdb: Fix decoding of ARM neon memory hint insns sergiodj+buildbot
2017-10-26  1:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 10:17 [binutils-gdb] [RFC] Replicate src dir in build dir sergiodj+buildbot
2017-10-26 16:13 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 10:23 [binutils-gdb] Share code updating gdb_target_obs sergiodj+buildbot
2017-10-27  8:04 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 10:53 [binutils-gdb] Fix GDB build under msys+mingw gcc 32bit sergiodj+buildbot
2017-10-27 22:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 11:06 [binutils-gdb] Fix more GDB build breakage on mingw32 sergiodj+buildbot
2017-10-28 14:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 12:54 [binutils-gdb] Add "do/while(0); " to COPY_INPUT_RELOC_P/VERIFY_COPY_RELOC sergiodj+buildbot
2017-10-29  4:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 13:11 [binutils-gdb] Move i386.o to arch/i386.o sergiodj+buildbot
2017-10-29 20:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 13:38 [binutils-gdb] Move arm.o arm-get-next-pcs.o arm-linux.o to arch/ sergiodj+buildbot
2017-10-30 10:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 13:56 [binutils-gdb] Move aarch64-insn.o to arch/aarch64-insn.o and Remove a rule for arch/*.c sergiodj+buildbot
2017-10-31  2:34 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 21:43 [binutils-gdb] Account for padding in FreeBSD/mipsn32 NT_PRSTATUS notes sergiodj+buildbot
2017-10-31 18:39 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-06 22:49 [binutils-gdb] Skip gdb.mi/mi-threads-interrupt.exp if nointerrupts sergiodj+buildbot
2017-11-01  8:58 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-07  0:08 [binutils-gdb] x86: Update UNDEFINED_WEAK_RESOLVED_TO_ZERO comments sergiodj+buildbot
2017-11-02 16:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-07  1:04 [binutils-gdb] x86: Use zero_undefweak in elf_x86_link_hash_entry sergiodj+buildbot
2017-11-02  0:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-08  0:51 [binutils-gdb] sparc: Dump dynamic relocation info to the map file sergiodj+buildbot
2017-11-03  8:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-08 20:47 [binutils-gdb] Reformat elf_x86_allocate_dynrelocs sergiodj+buildbot
2017-11-06  5:55 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-08 21:53 [binutils-gdb] tilegx: Set this_hdr.sh_entsize only if section size > 0 sergiodj+buildbot
2017-11-06 21:48 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  0:35 [binutils-gdb] sparc: Remove a strayed comment sergiodj+buildbot
2017-11-07 13:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  1:20 [binutils-gdb] sh: Dump dynamic relocation info to the map file sergiodj+buildbot
2017-11-08  9:12 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  5:11 [binutils-gdb] PR22212, memory leak in nm sergiodj+buildbot
2017-11-09  0:50 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  5:31 [binutils-gdb] Change search_symbols to return std::vector sergiodj+buildbot
2017-11-09 15:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  5:51 [binutils-gdb] Remove make_cleanup_value_free sergiodj+buildbot
2017-11-10  6:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  7:27 [binutils-gdb] Remove some cleanups from dwarf2read.c sergiodj+buildbot
2017-11-11 12:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09  8:52 [binutils-gdb] Remove cleanup from frame_prepare_for_sniffer sergiodj+buildbot
2017-11-10 20:41 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 12:16 [binutils-gdb] Fix gdb.base/print-file-var-main.c value check logic sergiodj+buildbot
2017-11-12  3:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 15:34 [binutils-gdb] Make cp_remove_params return a gdb::unique_xmalloc_ptr sergiodj+buildbot
2017-11-12 17:44 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 16:13 [binutils-gdb] Fix automatic dependency tracking sergiodj+buildbot
2017-11-13  7:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 17:35 [binutils-gdb] S/390: Sync with IBM z14 POP - SI_RD format sergiodj+buildbot
2017-11-14  0:26 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 17:56 [binutils-gdb] S/390: Sync with latest POP - 3 new instructions sergiodj+buildbot
2017-11-14 14:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 18:14 [binutils-gdb] Don't try building gdb against guile-2.2 sergiodj+buildbot
2017-11-15  5:54 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 19:00 [binutils-gdb] Use gdbarch_long_bit to determine layout of FreeBSD siginfo_t sergiodj+buildbot
2017-11-15 20:10 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 19:41 [binutils-gdb] gdb.multi/multi-arch-exec.exp: Also test -m32 => -m64 sergiodj+buildbot
2017-11-17  1:24 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 21:45 [binutils-gdb] Multi-arch exec, more register reading avoidance sergiodj+buildbot
2017-11-16 10:30 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-09 22:40 [binutils-gdb] mn10300: Don't free cached internal symbol table sergiodj+buildbot
2017-11-18  5:31 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10  0:03 [binutils-gdb] Remove "do_nothing" sergiodj+buildbot
2017-11-18 23:11 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10  0:15 [binutils-gdb] bfin: Don't create .interp section for info->nointerp sergiodj+buildbot
2017-11-17 15:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10  0:23 [binutils-gdb] Remove free_splay_tree cleanup sergiodj+buildbot
2017-11-19 15:06 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10  5:29 [binutils-gdb] Prepare powerpc64 for late check_relocs sergiodj+buildbot
2017-11-20  6:49 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10  5:49 [binutils-gdb] riscv: Cache the max alignment of output sections sergiodj+buildbot
2017-11-20 21:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10 16:08 [binutils-gdb] [ARM] PR ld/21402, only override the symbol dynamic decision on undefined weak symbol sergiodj+buildbot
2017-11-21 16:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10 16:39 [binutils-gdb] Eliminate catch_errors sergiodj+buildbot
2017-11-22  7:47 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10 17:00 [binutils-gdb] Eliminate catch_exceptions/catch_exceptions_with_msg sergiodj+buildbot
2017-11-22 22:18 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10 19:34 [binutils-gdb] get_integer_valueof: Don't output value in test name sergiodj+buildbot
2017-11-23 14:01 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-10 23:19 [binutils-gdb] x86: Set GOT refcount to 1 sergiodj+buildbot
2017-11-24 11:20 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11  8:11 [binutils-gdb] Flash memory size not aligned to address sergiodj+buildbot
2017-11-25  2:42 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 10:21 [binutils-gdb] Remove unnecessary parentheses in declarations sergiodj+buildbot
2017-11-27  8:52 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 12:08 [binutils-gdb] Rename _doprnt -> _bfd_doprnt to fix DJGPP bfd build (and likely others) sergiodj+buildbot
2017-11-28  4:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 13:11 [binutils-gdb] arc: Pass proper CPU value to the disassembler sergiodj+buildbot
2017-11-28 19:21 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 14:08 [binutils-gdb] Use std::vector for symtab_fns sergiodj+buildbot
2017-11-29 10:05 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 14:30 [binutils-gdb] Garbage collect reattach_breakpoints sergiodj+buildbot
2017-12-01 17:09 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 15:19 [binutils-gdb] ELF/BFD: Fix padding in `elf_external_linux_prpsinfo64' sergiodj+buildbot
2017-12-02 15:59 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 16:09 [binutils-gdb] ELF/BFD, GDB: Handle both variants of the 32-bit Linux core PRPSINFO note sergiodj+buildbot
2017-12-03  6:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 16:30 [binutils-gdb] ELF/BFD: Handle both variants of the 64-bit Linux core PRPSINFO note sergiodj+buildbot
2017-12-11 20:19 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 16:50 [binutils-gdb] GDB: Remove Linux core PRPSINFO note writer override sergiodj+buildbot
2017-12-12 17:51 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 20:03 [binutils-gdb] Add FreeBSD/arm architecture sergiodj+buildbot
2017-12-13  8:03 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 20:32 [binutils-gdb] Add native target for FreeBSD/arm sergiodj+buildbot
2017-12-13 22:38 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master sergiodj+buildbot
2017-10-11 22:32 [binutils-gdb] Remove some cleanups from breakpoint.c sergiodj+buildbot
2017-12-14 13:23 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, branch master 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).