public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  jankratochvil/gdbserverbuildid: ea11f1f08abbb9a19140ab33174803f224f25a78
@ 2014-02-25 23:29 jkratoch
  0 siblings, 0 replies; only message in thread
From: jkratoch @ 2014-02-25 23:29 UTC (permalink / raw)
  To: archer-commits

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 524068 bytes --]

The branch, jankratochvil/gdbserverbuildid has been created
        at  ea11f1f08abbb9a19140ab33174803f224f25a78 (commit)

- Log -----------------------------------------------------------------
commit ea11f1f08abbb9a19140ab33174803f224f25a78
Merge: 7bad875 bc529e5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 22:04:11 2014 +0100

    Merge branch 'common-mergehex-empty-moveprep-move-attrgen-validate' into common-mergehex-empty-moveprep-move-attrgen-validate-tests

commit bc529e5b1265bbf57f0c31019ca2c2edf704494f
Merge: 34f799f 9c77c90
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 22:03:44 2014 +0100

    Merge branch 'common-mergehex-empty-moveprep-move-attrgen' into common-mergehex-empty-moveprep-move-attrgen-validate
    
    Conflicts:
    	gdb/solib-sunos.c
    	gdb/solib-svr4.c
    	gdb/solib.c
    	gdb/solib.h
    	gdb/solist.h

commit 9c77c90aecb60a4a4b9c15378f82a02df1c640f1
Merge: a358917 aee49f8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 21:41:56 2014 +0100

    Merge branch 'common-mergehex-empty-moveprep-move' into common-mergehex-empty-moveprep-move-attrgen

commit aee49f818113a8b1c9d700671cc69ee75d3b6fa5
Merge: 671f540 ebc59ea
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 21:41:53 2014 +0100

    Merge branch 'common-mergehex-empty-moveprep' into common-mergehex-empty-moveprep-move
    
    Conflicts:
    	gdb/linux-tdep.c

commit ebc59eaa68e272d0e91b8eb4012f5042b4715cf4
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 21:41:22 2014 +0100

    .

commit a3589175ebe2c522e7986004ecad7d77d0eac961
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 21:40:36 2014 +0100

    .

commit 4e991a91cef609c4e62c2724c5d86b1196de9148
Merge: 27ac6a4 671f540
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 21:34:44 2014 +0100

    Merge branch 'common-mergehex-empty-moveprep-move' into common-mergehex-empty-moveprep-move-attrgen
    
    Conflicts:
    	gdb/gdbserver/linux-low.c

commit 671f540943a228e0c498941b6a96c142cd412434
Merge: eb77327 792a512
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 21:31:04 2014 +0100

    Merge branch 'common-mergehex-empty-moveprep' into common-mergehex-empty-moveprep-move
    
    Conflicts:
    	gdb/linux-tdep.c
    	gdb/target.c

commit 792a5126810b4cf12c54c8addaf4d1b8cfea9958
Merge: fefe662 56ef5fd
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 21:16:54 2014 +0100

    Merge branch 'common-mergehex-empty' into common-mergehex-empty-moveprep
    
    Conflicts:
    	gdb/linux-tdep.c

commit 56ef5fdbedd95e88becacf29099cbab3897de6ed
Merge: 8bca9b0 595ac33
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 21:14:47 2014 +0100

    Merge branch 'common-mergehex' into common-mergehex-empty
    
    Conflicts:
    	gdb/Makefile.in
    	gdb/gdbserver/Makefile.in
    	gdb/gdbserver/configure.srv

commit 595ac3366074ea60f819ec83d50275b7774920f0
Merge: 33702ef 679ede1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 21:01:52 2014 +0100

    Merge branch 'common' into common-mergehex
    
    Conflicts:
    	gdb/common/common-utils.c
    	gdb/common/common-utils.h
    	gdb/gdbserver/remote-utils.c
    	gdb/gdbserver/server.h
    	gdb/gdbserver/tracepoint.c
    	gdb/remote.c

commit 679ede16a90f974d60f6f1ad3302d58af02a3fe0
Merge: 40acb6e f91d941
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 19:59:19 2014 +0100

    Merge branch 'master' into common
    
    Conflicts:
    	gdb/common/common-utils.h
    	gdb/remote.c
    	gdb/remote.h

commit 7bad875e11ec95dee65a2857d26dcc0fcc52105e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 19:53:18 2014 +0100

    .

commit 34f799f0688c57ec79077b5a67f7f9b3fa757460
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 19:52:47 2014 +0100

    .

commit 27ac6a4009aec533a8bb521910bc2bb470a94f99
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 19:52:25 2014 +0100

    .

commit eb77327ca89ef69192321c879681833782d66ddb
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 19:51:55 2014 +0100

    .

commit fefe6627e443ba5e07f4ce900f7c4ba2c46eeea6
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 19:51:27 2014 +0100

    .

commit 8bca9b068d7cd885c09287ca2b341b68370e8862
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 19:50:51 2014 +0100

    .

commit 33702ef371203c2f60d7acfc7171ea4f7425f5db
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 19:50:01 2014 +0100

    .

commit 40acb6e23877e92f9a25bb1aafbbf21a23e956e0
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 25 19:49:32 2014 +0100

    .

commit f91d941da8fd3ffe4cc0eb2d0797d2dccf33af80
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Feb 25 09:30:39 2014 +1030

    daily update

commit eddf0baefe616104691f026987c9a74693cc45f2
Author: Doug Evans <dje@google.com>
Date:   Mon Feb 24 14:01:45 2014 -0800

    	* value.c (record_latest_value): Fix comment.
    	* printcmd.c (print_command_1): Remove code to handle -1 return from
    	record_latest_value.

commit 50cc37c8491b151ac4fd22d8bd45387bf3cb75da
Author: Doug Evans <dje@google.com>
Date:   Mon Feb 24 13:39:14 2014 -0800

    lib/gdb.exp (run_on_host): Log error output if program fails.

commit e96027e0d9b0a600aabd2c1c7cfdde6ce6d076e8
Author: Pedro Alves <palves@redhat.com>
Date:   Wed Feb 19 20:29:31 2014 +0000

    procfs.c: Don't install a deprecated_xfer_memory method
    
    This removes yet another instance of a deprecated_xfer_memory user,
    and fixes a nasty regression as a side-effect:
    
        (gdb) start
        Temporary breakpoint 1 at 0x19070: file simple_main.adb, line 4.
        Starting program: /[...]/simple_main
        Warning:
        Cannot insert breakpoint 1.
        Cannot access memory at address 0x19070
        Cannot insert breakpoint -3.
        Temporarily disabling shared library breakpoints:
        breakpoint #-3
    
    The regression was introduced by the to_xfer_partial transition
    to return a status enum.  procfs_xfer_partial was updated but
    not the case where object is TARGET_OBJECT_MEMORY.  As result,
    procfs_xfer_partial was returning the length xfered rather than
    the status, and the xfered buffer was left uninitialized.
    
    gdb/
    2014-02-19  Pedro Alves  <palves@redhat.com>
    
    	* procfs.c (procfs_target): Don't install procfs_xfer_memory as
    	deprecated_xfer_memory hook.
    	(procfs_xfer_partial): Call procfs_xfer_memory instead
    	of the deprecated_xfer_memory target hook.
    	(procfs_xfer_memory): Adjust interface as a to_xfer_partial
    	helper.

commit 0837c976950e347cc48a1c55c6c8d60fc710c168
Author: Yuanhui Zhang <asmwarrior@gmail.com>
Date:   Mon Feb 24 15:22:10 2014 +0800

    Fix a GDB assert failure on windows
    
    A GDB internal error is found on native mingw32 target.
    
    (gdb) run
    ../../binutils-gdb/gdb/target.c:1483: internal-error:
    target_xfer_partial: Assertion `*xfered_len > 0' failed.
    A problem internal to GDB has been detected,
    further debugging may prove unreliable.
    Quit this debugging session? (y or n)
    
    This error was introduced by the following snippet in commit
    9b409511d07fe375284701af34909fb539029caf
    
    > @@ -2536,27 +2538,30 @@ windows_xfer_shared_libraries (struct target_ops *ops,
    >      }
    >
    >    obstack_free (&obstack, NULL);
    > -  return len;
    > +  *xfered_len = (ULONGEST) len;
    > +  return TARGET_XFER_OK;
    >  }
    
    In the original code, len is returned, which could be 0, but after that
    commit, only TARGET_XFER_OK is returned, which is wrong.  If len is 0,
    TARGET_XFER_EOF should be returned.  (it is 0 in enum
    target_xfer_status declaration).
    
    gdb:
    
    2014-02-24  Yuanhui Zhang  <asmwarrior@gmail.com>
    
    	* windows-nat.c (windows_xfer_shared_libraries): Return
    	TARGET_XFER_EOF if LEN is zero to fix an assert failure when
    	requested object is TARGET_OBJECT_LIBRARIES.

commit bc113b4e3e6a47e0a5f351a3b9406fa0b1584dbe
Author: Yao Qi <yao@codesourcery.com>
Date:   Sun Feb 23 14:34:29 2014 +0800

    Rename TARGET_XFER_E_UNAVAILABLE to TARGET_XFER_UNAVAILABLE
    
    Nowadays, TARGET_XFER_E_UNAVAILABLE isn't regarded as an error in
    to_xfer_partial interface, so _E_ looks odd.  This patch is to
    replace TARGET_XFER_E_UNAVAILABLE with TARGET_XFER_UNAVAILABLE,
    and change its value from -2 to 2.  Since there is no comparison
    on the value of 'enum target_xfer_status', so it should be safe.
    
    gdb:
    
    2014-02-24  Yao Qi  <yao@codesourcery.com>
    
    	* target.h (enum target_xfer_status)
    	<TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
    	<TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
    	explicitly.  New.
    	* corefile.c (memory_error_message): User updated.
    	* exec.c (section_table_read_available_memory): Likewise.
    	* record-btrace.c (record_btrace_xfer_partial): Likewise.
    	* target.c (target_xfer_status_to_string): Likewise.
    	(raw_memory_xfer_partial): Likewise.
    	(memory_xfer_partial_1, target_xfer_partial): Likewise.
    	* valops.c (read_value_memory): Likewise.
    	* exec.h: Update comments.

commit 01cb880427d5fe2f652ca8b455012fd05ae962ac
Author: Yao Qi <yao@codesourcery.com>
Date:   Sun Feb 23 14:27:17 2014 +0800

    Tweak target_xfer_status_to_string
    
    This patch tweaks target_xfer_status_to_string on comments and argument
    name.
    
    gdb:
    
    2014-02-24  Yao Qi  <yao@codesourcery.com>
    
    	* target.c (target_xfer_status_to_string): Rename argument err
    	to status.
    	* target.h (target_xfer_status_to_string): Update declaration.
    	Replace target_xfer_error_to_string with
    	target_xfer_status_to_string in comment.

commit 93063aa69bbd3f19faa85baefd1b7fa9363a6790
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Feb 24 12:03:05 2014 +0800

    Unbreak mips native build
    
    When I build mips native gdb today, I get the follow error,
    
    ../../../git/gdb/mips-linux-nat.c: In function '_initialize_mips_linux_nat':
    ../../../git/gdb/mips-linux-nat.c:792:15: error: assignment from incompatible pointer type [-Werror]
    cc1: all warnings being treated as errors
    
    It looks an oversight of recent target_ops delegation patches.  This
    patch is to fix the build error.
    
    gdb:
    
    2014-02-24  Yao Qi  <yao@codesourcery.com>
    
    	* mips-linux-nat.c (super_close): Update its type.
    	(mips_linux_close): Pass 'self' to super_close.

commit 5c328c057e963faacc50796c650a5feb06762c67
Author: Yao Qi <yao@codesourcery.com>
Date:   Sun Feb 23 12:24:08 2014 +0800

    Remove TARGET_XFER_STATUS_ERROR_P
    
    This patch removes macro TARGET_XFER_STATUS_ERROR_P, as Pedro pointed
    out during patches review that TARGET_XFER_STATUS_ERROR_P tends to
    be unnecessary.
    
    gdb:
    
    2014-02-24  Yao Qi  <yao@codesourcery.com>
    
    	* target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
    	* corefile.c (read_memory): Adjusted.
    	* target.c (target_write_with_progress): Adjusted.

commit 605a662f6ad5841f77467727bad6611234f232cc
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Feb 24 09:30:35 2014 +1030

    daily update

commit f73023dd06cb038bdb212d05064b03e38fd7d9db
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Dec 16 21:13:36 2013 +0800

    Revert previous tweaks
    
    As we migrate to the new to_xfer_partial interface, some of previous
    tweaks become unnecessary, we don't have to check traceframe is
    selected in each target implementation, so this patch below is
    reverted.
    
      [PATCH] Send qXfer:traceframe-info:read when traceframe is selected.
      https://sourceware.org/ml/gdb-patches/2013-10/msg00752.html
    
    Third, to_traceframe_info is only called when traceframe is selected,
    that means it is only called when target is remote, tfile or ctf, so
    this patch can be partially reverted,
    
      https://sourceware.org/ml/gdb-patches/2013-04/msg00000.html
    
    gdb:
    
    2014-02-23  Yao Qi  <yao@codesourcery.com>
    
    	Revert two patches:
    
    	2013-10-25  Yao Qi  <yao@codesourcery.com>
    
    	* remote.c (remote_traceframe_info): Return early if
    	traceframe is not selected.
    
    	2013-07-19  Yao Qi  <yao@codesourcery.com>
    
    	* target.c (update_current_target): Change the default action
    	of 'to_traceframe_info' from tcomplain to return_zero.
    	* target.h (struct target_ops) <to_traceframe_info>: Add more
    	comments.

commit 5a2eb0ef7f9b879c2bbe7b18183353e1d59c93c7
Author: Yao Qi <yao@codesourcery.com>
Date:   Tue Nov 5 09:50:21 2013 +0800

    Adjust read_value_memory to use to_xfer_partial
    
    As the new to_xfer_partial implementations are done in ctf and tfile
    targets, read_value_memory can be simplified a lot.  Call
    target_xfer_partial in a loop, check return value, and set bytes
    unavailable when necessary.
    
    gdb:
    
    2014-02-23  Yao Qi  <yao@codesourcery.com>
    
    	* valops.c (read_value_memory): Rewrite it.  Call
    	target_xfer_partial in a loop.
    	* exec.h (section_table_available_memory): Remove declaration.
    	Move comments to ...
    	* exec.c (section_table_available_memory): ... here.  Make it static.

commit 1ee79381dd9cc2438a61fe4a96294682744d2458
Author: Yao Qi <yao@codesourcery.com>
Date:   Tue Feb 11 12:20:05 2014 +0800

    Use new to_xfer_partial interface in ctf and tfile target
    
    This patch adjust both ctf and tfile target implementation of to_xfer_partial,
    to return TARGET_XFER_E_UNAVAILABLE and set *XFERED_LEN if data is
    unavailable.  Note that some code on xfer in exec.c can be shared, but
    we can do it in a separate pass later.
    
    gdb:
    
    2014-02-23  Yao Qi  <yao@codesourcery.com>
    
    	* exec.c (section_table_read_available_memory): New function.
    	* exec.h (section_table_read_available_memory): Declare.
    	* ctf.c (ctf_xfer_partial): Call
    	section_table_read_available_memory.
    	* tracefile-tfile.c (tfile_xfer_partial): Likewise.

commit 1ca49d376dec6a93e879bc9456617622d7e349b3
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Feb 10 17:17:32 2014 +0800

    Share code on to_xfer_partial for tfile and ctf target
    
    In the to_xfer_partial implementations of ctf and tfile, the code on
    reading from read-only sections is duplicated.  This patch moves it to
    a separate function exec_read_partial_read_only.
    
    gdb:
    
    2014-02-23  Yao Qi  <yao@codesourcery.com>
    
    	* ctf.c (ctf_xfer_partial): Move code to ...
    	* exec.c (exec_read_partial_read_only): ... it.  New function.
    	* tracefile-tfile.c (tfile_xfer_partial): Likewise.
    	* tracefile.c: Include "exec.h".
    	* exec.h (exec_read_partial_read_only): Declare.

commit a283690eb7320dfe4074301c673f6cc3dd21fb11
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Feb 10 15:28:33 2014 +0800

    Let tracefile has_memory and has_all_memory.
    
    At present, tfile target thinks it has memory but ctf doesn't.
    This is an oversight when I added ctf target support.  This patch
    moves the implementations of to_has_all_memory and to_has_memory to
    upper layer.  After this change, both tfile and ctf target think
    they have memory.
    
    gdb:
    
    2014-02-23  Yao Qi  <yao@codesourcery.com>
    
    	* tracefile-tfile.c (tfile_has_all_memory): Remove.
    	(tfile_has_memory): Remove.
    	(init_tfile_ops): Don't set fields to_has_all_memory and
    	to_has_memory of tfile_ops.
    	* tracefile.c (tracefile_has_all_memory): New function.
    	(tracefile_has_memory): New function.
    	(init_tracefile_ops): Initialize fields to_has_all_memory and
    	to_has_memory of 'ops'.

commit 12e03cd06ada8ca7e62fa52aa84946256c1bc654
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Feb 10 15:22:55 2014 +0800

    Share some code between ctf and tfile target.
    
    This patch move the duplicated code between tfile and ctf
    targets into file tracefile.c.  The common part of target_ops
    fields are set in init_tracefile_ops.
    
    gdb:
    
    2014-02-23  Yao Qi  <yao@codesourcery.com>
    
    	* ctf.c (ctf_has_stack, ctf_has_registers): Remove.
    	(ctf_thread_alive, ctf_get_trace_status): Remove.
    	(init_ctf_ops): Don't set some fields of ctf_ops.  Call
    	init_tracefile_ops.
    	* tracefile-tfile.c (tfile_get_trace_status): Remove.
    	(tfile_has_stack, tfile_has_registers): Remove.
    	(tfile_thread_alive): Remove.
    	(init_tfile_ops): Don't set some fields of tfile_ops.  Call
    	init_tracefile_ops.
    	* tracefile.c (tracefile_has_stack): New function.
    	(tracefile_has_registers): New function.
    	(tracefile_thread_alive): New function.
    	(tracefile_get_trace_status): New function.
    	(init_tracefile_ops): New function.
    	* tracefile.h (init_tracefile_ops): Declare.

commit 11395323794268a9945dd31eb46905e975d87b3d
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Feb 10 14:38:26 2014 +0800

    Move tfile target to tracefile-tfile.c
    
    This patch moves tfile target related code from tracepoint.c to
    tracefile-tfile.c.
    
    gdb:
    
    2014-02-23  Yao Qi  <yao@codesourcery.com>
    
    	* tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
    	(O_LARGEFILE): Likewise.
    	(tfile_ops): Likewise.
    	(TRACE_HEADER_SIZE): Likewise.
    	(trace_fd, trace_frames_offset, cur_offset): Likewise.
    	(cur_data_size): Likewise.
    	(tfile_read, tfile_open, tfile_interp_line): Likewise.
    	(tfile_close, tfile_files_info): Likewise.
    	(tfile_get_trace_status): Likewise.
    	(tfile_get_tracepoint_status): Likewise.
    	(tfile_get_traceframe_address): Likewise.
    	(tfile_trace_find, match_blocktype): Likewise.
    	(traceframe_walk_blocks, traceframe_find_block_type): Likewise.
    	(tfile_fetch_registers, tfile_xfer_partial): Likewise.
    	(tfile_get_trace_state_variable_value): Likewise.
    	(tfile_has_all_memory, tfile_has_memory): Likewise.
    	(tfile_has_stack, tfile_has_registers): Likewise.
    	(tfile_thread_alive, build_traceframe_info): Likewise.
    	(tfile_traceframe_info, init_tfile_ops): Likewise.
    	(_initialize_tracepoint): Don't call init_tfile_ops
    	and add_target_with_completer.
    	* tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
    	exec.h, completer.h and filenames.h.
    	(_initialize_tracefile_tfile): New function.

commit 7951c4eb08bdb6843989e4dfdddbd7cad5e1fd9c
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Feb 10 13:31:12 2014 +0800

    Move trace file writer out of tracepoint.c
    
    This patch is a refactor which moves trace file writer related code
    out of tracepoint.c, which has 6k LOC.  It moves general trace file
    writer to a new file tracefile.c and moves tfile specific writer to
    tracefile-tfile.c.
    
    gdb:
    
    2014-02-23  Yao Qi  <yao@codesourcery.com>
    
    	* Makefile.in (REMOTE_OBS): Append tracefile.o and
    	tracefile-tfile.o.
    	(HFILES_NO_SRCDIR): Add tracefile.h.
    	* ctf.c: Include "tracefile.h".
    	* tracefile.h: New file.
    	* tracefile.c: New file
    	* tracefile-tfile.c: New file.
    	* tracepoint.c: Include "tracefile.h".
    	(free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
    	(stop_reason_names): Add const.
    	(trace_file_writer_xfree): Move it to tracefile.c.
    	(trace_save, trace_save_command, trace_save_tfile): Likewise.
    	(trace_save_ctf): Likewise.
    	(struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
    	(tfile_target_save, tfile_dtor, tfile_start): Likewise.
    	(tfile_write_header, tfile_write_regblock_type): Likewise.
    	(tfile_write_status, tfile_write_uploaded_tsv): Likewise.
    	(tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
    	(tfile_write_raw_data, tfile_end): Likewise.
    	(tfile_trace_file_writer_new): Likewise.
    	(free_uploaded_tp): Make it extern.
    	(free_uploaded_tsv): Make it extern.
    	(_initialize_tracepoint): Move code to register command 'tsave'
    	to tracefile.c.
    	* tracepoint.h (stop_reason_names): Declare.
    	(struct trace_frame_write_ops): Move it to tracefile.h.
    	(struct trace_file_write_ops): Likewise.
    	(struct trace_file_writer): Likewise.
    	(free_uploaded_tsvs, free_uploaded_tps): Declare.

commit cb5111bcea8f96585f8b85270bc3c6c796ceebad
Author: Alan Modra <amodra@gmail.com>
Date:   Sun Feb 23 09:30:37 2014 +1030

    daily update

commit b103660c4576ddce9589636ad51b6b3ddb0fab62
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Feb 22 09:30:38 2014 +1030

    daily update

commit 184cd07257b5dd74a4eb9f6857fc6dd785f53492
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Feb 21 18:39:40 2014 +0100

    Fix crash on process name "(sd-pam)" (PR 16594).
    
    info os processes -fsanitize=address error
    https://sourceware.org/bugzilla/show_bug.cgi?id=16594
    
    info os processes
    =================================================================
    ==5795== ERROR: AddressSanitizer: heap-use-after-free on address
    0x600600214974 at pc 0x757a92 bp 0x7fff95dd9f00 sp 0x7fff95dd9ef0
    READ of size 4 at 0x600600214974 thread T0
        #0 0x757a91 in get_cores_used_by_process (.../gdb/gdb+0x757a91)
    
    At least Fedora 20 has process(es):
     6678 ?        Ss     0:00 /usr/lib/systemd/systemd --user
     6680 ?        S      0:00  \_ (sd-pam)
    
    and GDB "info os processes" crashes on it as /proc/6680/stat contains:
    
    6680 ((sd-pam)) S 6678 6678 6678 0 -1 1077961024 33 0 0 0 0 0 0 0 20 0 1 0 18568 73768960 120 18446744073709551615 1 1
    0 0 0 0 0 4096 0 18446744073709551615 0 0 17 6 0 0 0 0 0 0 0 0 0 0 0 0 0
    
    and GDB fails to find the proper end of the process name "((sd-pam))".
    Therefore it reads core number off-by-one (it reads 17 instead of 6) and
    overruns the array.
    
    (1) Make the process name parsing more foolproof.
    
    (2) Do not trust the parsed number from /proc/PID/stat and verify it against
        the array size.
    
    I noticed that 'ps' gets this right, so I've peeked at its
    sources, and it just looks for the first ')' starting at
    the end.
    
    https://gitorious.org/procps/procps/source/dc072aced7250fed9b01fb05f0d672678752a63e:proc/readproc.c
    
    Look for stat2proc.
    
    Given ps does that, I believe the kernel won't ever be changed
    in a way that would break it.  So it sounds like could do strrchr
    from the end of stat just as well without worry, which is simpler.
    
    gdb/
    2014-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	PR gdb/16594
    	* common/linux-osdata.c (linux_common_core_of_thread): Find the end of
    	process name.
    	(get_cores_used_by_process): New parameter num_cores, use it.
    	(linux_xfer_osdata_processes): Pass num_cores to it.
    	* linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
    	process name.
    
    Message-ID: <20140217212826.GA15080@host2.jankratochvil.net>

commit dcf893b581c440902d68a0095967acd4ae7ae8d1
Author: Ilya Tocar <ilya.tocar@intel.com>
Date:   Thu Feb 20 18:57:31 2014 +0400

    Add support for CPUID PREFETCHWT1
    
    Latest AVX512 spec
    http://download-software.intel.com/sites/default/files/managed/50/1a/319433-018.pdf
    Has CPUID PREFETCHWT1 for prefetchwt1 instruction, which we list as AVX512PF.
    This patch introduces CPUID PREFETCHWT1.
    
    gas/
    
            * config/tc-i386.c (cpu_arch): Add .prefetchwt1.
            * doc/c-i386.texi: Document .prefetchwt1/prefetchwt1.
    
    opcodes/
    
            * i386-gen.c (cpu_flag_init): Add CPU_PREFETCHWT1_FLAGS/
            (cpu_flags): Add CpuPREFETCHWT1.
            * i386-init.h: Regenerate.
            * i386-opc.h (CpuPREFETCHWT1): New.
            (i386_cpu_flags): Add cpuprefetchwt1.
            * i386-opc.tbl: Cahnge CPU of prefetchwt1 from CpuAVX512PF to CpuPREFETCHWT1.
            * i386-tbl.h: Regenerate.
    
    gas/testsuite
    
            * gas/i386/avx512pf-intel.d: Remove prefetchwt1.
            * gas/i386/avx512pf.s: Ditto.
            * gas/i386/avx512pf.d: Ditto.
            * gas/i386/x86-64-avx512pf-intel.d: Ditto.
            * gas/i386/x86-64-avx512pf.s: Ditto.
            * gas/i386/x86-64-avx512pf.d: Ditto.
            * gas/i386/prefetchwt1-intel.d: New file.
            * gas/i386/prefetchwt1.s: Ditto.
            * gas/i386/prefetchwt1.d: Ditto.
            * gas/i386/x86-64-prefetchwt1-intel.d: Ditto.
            * gas/i386/x86-64-prefetchwt1.s: Ditto.
            * gas/i386/x86-64-prefetchwt1.d: Ditto.

commit c63528fc47c79721b55f32fe1649762ff9125ae0
Author: Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Date:   Fri Feb 21 15:55:37 2014 +0100

    Fix length arg in call to breakpoint_xfer_memory.
    
    The patch "return target_xfer_status in to_xfer_partial" caused a
    regression in various s390(x) test cases, because memory_xfer_partial
    filled only the first byte of the read buffer from a breakpoint shadow:
    
        https://sourceware.org/ml/gdb-patches/2014-01/msg01071.html
    
    This patch fixes the regression.

commit ea4758f2dd33c0081abc89b011c4755453af9efc
Author: Pedro Alves <palves@redhat.com>
Date:   Fri Feb 21 13:30:12 2014 +0000

    Rename test.
    
    I realized that the name of this test only made sense when considering
    the old (never committed) implementation of the fix that came along
    with the test originally, that forced a schedlock while a step-resume
    (to get over the signal handler) was inserted.  The final solution
    that went into the tree does not force that locking.
    
    So this renames it to something more descriptive.
    
    gdb/testsuite/
    2014-02-21  Pedro Alves  <palves@redhat.com>
    
    	* gdb.threads/step-after-sr-lock.c: Rename to ...
    	* gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
    	* gdb.threads/step-after-sr-lock.exp: Rename to ...
    	* gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
    	... this.

commit 0cbc458c9fde560ad369d197ed90b94452cc3b06
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Feb 21 23:18:50 2014 +1030

    Add file missed from last commit.

commit a97726da10b71c7ec0e45380edb36a821fb108d8
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Feb 21 10:18:01 2014 +1030

    Add ppc476 workaround bootstrap test
    
    I was running this by hand to test out --ppc476-workaround.  Another
    bootstrap test doesn't take all that long, so let's add it to the
    testsuite.
    
    	* ld-bootstrap/bootstrap.exp: Add ppc476 workaround test.
    	* ld-bootstrap/ppc476.t: New file.

commit 8b5f0ba3a790aa24765df5251eeeb839f8c8b5f4
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Feb 21 09:30:38 2014 +1030

    daily update

commit d7b30f6729ecf47b932b17f77123663e6a21bdd6
Author: Sergio Durigan Junior <sergiodj@redhat.com>
Date:   Thu Feb 20 18:49:09 2014 -0300

    Fix for PR tdep/16397: SystemTap SDT probe support for x86 doesn't work with "triplet operands"
    
    This is the continuation of what Joel proposed on:
    
    <https://sourceware.org/ml/gdb-patches/2013-12/msg00977.html>
    
    Now that I have already submitted and pushed the patch to split
    i386_stap_parse_special_token into two smaller functions, it is indeed
    simpler to understand this patch.
    
    It occurs because, on x86, triplet displacement operands are allowed
    (like "-4+8-20(%rbp)"), and the current parser for this expression is
    buggy.  It does not correctly extract the register name from the
    expression, which leads to incorrect evaluation.  The parser was also
    being very "generous" with the expression, so I included a few more
    checks to ensure that we're indeed dealing with a triplet displacement
    operand.
    
    This patch also includes testcases for the two different kind of
    expressions that can be encountered on x86: the triplet displacement
    (explained above) and the three-argument displacement (as in
    "(%rbx,%ebx,-8)").  The tests are obviously arch-dependent and are
    placed under gdb.arch/.
    
    Message-ID: <m3mwj1j12v.fsf@redhat.com>
    URL: <https://sourceware.org/ml/gdb-patches/2014-01/msg00310.html>
    
    gdb/
    2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
    
    	PR tdep/16397
    	* i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
    	number comes after the + or - signs.  Adjust length of register
    	name to be extracted.
    
    gdb/testsuite/
    2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
    
    	PR tdep/16397
    	* gdb.arch/amd64-stap-special-operands.exp: New file.
    	* gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
    	* gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
    	* gdb.arch/amd64-stap-triplet.S: Likewise.
    	* gdb.arch/amd64-stap-triplet.c: Likewise.

commit 3bc32da325e4bf048220a1228a8a6fa65a15225f
Author: Doug Evans <dje@google.com>
Date:   Thu Feb 20 13:33:44 2014 -0800

    Add single sentence description to top of entry of previous commit.

commit 8838afaf75d0c3fcf43e246e09664219bc5bfc74
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Feb 20 14:05:32 2014 -0700

    mark *_varobj_ops as "extern"
    
    The AIX linker pointed out that gdb had multiple definitions of the
    various *_varobj_ops objects.  This patch fixes the problem by marking
    the declarations as "extern" in varobj.h.  Tested by rebuilding on
    x86-64 Fedora 18 and on AIX.
    
    2014-02-20  Tom Tromey  <tromey@redhat.com>
    
    	* varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
    	(ada_varobj_ops): Mark "extern".

commit d86d4aafd4fa22fa4cccb83253fb187b03f97f48
Author: Doug Evans <dje@google.com>
Date:   Thu Feb 20 12:23:26 2014 -0800

    Remove all_lwps global.
    
    	* inferiors.h (ptid_of): Move here from linux-low.h.
    	(pid_of, lwpid_of): Ditto.
    	* linux-aarch64-low.c (debug_reg_change_callback): Update, "entry"
    	parameter is a struct thread_info * now.
    	(aarch64_notify_debug_reg_change): Fetch pid from current_inferior
    	directly.  Pass &all_threads to find_inferior instead of &all_lwps.
    	(aarch64_stopped_data_address): Fetch lwpid from current_inferior
    	directly.
    	(aarch64_linux_prepare_to_resume): Fetch ptid from thread.
    	(aarch64_arch_setup): Fetch lwpid from current_inferior directly.
    	* linux-arm-low.c (update_registers_callback): Update, "entry"
    	parameter is a struct thread_info * now.
    	Fetch lwpid from current_inferior directly.
    	(arm_insert_point): Pass &all_threads to find_inferior instead of
    	&all_lwps.
    	(arm_remove_point): Ditto.
    	(arm_stopped_by_watchpoint): Fetch lwp from current_inferior.
    	(arm_prepare_to_resume): Fetch pid from thread.
    	(arm_read_description): Fetch lwpid from current_inferior directly.
    	* linux-low.c (all_lwps): Delete.
    	(delete_lwp): Delete call to remove_inferior.
    	(handle_extended_wait): Fetch lwpid from thread.
    	(add_lwp): Don't set lwp->entry.id.  Remove call to
    	add_inferior_to_list.
    	(linux_attach_lwp_1): Fetch pid from current_inferior directly.
    	(linux_kill_one_lwp): Fetch ptid,lwpid from thread.
    	(kill_one_lwp_callback): Ditto.
    	(linux_kill): Don't dereference NULL pointer.
    	Fetch ptid,lwpid from thread.
    	(get_detach_signal): Fetch ptid from thread.
    	(linux_detach_one_lwp): Fetch ptid,lwpid from thread.
    	Simplify call to regcache_invalidate_thread.
    	(delete_lwp_callback): Update, "entry" parameter is a
    	struct thread_info * now.  Fetch pid from thread.
    	(linux_mourn): Pass &all_threads to find_inferior instead of &all_lwps.
    	(status_pending_p_callback): Update, "entry" parameter is a
    	struct thread_info * now.  Fetch ptid from thread.
    	(find_lwp_pid): Update, "entry" parameter is a
    	struct thread_info * now.
    	(linux_wait_for_lwp): Fetch pid from thread.
    	(linux_fast_tracepoint_collecting): Fetch lwpid from thread.
    	(maybe_move_out_of_jump_pad): Fetch lwpid from current_inferior.
    	(enqueue_one_deferred_signal): Fetch lwpid from thread.
    	(dequeue_one_deferred_signal): Ditto.
    	(cancel_breakpoint): Fetch ptid from current_inferior.
    	(linux_wait_for_event): Pass &all_threads to find_inferior,
    	not &all_lwps.  Fetch ptid, lwpid from thread.
    	(count_events_callback): Update, "entry" parameter is a
    	struct thread_info * now.
    	(select_singlestep_lwp_callback): Ditto.
    	(select_event_lwp_callback): Ditto.
    	(cancel_breakpoints_callback): Ditto.
    	(linux_cancel_breakpoints): Pass &all_threads to find_inferior,
    	not &all_lwps.
    	(select_event_lwp): Ditto.  Fetch ptid from event_thread.
    	(unsuspend_one_lwp): Update, "entry" parameter is a
    	struct thread_info * now.
    	(unsuspend_all_lwps): Pass &all_threads to find_inferior,
    	not &all_lwps.
    	(linux_stabilize_threads): Ditto.  And for for_each_inferior.
    	Fetch lwpid from thread, not lwp.
    	(linux_wait_1): Fetch ptid, lwpid from current_inferior.
    	Pass &all_threads to find_inferior, not &all_lwps.
    	(send_sigstop): Fetch lwpid from thread, not lwp.
    	(send_sigstop_callback): Update, "entry" parameter is a
    	struct thread_info * now.
    	(suspend_and_send_sigstop_callback): Ditto.
    	(wait_for_sigstop): Ditto.  Fetch ptid, lwpid from thread, lwp.
    	(stuck_in_jump_pad_callback): Update, "entry" parameter is a
    	struct thread_info * now.
    	(move_out_of_jump_pad_callback): Ditto.  Fetch ptid, lwpid
    	from thread, lwp.
    	(lwp_running): Update, "entry" parameter is a
    	struct thread_info * now.
    	(stop_all_lwps): Fetch ptid from thread.
    	Pass &all_threads to find_inferior, for_each_inferior, not &all_lwps.
    	(linux_resume_one_lwp): Fetch lwpid from thread.
    	(linux_set_resume_request): Update, "entry" parameter is a
    	struct thread_info * now.  Fetch pid, lwpid from thread.
    	(resume_status_pending_p): Update, "entry" parameter is a
    	struct thread_info * now.
    	(need_step_over_p): Ditto.  Fetch lwpid from thread.
    	(start_step_over): Fetch lwpid from thread.
    	(linux_resume_one_thread): Update, "entry" parameter is a
    	struct thread_info * now.  Fetch lwpid from thread.
    	(linux_resume): Pass &all_threads to find_inferior, not &all_lwps.
    	(proceed_one_lwp): Update, "entry" parameter is a
    	struct thread_info * now.  Fetch lwpid from thread.
    	(unsuspend_and_proceed_one_lwp): Update, "entry" parameter is a
    	struct thread_info * now.
    	(proceed_all_lwps): Pass &all_threads to find_inferior, not &all_lwps.
    	(unstop_all_lwps): Ditto.  Fetch lwpid from thread.
    	(regsets_fetch_inferior_registers): Fetch lwpid from current_inferior
    	directly.
    	(regsets_store_inferior_registers): Ditto.
    	(fetch_register, store_register): Ditto.
    	(linux_read_memory, linux_write_memory): Ditto.
    	(linux_request_interrupt): Ditto.
    	(linux_read_auxv): Ditto.
    	(linux_xfer_siginfo): Ditto.
    	(linux_qxfer_spu): Ditto.
    	(linux_qxfer_libraries_svr4): Ditto.
    	* linux-low.h (ptid_of, pid_of, lwpid_of): Delete,
    	moved to inferiors.h.
    	(get_lwp): Delete.
    	(get_thread_lwp): Update.
    	(struct lwp_info): Delete member "entry".  Simplify comment for
    	member "thread".
    	(all_lwps): Delete.
    	* linux-mips-low.c (mips_read_description): Fetch lwpid from
    	current_inferior directly.
    	(update_watch_registers_callback): Update, "entry" parameter is a
    	struct thread_info * now.  Fetch pid from thread.
    	(mips_linux_prepare_to_resume): Fetch ptid from thread.
    	(mips_insert_point): Fetch lwpid from current_inferior.
    	Pass &all_threads to find_inferior, not &all_lwps.
    	(mips_remove_point): Pass &all_threads to find_inferior, not &all_lwps.
    	(mips_stopped_by_watchpoint): Fetch lwpid from current_inferior
    	directly.
    	(mips_stopped_data_address): Ditto.
    	* linux-s390-low.c (s390_arch_setup): Fetch pid from current_inferior
    	directly.
    	* linux-tile-low.c (tile_arch_setup): Ditto.
    	* linux-x86-low.c (x86_get_thread_area): Fetch lwpid from thread.
    	(update_debug_registers_callback): Update, "entry" parameter is a
    	struct thread_info * now.  Fetch pid from thread.
    	(i386_dr_low_set_addr): Fetch pid from current_inferior directly.
    	Pass &all_threads to find_inferior, not &all_lwps.
    	(i386_dr_low_get_addr): Fetch ptid from current_inferior directly.
    	(i386_dr_low_set_control): Fetch pid from current_inferior directly.
    	Pass &all_threads to find_inferior, not &all_lwps.
    	(i386_dr_low_get_control): Fetch ptid from current_inferior directly.
    	(i386_dr_low_get_status): Ditto.
    	(x86_linux_prepare_to_resume): Fetch ptid from thread.
    	(x86_siginfo_fixup): Fetch lwpid from current_inferior directly.
    	(x86_linux_read_description): Ditto.
    	* proc-service.c (ps_getpid): Fetch pid from current_inferior directly.

commit 05227d14104db74932f87e1321968da8b59fa072
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Feb 20 12:14:23 2014 -0700

    minor cleanup in dbxread.c
    
    I happened to notice that last_o_file_start is write-only in
    read_dbx_symtab.  This patch removes it.  Tested by rebuilding.
    
    2014-02-20  Tom Tromey  <tromey@redhat.com>
    
    	* dbxread.c (read_dbx_symtab): Remove last_o_file_start.

commit 3b8361aa0f6b4d9b3df3c59d23e574cd5f150d8c
Author: Doug Evans <dje@google.com>
Date:   Thu Feb 20 11:11:34 2014 -0800

    * inferiors.c (get_first_inferior): Fix buglet.

commit 83deb43f87f098f7858db8643786301eb73875f7
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Thu Feb 20 18:34:45 2014 +0100

    Simplify .section in dw2-icycle.S
    
    The arm-elf assembler chokes on the extra parameters in the .section
    pseudo-op, so this patch removes them.
    
    gdb/testsuite/ChangeLog:
    
            * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
            in .section pseudo-op.

commit 1254eefca2c2af47e8333bbc33d878998703a204
Author: Doug Evans <xdje42@gmail.com>
Date:   Thu Feb 20 09:27:12 2014 -0800

    Move containing_scm arg from gdbscm_fill_eqable_gsmob_ptr_slot
    to gdbscm_init_eqable_gsmob.
    
    	* guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
    	All callers updated.
    	(gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
    	All callers updated.
    	* guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
    	(gdbscm_fill_eqable_gsmob_ptr_slot): Update.

commit 8c3cb9fa4405d86e57cc3b02ef38e50ef6747924
Author: Doug Evans <xdje42@gmail.com>
Date:   Thu Feb 20 09:16:32 2014 -0800

    fix whitespace in previous commit

commit adde2bff0757e89175ede493f03b86953d0d9352
Author: Doug Evans <xdje42@gmail.com>
Date:   Thu Feb 20 09:13:53 2014 -0800

    Fix PR symtab/16581
    
    	* dwarf2read.c (struct die_info): New member in_process.
    	(reset_die_in_process): New function.
    	(process_die): Set it at the start, reset when returning.
    	(inherit_abstract_dies): Only call process_die if origin_child_die
    	not already being processed.
    
    	testsuite/
    	* gdb.dwarf2/dw2-icycle.S: New file.
    	* gdb.dwarf2/dw2-icycle.c: New file.
    	* gdb.dwarf2/dw2-icycle.exp: New file.

commit 3be75f87b9a0e5b06175dadedb268c609609c821
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Thu Feb 20 17:18:47 2014 +0100

    windows-nat.c: Bring comment back regarding handling of DLL load events.
    
    This patch brings back a comment that got stripped down a bit too much
    during a recent change.
    
    gdb/ChangeLog:
    
            * windows-nat.c (handle_unload_dll): Add function documentation.
            (do_initial_windows_stuff): Add comment explaining why we wait
            until after inferior initialization has finished before
            processing all DLLs.

commit 957d095533afd835969b8cf8e86adfa63bfb874c
Author: Ilya Tocar <ilya.tocar@intel.com>
Date:   Thu Feb 20 18:31:11 2014 +0400

    Change cpu for vptestnmd and vptestnmq instructions.
    
    In latest release of AVX512 spec
    http://download-software.intel.com/sites/default/files/managed/50/1a/319433-018.pdf
    Vptestnmq and vptestnmq instructions have CPUID AVX512F, not AVX512CD.
    This patch fixes it.
    
    opcodes/
    
            * i386-opc.tbl: Change CPU of vptestnmq, vptestnmd from CpuAVX512CD,
            to CpuAVX512F.
            * i386-tbl.h: Regenerate.
    
    gas/testsuite/
    
            * gas/i386/avx512cd-intel.d: Remove vptestnmq, vptestnmd.
            * gas/i386/avx512cd.s: Ditto.
            * gas/i386/avx512cd.d: Ditto.
            * gas/i386/x86-64-avx512cd-intel.d: Ditto.
            * gas/i386/x86-64-avx512cd.s: Ditto.
            * gas/i386/x86-64-avx512cd.d: Ditto.
            * gas/i386/avx512f-intel.d: Add vptestnmq, vptestnmd.
            * gas/i386/avx512f.s: Ditto.
            * gas/i386/avx512f.d: Ditto.
            * gas/i386/x86-64-avx512f-intel.d: Ditto.
            * gas/i386/x86-64-avx512f.s: Ditto.
            * gas/i386/x86-64-avx512f.d: Ditto.

commit 47f7ffdb18d09177068d1252538395feb7ca09ec
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Mon Feb 3 06:10:48 2014 -0500

    Simplify windows-nat.c::get_module_name
    
    Now that get_module_name is no longer called for handling DLL events,
    we can simplify it a bit, knowing that the only use is to get the
    executable's filename.
    
    While doing so, we adjusted the implementation a bit to avoid
    references to DLLs, renamed it to make its more-targeted usage
    more explicit, moved it right before the only function that uses it.
    We also remove the use of hard-coded length for the buffers being
    used.
    
    gdb/ChangeLog:
    
    	* windows-nat.c (get_module_name): Delete.
    	(windows_get_exec_module_filename): New function, mostly
    	inspired from get_module_name.
    	(windows_pid_to_exec_file): Replace call to get_module_name
    	by call to windows_get_exec_module_filename.

commit 1cd9feab11bb859cd737afc553e0d6073454bdd2
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Mon Feb 3 03:03:39 2014 -0500

    Windows: Rely purely on event info when handling DLL load event
    
    When a DLL gets loaded an the debugger gets a debug event about it,
    the currently implementation in handle_load_dll currently tries to
    fetch the DLL's name by first iterating over all DLLs known to
    the system.  It should be sufficient to rely on the name provided
    with the event, however, especially in the situation we are now,
    where we now know that we're past the statup phase for our inferior.
    
    This patch therefore simplifies windows-nat.c::handle_load_dll to
    only rely on the event's lpImageName.
    
    It also updates the function's comment to document the assumption
    regarding not being during the inferior's startup phase. And while
    at it, it fixes the function documentation, which was probably
    unintentionally inherited from another function (perhaps windows_wait).
    
    gdb/ChangeLog:
    
    	* windows-nat.c (handle_load_dll): Rewrite this function's
    	introductory comment.  Remove code using get_module_name
    	to get the DLL's name.

commit ea39ad355eb72b296b30a66bbc81256a071e8f1e
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Mon Feb 3 08:32:40 2014 +0100

    Ignore DLL load/unload events during inferior initialization.
    
    This patch aims at simplifying DLL handling during the inferior
    initialization (process creation during the "run", or during an
    "attach"). Instead of processing each DLL load event, which is
    sometimes incomplete, we ignore these events until the inferior
    has completed its startup phase, and then just iterate over all
    DLLs via EnumProcessModules.
    
    gdb/ChangeLog:
    
            * windows-nat.c (get_windows_debug_event): Ignore
            LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
            if windows_initialization_done == 0.
            (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
            Adjust implementation to always load all DLLs.
            (do_initial_windows_stuff): Replace call to
            windows_ensure_ntdll_loaded by call to windows_add_all_dlls.

commit 95060284901dbfb617a988069604f0835c36c0ca
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Fri Jan 31 04:22:53 2014 -0500

    Deprecate windows-specific dll-symbols command and aliases
    
    The "dll-symbols" command, specific to native Windows platforms,
    gives the impression that the symbols were not loaded, first
    because it completes silently, and second because the "info shared"
    output does not get updated after the command completes:
    
        (gdb) dll-symbols C:\WINDOWS\syswow64\rpcrt4.dll
        (gdb) info shared
        From        To          Syms Read   Shared Object Library
        [...]
        0x77e51000  0x77ee2554  No          C:\WINDOWS\system32\rpcrt4.dll
    
    (we exected the "Syms Read" column to read "Yes").
    
    As far as I can tell, the symbols actually do get loaded, but completely
    independently from the solib framework, which explains the silent
    loading and the fact that the "Syms Read" column does not get updated.
    See windows-nat.c::safe_symbol_file_add_stub, which calls symbol_file_add
    instead of calling solib_add.
    
    But, aside from the fact that the "Syms Read" status does not get
    updated, I also noticed that it does not take into account the DLL's
    actual load address when loading its symbols. As a result, I believe
    that we get it wrong if the DLL does not get loaded at the prefered
    address.
    
    Rather than trying to fix this command, there does not seem to be
    a reason other than historical for having Windows-specific commands
    which essentially re-implements the "sharedlibrary" command. The
    command interface is slightly different (the latter takes a regexp
    rather than a plain filename), but it should be just as easy to use
    the "sharedlibrary" command, or its "share" alias, as usisng the
    "dll-symbols" command. For instance:
    
        (gdb) share rpcrt4.dll
        Reading symbols from C:\WINDOWS\system32\rpcrt4.dll...(no debugging symbols found)...done.
        Loaded symbols for C:\WINDOWS\system32\rpcrt4.dll
        (gdb) info shared
        From        To          Syms Read   Shared Object Library
        [...]
        0x77e51000  0x77ee2554  Yes (*)     C:\WINDOWS\system32\rpcrt4.dll
    
    This patch therefore deprecates the "dll-symbols" command, as well
    as its two aliases "add-shared-symbol-files" and "assf", with a view
    of deleting them as soon as the 7.8 branch gets cut.
    
    gdb/ChangeLog:
    
    	* windows-nat.c (_initialize_windows_nat): Deprecate the
    	"dll-symbols" command.  Turn the "add-shared-symbol-files"
    	and "assf" aliases into commands, and deprecate them as well.
    	* NEWS: Add entry explaining that "dll-symbols" and its two
    	aliases are now deprecated.
    
    gdb/doc/ChangeLog:
    
            * gdb.texinfo (Files): Document "add-shared-symbol-files"
            and "assf" as being deprecated.
            (Cygwin Native): Likewise for "dll-symbols".
            (Non-debug DLL Symbols): Remove reference to "dll-symbols"
            as a way to force the loading of symbols from a DLL.

commit 8d4fdb120dded259be0708054d689ac4b522fdcd
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Thu Feb 20 08:56:35 2014 +0100

    Fix ARI warning in thread-thread.c::dec_thread_get_ada_task_ptid
    
    This patch fixes the following ARI warning:
    
        gdb/dec-thread.c:695: regression: multi-line string: Multi-line string
        must have the newline escaped
    
    I think the new-line was unintentional, so I simply removed it,
    and then reformatted the string to fit within our 70-80 max characters-
    per-line rule.
    
    gdb/ChangeLog:
    
           * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
           new-line in debug string.  Remove trailing spaces.

commit d9972968c1d99f7a159812296a59b1ab68e5b36d
Author: Chung-Lin Tang <cltang@codesourcery.com>
Date:   Wed Feb 19 21:40:21 2014 -0800

    2014-02-20  Chung-Lin Tang  <cltang@codesourcery.com>
    
            * elf32-nios2.c (nios2_elf32_relocate_section): Fix calculation
            of GOTOFF relocations.

commit 1b281443749cb7e76ab32377c9130eb43adea618
Author: Stan Shebs <stanshebs@earthlink.net>
Date:   Wed Feb 19 16:48:26 2014 -0800

    darwin-nat.c (darwin_xfer_partial): Fix return type.

commit f7667f0de68675a72743c73333c83a5fc6e5e69e
Author: Doug Evans <dje@google.com>
Date:   Wed Feb 19 16:38:44 2014 -0800

    Add backlink from lwp_info to thread_info.
    
    	* gdbthread.h (add_thread): Change result type to struct thread_info *.
    	* inferiors.c (add_thread): Change result type to struct thread_info *.
    	All callers updated.
    	(add_lwp): Call add_thread here instead of in callers.
    	All callers updated.
    	* linux-low.h (get_lwp_thread): Rewrite.
    	(struct lwp_info): New member "thread".
    
    This speeds up gdbserver attach in non-stop mode because now get_lwp_thread
    doesn't do a linear search for the corresponding thread_info object.

commit b3312d801920bf1705263f533cdf16330bddedbe
Author: Doug Evans <dje@google.com>
Date:   Wed Feb 19 16:22:51 2014 -0800

    	* linux-low.c (add_lwp): Change result to struct lwp_info *.
    	All callers updated.

commit ecc6f45c3bd5c1504dbbff1f833244b3932ea2ba
Author: Doug Evans <dje@google.com>
Date:   Wed Feb 19 16:19:10 2014 -0800

    * inferiors.c (add_thread): Fix whitespace.

commit f7bd0f7854f2fd0dfeddafd073b007d91bea79e8
Author: Siva Chandra <sivachandra@chromium.org>
Date:   Mon Dec 2 06:45:09 2013 -0800

    Call overloaded operators to perform operations on gdb.Value objects.
    
    	* NEWS: Add entry for the new feature
    	* python/py-value.c (valpy_binop): Call value_x_binop for struct
    	and class values.
    
    	testsuite/
    	* gdb.python/py-value-cc.cc: Improve test case to enable testing
    	operations on gdb.Value objects.
    	* gdb.python/py-value-cc.exp: Add new test to test operations on
    	gdb.Value objects.
    
    	doc/
    	* python.texi (Values From Inferior): Add description about the
    	new feature.

commit 649ebbcaef0f8e58146e62be0d3f22da5f82446c
Author: Doug Evans <dje@google.com>
Date:   Wed Feb 19 15:28:50 2014 -0800

    Replace code accessing list implementation details with API calls.
    
    	* dll.c (clear_dlls): Replace accessing list implemention details
    	with API function.
    	* gdbthread.h (get_first_thread): Declare.
    	* inferiors.c (for_each_inferior_with_data): New function.
    	(get_first_thread): New function.
    	(find_thread_ptid): Simplify.
    	(get_first_inferior): New function.
    	(clear_list): Delete.
    	(one_inferior_p): New function.
    	(clear_inferior_list): New function.
    	(clear_inferiors): Update.
    	* inferiors.h (for_each_inferior_with_data): Declare.
    	(clear_inferior_list): Declare.
    	(one_inferior_p): Declare.
    	(get_first_inferior): Declare.
    	* linux-low.c (linux_wait_for_event): Replace accessing list
    	implemention details with API function.
    	* server.c (target_running): Ditto.
    	(accumulate_file_name_length): New function.
    	(emit_dll_description): New function.
    	(handle_qxfer_libraries): Replace accessing list implemention
    	details with API function.
    	(handle_qxfer_threads_worker): New function.
    	(handle_qxfer_threads_proper): Replace accessing list implemention
    	details with API function.
    	(handle_query): Ditto.
    	(visit_actioned_threads_callback_ftype): New typedef.
    	(visit_actioned_threads_data): New struct.
    	(visit_actioned_threads): Rewrite to be find_inferior callback.
    	(resume): Call find_inferior.
    	(handle_status): Replace accessing list implemention
    	details with API function.
    	(process_serial_event): Replace accessing list implemention details
    	with API function.
    	* target.c (set_desired_inferior): Replace accessing list implemention
    	details with API function.
    	* tracepoint.c (same_process_p): New function.
    	(gdb_agent_about_to_close): Replace accessing list implemention
    	details with API function.
    	* win32-low.c (child_delete_thread): Replace accessing list
    	implemention details with API function.
    	(match_dll_by_basename): New function.
    	(dll_is_loaded_by_basename): New function.
    	(win32_ensure_ntdll_loaded): Replace accessing list implemention
    	details call to dll_is_loaded_by_basename.

commit b5ad007edc349b3ff44db422273a5efda5f04a15
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Feb 20 09:30:38 2014 +1030

    daily update

commit 80894984a6b5faaa5bc1967059dd502a044cb079
Author: Doug Evans <dje@google.com>
Date:   Wed Feb 19 14:51:55 2014 -0800

    Rename inferior_list_entry uses from "head" to "entry" for consistency.
    
    	* dll.h (struct dll_info): Add comment.
    	* gdbthread.h (struct thread_info): Add comment.
    	(current_ptid): Simplify.
    	* inferiors.c (add_process): Update.
    	(remove_process): Update.
    	* inferiors.h (struct process_info): Rename member "head" to "entry".
    	* linux-low.c (delete_lwp): Update.
    	(add_lwp): Update.
    	(last_thread_of_process_p): Update.
    	(kill_one_lwp_callback, linux_kill): Update.
    	(status_pending_p_callback): Update.
    	(wait_for_sigstop): Update.  Simplify read of ptid.
    	(start_step_over): Update.
    	* linux-low.h (ptid_of, pid_of, lwpid_of): Update.
    	(get_lwp_thread): Update.
    	(struct lwp_info): Rename member "head" to "entry".
    	* regcache.h (inferior_list_entry): Delete.
    	* server.c (kill_inferior_callback): Update.
    	(detach_or_kill_inferior_callback): Update.
    	(print_started_pid): Update.
    	(print_attached_pid): Update.
    	(process_serial_event): Simplify read of ptid.
    	* thread-db.c (thread_db_create_event): Update.
    	(thread_db_get_tls_address): Update.
    	* win32-low.c (current_inferior_ptid): Simplify.

commit 399ebc3d1e004d66ed90e69d9c75649556108a58
Author: Stan Shebs <stan@codesourcery.com>
Date:   Wed Feb 19 13:38:12 2014 -0800

    List Yao Qi as nios2 maintainer

commit 10632b79991d519b39ffb2edac40605795b47d6f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Feb 19 12:53:27 2014 -0800

    Don't output trailing space
    
    	* i386-gen.c (output_cpu_flags): Don't output trailing space.
    	(output_opcode_modifier): Likewise.
    	(output_operand_type): Likewise.
    	* i386-init.h: Regenerated.
    	* i386-tbl.h: Likewise.

commit 0ff2b86e7c14177ec7f9e1257f8e697814794017
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Nov 20 09:01:04 2013 -0800

    Create the second PLT for BND relocations
    
    Intel MPX introduces 4 bound registers, which will be used for parameter
    passing in x86-64.  Bound registers are cleared by branch instructions.
    Branch instructions with BND prefix will keep bound register contents.
    This leads to 2 requirements to 64-bit MPX run-time:
    
    1. Dynamic linker (ld.so) should save and restore bound registers during
    symbol lookup.
    2. Change the current 16-byte PLT0:
    
      ff 35 08 00 00 00	pushq  GOT+8(%rip)
      ff 25 00 10 00	jmpq  *GOT+16(%rip)
      0f 1f 40 00		nopl   0x0(%rax)
    
    and 16-byte PLT1:
    
      ff 25 00 00 00 00    	jmpq   *name@GOTPCREL(%rip)
      68 00 00 00 00       	pushq  $index
      e9 00 00 00 00       	jmpq   PLT0
    
    which clear bound registers, to preserve bound registers.
    
    We use 2 new relocations:
    
    to mark branch instructions with BND prefix.
    
    When linker sees any R_X86_64_PC32_BND or R_X86_64_PLT32_BND relocations,
    it switches to a different PLT0:
    
      ff 35 08 00 00 00	pushq  GOT+8(%rip)
      f2 ff 25 00 10 00	bnd jmpq *GOT+16(%rip)
      0f 1f 00		nopl   (%rax)
    
    to preserve bound registers for symbol lookup and it also creates an
    external PLT section, .pl.bnd.  Linker will create a BND PLT1 entry
    in .plt:
    
      68 00 00 00 00       	pushq  $index
      f2 e9 00 00 00 00     bnd jmpq PLT0
      0f 1f 44 00 00        nopl 0(%rax,%rax,1)
    
    and a 8-byte BND PLT entry in .plt.bnd:
    
      f2 ff 25 00 00 00 00  bnd jmpq *name@GOTPCREL(%rip)
      90			nop
    
    Otherwise, linker will create a legacy PLT1 entry in .plt:
    
      68 00 00 00 00       	pushq  $index
      e9 00 00 00 00        jmpq PLT0
      66 0f 1f 44 00 00     nopw 0(%rax,%rax,1)
    
    and a 8-byte legacy PLT in .plt.bnd:
    
      ff 25 00 00 00 00     jmpq  *name@GOTPCREL(%rip)
      66 90                 xchg  %ax,%ax
    
    The initial value of the GOT entry for "name" will be set to the the
    "pushq" instruction in the corresponding entry in .plt.  Linker will
    resolve reference of symbol "name" to the entry in the second PLT,
    .plt.bnd.
    
    Prelink stores the offset of pushq of PLT1 (plt_base + 0x10) in GOT[1]
    and GOT[1] is stored in GOT[3].  We can undo prelink in GOT by computing
    the corresponding the pushq offset with
    
    GOT[1] + (GOT offset - &GOT[3]) * 2
    
    Since for each entry in .plt except for PLT0 we create a 8-byte entry in
    .plt.bnd, there is extra 8-byte per PLT symbol.
    
    We also investigated the 16-byte entry for .plt.bnd.  We compared the
    8-byte entry vs the the 16-byte entry for .plt.bnd on Sandy Bridge.
    There are no performance differences in SPEC CPU 2000/2006 as well as
    micro benchmarks.
    
    Pros:
    	No change to undo prelink in dynamic linker.
    	Only 8-byte memory overhead for each PLT symbol.
    Cons:
    	Extra .plt.bnd section is needed.
    	Extra 8 byte for legacy branches to PLT.
    	GDB is unware of the new layout of .plt and .plt.bnd.
    
    bfd/
    
    	* elf64-x86-64.c (elf_x86_64_bnd_plt0_entry): New.
    	(elf_x86_64_legacy_plt_entry): Likewise.
    	(elf_x86_64_bnd_plt_entry): Likewise.
    	(elf_x86_64_legacy_plt2_entry): Likewise.
    	(elf_x86_64_bnd_plt2_entry): Likewise.
    	(elf_x86_64_bnd_arch_bed): Likewise.
    	(elf_x86_64_link_hash_entry): Add has_bnd_reloc and plt_bnd.
    	(elf_x86_64_link_hash_table): Add plt_bnd.
    	(elf_x86_64_link_hash_newfunc): Initialize has_bnd_reloc and
    	plt_bnd.
    	(elf_x86_64_copy_indirect_symbol): Also copy has_bnd_reloc.
    	(elf_x86_64_check_relocs): Create the second PLT for Intel MPX
    	in 64-bit mode.
    	(elf_x86_64_allocate_dynrelocs): Handle the second PLT for IFUNC
    	symbols.  Resolve call to the second PLT if it is created.
    	(elf_x86_64_size_dynamic_sections): Keep the second PLT section.
    	(elf_x86_64_relocate_section): Resolve PLT references to the
    	second PLT if it is created.
    	(elf_x86_64_finish_dynamic_symbol): Use BND PLT0 and fill the
    	second PLT entry for BND relocation.
    	(elf_x86_64_finish_dynamic_sections): Use MPX backend data if
    	the second PLT is created.
    	(elf_x86_64_get_synthetic_symtab): New.
    	(bfd_elf64_get_synthetic_symtab): Likewise.  Undefine for NaCl.
    
    ld/
    
    	* emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New.
    
    ld/testsuite/
    
    	* ld-x86-64/mpx.exp: Run bnd-ifunc-1 and bnd-plt-1.
    	* ld-x86-64/bnd-ifunc-1.d: New file.
    	* ld-x86-64/bnd-ifunc-1.s: Likewise.
    	* ld-x86-64/bnd-plt-1.d: Likewise.

commit c658158d936f25dca30cc89260168a5c0be3a24c
Author: Pedro Alves <palves@redhat.com>
Date:   Wed Feb 19 18:25:41 2014 +0000

    common/ptid.h: Mention that process_stratum targets should prefer ptid.lwp.
    
    It's best that we standardize on process_stratum targets using the
    ptid.lwp field to store thread ids.  The idea being leave the ptid.tid
    field free for any thread_stratum target that might want to sit on
    top.  This patch adds a comment in that direction to struct ptid's
    definition.
    
    gdb/
    2014-02-19  Pedro Alves  <palves@redhat.com>
    
    	* common/ptid.h (struct ptid): Mention that process_stratum
    	targets should prefer ptid.lwp.

commit ba3481708d3f18e77ab6c000385b131c76d2733e
Author: Pedro Alves <palves@redhat.com>
Date:   Wed Feb 19 18:25:40 2014 +0000

    remote.c: Use the ptid.lwp field to store remote thread ids rather than ptid.tid.
    
    From GDB's perspective, independently of how the target really
    implements threads, gdb/remote sees all threads as if kernel/system
    threads.  A rationale along theses lines led to gdbserver storing
    thread ids in ptid.lwp in all ports.
    
    Because remote.c is currently using ptid.tid, we can't make gdbserver
    and gdb share bits of remote-specific code that manipulates ptids
    (e.g., write_ptid/read_ptid).
    
    This patch thus makes remote.c use ptid.lwp instead of ptid.tid.
    
    I believe that on the GDB side too, it's best that we standardize on
    process_stratum targets using the ptid.lwp field to store thread ids
    anyway.  The idea being leave the ptid.tid field free for any
    thread_stratum target that might want to sit on top.
    
    Tested on x86_64 Fedora 17, w/ local gdbserver.
    
    gdb/
    2014-02-19  Pedro Alves  <palves@redhat.com>
    
    	* remote.c (remote_thread_alive, write_ptid, read_ptid)
    	(read_ptid, remote_newthread_step, remote_threads_extra_info)
    	(remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
    	(threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
    	store remote thread ids rather than ptid.tid.
    	(_initialize_remote): Adjust.

commit ac01945bf17f3699de5493da23f14ea92549617a
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Jan 16 13:00:07 2014 -0700

    convert to_get_unwinder and to_get_tailcall_unwinder to methods
    
    This converts to_get_unwinder and to_get_tailcall_unwinder to methods
    and arranges for them to use the new delegation scheme.
    
    This just lets us avoid having a differing style (neither new-style
    nor INHERIT) of delegation in the tree.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.c (target_get_unwinder): Rewrite.
    	(target_get_tailcall_unwinder): Rewrite.
    	* record-btrace.c (record_btrace_to_get_unwinder): New function.
    	(record_btrace_to_get_tailcall_unwinder): New function.
    	(init_record_btrace_ops): Update.
    	* target.h (struct target_ops) <to_get_unwinder,
    	to_get_tailcall_unwinder>: Now function pointers.  Use
    	TARGET_DEFAULT_RETURN.

commit 8476dc92e4d8f8e8ebcdbaf0080b70876dfcfb27
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Jan 16 11:46:23 2014 -0700

    fix buglet in nto-procfs.c
    
    I happened to notice that nto-procfs.c defines
    procfs_remove_hw_breakpoint but never uses it.  This caused it not to
    be updated by my target-method-updating script.  This patch fixes the
    function and installs it properly.  I have no way to test this,
    however.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
    	argument.
    	(init_procfs_ops): Correctly set to_remove_hw_breakpoint.

commit c0eca49f4e3382163153a1cdbb090a25b4a32e31
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Jan 16 11:39:32 2014 -0700

    convert to_decr_pc_after_break
    
    This converts to_decr_pc_after_break to the new style of delegation,
    removing forward_target_decr_pc_after_break.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* record-btrace.c (record_btrace_decr_pc_after_break): Delegate
    	directly.
    	* target-delegates.c: Rebuild.
    	* target.h (struct target_ops) <to_decr_pc_after_break>: Use
    	TARGET_DEFAULT_FUNC.
    	* target.c (default_target_decr_pc_after_break): Rename from
    	forward_target_decr_pc_after_break.  Simplify.
    	(target_decr_pc_after_break): Rely on delegation.

commit 596b6b39ab5f26a86980bc9aa6cf348d32d244b4
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Jan 15 12:58:50 2014 -0700

    remove some calls to INHERIT and de_fault
    
    This removes a few unnecessary calls to INHERIT and de_fault:
    
    * to_doc is only used when a target is registered
    * to_magic is only used when a target is pushed and not useful for
      current_target.
    * to_open and to_close are only ever called using a specific
      target_ops object; there is no need to de_fault them.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.c (update_current_target): Do not INHERIT to_doc or
    	to_magic.  Do not de_fault to_open or to_close.

commit b427c1bc161e6e0dcbce0c27b385b3ecb9c47552
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Jan 15 09:40:13 2014 -0700

    remove exec_set_find_memory_regions
    
    exec_set_find_memory_regions is used to modify the exec target.
    However, it only has a single caller, and so it is much clearer to
    simply set the appropriate field directly.  It's also better for the
    coming multi-target world to avoid this kind of global state change
    anyway.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* gcore.h (objfile_find_memory_regions): Declare.
    	* gcore.c (objfile_find_memory_regions): No longer static.  Add
    	"self" argument.
    	(_initialize_gcore): Don't call exec_set_find_memory_regions.
    	* exec.c: Include gcore.h.
    	(exec_set_find_memory_regions): Remove.
    	(exec_find_memory_regions): Remove.
    	(exec_do_find_memory_regions): Remove.
    	(init_exec_ops): Update.
    	* defs.h (exec_set_find_memory_regions): Remove.

commit 9b1440374cbe716ac5dab4d3092e67089db36fa5
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Jan 15 09:30:05 2014 -0700

    pass NULL to TARGET_DEFAULT_RETURN when appropriate
    
    This changes instances of TARGET_DEFAULT_RETURN(0) to
    TARGET_DEFAULT_RETURN(NULL) when appropriate.  The use of "0" was a
    relic from an earlier implementation of make-target-delegates; and I
    didn't want to go back through the long patch series, fixing up
    conflicts, just to change this small detail.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.h (struct target_ops) <to_extra_thread_info,
    	to_thread_name, to_pid_to_exec_file, to_get_section_table,
    	to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
    	not 0, in TARGET_DEFAULT_RETURN.

commit 555bbdeb943f17e908e8066aba836705637c0cfb
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Jan 13 12:16:41 2014 -0700

    remove function casts from target.c
    
    This cleans up target.c to avoid function casts.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.c (complete_target_initialization): Remove casts.  Use
    	return_zero_has_execution.
    	(return_zero): Add "ignore" argument.
    	(return_zero_has_execution): New function.
    	(init_dummy_target): Remove casts.  Use
    	return_zero_has_execution.

commit be4ddd36d63cfdddc26d912a91d9da4bbfc00f75
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Jan 13 11:49:32 2014 -0700

    minor cleanups to update_current_target
    
    During the conversion I kept all the "do not inherit" comments in
    update_current_target.  However, now they are not needed.  This patch
    updates the comments for INHERIT and de_fault, and removes the
    somewhat odd INHERIT of to_stratum.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.c (update_current_target): Update comments.  Do not
    	INHERIT to_stratum.

commit 2117c711ae07700adb57ea5b5ca61e4c32d7e3d2
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Jan 13 09:30:30 2014 -0700

    change delegation for to_read_description
    
    This switches to_read_description to the "new normal" delegation
    scheme.  This one was a bit trickier than the other changes due to the
    way that target_read_description handled delegation.  I examined all
    the target implementations of to_read_description and changed the ones
    returning NULL to instead delegate.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* arm-linux-nat.c (arm_linux_read_description): Delegate when
    	needed.
    	* corelow.c (core_read_description): Delegate when needed.
    	* remote.c (remote_read_description): Delegate when needed.
    	* target-delegates.c: Rebuild.
    	* target.c (target_read_description): Rewrite.
    	* target.h (struct target_ops) <to_read_description>: Update
    	comment.  Use TARGET_DEFAULT_RETURN.

commit e88ef65ce5f5ec33931c71c2c7a1f490b90ddd44
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Dec 20 12:19:37 2013 -0700

    convert to_can_run
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_can_run.
    	(find_default_run_target): Check against delegate_can_run.
    	* target.h (struct target_ops) <to_can_run>: Use
    	TARGET_DEFAULT_RETURN.

commit 86a0854a691a220419785b2008bf2fb0ddd6e46f
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Dec 20 10:30:13 2013 -0700

    convert to_disconnect
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_disconnect): Unconditionally delegate.
    	* target.h (struct target_ops) <to_disconnect>: Use
    	TARGET_DEFAULT_NORETURN.

commit ee97f592f2d9edf4ae720a68893af5cbaedd1be9
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Dec 19 08:21:20 2013 -0700

    convert to_stop_recording
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* record.c (record_stop): Unconditionally delegate.
    	* target-delegates.c: Rebuild.
    	* target.c (target_stop_recording): Unconditionally delegate.
    	* target.h (struct target_ops) <to_stop_recording>: Use
    	TARGET_DEFAULT_IGNORE.

commit 6dc7fcf4c1e9cbea86ebd067ce226ffdffa16c08
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Dec 19 08:19:41 2013 -0700

    convert to_enable_btrace
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_enable_btrace): Unconditionally delegate.
    	* target.h (struct target_ops) <to_enable_btrace>: Use
    	TARGET_DEFAULT_NORETURN.

commit eb5b20d4902e973cad84b9ba8eef2e404a6804d5
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Dec 19 08:19:02 2013 -0700

    convert to_read_btrace
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_read_btrace): Unconditionally delegate.
    	* target.h (struct target_ops) <to_read_btrace>: Use
    	TARGET_DEFAULT_NORETURN.

commit 9ace480d62cd71d27f3a6701a413de0c7e46655a
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Dec 19 08:18:04 2013 -0700

    convert to_teardown_btrace
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_teardown_btrace): Unconditionally delegate.
    	* target.h (struct target_ops) <to_teardown_btrace>: Use
    	TARGET_DEFAULT_NORETURN.

commit 8dc292d3217b0cb85ada1b531f9e7e3249b5075e
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Dec 19 08:17:16 2013 -0700

    convert to_disable_btrace
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_disable_btrace): Unconditionally delegate.
    	* target.h (struct target_ops) <to_disable_btrace>: Use
    	TARGET_DEFAULT_NORETURN.

commit 58a5184e2aa7a9fcc2a796b44bae124d173cec1a
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Dec 19 08:12:26 2013 -0700

    convert to_search_memory
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (default_search_memory): New function.
    	(simple_search_memory): Update comment.
    	(target_search_memory): Unconditionally delegate.
    	* target.h (struct target_ops) <to_search_memory>: Use
    	TARGET_DEFAULT_FUNC.

commit 8de71aab66c182ec1f6eb95ed943b64900dd7770
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Dec 19 07:56:20 2013 -0700

    convert to_auxv_parse
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* auxv.c (default_auxv_parse): No longer static.
    	(target_auxv_parse): Unconditionally delegate.
    	* auxv.h (default_auxv_parse): Declare.
    	* target-delegates.c: Rebuild.
    	* target.c: Include auxv.h.
    	* target.h (struct target_ops) <to_auxv_parse>: Use
    	TARGET_DEFAULT_FUNC.

commit 6b2c5a57e10ca3d9021ef6fe27ba779a06f06717
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Dec 19 07:47:11 2013 -0700

    convert to_memory_map
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_memory_map): Unconditionally delegate.
    	* target.h (struct target_ops) <to_memory_map>: Use
    	TARGET_DEFAULT_RETURN.

commit cbffc065273e91d3596dc73bad695a815f67d5fa
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Dec 19 07:21:56 2013 -0700

    convert to_thread_alive
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_thread_alive): Unconditionally delegate.
    	* target.h (struct target_ops) <to_thread_alive>: Use
    	TARGET_DEFAULT_RETURN.

commit f09e210795cb9e182feb2d02d97a6c9b22a46f53
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 20:26:34 2013 -0700

    convert to_save_record
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_save_record): Unconditionally delegate.
    	* target.h (struct target_ops) <to_save_record>: Use
    	TARGET_DEFAULT_NORETURN.

commit 07366925095c7d091360b92bd686b4dc58ecd4f3
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 20:25:47 2013 -0700

    convert to_delete_record
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_delete_record): Unconditionally delegate.
    	* target.h (struct target_ops) <to_delete_record>: Use
    	TARGET_DEFAULT_NORETURN.

commit dd2e9d25a1c72cc7695ca8c8060d426c212630a7
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 20:25:01 2013 -0700

    convert to_record_is_replaying
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_record_is_replaying): Unconditionally
    	delegate.
    	* target.h (struct target_ops) <to_record_is_replaying>: Use
    	TARGET_DEFAULT_RETURN.

commit 671e76cc63ebed981621ee747e18a73320ea426d
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 20:24:04 2013 -0700

    convert to_goto_record_begin
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_goto_record_begin): Unconditionally delegate.
    	* target.h (struct target_ops) <to_goto_record_begin>: Use
    	TARGET_DEFAULT_NORETURN.

commit e9179bb3de4d8f221223a2cd68c58114204d6100
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 20:23:23 2013 -0700

    convert to_goto_record_end
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_goto_record_end): Unconditionally delegate.
    	* target.h (struct target_ops) <to_goto_record_end>: Use
    	TARGET_DEFAULT_NORETURN.

commit 05969c841a349cbc9d628650b37d684526368445
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 20:22:36 2013 -0700

    convert to_goto_record
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_goto_record): Unconditionally delegate.
    	* target.h (struct target_ops) <to_goto_record>: Use
    	TARGET_DEFAULT_NORETURN.

commit 3679abfabcafc0bd855c30b264d9260d7b77da53
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 20:18:49 2013 -0700

    convert to_insn_history
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_insn_history): Unconditionally delegate.
    	* target.h (struct target_ops) <to_insn_history>: Use
    	TARGET_DEFAULT_NORETURN.

commit 8444ab58be111620c35932b1639a7b6b17845309
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 20:16:56 2013 -0700

    convert to_insn_history_from
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_insn_history_from): Unconditionally delegate.
    	* target.h (struct target_ops) <to_insn_history_from>: Use
    	TARGET_DEFAULT_NORETURN.

commit c29302cc8aef5856ae6ed63cef46c17dcc1b790a
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 20:15:44 2013 -0700

    convert to_insn_history_range
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_insn_history_range): Unconditionally delegate.
    	* target.h (struct target_ops) <to_insn_history_range>: Use
    	TARGET_DEFAULT_NORETURN.

commit 170049d41c3cb8becb46e8e71a30f67f5d47d5ad
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 20:13:40 2013 -0700

    convert to_call_history
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_call_history): Unconditionally delegate.
    	* target.h (struct target_ops) <to_call_history>: Use
    	TARGET_DEFAULT_NORETURN.

commit 16fc27d65a74aa6bd524a0f7dc85cdd2caad496f
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 20:11:49 2013 -0700

    convert to_call_history_from
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_call_history_from): Unconditionally delegate.
    	* target.h (struct target_ops) <to_call_history_from>: Use
    	TARGET_DEFAULT_NORETURN.

commit 115d9817bba7bf2eb44fe6a1e5f92100cad5553d
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 20:10:20 2013 -0700

    convert to_call_history_range
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_call_history_range): Unconditionally delegate.
    	* target.h (struct target_ops) <to_call_history_range>: Use
    	TARGET_DEFAULT_NORETURN.

commit eb276a6b5b56eeb15729892d66d11782bbacbdfc
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:55:44 2013 -0700

    convert to_verify_memory
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_verify_memory): Unconditionally delegate.
    	* target.h (struct target_ops) <to_verify_memory>: Use
    	TARGET_DEFAULT_NORETURN.

commit 9e538d0d0bebe3230940a820c6ec1016f0795899
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:55:06 2013 -0700

    convert to_core_of_thread
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_core_of_thread): Unconditionally delegate.
    	* target.h (struct target_ops) <to_core_of_thread>: Use
    	TARGET_DEFAULT_RETURN.

commit f6fb29258bb410c212c7bcbc48fb1f715bfd3839
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:52:02 2013 -0700

    convert to_flash_done
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_flash_done): Unconditionally delegate.
    	* target.h (struct target_ops) <to_flash_done>: Use
    	TARGET_DEFAULT_NORETURN.

commit e8a6c6ace9d2cc7fa94f8adb81aba5181f77442c
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:50:56 2013 -0700

    convert to_flash_erase
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_flash_erase): Unconditionally delegate.
    	* target.h (struct target_ops) <to_flash_erase>: Use
    	TARGET_DEFAULT_NORETURN.

commit 7e35c012fb79ca35105f0d1b299014adef61be88
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:47:06 2013 -0700

    convert to_get_section_table
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_get_section_table): Unconditionally delegate.
    	* target.h (struct target_ops) <to_get_section_table>: Use
    	TARGET_DEFAULT_RETURN.

commit 770234d33bd301dd1893457a90e4b02cfec5c87a
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:46:03 2013 -0700

    convert to_pid_to_str
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_pid_to_str): Unconditionally delegate.
    	(init_dummy_target): Don't initialize to_pid_to_str.
    	(default_pid_to_str): Rename from dummy_pid_to_str.
    	* target.h (struct target_ops) <to_pid_to_str>: Use
    	TARGET_DEFAULT_FUNC.

commit 09b0dc2b57ce52fc478710797dabdf46bfd5abd1
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:44:20 2013 -0700

    convert to_find_new_threads
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_find_new_threads): Unconditionally delegate.
    	* target.h (struct target_ops) <to_find_new_threads>: Use
    	TARGET_DEFAULT_RETURN.

commit 7d4f8efaf6b0c9dea516097442917deb89414090
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:42:54 2013 -0700

    convert to_program_signals
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_program_signals): Unconditionally delegate.
    	* target.h (struct target_ops) <to_program_signals>: Use
    	TARGET_DEFAULT_IGNORE.

commit 035cad7f2e550abdaaa8b556143b351822f2940e
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:42:10 2013 -0700

    convert to_pass_signals
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_pass_signals): Unconditionally delegate.
    	* target.h (struct target_ops) <to_pass_signals>: Use
    	TARGET_DEFAULT_IGNORE.

commit 8d65703517069975d781d7957d90a9de3ce94e5d
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:40:23 2013 -0700

    convert to_mourn_inferior
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (default_mourn_inferior): New function.
    	(target_mourn_inferior): Unconditionally delegate.
    	* target.h (struct target_ops) <to_mourn_inferior>: Use
    	TARGET_DEFAULT_FUNC.

commit 098dba18ee55150df53f3a6846de4dd9c7564088
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:38:04 2013 -0700

    convert to_follow_fork
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (default_follow_fork): New function.
    	(target_follow_fork): Unconditionally delegate.
    	* target.h (struct target_ops) <to_follow_fork>: Use
    	TARGET_DEFAULT_FUNC.

commit 423a48075e748691f7fa83dbae404da3e4edc914
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:35:15 2013 -0700

    convert to_kill
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_kill): Unconditionally delegate.
    	* target.h (struct target_ops) <to_kill>: Use
    	TARGET_DEFAULT_NORETURN.

commit 6c7e5e5cdc78f2930423b87d76006e067749e6ba
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:34:15 2013 -0700

    convert to_masked_watch_num_registers
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_masked_watch_num_registers): Unconditionally
    	delegate.
    	* target.h (struct target_ops) <to_masked_watch_num_registers>:
    	Use TARGET_DEFAULT_RETURN.

commit 8b1c364c146fc5a73311a434f8f6eecf3e83685b
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:33:28 2013 -0700

    convert to_remove_mask_watchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_remove_mask_watchpoint): Unconditionally
    	delegate.
    	* target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
    	TARGET_DEFAULT_RETURN.

commit cd4ae029569aa0c38230f042b39f505ac5b8f732
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:32:43 2013 -0700

    convert to_insert_mask_watchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_insert_mask_watchpoint): Unconditionally
    	delegate.
    	* target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
    	TARGET_DEFAULT_RETURN.

commit a134316b1f47741fadfc6d7c3c43acb43261246e
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:31:42 2013 -0700

    convert to_ranged_break_num_registers
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_ranged_break_num_registers): Unconditionally
    	delegate.
    	* target.h (struct target_ops) <to_ranged_break_num_registers>:
    	Use TARGET_DEFAULT_RETURN.

commit ad5989bd21c9941358ea33a79e6fad47a93c2b47
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:30:22 2013 -0700

    convert to_fetch_registers
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_fetch_registers): Unconditionally delegate.
    	* target.h (struct target_ops) <to_fetch_registers>: Use
    	TARGET_DEFAULT_NORETURN.

commit 46ee7e8d84bb33c3c6c5dc8673ee2ca5457462b0
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:28:07 2013 -0700

    convert to_stop
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_stop.
    	* target.h (struct target_ops) <to_stop>: Use
    	TARGET_DEFAULT_IGNORE.

commit 843f59ed2647d73ed7ba46885ac3820ff97fbdc5
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:20:36 2013 -0700

    convert to_can_run_breakpoint_commands
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_can_run_breakpoint_commands.
    	* target.h (struct target_ops) <to_can_run_breakpoint_commands>:
    	Use TARGET_DEFAULT_RETURN.

commit ccfde2a0c07136f95907a7d545cf6781273ba4a0
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:20:06 2013 -0700

    convert to_supports_evaluation_of_breakpoint_conditions
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_supports_evaluation_of_breakpoint_conditions.
    	* target.h (struct target_ops)
    	<to_supports_evaluation_of_breakpoint_conditions>: Use
    	TARGET_DEFAULT_RETURN.

commit 0de91722c6021504af3a1cc06c59d1961b2cc585
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:19:33 2013 -0700

    convert to_augmented_libraries_svr4_read
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_augmented_libraries_svr4_read.
    	* target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
    	Use TARGET_DEFAULT_RETURN.

commit 9a7d8b4812687f9fed3e495024b166f04af44def
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:19:04 2013 -0700

    convert to_can_use_agent
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_can_use_agent.
    	* target.h (struct target_ops) <to_can_use_agent>: Use
    	TARGET_DEFAULT_RETURN.

commit d9db5b2141d86dafe7b437f521ee98beffac381d
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:18:35 2013 -0700

    convert to_use_agent
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_use_agent.
    	* target.h (struct target_ops) <to_use_agent>: Use
    	TARGET_DEFAULT_NORETURN.

commit 92155eeb1460f2963cbd5bf15323469123d968b5
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:18:10 2013 -0700

    convert to_traceframe_info
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_traceframe_info.
    	(return_null): Remove.
    	* target.h (struct target_ops) <to_traceframe_info>: Use
    	TARGET_DEFAULT_RETURN.

commit d6522a229d3baf2659c63a65b60947dff58ea200
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:17:35 2013 -0700

    convert to_static_tracepoint_markers_by_strid
    
    Note that this patch reformats the
    to_static_tracepoint_markers_by_strid field declaration in struct
    target_ops.  This was needed because make-target-delegates requires
    the opening paren for the parameters to be on the same line as the
    method name, and I didn't see an easy way to fix this.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_static_tracepoint_markers_by_strid.
    	* target.h (struct target_ops)
    	<to_static_tracepoint_markers_by_strid>: Use
    	TARGET_DEFAULT_NORETURN.

commit 4c3e44251dcb59f096a4d27006c36ffcc0057398
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:16:51 2013 -0700

    convert to_static_tracepoint_marker_at
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_static_tracepoint_marker_at.
    	* target.h (struct target_ops) <to_static_tracepoint_marker_at>:
    	Use TARGET_DEFAULT_RETURN.

commit dcd6917ff721b568fed57e4f24101fa226288ae1
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:16:24 2013 -0700

    convert to_set_permissions
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_set_permissions.
    	* target.h (struct target_ops) <to_set_permissions>: Use
    	TARGET_DEFAULT_IGNORE.

commit 22bcceeec6bfd4373fa8d09acff66115800f0455
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:15:55 2013 -0700

    convert to_get_tib_address
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_get_tib_address.
    	* target.h (struct target_ops) <to_get_tib_address>: Use
    	TARGET_DEFAULT_NORETURN.

commit 8586ccaaed442190518e751a5789ef9ea5749cf8
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:15:23 2013 -0700

    convert to_set_trace_notes
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_set_trace_notes.
    	* target.h (struct target_ops) <to_set_trace_notes>: Use
    	TARGET_DEFAULT_RETURN.

commit 91df8d1d35ec381563b978a836b5bd6987d236db
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:14:58 2013 -0700

    convert to_set_trace_buffer_size
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't initialize
    	to_set_trace_buffer_size.
    	* target.h (struct target_ops) <to_set_trace_buffer_size>: Use
    	TARGET_DEFAULT_IGNORE.

commit 8d5269391fc7dbbd00aa56dcac77bd5a277d2177
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:13:09 2013 -0700

    convert to_set_circular_trace_buffer
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_set_circular_trace_buffer.
    	* target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
    	TARGET_DEFAULT_IGNORE.

commit 0bcfeddf50f6d36d429b4546d5082debf2e5e05e
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:12:29 2013 -0700

    convert to_set_disconnected_tracing
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_set_disconnected_tracing.
    	* target.h (struct target_ops) <to_set_disconnected_tracing>: Use
    	TARGET_DEFAULT_IGNORE.

commit 9249843f19916f0ba5d02749b0811765babf527a
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:11:53 2013 -0700

    convert to_get_min_fast_tracepoint_insn_len
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_get_min_fast_tracepoint_insn_len.
    	(return_minus_one): Remove.
    	* target.h (struct target_ops)
    	<to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.

commit ace92e7d1435c46e3085f1183f957ab372b1f4a8
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:11:12 2013 -0700

    convert to_get_raw_trace_data
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_get_raw_trace_data.
    	* target.h (struct target_ops) <to_get_raw_trace_data>: Use
    	TARGET_DEFAULT_NORETURN.

commit 081204679d54dc5c6d7801dd4cc6decd949054b3
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:10:40 2013 -0700

    convert to_upload_trace_state_variables
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_upload_trace_state_variables.
    	* target.h (struct target_ops) <to_upload_trace_state_variables>:
    	Use TARGET_DEFAULT_RETURN.

commit 1e949b005fbc5a62ba4479a9861e861bc72de2a1
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:10:14 2013 -0700

    convert to_upload_tracepoints
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_upload_tracepoints.
    	* target.h (struct target_ops) <to_upload_tracepoints>: Use
    	TARGET_DEFAULT_RETURN.

commit a2e6c147fcef5671c6c99f647a8e4587a117db30
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:09:37 2013 -0700

    convert to_save_trace_data
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_save_trace_data.
    	* target.h (struct target_ops) <to_save_trace_data>: Use
    	TARGET_DEFAULT_NORETURN.

commit 959bcd0b393d5d35e7e7b6ac5d8cd6083c866a8c
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:09:04 2013 -0700

    convert to_get_trace_state_variable_value
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_get_trace_state_variable_value.
    	* target.h (struct target_ops)
    	<to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.

commit afc94e66d421055b1fc13995876c0880c8f626c7
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:08:14 2013 -0700

    convert to_trace_find
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_trace_find.
    	* target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.

commit e51c07ea4ab456d2a46fb48256007518722d21e9
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:07:28 2013 -0700

    convert to_trace_stop
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_trace_stop.
    	* target.h (struct target_ops) <to_trace_stop>: Use
    	TARGET_DEFAULT_NORETURN.

commit 6fea14cd31245114ab9a48a4134790e826be2a24
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:06:52 2013 -0700

    convert to_get_tracepoint_status
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_get_tracepoint_status.
    	* target.h (struct target_ops) <to_get_tracepoint_status>: Use
    	TARGET_DEFAULT_NORETURN.

commit 4072d4ff86a32410cb7073eafa5dca07e88ecc69
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:06:18 2013 -0700

    convert to_get_trace_status
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_get_trace_status.
    	* target.h (struct target_ops) <to_get_trace_status>: Use
    	TARGET_DEFAULT_RETURN.

commit 25da2e807e5aa1a19df0b39561d4eefcbac51503
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:04:27 2013 -0700

    convert to_trace_start
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_trace_start.
    	* target.h (struct target_ops) <to_trace_start>: Use
    	TARGET_DEFAULT_NORETURN.

commit 86dd181d454a0b975bebafae1893d6ae236c8649
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:03:28 2013 -0700

    convert to_trace_set_readonly_regions
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_trace_set_readonly_regions.
    	* target.h (struct target_ops) <to_trace_set_readonly_regions>:
    	Use TARGET_DEFAULT_NORETURN.

commit 05c41993a6001ca281dc5eb35f44d0c064bfb913
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:02:30 2013 -0700

    convert to_disable_tracepoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_disable_tracepoint.
    	* target.h (struct target_ops) <to_disable_tracepoint>: Use
    	TARGET_DEFAULT_NORETURN.

commit 151f70f10ef35a1d6fba1c78d0108b371b5f8b29
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:01:51 2013 -0700

    convert to_enable_tracepoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_enable_tracepoint.
    	* target.h (struct target_ops) <to_enable_tracepoint>: Use
    	TARGET_DEFAULT_NORETURN.

commit 94eb98b974f70f4d6e28e3af6f4a3cdc31c15f3b
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:01:07 2013 -0700

    convert to_download_trace_state_variable
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_download_trace_state_variable.
    	* target.h (struct target_ops) <to_download_trace_state_variable>:
    	Use TARGET_DEFAULT_NORETURN.

commit 719acc4a29542c9f9f24cbf57b1627cbc61b14fe
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 14:00:23 2013 -0700

    convert to_can_download_tracepoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_can_download_tracepoint.
    	* target.h (struct target_ops) <to_can_download_tracepoint>: Use
    	TARGET_DEFAULT_RETURN.

commit 9a980a22ba5c15b3cf9af2770212fdccebe6fc48
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 13:57:41 2013 -0700

    convert to_download_tracepoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_download_tracepoint.
    	* target.h (struct target_ops) <to_download_tracepoint>: Use
    	TARGET_DEFAULT_NORETURN.

commit 5536135bf41239d466c47b827e02b49197bd2b48
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 13:57:05 2013 -0700

    convert to_trace_init
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_trace_init.
    	* target.h (struct target_ops) <to_trace_init>: Use
    	TARGET_DEFAULT_RETURN.

commit 9409d39e8776a1f556cba720b7fcb0ea60c22cd4
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 13:56:04 2013 -0700

    convert to_supports_string_tracing
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_supports_string_tracing.
    	* target.h (struct target_ops) <to_supports_string_tracing>: Use
    	TARGET_DEFAULT_RETURN.

commit aab1b22d31545efe8dfdd942e2050b3be0c9cf2e
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 13:54:59 2013 -0700

    convert to_supports_enable_disable_tracepoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_supports_enable_disable_tracepoint.
    	* target.h (struct target_ops)
    	<to_supports_enable_disable_tracepoint>: Use
    	TARGET_DEFAULT_RETURN.

commit a73047487749f2c4723f65fe633e24acdee28312
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 13:54:06 2013 -0700

    convert to_supports_multi_process
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_supports_multi_process.
    	* target.h (struct target_ops) <to_supports_multi_process>: Use
    	TARGET_DEFAULT_RETURN.

commit 4229b31de20c8782f1b6d79a4dd304041ead26b7
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 13:53:09 2013 -0700

    convert to_get_ada_task_ptid
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_get_ada_task_ptid.
    	* target.h (struct target_ops) <to_get_ada_task_ptid>: Use
    	TARGET_DEFAULT_FUNC.

commit 43eba180841a33f29ccc7130e9892ecf852e7c87
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 11:16:31 2013 -0700

    convert to_thread_architecture
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_thread_architecture.
    	* target.h (struct target_ops) <to_thread_architecture>: Use
    	TARGET_DEFAULT_FUNC.

commit fe31bf5b9e1b6fcfc5f083228328a84b6af19ad8
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 11:15:21 2013 -0700

    convert to_execution_direction
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_execution_direction.
    	* target.h (struct target_ops) <to_execution_direction>: Use
    	TARGET_DEFAULT_FUNC.

commit 53e1cfc77f60479a222bf52261b6a1f77bc3a445
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 11:12:28 2013 -0700

    convert to_can_execute_reverse
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_can_execute_reverse.
    	* target.h (struct target_ops) <to_can_execute_reverse>: Use
    	TARGET_DEFAULT_RETURN.
    	(target_can_execute_reverse): Unconditionally delegate.

commit 9bb9d61d2fbf706a34b8ddf0d87b9d1fc642d728
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 11:11:25 2013 -0700

    convert to_goto_bookmark
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_goto_bookmark.
    	(dummy_goto_bookmark): Remove.
    	(init_dummy_target): Don't inherit or default to_goto_bookmark.
    	* target.h (struct target_ops) <to_goto_bookmark>: Use
    	TARGET_DEFAULT_NORETURN.

commit 3dbafbbb27843724f56f9016e6781a501c0b2af0
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 11:10:32 2013 -0700

    convert to_get_bookmark
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_get_bookmark.
    	(dummy_get_bookmark): Remove.
    	(init_dummy_target): Don't inherit or default to_get_bookmark.
    	* target.h (struct target_ops) <to_get_bookmark>: Use
    	TARGET_DEFAULT_NORETURN

commit 16f796b16a0a7c16c8c11800136b99e53984f4c2
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:57:18 2013 -0700

    convert to_make_corefile_notes
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_make_corefile_notes.
    	(init_dummy_target): Don't initialize to_make_corefile_notes.
    	* target.h (struct target_ops) <to_make_corefile_notes>: Use
    	TARGET_DEFAULT_FUNC.

commit 0b5a271985687f3cfaf22a301e5ad4600df1302b
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:55:34 2013 -0700

    convert to_find_memory_regions
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_find_memory_regions.
    	(init_dummy_target): Don't initialize to_find_memory_regions.
    	* target.h (struct target_ops) <to_find_memory_regions>: Use
    	TARGET_DEFAULT_FUNC.

commit d9cb019581e7934faa292b5f9d0caa62be0ceef0
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:52:58 2013 -0700

    convert to_log_command
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_log_command.
    	* target.h (struct target_ops) <to_log_command>: Use
    	TARGET_DEFAULT_IGNORE.
    	(target_log_command): Unconditionally delegate.

commit 830ca33050cbad40e2d57ac9843033048e0160ca
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:51:10 2013 -0700

    convert to_pid_to_exec_file
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_pid_to_exec_file.
    	* target.h (struct target_ops) <to_pid_to_exec_file>: Use
    	TARGET_DEFAULT_RETURN.

commit 825828fcf34539d98b0c10f9c33d35a9641c8018
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:49:35 2013 -0700

    convert to_thread_name
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_thread_name.
    	(target_thread_name): Unconditionally delegate.
    	* target.h (struct target_ops) <to_thread_name>: Use
    	TARGET_DEFAULT_RETURN.

commit 4a7e6dda8a9288579b5d8ac98b036187e7f76fea
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:48:36 2013 -0700

    convert to_extra_thread_info
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_extra_thread_info.
    	* target.h (struct target_ops) <to_extra_thread_info>: Use
    	TARGET_DEFAULT_RETURN.

commit 0db88c1ddcd5524c2839650474b9750018b272f4
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:47:22 2013 -0700

    convert to_has_exited
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_has_exited.
    	* target.h (struct target_ops) <to_has_exited>: Use
    	TARGET_DEFAULT_RETURN..

commit 6a9fa05147d8d42c57efc441641a3e3c2fd96057
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:46:38 2013 -0700

    convert to_set_syscall_catchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_set_syscall_catchpoint.
    	(return_one): Remove.
    	* target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
    	TARGET_DEFAULT_RETURN.

commit cda0f38c9e2092b84e9b44a9da7f7c6ef79a2332
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:46:02 2013 -0700

    convert to_remove_exec_catchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_insert_exec_catchpoint.
    	* target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
    	TARGET_DEFAULT_RETURN.

commit 62f64d7a6a8e8e46afa52133dc8a098684e118e9
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:45:38 2013 -0700

    convert to_insert_exec_catchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_insert_exec_catchpoint.
    	* target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
    	TARGET_DEFAULT_RETURN.

commit 95c3375e4733e676f9fb6f2229061151d139fcb6
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:44:57 2013 -0700

    convert to_remove_vfork_catchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_remove_vfork_catchpoint.
    	* target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
    	TARGET_DEFAULT_RETURN.

commit 7e18a8dc5941ffd8728075e2b135e5c9ea1b640e
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:44:22 2013 -0700

    convert to_insert_vfork_catchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_insert_vfork_catchpoint.
    	* target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
    	TARGET_DEFAULT_RETURN.

commit e1a21fb7aa902c076ef9257e95d0e0389caf0ca9
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:34:15 2013 -0700

    convert to_remove_fork_catchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_remove_fork_catchpoint.
    	* target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
    	TARGET_DEFAULT_RETURN.

commit 5958ebeb13d4a06b69a24df35d0f658af9bb1ddd
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:33:43 2013 -0700

    convert to_insert_fork_catchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_insert_fork_catchpoint.
    	* target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
    	TARGET_DEFAULT_RETURN.

commit 340ba4bf679856ffdfd0f44808ce5c17d3668ff5
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:32:56 2013 -0700

    convert to_post_startup_inferior
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_post_startup_inferior.
    	* target.h (struct target_ops) <to_post_startup_inferior>: Use
    	TARGET_DEFAULT_IGNORE.

commit 7634da87666f9a13c9ec33f3261809fa5cac7cc5
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:31:48 2013 -0700

    convert to_load
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_load.
    	* target.h (struct target_ops) <to_load>: Use
    	TARGET_DEFAULT_NORETURN.

commit e19e919feaeb02ea345b2ba577708aa27ea159c6
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:31:10 2013 -0700

    convert to_terminal_info
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_terminal_info.
    	* target.h (struct target_ops) <to_terminal_info>: Use
    	TARGET_DEFAULT_FUNC.

commit c6ea8f7983c639f8bfe180f8216211f2ffc3dfe6
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:30:41 2013 -0700

    convert to_terminal_save_ours
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_terminal_save_ours.
    	* target.h (struct target_ops) <to_terminal_save_ours>: Use
    	TARGET_DEFAULT_IGNORE.

commit e4a733f17e1e82e9ec133558ef07704609051759
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:30:16 2013 -0700

    convert to_terminal_ours
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_terminal_ours.
    	* target.h (struct target_ops) <to_terminal_ours>: Use
    	TARGET_DEFAULT_IGNORE.

commit 74fcbef986dc97a4025125c6ef7c5a5b0db9dd07
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:29:46 2013 -0700

    convert to_terminal_ours_for_output
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_terminal_ours_for_output.
    	* target.h (struct target_ops) <to_terminal_ours_for_output>: Use
    	TARGET_DEFAULT_IGNORE.

commit ddeaacc9e11d0de47a799af1ef8e96a7cff255f7
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:29:01 2013 -0700

    convert to_terminal_inferior
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_terminal_inferior.
    	* target.h (struct target_ops) <to_terminal_inferior>: Use
    	TARGET_DEFAULT_IGNORE.

commit 0343661d236131a6505b3900c53469fa3c97e7ff
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:24:07 2013 -0700

    convert to_terminal_init
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_terminal_init.
    	* target.h (struct target_ops) <to_terminal_init>: Use
    	TARGET_DEFAULT_IGNORE.

commit 77cdffe90e96b731eae441f08a69eaa231d65a7b
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:20:48 2013 -0700

    convert to_can_accel_watchpoint_condition
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_can_accel_watchpoint_condition.
    	* target.h (struct target_ops)
    	<to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.

commit d03655e4a56d192eadfc1627c2224fa778def19e
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:18:05 2013 -0700

    convert to_region_ok_for_hw_watchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_region_ok_for_hw_watchpoint.
    	* target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
    	Use TARGET_DEFAULT_FUNC.

commit 65f160a9b327f4ea99f9776b2cd1d590e94ca4f3
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:15:23 2013 -0700

    convert to_watchpoint_addr_within_range
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_watchpoint_addr_within_range.
    	* target.h (struct target_ops) <to_watchpoint_addr_within_range>:
    	Use TARGET_DEFAULT_FUNC.

commit 61dd109f607a5fdf662af026f46a5695baa2a795
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:11:49 2013 -0700

    convert to_remove_watchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_remove_watchpoint.
    	* target.h (struct target_ops) <to_remove_watchpoint>: Use
    	TARGET_DEFAULT_NORETURN.

commit 016facd45b2dcd11afea6d1733faf5defafce8ae
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:08:59 2013 -0700

    convert to_insert_watchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_insert_watchpoint.
    	* target.h (struct target_ops) <to_insert_watchpoint>: Use
    	TARGET_DEFAULT_RETURN.

commit 418dabacd2dce85dc781f6fdc5aa277476b445c9
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:05:18 2013 -0700

    convert to_remove_hw_breakpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_remove_hw_breakpoint.
    	* target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
    	TARGET_DEFAULT_RETURN.

commit 61b371f94436eccaf6792b0a0243bcd1aabe8051
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 10:01:11 2013 -0700

    convert to_insert_hw_breakpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_insert_hw_breakpoint.
    	* target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
    	TARGET_DEFAULT_RETURN.

commit 52b51d06f873e4bc4874042c32383b68caa194fc
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 09:58:16 2013 -0700

    convert to_can_use_hw_breakpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_can_use_hw_breakpoint.
    	* target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
    	TARGET_DEFAULT_RETURN.

commit f86e59b2d1189ca289d971e2fd6ca51238a232fa
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 09:51:47 2013 -0700

    convert to_files_info
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_files_info.
    	* target.h (struct target_ops) <to_files_info>: Use
    	TARGET_DEFAULT_IGNORE.

commit 6c628163866f1d34561472c32a18a17cadf37a51
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 09:47:18 2013 -0700

    convert to_prepare_to_store
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_store.
    	* target.h (struct target_ops) <to_store>: Use
    	TARGET_DEFAULT_NORETURN.

commit bebd3233bfe1e95ba46c1dad413c8aba623a4449
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 09:42:24 2013 -0700

    convert to_post_attach
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_post_attach.
    	* target.h (struct target_ops) <to_post_attach>: Use
    	TARGET_DEFAULT_IGNORE.

commit a53f36250ea71db7b4968020e2284dc0488a4ce8
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 09:35:21 2013 -0700

    convert to_rcmd
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (update_current_target): Don't inherit or default
    	to_rcmd.
    	(default_rcmd): New function.
    	(do_monitor_command): Unconditionally delegate.
    	* target.h (struct target_ops) <to_rmcd>: Use
    	TARGET_DEFAULT_FUNC.

commit e9a2920092f392f61bcffebc390e0ce0c2cc1b99
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Dec 13 14:16:57 2013 -0700

    convert to_attach
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (init_dummy_target): Don't initialize to_attach.
    	(target_attach): Unconditionally delegate.
    	* target.h (struct target_ops) <to_attach>: Use
    	TARGET_DEFAULT_FUNC.

commit 09da0d0ae79ea019e04e5a44b5095f5addecaa24
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Dec 13 13:33:08 2013 -0700

    convert to_detach
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target-delegates.c: Rebuild.
    	* target.c (target_detach): Unconditionally delegate.
    	(init_dummy_target): Don't initialize to_detach.
    	* target.h (struct target_ops) <to_detach>: Use
    	TARGET_DEFAULT_IGNORE.

commit 5436ff0304a28eaf84b2a3029b4005e55d93683a
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:49:18 2013 -0700

    Add target_ops argument to to_augmented_libraries_svr4_read
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
    	Add argument.
    	(target_augmented_libraries_svr4_read): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_augmented_libraries_svr4_read): Add 'self'
    	argument.

commit f0d960ea2fd9c7ffd2e6462b07b47280053738f3
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:49:06 2013 -0700

    Add target_ops argument to to_call_history_range
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_call_history_range>: Add
    	argument.
    	* target.c (target_call_history_range): Add argument.
    	* record-btrace.c (record_btrace_call_history_range): Add 'self'
    	argument.
    	(record_btrace_call_history_from): Update.

commit ec0aea0490879ef1c44ba795ad97e492128ffb45
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:48:53 2013 -0700

    Add target_ops argument to to_call_history_from
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_call_history_from>: Add
    	argument.
    	* target.c (target_call_history_from): Add argument.
    	* record-btrace.c (record_btrace_call_history_from): Add 'self'
    	argument.

commit 5df2fcba0d0547af4245d210370e7fdcecae7e15
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:48:41 2013 -0700

    Add target_ops argument to to_call_history
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_call_history>: Add argument.
    	* target.c (target_call_history): Add argument.
    	* record-btrace.c (record_btrace_call_history): Add 'self'
    	argument.

commit 4e99c6b708b232d1cd61c29148e2d8290b625786
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:48:29 2013 -0700

    Add target_ops argument to to_insn_history_range
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_insn_history_range>: Add
    	argument.
    	* target.c (target_insn_history_range): Add argument.
    	* record-btrace.c (record_btrace_insn_history_range): Add 'self'
    	argument.
    	(record_btrace_insn_history_from): Update.

commit 9abc3ff39e21529b0252a5257f75f157ea919603
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:48:16 2013 -0700

    Add target_ops argument to to_insn_history_from
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_insn_history_from>: Add
    	argument.
    	* target.c (target_insn_history_from): Add argument.
    	* record-btrace.c (record_btrace_insn_history_from): Add 'self'
    	argument.

commit 7a6c5609f76c156a95e314da790b331eace4137a
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:48:04 2013 -0700

    Add target_ops argument to to_insn_history
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_insn_history>: Add argument.
    	* target.c (target_insn_history): Add argument.
    	* record-btrace.c (record_btrace_insn_history): Add 'self'
    	argument.

commit 606183ac2c604257107f243f772fb5fb23d47968
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:47:52 2013 -0700

    Add target_ops argument to to_goto_record
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_goto_record>: Add argument.
    	* target.c (target_goto_record): Add argument.
    	* record-full.c (record_full_goto): Add 'self' argument.
    	* record-btrace.c (record_btrace_goto): Add 'self' argument.

commit 307a1b91cc39d8329e09b8d913a9a0391d7ac1ad
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:47:39 2013 -0700

    Add target_ops argument to to_goto_record_end
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_goto_record_end>: Add argument.
    	* target.c (target_goto_record_end): Add argument.
    	* record-full.c (record_full_goto_end): Add 'self' argument.
    	* record-btrace.c (record_btrace_goto_end): Add 'self' argument.

commit 084758178fb0d29f57f4041d89ac027cd32834a3
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:47:27 2013 -0700

    Add target_ops argument to to_goto_record_begin
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_goto_record_begin>: Add
    	argument.
    	* target.c (target_goto_record_begin): Add argument.
    	* record-full.c (record_full_goto_begin): Add 'self' argument.
    	* record-btrace.c (record_btrace_goto_begin): Add 'self'
    	argument.

commit 1c63c99491f9581d3f76d116cedcbfa5f124ca5a
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:47:15 2013 -0700

    Add target_ops argument to to_record_is_replaying
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_record_is_replaying>: Add
    	argument.
    	* target.c (target_record_is_replaying): Add argument.
    	* record-full.c (record_full_is_replaying): Add 'self' argument.
    	* record-btrace.c (record_btrace_is_replaying): Add 'self'
    	argument.
    	(record_btrace_xfer_partial, record_btrace_store_registers)
    	(record_btrace_prepare_to_store, record_btrace_resume)
    	(record_btrace_wait, record_btrace_decr_pc_after_break)
    	(record_btrace_find_new_threads, record_btrace_thread_alive):
    	Update.

commit d1b55219eb0c67cb9fa2d1079e52dd289b07342f
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:47:02 2013 -0700

    Add target_ops argument to to_delete_record
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_delete_record>: Add argument.
    	* target.c (target_delete_record): Add argument.
    	* record-full.c (record_full_delete): Add 'self' argument.

commit 1390f5296ff85f0d84d7acc36d80ea3b83b555c0
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:46:50 2013 -0700

    Add target_ops argument to to_save_record
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_save_record>: Add argument.
    	* target.c (target_save_record): Add argument.
    	* record-full.c (record_full_save): Add 'self' argument.
    	(record_full_save): Add 'self' argument.

commit 630d6a4ad3e46c9fb6f6976030d8edb3ded6cf1c
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:46:38 2013 -0700

    Add target_ops argument to to_info_record
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_info_record>: Add argument.
    	* target.c (target_info_record): Add argument.
    	* record.c (info_record_command): Add argument.
    	* record-full.c (record_full_info): Add 'self' argument.
    	* record-btrace.c (record_btrace_info): Add 'self' argument.

commit c6cd7c02d1b67aafe4c791e2828c58733c68c03d
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:46:25 2013 -0700

    Add target_ops argument to to_stop_recording
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_stop_recording>: Add argument.
    	* target.c (target_stop_recording): Add argument.
    	* record.c (record_stop): Add argument.
    	* record-btrace.c (record_btrace_stop_recording): Add 'self'
    	argument.

commit 39c49f83b643618704b1a89e0b14680090a17f97
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:46:13 2013 -0700

    Add target_ops argument to to_read_btrace
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_read_btrace>: Add argument.
    	* target.c (struct target_ops) <to_read_btrace>: Add argument.
    	* remote.c (struct target_ops) <to_read_btrace>: Add 'self'
    	argument.
    	* amd64-linux-nat.c (amd64_linux_read_btrace): New function.
    	(_initialize_amd64_linux_nat): Use it.
    	* i386-linux-nat.c (i386_linux_read_btrace): New function.
    	(_initialize_i386_linux_nat): Use it.

commit 1777056d68eff4d68e0e00314d6050abaf9dff5f
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:46:00 2013 -0700

    Add target_ops argument to to_teardown_btrace
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_teardown_btrace>: Add argument.
    	* target.c (target_teardown_btrace): Add argument.
    	* remote.c (remote_teardown_btrace): Add 'self' argument.
    	* i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
    	argument.
    	* amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
    	argument.

commit 25e95349d8bc9dc7b2374cc0f684c5c6fbc6219a
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:45:48 2013 -0700

    Add target_ops argument to to_disable_btrace
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_disable_btrace>: Add argument.
    	* target.c (target_disable_btrace): Add argument.
    	* remote.c (remote_disable_btrace): Add 'self' argument.
    	* i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
    	argument.
    	* amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
    	argument.

commit e3c49f88a28ae59ca4d339fac721719038da746d
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:45:35 2013 -0700

    Add target_ops argument to to_enable_btrace
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_enable_btrace>: Add argument.
    	* target.c (target_enable_btrace): Add argument.
    	* remote.c (remote_enable_btrace): Add 'self' argument.
    	* i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
    	argument.
    	* amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
    	argument.

commit fe38f8971f81ab42937d4c22f85bba5d8e48ada9
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:45:22 2013 -0700

    Add target_ops argument to to_can_use_agent
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_can_use_agent>: Add argument.
    	(target_can_use_agent): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_can_use_agent): Add 'self' argument.
    	* inf-child.c (inf_child_can_use_agent): Add 'self' argument.

commit 2c152180b36b20e14c4562a127d5d7fb8789d175
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:45:10 2013 -0700

    Add target_ops argument to to_use_agent
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_use_agent>: Add argument.
    	(target_use_agent): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_use_agent): Add 'self' argument.
    	* inf-child.c (inf_child_use_agent): Add 'self' argument.

commit a893e81f187e3ffd69a90bd8181571628f74794e
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:44:57 2013 -0700

    Add target_ops argument to to_traceframe_info
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* tracepoint.c (tfile_traceframe_info): Add 'self' argument.
    	* target.h (struct target_ops) <to_traceframe_info>: Add argument.
    	(target_traceframe_info): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_traceframe_info): Add 'self' argument.
    	* ctf.c (ctf_traceframe_info): Add 'self' argument.

commit c686c57f020c9b20ea120ec19cacce773ae789de
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:44:45 2013 -0700

    Add target_ops argument to to_static_tracepoint_markers_by_strid
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (target_static_tracepoint_markers_by_strid): Add
    	argument.
    	(struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
    	'self' argument.
    	* target.c (update_current_target): Update.
    	* remote.c (struct target_ops)
    	<to_static_tracepoint_markers_by_strid>: Add 'self' argument.
    	* linux-nat.c (struct target_ops)
    	<to_static_tracepoint_markers_by_strid>: Add 'self' argument.

commit 61fc905df366744e1501cccd7ba030f50e6c7850
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:44:32 2013 -0700

    Add target_ops argument to to_static_tracepoint_marker_at
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_static_tracepoint_marker_at>:
    	Add argument.
    	(target_static_tracepoint_marker_at): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_static_tracepoint_marker_at): Add 'self'
    	argument.

commit c378d69dffc04b96a99e08f8df7a117ac0e57dbf
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:44:20 2013 -0700

    Add target_ops argument to to_set_permissions
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_set_permissions>: Add argument.
    	(target_set_permissions): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_set_permissions): Add 'self' argument.
    	(remote_start_remote): Update.

commit bd7ae0f5ac99eac95313ae91ae705c45f669f20f
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:44:08 2013 -0700

    Add target_ops argument to to_get_tib_address
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* windows-nat.c (windows_get_tib_address): Add 'self' argument.
    	* target.h (struct target_ops) <to_get_tib_address>: Add argument.
    	(target_get_tib_address): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_get_tib_address): Add 'self' argument.

commit d9e68a2c60bc6a2e5e698f5849a20df208ac130a
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:43:55 2013 -0700

    Add target_ops argument to to_set_trace_notes
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_set_trace_notes>: Add argument.
    	(target_set_trace_notes): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_set_trace_notes): Add 'self' argument.

commit 4da384beed77ffcb7acf0c3001eff173c7b4e2d0
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:43:43 2013 -0700

    Add target_ops argument to to_set_trace_buffer_size
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_set_trace_buffer_size>: Add
    	argument.
    	(target_set_trace_buffer_size): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_set_trace_buffer_size): Add 'self' argument.

commit 736d5b1fc4ea1aff32957d79fd502dc0914319bb
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:43:31 2013 -0700

    Add target_ops argument to to_set_circular_trace_buffer
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
    	argument.
    	(target_set_circular_trace_buffer): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_set_circular_trace_buffer): Add 'self'
    	argument.

commit 37b2573848cf7157a62da3d6dfb5a546c795121a
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:43:19 2013 -0700

    Add target_ops argument to to_set_disconnected_tracing
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_set_disconnected_tracing>: Add
    	argument.
    	(target_set_disconnected_tracing): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_set_disconnected_tracing): Add 'self' argument.

commit 0e67620a27973554ee13ce75bceddd90ac53a70d
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:43:06 2013 -0700

    Add target_ops argument to to_get_min_fast_tracepoint_insn_len
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops)
    	<to_get_min_fast_tracepoint_insn_len>: Add argument.
    	(target_get_min_fast_tracepoint_insn_len): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
    	argument.

commit 88ee6f45bb74169fea3dd75110e626ece3f11401
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:42:54 2013 -0700

    Add target_ops argument to to_get_raw_trace_data
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_get_raw_trace_data>: Add
    	argument.
    	(target_get_raw_trace_data): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_get_raw_trace_data): Add 'self' argument.

commit 181e3713ebe09eb7ee9119d2d214553ed37f5b29
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:42:42 2013 -0700

    Add target_ops argument to to_upload_trace_state_variables
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_upload_trace_state_variables>:
    	Add argument.
    	(target_upload_trace_state_variables): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_upload_trace_state_variables): Add 'self'
    	argument.
    	(remote_start_remote): Update.

commit ab6617cc1b3d544e14fdfb0df0ea21c0a7fcc5f4
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:42:29 2013 -0700

    Add target_ops argument to to_upload_tracepoints
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_upload_tracepoints>: Add
    	argument.
    	(target_upload_tracepoints): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_upload_tracepoints): Add 'self' argument.
    	(remote_start_remote): Update.

commit dc3decafdd646f0f61f68322e56fb423e306efa9
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:42:17 2013 -0700

    Add target_ops argument to to_save_trace_data
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_save_trace_data>: Add argument.
    	(target_save_trace_data): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_save_trace_data): Add 'self' argument.

commit 4011015ba220e1f55b4e105e9feb7eaf78703681
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:42:05 2013 -0700

    Add target_ops argument to to_get_trace_state_variable_value
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
    	argument.
    	* target.h (struct target_ops)
    	<to_get_trace_state_variable_value>: Add argument.
    	(target_get_trace_state_variable_value): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_get_trace_state_variable_value): Add 'self'
    	argument.
    	* ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.

commit bd4c67938f9885f36df3d5d9635aba4e8870b95d
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:41:52 2013 -0700

    Add target_ops argument to to_trace_find
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* tracepoint.c (tfile_trace_find): Add 'self' argument.
    	* target.h (struct target_ops) <to_trace_find>: Add argument.
    	(target_trace_find): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_trace_find): Add 'self' argument.
    	* ctf.c (ctf_trace_find): Add 'self' argument.

commit 74499f1bf25edf94415bb692a7cf71b719897738
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:41:40 2013 -0700

    Add target_ops argument to to_trace_stop
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_trace_stop>: Add argument.
    	(target_trace_stop): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_trace_stop): Add 'self' argument.

commit db90e85c816768fbe50c79477cd596071349af9c
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:41:27 2013 -0700

    Add target_ops argument to to_get_tracepoint_status
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
    	* target.h (struct target_ops) <to_get_tracepoint_status>: Add
    	argument.
    	(target_get_tracepoint_status): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_get_tracepoint_status): Add 'self' argument.

commit 8bd200f160af128f9e963490de816b6c98af2d1a
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:41:15 2013 -0700

    Add target_ops argument to to_get_trace_status
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* tracepoint.c (tfile_get_trace_status): Add 'self' argument.
    	* target.h (struct target_ops) <to_get_trace_status>: Add
    	argument.
    	(target_get_trace_status): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_get_trace_status): Add 'self' argument.
    	(remote_start_remote, remote_can_download_tracepoint): Update.
    	* ctf.c (ctf_get_trace_status): Add 'self' argument.

commit e2d1aae3726343725f2381a7fdca8647b6086584
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:41:02 2013 -0700

    Add target_ops argument to to_trace_start
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_trace_start>: Add argument.
    	(target_trace_start): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_trace_start): Add 'self' argument.

commit 583f9a86a41ec94276dd56da8844a40add57f734
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:40:50 2013 -0700

    Add target_ops argument to to_trace_set_readonly_regions
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_trace_set_readonly_regions>:
    	Add argument.
    	(target_trace_set_readonly_regions): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_trace_set_readonly_regions): Add 'self'
    	argument.

commit 780b049caa49b72635b2b84ef47d35c9c2f91473
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:40:38 2013 -0700

    Add target_ops argument to to_disable_tracepoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_disable_tracepoint>: Add
    	argument.
    	(target_disable_tracepoint): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_disable_tracepoint): Add 'self' argument.

commit 46670d57e303c34906cafefb09c250fe8c3c3390
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:40:25 2013 -0700

    Add target_ops argument to to_enable_tracepoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_enable_tracepoint>: Add
    	argument.
    	(target_enable_tracepoint): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_enable_tracepoint): Add 'self' argument.

commit 559d2b81f07720cc7d28ae0c496448c7905db049
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:40:13 2013 -0700

    Add target_ops argument to to_download_trace_state_variable
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_download_trace_state_variable>:
    	Add argument.
    	(target_download_trace_state_variable): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_download_trace_state_variable): Add 'self'
    	argument.

commit a52a8357cfeebe84e18276371ec29c8dd563adbf
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:40:01 2013 -0700

    Add target_ops argument to to_can_download_tracepoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_can_download_tracepoint>: Add
    	argument.
    	(target_can_download_tracepoint): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_can_download_tracepoint): Add 'self' argument.

commit 548f7808ad0fe07cc80dbacbf86f61bbfaa3fc73
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:39:49 2013 -0700

    Add target_ops argument to to_download_tracepoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_download_tracepoint>: Add
    	argument.
    	(target_download_tracepoint): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_download_tracepoint): Add 'self' argument.

commit ecae04e1df45d8ea47f700fde6cb1782c143f5d1
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:39:36 2013 -0700

    Add target_ops argument to to_trace_init
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_trace_init>: Add argument.
    	(target_trace_init): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_trace_init): Add 'self' argument.

commit fab5aa7c3fe5e60c877469a1e4c9c551e343409e
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:39:24 2013 -0700

    Add target_ops argument to to_fileio_readlink
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_fileio_readlink>: Add argument.
    	* target.c (target_fileio_readlink): Add argument.
    	* remote.c (remote_hostio_readlink): Add 'self' argument.
    	* inf-child.c (inf_child_fileio_readlink): Add 'self' argument.

commit dbbca37d38772f0f75296b01b757225278eb51fc
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:39:11 2013 -0700

    Add target_ops argument to to_fileio_unlink
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_fileio_unlink>: Add argument.
    	* target.c (target_fileio_unlink): Add argument.
    	* remote.c (remote_hostio_unlink): Add 'self' argument.
    	(remote_file_delete): Update.
    	* inf-child.c (inf_child_fileio_unlink): Add 'self' argument.

commit df39ea259cf099cb2de3d26905078dddf47832cd
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:38:59 2013 -0700

    Add target_ops argument to to_fileio_close
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_fileio_close>: Add argument.
    	* target.c (target_fileio_close): Add argument.
    	* remote.c (remote_hostio_close): Add 'self' argument.
    	(remote_hostio_close_cleanup): Update.
    	(remote_bfd_iovec_close, remote_file_put, remote_file_get):
    	Update.
    	* inf-child.c (inf_child_fileio_close): Add 'self' argument.

commit a3be983cee10c1bcd7cda582c3bb91c065ad97a2
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:38:46 2013 -0700

    Add target_ops argument to to_fileio_pread
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_fileio_pread>: Add argument.
    	* target.c (target_fileio_pread): Add argument.
    	* remote.c (remote_hostio_pread): Add 'self' argument.
    	(remote_bfd_iovec_pread, remote_file_get): Update.
    	* inf-child.c (inf_child_fileio_pread): Add 'self' argument.

commit 0d866f62e8517512fdc0fe92e3f2e4675b2d716f
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:38:34 2013 -0700

    Add target_ops argument to to_fileio_pwrite
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
    	* target.c (target_fileio_pwrite): Add argument.
    	* remote.c (remote_hostio_pwrite): Add 'self' argument.
    	(remote_file_put): Update.
    	* inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.

commit cd897586764fedd7c5dec6266fcda7b1699015d1
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:38:21 2013 -0700

    Add target_ops argument to to_fileio_open
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_fileio_open>: Add argument.
    	* target.c (target_fileio_open): Add argument.
    	* remote.c (remote_hostio_open): Add 'self' argument.
    	(remote_bfd_iovec_open): Add 'self' argument.
    	(remote_file_put): Add 'self' argument.
    	(remote_file_get): Add 'self' argument.
    	* inf-child.c (inf_child_fileio_open): Add 'self' argument.

commit 78eff0ec9d736c4a96bbd18c9bcd643d2a1edcea
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:38:09 2013 -0700

    Add target_ops argument to to_can_run_breakpoint_commands
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_can_run_breakpoint_commands>:
    	Add argument.
    	(target_can_run_breakpoint_commands): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_can_run_breakpoint_commands): Add 'self'
    	argument.
    	(remote_insert_breakpoint): Add 'self' argument.
    	(remote_insert_hw_breakpoint): Add 'self' argument.
    	(remote_can_run_breakpoint_commands): Add 'self' argument.

commit efcc2da70ea8bdb9153f1e717e84c0b9d976b394
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:37:56 2013 -0700

    Add target_ops argument to to_supports_evaluation_of_breakpoint_conditions
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops)
    	<to_supports_evaluation_of_breakpoint_conditions>: Add argument.
    	(target_supports_evaluation_of_breakpoint_conditions): Add
    	argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_supports_cond_breakpoints): Add 'self'
    	argument.
    	(remote_insert_breakpoint): Add 'self' argument.
    	(remote_insert_hw_breakpoint): Add 'self' argument.
    	(remote_supports_cond_breakpoints): Add 'self' argument.

commit 6de37a3aae4e37be2ea2ba8f9141ba63937f2c48
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:37:44 2013 -0700

    Add target_ops argument to to_supports_string_tracing
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_supports_string_tracing>: Add
    	argument.
    	(target_supports_string_tracing): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_supports_string_tracing): Add 'self' argument.

commit 2bfc0540a2dd04b011509c9cd8d0db695f7cc115
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:37:32 2013 -0700

    Add target_ops argument to to_supports_disable_randomization
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops)
    	<to_supports_disable_randomization>: Add argument.
    	* target.c (find_default_supports_disable_randomization): Add
    	argument.
    	(target_supports_disable_randomization): Add argument.
    	(find_default_supports_disable_randomization): Add 'self'
    	argument.
    	* remote.c (extended_remote_supports_disable_randomization): Add
    	'self' argument.
    	(remote_supports_disable_randomization): Add 'self' argument.
    	(extended_remote_create_inferior): Update.
    	* linux-nat.c (linux_nat_supports_disable_randomization): Add
    	'self' argument.

commit 7d178d6aa5a0f88080be7a0b7ebc03fc8b6262fc
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:37:19 2013 -0700

    Add target_ops argument to to_supports_enable_disable_tracepoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops)
    	<to_supports_enable_disable_tracepoint>: Add argument.
    	(target_supports_enable_disable_tracepoint): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
    	argument.

commit 86ce266821fee1fd9af0f00862857b25f9caf4e6
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:37:07 2013 -0700

    Add target_ops argument to to_supports_multi_process
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_supports_multi_process>: Add
    	argument.
    	(target_supports_multi_process): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_supports_multi_process): Add 'self' argument.
    	* linux-nat.c (linux_nat_supports_multi_process): Add 'self'
    	argument.
    	* darwin-nat.c (darwin_supports_multi_process): Add 'self'
    	argument.

commit 4c6127599b8d882f3125e28bca938548367bf0f3
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:36:54 2013 -0700

    Add target_ops argument to to_execution_direction
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_execution_direction>: Add
    	argument.
    	(target_execution_direction): Add argument.
    	* target.c (default_execution_direction): Add 'self' argument.
    	* record-full.c (record_full_execution_direction): Add 'self'
    	argument.

commit 19db3e69f3d107ea02b97335daf429a660e6cf97
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:36:42 2013 -0700

    Add target_ops argument to to_can_execute_reverse
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_can_execute_reverse>: Add
    	argument.
    	(target_can_execute_reverse): Add argument.
    	* remote.c (remote_can_execute_reverse): Add 'self' argument.
    	* record-full.c (record_full_can_execute_reverse): Add 'self'
    	argument.
    	* record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
    	argument.

commit 1e6b91a4bf6911ea68506a73eb8ff7ab3567f005
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:36:30 2013 -0700

    Add target_ops argument to to_get_ada_task_ptid
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
    	* target.h (struct target_ops) <to_get_ada_task_ptid>: Add
    	argument.
    	(target_get_ada_task_ptid): Add argument.
    	* target.c (update_current_target): Update.
    	(default_get_ada_task_ptid): Add 'self' argument.
    	* sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
    	* remote.c (remote_get_ada_task_ptid): Add 'self' argument.
    	* ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
    	argument.
    	* linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
    	argument.
    	* inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
    	argument.
    	* dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
    	argument.
    	* darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
    	* aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
    	argument.

commit 3c80fb48ecf664f8e9c37af310ca3f7c5c54faec
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:36:17 2013 -0700

    Add target_ops argument to to_goto_bookmark
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_goto_bookmark>: Add argument.
    	(target_goto_bookmark): Add argument.
    	* target.c (dummy_goto_bookmark): Add 'self' argument.
    	* record-full.c (record_full_goto_bookmark): Add 'self' argument.

commit dd0e2830ee1e66c4bac079bacffc081a041cb5a8
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:36:04 2013 -0700

    Add target_ops argument to to_get_bookmark
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_get_bookmark>: Add argument.
    	(target_get_bookmark): Add argument.
    	* target.c (dummy_get_bookmark): Add 'self' argument.
    	* record-full.c (record_full_get_bookmark): Add 'self' argument.

commit fc6691b2590f61a2f1deeb9d73e7df23b1ced88a
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:35:52 2013 -0700

    Add target_ops argument to to_make_corefile_notes
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_make_corefile_notes>: Add
    	argument.
    	(target_make_corefile_notes): Add argument.
    	* target.c (dummy_make_corefile_notes): Add 'self' argument.
    	* procfs.c (procfs_make_note_section): Add 'self' argument.
    	(procfs_make_note_section): Add 'self' argument.
    	(procfs_make_note_section): Add 'self' argument.
    	* linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
    	argument.
    	* fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
    	* fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
    	* exec.c (exec_make_note_section): Add 'self' argument.
    	(exec_make_note_section): Add 'self' argument.

commit 2e73927ca515996146d2b20d8e6f0b39c0a51b29
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:35:39 2013 -0700

    Add target_ops argument to to_find_memory_regions
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_find_memory_regions>: Add
    	argument.
    	(target_find_memory_regions): Add argument.
    	* target.c (dummy_find_memory_regions): Add 'self' argument.
    	* procfs.c (proc_find_memory_regions): Add 'self' argument.
    	* gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
    	* fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
    	* fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
    	* exec. (exec_do_find_memory_regions): New global.
    	(exec_set_find_memory_regions): Rewrite.
    	(exec_find_memory_regions): New function.
    	(init_exec_ops): Use exec_find_memory_regions.

commit 2a9a2795ff9602bd1f03b9e55b4c15de3241d384
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:35:26 2013 -0700

    Add target_ops argument to to_supports_non_stop
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_supports_non_stop>: Add
    	argument.
    	* target.c (find_default_supports_non_stop): Add argument.
    	(target_supports_non_stop): Add argument.
    	(find_default_supports_non_stop): Add 'self' argument.
    	* remote.c (remote_supports_non_stop): Add 'self' argument.
    	* linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.

commit 4ab76ea3fb057381852a9d3b7ac9270fec8e7a7c
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:35:13 2013 -0700

    Add target_ops argument to to_log_command
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_log_command>: Add argument.
    	(target_log_command): Add argument.
    	* serial.h (serial_log_command): Add 'self' argument.
    	* serial.c (serial_log_command): Add 'self' argument.

commit 8dd27370eb43ed1a76883f04c9d93f83a1d195a0
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:35:01 2013 -0700

    Add target_ops argument to to_pid_to_exec_file
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
    	* target.h (struct target_ops) <to_pid_to_exec_file>: Add
    	argument.
    	(target_pid_to_exec_file): Add argument.
    	* target.c (debug_to_pid_to_exec_file): Add argument.
    	(update_current_target): Update.
    	* nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
    	* nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
    	* linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
    	(linux_handle_extended_wait): Update.
    	* inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
    	* fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
    	* fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
    	* darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.

commit 1aac633be67ac452b4e8948362549f8760a19af0
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:34:48 2013 -0700

    Add target_ops argument to to_rcmd
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_rcmd>: Add argument.
    	(target_rcmd): Add argument.
    	* target.c (debug_to_rcmd): Add argument.
    	(update_current_target, do_monitor_command): Update.
    	* remote.c (remote_rcmd): Add 'self' argument.
    	* monitor.c (monitor_rcmd): Add 'self' argument.

commit 1eab8a48bf928ab7337833c785ec1316edbdbc8a
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:34:36 2013 -0700

    Add target_ops argument to to_stop
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* windows-nat.c (windows_stop): Add 'self' argument.
    	* target.h (struct target_ops) <to_stop>: Add argument.
    	* target.c (target_stop): Add argument.
    	(debug_to_stop): Add argument.
    	(update_current_target): Update.
    	* remote.c (remote_stop): Add 'self' argument.
    	* remote-sim.c (gdbsim_stop): Add 'self' argument.
    	(gdbsim_cntrl_c): Update.
    	* remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
    	* procfs.c (procfs_stop): Add 'self' argument.
    	* nto-procfs.c (procfs_stop): Add 'self' argument.
    	* monitor.c (monitor_stop): Add 'self' argument.
    	(monitor_open): Update.
    	* linux-nat.c (linux_nat_stop): Add argument.
    	* inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
    	* gnu-nat.c (gnu_stop): Add 'self' argument.
    	* darwin-nat.c (darwin_stop): Add 'self' argument.

commit 503a628d9bced852eb0d5da7eac40fa560c26b17
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:34:22 2013 -0700

    Add target_ops argument to to_thread_name
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_thread_name>: Add argument.
    	* target.c (target_thread_name): Add argument.
    	(update_current_target): Update.
    	* linux-nat.c (linux_nat_thread_name): Add 'self' argument.

commit c15906d8e64c7083787ae1548f614f2938089771
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:34:09 2013 -0700

    Add target_ops argument to to_extra_thread_info
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_extra_thread_info>: Add
    	argument.
    	(target_extra_thread_info): Add argument.
    	* target.c (update_current_target): Update.
    	* remote.c (remote_threads_extra_info): Add 'self' argument.
    	* ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
    	argument.
    	* nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
    	* nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
    	* linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
    	argument.
    	* inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
    	argument.
    	* bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
    	argument.
    	* aix-thread.c (aix_thread_extra_thread_info): Add 'self'
    	argument.

commit daf5e9b64c8e2c130a433c0ddbf73522dc321295
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:33:56 2013 -0700

    Add target_ops argument to to_program_signals
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_program_signals>: Add argument.
    	* target.c (target_program_signals): Add argument.
    	* remote.c (remote_program_signals): Add 'self' argument.

commit 94bedb42a7fe3265db2f84d9c7f2a73979953de0
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:33:44 2013 -0700

    Add target_ops argument to to_pass_signals
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_pass_signals>: Add argument.
    	* target.c (target_pass_signals): Add argument.
    	* remote.c (remote_pass_signals): Add 'self' argument.
    	(remote_start_remote): Update.
    	* procfs.c (procfs_pass_signals): Add 'self' argument.
    	* nto-procfs.c (procfs_pass_signals): Add 'self' argument.
    	* linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
    	(linux_nat_create_inferior, linux_nat_attach): Update.

commit da82bd6b65af8f3cec02621435331983b27d93a0
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:33:31 2013 -0700

    Add target_ops argument to to_can_run
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* windows-nat.c (windows_can_run): Add 'self' argument.
    	* target.h (struct target_ops) <to_can_run>: Add argument.
    	(target_can_run): Add argument.
    	* target.c (debug_to_can_run): Add argument.
    	(update_current_target): Update.
    	* nto-procfs.c (procfs_can_run): Add 'self' argument.
    	* inf-child.c (inf_child_can_run): Add 'self' argument.
    	* go32-nat.c (go32_can_run): Add 'self' argument.

commit d796e1d62f3cf00c48bf8e88d3f4e83848080525
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:33:18 2013 -0700

    Add target_ops argument to to_has_exited
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_has_exited>: Add argument.
    	(target_has_exited): Add argument.
    	* target.c (debug_to_has_exited): Add argument.
    	(update_current_target): Update.

commit ff214e679c60368c23e4052c9efcc7457a3a2c43
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:33:06 2013 -0700

    Add target_ops argument to to_set_syscall_catchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
    	argument.
    	(target_set_syscall_catchpoint): Add argument.
    	* linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
    	argument.
    	* target.c (update_current_target): Update.

commit 758e29d2cd0242b72a05515a701cfdcb73794864
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:32:54 2013 -0700

    Add target_ops argument to to_remove_exec_catchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
    	argument.
    	(target_remove_exec_catchpoint): Add argument.
    	* target.c (debug_to_remove_exec_catchpoint): Add argument.
    	(update_current_target): Update.
    	* linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
    	argument.

commit ba025e51ae36df9d804c64226292c8b863aa0a99
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:32:41 2013 -0700

    Add target_ops argument to to_insert_exec_catchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
    	argument.
    	(target_insert_exec_catchpoint): Add argument.
    	* target.c (debug_to_insert_exec_catchpoint): Add argument.
    	(update_current_target): Update.
    	* linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
    	argument.

commit e98cf0cd4f099c07016d50b136713559d21755b2
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:32:29 2013 -0700

    Add target_ops argument to to_remove_vfork_catchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
    	argument.
    	(target_remove_vfork_catchpoint): Add argument.
    	* target.c (debug_to_remove_vfork_catchpoint): Add argument.
    	(update_current_target): Update.
    	* linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
    	argument.

commit 3ecc7da0cbf59dd2d731f14917d9c71fb8a58676
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:32:17 2013 -0700

    Add target_ops argument to to_insert_vfork_catchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
    	argument.
    	(target_insert_vfork_catchpoint): Add argument.
    	* target.c (debug_to_insert_vfork_catchpoint): Add argument.
    	(update_current_target): Update.
    	* linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
    	argument.

commit 973fc2275208a4bfd7dddaa825e0b08b2100546e
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:32:05 2013 -0700

    Add target_ops argument to to_remove_fork_catchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
    	argument.
    	(target_remove_fork_catchpoint): Add argument.
    	* target.c (debug_to_remove_fork_catchpoint): Add argument.
    	(update_current_target): Update.
    	* linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
    	argument.

commit a863b201d73bc238cbcfdbb11eac0a9ba2489a55
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:31:52 2013 -0700

    Add target_ops argument to to_insert_fork_catchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
    	argument.
    	(target_insert_fork_catchpoint): Add argument.
    	* target.c (debug_to_insert_fork_catchpoint): Add argument.
    	(update_current_target): Update.
    	* linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
    	argument.

commit 2e97a79e221eed05a015a9b37595edd09b08eb36
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:31:40 2013 -0700

    Add target_ops argument to to_post_startup_inferior
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_post_startup_inferior>: Add
    	argument.
    	(target_post_startup_inferior): Add argument.
    	* target.c (debug_to_post_startup_inferior): Add argument.
    	(update_current_target): Update.
    	* spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
    	argument.
    	* linux-nat.c (linux_child_post_startup_inferior): Add 'self'
    	argument.
    	* inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
    	argument.
    	* inf-child.c (inf_child_post_startup_inferior): Add 'self'
    	argument.
    	* i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
    	'self' argument.
    	(super_post_startup_inferior): Likewise.
    	* amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
    	'self' argument.
    	(super_post_startup_inferior): Likewise.
    	* aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
    	Add 'self' argument.
    	(super_post_startup_inferior): Likewise.

commit 71a9f134da16fda6094f7cbab121ea62dbfb78d9
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:31:27 2013 -0700

    Add target_ops argument to to_load
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_load>: Add argument.
    	* target.c (target_load): Add argument.
    	(debug_to_load): Add argument.
    	(update_current_target): Update.
    	* remote.c (remote_load): Add 'self' argument.
    	* remote-sim.c (gdbsim_load): Add 'self' argument.
    	* remote-mips.c (mips_load): Add 'self' argument.
    	* remote-m32r-sdi.c (m32r_load): Add 'self' argument.
    	* monitor.c (monitor_load): Add 'self' argument.
    	* m32r-rom.c (m32r_load_gen): Add 'self' argument.

commit 0a4f40a208644744287b3e3a080416aede202633
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:31:14 2013 -0700

    Add target_ops argument to to_terminal_info
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_terminal_info>: Add argument.
    	(target_terminal_info): Add argument.
    	* target.c (debug_to_terminal_info): Add argument.
    	(default_terminal_info): Likewise.
    	* inflow.c (child_terminal_info): Add 'self' argument.
    	* inferior.h (child_terminal_info): Add 'self' argument.
    	* go32-nat.c (go32_terminal_info): Add 'self' argument.

commit ae3bd4315d0b1746d43b132decf3a14f91775061
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:31:01 2013 -0700

    Add target_ops argument to to_terminal_save_ours
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_terminal_save_ours>: Add
    	argument.
    	(target_terminal_save_ours): Add argument.
    	* target.c (debug_to_terminal_save_ours): Add argument.
    	(update_current_target): Update.
    	* inflow.c (terminal_save_ours): Add 'self' argument.
    	* inferior.h (terminal_save_ours): Add 'self' argument.

commit e3594fd196c8d629129af9cdc9d00ba08b62a928
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:30:49 2013 -0700

    Add target_ops argument to to_terminal_ours
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_terminal_ours>: Add argument.
    	(target_terminal_ours): Add argument.
    	* target.c (debug_to_terminal_ours): Add argument.
    	(update_current_target): Update.
    	* remote.c (remote_terminal_ours): Add 'self' argument.
    	(remote_close): Update.
    	* linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
    	* inflow.c (terminal_ours): Add 'self' argument.
    	* inferior.h (terminal_ours): Add 'self' argument.
    	* go32-nat.c (go32_terminal_ours): Add 'self' argument.

commit 2e1e1a193c4207779a53ef02753cf7cbec3cf38c
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:30:36 2013 -0700

    Add target_ops argument to to_terminal_ours_for_output
    
    2014-02-19  Pedro Alves  <palves@redhat.com>
    	    Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_terminal_ours_for_output>: Add
    	argument.
    	(target_terminal_ours_for_output): Add argument.
    	* target.c (debug_to_terminal_ours_for_output): Add argument.
    	(update_current_target): Update.
    	* inflow.c (terminal_ours_for_output): Add 'self' argument.
    	* inferior.h (terminal_ours_for_output): Add 'self' argument.
    	* go32-nat.c (go32_terminal_ours): Add 'self' argument.

commit d2f640d43aee0be2d12eb082ac3d48d99ab5a1ce
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:30:23 2013 -0700

    Add target_ops argument to to_terminal_inferior
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_terminal_inferior>: Add
    	argument.
    	* target.c (target_terminal_inferior): Add argument.
    	(update_current_target): Update.
    	* remote.c (remote_terminal_inferior): Add 'self' argument.
    	* linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
    	* inflow.c (terminal_inferior): Add 'self' argument.
    	* inferior.h (terminal_inferior): Add 'self' argument.
    	* go32-nat.c (go32_terminal_inferior): Add 'self' argument.
    	(go32_terminal_inferior): Add 'self' argument.

commit c42bf2866f330d7844917c40cf5886333fa3ea24
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:30:10 2013 -0700

    Add target_ops argument to to_terminal_init
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_terminal_init>: Add argument.
    	(target_terminal_init): Add argument.
    	* target.c (debug_to_terminal_init): Add argument.
    	(update_current_target): Update.
    	* inflow.c (terminal_init_inferior): Add 'self' argument.
    	* inferior.h (terminal_init_inferior): Add 'self' argument.
    	* go32-nat.c (go32_terminal_init): Add 'self' argument.
    	* gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.

commit c3a5ff89630f46c52ca43ee7e73933687815ca18
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:29:57 2013 -0700

    Add target_ops argument to to_can_accel_watchpoint_condition
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops)
    	<to_can_accel_watchpoint_condition>: Add argument.
    	(target_can_accel_watchpoint_condition): Add argument.
    	* target.c (debug_to_can_accel_watchpoint_condition): Add
    	argument.
    	(update_current_target): Update.
    	* ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
    	'self' argument.

commit 31568a15a22275374f7a98675c967c83c3f9ac2a
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:29:45 2013 -0700

    Add target_ops argument to to_region_ok_for_hw_watchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
    	Add argument.
    	(target_region_ok_for_hw_watchpoint): Add argument.
    	* target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
    	(default_region_ok_for_hw_watchpoint): Add argument.
    	* spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
    	* s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
    	argument.
    	* remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
    	argument.
    	* procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
    	argument.
    	* ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
    	'self' argument.
    	* mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
    	'self' argument.
    	* inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
    	'self' argument.
    	* i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
    	* arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
    	'self' argument.
    	* aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
    	Add 'self' argument.

commit 7bb99c53837248382434ccf26f50b42e69d0b874
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:29:31 2013 -0700

    Add target_ops argument to to_insert_watchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_insert_watchpoint>: Add
    	argument.
    	(target_insert_watchpoint): Add argument.
    	* target.c (debug_to_insert_watchpoint): Add argument.
    	(update_current_target): Update.
    	* s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
    	* remote.c (remote_insert_watchpoint): Add 'self' argument.
    	* remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
    	* remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
    	* procfs.c (procfs_insert_watchpoint): Add 'self' argument.
    	* ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
    	argument.
    	* nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
    	(procfs_insert_hw_watchpoint): Add 'self' argument.
    	* mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
    	argument.
    	* inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
    	argument.
    	* ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
    	argument.
    	* i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
    	* arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
    	argument.
    	* aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
    	'self' argument.

commit 11b5219af5c54762a68469ade4005e5dd2362f87
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:29:17 2013 -0700

    Add target_ops argument to to_remove_watchpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_remove_watchpoint>: Add
    	argument.
    	(target_remove_watchpoint): Add argument.
    	* target.c (debug_to_remove_watchpoint): Add argument.
    	(update_current_target): Update.
    	* s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
    	* remote.c (remote_remove_watchpoint): Add 'self' argument.
    	* remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
    	* remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
    	* procfs.c (procfs_remove_watchpoint): Add 'self' argument.
    	* ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
    	argument.
    	* nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
    	* mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
    	argument.
    	* inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
    	argument.
    	* ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
    	argument.
    	* i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
    	* arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
    	argument.
    	* aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
    	'self' argument.

commit a64dc96c258bcb9d5dc19b9470491cd7da5051b3
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:29:03 2013 -0700

    Add target_ops argument to to_remove_hw_breakpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
    	argument.
    	(target_remove_hw_breakpoint): Add argument.
    	* target.c (debug_to_remove_hw_breakpoint): Add argument.
    	(update_current_target): Update.
    	* remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
    	* ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
    	argument.
    	* i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
    	* arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
    	argument.
    	* aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
    	'self' argument.

commit 23a267714b1051ebbd5a9033a5e0e53c26083a64
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:28:50 2013 -0700

    Add target_ops argument to to_insert_hw_breakpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
    	argument.
    	(target_insert_hw_breakpoint): Add argument.
    	* target.c (debug_to_insert_hw_breakpoint): Add argument.
    	(update_current_target): Update.
    	* remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
    	* ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
    	argument.
    	* nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
    	* i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
    	* arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
    	argument.
    	* aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
    	'self' argument.

commit 5461485a87289f8e7909ae11f6256934579886dc
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:28:37 2013 -0700

    Add target_ops argument to to_can_use_hw_breakpoint
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
    	argument.
    	(target_can_use_hardware_watchpoint): Add argument.
    	* target.c (debug_to_can_use_hw_breakpoint): Add argument.
    	(update_current_target): Update.
    	* spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
    	argument.
    	* s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
    	argument.
    	* remote.c (remote_check_watch_resources): Add 'self' argument.
    	* remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
    	* remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
    	argument.
    	* procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
    	* ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
    	argument.
    	* nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
    	argument.
    	* mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
    	argument.
    	* inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
    	argument.
    	* ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
    	argument.
    	* ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
    	argument.
    	* i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
    	* arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
    	argument.
    	* aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
    	'self' argument.

commit f045800c90783c13d6f116d99ca429a9ef556055
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:28:08 2013 -0700

    Add target_ops argument to to_post_attach
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <to_post_attach>: Add argument.
    	(target_post_attach): Add argument.
    	* target.c (debug_to_post_attach): Add argument.
    	(update_current_target): Update.
    	* spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
    	* nto-procfs.c (procfs_post_attach): Add 'self' argument.
    	* linux-nat.c (linux_child_post_attach): Add 'self' argument.
    	* inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
    	* inf-child.c (inf_child_post_attach): Add 'self' argument.

commit de90e03d4c19cf5327b4eaea4ad8666a3a1bfad5
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:27:56 2013 -0700

    Add target_ops argument to to_close
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* windows-nat.c (windows_close): Add 'self' argument.
    	* tracepoint.c (tfile_close): Add 'self' argument.
    	* target.h (struct target_ops) <to_close>: Add argument.
    	* target.c (target_close): Add argument.
    	(update_current_target): Update.
    	* remote.c (remote_close): Add 'self' argument.
    	* remote-sim.c (gdbsim_close): Add 'self' argument.
    	* remote-mips.c (mips_close): Add 'self' argument.
    	* remote-m32r-sdi.c (m32r_close): Add 'self' argument.
    	* record-full.c (record_full_close): Add 'self' argument.
    	* record-btrace.c (record_btrace_close): Add 'self' argument.
    	* monitor.h (monitor_close): Add 'self' argument.
    	* monitor.c (monitor_close): Add 'self' argument.
    	* mips-linux-nat.c (mips_linux_close): Add 'self' argument.
    	* linux-nat.c (linux_nat_close): Add argument.
    	* go32-nat.c (go32_close): Add 'self' argument.
    	* exec.c (exec_close_1): Add 'self' argument.
    	* ctf.c (ctf_close): Add 'self' argument.
    	* corelow.c (core_close): Add 'self' argument.
    	(core_close_cleanup): Update.
    	* bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
    	* bsd-kvm.c (bsd_kvm_close): Add 'self' argument.

commit 9dd130a0f09e436482e7787fe1173ae06e39ade7
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 17 21:21:17 2013 -0700

    introduce remote_load
    
    I used a refactoring script to add target_ops arguments to all the
    target methods.  In order to make this script work a little better,
    this patch adds a new "remote_load" function; this eliminates the need
    to later change the signature of generic_load.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* remote.c (remote_load): New function.
    	(init_remote_ops): Use it.

commit 46917d26c8a2aa8054bbed410c432eadf355d172
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Dec 13 13:26:04 2013 -0700

    convert to_supports_btrace
    
    This adds a "self" argument to to_supports_btrace.  Due to how one
    implementation of this method is shared with gdbserver this required a
    small change to gdbserver as well.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* common/linux-btrace.c (linux_supports_btrace): Add "ops"
    	argument.
    	* common/linux-btrace.h (linux_supports_btrace): Update.
    	* remote.c (remote_supports_btrace): Add "self" argument.
    	* target-delegates.c: Rebuild.
    	* target.c (target_supports_btrace): Remove.
    	* target.h (struct target_ops) <to_supports_btrace>: Add
    	target_ops argument.
    	(target_supports_btrace): New define.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (struct target_ops) <supports_btrace>: Add target_ops
    	argument.
    	(target_supports_btrace): Update.

commit 6b84065d0e65d86f5c38bf139ec68101ea65d802
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Jul 12 13:00:34 2013 -0600

    add target method delegation
    
    This patch replaces some code in the record targets with target method
    delegation.
    
    record-full.c stores pointers to many target methods when the record
    target is pushed.  Then it later delegates some calls via these.  This
    is wrong because it violates the target stack contract.  In particular
    it is ok to unpush a target at any stratum, but record-full does not
    keep track of this, so it could potentially call into an unpushed
    target.
    
    This patch fixes the problem by using the newly-introduced generic
    approach to target delegation for the methods in question.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* record-full.c (record_full_beneath_to_resume_ops)
    	(record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
    	(record_full_beneath_to_wait)
    	(record_full_beneath_to_store_registers_ops)
    	(record_full_beneath_to_store_registers)
    	(record_full_beneath_to_xfer_partial_ops)
    	(record_full_beneath_to_xfer_partial)
    	(record_full_beneath_to_insert_breakpoint_ops)
    	(record_full_beneath_to_insert_breakpoint)
    	(record_full_beneath_to_remove_breakpoint_ops)
    	(record_full_beneath_to_remove_breakpoint)
    	(record_full_beneath_to_stopped_by_watchpoint)
    	(record_full_beneath_to_stopped_data_address)
    	(record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
    	(tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
    	(tmp_to_store_registers, tmp_to_xfer_partial_ops)
    	(tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
    	(tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
    	(tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
    	(tmp_to_stopped_data_address, tmp_to_async): Remove.
    	(record_full_open_1, record_full_open): Update.  Use RECORD_IS_USED.
    	(record_full_resume, record_full_wait_1)
    	(record_full_stopped_by_watchpoint, record_full_stopped_data_address)
    	(record_full_store_registers, record_full_xfer_partial)
    	(record_full_insert_breakpoint, record_full_remove_breakpoint)
    	(record_full_async, record_full_core_xfer_partial): Use target
    	delegation.
    	* target-delegates.c: Rebuild.
    	* target.c (current_xfer_partial): Remove.
    	(update_current_target): Do not INHERIT or de_fault
    	to_insert_breakpoint, to_remove_breakpoint,
    	to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
    	to_is_async_p, to_async.  Do not set to_xfer_partial field.
    	(default_xfer_partial): Simplify.
    	(current_xfer_partial): Remove.
    	(target_wait, target_resume): Simplify.
    	(find_default_can_async_p, find_default_is_async_p): Update.
    	(init_dummy_target): Don't set to_can_async_p, to_is_async_p,
    	to_xfer_partial, to_stopped_by_watchpoint,
    	to_stopped_data_address.
    	(target_store_registers): Simplify.
    	(forward_target_remove_breakpoint)
    	(forward_target_insert_breakpoint): Remove.
    	(target_remove_breakpoint, target_insert_breakpoint)
    	(debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
    	* target.h (struct target_ops) <to_resume, to_wait,
    	to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
    	to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
    	to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
    	markup.
    	(forward_target_remove_breakpoint)
    	(forward_target_insert_breakpoint): Remove.
    	* record-btrace.c (record_btrace_remove_breakpoint): Delegate
    	directly.
    	(record_btrace_insert_breakpoint): Delegate directly.

commit 1101cb7b3b05d857c8bccc848bc5664155c82730
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Dec 19 09:38:11 2013 -0700

    add make-target-delegates
    
    This patch adds a new script, call make-target-delegates, which
    auto-generates some target delegation code based on annotations in
    target.h.  This adds the new delegation macros, the new generated
    file, and adds the necessary calls to the new generated functions to
    target.c.  It doesn't, however, add any actual annotations to the
    target methods, leaving these for separate patches.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	PR build/7701:
    	* target-delegates.c: New file.
    	* target.c: Include target-delegates.c.
    	(init_dummy_target): Call install_dummy_methods.
    	(complete_target_initialization): Call install_delegators.
    	* target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
    	(TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
    	* make-target-delegates: New file.

commit 8b06beed0f0eb221067a1013add2efd159a36ade
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Oct 28 12:16:24 2013 -0600

    introduce and use find_target_at
    
    This patch adds find_target_at to determine whether a target appears
    at a given stratum.  This new function lets us clean up
    find_record_target a bit, and is generally useful.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* record.c (find_record_target): Use find_target_at.
    	* target.c (find_target_at): New function.
    	* target.h (find_target_at): Declare.

commit 6a109b6b2c98b949e490791ae57c100bb53be57e
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Jul 30 10:36:07 2013 -0600

    add "this" pointers to more target APIs
    
    A subsequent pass introduces delegation helper functions to the target
    API.  This delegation is much cleaner if the target_ops pointer is
    directly available at delegation time.
    
    This patch adds the "this" pointer to various to_* methods for this
    purpose.
    
    This updates a number of ports which I am unable to test.  Please give
    them a look-over.  Any possible problem here is trivial, though, as
    all that is required is adding an argument to a function.
    
    2014-02-19  Tom Tromey  <tromey@redhat.com>
    
    	* aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
    	Add 'ops' argument.
    	* arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
    	'ops' argument.
    	* i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
    	* ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
    	'ops' argument.
    	* inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
    	argument.
    	* linux-nat.c (save_sigtrap): Update.
    	(linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
    	(linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
    	(linux_nat_close): Update.
    	* mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
    	argument.
    	* ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
    	argument.
    	* procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
    	* record-full.c (record_full_beneath_to_stopped_by_watchpoint)
    	(record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
    	(tmp_to_async): Add 'ops' argument.
    	(record_full_stopped_by_watchpoint, record_full_async)
    	(record_full_can_async_p, record_full_is_async_p): Add 'ops'
    	argument.
    	* remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
    	(m32r_stopped_by_watchpoint): Add 'ops' argument.
    	* remote-mips.c	(mips_stopped_by_watchpoint): Add 'ops' argument.
    	* remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
    	(remote_is_async_p, remote_async): Add 'ops' argument.
    	(remote_stopped_data_address): Update.
    	* s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
    	* target.c (update_current_target)
    	(find_default_can_async_p, find_default_is_async_p): Update.
    	(init_dummy_target): Update.
    	(debug_to_stopped_by_watchpoint): Add 'ops' argument.
    	* target.h (struct target_ops) <to_stopped_by_watchpoint,
    	to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
    	(target_can_async_p, target_is_async_p, target_async)
    	(target_stopped_by_watchpoint): Update.

commit 7d4c687d5653e380cf69ac588563c9e273828353
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Feb 19 14:23:12 2014 +1030

    Control powerpc64-ld provision of register save/restore
    
    This patch allows the user to override powerpc64-ld's default for
    providing linker generated register save and restore functions as used
    by gcc -Os code.  Normally these are not provided by ld -r, so Linux
    kernel modules have needed to include their own copies.
    
    bfd/
    	* elf64-ppc.h (struct ppc64_elf_params): Add save_restore_funcs.
    	* elf64-ppc.c (ppc64_elf_func_desc_adjust): Use it to control
    	provision of out-of-line register save/restore routines.
    ld/
    	* emultempl/ppc64elf.em (params): Init new field.
    	(ppc_create_output_section_statements): Set params.save_restore_funcs
    	default.
    	(PARSE_AND_LIST_*): Add support for --save-restore-funcs and
    	--no-save-restore-funcs.

commit e095146be2c9f27e20743810038dc372a0387f75
Author: Yao Qi <yao@codesourcery.com>
Date:   Tue Feb 18 14:57:03 2014 +0800

    Fix PR16220
    
    This patch removes startup_gdbarch because it is not used anymore.
    After this patch,
    
     [PATCH] Multi-process + multi-arch: GDB
     https://sourceware.org/ml/gdb-patches/2012-11/msg00228.html
    
    global variable target_gdbarch is removed and gdbarch becomes
    per-inferior.  Then, we don't have to keep global variable
    startup_gdbarch.
    
    Rebuild GDB with all targets.  Is it OK?
    
    gdb:
    
    2014-02-18  Yao Qi  <yao@codesourcery.com>
    
    	PR gdb/16220
    	* gdbarch.sh: Remove startup_gdbarch.
    	* gdbarch.c: Regenerated.
    	* gdbarch.h: Likewise.

commit 5db3e65d39c4018e88c3e7bba089fa9df11e7617
Author: Jack Carter <jcarter@mips.com>
Date:   Tue Feb 18 16:23:48 2014 -0800

    The PT_DYNAMIC segment was being hard coded to have read, write, and
    execute permission regardless of the underlying PT_LOAD segment permissions.
    Deleting this code allows the default linker behavior which is to set the
    dynamic segment to the same permissions as the sections that make it up.
    
    This change alters one existing test case to check the segment flags for
    PT_DYNAMIC.
    
    bfd/ChangeLog
            * elfxx-mips.c(_bfd_mips_elf_modify_segment_map): Deleted hard coding of
            PT_DYNAMIC segment flags.
    
    ld/testsuite/ChangeLog
    	* ld-mips-elf/pic-and-nonpic-3a.sd: Check DYNAMIC segment flags.

commit c17ef0d5d26a5374b70f33689042ec2f6a77e4fa
Author: Doug Evans <dje@google.com>
Date:   Tue Feb 18 16:11:02 2014 -0800

    New TESTS variable to run a subset of tests in parallel.
    
    	* Makefile.in (TESTS): New variable.
    	(expanded_tests, expanded_tests_or_none): New variables
    	(check-single): Pass $(expanded_tests_or_none) to runtest.
    	(check-parallel): Only run tests in $(TESTS) if non-empty.
    	(check/no-matching-tests-found): New rule.
    	* README: Document TESTS makefile variable.

commit 5dd3176fb78ffa11ff37234d62a953d124d1e8aa
Author: Doug Evans <dje@google.com>
Date:   Tue Feb 18 16:01:34 2014 -0800

    * Makefile.in (check-parallel): rm -rf outputs temp.

commit ab5baab74ed27d4f77a04eb766f899bd37816f9d
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Feb 19 09:30:43 2014 +1030

    daily update

commit fa0dd93ecaf11da5593b8132c95fb013c67b5b72
Author: Kevin Buettner <kevinb@redhat.com>
Date:   Mon Feb 17 18:15:56 2014 -0700

    	Revise signal mapping function in GDB interface for RX sim.
    
    	sim/rx/gdb-if.c had a function named `rx_signal_to_host'.  This
    	function mapped signal numbers used by the BSP to host signal
    	numbers which, at one time a while back, were used by GDB
    	as target signal numbers.  This change updates the signal
    	numbers returned to be those names prefixed with "GDB_SIGNAL_"
    	as defined in include/gdb/signals.h.
    
    	It also changes the name of the function somewhat to better
    	match what the function currently does.  I noticed that this
    	function is not static - and there's no reason for it not
    	to be - so I made it static too.
    
    	* gdb-if.c (rx_signal_to_host):  Rename to
    	`rx_signal_to_gdb_signal'.  Make static.  Update all callers
    	to use new name.  Use signal names from include/gdb/signals.h.

commit ef3e8cf7d1d7849c2fb466bdc62b56336739cb90
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon Feb 17 18:24:10 2014 -0500

    sim: delete duplicate SIGINT handling
    
    Many of the simulators change the SIGINT handler.
    E.g., moxie/interp.c:
    
      sigsave = signal (SIGINT, interrupt);
    
    However, this is unnecessary.
    remote-sim.h already provides an API for asynchronously stopping
    a sim; and both gdb and the drivers (run.c and nrun.c at least,
    I didn't check the others) install a SIGINT handler which
    calls this method.
    
    URL: https://sourceware.org/bugzilla/show_bug.cgi?id=16450
    Reported-by: Tom Tromey <tromey@redhat.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit c395f86f51b18695c1b151ed92e41d7b596b0d12
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Feb 18 09:30:41 2014 +1030

    daily update

commit 0d8a6ab7d39d28fb1557e2a62e9e4b336341ab34
Author: Aaro Koskinen <aaro.koskinen@iki.fi>
Date:   Mon Feb 17 17:12:59 2014 -0500

    sim: ppc: drop $(LIBS) from psim dependency
    
    When cross-compiling GDB for PPC, there's a prerequisite "-lz" for psim
    that results in a build failure. With such prerequisite, GNU Make will
    try to search the library from build machine's /usr/lib which is wrong.
    On 64-bit Linux build machines the compilation will fail because of this.
    
    URL: https://sourceware.org/bugzilla/show_bug.cgi?id=12202

commit bc3c6b36422973aad17445ad5e436064f7337d47
Author: Kevin Buettner <kevinb@redhat.com>
Date:   Mon Feb 17 12:03:23 2014 -0700

    Add g10 support to rl78-tdep.c.
    
    The g10 is an rl78 variant which has fewer registers.  Aside from the
    obvious addition of a new register_name() function which omits
    registers which the g10 lacks, this change also updates the
    return_value() function with the conventions specified by the ABI for
    finding and setting return values.
    
    	* rl78-tdep.c (rl78_g10_register_name): New function.
    	(rl78_return_value): Add g10 support.
    	(rl78_gdbarch_init): Register rl78_g10_register_name for the
    	g10.

commit 329baa9572b85f84d2914d6d63818a142c46189d
Author: Doug Evans <xdje42@gmail.com>
Date:   Mon Feb 17 10:35:03 2014 -0800

    Split python docs into separate file.
    
    	* Makefile.in (GDB_DOC_FILES): Add python.texi.
    	* gdb.texinfo (Python): Moved to ...
    	* python.texi: ... here.  New file.

commit d25f38ee87b256b0ad5f4e7b6bd0ca0b4c0beab8
Author: Doug Evans <xdje42@gmail.com>
Date:   Mon Feb 17 10:25:48 2014 -0800

    Remove doc/ in recent entries.

commit 687894f54d23502983e5d0157a907fd497e57fcc
Author: Doug Evans <xdje42@gmail.com>
Date:   Mon Feb 17 10:23:48 2014 -0800

    Move entry from ChangeLog to doc/ChangeLog.
    
    	* doc/guile.texi (Writing a Guile Pretty-Printer) <example>:
    	[...]

commit 6e7a66c1b4ea3d663d06d75ba9b7bb063a5caf26
Author: Ludovic Courtès <ludo@gnu.org>
Date:   Sun Feb 16 22:41:49 2014 +0100

    guile: Fix typos in the manual.
    
    gdb/
    2014-02-17  Ludovic Courtès  <ludo@gnu.org>
    
    	* doc/guile.texi (Writing a Guile Pretty-Printer) <example>:
    	Remove 'string-begins-with' procedure.  Add 'pretty-printer'
    	parameter to 'str-lookup-function' procedure.  Look for
    	the "std::string<" prefix.
    	(Frames In Guile): Add 'frame' parameter to 'frame-read-var'.
    	Adjust description.

commit 024a23103f04282872d4352302b1bfe04391a7a4
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Feb 17 08:32:22 2014 +0100

    PR binutils/16595
    
    abfd->section_count unexpectedly changes between 218 and 248 in:
    
    150 bfd_simple_get_relocated_section_contents (bfd *abfd,
    [...]
    218   saved_offsets = malloc (sizeof (struct saved_output_info)
    219                           * abfd->section_count);
    [...]
    230	  _bfd_generic_link_add_symbols (abfd, &link_info);
    [...]
    248   bfd_map_over_sections (abfd, simple_restore_output_info, saved_offsets);
    
    _bfd_generic_link_add_symbols increases section_count
    
    and simple_restore_output_info later reads unallocated part of saved_offsets.
    
    READ of size 8 at 0x601c0000c5c0 thread T0
        #0 0x1124770 in simple_restore_output_info (.../gdb/gdb+0x1124770)
        #1 0x10ecd51 in bfd_map_over_sections (.../gdb/gdb+0x10ecd51)
        #2 0x1125150 in bfd_simple_get_relocated_section_contents (.../gdb/gdb+0x1125150)
    
    bfd/
    2014-02-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	PR binutils/16595
    	* simple.c (struct saved_offsets): New.
    	(simple_save_output_info): Use it for ptr.
    	(simple_restore_output_info): Use it for ptr.  Check section_count.
    	(bfd_simple_get_relocated_section_contents): Use it for saved_offsets.

commit e7d1c40ce59ff355d2a51ff64a657c772eabbbfe
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Feb 17 17:08:00 2014 +1030

    Consolidate ppc64 ld/bfd communication
    
    Moves assorted variables used to communicate between ld and bfd into
    a struct, hooks it into the bfd link_hash_table early, and removes
    all other places where such variables were passed piecemeal.
    
    bfd/
    	* elf64-ppc.h (struct ppc64_elf_params): Define.
    	(ppc64_elf_init_stub_bfd, ppc64_elf_edit_opd, ppc64_elf_tls_setup,
    	ppc64_elf_setup_section_lists, ppc64_elf_size_stubs,
    	ppc64_elf_build_stubs): Update prototype.
    	* elf64-ppp.c (struct ppc_link_hash_table): Add params, delete other
    	fields now in params.  Adjust code throughout file.
    	(ppc64_elf_init_stub_bfd): Delete "abfd" parameter, add "params".
    	Save params pointer in htab.
    	(ppc64_elf_edit_opd, ppc64_elf_tls_setup,
    	ppc64_elf_setup_section_lists, ppc64_elf_size_stubs,
    	ppc64_elf_build_stubs): Remove parameters now in "params".
    ld/
    	* emultemps/ppc64elf.em (params): New static struct replacing
    	various other static vars.  Adjust code throughout file.

commit 668e22e51bc50b884a8c1872a2371a6b00a08f9d
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Feb 17 16:51:25 2014 +1030

    ppc476 workaround for ld -r fixes
    
    This fixes the glaring error that the ppc476 workaround wasn't
    actually enabled for ld -r, and adjusts relocations to match moved
    code.
    
    bfd/
    	* elf32-ppc.c (ppc_elf_relocate_section): Move relocs on insns
    	patched for ppc476 workaround.  Reapply branch taken/not taken
    	relocs.
    ld/
    	* emultempl/ppc32elf.em (ppc_after_open_output): Really enable
    	ppc476 workaround for ld -r.

commit 98dc0167d6bb0a931800078cb0eb36d403bc9994
Author: Doug Evans <xdje42@gmail.com>
Date:   Sun Feb 16 23:57:43 2014 -0500

    Fix date in previous entry.

commit f01c19407c34fbcd67d51a919771130fee298918
Author: Doug Evans <xdje42@gmail.com>
Date:   Sun Feb 16 23:41:29 2014 -0500

    Resort scm-gsmob.c entry in Makefile.in
    
    	* Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
    	(SUBDIR_GUILE_SRCS): Ditto.
    	(scm-gsmob.o): Ditto.

commit 842c05cd1acd244a962d89a824b4b496ce965556
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Feb 17 11:20:35 2014 +0800

    Fix missing-prototypes warnings in gnu-nat.c
    
    A recent change (commit 3398af6aa352b0611bc9d66aed72080a876e42d4)
    in gnu-nat.c causes the some missing-prototypes warnings,
    
    ../../../git/gdb/gnu-nat.c:1864:1: error: no previous prototype for 'S_proc_pid2task_reply' [-Werror=missing-prototypes]
    ../../../git/gdb/gnu-nat.c:1866:1: error: no previous prototype for 'S_proc_task2pid_reply' [-Werror=missing-prototypes]
    ../../../git/gdb/gnu-nat.c:1868:1: error: no previous prototype for 'S_proc_task2proc_reply' [-Werror=missing-prototypes]
    
    A new macro ILL_RPC was added recently, which defines some external
    functions.  However, they are not declared and GCC complains about this.
    
    This patch is to add the declarations of these external function in
    macro ILL_RPC.
    
    gdb:
    
    2014-02-17  Yao Qi  <yao@codesourcery.com>
    
    	* gnu-nat.c (ILL_RPC): Declare defined function.

commit 25c0bd040bc22fcb2fc3ec440ace2552ca030a7f
Author: Yao Qi <yao@codesourcery.com>
Date:   Fri Feb 7 14:35:09 2014 +0800

    Fix -Werror=pointer-sign warnings
    
    ../../../git/gdb/gnu-nat.c: In function 'gnu_read_inferior':
    ../../../git/gdb/gnu-nat.c:2282:3: error: pointer targets in passing argument 5 of 'vm_read' differ in signedness [-Werror=pointer-sign]
    In file included from /home/yao/Software/hurd-toolchain/bin/../i686-pc-gnu/libc/usr/include/mach.h:38:0,
                     from ./nm.h:23,
                     from ../../../git/gdb/defs.h:500,
                     from ../../../git/gdb/gnu-nat.c:23:
    /home/yao/Software/hurd-toolchain/bin/../i686-pc-gnu/libc/usr/include/mach/mach_interface.h:843:15: note: expected 'mach_msg_type_number_t *' but argument is of type 'int *'
    ../../../git/gdb/gnu-nat.c: In function 'gnu_write_inferior':
    ../../../git/gdb/gnu-nat.c:2339:4: error: pointer targets in passing argument 5 of 'vm_read' differ in signedness [-Werror=pointer-sign]
    In file included from /home/yao/Software/hurd-toolchain/bin/../i686-pc-gnu/libc/usr/include/mach.h:38:0,
                     from ./nm.h:23,
                     from ../../../git/gdb/defs.h:500,
                     from ../../../git/gdb/gnu-nat.c:23:
    /home/yao/Software/hurd-toolchain/bin/../i686-pc-gnu/libc/usr/include/mach/mach_interface.h:843:15: note: expected 'mach_msg_type_number_t *' but argument is of type 'int *'
    
    This patch fixes these warnings.
    
    gdb:
    
    2014-02-17  Yao Qi  <yao@codesourcery.com>
    
    	* gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
    	mach_msg_type_number_t.
    	(gnu_write_inferior): Likewise.

commit a9a758e3ee008b76613350cfc71b44dbe2167180
Author: Yao Qi <yao@codesourcery.com>
Date:   Sun Jan 5 19:37:27 2014 +0800

    Fix -Wformat warnings in gnu-nat.c
    
    I've seen some -Wformat warnings when build native gdb for hurd.
    
    ../../../git/gdb/gnu-nat.c:2384:8: error: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'vm_address_t' [-Werror=format]
    ../../../git/gdb/gnu-nat.c:2394:8: error: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'vm_address_t' [-Werror=format]
    ../../../git/gdb/gnu-nat.c: In function 'steal_exc_port':
    ../../../git/gdb/gnu-nat.c:2898:5: error: format '%d' expects argument of type 'int', but argument 2 has type 'mach_port_t' [-Werror=format]
    
    in usr/include/mach/port.h, we have:
    
    typedef vm_offset_t mach_port_t;
    
    and in usr/include/mach/machine/vm_types.h, we have:
    
    typedef       unsigned long   vm_offset_t;
    
    so this patch changes '%d' to '%lu' in format string for mach_port_t
    variables.
    
    Similarly, in usr/include/mach/std_types.h, we have,
    
    typedef      vm_offset_t     vm_address_t;
    
    this patch also changes '%x' to '%lx' in gnu_write_inferior.
    
    gdb:
    
    2014-02-17  Yao Qi  <yao@codesourcery.com>
    
    	* gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
    	in format string.
    	(proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
    	(inf_validate_procs, inf_signal): Likewise.
    	(S_exception_raise_request): Likewise.
    	(do_mach_notify_dead_name): Likewise.
    	(steal_exc_port): Likewise.
    	(gnu_read_inferior): Change 'copy_count''s type to
    	mach_msg_type_number_t.
    	(gnu_write_inferior): Likewise.  Use 'lx' instead of 'x' in
    	format string.

commit 0ec36e11ee648a0bcf3f6aed0a636af29fc1f429
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Feb 17 09:30:40 2014 +1030

    daily update

commit 0b10be4faf97396c88746f932b55bc3d2fb2d907
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Feb 16 21:49:40 2014 +0100

    Fix "ERROR: no fileid for" in the testsuite.
    
    If GDB has crashed then gdb_spawn_id still exists (although it does not work).
    So my patch does not change anything.  And also currently it will leave the
    stale gdbserver running anyway.
    
    In general if gdb_spawn_id does not exist then send_gdb + gdb_expect just do
    not make sense anyway.  So this patch just prevents the error in such case.
    
    The killing of stale gdbserver could be improved multiple ways (also as
    suggested by Pedro in the original thread) but that is IMO outside of the
    scope of this patch.  Apparently if there is no good response from GDB then
    gdb_finish() should try to call gdb_start just to kill that gdbserver, IIUC.
    
    gdb/testsuite/
    2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	Fix "ERROR: no fileid for" in the testsuite.
    	* lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
    
    Message-ID: <20140206205814.GA18495@host2.jankratochvil.net>

commit 6e03f3da7df9ec3c2852d50d4c4039dc80d606f6
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Sun Feb 16 09:01:29 2014 +0100

    Missing ChangeLog entry from commit 60ef20e28534cf093d5bd799b3830c68381bb27f.

commit 60ef20e28534cf093d5bd799b3830c68381bb27f
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Thu Jan 9 16:56:22 2014 +0100

    ld: Remove Hurd-specific XFAILs related to weak symbols.
    
    This has been fixed properly, in glibc.
    
    	ld/testsuite/
    	* ld-elfweak/elfweak.exp (setup_xfail_gnu_hurd): Remove function
    	and all usage of it.

commit c82f56d9d760a9b4034eeaac44f2f0fa5779ff69
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Wed Jan 8 21:42:07 2014 +0100

    Hurd: Adjust to startup-with-shell changes.
    
    In commit 98882a26513e25b2161b41dfd4bed97b59b2c01a, STARTUP_WITH_SHELL was made
    a runtime toggle, startup-with-shell.  The Hurd code was missed to be adjusted;
    it had a value hard-coded instead of using START_INFERIOR_TRAPS_EXPECTED.  Fix
    that, and also simplify gnu-nat's pending_execs handling from counting to just
    a flag.
    
    	gdb/
    	* gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
    	flag.  Adjust all users; in particular...
    	(gnu_wait): ..., don't decrement its value in here...
    	(gnu_create_inferior): ..., and instead set the flag in here,
    	around the startup_inferior call, and call that one with
    	START_INFERIOR_TRAPS_EXPECTED.

commit 3398af6aa352b0611bc9d66aed72080a876e42d4
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Mon Jan 6 16:28:00 2014 +0100

    Hurd: New RPC reply stub functions.
    
    	gdb/
    	* gnu-nat.c (ill_rpc): Remove function; replaced with this...
    	(ILL_RPC): ... new macro.
    	(do_mach_notify_no_senders, do_mach_notify_port_deleted)
    	(do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
    	(do_mach_notify_send_once, S_proc_setmsgport_reply)
    	(S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
    	functions with ILL_RPC macro.
    	(S_proc_pid2task_reply, S_proc_task2pid_reply)
    	(S_proc_task2proc_reply, S_proc_proc2task_reply)
    	(S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
    	(S_proc_getprocargs_reply, S_proc_getprocenv_reply)
    	(S_proc_getloginid_reply, S_proc_getloginpids_reply)
    	(S_proc_getlogin_reply, S_proc_getsid_reply)
    	(S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
    	(S_proc_getsidport_reply, S_proc_getpgrp_reply)
    	(S_proc_getpgrppids_reply, S_proc_get_tty_reply)
    	(S_proc_getnports_reply, S_proc_is_important_reply)
    	(S_proc_get_code_reply): New stub functions, generated with
    	ILL_RPC macro.
    
    Based on a patch by David Michael <fedora.dm0@gmail.com>.

commit d47642c93dda6344af12458e4e26587f3353fb44
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Mon Jan 6 16:01:08 2014 +0100

    Hurd: Make MIG output parsing more robust.
    
    	gdb/
    	* reply_mig_hack.awk: In phase 5, keep going if we have not yet
    	collected the type check structures.
    
    Based on a patch by David Michael <fedora.dm0@gmail.com>.

commit bae8023e39868ab2065ff05be61e151b3c082492
Author: Thomas Schwinge <thomas@codesourcery.com>
Date:   Mon Jan 6 15:56:33 2014 +0100

    Hurd: Adapt to changed MIG output.
    
    	gdb/
    	* reply_mig_hack.awk: Don't expect to see the auto keyword.
    
    Based on a patch by David Michael <fedora.dm0@gmail.com>.

commit 4ab98b5c97a88c913aa1dcdc7452bd044fca4ab5
Author: Alan Modra <amodra@gmail.com>
Date:   Sun Feb 16 09:30:57 2014 +1030

    daily update

commit 3595cc3e22e7e0f7e3ce0cdb203d881bffe7904f
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Feb 15 09:30:42 2014 +1030

    daily update

commit 8a55ffb08261d3d62141e092f77680fdab1fc486
Author: Doug Evans <dje@google.com>
Date:   Fri Feb 14 14:57:37 2014 -0800

    * target.c (target_write_partial): Fix result type.

commit c2853f3d99797a321c37948297441ca6021f719a
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date:   Fri Feb 14 02:29:11 2014 -0800

    Fix offsets to access fpregset_t in sparc64-linux targets.
    
    The %fsr register is not being properly accessed from gdb in
    sparc64.  This is because sparc64_supply_fpregset and
    sparc64_collect_fpregset are using the offsets from the
    sparc32_bsd_fpregset constant instead of sparc64_bsd_fpregset.
    This patch fixes this by registering the proper offsets for
    sparc64-linux targets.
    
    2014-02-14  Jose E. Marchesi  <jose.marchesi@oracle.com>
    
    	* sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
    	the proper offsets to access fpregset_t.

commit 0759a81e85c692232aae9909faf551d5c039a4a7
Author: Yao Qi <yao@codesourcery.com>
Date:   Thu Feb 13 16:42:09 2014 +0800

    Compile rsp-low.c for IPA
    
    gdb/gdbserver:
    
    2014-02-14  Yao Qi  <yao@codesourcery.com>
    
    	* Makefile.in (IPA_OBJS): Append rsp-low-ipa.o.
    	(rsp-low-ipa.o): New target.

commit 04ce6745860c287a95e8d5b0d0efe8954dc756ec
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Feb 14 09:30:47 2014 +1030

    daily update

commit ac61d2dbf7df54bbb7cef09ac9b5f61541da065b
Author: Sanimir Agovic <sanimir.agovic@intel.com>
Date:   Thu Feb 13 12:41:24 2014 +0000

    cleanup: remove declared variables without any references
    
    2014-02-13  Sanimir Agovic  <sanimir.agovic@intel.com>
    
    	* cris-tdep.c (cris_supply_gregset): Remove zerobuf.
    	(_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
    	* h8300-tdep.c (setmachinelist): Remove global.
    	* hppa-tdep.c (hppa_sigtramp): Remove global.
    	* mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
    	RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
    	* ravenscar-thread.c (update_target_observer): Remove global.
    	* rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.

commit 6f569efa614f0d0dd246ff196cb89b38714ea1d2
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Feb 13 09:30:47 2014 +1030

    daily update

commit 85f224e7e045553393c6297736fdf05155d2aeb9
Author: Doug Evans <dje@google.com>
Date:   Wed Feb 12 11:38:48 2014 -0800

    Test for binary,dwp symlinks into different directories.
    
    	* gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
    	(MISCELLANEOUS): New variable.
    	(clean): rm -rf $(MISCELLANEOUS).
    	* gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
    	dwp live in the same directory as symlinks, with each symlink pointed
    	to a differently named file in a different directory.

commit 9d2d0b8b042cfb82c2ac600bff13f473a78a4c7f
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Jan 20 10:38:07 2014 -0700

    update rsp-low comments
    
    This updates all the comments in rsp-low.[ch], now that the
    unification has been completed.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* common/rsp-low.c: Update comments.
    	* common/rsp-low.h: Update comments.

commit a7191e8bd7f4188d608764389d5a73fcf4b0e8da
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Jan 18 19:42:15 2014 -0700

    replace convert_ascii_to_int with hex2bin
    
    convert_ascii_to_int is identical to hex2bin.
    This removes the former.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* common/rsp-low.c (convert_ascii_to_int): Remove.
    	* common/rsp-low.h (convert_ascii_to_int): Don't declare.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* ax.c (gdb_parse_agent_expr): Use hex2bin, not
    	convert_ascii_to_int.
    	* regcache.c (registers_to_string): Likewise.
    	* remote-utils.c (decode_M_packet): Likewise.
    	* server.c (process_serial_event): Likewise.

commit ff0e980e6f720fe49608a5a0a37be3a28258c9d7
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Jan 18 19:41:08 2014 -0700

    replace unhexify with hex2bin
    
    unhexify and hex2bin are identical, so this removes unhexify.  The
    particular choice of which to keep was made on the basis of
    parallelism with the earlier patch that removed hexify.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* common/rsp-low.h (unhexify): Don't declare.
    	* common/rsp-low.c (unhexify): Remove.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* server.c (handle_query, handle_v_run): Use hex2bin, not
    	unhexify.
    	* tracepoint.c (cmd_qtdpsrc, cmd_qtdv, cmd_qtnotes): Likewise.

commit e9371aff2d8c31adf23483aebe85018e11f534f3
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Jan 18 19:34:15 2014 -0700

    replace convert_int_to_ascii with bin2hex
    
    convert_int_to_ascii is identical to bin2hex.  This removes the
    former.  In this case I made the choice of which to keep on the basis
    that I consider the name bin2hex to be superior to
    convert_int_to_ascii.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* common/rsp-low.h (convert_int_to_ascii): Don't declare.
    	* common/rsp-low.c (convert_int_to_ascii): Remove.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* ax.c (gdb_unparse_agent_expr): Use bin2hex, not
    	convert_int_to_ascii.
    	* regcache.c (registers_to_string, collect_register_as_string):
    	Likewise.
    	* remote-utils.c (look_up_one_symbol, relocate_instruction):
    	Likewise.
    	* server.c (process_serial_event): Likewise.
    	* tracepoint.c (cmd_qtstatus, response_source, response_tsv)
    	(cmd_qtbuffer, cstr_to_hexstr): Likewise.

commit 971dc0b89de28feaa5efade1f1f8675be223fabd
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Jan 18 19:30:20 2014 -0700

    replace hexify with bin2hex
    
    This removes hexify in favor of bin2hex.
    The choice of which to keep was arbitrary.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* common/rsp-low.h (hexify): Don't declare.
    	* common/rsp-low.c (hexify): Remove.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* remote-utils.c (look_up_one_symbol, monitor_output): Use
    	bin2hex, not hexify.
    	* tracepoint.c (cmd_qtstatus): Likewise.

commit 0a822afbcdf6aee6c25a840e4785ad3af56a94fd
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Jan 18 19:25:57 2014 -0700

    don't let hexify call strlen
    
    hexify had the same issue as bin2hex; and the fix is the same.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* common/rsp-low.c (hexify): Never take strlen of argument.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* remote-utils.c (monitor_output): Pass explicit length to
    	hexify.

commit 9f1b45b0da430a7a7abf9e54acbe6f2ef9d3a763
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Jan 18 14:42:54 2014 -0700

    don't let bin2hex call strlen
    
    Currently bin2hex may call strlen if the length argument is zero.
    This prevents some function unification; and also it seems cleaner to
    me not to have a special meaning for a zero length.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* common/rsp-low.c (bin2hex): Never take strlen of argument.
    	* remote.c (extended_remote_run, remote_rcmd)
    	(remote_download_trace_state_variable, remote_save_trace_data)
    	(remote_set_trace_notes): Update.
    	* tracepoint.c (encode_source_string, tfile_write_status)
    	(tfile_write_uploaded_tsv): Update.

commit 9c3d65319a230a106392e4b67c8c89c8f5e2929f
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Jan 18 14:32:47 2014 -0700

    move some rsp bits into rsp-low.h
    
    This moves various low-level remote serial protocol bits into
    common/rsp-low.[ch].
    
    This is as close to a pure move as possible.  There are some
    redundancies remaining but those will be dealt with in a subsequent
    patch.
    
    Note that the two variants of remote_escape_output disagreed on the
    treatment of "*".  On the theory that quoting cannot hurt but the
    absence possibly can, I chose the gdbserver variant to be the
    canonical one.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* tracepoint.c: Include rsp-low.h.
    	* remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
    	* remote.c: Include rsp-low.h.
    	(hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
    	(fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
    	(remote_unescape_input): Move to common/rsp-low.c.
    	* common/rsp-low.h: New file.
    	* common/rsp-low.c: New file.
    	* Makefile.in (SFILES): Add common/rsp-low.c.
    	(HFILES_NO_SRCDIR): Add common/rsp-low.h.
    	(COMMON_OBS): Add rsp-low.o.
    	(rsp-low.o): New target.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* tracepoint.c: Include rsp-low.h.
    	* server.c: Include rsp-low.h.
    	* remote-utils.h (convert_ascii_to_int, convert_int_to_ascii)
    	(unhexify, hexify, remote_escape_output, unpack_varlen_hex): Don't
    	declare.
    	* remote-utils.c: Include rsp-low.h.
    	(fromhex, hexchars, ishex, unhexify, tohex, hexify)
    	(remote_escape_output, remote_unescape_input, unpack_varlen_hex)
    	(convert_int_to_ascii, convert_ascii_to_int): Move to
    	common/rsp-low.c.
    	* regcache.c: Include rsp-low.h.
    	* ax.c: Include rsp-low.h.
    	* Makefile.in (SFILES): Add common/rsp-low.c.
    	(OBS): Add rsp-low.o.
    	(rsp-low.o): New target.

commit 01fd3ea573324b8248efbb236d994420641e3d32
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Jan 16 21:41:58 2014 -0700

    share "cell" code
    
    The "cell"-based printing code, like phex, was duplicated in both gdb
    and gdbserver.  This patch merges the two implementations into a new
    file in common/.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* utils.h: Include print-utils.h.
    	(host_address_to_string, plongest, pulongest, phex, phex_nz)
    	(int_string, core_addr_to_string, core_addr_to_string_nz)
    	(hex_string, hex_string_custom): Don't declare.
    	* utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
    	(plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
    	(hex_string_custom, int_string, core_addr_to_string)
    	(core_addr_to_string_nz, host_address_to_string): Move to
    	common/print-utils.c.
    	* common/print-utils.h: New file.
    	* common/print-utils.c: New file
    	* Makefile.in (SFILES): Add common/print-utils.c.
    	(HFILES_NO_SRCDIR): Add common/print-utils.h.
    	(COMMON_OBS): Add print-utils.o.
    	(print-utils.o): New target.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* utils.h (pulongest, plongest, phex_nz): Don't declare.
    	Include print-utils.h.
    	* utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
    	(plongest, thirty_two, phex_nz): Remove.
    	* Makefile.in (SFILES): Add common/print-utils.c.
    	(OBS): Add print-utils.o.
    	(print-utils-ipa.o): New target.
    	(print-utils.o): New target.
    	(IPA_OBJS): Add print-utils-ipa.o.

commit 9fb5010805bdfe0eb8fc5db01e7f4c93b04c8f29
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Feb 12 09:20:02 2014 -0700

    fix error in nios2-tdep.c
    
    Since this change:
    
    2014-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
    
    	* nios2-tdep.c (nios2_stub_frame_base): Remove global.
    
    nios2-tdep hasn't built:
    
    ../../binutils-gdb/gdb/nios2-tdep.c:1337:1: error: ‘nios2_stub_frame_base_address’ defined but not used [-Werror=unused-function]
    
    This patch removes the offending function.
    
    2014-02-12  Tom Tromey  <tromey@redhat.com>
    
    	* nios2-tdep.c (nios2_stub_frame_base_address): Remove.

commit 963f35869dd021f4a2a236ca6fa1242efc860d86
Author: Ilya Tocar <ilya.tocar@intel.com>
Date:   Mon Nov 25 16:35:42 2013 +0400

    Add clflushopt, xsaves, xsavec, xrstors
    
    gas/
    
    2014-02-12  Ilya Tocar  <ilya.tocar@intel.com>
    
    	* config/tc-i386.c (cpu_arch): Add .clflushopt, .xsavec, .xsaves.
    	* doc/c-i386.texi: Document .xsavec/xsavec/.xsaves/xsaves/
    	clflushopt/.clfushopt.
    
    gas/testsuite/
    
    2014-02-12  Ilya Tocar  <ilya.tocar@intel.com>
    
    	* gas/i386/clflushopt-intel.d: New.
    	* gas/i386/clflushopt.d: Ditto.
    	* gas/i386/clflushopt.s: Ditto.
    	* gas/i386/i386.exp: Run new tests.
    	* gas/i386/x86-64-clflushopt-intel.d: New.
    	* gas/i386/x86-64-clflushopt.d: Ditto.
    	* gas/i386/x86-64-clflushopt.s: Ditto.
    	* gas/i386/x86-64-xsavec-intel.d: Ditto.
    	* gas/i386/x86-64-xsavec.d: Ditto.
    	* gas/i386/x86-64-xsavec.s: Ditto.
    	* gas/i386/x86-64-xsaves-intel.d: Ditto.
    	* gas/i386/x86-64-xsaves.d: Ditto.
    	* gas/i386/x86-64-xsaves.s: Ditto.
    	* gas/i386/xsavec-intel.d: Ditto.
    	* gas/i386/xsavec.d: Ditto.
    	* gas/i386/xsavec.s: Ditto.
    	* gas/i386/xsaves-intel.d: Ditto.
    	* gas/i386/xsaves.d: Ditto.
    	* gas/i386/xsaves.s: Ditto.
    
    opcodes/
    
    2014-02-12  Ilya Tocar  <ilya.tocar@intel.com>
    
    	* i386-dis.c (MOD enum): Add MOD_0FC7_REG_3, MOD_0FC7_REG_4,
    	MOD_0FC7_REG_5.
    	(PREFIX enum): Add PREFIX_0FAE_REG_7.
    	(reg_table): Add MOD_0FC7_REG_3, MOD_0FC7_REG_4 MOD_0FC7_REG_5.
    	(prefix_table): Add clflusopt.
    	(mod_table): Add xrstors, xsavec, xsaves.
    	* i386-gen.c (cpu_flag_init): Add CPU_CLFLUSHOPT_FLAGS,
    	CPU_XSAVES_FLAGS, CPU_XSAVEC_FLAGS.
    	(cpu_flags): Add CpuClflushOpt, CpuXSAVES, CpuXSAVEC.
    	* i386-init.h: Regenerate.
    	* i386-opc.tbl: Add clflushopt, xrstors, xrstors64, xsaves,
    	xsaves64, xsavec, xsavec64.
    	* i386-tbl.h: Regenerate.

commit 0548b5db301937e52a34dd6991ae571e21e75b40
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Wed Feb 12 14:59:48 2014 +0100

    Call obsd_init_abi for OpenBSD/sparc64.
    
    gdb/CHangeLog:
    
            * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.

commit 493443a47f514251f12e08223b2c56f0fed69015
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Wed Feb 12 14:51:19 2014 +0100

    FIX EOF detection in PT_IO-based to_xfer_partial implementation.
    
    At least on OpenBSD PT_IO/PIOD_READ_AUXV can return sucessfully without
    transferring any bytes.  Arguably a kernel bug, but interpreting this as EOF
    seems sensible.
    
    gdb/ChangeLog:
    
            * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
            if a PT_IO ptrace request returns sucessfully but indicates that 0
            bytes were transferred.

commit 706d088346930eeee11befa93330375164e175b9
Author: Pedro Alves <palves@redhat.com>
Date:   Wed Feb 12 13:30:21 2014 +0000

    Explicitly mark vtables as code space
    
    Ports for Hardvard architectures will typically have in their
    pointer_to_address hook a check for TYPE_CODE_SPACE in their
    "pointer_to_address" gdbarch method.  E.g., rl78's:
    
      /* Is it a code address?  */
      if (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_FUNC
          || TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_METHOD
          || TYPE_CODE_SPACE (TYPE_TARGET_TYPE (type))
          || TYPE_LENGTH (type) == 4)
        return rl78_make_instruction_address (addr);
      else
        return rl78_make_data_address (addr);
    
    The avr port is similar.
    
    The vtable type is a struct type gdb itself bakes.  Being neither a
    function, nor a method, and absent explicit flagging as residing in
    code space, ends up being considered data.
    
    This patch marks the type as code when it is created, on the theory
    that this is needed for all Hardvard architectures.  I believe this
    should make no difference on archs with flat address space.  Testing
    on x86-64 GNU/Linux shows no changes.
    
    gdb/
    2014-02-12  Pedro Alves  <palves@redhat.com>
    	    Kevin Buettner <kevinb@redhat.com>
    
    	* gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
    	TYPE_INSTANCE_FLAG_CODE_SPACE.
    
    Kevin Buettner, at
    <https://sourceware.org/ml/gdb-patches/2014-02/msg00338.html>, writes,
    re. rl78:
    
    This patch, for rl78 using the default multilib, fixes 5 failures in
    gdb.cp/casts.exp, 2 failures in gdb.cp/class2.exp, 115 failures in
    gdb.mi/mi-var-rtti.exp, and 2 failures in gdb.python/py-value.exp.
    
    It introduces 9 failures (regressions) in gdb.mi/mi-var-rtti.exp.
    
    One of the regressions is:
    
     FAIL: gdb.mi/mi-var-rtti.exp: list children of s.public in type_update_when_use_rtti
    
    The relevant lines from the log file from a pre-patch test run are as
    follows:
    
     -var-list-children  S.public
     ^done,numchild="1",children=[child={name="S.public.ptr",exp="ptr",numchild="1",type="Base *",thread-id="1"}],has_more="0"
     (gdb)
     PASS: gdb.mi/mi-var-rtti.exp: list children of s.public in type_update_when_use_rtti
     Expecting: \^done,numchild=".*",children=\[child={name="S.public.ptr.public",exp="public",numchild="1"(,thread-id="[0-9]+")?}.*\],has_more="0"
     Expecting: ^(-var-list-children  S\.public\.ptr  [
     ]+)?(\^done,numchild=".*",children=\[child={name="S.public.ptr.public",exp="public",numchild="1"(,thread-id="[0-9]+")?}.*\],has_more="0"[
     ]+[(]gdb[)]
     [ ]*)
    
    The same set of lines for the failing (post-patch) run are instead:
    
     -var-list-children  S.public
     &"warning: can't find linker symbol for virtual table for `Base' value\n"
     &"warning:   found `typeinfo for __cxxabiv1::__vmi_class_type_info' instead\n"
     &"warning: can't find linker symbol for virtual table for `Base' value\n"
     &"warning:   found `typeinfo for __cxxabiv1::__vmi_class_type_info' instead\n"
     &"warning: can't find linker symbol for virtual table for `Base' value\n"
     &"warning:   found `typeinfo for __cxxabiv1::__vmi_class_type_info' instead\n"
     ^done,numchild="1",children=[child={name="S.public.ptr",exp="ptr",numchild="1",type="Base *",thread-id="1"}],has_more="0"
     (gdb)
     FAIL: gdb.mi/mi-var-rtti.exp: list children of s.public in type_update_when_use_rtti
     Expecting: \^done,numchild=".*",children=\[child={name="S.public.ptr.public",exp="public",numchild="1"(,thread-id="[0-9]+")?}.*\],has_more="0"
     Expecting: ^(-var-list-children  S\.public\.ptr  [
     ]+)?(\^done,numchild=".*",children=\[child={name="S.public.ptr.public",exp="public",numchild="1"(,thread-id="[0-9]+")?}.*\],has_more="0"[
     ]+[(]gdb[)]
     [ ]*)
    
    Note that the difference between these are the warnings regarding
    linker symbols.  Aside from the warnings, the result is the same.
    I.e.  gdb produces the correct answer despite the warnings.  The
    reason for the other 8 failures is the same: the test harness is not
    expecting these warnings.
    
    I spent some time (a while ago) looking at the reason for these
    warnings.  As I recall, we are now getting further along in the type
    resolution process than we were without my patch.  I.e.  for the
    example above, the code in question never got to the point where it
    was looking for the specified linker symbol.  So it seems to me that,
    at worst, my patch exposes some other problem, but is not directly the
    cause of the problem.

commit 5caa2f0b272d2a6edf56571fd0c59f922f26eb41
Author: Pedro Alves <palves@redhat.com>
Date:   Wed Feb 12 12:27:50 2014 +0000

    H8/300: Fix pseudo registers reads/writes.
    
    'info registers ccr' corrupts memory.
    
    Debugging gdb under Valgrind, we see:
    
     (gdb) info registers ccr
     ==23225== Invalid write of size 1
     ==23225==    at 0x4A0A308: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:881)
     ==23225==    by 0x52D334: regcache_raw_read (regcache.c:625)
     ==23225==    by 0x45E4D8: h8300_pseudo_register_read (h8300-tdep.c:1171)
     ==23225==    by 0x5B694B: gdbarch_pseudo_register_read (gdbarch.c:1926)
     ==23225==    by 0x52DADB: regcache_cooked_read (regcache.c:740)
     ==23225==    by 0x52DC10: regcache_cooked_read_value (regcache.c:765)
     ==23225==    by 0x68CA41: sentinel_frame_prev_register (sentinel-frame.c:52)
     ==23225==    by 0x6B80CB: frame_unwind_register_value (frame.c:1105)
     ==23225==    by 0x6B7C97: frame_register_unwind (frame.c:1010)
     ==23225==    by 0x6B7F73: frame_unwind_register (frame.c:1064)
     ==23225==    by 0x6B8359: frame_unwind_register_signed (frame.c:1162)
     ==23225==    by 0x6B8396: get_frame_register_signed (frame.c:1169)
     ==23225==  Address 0x4f7b031 is 0 bytes after a block of size 1 alloc'd
     ==23225==    at 0x4A06B0F: calloc (vg_replace_malloc.c:593)
     ==23225==    by 0x6EB754: xcalloc (common-utils.c:91)
     ==23225==    by 0x6EB793: xzalloc (common-utils.c:101)
     ==23225==    by 0x53A782: allocate_value_contents (value.c:854)
     ==23225==    by 0x53A7B4: allocate_value (value.c:864)
     ==23225==    by 0x52DBC8: regcache_cooked_read_value (regcache.c:757)
     ==23225==    by 0x68CA41: sentinel_frame_prev_register (sentinel-frame.c:52)
     ==23225==    by 0x6B80CB: frame_unwind_register_value (frame.c:1105)
     ==23225==    by 0x6B7C97: frame_register_unwind (frame.c:1010)
     ==23225==    by 0x6B7F73: frame_unwind_register (frame.c:1064)
     ==23225==    by 0x6B8359: frame_unwind_register_signed (frame.c:1162)
     ==23225==    by 0x6B8396: get_frame_register_signed (frame.c:1169)
     ==23225==
     ccr            0x00        0    I-0 UI-0 H-0 U-0 N-0 Z-0 V-0 C-0 u> u>= != >= >
     (gdb)
    
    This bit:
    
     ==23225== Invalid write of size 1
     ==23225==    at 0x4A0A308: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:881)
     ==23225==    by 0x52D334: regcache_raw_read (regcache.c:625)
     ==23225==    by 0x45E4D8: h8300_pseudo_register_read (h8300-tdep.c:1171)
    
    shows the problem.  The CCR pseudo register has type length of 1,
    while the corresponding CCR raw register has a length of 2 or 4
    (depending on mode).  In
    sim/h8300/compile.c:sim_{fetch|store}_register we see that the sim
    also treats those raw registers (CCR/EXR) as 2 or 4 bytes length.
    
    gdb/
    2014-02-12  Pedro Alves  <palves@redhat.com>
    
    	* h8300-tdep.c (pseudo_from_raw_register)
    	(raw_from_pseudo_register): New functions.
    	(h8300_pseudo_register_read, h8300_pseudo_register_write): Use
    	them.

commit 76fd5f745a0ba0b163fada011bece5084b3079c7
Author: Pedro Alves <palves@redhat.com>
Date:   Wed Feb 12 12:27:49 2014 +0000

    H8/300: Fix gdb<->sim register mapping.
    
    Currently, printing the H8/300 ccr register when debugging with the
    sim is broken:
    
     (gdb) target sim
     ...
     (gdb) load
     ...
     (gdb) start
     ...
     Breakpoint 1, foo (i=0x0 <foo>) at main.c:4
     4       {
     (gdb) info registers ccr
     Register 13 is not available
    
    '13' is the ccr pseudo-register.  This pseudo-register provides an
    8-bit view into the raw ccr register (regno=8).
    
    The problem is that the H8/300 port does not define a
    register_sim_regno gdbarch hook, and thus when fetching the raw
    register off of the sim, we end up in legacy_register_sim_regno trying
    to figure out the sim register number for the raw CCR register:
    
     int
     legacy_register_sim_regno (struct gdbarch *gdbarch, int regnum)
     {
       /* Only makes sense to supply raw registers.  */
       gdb_assert (regnum >= 0 && regnum < gdbarch_num_regs (gdbarch));
       /* NOTE: cagney/2002-05-13: The old code did it this way and it is
          suspected that some GDB/SIM combinations may rely on this
          behavour.  The default should be one2one_register_sim_regno
          (below).  */
       if (gdbarch_register_name (gdbarch, regnum) != NULL
           && gdbarch_register_name (gdbarch, regnum)[0] != '\0')
         return regnum;
       else
         return LEGACY_SIM_REGNO_IGNORE;
     }
    
    Because the raw ccr register does not have a name (so that it is
    hidden from the user), that returns LEGACY_SIM_REGNO_IGNORE.  That
    means that we never actually read the value of the raw ccr register.
    
    Before the <unavailable> support, this must have meant that ccr was
    _always_ read as 0...  At least, I'm not seeing how this ever worked.
    
    The fix for that is adding a gdbarch_register_sim_regno hook that maps
    all raw registers.  Looking at sim/h8300/sim-main.h, I believe the
    sim's register numbers are compatible with gdb's, so no actual
    convertion is necessary.
    
    gdb/
    2014-02-12  Pedro Alves  <palves@redhat.com>
    
    	* h8300-tdep.c (h8300_register_sim_regno): New function.
    	(h8300_gdbarch_init): Install h8300_register_sim_regno as
    	gdbarch_register_sim_regno hook.

commit 8f0084065d30812b428df35a82f5edb51e92460d
Author: Sanimir Agovic <sanimir.agovic@intel.com>
Date:   Mon Feb 10 17:54:15 2014 +0000

    nios2-tdep: remove unreferenced global nios2_stub_frame_base
    
    2014-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
    
    	* nios2-tdep.c (nios2_stub_frame_base): Remove global.

commit 195abc10c00dad55fa96edf41c8ef9904fa88d32
Author: Sanimir Agovic <sanimir.agovic@intel.com>
Date:   Mon Feb 10 18:00:01 2014 +0000

    tic6x-tdep: set default frame base
    
    2014-02-12  Sanimir Agovic  <sanimir.agovic@intel.com>
    
    	* tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.

commit 9f7552cff4367fc58246f72223d7a1de84c660b7
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Feb 12 21:04:32 2014 +1030

    Fix bad interaction between --relax and tls optimisation
    
    Adding long-branch stubs for __tls_get_addr calls that are optimised
    away is silly.  It also causes assertion failures on newer object files
    that use R_PPC_TLSGD and R_PPC_TLSLD marker relocs, and half-optimised
    (ie. broken) code for older object files.
    
    	PR 16546
    	* elf32-ppc.c (ppc_elf_relax_section): Don't build long-branch
    	stubs for calls to __tls_get_addr that we know will later be
    	optimised away.

commit 795bc6b3eac9e3f80279df69c05d70fc44eaaa4c
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Feb 12 16:44:36 2014 +1030

    Enable ppc476 workaround for ld -r.
    
    The Linux kernel builds modules using ld -r.  These might need the
    ppc476 workaround, so enable it for ld -r if sections have sufficient
    alignment to tell location within a page.
    
    bfd/
    	* elf32-ppc.c (ppc_elf_relax_section): Enable ppc476 workaround
    	for ld -r, when code sections are sufficiently aligned.
    	* elf32-ppc.h (struct ppc_elf_params): Delete pagesize.  Add
    	pagesize_p2.
    ld/
    	* emultempl/ppc32elf.em (pagesize): New static var.
    	(ppc_after_open_output): Set params.pagesize_p2 from pagesize.
    	(PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.

commit b407645f7ef086a9a527c8f62499b4255868e748
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Feb 12 21:08:01 2014 +1030

    PR15530, mark symbol in executables if it matches dynamic_list
    
    For powerpc64 as HJ did earlier for other ELF targets, and a tidy.
    
    	PR gold/15530
    	* elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Support
    	--export-dynamic and --dynamic-list marking of symbols.
    	* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Reorder
    	cheap tests first.

commit 93ffa5b939aef24f7530a8a400f877bfb24f0a73
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Wed Feb 12 12:08:28 2014 +0100

    Add signal number conversions for OpenBSD.
    
    gdb/ChangeLog:
    
            * obsd-tdep.h (obsd_init_abi): New prototype.
            * obsd-tdep.c: Define enum with OpenBSD signal numbers.
            (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
            (obsd_init_abi): New functions.
            * i386obsd-tdep.c: Include "obsd-tdep.h".
            (i386obsd_init_abi): Call obsd_init_abi.
            * amd64obsd-tdep.c: Include "obsd-tdep.h".
            (amd64obsd_init_abi): Call obsd_init_abi.
            * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
            obsd-tdep.c to gdb_target_obs.

commit 6fb526eee4244d591705cf90016390f12949bcc2
Author: Doug Evans <xdje42@gmail.com>
Date:   Tue Feb 11 23:19:22 2014 -0800

    Remove stray parantheses for deffn.

commit 149b30ffe4d328b38353c9236f4eb790f013558e
Author: Doug Evans <dje@google.com>
Date:   Tue Feb 11 15:47:50 2014 -0800

    * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
    of Tcl file commands.

commit abf8ab2a4598730a71e833d3cbd177c3d42efa90
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Feb 12 09:30:55 2014 +1030

    daily update

commit 503a609192b5d13905b40969ea82c62a72b576e0
Author: Cary Coutant <ccoutant@google.com>
Date:   Tue Feb 11 11:33:49 2014 -0800

    Fix readelf so it doesn't complain about corrupt attribute.
    
    When a DW_FORM_flag_present attribute comes at the very end of a
    debug section, readelf complains about a corrupt attribute
    because it's checking to make sure there's at least one byte of
    data remaining. This patch suppresses the check when the form
    is DW_FORM_flag_present.
    
    2014-02-11  Cary Coutant  <ccoutant@google.com>
    
    	* binutils/dwarf.c (read_and_display_attr_value): Don't warn
    	for zero-length attribute value.

commit dd0c4e70fe4d9a91132523a64a5c6e67cce07faf
Author: Cary Coutant <ccoutant@google.com>
Date:   Tue Feb 11 11:25:11 2014 -0800

    Update ChangeLog from earlier patch.

commit 7d0edd4bb674f2264b80e639cad86cb2af0978a4
Author: Andrew Pinski <apinski@cavium.com>
Date:   Fri Feb 7 12:22:27 2014 -0800

    2014-02-11  Andrew Pinski  <apinski@cavium.com>
    
    	* emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
    	(ELF_INTERPRETER_NAME): Define.
    	* emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.

commit 49caec94ae907290ae3fb849365b9b86ebb6f768
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date:   Tue Feb 11 04:27:20 2014 -0800

    Fix passing double float complex arguments in sparc64.
    
    Double float complex objects are not 16-byte aligned in either
    gcc or solaris studio.  This patch makes gdb to not align double
    float complex arguments in the dummy frame when calling a
    function.
    
    2014-02-11  Jose E. Marchesi  <jose.marchesi@oracle.com>
    
            * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
            double float arguments to 16-byte in the argument slots.

commit e1402065ee37ec094d31ccf08fe32efc8df679f1
Author: Doug Evans <xdje42@gmail.com>
Date:   Mon Feb 10 23:04:38 2014 -0800

    Don't crash if pkg-config is not found and guile wasn't explicitly requested.
    
    	* configure.ac: Don't crash if pkg-config is not found and guile
    	wasn't explicitly requested.  Use AC_MSG_ERROR instead of AC_ERROR
    	in guile checks.
    	* configure: Regenerate.

commit edcc890fce07a26950e5a24f4edc7664b0d4e1f5
Author: Yao Qi <yao@codesourcery.com>
Date:   Thu Jan 30 08:23:14 2014 +0800

    Update comments to to_xfer_partial implementations.
    
    Some comments to to_xfer_partial implementations are out of date.
    This patch updates them using the "Implement the to_xfer_partial
    target_ops method" pattern.
    
    gdb:
    
    2014-02-11  Yao Qi  <yao@codesourcery.com>
    
    	* aix-thread.c (aix_thread_xfer_partial): Update comments.
    	* auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
    	* bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
    	* gnu-nat.c (gnu_xfer_memory): Likewise.
    	* inf-ptrace.c (inf_ptrace_xfer_partial):  Likewise.
    	* rs6000-nat.c (rs6000_xfer_partial): Likewise.
    	* sparc-nat.c (sparc_xfer_wcookie): Likewise.
    	* spu-linux-nat.c (spu_proc_xfer_spu): Likewise.

commit 9b409511d07fe375284701af34909fb539029caf
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Jan 27 20:35:33 2014 +0800

    Return target_xfer_status in to_xfer_partial
    
    This patch does the conversion of to_xfer_partial from
    
        LONGEST (*to_xfer_partial) (struct target_ops *ops,
    				enum target_object object, const char *annex,
    				gdb_byte *readbuf, const gdb_byte *writebuf,
    				ULONGEST offset, ULONGEST len);
    
    to
    
        enum target_xfer_status (*to_xfer_partial) (struct target_ops *ops,
    				enum target_object object, const char *annex,
    				gdb_byte *readbuf, const gdb_byte *writebuf,
    				ULONGEST offset, ULONGEST len, ULONGEST *xfered_len);
    
    It changes to_xfer_partial return the transfer status and the transfered
    length by *XFERED_LEN.  Generally, the return status has three stats,
    
     - TARGET_XFER_OK,
     - TARGET_XFER_EOF,
     - TARGET_XFER_E_XXXX,
    
    See the comments to them in 'enum target_xfer_status'.  Note that
    Pedro suggested not name TARGET_XFER_DONE, as it is confusing,
    compared with "TARGET_XFER_OK".  We finally name it TARGET_XFER_EOF.
    
    With this change, GDB core can handle unavailable data in a convenient
    way.
    
    The rationale behind this change was mentioned here
    https://sourceware.org/ml/gdb-patches/2013-10/msg00761.html
    
    Consider an object/value like this:
    
      0          100      150        200           512
      DDDDDDDDDDDxxxxxxxxxDDDDDD...DDIIIIIIIIIIII..III
    
    where D is valid data, and xxx is unavailable data, and I is beyond
    the end of the object (Invalid).  Currently, if we start the
    xfer at 0, requesting, say 512 bytes, we'll first get back 100 bytes.
    The xfer machinery then retries fetching [100,512), and gets back
    TARGET_XFER_E_UNAVAILABLE.  That's sufficient when you're either
    interested in either having the whole of the 512 bytes available,
    or erroring out.  But, in this scenario, we're interested in
    the data at [150,512).  The problem is that the last
    TARGET_XFER_E_UNAVAILABLE gives us no indication where to
    start the read next.  We'd need something like:
    
    get me [0,512) >>>
         <<< here's [0,100), *xfered_len is 100, returns TARGET_XFER_OK
    
    get me [100,512)  >>> (**1)
         <<< [100,150) is unavailable, *xfered_len is 50, return TARGET_XFER_E_UNAVAILABLE.
    
    get me [150,512) >>>
         <<< here's [150,200), *xfered_len is 50, return TARGET_XFER_OK.
    
    get me [200,512) >>>
         <<< no more data, return TARGET_XFER_EOF.
    
    This naturally implies pushing down the decision of whether
    to return TARGET_XFER_E_UNAVAILABLE or something else
    down to the target.  (Which kinds of leads back to tfile
    itself reading from RO memory from file (though we could
    export a function in exec.c for that that tfile delegates to,
    instead of re-adding the old code).
    
    Beside this change, we also add a macro TARGET_XFER_STATUS_ERROR_P to
    check whether a status is an error or not, to stop using "status < 0".
    This patch also eliminates the comparison between status and 0.
    
    No target implementations to to_xfer_partial adapts this new
    interface.  The interface still behaves as before.
    
    gdb:
    
    2014-02-11  Yao Qi  <yao@codesourcery.com>
    
    	* target.h (enum target_xfer_error): Rename to ...
    	(enum target_xfer_status): ... it.  New.  All users updated.
    	(enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
    	New.
    	(TARGET_XFER_STATUS_ERROR_P): New macro.
    	(target_xfer_error_to_string): Remove declaration.
    	(target_xfer_status_to_string): Declare.
    	(target_xfer_partial_ftype): Adjust it.
    	(struct target_ops) <to_xfer_partial>: Return
    	target_xfer_status.  Add argument xfered_len.  Update
    	comments.
    	* target.c (target_xfer_error_to_string): Rename to ...
    	(target_xfer_status_to_string): ... it.  New.  All callers
    	updated.
    	(target_read_live_memory): Likewise.  Call target_xfer_partial
    	instead of target_read.
    	(memory_xfer_live_readonly_partial): Return
    	target_xfer_status.  Add argument xfered_len.
    	(raw_memory_xfer_partial): Likewise.
    	(memory_xfer_partial_1): Likewise.
    	(memory_xfer_partial): Likewise.
    	(target_xfer_partial): Likewise.  Check *XFERED_LEN is set
    	properly.  Update debug message.
    	(default_xfer_partial, current_xfer_partial): Likewise.
    	(target_write_partial): Likewise.
    	(target_read_partial): Likewise.  All callers updated.
    	(read_whatever_is_readable): Likewise.
    	(target_write_with_progress): Likewise.
    	(target_read_alloc_1): Likewise.
    
    	* aix-thread.c (aix_thread_xfer_partial): Likewise.
    	* auxv.c (procfs_xfer_auxv): Likewise.
    	(ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
    	* bfd-target.c (target_bfd_xfer_partial): Likewise.
    	* bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
    	* bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
    	* corefile.c (read_memory): Adjust.
    	* corelow.c (core_xfer_partial): Likewise.
    	* ctf.c (ctf_xfer_partial): Likewise.
    	* darwin-nat.c (darwin_read_dyld_info): Likewise.  All callers
    	updated.
    	(darwin_xfer_partial): Likewise.
    	* exec.c (section_table_xfer_memory_partial): Likewise.  All
    	callers updated.
    	(exec_xfer_partial): Likewise.
    	* exec.h (section_table_xfer_memory_partial): Update
    	declaration.
    	* gnu-nat.c (gnu_xfer_memory): Likewise.  Assert 'res' is not
    	negative.
    	(gnu_xfer_partial): Likewise.
    	* ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
    	(ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
    	(ia64_hpux_xfer_solib_got): Likewise.
    	* inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.  Change
    	type of 'partial_len' to ULONGEST.
    	* inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
    	* linux-nat.c (linux_xfer_siginfo ): Likewise.
    	(linux_nat_xfer_partial): Likewise.
    	(linux_proc_xfer_partial, linux_xfer_partial): Likewise.
    	(linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
    	* monitor.c (monitor_xfer_memory): Likewise.
    	(monitor_xfer_partial): Likewise.
    	* procfs.c (procfs_xfer_partial): Likewise.
    	* record-btrace.c (record_btrace_xfer_partial): Likewise.
    	* record-full.c (record_full_xfer_partial): Likewise.
    	(record_full_core_xfer_partial): Likewise.
    	* remote-sim.c (gdbsim_xfer_memory): Likewise.
    	(gdbsim_xfer_partial): Likewise.
    	* remote.c (remote_write_bytes_aux): Likewise.  All callers
    	updated.
    	(remote_write_bytes, remote_read_bytes): Likewise.  All
    	callers updated.
    	(remote_flash_erase): Likewise.  All callers updated.
    	(remote_write_qxfer): Likewise.  All callers updated.
    	(remote_read_qxfer): Likewise.  All callers updated.
    	(remote_xfer_partial): Likewise.
    	* rs6000-nat.c (rs6000_xfer_partial): Likewise.
    	(rs6000_xfer_shared_libraries): Likewise.
    	* sol-thread.c (sol_thread_xfer_partial): Likewise.
    	(sol_thread_xfer_partial): Likewise.
    	* sparc-nat.c (sparc_xfer_wcookie): Likewise.
    	(sparc_xfer_partial): Likewise.
    	* spu-linux-nat.c (spu_proc_xfer_spu): Likewise.  All callers
    	updated.
    	(spu_xfer_partial): Likewise.
    	* spu-multiarch.c (spu_xfer_partial): Likewise.
    	* tracepoint.c (tfile_xfer_partial): Likewise.
    	* windows-nat.c (windows_xfer_memory): Likewise.
    	(windows_xfer_shared_libraries): Likewise.
    	(windows_xfer_partial): Likewise.
    	* valprint.c: Replace 'target_xfer_error' with
    	'target_xfer_status' in comments.

commit a8e6308380e7c76bff431ed8477b85b4fd3b3542
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Tue Feb 11 07:59:14 2014 +0400

    Fix thinko in mi/mi-main.c::mi_cmd_data_write_memory_bytes comment.
    
    gdb/ChangeLog:
    2014-02-11  Simon Marchi  <simon.marchi@ericsson.com>  (tiny patch)
    
    	Checked in by Joel Brobecker <brobecker@adacore.com>.
    	* mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.

commit e86b67d3a13e6f63c68145105b6aba3b867f94cc
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Tue Feb 11 07:31:26 2014 +0400

    Reformat symfile-debug.c::debug_qf_expand_symtabs_matching parameters.
    
    gdb/ChangeLog:
    
    	* symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
    	function parameters.

commit 1e0a51780bc504ff110cc623954cdf9e71a26ad1
Author: Stan Shebs <stan@codesourcery.com>
Date:   Tue Feb 11 09:31:14 2014 +1030

    Add Doxygen support to GDB

commit 8f3f987531fa46b3383956919ae16461306eeb35
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Feb 11 09:31:14 2014 +1030

    daily update

commit 1dfdac3275133d51186c6b2c3910bf7043157f1b
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Mon Feb 10 17:58:03 2014 +0100

    Avoid killing all processes.
    
    gdb/ChangeLog:
    
            * gdb.threads/step-after-sr-lock.exp: Avoid executing
            "kill -SIGUSR1 -1".

commit 4b7d1f7fb496267f5ffb08effd1e18a3424eb9d8
Author: Will Newton <will.newton@linaro.org>
Date:   Mon Dec 16 17:45:45 2013 +0000

    gdb/elfread.c: Enable ifunc support on ARM.
    
    There are two failures in the gnu-ifunc.exp test on ARM. These are
    due to the failure to resolve the correct target function when
    attempting to breakpoint a GNU ifunc resolved function:
    
    (gdb) break gnu_ifunc
    Breakpoint 4 at gnu-indirect-function resolver at 0x2aacb5a2
    
    when gnu_ifunc has been resolved this should actually be:
    
    (gdb) break gnu_ifunc
    Breakpoint 4 at 0x868c
    
    There are two reasons for this. The first is that ARM does not have a
    separate .got.plt section so looking this up will always fail. The second
    is that the Thumb bit needs to be stripped from the address to allow
    it to be reliably compared when inserting into the ifunc cache.
    
    Tested with no regressions on arm-linux-gnueabihf and
    x86_64-unknown-linux-gnu.
    
    gdb/ChangeLog:
    
    2014-02-10  Will Newton  <will.newton@linaro.org>
    
    	* elfread.c (elf_rel_plt_read): Look for a .got section if
    	looking up .got.plt fails.
    	(elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
    	on address passed to elf_gnu_ifunc_record_cache.
    	(elf_gnu_ifunc_resolve_addr): Likewise.
    	(elf_gnu_ifunc_resolver_return_stop): Likewise.

commit d6f6f455778b10037503bcc39352b5174bba5e45
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 6 09:44:25 2014 -0800

    Mark symbol in executables if it matches dynamic_list
    
    bfd/
    
    	PR gold/16530
    	* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Mark symbol in
    	executables if it matches dynamic_list.
    
    ld/testsuite/
    
    	PR gold/16530
    	* ld-elf/dynamic-1.c: New file.
    	* ld-elf/dynamic-1.rd: Likewise.
    	* ld-elf/dynamic-1.syms: Likewise.
    
    	* ld-elf/shared.exp (build_tests): Add dynamic-1.

commit 8577303939d47fc3dd433ed31f78ee47c6ad0aa8
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date:   Mon Feb 10 16:32:18 2014 +0100

    Add PR reference.

commit 961842b289ba80b64f95f2e1a3df1f866acb229b
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date:   Mon Feb 10 07:09:23 2014 -0800

    Add gdbarch_in_function_epilogue_p hook for sparc64.
    
    watchpoint_update and watchpoint_cond avoid checking for
    watchpoints when we are located at a function epilogue in the
    current frame.  This is done in order to avoid using corrupted
    local registers and unwinding a corrupted/destroyed stack.
    
    The code determining whether we are in a function epilogue is
    provided by the backends via the gdbarch_in_function_epilogue_p
    hook.  This commit adds such a hook for sparc64 targets.
    
    2014-02-10  Jose E. Marchesi  <jose.marchesi@oracle.com>
    
    	* sparc-tdep.c (sparc_in_function_epilogue_p): New function.
    	(X_RETTURN): New macro.
    	* sparc-tdep.h: sparc_in_function_epilogue_p prototype.
    
    	* sparc64-tdep.c (sparc64_init_abi): Hook
    	sparc_in_function_epilogue_p.

commit 3f03e7b140f984868442092abe909ebb7f251f1d
Author: Gary Benson <gbenson@redhat.com>
Date:   Mon Feb 10 14:24:32 2014 +0000

    Fix compile error
    
    This commit fixes a compile error introduced by my previous commit.
    
    Checked in as obvious.
    
    2014-02-10  Gary Benson  <gbenson@redhat.com>
    
    	* symfile-debug.c (debug_qf_expand_symtabs_matching):
    	Rename name_matcher to symbol_matcher.

commit 96f861efe0b5a083211ec80db63a612f87daa626
Author: Gary Benson <gbenson@redhat.com>
Date:   Mon Feb 10 14:07:44 2014 +0000

    Update debug_qf_expand_symtabs_matching to use typedefs.
    
    Commit 206f2a5777679e6d1ad21ce435f6e7af92e2d41a added two new
    typedefs, but did not update debug_qf_expand_symtabs_matching
    to use them.  This patch fixes this.
    
    Checked in as obvious.
    
    2014-02-10  Gary Benson  <gbenson@redhat.com>
    
    	* symfile-debug.c (debug_qf_expand_symtabs_matching):
    	Use expand_symtabs_file_matcher_ftype and
    	expand_symtabs_symbol_matcher_ftype.

commit ee01b6652ad55437e777fb7e6b1745782dc205a4
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Mon Feb 10 17:49:27 2014 +0400

    [Ada] Make the symbol cache per-program-space.
    
    This patch moves the Ada symbol cache to per-program-space data.
    
    gdb/ChangeLog:
    
            * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
            (struct ada_symbol_cache): New.
            (ada_free_symbol_cache): Forward declare.
            (struct ada_pspace_data): New.
            (ada_pspace_data_handle): New static global.
            (get_ada_pspace_data, ada_pspace_data_cleanup)
            (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
            (cache_space, cache): Delete, now folded inside struct
            ada_pspace_data.
            (ada_get_symbol_cache): New function.
            (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
            implementation.
            (_initialize_ada_language): Remove initialization of cache_space.
            Move call to observer_attach_inferior_exit up, grouping it
            with the other observer registrations inside this function.
            Rename command to be more general.  Add call to
            register_program_space_data_with_cleanup.

commit 143adbbfa31d98b59c0a1509ac3819cc64b241c8
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Fri Jan 31 17:56:12 2014 +0400

    [Ada] Rename some observer callbacks in ada-tasks.c
    
    This patch is mostly cosmetic, avoiding us to use the same callback
    names as in ada-lang.c.
    
    gdb/ChangeLog:
    
            * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
            ada_new_objfile_observer.
            (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
            (_initialize_tasks): Update uses of ada_new_objfile_observer
            and ada_tasks_normal_stop_observer.

commit aa4fb036e90f5c976f57cd08f2c024cb0fe24897
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Thu Feb 6 23:44:20 2014 -0500

    Wrong type for 'Length result.
    
    Consider the following code:
    
       type Color is (Black, Red, Green, Blue, White);
       type Primary_Table is array (Color range Red .. Blue) of Boolean;
       Prim : Primary_Table := (True, False, False);
    
    GDB prints the length of arrays in a fairly odd way:
    
       (gdb) p prim'length
       $2 = blue
    
    The length returned should be an integer, not the array index type,
    and this patch fixes this.
    
    gdb/ChangeLog:
    
    	* ada-lang.c (ada_evaluate_subexp): Set the type of the value
    	returned by the 'Length attribute to integer.
    
    testsuite/ChangeLog:
    
    	* gdb.ada/tick_length_array_enum_idx: New testcase.

commit 9dee8cc6aa668228309de7d0e23e1775beb7d12f
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Mon Feb 10 12:52:15 2014 +0400

    Add missing call to obstack_init for ada-lang.c::cache_space
    
    This bit was meant to be merged with the following patch:
    
        commit 3d9434b5ddc141178be232048e3d944955cc1f91
        Subject: [Ada] Add a symbol lookup cache
    
    ... but I forgot :-(. This causes the cache to be undefined, and
    with a bit of (bad) luck:
    
        % gdb
        (gdb) set lang ada
        (gdb) set $xxx := 1
        [SEGV]
    
    gdb/ChangeLog:
    
            * ada-lang.c (_initialize_ada_language): Initialize
            cache_space obstack.

commit 3d9434b5ddc141178be232048e3d944955cc1f91
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Mon Feb 10 09:03:30 2014 +0400

    [Ada] Add a symbol lookup cache
    
    This patch implements the caching mechanism alluded to in a comment
    next to some stubbed functions.
    
    gdb/ChangeLog:
    
            * ada-lang.c (HASH_SIZE): New macro.
            (struct cache_entry): New type.
            (cache_space, cache): New static globals.
            (ada_clear_symbol_cache, find_entry): New functions.
            (lookup_cached_symbol, cache_symbol): Implement.
            (ada_new_objfile_observer, ada_free_objfile_observer): New.
            (_initialize_ada_language): Attach ada_new_objfile_observer
            and ada_free_objfile_observer.

commit f0c5f9b2b8438e44abc30d18574a4d2ea44d2f67
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Mon Feb 10 08:53:18 2014 +0400

    struct block parameter constification in ada-lang.c
    
    This patch series constifies a number of struct block * parameters.
    
    gdb/ChangeLog:
    
            * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
            (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
            struct block * parameter.
            (ada_lookup_symbol_list_worker): Constify local variable "block".
            Remove cast which is no longer necessary.

commit ed3ef33944c39d9a3cea72b9a7cef3c20f0e3461
Author: Doug Evans <xdje42@gmail.com>
Date:   Sun Feb 9 19:40:01 2014 -0800

    Add Guile as an extension language.
    
    	* NEWS: Mention Guile scripting.
    	* Makefile.in (SUBDIR_GUILE_OBS): New variable.
    	(SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
    	(SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
    	(INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
    	(CLIBS): Add GUILE_LIBS.
    	(install-guile): New rule.
    	(guile.o): New rule.
    	(scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
    	(scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
    	(scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
    	(scm-math.o, scm-objfile.o, scm-ports.o): New rules.
    	(scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
    	(scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
    	(scm-type.o, scm-utils.o, scm-value.o): New rules.
    	* configure.ac: New option --with-guile.
    	* configure: Regenerate.
    	* config.in: Regenerate.
    	* auto-load.c: Remove #include "python/python.h".  Add #include
    	"gdb/section-scripts.h".
    	(source_section_scripts): Handle Guile scripts.
    	(_initialize_auto_load): Add name of Guile objfile script to
    	scripts-directory help text.
    	* breakpoint.c (condition_command): Tweak comment to include Scheme.
    	* breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
    	(struct breakpoint): New member scm_bp_object.
    	* defs.h (enum command_control_type): New value guile_control.
    	* cli/cli-cmds.c: Remove #include "python/python.h".  Add #include
    	"extension.h".
    	(show_user): Update comment.
    	(_initialize_cli_cmds): Update help text for "show user".  Update help
    	text for max-user-call-depth.
    	* cli/cli-script.c: Remove #include "python/python.h".  Add #include
    	"extension.h".
    	(multi_line_command_p): Add guile_control.
    	(print_command_lines): Handle guile_control.
    	(execute_control_command, recurse_read_control_structure): Ditto.
    	(process_next_line): Recognize "guile" commands.
    	* disasm.c (gdb_disassemble_info): Make non-static.
    	* disasm.h: #include "dis-asm.h".
    	(struct gdbarch): Add forward decl.
    	(gdb_disassemble_info): Declare.
    	* extension.c: #include "guile/guile.h".
    	(extension_languages): Add guile.
    	(get_ext_lang_defn): Handle EXT_LANG_GDB.
    	* extension.h (enum extension_language): New value EXT_LANG_GUILE.
    	* gdbtypes.c (get_unsigned_type_max): New function.
    	(get_signed_type_minmax): New function.
    	* gdbtypes.h (get_unsigned_type_max): Declare.
    	(get_signed_type_minmax): Declare.
    	* guile/README: New file.
    	* guile/guile-internal.h: New file.
    	* guile/guile.c: New file.
    	* guile/guile.h: New file.
    	* guile/scm-arch.c: New file.
    	* guile/scm-auto-load.c: New file.
    	* guile/scm-block.c: New file.
    	* guile/scm-breakpoint.c: New file.
    	* guile/scm-disasm.c: New file.
    	* guile/scm-exception.c: New file.
    	* guile/scm-frame.c: New file.
    	* guile/scm-gsmob.c: New file.
    	* guile/scm-iterator.c: New file.
    	* guile/scm-lazy-string.c: New file.
    	* guile/scm-math.c: New file.
    	* guile/scm-objfile.c: New file.
    	* guile/scm-ports.c: New file.
    	* guile/scm-pretty-print.c: New file.
    	* guile/scm-safe-call.c: New file.
    	* guile/scm-string.c: New file.
    	* guile/scm-symbol.c: New file.
    	* guile/scm-symtab.c: New file.
    	* guile/scm-type.c: New file.
    	* guile/scm-utils.c: New file.
    	* guile/scm-value.c: New file.
    	* guile/lib/gdb.scm: New file.
    	* guile/lib/gdb/boot.scm: New file.
    	* guile/lib/gdb/experimental.scm: New file.
    	* guile/lib/gdb/init.scm: New file.
    	* guile/lib/gdb/iterator.scm: New file.
    	* guile/lib/gdb/printing.scm: New file.
    	* guile/lib/gdb/types.scm: New file.
    	* data-directory/Makefile.in (GUILE_SRCDIR): New variable.
    	(VPATH): Add $(GUILE_SRCDIR).
    	(GUILE_DIR): New variable.
    	(GUILE_INSTALL_DIR, GUILE_FILES): New variables.
    	(all): Add stamp-guile dependency.
    	(stamp-guile): New rule.
    	(clean-guile, install-guile, uninstall-guile): New rules.
    	(install-only): Add install-guile dependency.
    	(uninstall): Add uninstall-guile dependency.
    	(clean): Add clean-guile dependency.
    
    	doc/
    	* Makefile.in (GDB_DOC_FILES): Add guile.texi.
    	* gdb.texinfo (Auto-loading): Add set/show auto-load guile-scripts.
    	(Extending GDB): New menu entries Guile, Multiple Extension Languages.
    	(Guile docs): Include guile.texi.
    	(objfile-gdbdotext file): Add objfile-gdb.scm.
    	(dotdebug_gdb_scripts section): Mention Guile scripts.
    	(Multiple Extension Languages): New node.
    	* guile.texi: New file.
    
    	testsuite/
    	* configure.ac (AC_OUTPUT): Add gdb.guile.
    	* configure: Regenerate.
    	* lib/gdb-guile.exp: New file.
    	* lib/gdb.exp (get_target_charset): New function.
    	* gdb.base/help.exp: Update expected output from "apropos apropos".
    	* gdb.guile/Makefile.in: New file.
    	* gdb.guile/guile.exp: New file.
    	* gdb.guile/scm-arch.c: New file.
    	* gdb.guile/scm-arch.exp: New file.
    	* gdb.guile/scm-block.c: New file.
    	* gdb.guile/scm-block.exp: New file.
    	* gdb.guile/scm-breakpoint.c: New file.
    	* gdb.guile/scm-breakpoint.exp: New file.
    	* gdb.guile/scm-disasm.c: New file.
    	* gdb.guile/scm-disasm.exp: New file.
    	* gdb.guile/scm-equal.c: New file.
    	* gdb.guile/scm-equal.exp: New file.
    	* gdb.guile/scm-error.exp: New file.
    	* gdb.guile/scm-error.scm: New file.
    	* gdb.guile/scm-frame-args.c: New file.
    	* gdb.guile/scm-frame-args.exp: New file.
    	* gdb.guile/scm-frame-args.scm: New file.
    	* gdb.guile/scm-frame-inline.c: New file.
    	* gdb.guile/scm-frame-inline.exp: New file.
    	* gdb.guile/scm-frame.c: New file.
    	* gdb.guile/scm-frame.exp: New file.
    	* gdb.guile/scm-generics.exp: New file.
    	* gdb.guile/scm-gsmob.exp: New file.
    	* gdb.guile/scm-iterator.c: New file.
    	* gdb.guile/scm-iterator.exp: New file.
    	* gdb.guile/scm-math.c: New file.
    	* gdb.guile/scm-math.exp: New file.
    	* gdb.guile/scm-objfile-script-gdb.in: New file.
    	* gdb.guile/scm-objfile-script.c: New file.
    	* gdb.guile/scm-objfile-script.exp: New file.
    	* gdb.guile/scm-objfile.c: New file.
    	* gdb.guile/scm-objfile.exp: New file.
    	* gdb.guile/scm-ports.exp: New file.
    	* gdb.guile/scm-pretty-print.c: New file.
    	* gdb.guile/scm-pretty-print.exp: New file.
    	* gdb.guile/scm-pretty-print.scm: New file.
    	* gdb.guile/scm-section-script.c: New file.
    	* gdb.guile/scm-section-script.exp: New file.
    	* gdb.guile/scm-section-script.scm: New file.
    	* gdb.guile/scm-symbol.c: New file.
    	* gdb.guile/scm-symbol.exp: New file.
    	* gdb.guile/scm-symtab-2.c: New file.
    	* gdb.guile/scm-symtab.c: New file.
    	* gdb.guile/scm-symtab.exp: New file.
    	* gdb.guile/scm-type.c: New file.
    	* gdb.guile/scm-type.exp: New file.
    	* gdb.guile/scm-value-cc.cc: New file.
    	* gdb.guile/scm-value-cc.exp: New file.
    	* gdb.guile/scm-value.c: New file.
    	* gdb.guile/scm-value.exp: New file.
    	* gdb.guile/source2.scm: New file.
    	* gdb.guile/types-module.cc: New file.
    	* gdb.guile/types-module.exp: New file.

commit 7026a7c16ee82d39e84823f8cc3097a9a940ddb2
Author: Yao Qi <yao@codesourcery.com>
Date:   Sat Feb 8 20:54:57 2014 +0800

    Fix PR16543
    
    Tests in gdb.gdb fail because directory gdb/testsuite/gdb.gdb doesn't
    exist in build tree.  This patch appends gdb.gdb/Makefile in AC_OUTPUT,
    and adds new Makefile.in in gdb.gdb, so that directory gdb.gdb can be
    created during configure.
    
    With this patch applied, tests under gdb.gdb can be run,
    
    $ make check RUNTESTFLAGS='--directory=gdb.gdb'
    
    Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
    Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
    Using ../../../../git/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file.
    Running ../../../../git/gdb/testsuite/gdb.gdb/complaints.exp ...
    Running ../../../../git/gdb/testsuite/gdb.gdb/observer.exp ...
    Running ../../../../git/gdb/testsuite/gdb.gdb/python-interrupts.exp ...
    FAIL: gdb.gdb/python-interrupts.exp: signal SIGINT
    Running ../../../../git/gdb/testsuite/gdb.gdb/python-selftest.exp ...
    FAIL: gdb.gdb/python-selftest.exp: call catch_command_errors(execute_command, "python print 5", 0, RETURN_MASK_ALL)
    Running ../../../../git/gdb/testsuite/gdb.gdb/selftest.exp ...
    Running ../../../../git/gdb/testsuite/gdb.gdb/xfullpath.exp ...
    
                    === gdb Summary ===
    
    gdb/testsuite:
    
    2014-02-10  Yao Qi  <yao@codesourcery.com>
    
    	PR testsuite/16543
    	* configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
    	* configure: Regenerated.
    	* Makefile.in: New file.

commit ac020ec5aef0e104cfe5b511ce90420950b44a90
Author: Doug Evans <xdje42@gmail.com>
Date:   Sun Feb 9 17:39:08 2014 -0800

    Revert Makefile.in patch to remove all-lib.
    
    	Revert this patch (which I approved, mea culpa).
    
    	2014-02-08  Mark Kettenis  <kettenis@gnu.org>
    
    	* Makefile.in (all-lib): Remove.
    	($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.

commit 63495f2e58a8106bbbc58c2131ab93a8efc8215f
Author: Doug Evans <xdje42@gmail.com>
Date:   Sun Feb 9 15:56:36 2014 -0800

    * section-scripts.h: New file.

commit c1c69e839e3fa7b92b8c9b2d5a8a06d4f24db47a
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Feb 10 09:59:35 2014 +1030

    binutils potfiles regen
    
    Adds nds32 files to POTFILES.in

commit 7f361d9dee856696b8446c86f5950d65fc5b44f1
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Feb 10 09:30:37 2014 +1030

    daily update

commit 2a081c592cf727c5103808374834c4915e83521a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Feb 9 18:47:40 2014 +0100

    Fix Python stack corruption
    
    The fix is obvious.
    
    gdb/
    2014-02-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	Fix Python stack corruption.
    	* python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
    	gdb_py_longest.
    
    Message-ID: <20140207171701.GA25187@host2.jankratochvil.net>

commit 53291d1f1601d6958248dcfb755af470521c186a
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Feb 8 12:26:53 2014 +1030

    powerpc relax_section and section contents cache
    
    This patch provides a means for backend relax_section support to
    increase the size of a section without needing to reallocate
    section contents.  This helps reduce memory usage when the added space
    does not need to be written in relax_section, as is the case for
    powerpc.  Writing the stubs later means a few tweaks are needed in the
    powerpc relocate_section function, but also removes some code
    duplication since the extra ld -r relocs can be written there too.
    
    	* elf-bfd.h (struct elf_backend_data): Add caches_rawsize.
    	* elfxx-target.h (elf_backend_caches_rawsize): Define.
    	(elfNN_bed): Init new field.
    	* elflink.c (elf_link_input_bfd): Handle caches_rawsize.
    	* elf32-ppc.c (shared_stub_entry): Zero addi offset.
    	(ppc_elf_relax_section): Don't reallocate section here, write
    	stubs, or write out relocs for ld -r here..
    	(ppc_elf_relocate_section): ..instead write stubs here, and use
    	existing code to write out relocs for ld -r.  Fix offset
    	adjustment on reloc for little-endian.
    	(elf_backend_caches_rawsize): Define.

commit f9e7e5d3e6b8715d702cf0d530e8ca6cd243cd8b
Author: Alan Modra <amodra@gmail.com>
Date:   Sun Feb 9 09:31:14 2014 +1030

    daily update

commit 0a6bd22df74bb5b6ffa30c3b10243a34d9055c32
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Sat Feb 8 12:36:17 2014 +0100

    A phony target should not be a prerequisite of a real target file
    
    gdb/ChangeLog:
    
    	* Makefile.in (all-lib): Remove.
    	($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.

commit 6c4664473469811ef5546d4a30917b5f20add169
Author: Andreas Schwab <schwab@linux-m68k.org>
Date:   Sat Feb 8 10:43:24 2014 +0100

    Fix typo in test name
    
    * gdb.python/py-framefilter.exp: Fix typo.

commit 6e854735132978038000f951f3c7a464fa44906c
Author: Yao Qi <yao@codesourcery.com>
Date:   Fri Jan 24 11:05:06 2014 +0800

    Test no =breakpoint-modified is emitted for modifications from MI commands
    
    As design, =breakpoint-modified isn't emitted when breakpoints are modified
    by MI commands.  This patch is to add tests for this.
    
    gdb/testsuite:
    
    2014-02-08  Yao Qi  <yao@codesourcery.com>
    
    	* gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
    	that no =breakpoint-modified is emitted when breakpoints are
    	modified through MI commands.

commit 1a84070136191d2da421421af86561458fd8eb86
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Feb 8 09:30:39 2014 +1030

    daily update

commit caf5a49149c6f5cf54556326e5332e48a64e204b
Author: Doug Evans <dje@google.com>
Date:   Fri Feb 7 11:56:58 2014 -0800

    add forgotten entry in previous checkin
    
    	(active_ext_lang_state): Fix typo in comment.

commit 1a86040918045adb017f841d6c8d818c42405da3
Author: Doug Evans <dje@google.com>
Date:   Fri Feb 7 11:43:19 2014 -0800

    	* extension-priv.h (extension_language_script_ops): Add comment.
    	(extension_language_ops): Add comment.

commit d137e6dc798cdf3b3b17fe47322ce61450870e22
Author: Pedro Alves <palves@redhat.com>
Date:   Fri Feb 7 19:11:25 2014 +0000

    Make sure we don't resume the stepped thread by accident.
    
    Say:
    
    <stopped at a breakpoint in thread 2>
    (gdb) thread 3
    (gdb) step
    
    The above triggers the prepare_to_proceed/deferred_step_ptid process,
    which switches back to thread 2, to step over its breakpoint before
    getting back to thread 3 and "step" it.
    
    If while stepping over the breakpoint in thread 2, a signal arrives,
    and it is set to pass/nostop, we'll set a step-resume breakpoint at
    the supposed signal-handler resume address, and call keep_going.  The
    problem is that we were supposedly stepping thread 3, and that
    keep_going delivers a signal to thread 2, and due to scheduler-locking
    off, resumes everything else, _including_ thread 3, the thread we want
    stepping.  This means that we lose control of thread 3 until the next
    event, when we stop everything.  The end result for the user, is that
    GDB lost control of the "step".
    
    Here's the current infrun debug output of the above, with the testcase
    in the patch below:
    
    infrun: clear_proceed_status_thread (Thread 0x2aaaab8f5700 (LWP 11663))
    infrun: clear_proceed_status_thread (Thread 0x2aaaab6f4700 (LWP 11662))
    infrun: clear_proceed_status_thread (Thread 0x2aaaab4f2b20 (LWP 11659))
    infrun: proceed (addr=0xffffffffffffffff, signal=144, step=1)
    infrun: prepare_to_proceed (step=1), switched to [Thread 0x2aaaab6f4700 (LWP 11662)]
    infrun: resume (step=1, signal=0), trap_expected=1, current thread [Thread 0x2aaaab6f4700 (LWP 11662)] at 0x40098f
    infrun: wait_for_inferior ()
    infrun: target_wait (-1, status) =
    infrun:   11659 [Thread 0x2aaaab6f4700 (LWP 11662)],
    infrun:   status->kind = stopped, signal = SIGUSR1
    infrun: infwait_normal_state
    infrun: TARGET_WAITKIND_STOPPED
    infrun: stop_pc = 0x40098f
    infrun: random signal 30
    
    Program received signal SIGUSR1, User defined signal 1.
    infrun: signal arrived while stepping over breakpoint
    infrun: inserting step-resume breakpoint at 0x40098f
    infrun: resume (step=0, signal=30), trap_expected=0, current thread [Thread 0x2aaaab6f4700 (LWP 11662)] at 0x40098f
    
    ^^^ this is a wildcard resume.
    
    infrun: prepare_to_wait
    infrun: target_wait (-1, status) =
    infrun:   11659 [Thread 0x2aaaab6f4700 (LWP 11662)],
    infrun:   status->kind = stopped, signal = SIGTRAP
    infrun: infwait_normal_state
    infrun: TARGET_WAITKIND_STOPPED
    infrun: stop_pc = 0x40098f
    infrun: BPSTAT_WHAT_STEP_RESUME
    infrun: resume (step=1, signal=0), trap_expected=1, current thread [Thread 0x2aaaab6f4700 (LWP 11662)] at 0x40098f
    
    ^^^ step-resume hit, meaning the handler returned, so we go back to stepping thread 3.
    
    infrun: prepare_to_wait
    infrun: target_wait (-1, status) =
    infrun:   11659 [Thread 0x2aaaab6f4700 (LWP 11662)],
    infrun:   status->kind = stopped, signal = SIGTRAP
    infrun: infwait_normal_state
    infrun: TARGET_WAITKIND_STOPPED
    
    infrun: stop_pc = 0x40088b
    infrun: switching back to stepped thread
    infrun: Switching context from Thread 0x2aaaab6f4700 (LWP 11662) to Thread 0x2aaaab8f5700 (LWP 11663)
    infrun: resume (step=1, signal=0), trap_expected=0, current thread [Thread 0x2aaaab8f5700 (LWP 11663)] at 0x400938
    infrun: prepare_to_wait
    infrun: target_wait (-1, status) =
    infrun:   11659 [Thread 0x2aaaab8f5700 (LWP 11663)],
    infrun:   status->kind = stopped, signal = SIGTRAP
    infrun: infwait_normal_state
    infrun: TARGET_WAITKIND_STOPPED
    infrun: stop_pc = 0x40093a
    infrun: keep going
    infrun: resume (step=1, signal=0), trap_expected=0, current thread [Thread 0x2aaaab8f5700 (LWP 11663)] at 0x40093a
    infrun: prepare_to_wait
    infrun: target_wait (-1, status) =
    infrun:   11659 [Thread 0x2aaaab8f5700 (LWP 11663)],
    infrun:   status->kind = stopped, signal = SIGTRAP
    infrun: infwait_normal_state
    infrun: TARGET_WAITKIND_STOPPED
    infrun: stop_pc = 0x40091e
    infrun: stepped to a different line
    infrun: stop_stepping
    [Switching to Thread 0x2aaaab8f5700 (LWP 11663)]
    69            (*myp) ++; /* set breakpoint child_two here */
    
    ^^^ we stopped at the wrong line.  We still stepped a bit because the
    test is running in a loop, and when we got back to stepping thread 3,
    it happened to be in the stepping range.  (The loop increments a
    counter, and the test makes sure it increments exactly once.  Without
    the fix, the counter increments a bunch, since the user-stepped thread
    runs free without GDB noticing.)
    
    The fix is to switch to the stepping thread before continuing for the
    step-resume breakpoint.
    
    gdb/
    2014-02-07  Pedro Alves  <palves@redhat.com>
    
    	* infrun.c (handle_signal_stop) <signal arrives while stepping
    	over a breakpoint>: Switch back to the stepping thread.
    
    gdb/testsuite/
    2014-02-07  Pedro Alves  <pedro@codesourcery.com>
    	    Pedro Alves  <palves@redhat.com>
    
    	* gdb.threads/step-after-sr-lock.c: New file.
    	* gdb.threads/step-after-sr-lock.exp: New file.

commit b5ee5a50d440d75556fbe9154e501331f9e1d3c7
Author: Pedro Alves <palves@redhat.com>
Date:   Wed Oct 30 15:07:07 2013 +0000

    Fix gdb.threads/stepi-random-signal.exp on software single-step targets.
    
    Currently on software single-step Linux targets we get:
    
     (gdb) PASS: gdb.threads/stepi-random-signal.exp: before stepi: get hexadecimal valueof "$pc"
     stepi
     infrun: clear_proceed_status_thread (Thread 0x7ffff7fca700 (LWP 7073))
     infrun: clear_proceed_status_thread (Thread 0x7ffff7fcb740 (LWP 7069))
     infrun: proceed (addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT, step=1)
     infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0x7ffff7fcb740 (LWP 7069)] at 0x400700
     infrun: wait_for_inferior ()
     infrun: target_wait (-1, status) =
     infrun:   7069 [Thread 0x7ffff7fcb740 (LWP 7069)],
     infrun:   status->kind = stopped, signal = GDB_SIGNAL_TRAP
     infrun: infwait_normal_state
     infrun: TARGET_WAITKIND_STOPPED
     infrun: stop_pc = 0x400704
     infrun: software single step trap for Thread 0x7ffff7fcb740 (LWP 7069)
     infrun: stepi/nexti
     infrun: stop_stepping
     44        while (counter != 0)
     (gdb) FAIL: gdb.threads/stepi-random-signal.exp: stepi (no random signal)
    
    Vs hardware-step targets:
    
     (gdb) PASS: gdb.threads/stepi-random-signal.exp: before stepi: get hexadecimal valueof "$pc"
     stepi
     infrun: clear_proceed_status_thread (Thread 0x7ffff7fca700 (LWP 9565))
     infrun: clear_proceed_status_thread (Thread 0x7ffff7fcb740 (LWP 9561))
     infrun: proceed (addr=0xffffffffffffffff, signal=GDB_SIGNAL_DEFAULT, step=1)
     infrun: resume (step=1, signal=GDB_SIGNAL_0), trap_expected=0, current thread [Thread 0x7ffff7fcb740 (LWP 9561)] at 0x400700
     infrun: wait_for_inferior ()
     infrun: target_wait (-1, status) =
     infrun:   9561 [Thread 0x7ffff7fcb740 (LWP 9561)],
     infrun:   status->kind = stopped, signal = GDB_SIGNAL_CHLD
     infrun: infwait_normal_state
     infrun: TARGET_WAITKIND_STOPPED
     infrun: stop_pc = 0x400700
     infrun: random signal (GDB_SIGNAL_CHLD)
     infrun: random signal, keep going
     infrun: resume (step=1, signal=GDB_SIGNAL_CHLD), trap_expected=0, current thread [Thread 0x7ffff7fcb740 (LWP 9561)] at 0x400700
     infrun: prepare_to_wait
     infrun: target_wait (-1, status) =
     infrun:   9561 [Thread 0x7ffff7fcb740 (LWP 9561)],
     infrun:   status->kind = stopped, signal = GDB_SIGNAL_TRAP
     infrun: infwait_normal_state
     infrun: TARGET_WAITKIND_STOPPED
     infrun: stop_pc = 0x400704
     infrun: stepi/nexti
     infrun: stop_stepping
     44        while (counter != 0)
     (gdb) PASS: gdb.threads/stepi-random-signal.exp: stepi
    
    The test turns on infrun debug, does a stepi while a SIGCHLD is
    pending, and checks whether the "random signal" paths in infrun.c are
    taken.
    
    On the software single-step variant above, those paths were not taken.
    
    This is a test bug.
    
    The Linux backend short-circuits reporting signals that are set to
    pass/nostop/noprint.  But _only_ if the thread is _not_
    single-stepping.  So on hardware-step targets, even though the signal
    is set to pass/nostop/noprint by default, the thread is indeed told to
    single-step, and so the core sees the signal.  On the other hand, on
    software single-step architectures, the backend never actually gets a
    single-step request (steps are emulated by setting a breakpoint at the
    next pc, and then the target told to continue, not step).  So the
    short-circuiting code triggers and the core doesn't see the signal.
    
    The fix is to make the test be sure the target doesn't bypass
    reporting the signal to the core.
    
    Tested on x86_64 Fedora 17, both with and without a series that
    implements software single-step for x86_64.
    
    gdb/testsuite/
    2014-02-07  Pedro Alves  <palves@redhat.com>
    
    	* gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.

commit d1eb56967f0487adbdad1de6b136f083e61149ce
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date:   Fri Feb 7 15:44:58 2014 +0100

    	* cache.c (bfd_cache_max_open): Cast RLIM_INFINITY to rlim_t.

commit ce6d08922f2875544f9ba461a849726ceff84528
Author: Yao Qi <yao@codesourcery.com>
Date:   Wed Jan 29 11:48:40 2014 +0800

    Return early in target_xfer_partial when LEN is zero.
    
    Nowadays, argument LEN of to_xfer_partial can be zero in some cases,
    and each implementation may do nothing and return zero, indicating
    transfer is done.  That is fine.  However, when we change
    to_xfer_partial to return target_xfer_status, we have to check every
    return value of most of to_xfer_partial implementations, return
    TARGET_XFER_DONE if return value is zero.
    
    This patch simplifies this by checking LEN in target_xfer_partial, and
    return 0 if LEN is zero.  Regression tested on x86_84-linux.  Is it
    OK?
    
    gdb:
    
    2014-02-07  Yao Qi  <yao@codesourcery.com>
    
    	* target.c (target_xfer_partial): Return zero if LEN is zero.

commit 2ed4b5488f68c63da0713dc008ba8b688a742386
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Jan 27 17:32:33 2014 +0800

    Replace -1 with TARGET_XFER_E_IO
    
    Hi,
    This patch replaces -1 with TARGET_XFER_E_IO in the implementations of
    to_xfer_partial and their callees.  This change is quite mechanical,
    and makes the next patch shorter.
    
    gdb:
    
    2014-02-07  Yao Qi  <yao@codesourcery.com>
    
    	* auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
    	(ld_so_xfer_auxv): Likewise.
    	* bfd-target.c (target_bfd_xfer_partial): Likewise.
    	* bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
    	* corelow.c (core_xfer_partial): Likewise.
    	* ctf.c (ctf_xfer_partial): Likewise.
    	* darwin-nat.c (darwin_read_dyld_info): Likewise.
    	(darwin_xfer_partial): Likewise.
    	* exec.c (exec_xfer_partial): Likewise.
    	* gnu-nat.c (gnu_xfer_partial): Likewise.
    	* ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
    	* inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
    	* inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
    	* linux-nat.c (linux_xfer_siginfo): Likewise.
    	(linux_proc_xfer_spu): Likewise.
    	* procfs.c (procfs_xfer_partial): Likewise.
    	* record-full.c (record_full_xfer_partial): Likewise.
    	(record_full_core_xfer_partial): Likewise.
    	* remote-sim.c (gdbsim_xfer_partial): Likewise.
    	* remote.c (remote_write_qxfer): Likewise.
    	(remote_write_qxfer, remote_read_qxfer): Likewise.
    	(remote_xfer_partial): Likewise.
    	* rs6000-nat.c (rs6000_xfer_partial): Likewise.
    	(rs6000_xfer_shared_libraries): Likewise.
    	* sparc-nat.c (sparc_xfer_wcookie): Likewise.
    	* spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
    	(spu_xfer_partial): Likewise.
    	* target.c (memory_xfer_partial_1): Likewise.
    	* tracepoint.c (tfile_xfer_partial): Likewise.
    	* windows-nat.c (windows_xfer_shared_libraries): Likewise.
    	(windows_xfer_partial): Likewise.

commit c09f20e469dbed255f419433b06a2808ae0a40a8
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Jan 27 12:56:56 2014 +0800

    core_xfer_shared_libraries and core_xfer_shared_libraries_aix returns ULONGEST
    
    This patch documents the return value of core_xfer_shared_libraries_aix
    and core_xfer_shared_libraries gdbarch methods, and changes return
    type to ULONGEST from LONGEST.
    
    In a following patch, core_xfer_partial. is changed to check their
    return values and return an appropriate target_xfer_status.
    
    gdb:
    
    2014-02-07  Yao Qi  <yao@codesourcery.com>
    
    	* gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST.  Add
    	comments.
    	(core_xfer_shared_libraries_aix): Likewise.
    	* gdbarch.c, gdbarch.h: Regenerated.
    	* i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
    	ULONGEST.  Change 'len_avail' type to ULONGEST.
    	* rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
    	* rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
    	declaration.
    	(rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.

commit 8635b3bf5980d6968d277ed83442c96544830a1b
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Nov 4 08:51:19 2013 +0800

    Tweak in memory_error
    
    This patch adds a local variable exception of type 'enum errors' and
    pass it to throw_error, because 'err' is of type
    'enum target_xfer_error', and we're abusing it to store an 'enum errors'.
    
    gdb:
    
    2014-02-07  Yao Qi  <yao@codesourcery.com>
    
    	* corefile.c (memory_error): Get 'exception' from ERR and pass
    	'exception' to throw_error.

commit 1f25b93bc6e10b314ccdc5c42583f77db1b33e2e
Author: Cary Coutant <ccoutant@google.com>
Date:   Thu Feb 6 17:12:50 2014 -0800

    Fix problem where -u is ignored when a weak undef is seen.
    
    When the linker has a weak undefined symbol, it normally does not
    select an archive library member just to satisfy the reference.
    If the same symbol is also listed in a -u option, however, we
    should select the archive library member.  This patch reorders
    the code in Library_base::should_include_member so that the
    additional checks are performed in the case of a weak undef.
    
    gold/
    
    2014-02-06  Cary Coutant  <ccoutant@google.com>
    
    	* archive.cc (Library_base::should_include_member): Reorder
    	code to check for -u option if a weak undef has already been seen.
    	* testsuite/Makefile.am (weak_undef_test_2): New test case.
    	* testsuite/Makefile.in: Regenerate.
    	* testsuite/weak_undef_file3.cc: New file.
    	* testsuite/weak_undef_file4.cc: New file.
    	* testsuite/weak_undef_test_2.cc: New file.

commit 699e9b8780835c321da32a6c32cd6dd56fcd6d54
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Feb 7 09:30:40 2014 +1030

    daily update

commit 3c77faf33dc4c7bb693f05f44077ed687e9f8217
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Feb 6 23:14:20 2014 +0100

    Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
    
    gdb/testsuite/
    2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
    	* gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.

commit d32e5c54ad6a1e90f1594dbe2749b240e66a0a2b
Author: Andrew Pinski <apinski@cavium.com>
Date:   Thu Feb 6 11:26:26 2014 -0800

    binutils/ChangeLog:
    2014-02-06  Andrew Pinski  <apinski@cavium.com>
    
    	* readelf.c  (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case.
    
    elfcpp/ChangeLog:
    2014-02-06  Andrew Pinski  <apinski@cavium.com>
    
    	* mips.h (E_MIPS_MACH_OCTEON3): New enum constant.
    
    include/elf/ChangeLog:
    2014-02-06  Andrew Pinski  <apinski@cavium.com>
    
    	* mips.h (E_MIPS_MACH_OCTEON3): New machine flag.

commit e99dc8205321193f95ba6b2cb6538eb808da94db
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Feb 6 12:04:50 2014 -0700

    indentation fixlet in gdbserver/Makefile.in.
    
    This fixes a minor indentation issue in gdbserver/Makefile.in.
    
    2014-02-06  Tom Tromey  <tromey@redhat.com>
    
    	* Makefile.in (SFILES): Fix indentation.

commit 926c538512b17e87d94ea193d7dd10e012347ff0
Author: Cary Coutant <ccoutant@google.com>
Date:   Wed Feb 5 10:29:24 2014 -0800

    Add readelf support for dumping gold version note sections.
    
    binutils/
    	PR binutils/16444
    	* readelf.c (print_gnu_note): Add support for NT_GNU_GOLD_VERSION.

commit 62a0f7233525099a718f61eca2ea7d89a8cad6f7
Author: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date:   Thu Feb 6 11:01:57 2014 +0100

    	PR target/59788
    	* ltmain.sh (opt_duplicate_compiler_generated_deps): Enable on
    	*solaris2*.

commit 1a221d3d9cc474b8a382f6aeed56671d10b71473
Author: Cary Coutant <ccoutant@google.com>
Date:   Wed Feb 5 22:59:02 2014 -0800

    Fix issues with gold undefined symbol diagnostics.
    
    PR binutils/15435 complains that gold issues a visibility error for an
    weak undefined symbol with hidden visibility. The message should be
    suppressed if the symbol is a weak undef.
    
    An earlier patch to add an extra note about key functions when a class's
    vtable symbol is undefined missed a case where the reference to the
    vtable came from a shared library. This patch moves the check to a
    lower-level routine that catches both cases.
    
    gold/
    
    2014-02-05  Cary Coutant  <ccoutant@google.com>
    
    	* errors.cc (Errors::undefined_symbol): Move undef vtable symbol
    	check to here.
    	* target-reloc.h (is_strong_undefined): New function.
    	(relocate_section): Move undef vtable symbol check from here.
    	Check for is_strong_undefined.

commit e889f0a4b14d265cb6ef5f51bdf0daeb0d7caf1e
Author: Cary Coutant <ccoutant@google.com>
Date:   Wed Feb 5 22:57:51 2014 -0800

    Add missing gold/ChangeLog entry.

commit 4f8fcb74d3fa9d1b1482caa97805342015b0581e
Author: Doug Evans <xdje42@gmail.com>
Date:   Wed Feb 5 20:17:30 2014 -0800

    fix copyright year in new files in previous checkin

commit 6dddc817c1680fc97756cbcb017fcf306fa5d07c
Author: Doug Evans <xdje42@gmail.com>
Date:   Wed Feb 5 19:27:58 2014 -0800

    Extension Language API
    
    	* configure.ac (libpython checking): Remove all but python.o from
    	CONFIG_OBS.  Remove all but python.c from CONFIG_SRCS.
    	* configure: Regenerate.
    
    	* Makefile.in (SFILES): Add extension.c.
    	(HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
    	(COMMON_OBS): Add extension.o.
    	* extension.h: New file.
    	* extension-priv.h: New file.
    	* extension.c: New file.
    
    	* python/python-internal.h: #include "extension.h".
    	(gdbpy_auto_load_enabled): Declare.
    	(gdbpy_apply_val_pretty_printer): Declare.
    	(gdbpy_apply_frame_filter): Declare.
    	(gdbpy_preserve_values): Declare.
    	(gdbpy_breakpoint_cond_says_stop): Declare.
    	(gdbpy_breakpoint_has_cond): Declare.
    	(void source_python_script_for_objfile): Delete.
    	* python/python.c: #include "extension-priv.h".
    	Delete inclusion of "observer.h".
    	(extension_language_python): Moved here and renamed from
    	script_language_python in py-auto-load.c.
    	Redefined to be of type extension_language_defn.
    	(python_extension_script_ops): New global.
    	(python_extension_ops): New global.
    	(struct python_env): New member previous_active.
    	(restore_python_env): Call restore_active_ext_lang.
    	(ensure_python_env): Call set_active_ext_lang.
    	(gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
    	New arg extlang.
    	(gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
    	New arg extlang.
    	(gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
    	New arg extlang.
    	(gdbpy_eval_from_control_command): Renamed from
    	eval_python_from_control_command, made static.  New arg extlang.
    	(gdbpy_source_script) Renamed from source_python_script, made static.
    	New arg extlang.
    	(gdbpy_before_prompt_hook): Renamed from before_prompt_hook.  Change
    	result to int.  New arg extlang.
    	(gdbpy_source_objfile_script): Renamed from
    	source_python_script_for_objfile, made static.  New arg extlang.
    	(gdbpy_start_type_printers): Renamed from start_type_printers, made
    	static.  New args extlang, extlang_printers.  Change result type to
    	"void".
    	(gdbpy_apply_type_printers): Renamed from apply_type_printers, made
    	static.  New arg extlang.  Rename arg printers to extlang_printers
    	and change type to ext_lang_type_printers *.
    	(gdbpy_free_type_printers): Renamed from free_type_printers, made
    	static.  Replace argument arg with extlang, extlang_printers.
    	(!HAVE_PYTHON, eval_python_from_control_command): Delete.
    	(!HAVE_PYTHON, source_python_script): Delete.
    	(!HAVE_PYTHON, gdbpy_should_stop): Delete.
    	(!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
    	(!HAVE_PYTHON, start_type_printers): Delete.
    	(!HAVE_PYTHON, apply_type_printers): Delete.
    	(!HAVE_PYTHON, free_type_printers): Delete.
    	(_initialize_python): Delete call to observer_attach_before_prompt.
    	(finalize_python): Set/restore active extension language.
    	(gdbpy_finish_initialization) Renamed from
    	finish_python_initialization, made static.  New arg extlang.
    	(gdbpy_initialized): New function.
    	* python/python.h: #include "extension.h".  Delete #include
    	"value.h", "mi/mi-cmds.h".
    	(extension_language_python): Declare.
    	(GDBPY_AUTO_FILE_NAME): Delete.
    	(enum py_bt_status): Moved to extension.h and renamed to
    	ext_lang_bt_status.
    	(enum frame_filter_flags): Moved to extension.h.
    	(enum py_frame_args): Moved to extension.h and renamed to
    	ext_lang_frame_args.
    	(finish_python_initialization): Delete.
    	(eval_python_from_control_command): Delete.
    	(source_python_script): Delete.
    	(apply_val_pretty_printer): Delete.
    	(apply_frame_filter): Delete.
    	(preserve_python_values): Delete.
    	(gdbpy_script_language_defn): Delete.
    	(gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
    	(start_type_printers, apply_type_printers, free_type_printers): Delete.
    
    	* auto-load.c: #include "extension.h".
    	(GDB_AUTO_FILE_NAME): Delete.
    	(auto_load_gdb_scripts_enabled): Make public.  New arg extlang.
    	(script_language_gdb): Delete, moved to extension.c and renamed to
    	extension_language_gdb.
    	(source_gdb_script_for_objfile): Delete.
    	(auto_load_pspace_info): New member unsupported_script_warning_printed.
    	(loaded_script): Change type of language member to
    	struct extension_language_defn *.
    	(init_loaded_scripts_info): Initialize
    	unsupported_script_warning_printed.
    	(maybe_add_script): Make static.  Change type of language arg to
    	struct extension_language_defn *.
    	(clear_section_scripts): Reset unsupported_script_warning_printed.
    	(auto_load_objfile_script_1): Rewrite to use extension language API.
    	(auto_load_objfile_script): Make public.  Remove support-compiled-in
    	and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
    	(source_section_scripts): Rewrite to use extension language API.
    	(load_auto_scripts_for_objfile): Rewrite to use
    	auto_load_scripts_for_objfile.
    	(collect_matching_scripts_data): Change type of language member to
    	struct extension_language_defn *.
    	(auto_load_info_scripts): Change type of language arg to
    	struct extension_language_defn *.
    	(unsupported_script_warning_print): New function.
    	(script_not_found_warning_print): Make static.
    	(_initialize_auto_load): Rewrite construction of scripts-directory
    	help.
    	* auto-load.h (struct objfile): Add forward decl.
    	(struct script_language): Delete.
    	(struct auto_load_pspace_info): Add forward decl.
    	(struct extension_language_defn): Add forward decl.
    	(maybe_add_script): Delete.
    	(auto_load_objfile_script): Declare.
    	(script_not_found_warning_print): Delete.
    	(auto_load_info_scripts): Update prototype.
    	(auto_load_gdb_scripts_enabled): Declare.
    	* python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
    	auto_load_python_scripts_enabled and made public.
    	(script_language_python): Delete, moved to python.c.
    	(gdbpy_script_language_defn): Delete.
    	(info_auto_load_python_scripts): Update to use
    	extension_language_python.
    
    	* breakpoint.c (condition_command): Replace call to
    	gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
    	(bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
    	with call to breakpoint_ext_lang_cond_says_stop.
    	* python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
    	from gdbpy_should_stop.  Change result type to enum scr_bp_stop.
    	New arg slang.  Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
    	(gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
    	New arg slang.
    	(local_setattro): Print name of extension language with existing
    	stop condition.
    
    	* valprint.c (val_print, value_print): Update to call
    	apply_ext_lang_val_pretty_printer.
    	* cp-valprint.c (cp_print_value): Update call to
    	apply_ext_lang_val_pretty_printer.
    	* python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
    	(gdbpy_apply_val_pretty_printer): Renamed from
    	apply_val_pretty_printer.  New arg extlang.
    	(!HAVE_PYTHON, apply_val_pretty_printer): Delete.
    
    	* cli/cli-cmds.c (source_script_from_stream): Rewrite to use
    	extension language API.
    	* cli/cli-script.c (execute_control_command): Update to call
    	eval_ext_lang_from_control_command.
    
    	* mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
    	enum ext_lang_bt_status values.  Update call to
    	apply_ext_lang_frame_filter.
    	(mi_cmd_stack_list_locals): Ditto.
    	(mi_cmd_stack_list_args): Ditto.
    	(mi_cmd_stack_list_variables): Ditto.
    	* mi/mi-main.c: Delete #include "python/python-internal.h".
    	Add #include "extension.h".
    	(mi_cmd_list_features): Replace reference to python internal variable
    	gdb_python_initialized with call to ext_lang_initialized_p.
    
    	* stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
    	Update to use enum ext_lang_frame_args.  Update to call
    	apply_ext_lang_frame_filter.
    	* python/py-framefilter.c (extract_sym): Update to use enum
    	ext_lang_bt_status.
    	(extract_value, py_print_type, py_print_value): Ditto.
    	(py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
    	(py_mi_print_variables, py_print_locals, py_print_args): Ditto.
    	(py_print_frame): Ditto.
    	(gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
    	New arg extlang.  Update to use enum ext_lang_bt_status.
    
    	* top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
    	finish_python_initialization.  Replace with call to
    	finish_ext_lang_initialization.
    
    	* typeprint.c (do_free_global_table): Update to call
    	free_ext_lang_type_printers.
    	(create_global_typedef_table): Update to call
    	start_ext_lang_type_printers.
    	(find_global_typedef): Update to call apply_ext_lang_type_printers.
    	* typeprint.h (struct ext_lang_type_printers): Add forward decl.
    	(type_print_options): Change type of global_printers from "void *"
    	to "struct ext_lang_type_printers *".
    
    	* value.c (preserve_values): Update to call preserve_ext_lang_values.
    	* python/py-value.c: Remove #ifdef HAVE_PYTHON.
    	(gdbpy_preserve_values): Renamed from preserve_python_values.
    	New arg extlang.
    	(!HAVE_PYTHON, preserve_python_values): Delete.
    
    	* utils.c (quit_flag): Delete, moved to extension.c.
    	(clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
    	extension.c.
    
    	* eval.c: Delete #include "python/python.h".
    	* main.c: Delete #include "python/python.h".
    
    	* defs.h: Update comment.
    
    	testsuite/
    
    	* gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
    	output.
    
    	* gdb.gdb/python-interrupts.exp: New file.

commit 6af7998535fe2e125101af714b37fce3edb66995
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Thu Feb 6 06:48:24 2014 +0400

    Document the GDB 7.7 release in gdb/ChangeLog
    
    gdb/ChangeLog:
    
    	GDB 7.7 released.

commit fd834e57ffce2f5dbe3443f034e68cebd63ee89a
Author: Cary Coutant <ccoutant@google.com>
Date:   Wed Feb 5 14:01:52 2014 -0800

    Fix problems with the --dynamic-list option.
    
    PR gold/13577 complains that even though symbols listed in
    the --dynamic-list script are exported, they are still bound symbolically
    if -Bsymbolic is also used. There are two underlying problems here.
    First, -Bsymbolic should be overridden by --dynamic-list, since the
    dynamic list provides an explicit list of symbols that are not bound
    within the library, and if we go ahead and set DT_SYMBOLIC, then the
    dynamic loader will bind it within the library anyway. Second, gold
    did not properly identify the symbols listed in the file as preemptible.
    
    PR gold/16530 complains that symbols listed in the --dynamic-list script
    can still be garbage collected. I've fixed this by checking the symbols
    as they're added to the symbol table. (Unlike the --export-dynamic-symbol
    option, we can't iterate over the list, because the --dynamic-list script
    can have wildcards in it.)
    
    gold/
    
    2014-02-05  Cary Coutant  <ccoutant@google.com>
    
    	PR gold/13577
    	* options.cc (General_options::parse_dynamic_list):
    	Set have_dynamic_list_.
    	(General_options::General_options): Initialize have_dynamic_list_.
    	(General_options::finalize): Turn off -Bsymbolic and
    	-Bsymbolic-functions if --dynamic-list provided.
    	* options.h (General_options::have_dynamic_list): New function.
    	(General_options::have_dynamic_list_): New data member.
    	* symtab.h (Symbol::is_preemptible): Handle --dynamic-list
    	correctly.
    
    	PR gold/16530
    	* symtab.cc (Symbol_table::add_from_relobj): If symbol is named
    	in --dynamic-list, mark it.
    
    	* testsuite/Makefile.am (gc_dynamic_list_test.sh): New test case.
    	(dynamic_list_2): New test case.
    	* testsuite/Makefile.in: Regenerate.
    	* testsuite/dynamic_list_2.cc: New file.
    	* testsuite/dynamic_list_2.t: New file.
    	* testsuite/dynamic_list_lib1.cc: New file.
    	* testsuite/dynamic_list_lib2.cc: New file.
    	* testsuite/gc_dynamic_list_test.c: New file.
    	* testsuite/gc_dynamic_list_test.sh: New file.
    	* testsuite/gc_dynamic_list_test.t: New file.

commit ee1e2d4fb692736c754b42b69eb88c1f436c5f15
Author: Doug Evans <dje@google.com>
Date:   Wed Feb 5 16:08:59 2014 -0800

    Keep current_inferior in sync with event_child.
    
    	* linux-low.c (linux_wait_for_event): Improve comment.
    	(linux_wait_1): Keep current_inferior in sync with event_child.

commit 2e200ee30253b01cd2e8f0f2b6e89e2b95c0d568
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Feb 6 09:31:11 2014 +1030

    daily update

commit 12c5175d68a840960e4cf7d3001c926f15c4d006
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Wed Feb 5 13:30:33 2014 +0100

    Avoid bison-isms when using yacc.
    
    YYPRINT is a bison-ism so c_print_token() ends up being unused when yacc is
    used which makes gcc unhappy.  Make sure we only define YYPRINT and
    c_print_token() when bison is used to generate the parser.
    
    gdb/ChangeLog:
    
            * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
            defined.

commit 8dc5b31971ad5dddf5e6efa07cf70d094c1a9fe5
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Jan 20 20:56:13 2014 +0800

    Use rs->buf after getpkt
    
    Hi,
    The following code snippet looks wrong to me
    
     char *buf = rs->buf;
    
     getpkt (&rs->buf, &rs->buf_size, 0);
     packet_ok (buf, );
    
    if rs->buf is reallocated in getpkt, buf points to an out of dated
    memory.  This patch removes local 'buf' and uses rs->buf.
    
    gdb:
    
    2014-02-05  Yao Qi  <yao@codesourcery.com>
    
    	* remote.c (remote_pass_signals): Remove local 'buf' and use
    	rs->buf.
    	(remote_program_signals): Likewise.

commit de7b2893853cd1122b223a2023fdc35b41a26960
Author: Yao Qi <yao@codesourcery.com>
Date:   Thu Jan 30 10:09:11 2014 +0800

    Create inferior for ctf target.
    
    This patch creates inferior when GDB opens a ctf trace data, to be
    consistent with tfile target.  A test case is added to test for
    live target, tfile and ctf target.
    
    gdb:
    
    2014-02-05  Yao Qi  <yao@codesourcery.com>
    
    	* ctf.c: Include "inferior.h" and "gdbthread.h".
    	(CTF_PID): A new macro.
    	(ctf_open): Call inferior_appeared and add_thread_silent.
    	(ctf_close): Call exit_inferior_silent and set inferior_ptid.
    	(ctf_thread_alive): New function.
    	(init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
    
    gdb/testsuite:
    
    2014-02-05  Yao Qi  <yao@codesourcery.com>
    
    	* gdb.trace/report.exp (use_collected_data): Test the output
    	of "info threads" and "info inferiors".

commit 66d032ac625efa6a68403c4ec318264709a92302
Author: Yao Qi <yao@codesourcery.com>
Date:   Thu Jan 30 08:37:05 2014 +0800

    Create inferior for tfile target
    
    When a trace file is loaded in Eclipse, it is expected to see thread
    and process (=thread-group-started and =thread-created).  Create an
    inferior and add a thread for this purpose.
    
    This patch just reverts my previous patch.
    
    gdb/testsuite:
    
    2014-02-05  Yao Qi  <yao@codesourcery.com>
    
    	Revert this patch:
    
    	2013-05-24  Yao Qi  <yao@codesourcery.com>
    
    	* gdb.trace/tfile.exp: Test inferior and thread.
    
    gdb:
    
    2014-02-05  Yao Qi  <yao@codesourcery.com>
    
    	Revert this patch:
    
    	2013-05-24  Yao Qi  <yao@codesourcery.com>
    
    	* tracepoint.c (TFILE_PID): Remove.
    	(tfile_open): Don't add thread and inferior.
    	(tfile_close): Don't set 'inferior_ptid'.  Don't call
    	exit_inferior_silent.
    	(tfile_thread_alive): Remove.
    	(init_tfile_ops): Don't set field 'to_thread_alive' of
    	tfile_ops.

commit ba74cf67e659546e7d6ca3f2f6e125f1940cb089
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Feb 5 09:30:41 2014 +1030

    daily update

commit f4ccffad182295fda170179ee5315e60f23d89b7
Author: Christian Eggers <ceggers@gmx.de>
Date:   Tue Feb 4 19:42:12 2014 +0000

    Call remote_check_symbols even if only symbol-file (not file) has been given
    
    The Eclipse "C/C++ GDB Hardware Debugging" plugin runs only the
    "symbol-file" command.  In this case, remote_check_symbols is not
    called and no qSymbol:: packet is sent to the server (OpenOCD in my
    case).
    
    gdb/
    2014-02-04  Christian Eggers  <ceggers@gmx.de>  (tiny change)
    
    	* remote.c (remote_start_remote): Call remote_check_symbols even
    	if only symbol-file (not file) has been given.

commit 2915c55b41d00f12ed6bc54b4160e3367065c1c8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 4 20:17:16 2014 +0100

    Fix PowerPC targets minor memory leaks found by Coverity
    
    bfd/
    2014-02-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	* coff-rs6000.c (xcoff_write_archive_contents_big): Free OFFSETS in
    	return paths.  Three times.
    	* elf64-ppc.c (ppc64_elf_link_hash_table_create): Free HTAB in all
    	return paths.
    	(ppc64_elf_tls_optimize): Free TOC_REF in return path.
    	(ppc64_elf_edit_toc): Free USED in return path.

commit 591a12a1d4c8843343eb999145d8bcc1efedf408
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date:   Tue Feb 4 18:44:14 2014 +0100

    PowerPC64 ELFv2 ABI: skip global entry point code
    
    This patch handles another aspect of the ELFv2 ABI, which unfortunately
    requires common code changes.
    
    In ELFv2, functions may provide both a global and a local entry point.
    The global entry point (where the function symbol points to) is intended
    to be used for function-pointer or cross-module (PLT) calls, and requires
    r12 to be set up to the entry point address itself.   The local entry
    point (which is found at a fixed offset after the global entry point,
    as defined by bits in the symbol table entries' st_other field), instead
    expects r2 to be set up to the current TOC.
    
    Now, when setting a breakpoint on a function by name, you really want
    that breakpoint to trigger either way, no matter whether the function
    is called via its local or global entry point.  Since the global entry
    point will always fall through into the local entry point, the way to
    achieve that is to simply set the breakpoint at the local entry point.
    
    One way to do that would be to have prologue parsing skip the code
    sequence that makes up the global entry point.  Unfortunately, this
    does not work reliably, since -for optimized code- GDB these days
    will not actuall invoke the prologue parsing code but instead just
    set the breakpoint at the symbol address and rely on DWARF being
    correct at any point throughout the function ...
    
    Unfortunately, I don't really see any way to express the notion of
    local entry points with the current set of gdbarch callbacks.
    
    Thus this patch adds a new callback, skip_entrypoint, that is
    somewhat analogous to skip_prologue, but is called every time
    GDB needs to determine a function start address, even in those
    cases where GDB decides to not call skip_prologue.
    
    As a side effect, the skip_entrypoint implementation on ppc64
    does not need to perform any instruction parsing; it can simply
    rely on the local entry point flags in the symbol table entry.
    
    With this implemented, two test cases would still fail to set
    the breakpoint correctly, but that's because they use the construct:
    
     gdb_test "break *hello"
    
    Now, using "*hello" explicitly instructs GDB to set the breakpoint
    at the numerical value of "hello" treated as function pointer, so
    it will by definition only hit the global entry point.
    
    I think this behaviour is unavoidable, but acceptable -- most people
    do not use this construct, and if they do, they get what they
    asked for ...
    
    In one of those two test cases, use of this construct is really
    not appropriate.  I think this was added way back when as a means
    to work around prologue skipping problems on some platforms.  These
    days that shouldn't really be necessary any more ...
    
    For the other (step-bt), we really want to make sure backtracing
    works on the very first instruction of the routine.  To enable that
    test also on powerpc64le-linux, we can modify the code to call the
    test function via function pointer (which makes it use the global
    entry point in the ELFv2 ABI).
    
    gdb/ChangeLog:
    
    	* gdbarch.sh (skip_entrypoint): New callback.
    	* gdbarch.c, gdbarch.h: Regenerate.
    	* symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
    	* infrun.c (fill_in_stop_func): Likewise.
    	* ppc-linux-tdep.c: Include "elf/ppc64.h".
    	(ppc_elfv2_elf_make_msymbol_special): New function.
    	(ppc_elfv2_skip_entrypoint): Likewise.
    	(ppc_linux_init_abi): Install them for ELFv2.
    
    gdb/testsuite/ChangeLog:
    
    	* gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
    	on a function.
    	* gdb.base/step-bt.c: Call hello via function pointer to make
    	sure its first instruction is executed on powerpc64le-linux.

commit cc0e89c519912e0e4e75a2fc0d836f715cdc6806
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date:   Tue Feb 4 18:42:35 2014 +0100

    PowerPC64 ELFv2 ABI: structure passing / return
    
    Another significant difference in the ELFv2 ABI is that "homogeneous"
    floating-point and vector aggregates, i.e. aggregates the consist
    (recursively) only of members of the same floating-point or vector type,
    are passed in a series of floating-point / vector registers, as if they
    were seperate parameters.  (This is similar to the ARM ABI.)  This
    applies to both calls and returns.
    
    In addition when returning any aggregate of up to 16 bytes, ELFv2 now
    used general-purpose registers.
    
    This patch adds support for these aspects of the ABI, which is relatively
    straightforward after the refactoring patch to ppc-sysv-tdep.c.
    
    gdb/ChangeLog:
    
    	* ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
    	(ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
    	(ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
    	(ppc64_sysv_abi_return_value): Likewise.  Also, handle small
    	structures returned in GPRs.

commit 52f548e41f085550d7740c350c1c8a239532af77
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date:   Tue Feb 4 18:41:36 2014 +0100

    PowerPC64 ELFv2 ABI: stack frame layout changes
    
    This implementes another change in ELFv2: the stack frame no longer
    contains the reserved double words for linker and compiler use
    (which weren't really used for much of anything anyway).  This
    affects placement of on-stack parameters in inferior calls.
    
    gdb/ChangeLog:
    
    	* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
    	offset to the stack parameter list for the ELFv2 ABI.

commit d4094b6a8883ae481c7644c5a210254efe92e9ad
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date:   Tue Feb 4 18:40:16 2014 +0100

    PowerPC64 ELFv2 ABI: no function descriptors
    
    This implements the most significant difference with the ELFv2 ABI:
    we no longer use function descriptors.  The patch consists mostly
    of switching off code to deal with descriptors :-)
    
    In addition, when calling an inferior function, we no longer need
    to provide its TOC in r2.  Instead, ELFv2 code expects to be called
    with r12 pointing to the code address itself.
    
    gdb/ChangeLog:
    
    	* ppc-linux-tdep.c (ppc_linux_init_abi): Only call
    	set_gdbarch_convert_from_func_ptr_addr and
    	set_gdbarch_elf_make_msymbol_special for ELFv1.
    	* ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
    	function descriptors on ELFv1.
    	(ppc64_sysv_abi_push_dummy_call): Likewise.  On ELFv2,
    	set up r12 at function entry.

commit cd453cd072004d26ede355b850b3831acffaeddd
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date:   Tue Feb 4 18:38:56 2014 +0100

    PowerPC64 ELFv2 ABI: base support
    
    This is the first patch of a series to implement support for the
    PowerPC ELFv2 ABI.  While powerpc64le-linux will use ELFv2, and
    the existing powerpc64-linux code will continue to use ELFv1,
    in theory ELFv2 is also defined for big-endian systems (and
    ELFv1 was also defined for little-endian systems).
    
    Therefore this patch adds a new tdep->elf_abi variable to decide
    which ABI version to use.  This is detected from the ELF header
    e_flags value; if this is not present, we default to ELFv2 on
    little-endian and ELFv1 otherwise.
    
    This patch does not yet introduce any actual difference in GDB's
    handling of the two ABIs.  Those will be added by the remainder
    of this patch series.
    
    For an overview of the changes in ELFv2, have a look at the
    comments in the patch series that added ELFv2 to GCC, starting at:
    http://gcc.gnu.org/ml/gcc-patches/2013-11/msg01144.html
    
    gdb/ChangeLog:
    
    	* ppc-tdep.h (enum powerpc_elf_abi): New data type.
    	(struct gdbarch_tdep): New member elf_abi.
    
    	* rs6000-tdep.c: Include "elf/ppc64.h".
    	(rs6000_gdbarch_init): Detect ELF ABI version.

commit 0ff3e01fdc67a3842ee54224cf197e9a55f0a750
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date:   Tue Feb 4 18:34:19 2014 +0100

    PowerPC64 little-endian fixes: 128-bit DFP parameters / registers
    
    The powerpc64le-linux ABI specifies that when a 128-bit DFP value is
    passed in a pair of floating-point registers, the first register holds
    the most-significant part of the value.  This is as opposed to the
    usual rule on little-endian systems, where the first register would
    hold the least-significant part.
    
    This affects two places in GDB, the read/write routines for the
    128-bit DFP pseudo-registers, and the function call / return
    sequence.  For the former, current code already distinguishes
    between big- and little-endian targets, but gets the latter
    wrong.  This is presumably because *GCC* also got it wrong,
    and GDB matches the old GCC behavior.  But GCC is now fixed:
    http://gcc.gnu.org/ml/gcc-patches/2013-11/msg02145.html
    so GDB needs to be fixed too.  (Old code shouldn't really be
    an issue since there is no code "out there" so far that uses
    dfp128 on little-endian ...)
    
    gdb/ChangeLog:
    
    	* ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
    	within a register pair holding a DFP 128-bit value on little-endian.
    	(ppc64_sysv_abi_return_value_base): Likewise.
    	* rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
    	(dfp_pseudo_register_write): Likewise.
    
    gdb/testsuite/ChangeLog:
    
    	* gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.

commit 5b757e5ddbd9ad252d9c51103f1aa52b41c2e947
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date:   Tue Feb 4 18:33:04 2014 +0100

    PowerPC64 little-endian fixes: 32-bit DFP parameters
    
    Passing a 32-bit DFP in register needs to use the least-significant part
    of the register.  Like with a previous patch that addressed the same
    issue for small structs, this patch makes sure the appropriate offset
    is used on little-endian systems.
    
    gdb/ChangeLog:
    
    	* ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
    	offset on little-endian when passing _Decimal32.
    	(ppc64_sysv_abi_return_value_base): Likewise for return values.

commit 084ee54552f6c35d740e8b9bc81a4fe8d8bb178b
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date:   Tue Feb 4 18:31:38 2014 +0100

    PowerPC64 little-endian fixes: VSX tests and pseudo-regs
    
    Many VSX test were failing on powerpc64le-linux, since -as opposed to the
    AltiVec tests- there never were little-endian versions of the test patterns.
    
    This patch adds such patterns, along the lines of altivec-regs.exp.
    
    In addition, there is an actual code change required: For those VSX
    registers that overlap a floating-point register, the FP register
    overlaps the most-significant half of the VSX register both on big-
    and little-endian systems.  However, on little-endian systems, that
    half is stored at an offset of 8 bytes (not 0).  This works already
    for the "real" FP registers, but current code gets it wrong for
    the "extended" pseudo FP register GDB generates for the second
    half of the VSX register bank.
    
    This patch updates the corresponding pseudo read/write routines
    to take the appropriate offset into consideration.
    
    gdb/ChangeLog:
    
    	* rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
    	of the overlapped FP register within the VSX register on little-
    	endian platforms.
    	(efpr_pseudo_register_write): Likewise.
    
    gdb/testsuite/ChangeLog:
    
    	* gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
    	of the test patterns for use on little-endian systems.

commit 6ed14ff33979bc48367c35b1b235fef8c5e2229b
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date:   Tue Feb 4 18:28:24 2014 +0100

    PowerPC64 little-endian fixes: AltiVec tests
    
    A couple of AltiVec tests fail spuriously on powerpc64le-linux, because
    they compare against an incorrect pattern.  Note that those tests already
    contain little-endian variants of the patterns, but those seem to have
    bit-rotted a bit: when outputting a vector, GDB no longer omits trailing
    zero elements (as it used to do in the past).
    
    This patch updates the pattern to the new GDB output behavior.
    
    In addition, the patch updates the endian test to use the new
    gdb_test_multiple logic instead of gdb_expect.
    
    gdb/testsuite/ChangeLog:
    
    	* gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
    	(decimal_vector): Fix for little-endian.

commit d63167affc2a56189e3ba2cc47dd9a3451208b59
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date:   Tue Feb 4 18:26:26 2014 +0100

    PowerPC64 little-endian fixes: structure passing
    
    When passing a small structure in a GPR, the ABI specifies that it
    should be passed in the least-significant bytes of the register
    (or stack slot).  On big-endian systems, this means the value
    needs to be stored at an offset, which is what current code does.
    
    However, on little-endian systems, the least-significant bytes are
    addresses with offset 0.  This patch fixes that.
    
    gdb/ChangeLog:
    
    	* ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
    	offset on little-endian when passing small structures.

commit e765b44c3853ed228506fc22c276becd63198238
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date:   Tue Feb 4 18:24:42 2014 +0100

    Refactor ppc64 function call and return value handling
    
    This patch refactors the ppc64 function call and return value handling code
    in ppc-sysv-tdep.c.  The main problem to be addressed by this refactoring
    is the code duplication caused by certain aggregate types:
    
    According to the ABI, some types are to be decomposed into component types
    for parameter and return value handling.  For example, complex types are
    to be passed as if the real and imaginary component were separate arguments.
    Similarly, certain OpenCL vector types are passed as if they were multiple
    separate arguments of the vector element type.  With the new ELFv2 ABI,
    there is another case: "homogeneous aggregates" (e.g. a struct containing
    4 floats) are passed in multiple floating point registers as well.
    
    Unfortunately, the current code is not structured to easily model these
    ABI properties.  For example, code to pass complex values re-implements
    code to pass the underlying (floating-point) type.  This has already
    led to some unfortunate code duplication, and with the addition of
    ELFv2 ABI support, I would have had to add yet more such duplication.
    
    To avoid that, I've decided to refactor the code in order to re-use
    subroutines that handle the "base" types when handling those aggregate
    types.  This was not intended to cause any difference on current
    (ELFv1) ABI code, but in fact it fixes a bug:
    
    FAIL: gdb.base/varargs.exp: print find_max_float_real(4, fc1, fc2, fc3, fc4)
    
    This was caused by the old code in ppc64_sysv_abi_push_float incorrectly
    handling floating-point arguments to vararg routines, which just happens
    to work out correctly automatically in the refactored code ...
    
    gdb/ChangeLog:
    
    	* ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
    	(struct ppc64_sysv_argpos): New data structure.
    	(ppc64_sysv_abi_push_float): Remove.
    	(ppc64_sysv_abi_push_val): New function.
    	(ppc64_sysv_abi_push_integer): Likewise.
    	(ppc64_sysv_abi_push_freg): Likewise.
    	(ppc64_sysv_abi_push_vreg): Likewise.
    	(ppc64_sysv_abi_push_param): Likewise.
    	(ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
    	(ppc64_sysv_abi_return_value_base): New function.
    	(ppc64_sysv_abi_return_value): Refactor to use it.

commit 36c24d95382572e9cf4095712a8613664d7165cc
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date:   Tue Feb 4 18:19:51 2014 +0100

    Document support for powerpc64le-*-linux* target
    
    gdb/ChangeLog:
    
    	* NEWS: Document new target powerpc64le-*-linux*.

commit 26fd922825675d652176675cb0a8fcf6143a8a5d
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Tue Feb 4 13:18:15 2014 +0100

    Add support for ELF core files on OpenBSD/sparc64.
    
    gdb/ChangeLog:
    
            * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
            (sparc64obsd_supply_gregset): Handle registers sets used in ELF
            core dumps.
            (sparc64obsd_init_abi): Adjust minimum size of the general purpose
            register set used in ELF core dumps.  Add floating-point register set.

commit c5bb736278be60d6d3c0b49a5772991ba42389d6
Author: Kevin Buettner <kevinb@redhat.com>
Date:   Mon Feb 3 21:52:59 2014 -0700

    Update mn10300 dwarf register map
    
    This change updates the mn10300 dwarf register map.  It reduces the
    failure count when doing simulator testing against the default
    multilib from 788 to 99.
    
    gdb/ChangeLog:
    
    	* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
    	dwarf2_to_gdb[] table using symbolic constants.  Adjust
    	penultimate entry from number representing the PC register
    	to symbolic constant representing the MDR register.  Add
    	constant for the PC register to the end of the table.

commit f3657eed66a46a4c96c9409d8ff3627c5127da96
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Feb 4 09:30:46 2014 +1030

    daily update

commit 1c2de46353b80e9e5b4d80d5edab00a42b8ba77d
Author: Sandra Loosemore <sandra@codesourcery.com>
Date:   Mon Feb 3 08:42:42 2014 -0800

    Nios II large-GOT relocations
    
    2014-02-03  Sandra Loosemore  <sandra@codesourcery.com>
    
    	include/elf/
    	* nios2.h (R_NIOS2_GOT_LO, R_NIOS2_GOT_HA): New.
    	(R_NIOS2_CALL_LO, R_NIOS2_CALL_HA): New.
    	(R_NIOS2_ILLEGAL): Adjust.
    
    	gas/
    	* config/tc-nios2.c (md_apply_fix): Test for new relocs.
    	(nios2_special_reloc): Add %call_lo, %call_hiadj, %got_lo,
    	%got_hiadj relocation operators.  Sort table and add comment
    	to explain ordering.
    	(nios2_fix_adjustable): Test for new relocs.
    	* doc/c-nios2.texi (Nios II Relocations): Document new relocation
    	operators.
    
    	bfd/
    	* reloc.c (BFD_RELOC_NIOS2_GOT_LO, BFD_RELOC_NIOS2_GOT_HA): New.
    	(BFD_RELOC_NIOS2_CALL_LO, BFD_RELOC_NIOS2_CALL_HA): New.
    	* libbfd.h: Regenerated.
    	* bfd-in2.h: Regenerated.
    	* elf32-nios2.c (elf_nios2_howto_table_rel): Add new relocations.
    	(nios2_reloc_map): Likewise.
    	(GOT_USED, CALL_USED): Renamed from GOT16_USED and CALL16_USED.
    	Fixed all references.
    	(nios2_elf32_relocate_section): Add new relocations.
    	(nios2_elf32_check_relocs): Likewise.
    	(nios2_elf32_gc_sweep_hook): Likewise.

commit af09351e0ff592aed4f17b113c292a7a6d5cf149
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Mon Feb 3 14:38:59 2014 +0100

    Fix build on recent versions of OpenBSD.
    
    gdb/ChangeLog:
    
            * bsd-kvm.c: Include <sys/param.h>

commit 8507e05d53135f62736cc443d869942df86c3392
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Mon Feb 3 14:29:28 2014 +0100

    Fix build on OpenBSD/sparc64.
    
    gdb/ChangeLog:
    
            * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.

commit 5446cbdf82892a800ed7eef563a795e75223ec52
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Jan 30 08:26:02 2014 +1030

    ppc476 icache bug workaround
    
    This implements a work-around for an icache bug on 476 that can cause
    execution of stale instructions when control falls through from one
    page to the next.  The idea is to prevent such fall-through by
    replacing the last instruction on a page with a branch to a patch
    area containing the instruction, then branch to the next page.
    
    The patch also fixes a number of bugs in the existing support for long
    branch trampolines.
    
    bfd/
    	* elf32-ppc.c (struct ppc_elf_link_hash_table): Add params.
    	Delete emit_stub_syms, no_tls_get_addr_opt.  Update all uses.
    	(ppc_elf_link_params): New function.
    	(ppc_elf_create_glink): Align .glink to 64 bytes for ppc476
    	workaround.
    	(ppc_elf_select_plt_layout): Remove plt_style and emit_stub_syms
    	parameters.  Use htab->params instead.
    	(ppc_elf_tls_setup): Remove no_tls_get_addr_opt parameter.
    	(ppc_elf_size_dynamic_sections): Align __glink_PLTresolve to
    	64 bytes for ppc476 workaround.
    	(struct ppc_elf_relax_info): New.
    	(ppc_elf_relax_section): Exclude linker created sections and
    	those too small to hold one instruction.  Don't add another
    	branch 	around trampolines on later relax passes.  Don't
    	generate trampolines for undefined symbols when !relocatable,
    	nor for plugin symbols.  Allocate space for ppc476 workaround
    	patch area.  Free fixups on error return path.
    	(ppc_elf_relocate_section): Handle ppc476 workaround patching.
    	* elf32-ppc.h (struct ppc_elf_params): New.
    	(ppc_elf_select_plt_layout, ppc_elf_tls_setup): Update prototype.
    	(ppc_elf_link_params): Declare.
    	* section.c (SEC_INFO_TYPE_TARGET): Define.
    	* bfd-in2.h: Regenerate.
    ld/
    	* emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
    	plt_style): Delete.  Adjust all refs to instead use..
    	(params): ..this.  New variable.
    	(ppc_after_open_output): New function.  Tweak params and pass to
    	ppc_elf_link_params.
    	(ppc_after_open): Adjust ppc_elf_select_plt_layout call.
    	(ppc_before_allocation): Adjust ppc_elf_tls_setup call.  Enable
    	relaxation for ppc476 workaround.
    	(PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
    	(LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.

commit 8effdc96dc110ef0bcd256bdc026d56d373c2e11
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Feb 3 09:30:43 2014 +1030

    daily update

commit 82e9153868751875375955cf3de10f6e008ec6ae
Author: Sandra Loosemore <sandra@codesourcery.com>
Date:   Sun Feb 2 10:57:52 2014 -0800

    Correct Nios II GOT pointer initialization.
    
    2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
    
    	bfd/
    	* elf32-nios2.c (struct elf32_nios2_link_hash_table): Add
    	h_gp_got field.
    	(nios2_elf32_relocate_section): Use got_base to adjust
    	GOT-pointer-relative relocations relative to _gp_got.
    	(create_got_section): Create _gp_got symbol.
    	(nios2_elf32_finish_dynamic_symbol): Make _gp_got absolute.
    	(nios2_elf32_size_dynamic_sections): Set _gp_got offset.

commit 13075d049d492477dfbf795c305adbab5abb6d81
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date:   Sun Feb 2 06:39:39 2014 -0800

    Fix ALIGN_WITH_INPUT
    
    ld/
    
    2014-02-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
    
    	* ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
    	* ld/ldlang.c (lang_size_sections_1): Add dotdelta
    	variable which reflects the VMA change due to alignment
    	requirements.  Use dotdelta do change the LMA if
    	ALIGN_WITH_INPUT is requested.
    
    ld/testsuite/ChangeLog
    
    2014-02-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
    
    	* ld-scripts/rgn-at9.d: New file.
    	* ld-scripts/rgn-at9.t: Likewise.
    	* ld-scripts/rgn-at10.d: Likewise.
    	* ld-scripts/rgn-at10.s: Likewise.
    	* ld-scripts/rgn-at10.t: Likewise.
    	* ld-scripts/rgn-at11.d: Likewise.
    	* ld-scripts/rgn-at11.t: Likewise.

commit 665febb3c8b315c0d00a2a913523fbd6aa2482cf
Author: Alan Modra <amodra@gmail.com>
Date:   Sun Feb 2 09:30:42 2014 +1030

    daily update

commit 0a09fb4a09e80c36fa3ef763ae276fd13d272a36
Author: Hans-Peter Nilsson <hp@bitrange.com>
Date:   Sat Feb 1 01:11:28 2014 +0100

    Fix MMIX build breakage from bfd_set_section_vma change.
    
    	* emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
    	call to bfd_set_section_vma exposed by recent bfd_set_section_vma
    	change.

commit 00eea2b9e018f07f958bc60749ba459671754adf
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Feb 1 09:30:51 2014 +1030

    daily update

commit 83861ea6d62762bf11482f12558516637bf270ac
Author: Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
Date:   Fri Jan 31 08:13:06 2014 -0800

    Add gather/scatter tests with incorrect memory operand
    
    2014-01-31  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
    
    	PR gas/16488
    	* gas/i386/inval-avx512f.s: Add test for incorrect memory operand
    	for gather/scatter instructions.
    	* gas/i386/x86-64-inval-avx512f.s: Likewise.
    	* gas/i386/inval-avx512f.l: Adjust correspondingly.
    	* gas/i386/x86-64-inval-avx512f.l: Likewise.

commit ae56bfb8e7678409d1ea3603f63a40b01b764dc8
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Fri Jan 31 15:30:02 2014 +0400

    Delete ada-lang.h::clear_ada_sym_cache (nonexistant function).
    
    I happen to notice this extern function declaration in ada-lang.h
    which does not actually exist...
    
    gdb/ChangeLog:
    
            * ada-lang.h (clear_ada_sym_cache): Delete.

commit 78058a5e4f09f6ed49039d6014b1266e229e1f49
Author: Sandra Loosemore <sandra@codesourcery.com>
Date:   Thu Jan 30 17:47:07 2014 -0800

    Nios II CALL26 linker relaxation
    
    2014-01-30  Sandra Loosemore  <sandra@codesourcery.com>
    
    	bfd/
    	* bfd-in2.h: Update from reloc.c.
    	* elf32-nios2.c: Include elf32-nios2.h.
    	(elf_nios2_howto_table_rel): Add entry for R_NIOS2_CALL26_NOAT.
    	(nios2_reloc_map): Likewise.
    	(enum elf32_nios2_stub_type): Declare.
    	(struct elf32_nios2_stub_hash_entry): Declare.
    	(nios2_stub_hash_entry, nios2_stub_hash_lookup): New macros.
    	(struct elf32_nios2_link_hash_entry): Add hsh_cache field.
    	(struct elf32_nios2_link_hash_table): Add new fields bstab,
    	stub_bfd, add_stub_section, layout_sections_again, stub_group,
    	bfd_count, top_index, input_list, all_local_syms.
    	(nios2_call26_stub_entry): New.
    	(nios2_elf32_install_imm16): Move up in file.
    	(nios2_elf32_install_data): Move up in file.
    	(hiadj): Move up in file.
    	(stub_hash_newfunc): New.
    	(link_hash_newfunc): Initialize hsh_cache field.
    	(STUB_SUFFIX): New.
    	(nios2_stub_name): New.
    	(nios2_get_stub_entry): New.
    	(nios2_add_stub): New.
    	(nios2_elf32_setup_section_lists): New.
    	(nios2_elf32_next_input_section): New.
    	(CALL26_SEGMENT): New.
    	(MAX_STUB_SECTION_SIZE): New.
    	(group_sections): New.
    	(nios2_type_of_stub): New.
    	(nios2_build_one_stub): New.
    	(nios2_size_one_stub): New.
    	(get_local_syms): New.
    	(nios2_elf32_size_stubs): New.
    	(nios2_elf32_build_stubs): New.
    	(nios2_elf32_do_call26_relocate): Correct CALL26 overflow test.
    	(nios2_elf32_relocate_section): Handle R_NIOS2_CALL26_NOAT.  Add
    	trampolines for R_NIOS2_CALL26 stubs.
    	(nios2_elf32_check_relocs): Handle R_NIOS2_CALL26_NOAT.
    	(nios2_elf32_gc_sweep_hook): Likewise.
    	(nios2_elf32_link_hash_table_create): Initialize the stub hash table.
    	(nios2_elf32_link_hash_table_free): New.
    	(bfd_elf32_bfd_link_hash_table_free): Define.
    	* elf32-nios2.h: New file.
    	* libbfd.h: Update from reloc.c.
    	* reloc.c (BFD_RELOC_NIOS2_CALL26_NOAT): New.
    
    	gas/
    	* config/tc-nios2.c (md_apply_fix): Handle BFD_RELOC_NIOS2_CALL26_NOAT.
    	(nios2_assemble_args_m): Likewise.
    	(md_assemble): Likewise.
    
    	gas/testsuite/
    	* gas/nios2/call26_noat.d: New.
    	* gas/nios2/call26_noat.s: New.
    	* gas/nios2/call_noat.d: New.
    	* gas/nios2/call_noat.s: New.
    
    	include/elf/
    	* nios2.h (elf_nios2_reloc_type): Add R_NIOS2_CALL26_NOAT.
    
    	ld/
    	* Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
    	* Makefile.in: Regenerated.
    	* emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
    	* emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
    	* emultempl/nios2elf.em: New file.
    	* gen-doc.texi (NIOSII): Set.
    	* ld.texinfo (NIOSII): Set.
    
    	ld/testsuite/
    	* ld-nios2/relax_call26.s: New.
    	* ld-nios2/relax_call26_boundary.ld: New.
    	* ld-nios2/relax_call26_boundary.s: New.
    	* ld-nios2/relax_call26_boundary_c8.d: New.
    	* ld-nios2/relax_call26_boundary_cc.d: New.
    	* ld-nios2/relax_call26_boundary_d0.d: New.
    	* ld-nios2/relax_call26_boundary_d4.d: New.
    	* ld-nios2/relax_call26_boundary_d8.d: New.
    	* ld-nios2/relax_call26_boundary_dc.d: New.
    	* ld-nios2/relax_call26_boundary_f0.d: New.
    	* ld-nios2/relax_call26_boundary_f4.d: New.
    	* ld-nios2/relax_call26_boundary_f8.d: New.
    	* ld-nios2/relax_call26_boundary_fc.d: New.
    	* ld-nios2/relax_call26_cache.d: New.
    	* ld-nios2/relax_call26_cache.ld: New.
    	* ld-nios2/relax_call26_cache.s: New.
    	* ld-nios2/relax_call26_multi.d: New.
    	* ld-nios2/relax_call26_multi.ld: New.
    	* ld-nios2/relax_call26_norelax.d: New.
    	* ld-nios2/relax_call26_shared.d: New.
    	* ld-nios2/relax_call26_shared.ld: New.

commit 1b4f7b4d1e4566ff8e75a6ad7472da15ec31ce7a
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Jan 31 09:30:43 2014 +1030

    daily update

commit 718ee4dc9b09491707420ae403ad1ce8dfdb61b2
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date:   Thu Jan 30 19:12:35 2014 +0100

    Add support for AT_HWCAP2 auxv entry
    
    Recent ppc64 Linux kernels provide a new auxv entry AT_HWCAP2,
    which is currently not recognized by GDB, causing every use of
    "info auxv" to show an error.
    
    This commit adds the AT_HWCAP2 define to include/elf/common.h
    and handles it in GDB.
    
    include/elf/ChangeLog:
    
    	* common.h (AT_HWCAP2): Define.
    
    gdb/ChangeLog:
    
    	* auxv.c (fprint_target_auxv): Handle AT_HWCAP2.

commit eaa9d1ad0e77540e8768ad11d8389f9408249237
Author: Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
Date:   Thu Jan 30 07:38:09 2014 -0800

    Fix shift for AVX512F gather/scatter instructions
    
    opcodes/
    
    2014-01-30  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
    	    Jan Beulich  <jbeulich@suse.com>
    
    	PR binutils/16490
    	* i386-dis.c (OP_E_memory): Fix shift computation for
    	vex_vsib_q_w_dq_mode.
    
    gas/testsuite/
    
    2014-01-30  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
    	    Jan Beulich  <jbeulich@suse.com>
    
    	PR binutils/16490
    	* gas/i386/avx512f.d: Fix test output.
    	* gas/i386/avx512f-intel.d: Likewise.
    	* gas/i386/x86-64-avx512f.d: Likewise.
    	* gas/i386/x86-64-avx512f-intel.d: Likewise.

commit 2c39fc0d9c50061be0cdaaba40c278b7ab50ab70
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Jan 30 09:30:42 2014 +1030

    daily update

commit 50a53d3ffecd6610fbfd40017224055ea252dea9
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 29 14:30:41 2014 -0800

    Add rdynamic-1 test
    
    It is added for
    
    commit 409ff343a402799563f71f938138b29f8baf7a1c
    Author: Alan Modra <amodra@gmail.com>
    Date:   Tue Nov 8 13:49:11 2011 +0000
    
          * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Mark syms in
          executables when export_dynamic.
    
    	* ld-elf/rdynamic-1.c: New file.
    	* ld-elf/rdynamic-1.rd: Likewise.
    
    	* ld-elf/shared.exp (build_tests): Add rdynamic-1.

commit 401e27fd717fcbc2efe00e332bdaa46846501323
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date:   Wed Jan 29 07:15:05 2014 -0800

    This changeset makes sparc64_linux_step_trap to return 0 when a
    breakpoint is set in a `ta 0x6d´ which is not a sigreturn syscall.  In
    these cases no rt_frame exists in the stack and thus the read PC is
    wrong.
    
    ChangeLog
    2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
    
    	* sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
              the sigreturn register save area only if the syscall is
              sigreturn.
    
    testsuite/ChangeLog
    2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
    
    	* gdb.arch/sparc-sysstep.exp: New file.
    	* gdb.arch/sparc-sysstep.c: Likewise.
    
    	* gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.

commit df3ce959f4f4598f73c4e02f45e65ad1fd6f4f7c
Author: Nick Clifton <nickc@redhat.com>
Date:   Wed Jan 29 14:01:54 2014 +0000

    My patch to the binutils strip-10.d test was wrong.  The osabi field should always be set to
    ELFOSABI_GNU for binaries containing unique symbols.  So I am reverting that patch and
    instead applying the patch below to fix up the targets that were triggering the test failure.
    
    bfd/ChangeLog
    2014-01-29  Nick Clifton  <nickc@redhat.com>
    
    	* elf32-metag.c (elf_metag_post_process_headers): Call
    	_bfd_elf_post_process_headers.
    	* elf32-sh64.c (sh64_elf_copy_private_data): Call
    	_bfd_elf_copy_private_data.
    	* elf64-sh64.c (sh_elf64_copy_private_data_internal): Likewise.
    
    binutils/testsuite/ChangeLog
    2014-01-29  Nick Clifton  <nickc@redhat.com>
    
    	* binutils-all/strip-10.d: Revert previous delta.

commit 27b829ee701e29804216b3803fbaeb629be27491
Author: Nick Clifton <nickc@redhat.com>
Date:   Wed Jan 29 13:46:39 2014 +0000

    Following up on Tom's suggestion I am checking in a patch to replace the various
    bfd_xxx_set macros with static inline functions, so that we can avoid compile time
    warnings about comma expressions with unused values.
    
    	* bfd-in.h (bfd_set_section_vma): Delete.
    	(bfd_set_section_alignment): Delete.
    	(bfd_set_section_userdata): Delete.
    	(bfd_set_cacheable): Delete.
    	* bfd.c (bfd_set_cacheable): New static inline function.
    	* section.c (bfd_set_section_userdata): Likewise.
    	(bfd_set_section_vma): Likewise.
    	(bfd_set_section_alignment): Likewise.
    	* bfd-in2.h: Regenerate.

commit a7c88acd1ed0b886e7aff708df153c5663a9ebbb
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Wed Jan 29 14:25:18 2014 +0400

    Minor reformatting in valops.c::value_slice
    
    I noticed that a small lexical block was over indented by 2 characters.
    So this patch starts by reducing the indentation.
    
    While looking at this area of the code, I also noticed a couple of lines
    that had trailing spaces, so this patch also removes them.
    
    And finally, it fixes one tiny to put the assignment operator at
    the start of the next line, rather than at the end of the first line.
    
    gdb/ChangeLog:
    
            * valops.c (value_slice): Minor reformatting.

commit ec673e648cf7b2fa6a03342b0bca3ed3855f002f
Author: Cary Coutant <ccoutant@google.com>
Date:   Tue Jan 28 15:35:47 2014 -0800

    Add .gdb_index version 7 support.
    
    This patch adds support for .gdb_index version 7, which adds several
    flag bits to the symbol index.  It also fixes a problem where it did
    not handle compressed debug sections correctly.
    
    Tested with a google/gcc-4_8 branch compiler, which supports
    the -ggnu-pubnames option to generate .debug_gnu_pubnames/pubtypes
    tables. (We will submit that patch to GCC when stage 1 reopens.)
    
    2014-01-28  Cary Coutant  <ccoutant@google.com>
    
    	* gold/dwarf_reader.cc: include <utility> (for make_pair).
    	(Dwarf_abbrev_table::do_read_abbrevs): Check for compressed
    	debug sections.
    	(Dwarf_ranges_table::read_ranges_table): Likewise.
    	(Dwarf_pubnames_table::read_section): Check for GNU-style
    	sections, and for compressed debug sections.
    	(Dwarf_pubnames_table::read_header): Compute end address of table.
    	(Dwarf_pubnames_table::next_name): Return flag_byte.  Check
    	for end of list by offset, not by offset == 0.
    	(Dwarf_info_reader::do_read_string_table): Check for compressed
    	debug sections.
    	* gold/dwarf_reader.h (Dwarf_pubnames_table::Dwarf_pubnames_table):
    	Initialize new data members.
    	(Dwarf_pubnames_table::next_name): return flag_byte.
    	(Dwarf_pubnames_table::end_of_table_): New data member.
    	(Dwarf_pubnames_table::is_gnu_style_): New data member.
    	* gold/gdb-index.cc (gdb_index_version): Update to version 7.
    	(Gdb_index_info_reader::read_pubtable): Read flag_byte.
    	(Gdb_index_info_reader::read_pubnames_and_pubtypes): Don't
    	read skeleton type unit DIEs.
    	(Gdb_index::add_symbol): Add flag_byte; adjust all callers.
    	(Gdb_index::do_write): Write flag_byte.
    	* gold/gdb-index.h (Gdb_index::add_symbol): Add flags parameter.
    	(Gdb_index::Cu_vector): Store flags along with cu indexes.
    	* gold/testsuite/gdb_index_test_3.sh: Allow versions 4-7.
    	* gold/testsuite/gdb_index_test_comm.sh: Likewise.

commit 8b9247296737f91bae153207f4380f35c61ef656
Author: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
Date:   Tue Jan 28 15:31:23 2014 -0200

    Fix info-shared.exp testcase to expect the leading `.' found on ppc64's symbols.
    
    gdb/testsuite/
    2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
    
    	* gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.

commit fa0079ea727e512d592fff1241a82a0a2f628903
Author: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Date:   Tue Jan 28 17:49:13 2014 +0100

    Fix typo in ppc64_standard_linkage7
    
    The ppc64_standard_linkage7 pattern added by Alan's recent patch:
    https://sourceware.org/ml/gdb-patches/2013-11/msg00274.html
    contains a typo: the ELFv2 TOC slot offset is 24, not 40.
    This was correct in the comment, but not the actual code.
    
    ChangeLog:
    
    	* ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.

commit 0a9c7b2bf1903322a9b03d76c9c171bcd2ad3cf0
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Jan 28 13:43:35 2014 +0000

    When parsing a DW_FORM_ref_addr attribute the CU containing the
    abbreviation may not be the current CU.  Thus we need to make sure
    that when we read the abbreviation we use the correct CU.
    
    	* dwarf2.c (find_abstract_instance_name): For DW_FORM_ref_addr
    	attributes select the CU containing the abbreviation, which may not
    	be the current CU.

commit 342df9df2426b93b1b218848224a26f387c37ecd
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Jan 28 13:33:29 2014 +0000

    A recent change to the BFD library has meant that the osabi field in
    ELF headers will be copied from input files.  This in turn has broken
    the strip-10 test in the binutils testsuite, so this patch updates the
    expected output.
    
    	PR binutils/16318
    	* binutils-all/strip-10.d: Allow "System V" in the osabi field.

commit 1ade065130f80f4fef38468315d85a1e60a560db
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Jan 28 12:25:48 2014 +0000

    The MSP430 linker contains emulations for old and obsolete MCU types.
    Since all MCUs now have their own specific linker script (courtesy of
    TI) there is no need for these emulations and so this patch removes
    them.
    
    	* Makefile.am: Remove obsolete MSP430 emulations.
    	* configure.tgt: Likewise.
    	* emulparams/msp430all.sh: Likewise.
    	* Makefile.in: Regenerate.

commit d82ba9f90a5de61c4286fac371673d56a38108fc
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Jan 28 12:18:01 2014 +0000

    A recent update to the binutils means that RELA sections now have the
    SHF_INFO_LINK bit set, which shows up in readelf section dumps.  This
    has broken a couple of IA64 testcases in the gas testsuite, which are
    fixed by this patch.
    
    	PR binutils/16317
    	* gas/ia64/group-2.d: Expect I attribute with RELA sections.
    	* gas/ia64/xdata.d: Likewise.

commit bcf1df010c8e886c8bc23cd12ab396064537455d
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Jan 28 11:56:13 2014 +0000

    Update the tic6x linker tests to match the current behaviour of the linker and readelf.
    
    	PR binutils/16317
    	* ld-tic6x/shlib-1.rd: Expect I attribute with RELA sections.
    	* ld-tic6x/shlib-1b.rd: Likewise.
    	* ld-tic6x/shlib-1r.rd: Likewise.
    	* ld-tic6x/shlib-1rb.rd: Likewise.
    	* ld-tic6x/shlib-app-1rd: Likewise.
    	* ld-tic6x/shlib-app-1b.rd: Likewise.
    	* ld-tic6x/shlib-app-1r.rd: Likewise.
    	* ld-tic6x/shlib-app-1rb.rd: Likewise.
    	* ld-tic6x/shlib-noindex.rd: Likewise.
    	* ld-tic6x/static-app-1.rd: Likewise.
    	* ld-tic6x/static-app-1b.rd: Likewise.
    	* ld-tic6x/static-app-1r.rd: Likewise.
    	* ld-tic6x/static-app-1rb.rd: Likewise.
    
    	PR binutils/16318
    	* ld-tic6x/tic6x.exp: Expect C6000 osabi value in relocatable
    	objects.

commit c6044dd124bee08ce8ebd2909582f9aed53b5499
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Thu Jan 16 15:08:16 2014 +0400

    New Ada maintenance command to ignore descriptive types (DWARF).
    
    Currently, Ada debugging requires the use of certain GNAT-specific
    encodings, which are generated by the compiler. These encodings
    were created a long time ago to work around the fairly limited
    capabilities of the stabs debugging format. With DWARF, the vast
    majority of the encodings could be abandoned in favor of a pure
    DWARF approach.
    
    In order to make it easier to evaluate the quality of the DWARF
    debugging information generated by the compiler, and how the debugger
    handles it, we are introducing a small Ada-specific maintenance
    setting which changes the debugger's behavior to ignore descriptive
    types. Descriptive types are artificial types generated by the
    compiler purely to give the debugger hints as to how to properly
    decode certain properties of a type.  For instance, for array
    types, it generates a parallel type whose name is the name of
    the array suffixed with ___XA, whose contents tells us what
    the array's index type is, and possibly its bounds. See GCC's
    gcc/ada/exp_dbug.ads for the full description of all encodings.
    
    This is only a first step, as this setting does not deactivate
    all encodings; More settings dedicated to each type of encoding
    will likely be implemented in the future, as we make progress.
    
    gdb/ChangeLog:
    
            * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
            New static globals.
            (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
            (ada_ignore_descriptive_types_p): New static global.
            (find_parallel_type_by_descriptive_type): Return immediately
            if ada_ignore_descriptive_types_p is set.
            (_initialize_ada_language): Register new commands "maintenance
            set ada", "maintenance show ada", "maintenance set ada
            ignore-descriptive-types" and "maintenance show ada
            ignore-descriptive-types".
            * NEWS: Add entry for new "maint ada set/show
            ignore-descriptive-types" commands.
    
    gdb/doc/ChangeLog:
    
            * gdb.texinfo (Ada Glitches): Document the new "maint ada set/show
            ignore-descriptive-types". commands.

commit a83c8245aa76f176159431fdde8e488983877b51
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Jan 28 09:30:42 2014 +1030

    daily update

commit 568e808b7d80a7613c1b6d94ff93dd517436b249
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Tue Dec 3 10:20:47 2013 +0100

    btrace: initiate teardown when closing record btrace target
    
    The to_teardown_btrace target method is used to free btrace resources
    during shutdown when target record has already been unpushed and we
    can't reliably talk to a remote target to disable branch tracing.
    
    Tracing resources are freed for each thread when the thread is removed;
    both on the GDB side and on the gdbserver side.
    
    In the remote case, the remote target that provides to_teardown_btrace
    to free the GDB side resources has already been unpushed when threads
    are destroyed.  This results in a complaint "You can't do this ..." and
    in a few bytes of memory leaked for each thread.
    
    Initiate btrace teardown in record_btrace_close, so the remote target is
    still in place.
    
    2014-01-27  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* record-btrace.c (record_btrace_close): Call btrace_teardown
    	for all threads.

commit 467d141bf5399b1092118981da1143523b19b896
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Wed Jan 22 11:42:27 2014 +0400

    ada-lang.c: Really include "ui-out.h".
    
    Currently, ada-lang.c pretends to include "ui-out.h" as follow:
    
        #ifdef UI_OUT
        #include "ui-out.h"
        #endif
    
    However, UI_OUT is never defined as far as I can tell. This is confirmed
    by rebuilding with a #error pragma inside the #ifdef UI_OUT block,
    which never triggers.
    
    Since this unit makes references to declarations from ui-out.h,
    this patch simply removes the #ifdef/#endif condition.  This has not
    been an error so far because "ui-out.h" indirectly gets included,
    via one of the other .h files being included.
    
    gdb/ChangeLog:
    
            * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
            "ui-out.h".

commit fb151210966ed045c124b7accfb3422d35166607
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Wed Jan 15 20:00:05 2014 +0400

    Try printing array range using the name of its index type
    
       type Char_Table is array (Character range Character'First .. Character'Last)
         of Natural;
    
    Trying to print the type description of this type currently yields:
    
       (gdb) ptype char_table
       type = array ('["00"]' .. '["ff"]') of natural
    
    Although technically correct, it seemed more useful to print the array
    range as:
    
       (gdb) ptype char_table
       type = array (character) of natural
    
    This patch implements this suggestion.
    
    gdb/ChangeLog:
    
            * ada-typeprint (type_is_full_subrange_of_target_type):
            New function.
            (print_range): Add parameter bounds_prefered_p.  If not set,
            try printing range types using the name of their base type.
            (print_range_type): Add parameter bounds_prefered_p.
            Use it in call to print_range.
            (print_array_type, ada_print_type): Update calls to print_range
            and print_range_type.
    
    gdb/testsuite/ChangeLog:
    
            * gdb.ada/array_char_idx: New testcase.

commit aba02109701c9824499b42f1cf044a995fc603e1
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Wed Jan 15 19:14:15 2014 +0400

    Remove unncessary function declarations in ada-typeprint.c.
    
    These declarations are unncessary, and make it extra work when trying
    to change the profile of one of these functions. This patch just
    removes them.
    
    Note that one of them (print_dynamic_range_bound), was improperly
    indented.
    
    gdb/ChangeLog:
    
            * ada-typeprint.c (print_array_type, print_choices, print_range)
            (print_range_bound, print_dynamic_range_bound, print_range_type):
            Remove declaration.

commit e62e21fd47826fd5501e7e06106c202763e7b260
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Wed Jan 15 18:27:09 2014 +0400

    Add missing empty line after declaration in ada-typeprint.c:print_range.
    
    gdb/ChangeLog:
    
            * ada-typeprint.c (print_range): Add missing empty line
            after local declaration.

commit 859cf5d1dea467019bf0a822eeda059427ecf440
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Thu Jan 9 17:30:39 2014 +0400

    [Ada] Array bound incorrectly printed for array indexed by enum subrange
    
    Consider the following declarations:
    
       type Range_Type is (One, Two, Three);
       type Array_Type is array (Range_Type range One .. Two) of Integer;
       A : Array_Type := (1, 2);
    
    Trying to print A can yield:
    
       (gdb) print a
       $1 = (one => 1, 2)
    
    The bound of the first element should not have been printed, since
    "one" is the first enumerate of type Range_Type. Similarly, with
    the following declarations:
    
       type Array2_Type is array (Range_Type range Two .. Three) of Integer;
       A2 : Array2_Type := (2, 3);
    
    GDB is failing to print the bound of the first element of "A2":
    
       (gdb) print a2
       $2 = (2, 3)
    
    This is because the index type for both types Array_Type and Array2_Type
    are subranges (by DWARF definition for arrays), of an anonymous subrange
    type. When deciding whether to print the bound of the first element,
    we handle subranges, but only up to one level. This patch enhanced
    the code to handle any number of subrange levels.
    
    gdb/ChangeLog:
    
            * ada-valprint.c (print_optional_low_bound): Get index_type's
            target type for as long as it is a TYPE_CODE_RANGE.
    
    No testcase with this patch, but this will be tested via the testcase
    of another patch, which uses the DWARF assembler to generate debugging
    info for an array indexed by an enum.

commit 25790f6fc128f0785a3568019727c0512adc079c
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Mon Jan 20 16:18:58 2014 +0100

    Remove assert in procfs.c::procfs_make_note_section (x86-solaris)
    
    On x86-solaris, the gcore command sometimes triggers the following
    internal error:
    
        (gdb) gcore
        /[...]/procfs.c:5523: internal-error: procfs_make_note_section: Assertion `thread_args.note_data != note_data' failed.
    
    The problem is extremely elusive, for reasons that will become clearer
    as I explain what is going on.
    
    The program used to produce this issue was really simple:
    
        | void break_me (void) { }
        |
        | int
        | main (void)
        | {
        |   break_me ();
        |   return 0;
        | }
    
    The procfs_make_note_section builds a buffer incrementally with
    the contents of the core's notes section.  The interesting bits are:
    
      char *note_data = NULL;
      [...]
      note_data = (char *) elfcore_write_prpsinfo (obfd,
                                                   note_data,
                                                   note_size,
                                                   fname,
                                                   psargs);
    
    This is the first call to bfd's elfcore which initializes note_data.
    After that, we have a few more calls, which keep updating notes_data
    and note_size, but our interest lies in the following part of
    the function:
    
      thread_args.note_data = note_data;
      [...]
      proc_iterate_over_threads (pi, procfs_corefile_thread_callback,
                                 &thread_args);
      /* There should be always at least one thread.  */
      gdb_assert (thread_args.note_data != note_data);
    
    The comment implies that the assert is to verify that our loop
    iterated over at least one thread. The check is relying on the
    fact that the notes_data returned by the elfcore module changes
    at each iteration, via (in procfs_corefile_thread_callback):
    
          args->note_data = procfs_do_thread_registers (args->obfd, ptid,
                                                        args->note_data,
                                                        args->note_size,
                                                        args->stop_signal);
    
    (which calls elfcore_write_lwpstatus).
    
    But, while it happens most of the time, thanks to a call to realloc
    in elfcore_write_note (the function that actually appends the data
    at the end of the notes buffer),...
    
           buf = (char *) realloc (buf, *bufsiz + newspace);
    
    ... this is by no means guarantied. In fact, under the right
    circumstances, the buffer was grown twice without changing
    addresses. Unfortunately, the circumstances are very sensitive,
    thus making this bug very elusive.
    
    This patch fixes the problem by simply removing the assert.
    This means we're losing the assertion that there is at least one
    thread, but I think that's OK. If we still want to keep the
    assertion, we have the option of either checking the buffer
    size, or else adding a boolean flag in the context structure
    that we'd set to true as soon as we have a thread.
    
    gdb/ChangeLog:
    
            * procfs.c (procfs_make_note_section): Remove assertion and
            associated comment.

commit cc64f6178ed618d3bd7905f20aa8cc76571fbede
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Jan 27 09:30:42 2014 +1030

    daily update

commit d3c3a746384d51232ae67641d5a22902a69f339d
Author: Alan Modra <amodra@gmail.com>
Date:   Sun Jan 26 09:31:04 2014 +1030

    daily update

commit 49a8347dbf23f6287575863ae9f6cdb31d3d3000
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Jan 25 09:31:10 2014 +1030

    daily update

commit 34b822e3bc707d31e8b8f07cfe264845bc3c6697
Author: DJ Delorie <dj@redhat.com>
Date:   Fri Jan 24 14:43:58 2014 -0500

    Add .data and .bss refsym symbols
    
    For each object, if it has a nonempty .data or .bss section,
    emit a symbol that could cause the startup code to selectively
    link in the code to initialize those sections.
    
    * config/tc-msp430.c (msp430_section): Always flag data sections,
    regardless of -md.
    (msp430_frob_section): New.  Make sure all sections are noticed if
    they have content.
    (msp430_lcomm): New.  Flag bss if .lcomm is seen.
    (msp430_comm): New.  Likewise.
    (md_pseudo_table): Add them.
    * config/tc-msp430.h (msp430_frob_section): Declare.
    (tc_frob_section): Define.

commit a5262f834a754dcc37db768c1ee24d7ae52247e5
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Jan 24 10:01:56 2014 -0800

    Replace .align with .p2align
    
    	* ld-elf/pr16498a.s: Replace .align with .p2align.

commit a78ad74bbfbe2bee6b2909e9574892d38082e4ea
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Jan 24 09:03:21 2014 -0800

    Add another testcase for PR ld/16498
    
    	PR ld/16498
    	* ld-elf/pr16498b.d: New file.
    	* ld-elf/pr16498b.t: Likewise.

commit d85e71fec0aa4d9d8ca0d8c2401cd8ab69fe2edc
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 22 11:24:12 2014 -0800

    Improve orphaned TLS section handling
    
    ld/
    
    	PR ld/16498
    	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
    	orphaned TLS section handling.
    
    ld/testsuite/
    
    	PR ld/16498
    	* ld-elf/pr16498a.d: New file.
    	* ld-elf/pr16498a.s: Likewise.
    	* ld-elf/pr16498a.t: Likewise.

commit 6b6aa828818fa4a5754fb8520751077146d9d16c
Author: Yao Qi <yao@codesourcery.com>
Date:   Fri Jan 10 14:11:59 2014 +0800

    Change len's type to ULONGEST: remote_read_bytes and get_core_siginfo
    
    Functions remote_read_bytes and get_core_siginfo are the callees of
    target to_xfer_partial interface, so argument 'len' should be changed
    to type ULONGEST.
    
    gdb:
    
    2014-01-24  Yao Qi  <yao@codesourcery.com>
    
    	* remote.c (remote_read_bytes): Change type of len to ULONGEST.
    	* corelow.c (get_core_siginfo): Likewise.

commit 5d6df423905215fc5ef796f20525cd84f92c3a8e
Author: Yao Qi <yao@codesourcery.com>
Date:   Fri Jan 10 13:59:26 2014 +0800

    Change len's type to ULONGEST: remote_write_bytes_aux
    
    Hi,
    This patch changes the type of 'len' from ssize_t to ULONGEST.
    
    At the beginning Siddhesh Poyarekar proposed this patch
    
      [PATCH] Memory reads and writes should have size_t length
      https://sourceware.org/ml/gdb-patches/2012-05/msg01073.html
    
    to change type of 'len' to size_t.  However, after Jan's review, we
    decide to change it to ssize_t, because callers of these functions
    may pass signed type to them.
    
    AFAICS, the target layer is a boundary.  In one side, we pass size_t
    or ssize_t to target related APIs, and in the other side, the
    implementation side, we used LONGEST (ULONGEST in latest code) because
    of to_xfer_partial.
    
    Since remote_write_bytes_aux and remote_write_bytes belong to the
    implementation of remote target, we should use ULONGEST for len, IMO.
    
    Regression tested on x86_64-linux.  Is it OK?
    
    gdb:
    
    2014-01-24  Yao Qi  <yao@codesourcery.com>
    
    	* remote.c (remote_write_bytes_aux): Change type of 'len' to
    	ULONGEST.  Don't check 'len' is negative.
    	(remote_write_bytes):  Change type of 'len' to ULONGEST.

commit d9d94ac86ba0193c897d1fc80b551996ae959d50
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Jan 24 23:17:28 2014 +1030

    TLS orphan section placement
    
    Ensures TLS orphans are placed adjacent to existing TLS sections,
    and fixes places where the output_section_statement flags (which might
    not be set) were tested when bfd_section flags were available.
    
    	* ldlang.c (lang_output_section_find_by_flags): Be careful to
    	test look->bfd_section->flags if available rather than
    	look->flags.  Separate SEC_THREAD_LOCAL handling from
    	SEC_READONLY loop, and rewrite.

commit 3ba720c788c2845c93a6dfe592f36163cbfa63fd
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Jan 24 14:22:10 2014 +1030

    Fixes powerpc64le ld segfaults when --emit-relocs is used.
    
    ELFv2 needs fewer relocs to annotate plt call stubs.  I correctly
    allocated a smaller buffer and wrote the proper relocs, but stupidly
    bumped the reloc count as for ELFv1.
    
    	* elf64-ppc.c (ppc_build_one_stub): Correct reloc count passed
    	to get_relocs for ELFv2.

commit 598beeff91ca20aa09586d8b39eae8a1ae83baa0
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Jan 24 09:30:59 2014 +1030

    daily update

commit 8e75a78f36867b1454e830ef59cc31384fb7b21e
Author: Nick Clifton <nickc@redhat.com>
Date:   Thu Jan 23 17:08:24 2014 +0000

    Remove the display of known MCU names from the MSP430 port of GAS.
    
    New MSP430 MCU parts are being created by TI all the time and the
    list is basically always out of date.  Instead any name will be
    accepted by the -mmcu= command line option.  ISA selection is now
    based upon the -mcpu= command line option, just as is done for GCC.
    
    gas/ChangeLog
    	* config/tc-msp430.c (show_mcu_list): Delete.
    	(md_parse_option): Accept any MCU name.  Accept several more
    	variants for the -mcpu option.
    	(md_show_usage): Do not call show_mcu_list.

commit d923cae027fb7f86d6b684c9084c5521fef0ed56
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jan 23 08:15:17 2014 -0800

    Issue a linker error if TLS sections are not adjacent
    
    Bad linker script may lead to TLS sections separated by non-TLS sections
    in output.  This patch changes linker assert to a linker error to
    provide better linker diagnosis.
    
    	PR ld/16498
    	* elf.c (_bfd_elf_map_sections_to_segments): Issue a linker error
    	if TLS sections are not adjacent.

commit 83b645b833a4c137441b2ba1c03206371b28c9db
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Jan 22 08:52:15 2014 -0700

    avoid python exception in FrameDecorator.py
    
    This fixes a bug in FrameDecorator.py.
    
    FrameVars seems to assume that Frame.block can return None if there is
    no block.  However, it actually throws an exception.
    
    I saw this bug while developing a frame filter, but unfortunately I
    don't know how to reproduce it.  It seems to me that the SAL tests in
    _is_limited_frame should exclude the bad cases; and in my attempts to
    write a test they do.
    
    Nevertheless I think the fix is reasonably obvious and ought to go in.
    
    2014-01-23  Tom Tromey  <tromey@redhat.com>
    
    	PR python/16485:
    	* python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
    	Handle exception from frame.block.
    	(FrameVars.fetch_frame_locals): Likewise.

commit 0740f8d82dd18e48d1531c8d86b531341fc9e099
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Jan 22 08:44:41 2014 -0700

    fix erroneous error-handling in frame filter code
    
    This fixes PR python/16487.
    
    The bug here is that the function-name-handling code in py_print_frame
    had a small logic error (really a misplaced closing brace).  This
    error could lead to a Py_DECREF(NULL), which crashes.
    
    This patch fixes the bug in the obvious way.
    
    Built and regtested on x86-64 Fedora 18.  New test case included.
    
    2014-01-23  Tom Tromey  <tromey@redhat.com>
    
    	PR python/16487:
    	* python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
    	on a NULL pointer.  Move "goto error" to correct place.
    
    2014-01-23  Tom Tromey  <tromey@redhat.com>
    
    	PR python/16487:
    	* gdb.python/py-framefilter.exp: Add test using "Error" filter.
    	* gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
    	classes.

commit 21909fa1c6d934bfa0c7ad3ef95909db48f6f756
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Jan 22 08:10:01 2014 -0700

    fix crash in frame filters
    
    apply_frame_filter calls ensure_python_env before computing the
    gdbarch to use.  This means that python_gdbarch can be NULL while in
    Python code, and if a frame filter depends on this somehow (easy to
    do), gdb will crash.
    
    The fix is to compute the gdbarch first.
    
    Built and regtested on x86-64 Fedora 18.
    New test case included.
    
    2014-01-23  Tom Tromey  <tromey@redhat.com>
    
    	PR python/16491:
    	* python/py-framefilter.c (apply_frame_filter): Call
    	ensure_python_env after computing gdbarch.
    
    2014-01-23  Tom Tromey  <tromey@redhat.com>
    
    	PR python/16491:
    	* gdb.python/py-framefilter.py (Reverse_Function.function): Read a
    	string from an inferior frame.
    	* gdb.python/py-framefilter-mi.exp: Update.

commit 17fde6d091a9a661119d152e2304012de5fce056
Author: Yao Qi <yao@codesourcery.com>
Date:   Mon Dec 16 14:39:12 2013 +0800

    Use gdb_byte * instead of void *
    
    This patch changes the argument type to gdb_byte * in order to align
    with the to_xfer_partial interface.
    
    gdb:
    
    2014-01-23  Yao Qi  <yao@codesourcery.com>
    
    	* target.c (raw_memory_xfer_partial): Change argument type
    	from void * to gdb_byte *.
    	(memory_xfer_partial_1, memory_xfer_partial): Likewise.

commit f5a027733231f3af637a0cdcc0aaaa8c7870902d
Author: Doug Evans <dje@google.com>
Date:   Wed Jan 22 16:39:29 2014 -0800

    	* gdbthread.h (gdb_id_to_thread): Delete, unused.

commit 3d426a9e38bf2806468f6983f307610ad8548342
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Jan 23 09:31:08 2014 +1030

    daily update

commit 87ce2a04c53fa7bb4fff50a41e45c0b29af06dae
Author: Doug Evans <dje@google.com>
Date:   Wed Jan 22 14:17:39 2014 -0800

    	New gdbserver option --debug-format=timestamp.
    	* NEWS: Mention it.
    
    	gdbserver/
    	* configure.ac (AC_CHECK_FUNCS): Add test for gettimeofday.
    	* configure: Regenerate.
    	* config.in: Regenerate.
    	* Makefile.in (SFILES): Add debug.c.
    	(OBS): Add debug.o.
    	* debug.c: New file.
    	* debug.h: New file.
    	* linux-aarch64-low.c (*): Update all debugging printfs to use
    	debug_printf instead of fprintf.
    	* linux-arm-low.c (*): Ditto.
    	* linux-cris-low.c (*): Ditto.
    	* linux-crisv32-low.c (*): Ditto.
    	* linux-m32r-low.c (*): Ditto.
    	* linux-sparc-low.c (*): Ditto.
    	* linux-x86.c (*): Ditto.
    	* linux-low.c (*): Ditto.
    	(linux_wait_1): Add calls to debug_enter, debug_exit.
    	(linux_wait): Remove redundant debugging printf.
    	(stop_all_lwps): Add calls to debug_enter, debug_exit.
    	(linux_resume, unstop_all_lwps): Ditto.
    	* mem-break.c (*): Update all debugging printfs to use
    	debug_printf instead of fprintf.
    	* remote-utils.c (*): Ditto.
    	* thread-db.c (*): Ditto.
    	* server.c #include <ctype.h>, "gdb_vecs.h".
    	(debug_threads): Moved to debug.c.
    	(*): Update all debugging printfs to use debug_printf instead of
    	fprintf.
    	(start_inferior): Replace call to fflush with call to debug_flush.
    	(monitor_show_help): Mention set debug-format.
    	(parse_debug_format_options): New function.
    	(handle_monitor_command): Handle "monitor set debug-format".
    	(gdbserver_usage): Mention --debug-format.
    	(main): Parse --debug-format.
    	* server.h (debug_threads): Declaration moved to debug.h.
    	#include "debug.h".
    	* tracepoint.c (trace_debug_1) [!IN_PROCESS_AGENT]: Add version of
    	trace_debug_1 that uses debug_printf.
    	(tracepoint_look_up_symbols): Update all debugging printfs to use
    	debug_printf instead of fprintf.
    
    	doc/
    	* gdb.texinfo (Server): Mention --debug-format=all|none|timestamp.
    	(gdbserver man): Ditto.
    
    	testsuite/
    	* gdb.server/server-mon.exp: Add tests for "set debug-format".

commit 96b961024c796c5a609fd4d6a772b060eb3b6197
Author: DJ Delorie <dj@redhat.com>
Date:   Wed Jan 22 16:41:13 2014 -0500

    Add .refsym to msp430 backend
    
    * config/tc-msp430.c (msp430_refsym): New: ".refsym <symbol>"
    * doc/c-msp430.texi (MSP430 Directives): Document it.
    
    The purpose of this patch is to provide a way for one object file
    to require the inclusion of another object, without having to
    allocate space for a .word address reference.

commit 7c84a0ca904a7a80262506f70ccbe09f99a68535
Author: Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
Date:   Wed Jan 22 11:39:02 2014 -0800

    Remove regzmm from AVX2 gather assert
    
    Since regzmm can't be used in AVX2 gather instructions, there is no need
    to check regzmm in AVX2 gather assert.
    
    2014-01-22  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
    
    	* config/tc-i386.c (check_VecOperands): Remove regzmm from AVX2
    	gather assert.

commit 8444f82a1d163171deccfcf014cc31adb81f703b
Author: Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
Date:   Wed Jan 22 09:57:31 2014 -0800

    Add check for invalid register in AVX512 gathers
    
    AVX512 gather instructions shouldn't accept the same register for both
    destination and index.
    
    gas/
    
    2014-01-22  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
    
    	PR gas/16489
    	* config/tc-i386.c (check_VecOperands): Add check for invalid
    	register set in AVX512 gathers.
    
    gas/testsuite/
    
    2014-01-22  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
    
    	PR gas/16489
    	* gas/i386/vgather-check.s: Add tests for AVX512 gathers.
    	* gas/i386/x86-64-vgather-check.s: Likewise.
    	* gas/i386/vgather-check-error.l: Update correspondingly.
    	* gas/i386/vgather-check-none.d: Likewise.
    	* gas/i386/vgather-check-warn.d: Likewise.
    	* gas/i386/vgather-check-warn.e: Likewise.
    	* gas/i386/vgather-check.d: Likewise.
    	* gas/i386/x86-64-vgather-check-error.l: Likewise.
    	* gas/i386/x86-64-vgather-check-none.d: Likewise.
    	* gas/i386/x86-64-vgather-check-warn.d: Likewise.
    	* gas/i386/x86-64-vgather-check-warn.e: Likewise.
    	* gas/i386/x86-64-vgather-check.d: Likewise.

commit 237b092b9f52d90716e537d624e9a8c60a4cd4b5
Author: Andreas Arnez <arnez@vnet.linux.ibm.com>
Date:   Wed Jan 22 18:54:43 2014 +0100

    gdb/ChangeLog:
    	* syscalls/s390x-linux.xml: New file.
    	* syscalls/s390-linux.xml: New file.
    	* s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
    	(XML_SYSCALL_FILENAME_S390X): Likewise.
    	(op_svc): New enum value for SVC opcode.
    	(s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
    	(s390_linux_get_syscall_number): New function.
    	(s390_gdbarch_init): Register '*get_syscall_number' and the
    	syscall xml file name.
    	* data-directory/Makefile.in (SYSCALLS_FILES): Add
    	"s390-linux.xml" and "s390x-linux.xml".
    	* NEWS: Announce new feature.
    
    gdb/testsuite/ChangeLog:
    	* gdb.base/catch-syscall.exp: Activate test on s390*-linux.

commit d674a7090f3ae01552e9df5044acc2df1127a7c0
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date:   Wed Jan 22 15:37:41 2014 +0000

    Fix regression on s390x with entry-values.exp.
    
    The trace-specific test case 'entry-values' concludes fairly late in
    the process that this platform doesn't support trace.  Before that,
    there are some platform specifics that don't work on s390x.  The fix
    addresses two aspects:
    
    (1) Removal of an excess space character in the regex for the
        disassembly.  This is needed when there is a function alignment
        gap, because then the hex address is immediately followed by a
        colon, like in the first 'nopr' line below:
    
        (gdb) disassemble foo+50,+10
        Dump of assembler code from 0x32 to 0x3c:
           0x0000000000000032 <foo+50>: br      %r4
           0x0000000000000034:  nopr    %r7
           0x0000000000000036:  nopr    %r7
           0x0000000000000038 <bar+0>:  stmg    %r11,%r15,88(%r15)
        End of assembler dump.
    
    (2) Handling for the s390-specific call instruction.
    
    gdb/testsuite/ChangeLog:
    	* gdb.trace/entry-values.exp: Remove excess space character from
    	regex patterns.  Handle s390 call instruction.

commit 20fa339009918ded4110124744bf97c12d3d77f5
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date:   Wed Jan 22 15:33:00 2014 +0000

    Re-introduce '_start' labels and add alignment in dw2-dir-file-name test case.
    
    On ppc64-linux a function symbol does not point to code, but to the
    function descriptor.  Thus the previous change for this test case
    broke it:
    
          https://sourceware.org/ml/gdb-patches/2014-01/msg00275.html
    
    This patch reverts to the original method, re-introducing '_start'
    symbols.  In addition, it adds sufficient alignment before the label,
    such that the label never points into an alignment gap.
    
    gdb/testsuite/ChangeLog:
    	* gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
    	define "*_start" label.  Make "name" static.
    	* gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
    	${name} by references to ${name}_start.

commit 784667142320ce3cbd8c4542c147451e43fb30d4
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date:   Wed Jan 22 15:31:10 2014 +0000

    Prevent appending "-g" after "-g3" to compile options in info-macros.exp.
    
    When upstream gcc is given a command line with the "-g" option after
    "-g3", it doesn't generate a ".debug_macro" section.  This is because
    the last option wins, thus downgrading the debug level again.  Without
    any macro debug information in the executable, info-macros.exp
    obviously produces many failures.
    
    Since the "-g" option is appended by DejaGnu's target_compile whenever
    the "debug" option is set, the fix just removes that option.
    
    gdb/testsuite/ChangeLog:
    	* gdb.base/info-macros.exp: Remove "debug" from the compile
    	options.

commit 54bff650843cacd3c17a0afdb0fe32e15e1b65b0
Author: Baruch Siach <baruch@tkos.co.il>
Date:   Wed Jan 22 15:02:29 2014 +0200

    gdb: xtensa: fix on 64-bit hosts
    
    On 64-bit hosts unsigned long is 64 bit.  Use uint32_t instead.
    
    gdb/
    2014-01-22  Baruch Siach  <baruch@tkos.co.il>
    
    	* xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.

commit 14e361d7aa3bbd8601b0457ee8558344e444c651
Author: Pedro Alves <palves@redhat.com>
Date:   Wed Jan 22 12:01:53 2014 +0000

    xtensa-config.c: missing defs.h include.
    
    All .c files must start by including defs.h.
    
    2014-01-22  Pedro Alves  <palves@redhat.com>
    
    	* xtensa-config.c: Include defs.h.

commit 16e4ecc0dbe114cfc97fe2cd32a035ae4c37f22b
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Jan 22 16:05:12 2014 +1030

    Display the reference causing a shared library to be needed
    
    Adds a section for --as-needed libraries to a linker map file, similar
    to what we do for archive libraries.
    
    bfd/
    	* elflink.c (elf_link_add_object_symbols): Call minfo for --as-needed.
    ld/
    	* ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
    	(lang_init): Initialise them.
    	(lang_print_asneeded): New function.
    	(lang_process): Call lang_print_asneeded.
    	* ldlang.h (struct asneeded_minfo): New.
    	(asneeded_list_tail): Declare.
    	* ldmain.c (add_archive_element): Improve archive map heading.
    	* ldmisc.c (minfo): Stash --as-needed info.

commit cda796e168a389624b4e06031922bf5eaf0b6f51
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Jan 22 15:36:27 2014 +1030

    Fix gas build breakage
    
    	* config/tc-tic4x.c (md_shortopts): s/CONST/const/.

commit eb8d7fda368dbc5ddca45b672167a619e76e049f
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Jan 22 15:34:30 2014 +1030

    Comment typo
    
    	* elf64-ppc.c (STK_LINKER): Comment typo fix.

commit 46bbb3edacf5a86d3f84de52593119396b448b69
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Tue Jan 21 14:16:57 2014 +0400

    Add ARI (ok) marker for __func__ reference in common-utils.h
    
    The ARI script flagged the use of the __func__ variable, which
    is normally not allowed (not defined in C90). However, this particular
    use is OK, as the reference is only made when __STDC_VERSION__ >=
    199901L.  So, add an "ARI:" comment to explicitly OK this use.
    
    gdb/ChangeLog:
    
            * common/common-utils.h: Add "ARI:" comment beside __func__
            reference.

commit 3a80edfc74646ed5e651d60e7b4f95d165175a89
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Tue Jan 21 14:20:50 2014 +0400

    Expand documentation of common-utils.h::FUNCTION_NAME
    
    While looking at this macro, I noticed that it wasn't always necessarily
    defined. That prompted me to search the current sources to make sure
    that all uses were adequately protected, which they were. But to help
    prevent future uses to be made unprotected, this patch expands the
    current macro documentation a bit.
    
    gdb/ChangeLog:
    
            * common/common-utils.h (FUNCTION_NAME): Expand the macro's
            documentation a bit.

commit 7dd9c6eb050bb23bff18b3139589f202d4c63a33
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Jan 22 12:51:19 2014 +1030

    Miscellaneous ld tidies
    
    Localise a struct, prevent an unneeded symbol lookup, and fix a
    testcase.
    
    ld/
    	* ld.h (struct map_symbol_def): Move to..
    	* ldlang.h: ..here.
    	* ldlang.c (print_assignment): Don't set expld.assign_name to dot.
    ld/testsuite/
    	* ld-scripts/pr14962-2.d: Correct target triple.

commit 2edab91c10dcae30a93ce7d9f8088b8b33ee55eb
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Jan 22 11:43:03 2014 +1030

    Make assignments to dot keep an empty output section.
    
    An assignment to dot in an output section that allocates space of
    course keeps the output section.  Here, I'm changing the behaviour for
    assignments that don't allocate space.  The idea is not so much to
    allow people to force output of an empty section with ". = .", but
    to fix cases where an otherwise empty section has padding added by an
    alignment expression that changes with relaxation or .eh_frame
    editing.  Such a section might have zero size before relaxation and so
    be stripped incorrectly.
    
    ld/
    	* ld.texinfo (Output Section Discarding): Mention assigning to dot
    	as a way of keeping otherwise empty sections.
    	* ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
    	is_dot_plus_0, is_align_conditional): New predicates.
    	(exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
    	output section, except for some special cases.
    	* scripttempl/elfmicroblaze.sc: Use canonical form to align at
    	end of .heap and .stack.
    ld/testsuite/
    	* ld-shared/elf-offset.ld: Align end of .bss with canonical form
    	of ALIGN that allows an empty .bss to be removed.
    	* ld-arm/arm-dyn.ld: Likewise.
    	* ld-arm/arm-lib.ld: Likewise.
    	* ld-elfvsb/elf-offset.ld: Likewise.
    	* ld-mips-elf/mips-dyn.ld: Likewise.
    	* ld-mips-elf/mips-lib.ld: Likewise.
    	* ld-arm/arm-no-rel-plt.ld: Remove duplicate ALIGN.
    	* ld-powerpc/vle-multiseg-1.ld: Remove ALIGN at start of section.
    	ALIGN address of section instead.
    	* ld-powerpc/vle-multiseg-2.ld: Likewise.
    	* ld-powerpc/vle-multiseg-3.ld: Likewise.
    	* ld-powerpc/vle-multiseg-4.ld: Likewise.
    	* ld-powerpc/vle-multiseg-6.ld: Likewise.
    	* ld-scripts/empty-aligned.d: Check section headers not program
    	headers.  Remove xfail and notarget.
    	* ld-scripts/empty-aligned.t: Use canonical ALIGN for end of .text2.

commit 4584ec12076e088cf36965b88ef8710ca85491f9
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jan 21 15:42:43 2014 -0800

    Check incompatible existing default symbol definition
    
    After resolving a versioned reference, foo@VER1, to a default versioned
    definition, foo@@VER1, from a shared object, we also merge it with
    the existing regular default symbol definition, foo.  When foo is IFUNC
    and foo@@VER1 aren't, we will merge 2 incompatible definitions.  This
    patch avoids merging foo@@VER1 definition with foo definition if
    one is IFUNC and the other isn't.

commit efec45729843f9b1864b2a9b491adff85304525a
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Jan 22 09:31:03 2014 +1030

    daily update

commit c9d665580ec705dab16bdf27147e584b44f70ed5
Author: DJ Delorie <dj@redhat.com>
Date:   Tue Jan 21 15:12:19 2014 -0500

    Ensure that %func() expressions are outermost terms
    
    This is to avoid expressions like:  %hi(foo) + 1, which will
    not do what you expect.  The complex relocations can handle it,
    but the internal fixups can't.

commit 4869db5e97b2062a3adf81158577171990248ef3
Author: Roland McGrath <mcgrathr@google.com>
Date:   Tue Jan 21 11:01:04 2014 -0800

    gdb: Support install-strip target
    
    gdb/
    	* configure.ac: Call AM_PROG_INSTALL_STRIP.
    	* configure: Regenerate.
    	* aclocal.m4: Regenerate.
    	* Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
    	New substituted	variables.
    	(install-strip): New target.
    	(INSTALL_SCRIPT): New substituted variable.
    	(FLAGS_TO_PASS): Add it.
    	(install-only): Use $(INSTALL_SCRIPT) rather than
    	$(INSTALL_PROGRAM) for gcore.

commit 281e9aa624806dfde63d006d7706dd84d54788d1
Author: tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Tue Jan 21 15:09:10 2014 +0000

    [PATCH] include 	* ansidecl.h (ANSI_PROTOTYPES, PTRCONST, LONG_DOUBLE, PARAMS) 	(VPARAMS, VA_START, VA_OPEN, VA_CLOSE, VA_FIXEDARG, CONST) 	(VOLATILE, SIGNED, PROTO, EXFUN, DEFUN, DEFUN_VOID, AND, DOTS) 	(NOARGS): Don't define. 	* libiberty.h (expandargv, writeargv): Don't use PARAMS. libiberty 	* _doprint.c (checkit): Use stdarg, not VA_* macros. 	* asprintf.c (asprintf): Use stdarg, not VA_* macros. 	* concat.c (concat_length, concat_copy, concat_copy2, concat) 	(reconcat): Use stdarg, not VA_* macros. 	* snprintf.c (snprintf): Use stdarg, not VA_* macros. 	* vasprintf.c (checkit): Use stdarg, not VA_* macros. 	* vsnprintf.c (checkit): Use stdarg, not VA_* macros.
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206881 138bc75d-0d04-0410-961f-82ee72b054a4

commit 40101021d43f0ed6da0fd8ce11267bbcce0dac15
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jan 21 05:37:45 2014 -0800

    Update comments for the last commit

commit 22ef172a21663abb477d72284b4d59c8eabcbb82
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jan 21 05:33:48 2014 -0800

    Don't check shared/export_dynamic/ref_dynamic for type mismatch
    
    There is nothing linker can do when a type mismatched default definition
    are made dynamic by info->shared, info->export_dynamic or h->ref_dynamic.
    But we do want to avoid exporting it when building PIE.  Let's remove
    those checks.
    
    bfd/
    
    	PR ld/2404
    	* elflink.c (_bfd_elf_merge_symbol): Don't check info->shared,
    	info->export_dynamic, nor !h->ref_dynamic for type mismatch when
    	adding the default version.
    
    ld/testsuite/
    
    	PR ld/2404
    	* ld-elf/shared.exp: Add a PIE test for PR ld/2404.

commit 48ded086b6d25529dd336d74b73788d3cf87cfda
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Jan 21 09:31:08 2014 +1030

    daily update

commit 5a4f233680ecf1132591f8213ff1cc6a2535b1b7
Author: Marcus Shawcroft <marcus.shawcroft@arm.com>
Date:   Mon Jan 20 18:20:04 2014 +0000

    [AArch64] Define LP64 BE linker name.

commit 30feb358161fe68402e0e42deebe71a0c432763b
Author: Marcus Shawcroft <marcus.shawcroft@arm.com>
Date:   Mon Jan 20 18:18:52 2014 +0000

    [AArch64] Define LP64 LE loader name.

commit 9ea4267d62830b0b41e3282964d6cb0872355f6b
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Dec 26 22:06:27 2013 -0700

    better packing for command struct
    
    This moves all the bitfields in struct cmd_list_element to be closer
    together.  This packs the structure somewhat better.  On a 64 bit
    machine, this simple rearrangement saves around 50k at startup.
    
    2014-01-20  Tom Tromey  <tromey@redhat.com>
    
    	* cli/cli-decode.h (struct cmd_list_element): Move all bitfields
    	together.

commit 1f2bdf09c6ace2eefc3dd4dfc7366dea9ff5b30e
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Dec 26 22:04:40 2013 -0700

    convert flags to bitfields
    
    This changes various flags struct cmd_list_element into bitfields.  In
    general I think bitfields are cleaner than flag words, at least in a
    case like this where there is no need to pass the flags around
    independently of the enclosing struct.
    
    2014-01-20  Tom Tromey  <tromey@redhat.com>
    
    	* cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
    	(add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
    	(deprecated_cmd_warning, complete_on_cmdlist): Update.
    	* cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
    	(MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
    	(struct cmd_list_element) <flags>: Remove.
    	<cmd_deprecated, deprecated_warn_user, malloced_replacement,
    	doc_allocated>: New fields.
    	<hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
    	bitfields.
    	* maint.c (maintenance_do_deprecate): Update.
    	* top.c (execute_command): Update.

commit cec2c50d38391e11f7116643450156560e5a1b91
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jan 20 04:50:47 2014 -0800

    Add a testcase for PR ld/2404
    
    PR ld/2404 was fixed without a testcase.  This patch to add one.
    
    	PR ld/2404
    	* ld-elf/pr2404.out: New file.
    	* ld-elf/pr2404a.c: Likewise.
    	* ld-elf/pr2404b.c: Likewise.
    
    	* ld-elf/shared.exp (build_tests): Build libpr2404a.so and
    	libpr2404b.a.
    	(run_tests): Run pr2404.

commit e671835b7afc90b3ff201b79f07a6fb67797bc5c
Author: Baruch Siach <baruch@tkos.co.il>
Date:   Mon Jan 20 09:53:12 2014 +0200

    gdb: xtensa: fix linux ptrace includes
    
    Currently, xtensa code using the Linux ptrace interface only include
    sys/ptrace.h.  This file comes from the C library (glibc and uClibc,
    at least), and includes a declaration of the ptrace() functions, along
    with some cross architecture constants that are mostly copied from the
    file located at include/uapi/linux/ptrace.h in recent Linux kernels.
    
    For xtensa specific constants like PTRACE_GETXTREGS and
    PTRACE_SETXTREGS the asm/ptrace.h include from the Linux kernel UAPI
    is needed.  The code in gdbserver xtensa specific part doesn't call
    ptrace() directly, so we can remove the unneeded sys/ptrace.h include.
    The gdb xtensa specific code needs both headers, since it calls
    ptrace().
    
    gdb/
    	* xtensa-linux-nat.c: Include asm/ptrace.h.
    
    gdb/gdbserver/
    	* linux-xtensa-low.c: Include asm/ptrace.h instead of
    	sys/ptrace.h.

commit fa72205cb90527fd34753203993859907a53ead2
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Jan 20 21:28:42 2014 +1030

    Allow self-assignment for absolute symbols defined in a linker script
    
    Modifies ld machinery tracking linker script assignments to notice all
    assignments, not just those symbols mentioned in DEFINED().
    
    ld/
    	PR ld/14962
    	* ldlang.h (struct lang_definedness_hash_entry): Add by_object and
    	by_script.  Make iteration a single bit field.
    	(lang_track_definedness, lang_symbol_definition_iteration): Delete.
    	(lang_symbol_defined): Declare.
    	* ldlang.c (lang_statement_iteration): Expand comment a little.
    	(lang_init <lang_definedness_table>): Make it bigger.
    	(lang_track_definedness, lang_symbol_definition): Delete.
    	(lang_definedness_newfunc): Update.
    	(lang_symbol_defined): New function.
    	(lang_update_definedness): Create entries here.  Do track whether
    	script definition of symbol is valid, even when also defined in
    	an object file.
    	* ldexp.c (fold_name <DEFINED>): Update.
    	(fold_name <NAME>): Allow self-assignment for absolute symbols
    	defined in a linker script.
    ld/testsuite/
    	* ld-scripts/pr14962-2.d,
    	* ld-scripts/pr14962-2.t: New test.
    	* ld-scripts/expr.exp: Run it.

commit 24ef1aa73ed312282bd1a755b3ac94681c9f1544
Author: Guy Martin <gmsoft@tuxicoman.be>
Date:   Mon Jan 20 14:16:16 2014 +1030

    Fix duplicate output section statement lookup
    
    Tie output section statements to their associated output section via
    output section userdata.  This allows us to avoid hash lookups which
    are slower and fail when multiple output sections have the same name.
    
    	* ldlang.h (lang_output_section_get): Define.
    	* ldlang.c (lang_output_section_get): Likewise.
    	(init_os): Set the output_section userdata to the output
    	section statement.
    	* emultempl/hppaelf.em: Use lang_output_section_get instead of
    	lang_output_section_find where applicable.
    	* emultempl/aarch64elf.em: Likewise.
    	* emultempl/aix.em: Likewise.
    	* emultempl/armelf.em: Likewise.
    	* emultempl/m68hc1xelf.em: Likewise.
    	* emultempl/metagelf.em: Likewise.
    	* emultempl/mipself.em: Likewise.
    	* emultempl/ppc64elf.em: Likewise.
    	* emultempl/spuelf.em: Likewise.

commit d7c85de1c3d15d7abf68212e4b18cd140dd3f397
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Jan 20 09:31:05 2014 +1030

    daily update

commit 50367cd2ada722ddf5bede594d8ed7631fcde5ab
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sat Jan 18 17:27:28 2014 +0000

    Move D demangling routines out of d-lang.c and into d-support.c, which
    is intended to house other D language support functions.
    
    gdb/ChangeLog:
    2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
    
        * Makefile.in (SFILES): Add d-support.c.
        (COMMON_OBS): Add d-support.o.
        * d-lang.h (d_parse_symbol): Add comment, now defined in
        d-support.c.
        * d-lang.c (parse_call_convention)
        (parse_attributes, parse_function_types)
        (parse_function_args, parse_type, parse_identifier)
        (call_convention_p, d_parse_symbol): Move functions to ...
        * d-support.c: ... New file.

commit ec9f644ac9d154de4dde490bb1174be09c8fc540
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sat Jan 18 17:22:00 2014 +0000

    Fix and update D demangling support in gdb to the current mangling ABI.
    
    gdb/ChangeLog:
    2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
    
        * d-lang.h (d_parse_symbol): Add declaration.
        * d-lang.c (extract_identifiers)
        (extract_type_info): Remove functions.
        (parse_call_convention, parse_attributes)
        (parse_function_types, parse_function_args)
        (parse_type, parse_identifier, call_convention_p)
        (d_parse_symbol): New functions.
        (d_demangle): Use d_parse_symbol to demangle D symbols.
    
    gdb/testsuite/ChangeLog:
    2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
    
    * gdb.dlang/demangle.exp: New file.

commit 94b1b47ee13476f376feddf808c63560c036cf1b
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sat Jan 18 17:18:23 2014 +0000

    Define all basic data types of D and add them to the primitive type
    language vector.
    
    gdb/ChangeLog:
    2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
    
        * d-lang.h (struct builtin_d_type): New data type.
        (builtin_d_type): Add declaration.
        * d-lang.c (d_language_arch_info, build_d_types)
        (builtin_d_type): New functions.
        (enum d_primitive_types): New data type.
        (d_language_defn): Change c_language_arch_info to
        d_language_arch_info.
        (d_type_data): New static variable.
        (_initialize_d_language): Initialize d_type_data.
    
    gdb/testsuite/ChangeLog:
    2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
    
        * gdb.dlang/primitive-types.exp: New file.

commit 6377854769ea85f2dd38aac9a9b11fded61245f3
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sat Jan 18 17:09:43 2014 +0000

    Add d_main_name to set the logical entry point for D programs.
    
    gdb/ChangeLog:
    2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
    
        * d-lang.h (d_main_name): Add declaration.
        * d-lang.c (d_main_name): New function.
        * symtab.c (find_main_name): Add call to d_main_name.

commit 3271ba660a6a8434b1ec32b88ba456e9287a89ac
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sat Jan 18 18:04:08 2014 +0000

    Update d_language_defn to reflect that D does not have any style of
    macro expansion in its language.
    
    gdb/ChangeLog:
    2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
    
        * d-lang.c (d_language_defn): Change macro_expansion_c to
        macro_expansion_no.

commit 7f420862a712047fa2c0031ce42a28861ac43546
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sat Jan 18 16:04:36 2014 +0000

    Add gdb.dlang to the gdb testsuite for the purpose of creating D
    specific tests.
    
    gdb/testsuite/ChangeLog:
    2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
    
        * configure.ac: Create gdb.dlang/Makefile.
        * configure: Regenerate.
        * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
        * gdb.dlang/Makefile.in: New file.
        * lib/d-support.exp: New file.
        * lib/gdb.exp (skip_d_tests): New proc.

commit d36b3012940ae4cb24d19359e6781efa2d92db41
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Sat Jan 18 18:02:41 2014 +0000

    Add myself as a write-after-approval gdb maintainer.
    
    gdb/ChangeLog:
    2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
    
        * MAINTAINERS: Add myself as a write-after-approval maintainer.

commit 6e245eba97de70d57c5ffa1080b482a29470be5c
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Jan 18 09:31:09 2014 +1030

    daily update

commit c90a6fb765e9339905803cbfa6cb7adf0431434b
Author: Sergio Durigan Junior <sergiodj@redhat.com>
Date:   Fri Jan 17 19:39:57 2014 -0200

    Add "volatile" keyword to "struct gdb_exception" declaration
    
    While doing something else, I found that those 2 places were incorrectly
    declaring a "struct gdb_exception" without using the "volatile" keyword.
    This commit fixes that.
    
    2014-01-17  Sergio Durigan Junior  <sergiodj@redhat.com>
    
    	* breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
    	gdb_exception" declaration.
    	* remote.c (getpkt_or_notif_sane): Likewise.

commit 749234e5402bddc054d77b4113ecd09eda7a872e
Author: Doug Evans <dje@google.com>
Date:   Fri Jan 17 10:23:29 2014 -0800

    Add delim_string_to_char_ptr_vec.
    
    	* common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
    	function, contents of dirnames_to_char_ptr_vec_append moved here.
    	(delim_string_to_char_ptr_vec): New function.
    	(dirnames_to_char_ptr_vec_append): Rewrite.
    	* common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.

commit df049a5831c7c573698b98bfd4bc0ec8dc854c1f
Author: Doug Evans <dje@google.com>
Date:   Fri Jan 17 10:00:07 2014 -0800

    Move ASSERT_FUNCTION to FUNCTION_NAME.
    
    	* common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
    	and moved here ...
    	* common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
    	#include "common-utils.h".
    	(gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
    	* common/vec.h (VEC_ASSERT_PASS): Update.
    	* darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
    	(MACH_CHECK_ERROR): Update.

commit ea38d2a92e349df1f6438c1bd7b899f4cd951321
Author: Pedro Alves <palves@redhat.com>
Date:   Fri Jan 17 16:28:38 2014 +0000

    Fix PR mention in gdb/gdbserver/ChangeLog's previous change.

commit 827f64ffb56038b080f630c6487bd4c5dbf83985
Author: Will Newton <will.newton@linaro.org>
Date:   Thu Jan 16 10:08:45 2014 +0000

    gas: ARM: Fix encoding of VCVTr.s32.f64 instructions
    
    The direct rounding floating-point VCVT instructions introduced in
    ARMv8 encode the s32.f64 variant incorrectly. The op bit should be
    set to 1 for all signed conversions.
    
    gas/ChangeLog:
    
    2014-01-17  Will Newton  <will.newton@linaro.org>
    
    	* config/tc-arm.c (do_vfp_nsyn_cvt_fpv8): Set OP to 1
    	for the s32.f64 flavours of VCVT.
    
    gas/testsuite/ChangeLog:
    
    2014-01-17  Will Newton  <will.newton@linaro.org>
    
    	* gas/arm/armv8-a+fp.d: Correct encoding of vcvta.s32.f64.

commit c7faa97a858bc4eedfca029176fd54c6196c3248
Author: Pedro Alves <palves@redhat.com>
Date:   Fri Jan 17 15:27:42 2014 +0000

    Fix silly ChangeLog entry in previous change.

commit b5737fa98a3a488dbdc0c6aa7391cd038f6d24f1
Author: Pedro Alves <palves@redhat.com>
Date:   Fri Jan 17 13:33:30 2014 +0000

    Fix PR PR16445 - gdbserver build failure on x86.
    
    If gdb_proc_service.h ends up including linux/elf.h, we'll trip on
    duplicate definitions:
    
     In file included from ../../../gdb/gdbserver/linux-x86-low.c:29:0:
     ../../../gdb/gdbserver/../../include/elf/common.h:36:0: error: "ELFMAG0"
                     redefined [-Werror]
     ... etc ...
    
    Handle this the same way linux-low.c and linux-arm-low.c handle this.
    
    gdb/gdbserver/
    2014-01-17  Pedro Alves  <palves@redhat.com>
    
    	PR PR16445
    	* linux-x86-low.c (linux-x86-low.c): Don't include elf/common.h if
    	ELFMAG0 is defined after including gdb_proc_service.h.

commit 69f9764846ca76d780e0ecd8b688200561f7c9bb
Author: Simon Marchi <simon.marchi@ericsson.com>
Date:   Fri Jan 17 09:54:56 2014 +0000

    Add comments to gdbarch_address_class_name_to_type_flags.
    
    gdb/ChangeLog
    2014-01-17  Simon Marchi  <simon.marchi@ericsson.com>
    
    	* gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
    	comments.
    	* gdbarch.h: Regenerate.

commit 7225345dbbe39f61b1c7e52732b621cfb1d830c5
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Jan 17 10:39:50 2014 +1030

    Allow ld target customiser script to force on disk scripts.
    
    Mucking with EMULATION_LIBPATH has unwanted side effects.  Allow nds32
    emulparams scripts to disable compiled-in scripts naturally, by
    setting COMPILE_IN=no.
    
    	* genscripts.sh (COMPILE_IN): Don't set if already set.
    	* emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
    	COMPILE_IN=no.
    	* emulparams/nds32elf16m.sh: Likewise.
    	* emulparams/nds32elf_linux.sh: Likewise.
    	* emultempl/aix.em: Test COMPILE_IN value is "yes".
    	* emultempl/armcoff.em: Likewise.
    	* emultempl/elf32.em: Likewise.
    	* emultempl/generic.em: Likewise.
    	* emultempl/gld960.em: Likewise.
    	* emultempl/gld960c.em: Likewise.
    	* emultempl/linux.em: Likewise.
    	* emultempl/lnk960.em: Likewise.
    	* emultempl/m68kcoff.em: Likewise.
    	* emultempl/sunos.em: Likewise.
    	* emultempl/ticoff.em: Likewise.

commit 40ed484e74e74fa116095eaf29e44b1cfee58811
Author: Doug Evans <dje@google.com>
Date:   Thu Jan 16 15:47:43 2014 -0800

    	* dll.c (UNSPECIFIED_CORE_ADDR): New macro.
    	(match_dll): Use it.

commit e07e2682b4c10f4d7ca14894189d8dbee761bf8f
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Jan 17 09:31:01 2014 +1030

    daily update

commit 98b1cfdcc8998ad3e35896ade0fdba04ceda8d74
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Dec 27 22:22:07 2013 -0700

    rearrange struct value to save memory
    
    This patch rearranges struct value a tiny bit, moving the "regnum"
    field into a hole.  This saves 8 bytes per value on a 64-bit machine,
    and 4 bytes per value on a 32 bit machine.  I think it does not
    negatively affect readability or performance.
    
    Built and regtested on x86-64 Fedora 18.
    
    2014-01-16  Tom Tromey  <tromey@redhat.com>
    
    	* value.c (struct value) <regnum>: Move earlier.

commit 77a194459598886be9a0bf3e3bac0a11025ef208
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 18 08:27:54 2013 -0700

    remove extended_remote_create_inferior_1
    
    I noticed that extended_remote_create_inferior_1 is called from a
    single spot.  This patch unifies the callee and caller.  It's just a
    simple cleanup that made the coming refactoring simpler.
    
    2014-01-16  Tom Tromey  <tromey@redhat.com>
    
    	* remote.c (extended_remote_create_inferior): Rename from
    	extended_remote_create_inferior_1.  Add "ops" argument.  Remove
    	old implementation.

commit 62261490a36c6911c5eb61be7cddcfb1bd19ba18
Author: Pedro Alves <palves@redhat.com>
Date:   Thu Jan 16 17:43:26 2014 +0000

    Fix gdb.trace/mi-traceframe-changed.exp on s390.
    
    The test fails on s390 with:
    
      -trace-find frame-number 0^M
      &"PC not available\n"^M
      ^done,found="1",tracepoint="1",traceframe="0",frame={level="-1",addr="<unavailable>",func="??",args=[]}^M
      (gdb) ^M
      FAIL: gdb.trace/mi-traceframe-changed.exp: tfile: -trace-find frame-number 0
    
    tfile knows to infer the PC from the tracepoint's address if the PC
    wasn't collected (tfile_fetch_registers) but, that only works on
    targets whose PC register is a raw register, and on s390, the PC
    register is a pseudo register.
    
    But even if GDB doesn't know how to infer the value of PC, saying the
    current frame is level -1 is a bug:
    
      ^done,found="1",tracepoint="1",traceframe="0",frame={level="-1",addr="<unavailable>",func="??",args=[]}^M
                                                           ^^^^^^^^^
    
    '-1' is the level of the sentinel frame, which should never be visible.
    
    This is caused by the s390's heuristic unwinder accepting the frame
    (the fallback heuristic unwinders _always_ accept the frame), but then
    the unwind->this_id method throws that "PC not available\n" error.
    
    IOW, the s390's heuristic unwinder was never adjusted to handle
    unavailable register values gracefully, which can happen with e.g., a
    trimmed core file too.
    
    This is just the minimal necessary for
    <unavailable> frames, which at least gets us:
    
      (gdb) tfind
      Found trace frame 0, tracepoint 1
      #0  <unavailable> in ?? ()
    
    That is, frame #0 instead of -1.
    
    We could get better info out of "info frame" (this patch makes us show
    "outermost"), but this change would still be necessary.
    
    gdb/
    2014-01-16  Pedro Alves  <palves@redhat.com>
    
    	* s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
    	NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
    	the backchain.

commit 4d65956b033ebbbc965bac09c607c2300d9c2ea9
Author: Doug Evans <dje@google.com>
Date:   Thu Jan 16 09:29:10 2014 -0800

    dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.

commit 52834460bc1e8813c8cedd876dac7156b34fa60f
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Mon May 6 16:04:46 2013 +0200

    record-btrace: add (reverse-)stepping support
    
    Provide to_resume and to_wait target methods for the btrace record target
    to allow reverse stepping and replay support.
    
    Replay is limited in the sense that only stepping and source correlation
    are supported.  We do not record data and thus can not show variables.
    
    Non-stop mode is not working.  Do not allow record-btrace in non-stop mode.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* btrace.h (btrace_thread_flag): New.
    	(struct btrace_thread_info) <flags>: New.
    	* record-btrace.c (record_btrace_resume_thread)
    	(record_btrace_find_thread_to_move, btrace_step_no_history)
    	(btrace_step_stopped, record_btrace_start_replaying)
    	(record_btrace_step_thread, record_btrace_decr_pc_after_break)
    	(record_btrace_find_resume_thread): New.
    	(record_btrace_resume, record_btrace_wait): Extend.
    	(record_btrace_can_execute_reverse): New.
    	(record_btrace_open): Fail in non-stop mode.
    	(record_btrace_set_replay): Split into this, ...
    	(record_btrace_stop_replaying): ... this, ...
    	(record_btrace_clear_histories): ... and this.
    	(init_record_btrace_ops): Init to_can_execute_reverse.
    	* NEWS: Announce it.
    
    testsuite/
    	* gdb.btrace/delta.exp: Check reverse stepi.
    	* gdb.btrace/tailcall.exp: Update.  Add stepping tests.
    	* gdb.btrace/finish.exp: New.
    	* gdb.btrace/next.exp: New.
    	* gdb.btrace/nexti.exp: New.
    	* gdb.btrace/record_goto.c: Add comments.
    	* gdb.btrace/step.exp: New.
    	* gdb.btrace/stepi.exp: New.
    	* gdb.btrace/multi-thread-step.c: New.
    	* gdb.btrace/multi-thread-step.exp: New.
    	* gdb.btrace/rn-dl-bind.c: New.
    	* gdb.btrace/rn-dl-bind.exp: New.
    	* gdb.btrace/data.c: New.
    	* gdb.btrace/data.exp: New.
    	* gdb.btrace/Makefile.in (EXECUTABLES): Add new.
    
    doc/
    	* gdb.texinfo: Document limited reverse/replay support
    	for target record-btrace.

commit 118e6252ca1cabce6d4480a4f24c53e5456a2cfa
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Wed Dec 18 11:09:34 2013 +0100

    target: allow decr_pc_after_break to be defined by the target
    
    Allow the target to define which value to use in decr_pc_after_break.
    It defaults to gdbarch_decr_pc_after_break (GDBARCH).
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* target.h (struct target_ops) <to_decr_pc_after_break>: New.
    	(forward_target_decr_pc_after_break)
    	(target_decr_pc_after_break): New.
    	* target.c (forward_target_decr_pc_after_break)
    	(target_decr_pc_after_break): New.
    	* aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
    	instead of gdbarch_decr_pc_after_break.
    	* darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
    	instead of gdbarch_decr_pc_after_break.
    	* infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
    	instead of gdbarch_decr_pc_after_break.
    	* linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
    	instead of gdbarch_decr_pc_after_break.
    	* linux-thread-db.c (check_event): Call target_decr_pc_after_break
    	instead of gdbarch_decr_pc_after_break.
    	* record-full.c (record_full_wait_1): Call target_decr_pc_after_break
    	instead of gdbarch_decr_pc_after_break.

commit 6e07b1d27e5d3fb20e7d13f0cadfd923243fc48d
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Tue Sep 10 12:27:14 2013 +0200

    record-btrace: show trace from enable location
    
    The btrace record target shows the branch trace from the location of the first
    branch destination.  This is the first BTS records.
    
    After adding incremental updates, we can now add a dummy record for the current
    PC when we enable tracing so we show the trace from the location where branch
    tracing has been enabled.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* btrace.c: Include regcache.h.
    	(btrace_add_pc): New.
    	(btrace_enable): Call btrace_add_pc.
    	(btrace_is_empty): New.
    	* btrace.h (btrace_is_empty): New.
    	* record-btrace.c (require_btrace, record_btrace_info): Call
    	btrace_is_empty.
    
    testsuite/
    	* gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
    	* gdb.btrace/exception.exp: Update.
    	* gdb.btrace/instruction_history.exp: Update.
    	* gdb.btrace/record_goto.exp: Update.
    	* gdb.btrace/tailcall.exp: Update.
    	* gdb.btrace/unknown_functions.exp: Update.
    	* gdb.btrace/delta.exp: New.

commit 969c39fbcd6a5675c1f4b97cd23d680e4b5b6487
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Mon Jun 3 15:39:35 2013 +0200

    btrace, gdbserver: read branch trace incrementally
    
    Read branch trace data incrementally and extend the current trace rather than
    discarding it and reading the entire trace buffer each time.
    
    If the branch trace buffer overflowed, we can't extend the current trace so we
    discard it and start anew by reading the entire branch trace buffer.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
    	Support delta reads.
    	(linux_disable_btrace): Change return type.
    	* common/linux-btrace.h (linux_read_btrace): Change parameters
    	and return type to allow error reporting.  Update users.
    	(linux_disable_btrace): Change return type.  Update users.
    	* common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
    	New.
    	(btrace_error): New.
    	(btrace_block) <begin>: Comment on BEGIN == 0.
    	* btrace.c (btrace_compute_ftrace): Start from the end of
    	the current trace.
    	(btrace_stitch_trace, btrace_clear_history): New.
    	(btrace_fetch): Read delta trace, return if replaying.
    	(btrace_clear): Move clear history code to btrace_clear_history.
    	(parse_xml_btrace): Throw an error if parsing failed.
    	* target.h (struct target_ops) <to_read_btrace>: Change parameters
    	and return type to allow error reporting.
    	(target_read_btrace): Change parameters and return type to allow
    	error reporting.
    	* target.c (target_read_btrace): Update.
    	* remote.c (remote_read_btrace): Support delta reads.  Pass
    	errors on.
    	* NEWS: Announce it.
    
    gdbserver/
    	* target.h (target_ops) <read_btrace>: Change parameters and
    	return type to allow error reporting.
    	* server.c (handle_qxfer_btrace): Support delta reads.  Pass
    	trace reading errors on.
    	* linux-low.c (linux_low_read_btrace): Pass trace reading
    	errors on.
    	(linux_low_disable_btrace): New.

commit 0b722aec57e2e54083c1d56657762945ad4604fc
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Wed Mar 27 09:49:47 2013 +0100

    record-btrace: extend unwinder
    
    Extend the always failing unwinder to provide the PC based on the call
    structure detected in the branch trace.
    
    The unwinder supports normal frames and tailcall frames.
    Inline frames are not supported.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* record.h (record_btrace_frame_unwind)
    	(record_btrace_tailcall_frame_unwind): New declarations.
    	* dwarf2-frame: Include record.h
    	(dwarf2_frame_cfa): Throw an error for btrace frames.
    	* record-btrace.c: Include hashtab.h.
    	(btrace_get_bfun_name): New.
    	(btrace_call_history): Call btrace_get_bfun_name.
    	(struct btrace_frame_cache): New.
    	(bfcache): New.
    	(bfcache_hash, bfcache_eq, bfcache_new): New.
    	(btrace_get_frame_function): New.
    	(record_btrace_frame_unwind_stop_reason): Allow unwinding.
    	(record_btrace_frame_this_id): Compute own id.
    	(record_btrace_frame_prev_register): Provide PC, throw_error
    	for all other registers.
    	(record_btrace_frame_sniffer): Detect btrace frames.
    	(record_btrace_tailcall_frame_sniffer): New.
    	(record_btrace_frame_dealloc_cache): New.
    	(record_btrace_frame_unwind): Add new functions.
    	(record_btrace_tailcall_frame_unwind): New.
    	(_initialize_record_btrace): Allocate cache.
    	* btrace.c (btrace_clear): Call reinit_frame_cache.
    	* NEWS: Announce it.
    
    testsuite/
    	* gdb.btrace/record_goto.exp: Add backtrace test.
    	* gdb.btrace/tailcall.exp: Add backtrace test.

commit 066ce621f46cabb382b31a682501f0de8120c9fc
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Mon Mar 25 16:01:33 2013 +0100

    record-btrace: add record goto target methods
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* record-btrace.c (record_btrace_set_replay)
    	(record_btrace_goto_begin, record_btrace_goto_end)
    	(record_btrace_goto): New.
    	(init_record_btrace_ops): Initialize them.
    	* NEWS: Announce it.
    
    testsuite/
    	* gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
    	* gdb.btrace/record_goto.c: New.
    	* gdb.btrace/record_goto.exp: New.
    	* gdb.btrace/x86-record_goto.S: New.

commit e2887aa34ff4d8d972047e48803ed97b23beb739
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Fri May 3 10:51:13 2013 +0200

    record-btrace: provide target_find_new_threads method
    
    The "info threads" command tries to read memory, which is not possible during
    replay.  This results in an error message and aborts the command without showing
    the existing threads.
    
    Provide a to_find_new_threads target method to skip the search while replaying.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* record-btrace.c (record_btrace_find_new_threads)
    	(record_btrace_thread_alive): New.
    	(init_record_btrace_ops): Initialize to_find_new_threads and
    	to_thread_alive.

commit b2f4cfdebc3b7feb9572e83570d212f0ef31a78a
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Mon Mar 25 15:44:43 2013 +0100

    record-btrace: add to_wait and to_resume target methods.
    
    Add simple to_wait and to_resume target methods that prevent stepping when the
    current replay position is not at the end of the execution log.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* record-btrace.c (record_btrace_resume): New.
    	(record_btrace_wait): New.
    	(init_record_btrace_ops): Initialize to_wait and to_resume.

commit 633785ff2876e5bf03070a235d3e8cfe94cbf6bd
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Wed Apr 24 13:24:11 2013 +0200

    record-btrace: provide xfer_partial target method
    
    Provide the xfer_partial target method for the btrace record target.
    
    Only allow memory read accesses to readonly memory while we're replaying,
    except for inserting and removing breakpoints.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* record-btrace.c (record_btrace_xfer_partial)
    	(record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
    	(record_btrace_allow_memory_access): New.
    	(init_record_btrace_ops): Initialize new methods.
    	* target.c (raw_memory_xfer_partial): Bail out if target reports
    	that this memory is not available.

commit 3db08215d47b576303a8cbaf6195b5f4a3bb9a13
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Tue Dec 17 10:49:03 2013 +0100

    target, breakpoint: allow insert/remove breakpoint to be forwarded
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* target.h (target_ops) <to_insert_breakpoint>
    	<to_remove_breakpoint>: Add target_ops parameter.
    	(forward_target_insert_breakpoint): New.
    	(forward_target_remove_breakpoint): New.
    	(memory_remove_breakpoint, memory_insert_breakpoint):
    	Add target_ops parameter.
    	* target.c (target_insert_breakpoint): Split into this and ...
    	(forward_target_insert_breakpoint): ... this.
    	(target_remove_breakpoint): Split into this and ...
    	(forward_target_remove_breakpoint): ... this.
    	(debug_to_insert_breakpoint): Add target_ops parameter.
    	Call forward_target_insert_breakpoint.
    	(debug_to_remove_breakpoint): Add target_ops parameter.
    	Call forward_target_remove_breakpoint.
    	(update_current_target): Do not inherit or default to_insert_breakpoint
    	and to_remove_breakpoint.
    	* corelow.c (ignore): Add target_ops parameter.
    	* exec.c (ignore): Add target_ops parameter.
    	* mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
    	Add target_ops parameter.
    	* monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
    	Add target_ops parameter.
    	* nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
    	Add target_ops parameter.
    	* record-full.c (record_full_beneath_to_insert_breakpoint)
    	(record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
    	(tmp_to_remove_breakpoint, record_full_insert_breakpoint)
    	(record_full_remove_breakpoint, record_full_core_insert_breakpoint)
    	(record_full_core_remove_breakpoint): Add target_ops parameter.
    	Update users.
    	(record_full_beneath_to_insert_breakpoint_ops)
    	(record_full_beneath_to_remove_breakpoint_ops)
    	(tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
    	(record_full_open): Initialize tmp_to_insert_breakpoint_ops,
    	tmp_to_remove_breakpoint_ops,
    	record_full_beneath_to_insert_breakpoint_ops, and
    	record_full_beneath_to_remove_breakpoint_ops.
    	* remote-m32r-sdi.c (m32r_insert_breakpoint)
    	(m32r_remove_breakpoint): Add target_ops parameter.
    	* remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
    	Add target_ops parameter.
    	* remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
    	Add target_ops parameter.

commit cecac1aba0917b4f87837e3037a84954ac013b5c
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Mon Mar 18 16:47:01 2013 +0100

    record-btrace, frame: supply target-specific unwinder
    
    Supply a target-specific frame unwinder for the record-btrace target that does
    not allow unwinding while replaying.
    
    2013-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
                Markus Metzger  <markus.t.metzger@intel.com>
    
    gdb/
    	* record-btrace.c: Include frame-unwind.h.
    	(record_btrace_frame_unwind_stop_reason)
    	(record_btrace_frame_this_id, record_btrace_frame_prev_register)
    	(record_btrace_frame_sniffer, record_btrace_frame_unwind):
    	New.
    	(init_record_btrace_ops): Install it.

commit 824344ca4f9765b5598aed2c11b6f3caf5cc77ba
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Mon Mar 18 16:43:05 2013 +0100

    frame: do not assume unwinding will succeed
    
    In get_frame_unwind_stop_reason, remove the assumption that further frame
    unwinding will succeed.
    
    gdb/
    2013-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	* frame.c (get_frame_unwind_stop_reason): Unconditionally call
    	get_prev_frame_1.

commit 32261e523447cdecdfffe93807ac9bd0de3fe88d
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Mon Mar 18 16:43:05 2013 +0100

    frame, cfa: check unwind stop reason first
    
    Swap the unwind stop reason check and the unwinder check to allow
    non-dwarf2 frame types to fail with a recoverable error.
    
    gdb/
    2013-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	* dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
    	earlier.

commit ea001bdce2a4442eb556c64514c8ec2473f4c4d1
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Mon Mar 18 16:43:05 2013 +0100

    frame, backtrace: allow targets to supply a frame unwinder
    
    Allow targets to supply their own target-specific frame unwinders; one for
    normal frames and one for tailcall frames.  If a target-specific unwinder
    is supplied, it will be chosen before any other unwinder.
    
    The original patch has been split into this and the next two patches.
    
    gdb/
    2013-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	* frame-unwind.c: Include target.h.
    	(frame_unwind_try_unwinder): New function with code from ...
    	(frame_unwind_find_by_frame): ... here.  New variable
    	unwinder_from_target, call also target_get_unwinder)
    	(target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
    	* target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
    	* target.h (struct target_ops): New fields to_get_unwinder and
    	to_get_tailcall_unwinder.
    	(target_get_unwinder, target_get_tailcall_unwinder): New declarations.

commit 1f3ef5810cab04310a11d4d561a4f32329dfb002
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Thu Mar 28 10:38:24 2013 +0100

    record-btrace: supply register target methods
    
    Supply target methods to allow reading the PC.  Forbid anything else.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* record-btrace.c (record_btrace_fetch_registers)
    	(record_btrace_store_registers)
    	(record_btrace_to_prepare_to_store): New.
    	(init_record_btrace_ops): Add the above.

commit f32dbf8c793020592e09d6aafd5c2ed70ea4f2b1
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Mon Jan 13 14:24:50 2014 +0100

    Add target_ops argument to to_prepare_to_store
    
    2013-12-17  Tom Tromey  <tromey@redhat.com>
    
    	* windows-nat.c (windows_prepare_to_store): Add 'self' argument.
    	* target.h (struct target_ops) <to_prepare_to_store>: Add
    	argument.
    	(target_prepare_to_store): Add argument.
    	* target.c (debug_to_prepare_to_store): Add argument.
    	(update_current_target): Update.
    	* remote.c (remote_prepare_to_store): Add 'self' argument.
    	* remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
    	* remote-mips.c (mips_prepare_to_store): Add 'self' argument.
    	* remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
    	* record-full.c (record_full_core_prepare_to_store): Add 'self'
    	argument.
    	* ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
    	* nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
    	* monitor.c (monitor_prepare_to_store): Add 'self' argument.
    	* inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
    	* go32-nat.c (go32_prepare_to_store): Add 'self' argument.

commit 07bbe694e779f4953911a50751abdc00117be7d3
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Fri Apr 26 08:37:06 2013 +0200

    btrace: add replay position to btrace thread info
    
    Add a branch trace instruction iterator pointing to the current replay position
    to the branch trace thread info struct.
    
    Free the iterator when btrace is cleared.
    
    Start at the replay position for the instruction and function-call histories.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* btrace.h (replay) <replay>: New.
    	(btrace_is_replaying): New.
    	* btrace.c (btrace_clear): Free replay iterator.
    	(btrace_is_replaying): New.
    	* record-btrace.c (record_btrace_is_replaying): New.
    	(record_btrace_info): Print insn number if replaying.
    	(record_btrace_insn_history): Start at replay position.
    	(record_btrace_call_history): Start at replay position.
    	(init_record_btrace_ops): Init to_record_is_replaying.

commit 0688d04e19c0e6305c1034eb5e97a66458fd805a
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Wed Apr 17 09:39:43 2013 +0200

    record-btrace: make ranges include begin and end
    
    The "record function-call-history" and "record instruction-history" commands
    accept a range "begin, end".  End is not included in both cases.  Include it.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* record-btrace.c (record_btrace_insn_history_range): Include
    	end.
    	(record_btrace_insn_history_from): Adjust range.
    	(record_btrace_call_history_range): Include
    	end.
    	(record_btrace_call_history_from): Adjust range.
    	* NEWS: Announce changes.
    
    testsuite/
    	* gdb.btrace/function_call_history.exp: Update tests.
    	* gdb.btrace/instruction_history.exp: Update tests.
    
    doc/
    	* gdb.texinfo (Process Record and Replay): Update documentation.

commit 8710b7097e6564969c5e417007a438d8f4ab710e
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Thu Apr 18 10:58:05 2013 +0200

    record-btrace: optionally indent function call history
    
    Add a new modifier /c to the "record function-call-history" command to
    indent the function name based on its depth in the call stack.
    
    Also reorder the optional fields to have the indentation at the very beginning.
    Prefix the insn range (/i modifier) with "inst ".
    Prefix the source line (/l modifier) with "at ".
    Change the range syntax from "begin-end" to "begin,end" to allow copy&paste to
    the "record instruction-history" and "list" commands.
    
    Adjust the respective tests and add new tests for the /c modifier.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* record.h (enum record_print_flag)
    	<record_print_indent_calls>: New.
    	* record.c (get_call_history_modifiers): Recognize /c modifier.
    	(_initialize_record): Document /c modifier.
    	* record-btrace.c (btrace_call_history): Add btinfo parameter.
    	Reorder fields.  Optionally indent the function name.  Update
    	all users.
    	* NEWS: Announce changes.
    
    testsuite/
    	* gdb.btrace/function_call_history.exp: Fix expected field
    	order for "record function-call-history".
    	Add new tests for "record function-call-history /c".
    	* gdb.btrace/exception.cc: New.
    	* gdb.btrace/exception.exp: New.
    	* gdb.btrace/tailcall.exp: New.
    	* gdb.btrace/x86-tailcall.S: New.
    	* gdb.btrace/x86-tailcall.c: New.
    	* gdb.btrace/unknown_functions.c: New.
    	* gdb.btrace/unknown_functions.exp: New.
    	* gdb.btrace/Makefile.in (EXECUTABLES): Add new.
    
    doc/
    	* gdb.texinfo (Process Record and Replay): Document new /c
    	modifier accepted by "record function-call-history".
    	Add /i modifier to "record function-call-history" example.

commit d0fa75352b7ffd586499d28983bff5d714e5211a
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Wed Apr 10 13:43:41 2013 +0200

    btrace: increase buffer size
    
    Try to allocate as much buffer as we can for each thread with a maximum
    of 64KB.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.

commit 5de9129b066591c6ef57829ab9e1c2a030de49af
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Mon May 13 14:57:42 2013 +0200

    record-btrace: start counting at one
    
    The record instruction-history and record-function-call-history commands start
    counting instructions at zero.  This is somewhat unintuitive when we start
    navigating in the recorded instruction history.  Start at one, instead.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* btrace.c (ftrace_new_function): Start counting at one.
    	* record-btrace.c (record_btrace_info): Adjust number of calls
    	and insns.
    	* NEWS: Announce it.
    
    testsuite/
        * gdb.btrace/instruction_history.exp: Update.
        * gdb.btrace/function_call_history.exp: Update.

commit 7acbe13307c209309f1733757b6d5d7a2d9bce9b
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Tue Mar 26 11:32:20 2013 +0100

    record-btrace: fix insn range in function call history
    
    With the "/i" modifier, we print the instruction number range in the
    "record function-call-history" command as [begin, end).
    
    It would be more intuitive if we printed the range as [begin, end].
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* record-btrace.c (btrace_call_history_insn_range): Print
    	insn range as [begin, end].

commit 23a7fe7580c5625dd19c852faf9a3acb56293207
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Fri Mar 22 14:32:47 2013 +0100

    btrace: change branch trace data structure
    
    The branch trace is represented as 3 vectors:
      - a block vector
      - a instruction vector
      - a function vector
    
    Each vector (except for the first) is computed from the one above.
    
    Change this into a graph where a node represents a sequence of instructions
    belonging to the same function and where we have three types of edges to connect
    the function segments:
      - control flow
      - same function (instance)
      - call stack
    
    This allows us to navigate in the branch trace.  We will need this for "record
    goto" and reverse execution.
    
    This patch introduces the data structure and computes the control flow edges.
    It also introduces iterator structs to simplify iterating over the branch trace
    in control-flow order.
    
    It also fixes PR gdb/15240 since now recursive calls are handled correctly.
    Fix the test that got the number of expected fib instances and also the
    function numbers wrong.
    
    The current instruction had been part of the branch trace.  This will look odd
    once we start support for reverse execution.  Remove it.  We still keep it in
    the trace itself to allow extending the branch trace more easily in the future.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* btrace.h (struct btrace_func_link): New.
    	(enum btrace_function_flag): New.
    	(struct btrace_inst): Rename to ...
    	(struct btrace_insn): ...this. Update all users.
    	(struct btrace_func) <ibegin, iend>: Remove.
    	(struct btrace_func_link): New.
    	(struct btrace_func): Rename to ...
    	(struct btrace_function): ...this. Update all users.
    	(struct btrace_function) <segment, flow, up, insn, insn_offset)
    	(number, level, flags>: New.
    	(struct btrace_insn_iterator): Rename to ...
    	(struct btrace_insn_history): ...this.
    	Update all users.
    	(struct btrace_insn_iterator, btrace_call_iterator): New.
    	(struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
    	(struct btrace_target_info) <begin, end, level>
    	<insn_history, call_history>: New.
    	(btrace_insn_get, btrace_insn_number, btrace_insn_begin)
    	(btrace_insn_end, btrace_insn_prev, btrace_insn_next)
    	(btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
    	(btrace_call_number, btrace_call_begin, btrace_call_end)
    	(btrace_call_prev, btrace_call_next, btrace_call_cmp)
    	(btrace_find_function_by_number, btrace_set_insn_history)
    	(btrace_set_call_history): New.
    	* btrace.c (btrace_init_insn_iterator)
    	(btrace_init_func_iterator, compute_itrace): Remove.
    	(ftrace_print_function_name, ftrace_print_filename)
    	(ftrace_skip_file): Change
    	parameter to const.
    	(ftrace_init_func): Remove.
    	(ftrace_debug): Use new btrace_function fields.
    	(ftrace_function_switched): Also consider gaining and
    	losing symbol information).
    	(ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
    	(ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
    	(ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
    	New.
    	(ftrace_new_function): Move. Remove debug print.
    	(ftrace_update_lines, ftrace_update_insns): New.
    	(ftrace_update_function): Check for call, ret, and jump.
    	(compute_ftrace): Renamed to ...
    	(btrace_compute_ftrace): ...this. Rewritten to compute call
    	stack.
    	(btrace_fetch, btrace_clear): Updated.
    	(btrace_insn_get, btrace_insn_number, btrace_insn_begin)
    	(btrace_insn_end, btrace_insn_prev, btrace_insn_next)
    	(btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
    	(btrace_call_number, btrace_call_begin, btrace_call_end)
    	(btrace_call_prev, btrace_call_next, btrace_call_cmp)
    	(btrace_find_function_by_number, btrace_set_insn_history)
    	(btrace_set_call_history): New.
    	* record-btrace.c (require_btrace): Use new btrace thread
    	info fields.
    	(record_btrace_info, btrace_insn_history)
    	(record_btrace_insn_history, record_btrace_insn_history_range):
    	Use new btrace thread info fields and new iterator.
    	(btrace_func_history_src_line): Rename to ...
    	(btrace_call_history_src_line): ...this. Use new btrace
    	thread info fields.
    	(btrace_func_history): Rename to ...
    	(btrace_call_history): ...this. Use new btrace thread info
    	fields and new iterator.
    	(record_btrace_call_history, record_btrace_call_history_range):
    	Use new btrace thread info fields and new iterator.
    
    testsuite/
    	* gdb.btrace/function_call_history.exp: Fix expected function
    	trace.
    	* gdb.btrace/instruction_history.exp: Initialize traced.
    	Remove traced_functions.

commit 8372a7cb96e9d193cb1f85f3fd2c01e38c33a750
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Wed Dec 18 14:13:54 2013 +0100

    frame: add frame_id_build_unavailable_stack_special
    
    Add a function to build a frame_id for a frame with unavailable stack
    and with a special identifier address.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* frame.h (frame_id_build_unavailable_stack_special): New.
    	* frame.c (frame_id_build_unavailable_stack_special): New.

commit c2170eeffa616c51ca4c7ab7142523c04b762603
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Fri Mar 22 15:56:56 2013 +0100

    gdbarch: add instruction predicate methods
    
    Add new methods to gdbarch for analyzing the instruction at a given address.
    Implement those methods for i386 and amd64 architectures.
    
    This is needed by "record btrace" to detect function calls in the
    execution trace.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
    	(amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
    	(amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
    	to gdbarch.
    	* i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
    	(i386_insn_is_jump, i386_jmp_p): New.
    	(i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
    	insn_is_jump to gdbarch.
    	* gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
    	* gdbarch.h: Regenerated.
    	* gdbarch.c: Regenerated.
    	* arch-utils.h (default_insn_is_call, default_insn_is_ret)
    	(default_insn_is_jump): New.
    	* arch-utils.c (default_insn_is_call, default_insn_is_ret)
    	(default_insn_is_jump): New.

commit 864089d2f64c6624aac3f52ece2c31dff6a8f59f
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Mon Sep 30 15:00:16 2013 +0200

    btrace: uppercase btrace_read_type
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* common/btrace-common.h (btrace_read_type) <btrace_read_all>:
    	Change to ...
    	(btrace_read_type) <BTRACE_READ_ALL>: ... this.  Update users.
    	(btrace_read_type) <btrace_read_new>: Change to ...
    	(btrace_read_type) <BTRACE_READ_NEW>: ... this.  Update users.

commit ed9edfb5d5edb1dd0b6280ae4acdd9963a12ebe6
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Mon Jun 3 14:32:15 2013 +0200

    btrace, linux: fix memory leak when reading branch trace
    
    When it takes more than one iteration to read the BTS trace, the trace from the
    previous iteration is leaked.  Fix it.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* common/linux-btrace.c (linux_read_btrace): Free trace from
    	previous iteration.

commit 724c7dd8a4520d4020883b4ae3a3f2fa489acb1a
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Wed Dec 18 14:47:17 2013 +0100

    btrace, test: fix multi-line btrace tests
    
    For testing multi-line test output, gdb.btrace tests used the following
    pattern:
    
      gdb_test "..." "
      ...\r
      ..."
    
    Change this to:
    
      gdb_test "..." [join [list \
        "..." \
        "..."] "\r\n"]
    
    Also extract repeated tests into a test function and shorten or remove
    test messages.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    testsuite/
    	* gdb.btrace/function_call_history.exp: Update
    	* gdb.btrace/instruction_history.exp: Update.

commit 6d78d93b8d3854dcab6c90307b19f43e1a93f592
Author: Markus Metzger <markus.t.metzger@intel.com>
Date:   Thu Jan 16 09:47:51 2014 +0100

    test, btrace: update expected text
    
    The error message for starting recording twice changed.
    Update the expected text to fix resulting regressions.
    
    2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
    
    	* gdb.btrace/enable.exp: Update expected text.

commit 93a360cc5d11a18572239b30d5bae63703012086
Author: Omair Javaid <omair.javaid@linaro.org>
Date:   Thu Jan 16 11:00:00 2014 +0000

    Fix testsuite/gdb.dwarf2/dw2-dos-drive.exp on ARM.
    
    This test currently fails on ARM:
    
      (gdb) PASS: gdb.dwarf2/dw2-dos-drive.exp: set breakpoint pending off
      break 'z:file.c':func
      Cannot access memory at address 0x0
    
    The error is GDB trying to read the prologue at the breakpoint's
    address, and failing:
    
      38 throw_error() exceptions.c:444 0x0016728c
      37 memory_error() corefile.c:204 0x001d1fcc
      36 read_memory() corefile.c:223 0x001d201a
      35 read_memory_unsigned_integer() corefile.c:312 0x001d2166
      34 arm_skip_prologue() arm-tdep.c:1452 0x00054270
    
      static CORE_ADDR
      arm_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc)
      {
      ...
        for (skip_pc = pc; skip_pc < limit_pc; skip_pc += 4)
          {
            inst = read_memory_unsigned_integer (skip_pc, 4, byte_order_for_code);
    
    
    The test doesn't execute the compiled object's code, so GDB will try
    to read memory from the binary's sections.  Instructions on ARM are
    4-byte wide, and thus ARM's prologue scanner reads in 4-byte chunks.
    As the section 'func' is put at is only 1 byte long, and no other
    section is allocated contiguously:
    
      ...
      Sections:
      Idx Name          Size      VMA       LMA       File off  Algn
        0 .text         00000001  00000000  00000000  00000034  2**0
                        CONTENTS, ALLOC, LOAD, READONLY, CODE
      ...
    
    ... the exec target fails the read the 4 bytes.
    
    Fix this by increasing the function's size.
    
    gdb/testsuite/ChangeLog:
    2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
    
    	* gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
    	bytes.

commit f6f6c6790a0f3704575b9e9c87cf55baf215eef3
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 15 12:53:04 2014 -0800

    Skip directories with LIBPATH_SUFFIX_SKIP suffix
    
    On Linux/x86-64, when binutils is configured with --libdir=/usr/lib64,
    genscripts.sh treats /usr/lib64 as the default search directory.  It
    puts /usr/lib64 in linker scripts for all emulations, like
    
    ---
    /* Script for -z combreloc: combine and sort reloc sections */
    OUTPUT_FORMAT("elf32-i386", "elf32-i386",
    	      "elf32-i386")
    OUTPUT_ARCH(i386)
    ENTRY(_start)
    SEARCH_DIR("/usr/x86_64-redhat-linux/lib32");
    SEARCH_DIR("/usr/i386-redhat-linux/lib32"); SEARCH_DIR("/usr/lib6432");
    SEARCH_DIR("/usr/local/lib32"); SEARCH_DIR("/lib32");
    SEARCH_DIR("/usr/lib32"); SEARCH_DIR("/usr/i386-redhat-linux/lib");
    SEARCH_DIR("/usr/lib64"); SEARCH_DIR("/usr/local/lib");
    SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
    ---
    
    /usr/lib6432 is odd and /usr/lib64 is wrong.  This patch changes
    genscripts.sh to check LIBPATH_SUFFIX_SKIP if it is defined.  It
    skips directories with LIBPATH_SUFFIX_SKIP suffix.
    
    	PR ld/16456
    	* genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
    	suffix.
    	* emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
    	for elf32_x86_64 emulation.
    	* emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
    	for elf_i386 emulation.

commit 6fcc66ab70d67efb1a8b96532b5eb96883caa727
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Jan 16 11:47:25 2014 +1030

    Tidy ld use of bfd_section userdata.
    
    A long time ago ld made use of userdata to tie an output section to
    its lang_input_statement_struct object file.  Some time later Joern
    made map file printing of symbols at lot faster, using userdata on
    input sections.  That complicated allocation of userdata, and when the
    output section use disappeared a year later, the code wasn't properly
    cleaned up.  This patch does that cleanup, and also tidies the symbol
    printing code to not allocate userdata where it won't be needed.  We
    don't print symbols defined in the absolute section or in output
    sections.
    
    	* ld.h (fat_section_userdata_type, get_userdata): Move to..
    	* ldlang.h (input_section_userdata_type, get_userdata): ..here.
    	* ldlang.c (init_map_userdata): Delete.  Fold into..
    	(sort_def_symbol): ..here.  Don't attach input section userdata
    	to output sections or global bfd sections.
    	(lang_map): Don't pre-allocate input section userdata.
    	(init_os): Don't allocate userdata for output sections.
    	(print_all_symbols): Update.

commit b75d42bce5609effad86fb8b5d902f4c337e0cf9
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Jan 16 11:50:28 2014 +1030

    Fix mips segfault on GOT access of absolute symbol
    
    When a symbol is absolute, this code in mips_elf_record_got_page_entry
          entry = bfd_zalloc (sec->owner, sizeof (*entry));
    segfaults.  sec == bfd_abs_section_ptr and sec->owner == NULL.
    
    	* elfxx-mips.c (mips_elf_record_got_page_entry): Pass in a
    	mips_elf_traverse_got_arg* rather than mips_got_info*.
    	Adjust caller.  Alloc on output_bfd rather than symbol section
    	owner.

commit ab7f45ba10d0a1a636a5ce7b4784a1d6ce3e94a3
Author: Doug Evans <dje@google.com>
Date:   Wed Jan 15 16:35:37 2014 -0800

    delete thread_id_to_gdb_id, unused
    
    	* inferiors.c (thread_id_to_gdb_id): Delete.
    	* inferiors.h (thread_id_to_gdb_id): Delete.

commit 5ae8deca2ac4925593779e52d4b7387be7f9bd9d
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Jan 16 09:31:07 2014 +1030

    daily update

commit 3772b53f141b1324f3b77b5cad0e95104b1c9d10
Author: Maciej W. Rozycki <macro@codesourcery.com>
Date:   Wed Jan 15 22:17:53 2014 +0000

    AArch64: gdb.base/float.exp: Fix `info float' test
    
    	* gdb.base/float.exp: Handle "aarch64*-*-*" targets.

commit fbcbc3fda41263ce865b6dbe9f5382e027fcd8c5
Author: Doug Evans <dje@google.com>
Date:   Wed Jan 15 13:14:06 2014 -0800

    * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print uint32_t.

commit 3d548a532dd74f9bf5f2033541f0b504d96baf04
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Dec 30 20:34:16 2013 -0700

    move the "main" data into the per-BFD object
    
    This adds the "main"-related data into the per-BFD.  This is needed
    because once symbol sharing across objfiles is complete, computing the
    main name as a side effect of symbol reading will no longer work --
    the symbols simply won't be re-read.
    
    After this change, set_main_name is only used by the main_name
    machinery itself, so this patch makes it static.
    
    2014-01-15  Tom Tromey  <tromey@redhat.com>
    
    	* dbxread.c (process_one_symbol): Use set_objfile_main_name.
    	* dwarf2read.c (read_partial_die): Use set_objfile_main_name.
    	* objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
    	(set_objfile_main_name): New function.
    	* objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
    	language_of_main>: New fields.
    	(set_objfile_main_name): Declare.
    	* symtab.c (find_main_name): Loop over objfiles to find the main
    	name and language.
    	(set_main_name): Now static.
    	(get_main_info): Add comment.
    	* symtab.h (set_main_name): Don't declare.

commit 32ac0d11e648f4d5fa07c347ab109222a1162a0e
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Dec 30 20:18:24 2013 -0700

    move main name into the progspace
    
    This moves the "main" name and language into an object attached to the
    current progspace.  This prevents problems if there are multiple
    inferiors tha have different ideas of "main" -- which matters at least
    for unwinding, see frame.c:inside_main_func.
    
    2014-01-15  Tom Tromey  <tromey@redhat.com>
    
    	* symtab.c (main_progspace_key): New global.
    	(struct main_info): New.
    	(name_of_main, language_of_main): Remove.
    	(get_main_info, main_info_cleanup): New function.
    	(set_main_name, main_name, main_language): Use get_main_info.
    	(_initialize_symtab): Initialize main_progspace_key.

commit 9e6c82ad4f55d0ff125721b94fa2191f1cc1000a
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Dec 30 20:05:34 2013 -0700

    make language_of_main static
    
    This makes the global language_of_main static.  Now it can be set only
    via a new argument to set_main_name.
    
    2014-01-15  Tom Tromey  <tromey@redhat.com>
    
    	* dbxread.c (process_one_symbol): Update.
    	* dwarf2read.c (read_partial_die): Update.
    	* symfile.c (set_initial_language): Call main_language.
    	* symtab.c (language_of_main): Now static.
    	(set_main_name): Add 'lang' parameter.
    	(find_main_name): Update.
    	(main_language): New function.
    	(symtab_observer_executable_changed): Update.
    	* symtab.h (set_main_name): Update.
    	(language_of_main): Remove.
    	(main_language): Declare.

commit 6ef55de768d4ab9065bc92aa00d828212c4af4f0
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 31 06:57:18 2013 -0700

    move the entry point info into the per-bfd object
    
    This moves the entry point information into the per-BFD object and
    arranges not to recompute it when it has already been computed.
    
    2014-01-15  Tom Tromey  <tromey@redhat.com>
    
    	* symfile.c (init_entry_point_info): Use new "initialized" field.
    	Update.
    	* objfiles.h (struct entry_point) <initialized>: New field.
    	(struct objfile_per_bfd_storage) <ei>: New field, moved from...
    	(struct objfile) <ei>: ...here.  Remove.
    	* objfiles.c (entry_point_address_query): Update.

commit 53eddfa6069cc556a22d388fbde0cc83beb91bfb
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 31 06:52:33 2013 -0700

    relocate the entry point address when used
    
    This changes the entry point to be unrelocated in the objfile, and
    instead applies the relocation when it is used.
    
    2014-01-15  Tom Tromey  <tromey@redhat.com>
    
    	* objfiles.c (entry_point_address_query): Relocate entry point
    	address.
    	(objfile_relocate1): Do not relocate entry point address.
    	* objfiles.h (struct entry_info) <entry_point>: Update comment.
    	<the_bfd_section_index>: New field.
    	* symfile.c (init_entry_point_info): Find the entry point's
    	section.

commit d56e56aaa79d7d65e9d969a7bf6795f2612d34ca
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Dec 31 02:47:37 2013 -0700

    change solib-frv to use entry_point_address_query
    
    This is just a minor cleanup in advance of some other changes, that
    modifies solib-frv.c to use entry_point_address_query.  I don't have a
    good way to test this but I think it is obviously correct.
    
    2014-01-15  Tom Tromey  <tromey@redhat.com>
    
    	* solib-frv.c (enable_break): Use entry_point_address_query.

commit 33a97bbe01566b42a9e6a0466814c2fb46d0c368
Author: Omair Javaid <omair.javaid@linaro.org>
Date:   Sat Jan 4 00:15:36 2014 +0500

    gdb: Add a NEWS entry for ARM record/replay improvements
    
    This patch adds a news entry about improvements in record-replay and
    reverse debugging support for arm*-linux* targets.
    
    gdb/ChangeLog:
    
    2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
    
    	* NEWS: Add note on improved process record-replay on
    	arm*-linux* targets.

commit 596662fa9956dffad8ac9c3a9eb001bf39e1314e
Author: Omair Javaid <omair.javaid@linaro.org>
Date:   Thu Jan 9 15:59:55 2014 +0500

    gdb: ARM: Update configure.tgt and enable gdb.reverse testsuite
    
    gdb/testsuite/ChangeLog:
    
    2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
    
    	* lib/gdb.exp (supports_process_record): Return true for
    	arm*-linux*.  (supports_reverse): Likewise.

commit c6ec2b30552155bab7aea718fd97fd5f90206c9f
Author: Omair Javaid <omair.javaid@linaro.org>
Date:   Thu Jan 9 15:33:55 2014 +0500

    gdb: ARM: Add support for thumb32 instructions recording
    
    gdb/ChangeLog:
    
    2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
    
    	* arm-tdep.c (enum arm_record_result): New enum.
    	(arm_record_unsupported_insn): New function.
    	(arm_record_coproc_data_proc): Removed.
    	(thumb2_record_ld_st_multiple): New function.
    	(thumb2_record_ld_st_dual_ex_tbb): New function.
    	(thumb2_record_data_proc_sreg_mimm): New function.
    	(thumb2_record_ps_dest_generic): New function.
    	(thumb2_record_branch_misc_cntrl): New function.
    	(thumb2_record_str_single_data): New function.
    	(thumb2_record_ld_mem_hints): New function.
    	(thumb2_record_ld_word): New function.
    	(thumb2_record_lmul_lmla_div): New function.
    	(thumb2_record_decode_insn_handler): New function.
    	(decode_insn): Add thumb32 instruction handlers.

commit 97dfe206170141e809e8ebef68a6a371861fd7f9
Author: Omair Javaid <omair.javaid@linaro.org>
Date:   Thu Jan 9 15:49:27 2014 +0500

    gdb: ARM: Adds support for recording system call instructions
    
    gdb/ChangeLog:
    
    2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
    
    	* arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
    	(struct arm_linux_record_tdep): Declare.
    	(arm_canonicalize_syscall): New function.
    	(arm_all_but_pc_registers_record): New function.
    	(arm_linux_syscall_record): New function.
    	(arm_linux_init_abi): Add syscall recording constructs.
    	* arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
    	decoding.  (arm_record_coproc_data_proc): Update arm syscall
    	decoding.
    	* arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
    	<arm_syscall_record>: New field.
    	* configure.tgt (arm*-*-linux*): Add linux-record.o to
    	gdb_target_obs.

commit 9904a494c1f85d283ffa7c18ac5103d2ff2feba6
Author: Omair Javaid <omair.javaid@linaro.org>
Date:   Sat Jan 4 00:15:32 2014 +0500

    gdb: ARM: Fix for bug in pop instruction decoding
    
    This patch fixes thumb push instruction recording by replacing base
    register from pc to sp.
    
    gdb/ChangeLog:
    
    2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
    
    	* arm-tdep.c (thumb_record_misc): Update to use sp as base
    	register for push instruction recording.

commit f969241e66e5c302d66a28d3f6ae5ce6fee19350
Author: Omair Javaid <omair.javaid@linaro.org>
Date:   Sat Jan 4 00:15:31 2014 +0500

    gdb: ARM: Fix for bugs in push and ldm instructions decoding
    
    This patch corrects the register numbers and removes multiple loops in
    recording procedure of instructions involving multiple registers.
    
    gdb/ChangeLog:
    
    2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
    
    	* arm-tdep.c (thumb_record_misc): Update to correct logical
    	error while recording ldm, ldmia and pop instructions.

commit bfbbec0088b7d581ce751cbbe4d6f3af90e086d1
Author: Omair Javaid <omair.javaid@linaro.org>
Date:   Thu Jan 9 15:35:45 2014 +0500

    gdb: ARM: Fix for memory record corruption due to 64bit addresses
    
    gdb/ChangeLog:
    
    2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
    
    	* arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.

commit e40adcc9f8ba2dd64fdee98013ee0a98031684ea
Author: Pedro Alves <palves@redhat.com>
Date:   Wed Jan 15 16:18:04 2014 +0000

    Fix go32-nat.c build fallout from to_detach constification.
    
    The recent constification of to_detach missed updating the forward
    declaration of go32_detach, breaking the build:
    
     ../../src/gdb/go32-nat.c:387:1: error: conflicting types for 'go32_detach'
     ../../src/gdb/go32-nat.c:240:13: note: previous declaration of 'go32_detach' was here
    
    go32_detach is actually defined before it's ever used, making the
    forward declaration is unnecessary.  So we can just remove it instead
    of updating it.  While at it, remove all others in the same situation.
    Tested by building a djgpp gdb.
    
    gdb/
    2014-01-15  Pedro Alves  <palves@redhat.com>
    
    	* go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
    	(go32_resume, go32_fetch_registers, store_register)
    	(go32_store_registers, go32_prepare_to_store)
    	(go32_xfer_memory, go32_files_info, go32_kill_inferior)
    	(go32_create_inferior, go32_can_run, go32_terminal_init)
    	(go32_terminal_inferior, go32_terminal_ours): Delete forward
    	declarations.

commit f9c316c4d75be236bbaa8464ef803ed2d3859d6d
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 15 07:43:19 2014 -0800

    Silence uninitialized warning on ehdr_start_save
    
    Older GCC, like 4.1/4.2, will issue an uninitialized warning on
    ehdr_start_save.  This patch silences by using
    
    struct bfd_link_hash_entry ehdr_start_save = ehdr_start_save;
    
    	* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
    	Silence uninitialized warning on ehdr_start_save with older
    	GCC.

commit b0a16e66b0391025b04acb79af36d4618379cb14
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Dec 19 14:33:07 2013 -0700

    introduce async_callback_ftype
    
    This introduces async_callback_ftype.  This is needed for
    make-target-delegates to work properly, as it doesn't implement a real
    parser.  I think it's also an ok cleanup in its own right.
    
    2014-01-15  Tom Tromey  <tromey@redhat.com>
    
    	* target.h (async_callback_ftype): New typedef.
    	(struct target_ops) <to_async>: Use it.

commit bf7105a442e58c3444b096f30fd59c5c8acfd362
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Wed Jan 15 16:40:22 2014 +0400

    Fix small style violation in py-value.c:get_field_type
    
    gdb/ChangeLog:
    
            * python/py-value.c (get_field_type): Remove unnecessary curly
            braces for single-statement if block.
    
    Tested on x86_64-linux.

commit a8f35c2ec3264c1825412ecb1eac22192a972917
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Wed Jan 15 16:28:08 2014 +0400

    Add missing empty line after declarations in "if" block (py-type.c).
    
    This patch fixes a small coding-style violation...
    
    gdb/ChangeLog:
    
            * python/py-type.c (convert_field): Add missing empty line
            after declarations.

commit dcf106f37de996b7d7eb568382fbc9f403804174
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Mon Dec 23 04:25:14 2013 +0400

    Small fixes to the GDB/MI Output Syntax grammar.
    
    This patch fixes the grammar, and tries to do it in a way that makes
    the logic behind the current implementation a little clearer.
    
    gdb/doc/ChangeLog:
    
            (from Yuanhui Zhang  <asmwarrior@gmail.com>)
            (from Joel Brobecker  <brobecker@adacore.com>)
            * gdb.texinfo (GDB/MI Output Syntax): Add some missing "nl"
            markers.  Remove one that was misplaced.

commit c353e543fe20cb01262548486ee2c9af70608a01
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 15 03:59:42 2014 -0800

    Revert the last change
    
    It has been fixed by
    
    commit 4199e3b8669d0a36448687850374fdc2ad7240b6
    Author: Alan Modra <amodra@gmail.com>
    Date:   Wed Jan 15 21:50:55 2014 +1030
    
        non-PIC references to __ehdr_start in pie and shared
    
        Rather than hacking every backend to not discard dynamic relocations
        against an undefined hidden __ehdr_start, make it appear to be defined
        early.  We want __ehdr_start hidden before size_dynamic_sections so
        that it isn't put in .dynsym, but we do need the dynamic relocations
        for a PIE or shared library with a non-PIC reference.  Defining it
        early is wrong if we don't actually define the symbol later to its
        proper value.  (In some cases we want to leave the symbol undefined,
        for example, when the ELF header isn't loaded, and we don't have this
        infomation available in before_allocation.)
    
    	* elf32-i386.c (elf_i386_allocate_dynrelocs): Revert the last
    	change.
    	* elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.

commit 4199e3b8669d0a36448687850374fdc2ad7240b6
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Jan 15 21:50:55 2014 +1030

    non-PIC references to __ehdr_start in pie and shared
    
    Rather than hacking every backend to not discard dynamic relocations
    against an undefined hidden __ehdr_start, make it appear to be defined
    early.  We want __ehdr_start hidden before size_dynamic_sections so
    that it isn't put in .dynsym, but we do need the dynamic relocations
    for a PIE or shared library with a non-PIC reference.  Defining it
    early is wrong if we don't actually define the symbol later to its
    proper value.  (In some cases we want to leave the symbol undefined,
    for example, when the ELF header isn't loaded, and we don't have this
    infomation available in before_allocation.)
    
    ld/
    	* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
    	__ehdr_start before size_dynamic_sections and restore afterwards.
    ld/testsuite/
    	* ld-elf/ehdr_start-shared.d: New.
    	* ld-elf/ehdr_start-userdef.d: xfail frv.
    	* ld-elf/ehdr_start-weak.d: Likewise.
    	* ld-elf/ehdr_start.d: Likewise.

commit bb4142cf49651ddcb0e00f6aaf451272c4c9977d
Author: Doug Evans <dje@google.com>
Date:   Tue Jan 14 18:36:33 2014 -0800

    psymtab cleanup patch 3/3
    
    This last patch removes "partial" from the names of
    expand_partial_symbol_names and map_partial_symbol_filenames.
    It also renames expand_partial_symbol_names to match the
    struct quick_symbol_functions "method" that it wraps:
    expand_symtabs_matching.
    
    This patch also adds two parameters to expand_symtabs_matching
    so that it can fully wrap the underlying quick_symbol_functions method.
    This makes it usable in more places.
    I thought of having a cover function that still had the same
    signature as the old expand_partial_symbol_names function,
    but I couldn't think of a good name, and it wasn't clear it was
    worth it anyway.
    
    	* symfile.h (expand_symtabs_matching): Renamed from
    	expand_partial_symbol_names.  Update prototype.
    	(map_symbol_filenames): Renamed from map_partial_symbol_filenames.
    	* symfile.c (expand_symtabs_matching): Renamed from
    	expand_partial_symbol_names.  New args file_matcher, kind.
    	Rename arg fun to symbol_matcher.
    	(map_symbol_filenames): Renamed from map_partial_symbol_filenames.
    	* ada-lang.c (ada_complete_symbol_matcher): Renamed from
    	ada_expand_partial_symbol_name.
    	(ada_make_symbol_completion_list): Update to call
    	expand_symtabs_matching.
    	(ada_add_global_exceptions): Call expand_symtabs_matching.
    	* mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
    	call map_symbol_filenames.
    	* symtab.c (sources_info): Update to call map_symbol_filenames.
    	(search_symbols): Call expand_symtabs_matching.
    	(symbol_completion_matcher): Renamed from expand_partial_symbol_name.
    	(default_make_symbol_completion_list_break_on): Update to call
    	expand_symtabs_matching.
    	(make_source_files_completion_list): Update to call
    	map_symbol_filenames.

commit 206f2a5777679e6d1ad21ce435f6e7af92e2d41a
Author: Doug Evans <dje@google.com>
Date:   Tue Jan 14 18:30:31 2014 -0800

    psymtab cleanup patch 2/3
    
    This patch adds two typedefs:
    expand_symtabs_file_matcher_ftype
    expand_symtabs_symbol_matcher_ftype
    
    It also renames the NAME_MATCHER argument in expand_symtabs_matching.
    The function is named expand_symtabs_matching and it takes a name_matcher
    argument.  Name of what?  The symtab?  A symbol?
    I made it SYMBOL_MATCHER to make it clearer.
    
    	* symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
    	(expand_symtabs_symbol_matcher_ftype): New typedef.
    	(quick_symbol_functions.expand_symtabs_matching): Update to use.
    	expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
    	* symfile.c (expand_partial_symbol_names): Update to use
    	expand_symtabs_symbol_matcher_ftype.
    	* dwarf2read.c (dw2_expand_symtabs_matching): Update to use
    	expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
    	Arg name_matcher renamed to symbol_matcher.
    	* psymtab.c (recursively_search_psymtabs): Update to use
    	expand_symtabs_symbol_matcher_ftype.  Arg name_matcher renamed to
    	sym_matcher.
    	(expand_symtabs_matching_via_partial): Update to use
    	expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
    	Arg name_matcher renamed to symbol_matcher.

commit 540c2971fa25a14ae16a9bb14ba2f424b5f1ea96
Author: Doug Evans <dje@google.com>
Date:   Tue Jan 14 18:19:51 2014 -0800

    psymtab cleanup patch 1/3
    
    This is the first of a set of three patches to cleanup psymtab.c a bit.
    
    Basically, these two functions do not belong in psymtab.c:
    expand_partial_symbol_names, map_partial_symbol_filenames,
    and "partial" does not belong in the function name.
    
    This first patch moves them to a better location.
    The second patch adds some typedefs for function parameters to
    quick_symbol_functions.expand_symtabs_matching.
    The third patch removes "partial" from the function names
    and uses them in more places.
    
    	* psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
    	(map_partial_symbol_filenames): Ditto.
    	* psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
    	(map_partial_symbol_filenames): Ditto.
    	* symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
    	(map_partial_symbol_filenames): Ditto.
    	* symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
    	(map_partial_symbol_filenames): Ditto.
    	* symtab.c: Delete #include "psymtab.h".

commit 818d220a6fe3d0512a226188e9164245a02c9185
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jan 14 16:42:35 2014 -0800

    Don't discard relocs against __ehdr_start
    
    __ehdr_start will be defined by assign_file_positions_for_non_load_sections
    later.
    
    	PR ld/16428
    	* elf32-i386.c (elf_i386_allocate_dynrelocs): Don't discard relocs
    	against __ehdr_start.
    	* elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.

commit c3ce498cbd79fb40e31e5d5b5298e6976d4cdbb1
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jan 14 16:40:13 2014 -0800

    Revert the last change
    
    	* elf32-i386.c (elf_i386_allocate_dynrelocs): Revert the last
    	change.
    	* elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.

commit 499de2f6ba09214fb2dd7575f844b6d0003403df
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Jan 15 09:30:50 2014 +1030

    daily update

commit d1ec1e40b5b457c92aaa23f7af40e026e4596a99
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jan 14 10:48:39 2014 -0800

    Don't update reloc count if there are any non pc-relative relocs
    
    	PR ld/16428
    	* elf32-i386.c (elf_i386_allocate_dynrelocs): Don't update reloc
    	count if there are any non pc-relative relocs.
    	* elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.

commit 8213266aeadc6cfae8313f1335f33a43e40f0a8c
Author: Pedro Alves <palves@redhat.com>
Date:   Tue Jan 14 16:12:19 2014 +0000

    Fix "is a record target open" checks.
    
    RECORD_IS_USED and record_full_open look at current_target.to_stratum
    to determine whether a record target is in use.  This is wrong because
    arch_stratum is greater than record_stratum, so if an arch_stratum
    target is pushed, RECORD_IS_USED and record_full_open will miss it.
    
    To fix this, we can use the existing find_record_target instead, which
    looks up for a record stratum target across the target stack.  Since
    that means exporting find_record_target in record.h, RECORD_IS_USED
    ends up redundant, so the patch eliminates it.
    
    That exercise then reveals other issues:
    
    - adjust_pc_after_break is gating record_full_... calls based on
    RECORD_IS_USED.  But, record_full_ calls shouldn't be made when
    recording with the record-btrace target.  So this adds a new
    record_full_is_used predicate to be used in that spot.
    
    - record_full_open says "Process record target already running", even
    if the recording target is record-btrace ("process record" is the
    original complete name of the record-full target).  record_btrace_open
    only says "The process is already being recorded." and does not
    suggest "record stop", like record-full does.  The patch factors out
    and merges that error to a new record_preopen function that all record
    targets call in their open routine.
    
    Tested on x86_64 Fedora 17.
    
    gdb/
    2014-01-14  Pedro Alves  <palves@redhat.com>
    	    Tom Tromey  <tromey@redhat.com>
    
    	* infrun.c (use_displaced_stepping): Use find_record_target
    	instead of RECORD_IS_USED.
    	(adjust_pc_after_break): Use record_full_is_used instead of
    	RECORD_IS_USED.
    	* record-btrace.c (record_btrace_open): Call record_preopen
    	instead of checking RECORD_IS_USED.
    	* record-full.c (record_full_shortname)
    	(record_full_core_shortname): New globals.
    	(record_full_is_used): New function.
    	(find_full_open): Call record_preopen instead of checking
    	RECORD_IS_USED.
    	(init_record_full_ops): Set the target's shortname to
    	record_full_shortname.
    	(init_record_full_core_ops): Set the target's shortname to
    	record_full_core_shortname.
    	* record-full.h (record_full_is_used): Declare.
    	* record.c (find_record_target): Make extern.
    	(record_preopen): New function.
    	* record.h (RECORD_IS_USED): Delete macro.
    	(find_record_target, record_preopen): Declare functions.

commit f44a1f8e513b37bcc52ba9ea0c172c3e94852756
Author: Christophe Lyon <christophe.lyon@st.com>
Date:   Tue Jan 14 15:53:50 2014 +0100

    2014-01-14  Michael Hudson-Doyle  <michael.hudson@linaro.org>
    	    Kugan Vivekanandarajah  <kugan.vivekanandarajah@linaro.org>
    
    	bfd/
    	* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use correct
    	offset while calculating relocation address.
    	(elfNN_aarch64_create_small_pltn_entry): Likewise.
    	(elfNN_aarch64_init_small_plt0_entry): Likewise.

commit 7ec1862d1ac21dd92a3ea76a5a15eda4cf7b41ce
Author: Yao Qi <yao@codesourcery.com>
Date:   Thu Jan 2 15:36:55 2014 +0800

    Change 'len''s type from LONGEST to ULONGEST: gdbarch methods core_xfer_shared_libraries and core_xfer_shared_libraries_aix
    
    This patch changes the type of 'len' from LONGEST to ULONGEST.  'len'
    is the argument of gdbarch methods core_xfer_shared_libraries and
    core_xfer_shared_libraries_aix.
    
    gdb:
    
    2014-01-14  Yao Qi  <yao@codesourcery.com>
    
    	* gdbarch.sh (core_xfer_shared_libraries): Change its argument
    	'len''s type to ULONGEST.
    	(core_xfer_shared_libraries_aix): Likewise.
    	* gdbarch.c, gdbarch.h: Reenerated.
    	* i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
    	Change type of 'len' to ULONGEST.
    	* rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
    	(rs6000_aix_core_xfer_shared_libraries_aix): Likewise.

commit dea80a27057a9bbf87f0bf5675b5a03ddd6fe18c
Author: Yao Qi <yao@codesourcery.com>
Date:   Fri Jan 3 19:19:51 2014 +0800

    Change 'len' of linux_common_xfer_osdata to ULONGEST.
    
    gdb:
    
    2014-01-14  Yao Qi  <yao@codesourcery.com>
    
    	* common/linux-osdata.c (linux_xfer_osdata_processes): Change
    	type of 'len' to ULONGEST.
    	(linux_xfer_osdata_processgroups): Likewise.
    	(linux_xfer_osdata_threads): Likewise.
    	(linux_xfer_osdata_fds): Likewise.
    	(linux_xfer_osdata_isockets): Likewise.
    	(linux_xfer_osdata_shm): Likewise.
    	(linux_xfer_osdata_sem): Likewise.
    	(linux_xfer_osdata_msg): Likewise.
    	(linux_common_xfer_osdata): Likewise.
    	(struct osdata_type) <getter>: Likewise.
    	* common/linux-osdata.h (linux_common_xfer_osdata): Update
    	the declaration.

commit b55e14c72c74ad4bcab302f9a81651ced881c415
Author: Yao Qi <yao@codesourcery.com>
Date:   Fri Jan 3 21:11:46 2014 +0800

    Change to_xfer_partial 'len' type to ULONGEST.
    
    This patch changes to_xfer_partial's len's type to ULONGEST, and
    adjust its implementations.
    
    gdb:
    
    2014-01-14  Yao Qi  <yao@codesourcery.com>
    
    	* target.h (target_xfer_partial_ftype): Update.
    	(struct target_ops) <to_xfer_partial>: Change 'len' type to
    	ULONGEST.
    	* aix-thread.c (aix_thread_xfer_partial): Change type of
    	argument 'len' to ULONGEST.
    	* auxv.c (procfs_xfer_auxv): Likewise.
    	(ld_so_xfer_auxv): Likewise.
    	(memory_xfer_auxv): Likewise.
    	* bfd-target.c (target_bfd_xfer_partial): Likewise.
    	* bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
    	* bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
    	* corelow.c (core_xfer_partial): Likewise.
    	* ctf.c (ctf_xfer_partial): Likewise.
    	* darwin-nat.c (darwin_read_write_inferior): Likewise.  Use
    	'%u'.
    	(darwin_read_dyld_info): Likewise.
    	(darwin_xfer_partial): Likewise.
    	* exec.c (section_table_xfer_memory_partial): Likewise.
    	(exec_xfer_partial): Likewise.
    	* exec.h (section_table_xfer_memory_partial): Update
    	declaration.
    	* gnu-nat.c (gnu_xfer_memory): Likewise.  Call pulongest
    	instead of plongest.
    	(gnu_xfer_partial): Likewise.
    	* ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
    	(ia64_hpux_xfer_solib_got): Likewise.
    	(ia64_hpux_xfer_partial): Likewise.
    	* ia64-linux-nat.c (ia64_linux_xfer_partial):
    	* inf-ptrace.c (inf_ptrace_xfer_partial):
    	* inf-ttrace.c (inf_ttrace_xfer_partial):
    	* linux-nat.c (linux_xfer_siginfo): Likewise.
    	(linux_nat_xfer_partial): Likewise.
    	(spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
    	(linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
    	* monitor.c (monitor_xfer_memory): Likewise.
    	(monitor_xfer_partial): Likewise.
    	* procfs.c (procfs_xfer_partial): Likewise.
    	* record-full.c (record_full_xfer_partial): Likewise.
    	(record_full_core_xfer_partial): Likewise.
    	* remote-sim.c (gdbsim_xfer_memory): Likewise.  Call pulongest
    	instead of plongest.
    	(gdbsim_xfer_partial): Likewise.
    	* remote.c (remote_xfer_partial): Likewise.
    	* rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
    	* rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
    	declaration.
    	* rs6000-nat.c (rs6000_xfer_partial): Likewise.
    	(rs6000_xfer_shared_libraries): Likewise.
    	* sol-thread.c (sol_thread_xfer_partial): Likewise.
    	* sparc-nat.c (sparc_xfer_wcookie): Likewise.
    	(sparc_xfer_partial): Likewise.
    	* spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
    	(spu_xfer_partial): Likewise.
    	* spu-multiarch.c (spu_xfer_partial): Likewise.
    	* target.c (target_read_live_memory): Likewise.
    	(memory_xfer_live_readonly_partial): Likewise.
    	(memory_xfer_partial, memory_xfer_partial_1): Likewise.
    	(target_xfer_partial, default_xfer_partial): Likewise.
    	(current_xfer_partial): Likewise.
    	* tracepoint.c (tfile_xfer_partial): Likewise.
    	* windows-nat.c (windows_xfer_memory): Likewise.  Call
    	pulongest instead of plongest.
    	(windows_xfer_partial): Likewise.
    	(windows_xfer_shared_libraries): Likewise.

commit 0580464083068647909386211d6a3f22b3d1cf0e
Author: Yao Qi <yao@codesourcery.com>
Date:   Fri Jan 3 10:33:44 2014 +0800

    Use target_xfer_partial_ftype for rs6000_xfer_shared_libraries
    
    Hi,
    We can use target_xfer_partial_ftype here for
    rs6000_xfer_shared_libraries declaration.
    
    gdb:
    
    2014-01-14  Yao Qi  <yao@codesourcery.com>
    
    	* rs6000-nat.c (rs6000_xfer_shared_libraries): Use
    	target_xfer_partial_ftype.

commit c0a6c611f171a40b0c69fdc2fb29b75abfd90ba6
Author: Vidya Praveen <vidyapraveen@arm.com>
Date:   Tue Jan 14 13:09:22 2014 +0000

    	* lib/ld-lib.exp (default_ld_link): Remove support for ldflags.
    	(default_ld_simple_link): Likewise.

commit 73812f599c58b21a25c295e6ba546e875e63be50
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Jan 14 12:39:45 2014 +0000

    	PR gas/16434
    	* config/tc-z80.c (wrong_match): Provide format string to
    	as_warn.
    	(parse_exp_not_indexed): Delete unused variable dummy.
    	(emit_byte): Delete unused variable fixp.

commit b5b08fb4ffa53ec088f8ad865bee0fd6edb2906f
Author: Siva Chandra <sivachandra@chromium.org>
Date:   Fri Dec 27 12:20:59 2013 -0800

    Use bitpos and type to lookup a gdb.Field object when its name is 'None'.
    
    	PR python/15464
    	PR python/16113
    	* valops.c (value_struct_elt_bitpos): New function
    	* py-type.c (convert_field): Set 'name' attribute of a gdb.Field
    	object to 'None' if the field name is an empty string ("").
    	* python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
    	attribute to look for a field when 'name' is 'None'.
    	(get_field_type): New function
    
    	testsuite/
    	* gdb.python/py-type.c: Enhance test case.
    	* gdb.python/py-value-cc.cc: Likewise
    	* gdb.python/py-type.exp: Add new tests.
    	* gdb.python/py-value-cc.exp: Likewise

commit 13aaf454542c1028a033ac836d7a0d47c63a7029
Author: Doug Evans <dje@google.com>
Date:   Mon Jan 13 17:15:42 2014 -0800

    PR symtab/16426
    
    	* dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
    	(try_open_dwop_file): Ditto.
    	* gdb_bfd.c: #include "vec.h".
    	(bfdp): New typedef.
    	(struct gdb_bfd_data): New member included_bfds.
    	(gdb_bfd_unref): Unref all included bfds.
    	(gdb_bfd_record_inclusion): New function.
    	* gdb_bfd.h (gdb_bfd_record_inclusion): Declare.

commit 067c5c1de23cff42597ec35d4c2a0730d8c16fbe
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Jan 14 09:30:39 2014 +1030

    daily update

commit c2cec97c243a014ce2535fc7ccef771f13d5e39a
Author: Tom Tromey <tromey@redhat.com>
Date:   Sun Dec 29 19:35:02 2013 -0700

    remove obsolete declaration
    
    deprecated_core_resize_section_table is declared but never defined.
    This patch removes the stale declaration.
    
    2014-01-13  Tom Tromey  <tromey@redhat.com>
    
    	* gdbcore.h (deprecated_core_resize_section_table): Remove.

commit 78e5999d375b8ceae5b114b7cfed4b2c20779921
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Dec 28 15:11:36 2013 -0700

    remove use_windows
    
    Nothing actually uses use_windows, not even Insight.  So, this patch
    removes it.
    
    2014-01-13  Tom Tromey  <tromey@redhat.com>
    
    	* defs.h (use_windows): Remove.
    	* gdb.c (main): Update.
    	* main.c (captured_main, gdb_main): Update.
    	* main.h (struct captured_main_args) <use_windows>: Remove.
    	* top.c (use_windows): Remove.

commit f2052bbe7a66ae99d72b48477289f1fea32bc982
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Dec 28 14:43:25 2013 -0700

    remove unused deprecated_flush_hook declaration
    
    deprecated_flush_hook is declared in defs.h but never defined.
    This patch removes the stale declaration.
    
    2014-01-13  Tom Tromey  <tromey@redhat.com>
    
    	* defs.h (deprecated_flush_hook): Remove.

commit fde4f8ed8ce077b652f046ada8b208eaccbf3a7a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Jan 13 21:19:18 2014 +0100

    Fix set auto-load safe-path false warning regression (PR 16216)
    
    gdb/
    2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	PR threads/16216
    	* linux-thread-db.c (try_thread_db_load): Add parameter
    	check_auto_load_safe.  Move here the file_is_auto_load_safe call.
    	(try_thread_db_load_from_pdir_1): Move it there from here.
    	(try_thread_db_load_from_sdir): Update caller.
    	(try_thread_db_load_from_dir): Move it there from here.

commit bdf61915fc102bc07c12aa450376d7402bd427b4
Author: Patrick Palka <patrick@parcs.ath.cx>
Date:   Thu Jan 9 22:55:50 2014 -0500

    Have regdat.sh always rewrite the output register file
    
    The rules for generating the output register files look like:
    
    amd64.c : $(srcdir)/../regformats/i386/amd64.dat $(regdat_sh)
    	$(SHELL) $(regdat_sh) $(srcdir)/../regformats/i386/amd64.dat amd64.c
    
    According to this rule, if regdat.sh is newer than amd64.c, then
    regdat.sh shall be invoked on amd64.dat.  According to regdat.sh, if the
    script determines that the output file amd64.c has not changed, then it
    will not overwrite the existing output file.  This means that a
    subsequent invocation of make will trigger the above rule again as
    regdat.sh will be perpetually newer than amd64.c.
    
    This then shows up in the make output like so:
    
    /bin/bash ./../regformats/regdat.sh ./../regformats/i386/amd64-linux.dat amd64-linux.c
    amd64-linux.c unchanged.
    /bin/bash ./../regformats/regdat.sh ./../regformats/i386/amd64-avx-linux.dat amd64-avx-linux.c
    amd64-avx-linux.c unchanged.
    ...
    
    To fix this pathological behavior, it suffices to have regdat.sh
    unconditionally rewrite the output register file.
    
    On my machine, which has a regdat.sh file that is newer than some of the
    input register files, this change speeds up every invocation of make
    under gdb/ by about 5 seconds.

commit f71e1a8ddb5a41dddb0dea92aefe694e26d4c174
Author: Pedro Alves <palves@redhat.com>
Date:   Mon Jan 13 19:36:38 2014 +0000

    New "make check-headers" rule.
    
    Tries to compile each header in isolation, thus ensuring headers are
    self-contained.
    
    Defaults to checking all $HFILES_NO_SRCDIR headers.
    
    Do:
    
      make check-headers CHECK_HEADERS="header.h list.h"
    
    to check specific headers.
    
    gdb/
    2014-01-13  Pedro Alves  <palves@redhat.com>
    
            * Makefile.in (CHECK_HEADERS): New variable.
            (check-headers:): New rule.

commit 42c85435d662ce7e355bb7d2b9c14675ebb6a1a1
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Dec 28 14:56:18 2013 -0700

    remove deprecated_set_hook
    
    This removes deprecated_set_hook.  Insight was the last user of this
    hook, but I recently checked in a patch to have it use the
    command_param_changed observer instead.
    
    2014-01-13  Tom Tromey  <tromey@redhat.com>
    
    	* cli/cli-setshow.c (do_set_command): Update.
    	* defs.h (deprecated_set_hook): Remove.
    	* top.c (deprecated_set_hook): Remove.

commit 66af0f440b7c203b3e3bc9b2e7fdee9f81e6ae77
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Mon Jan 13 20:54:47 2014 +0200

    Fix MinGW compilation errors in gdbserver/.
    
    gdb/gdbserver/Makefile.in (INCLUDE_CFLAGS): Remove trailing slash from
    "-I$(srcdir)/../".  Fixes MinGW compilation errors with old GCC versions.

commit fd0fd00cded9d641ee55a09edcb62366213357a6
Author: Ma Jiang <ma.jiang@zte.com.cn>
Date:   Mon Jan 13 16:06:28 2014 +0000

    2014-01-13  Ma Jiang  <ma.jiang@zte.com.cn>
    
    	PR ld/16202
    	* elf32-arm.c (elf32_arm_final_link_relocate): Refetch addends for
    	R_ARM_ABS8 and R_ARM_ABS16.

commit f8de51293246a17166da9a2744c1eb5ab956d67b
Author: Pedro Alves <palves@redhat.com>
Date:   Mon Jan 13 14:56:29 2014 +0000

    tfile: Don't infer the PC from the tracepoint if the PC is a pseudo-register.
    
    This PC guessing can't work when the PC is a pseudo-register.
    Pseudo-register values don't end up stored in the regcache, they're
    always recomputed.  And, it's actually wrong to try to write a
    pseudo-register with regcache_raw_supply.  Skip it and add a comment.
    
    gdb/
    2014-01-13  Pedro Alves  <palves@redhat.com>
    
    	* tracepoint.c (tfile_fetch_registers): Don't infer the PC from
    	the tracepoint if the PC is a pseudo-register.

commit fc270c357a3301fec8cc161199242bb934203cf6
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Dec 28 15:32:27 2013 -0700

    replace XCALLOC with XCNEWVEC or XCNEW
    
    This removes XCALLOC and replaces it either with XCNEWVEC, or, if the
    number of elements being requested was 1, with XCNEW.
    
    2014-01-13  Tom Tromey  <tromey@redhat.com>
    
    	* defs.h (XCALLOC): Remove.
    	* bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
    	(print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
    	* dwarf2loc.c (allocate_piece_closure): Likewise.
    	* elfread.c (elf_symfile_segments): Likewise.
    	(elf_symfile_segments): Likewise.
    	* gdbtypes.c (copy_type_recursive): Likewise.
    	* i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
    	* jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
    	* minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
    	XCALLOC.
    	* mt-tdep.c (mt_gdbarch_init): Likewise.
    	* opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
    	XCALLOC.
    	* psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
    	* regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
    	* registry.c (registry_alloc_data): Likewise.
    	* rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
    	* s390-linux-tdep.c (s390_gdbarch_init): Likewise.
    	* serial.c (serial_fdopen_ops): Likewise.
    	* solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
    	XCALLOC.
    	* spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
    	* symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
    	not XCALLOC.

commit 70ba0933adb6b8d64b0687289d51837a58b804f9
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Dec 28 15:31:23 2013 -0700

    replace XMALLOC with XNEW
    
    This replaces XMALLOC with XNEW, and removes XMALLOC.  The only
    non-mechanical bit here was remembering to edit gdbarch.sh.
    
    2014-01-13  Tom Tromey  <tromey@redhat.com>
    
    	* defs.h (XMALLOC): Remove.
    	* avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
    	* bfin-tdep.c (bfin_gdbarch_init): Likewise.
    	* cli-out.c (struct ui_out *): Likewise.
    	* cli/cli-dump.c (add_dump_command): Likewise.
    	(add_dump_command): Likewise.
    	* complaints.c (get_complaints): Likewise.
    	(find_complaint): Likewise.
    	* dwarf2-frame.c (execute_cfa_program): Likewise.
    	* dwarf2read.c (abbrev_table_read_table): Likewise.
    	* gdbarch.sh: Likewise.
    	* gdbarch.c: Rebuild.
    	* inf-ttrace.c (inf_ttrace_add_page): Likewise.
    	* interps.c (interp_new): Likewise.
    	* lm32-tdep.c (lm32_gdbarch_init): Likewise.
    	* m32r-tdep.c (m32r_gdbarch_init): Likewise.
    	* mi/mi-console.c (mi_console_file_new): Likewise.
    	* mi/mi-interp.c (mi_interpreter_init): Likewise.
    	* mi/mi-out.c (mi_out_new): Likewise.
    	* mi/mi-parse.c (mi_parse): Likewise.
    	* microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
    	* moxie-tdep.c (moxie_gdbarch_init): Likewise.
    	* observer.c (xalloc_observer_list_node): Likewise.
    	* regcache.c (regcache_xmalloc_1): Likewise.
    	* reggroups.c (reggroup_new): Likewise.
    	(_initialize_reggroup): Likewise.
    	* registry.c (register_data_with_cleanup): Likewise.
    	* remote.c (remote_notif_stop_alloc_reply): Likewise.
    	* ser-base.c (serial_ttystate): Likewise.
    	* ser-mingw.c (make_pipe_state): Likewise.
    	* ser-pipe.c (pipe_open): Likewise.
    	* serial.c (serial_open): Likewise.
    	* sh64-tdep.c (sh64_gdbarch_init): Likewise.
    	* tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
    	(tui_alloc_win_info): Likewise.
    	(tui_add_content_elements): Likewise.
    	* tui/tui-file.c (tui_file_new): Likewise.
    	* tui/tui-out.c (tui_out_new): Likewise.
    	* ui-file.c (mem_file_new): Likewise.
    	* ui-out.c (push_level): Likewise.
    	(make_cleanup_ui_out_end): Likewise.
    	(append_header_to_list): Likewise.
    	(ui_out_new): Likewise.
    	* user-regs.c (user_reg_add_builtin): Likewise.

commit 41bf6acad7b02f67240f4cf84f066078f9ed7116
Author: Tom Tromey <tromey@redhat.com>
Date:   Sat Dec 28 15:31:01 2013 -0700

    replace XZALLOC with XCNEW
    
    This replaces XZALLOC with XCNEW and removes XZALLOC.
    This change is purely mechanical.
    
    2014-01-13  Tom Tromey  <tromey@redhat.com>
    
    	* defs.h (XZALLOC): Remove.
    	* ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
    	* ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
    	(get_ada_tasks_inferior_data): Likewise.
    	* auto-load.c (get_auto_load_pspace_data): Likewise.
    	* auxv.c (get_auxv_inferior_data): Likewise.
    	* bfd-target.c (target_bfd_reopen): Likewise.
    	* breakpoint.c (get_catch_syscall_inferior_data): Likewise.
    	(deprecated_insert_raw_breakpoint): Likewise.
    	* bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
    	* corelow.c (core_open): Likewise.
    	* darwin-nat.c (darwin_check_new_threads): Likewise.
    	(darwin_attach_pid): Likewise.
    	* dummy-frame.c (dummy_frame_push): Likewise.
    	* dwarf2-frame.c (dwarf2_frame_cache): Likewise.
    	* dwarf2loc.c (allocate_piece_closure): Likewise.
    	* elfread.c (elf_symfile_segments): Likewise.
    	* eval.c (ptrmath_type_p): Likewise.
    	* exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
    	* gdbtypes.c (alloc_type_arch): Likewise.
    	(alloc_type_instance): Likewise.
    	* hppa-tdep.c (hppa_gdbarch_init): Likewise.
    	* inf-child.c (inf_child_can_use_agent): Likewise.
    	* inflow.c (get_inflow_inferior_data): Likewise.
    	* infrun.c (save_infcall_suspend_state): Likewise.
    	* jit.c (jit_reader_load): Likewise.
    	(get_jit_objfile_data): Likewise.
    	(get_jit_program_space_data): Likewise.
    	(jit_object_open_impl): Likewise.
    	(jit_symtab_open_impl): Likewise.
    	(jit_block_open_impl): Likewise.
    	(jit_frame_sniffer): Likewise.
    	* linux-fork.c (add_fork): Likewise.
    	* maint.c (make_command_stats_cleanup): Likewise.
    	* objfiles.c (get_objfile_pspace_data): Likewise.
    	* opencl-lang.c (struct lval_closure): Likewise.
    	* osdata.c (osdata_start_osdata): Likewise.
    	* progspace.c (new_address_space): Likewise.
    	(add_program_space): Likewise.
    	* remote-sim.c (get_sim_inferior_data): Likewise.
    	* sh-tdep.c (sh_gdbarch_init): Likewise.
    	* skip.c (Ignore): Likewise.
    	(skip_delete_command): Likewise.
    	* solib-aix.c (get_solib_aix_inferior_data): Likewise.
    	(library_list_start_library): Likewise.
    	(solib_aix_current_sos): Likewise.
    	* solib-darwin.c (get_darwin_info): Likewise.
    	(darwin_current_sos): Likewise.
    	* solib-dsbt.c (get_dsbt_info): Likewise.
    	* solib-ia64-hpux.c (new_so_list): Likewise.
    	(ia64_hpux_get_solib_linkage_addr): Likewise.
    	* solib-spu.c (append_ocl_sos): Likewise.
    	(spu_current_sos): Likewise.
    	* solib-svr4.c (get_svr4_info): Likewise.
    	(svr4_keep_data_in_core): Likewise.
    	(library_list_start_library): Likewise.
    	(svr4_default_sos): Likewise.
    	(svr4_read_so_list): Likewise.
    	* solib-target.c (library_list_start_library): Likewise.
    	(solib_target_current_sos): Likewise.
    	* sparc-tdep.c (sparc32_gdbarch_init): Likewise.
    	* symfile-debug.c (install_symfile_debug_logging): Likewise.
    	* symfile.c (default_symfile_segments): Likewise.
    	* target-descriptions.c (tdesc_data_init): Likewise.
    	(tdesc_create_reg): Likewise.
    	(struct tdesc_type *): Likewise.
    	(tdesc_create_vector): Likewise.
    	(tdesc_set_struct_size): Likewise.
    	(struct tdesc_type *): Likewise.
    	(tdesc_free_feature): Likewise.
    	(tdesc_create_feature): Likewise.
    	* windows-nat.c (windows_add_thread): Likewise.
    	(windows_make_so): Likewise.
    	* xml-support.c (gdb_xml_body_text): Likewise.
    	(gdb_xml_create_parser_and_cleanup): Likewise.
    	(xml_process_xincludes): Likewise.
    	* xml-syscall.c (allocate_syscalls_info): Likewise.
    	(syscall_create_syscall_desc): Likewise.

commit aa726b9e09228f819a1ebe2c7ffe83b0c9e09d3d
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Jan 13 15:48:24 2014 +1030

    missing changelog for last patch

commit c7e17e05b647f6233c2062d038e5421686217816
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Jan 13 13:51:16 2014 +1030

    Error on shared lib call to @local ifunc
    
    On powerpc32, making ifuncs have non-default visibility in shared
    libraries or pies can result in runtime failures.  The problem is that
    if gcc is told that a given function has non-default visibility, then
    calls to that function are assumed to be local (which is true) and
    thus need not go via a plt call stub (which is false for ifunc).  If
    the caller has no other reason to set up the got pointer (r30), code
    won't be emitted to do so.  However, a pic plt call stub makes use of
    r30 to load the plt entry.  So a call to an ifunc, which always needs
    a plt entry, will fail.
    
    This patch makes ld emit an error for the problem case, and allows
    calls to non-default visibility ifuncs to work in normal executables.
    I also fix some cases where ifuncs fail when using the old bss-plt.
    
    	* elf32-ppc.c (ppc_elf_check_relocs): For @local call to ifunc,
    	error when shared and force a plt call otherwise.
    	(ppc_elf_size_dynamic_sections): Don't emit DT_PPC_GOT unless
    	plt_type == PLT_NEW.
    	(ppc_elf_relocate_section): Add missing test to resolve ifuncs to
    	the appropriate call stub.

commit 1a4416c4c7f02a73652429f4e8e8e966f55e3e8b
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Jan 13 09:30:37 2014 +1030

    daily update

commit 5acfdbae5d2b0aaa2320ddfa3aa1f2cddce7b978
Author: Sergio Durigan Junior <sergiodj@redhat.com>
Date:   Sun Jan 12 01:32:26 2014 -0200

    Split i386_stap_parse_special_token into smaller functions
    
    This patch reorganizes code on gdb/i386-tdep.c's SystemTap SDT probe
    support functions.  Before it, the code to parse special operands on x86
    lived in a single, big function.  This patch creates 2 new functions
    that makes the code more organized and removes a few indentation levels
    (which is always good IMO).
    
    I haven't modified anything logical in the functions, i.e., there's still
    one latent bug on i386_stap_parse_special_token_triplet now.  I will soon
    post a patch to fix this, and to also improve the readability of the two
    new functions.
    
    2014-01-12  Sergio Durigan Junior  <sergiodj@redhat.com>
    
    	* i386-tdep.c (i386_stap_parse_special_token_triplet): New
    	function, with code from i386_stap_parse_special_token.
    	(i386_stap_parse_special_token_three_arg_disp): Likewise.
    	(i386_stap_parse_special_token): Move code to the two functions
    	above; simplify it.

commit 024f4684065717944ab36c96154b023992fc56f1
Author: Alan Modra <amodra@gmail.com>
Date:   Sun Jan 12 09:30:39 2014 +1030

    daily update

commit b9d056dc854167f60b91172fd604ea041d02ea5f
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Jan 11 09:30:57 2014 +1030

    daily update

commit 41ef2965ab38c28fb46dfc21695d6ed676a6b911
Author: Pedro Alves <palves@redhat.com>
Date:   Fri Jan 10 15:46:59 2014 +0000

    [doc] Mention that "set environment" affects the shell too.
    
    gdb/doc/
    2014-01-10  Pedro Alves  <palves@redhat.com>
    
    	* gdb.texinfo (Your Program's Environment) <set environment>:
    	Mention the shell, and point at 'set exec-wrapper'.

commit 52d7fb1303dcc15fab68b89cf1dd8d2d719c7bb6
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date:   Fri Jan 10 15:37:36 2014 +0000

    Since upstream gcc has recently increased the function alignment on
    S390, the dw2-dir-file-name test case fails in the first
    gdb_continue_to_breakpoint.  Indeed, the breakpoint is now placed into
    the alignment gap *before* the actual function.
    
    This happens because the test case declares the respective "*_start"
    symbol as a "loose" label before the function definition, and the
    compiler inserts the alignment between that label and the function
    itself.
    
    The "*_start" symbols were only necessary because FUNC made the
    function static.  The fix makes the functions extern instead, thus
    making the "*_start" labels unnecessary.
    
    testsuite/
    2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
    	    Pedro Alves <palves@redhat.com>
    
    	* gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
    	Make "name" extern.
    	* gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
    	references to ${name}_start by references to ${name}.

commit eec2f3ed9f053653ed5d629eb50e08e3ee61e9bd
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Jan 10 21:11:46 2014 +1030

    Don't adjust LOAD segment to match GNU_RELRO segment
    
    Instead, fix Jakub's original code setting up the PR_GNU_RELRO header
    from the PT_LOAD header.
    
    	PR ld/14207
    	PR ld/16322
    	PR binutils/16323
    bfd/
    	* elf.c (assign_file_positions_for_load_sections): Revert last change.
    	(assign_file_positions_for_non_load_sections): When setting up
    	PT_GNU_RELRO header, don't require a corresponding PT_LOAD
    	header that completely covers the relro region.
    ld/
    	* ldlang.c (lang_size_sections): Remove unneeded RELRO base
    	adjust.  Tidy comments.
    	* ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
    ld/testsuite/
    	* ld-x86-64/pr14207.d: Adjust

commit a2cd8cfed14491303eb8338f90e206034c5a3fe2
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Fri Jan 10 07:54:23 2014 +0400

    Remove path from gdb.ada/pp-rec-component.exp "source" test
    
    gdb/testsuite/ChangeLog:
    
    	* gdb.ada/pp-rec-component.exp: Remove path from "source" test.

commit 4e23fced8108c99ddc9d52fb2c02af8cac4cc7bb
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Fri Jan 10 07:50:29 2014 +0400

    Remove path from gdb.python/py-pp-integral.exp "source" test.
    
    gdb/testsuite/ChangeLog:
    
    	* gdb.python/py-pp-integral.exp: Remove path from "source" test.

commit d1e1519e662694c71ac2ad4e2300f592753446b5
Author: Hans-Peter Nilsson <hp@bitrange.com>
Date:   Fri Jan 10 01:25:26 2014 +0100

    	* emulparams/crislinux.sh (COMMONPAGESIZE): Define.

commit 3855dad79995e4392ff2593f8c30b5337fad7fb8
Author: Alan Modra <amodra@gmail.com>
Date:   Fri Jan 10 09:30:39 2014 +1030

    daily update

commit c6a9e42ce45887180e2918ab53b323282193000d
Author: Pedro Alves <palves@redhat.com>
Date:   Thu Jan 9 19:57:13 2014 +0000

    gdb.mi/mi-info-os.exp: Fix cross-debugger testing
    
    A live target is required for `-info-os' to work in non-native
    configurations.
    
     (gdb)
     Expecting: ^(-info-os[
     ]+)?(.*\^done,OSDataTable=.*[
     ]+[(]gdb[)]
     [ ]*)
     -info-os
     ^error,msg="Don't know how to get OS data.  Try \"help target\"."
     (gdb)
     FAIL: gdb.mi/mi-info-os.exp: -info-os
    
    If GDB does have a native configuration included, but we're testing
    remote, it'll be worse, as if we're not connected yet, -info-os will
    run against the default run target, and pass, falsely giving the
    impression the remote bits were exercised.
    
    gdb/testsuite/
    2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
    	    Pedro Alves  <palves@redhat.com>
    
    	* gdb.mi/mi-info-os.exp: Connect to the target with
            mi_gdb_target_load.

commit e2e6193d65a20e6b7fccba288e5d1bc45b78d194
Author: Roland McGrath <mcgrathr@google.com>
Date:   Thu Jan 9 10:13:10 2014 -0800

    Fix buffer underrun in i386-dis.c.
    
    opcodes/
    	* i386-dis.c (print_insn): Do not touch all_prefixes[-1] when
    	last_rex_prefix is -1.

commit 0000e5ccd8615d632ac6ddc831cd5d3af8084737
Author: Pedro Alves <palves@redhat.com>
Date:   Thu Jan 9 18:33:45 2014 +0000

    Handle the case of a remote target supporting target side commands, but not on software breakpoints.
    
    Although we can tell upfront whether a remote target supports target
    side commands, we can only tell whether the target supports that in
    combination with a given breakpoint kind (software, hardware,
    watchpoints, etc.) when we go and try to insert such a breakpoint kind
    the first time.  It's not desirable to make remote_insert_breakpoint
    simply return -1 in this case, because if the breakpoint was set in a
    shared library, insert_bp_location will assume that the breakpoint
    insertion failed because the library wasn't mapped in.
    
    insert_bp_location already handles errors/exceptions thrown from the
    target_insert_xxx methods, exactly so the backend can tell the user
    the detailed reason the insertion of hw breakpoints failed.  But, in
    the case of software breakpoints, it discards the detailed error
    message.
    
    So the patch makes insert_bp_location use the error's message for SW
    breakpoints too, and, introduces a NOT_SUPPORTED_ERROR error code so
    that insert_bp_location doesn't confuse the error for failure due to a
    shared library disappearing.
    
    The result is:
    
    (gdb) c
    Warning:
    Cannot insert breakpoint 2: Target doesn't support breakpoints that have target side commands.
    
    2014-01-09  Pedro Alves  <palves@redhat.com>
    	    Hui Zhu  <hui@codesourcery.com>
    
    	PR gdb/16101
    	* breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
    	bp_err_string.  Don't mark the location shlib_disabled if the
    	error thrown wasn't a generic or memory error.  Catch errors
    	thrown while inserting breakpoints in overlayed code.  Output
    	error message of software breakpoints.
    	* remote.c (remote_insert_breakpoint): If this breakpoint has
    	target-side commands but this stub doesn't support Z0 packets,
    	throw NOT_SUPPORTED_ERROR error.
    	* exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
    	* target.h (target_insert_breakpoint): Extend comment.
    	(target_insert_hw_breakpoint): Add comment.

commit c66a241cde1b8fe4207d425c9956cb6dac948732
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jan 9 10:23:03 2014 -0800

    Fix copyright year

commit d345186d053575850e7cb541ae2d5eecf4242607
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jan 9 10:18:19 2014 -0800

    Check if GNU_RELRO segment is is generated
    
    Fail if GNU_RELRO segment isn't generated, but should.
    
    	* ld-elf/binutils.exp (binutils_test): Check if GNU_RELRO segment
    	is generated.

commit 1464e221467fdb2e3812868d201f465559724349
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Jan 9 10:16:18 2014 -0700

    remove include/gdbm.h
    
    include/gdbm.h is a relic.
    
    2014-01-09  Tom Tromey  <tromey@redhat.com>
    
    	* gdbm.h: Remove.

commit 92c09111f34c464c3dd2b0cfbfa13c3b6c74c3e5
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Jan 9 09:01:53 2014 -0800

    Add and use check_lto_shared_available
    
    2014-01-09  Vidya Praveen  <vidyapraveen@arm.com>
    
    	* lib/ld-lib.exp (check_lto_shared_available): New check.
    	* ld-plugin/lto.exp: Use check_lto_shared_available.

commit 09bf66a8e8f7e62f6e842b42b048721abef49904
Author: Tristan Gingold <gingold@adacore.com>
Date:   Fri Dec 6 17:00:02 2013 +0100

    Use table jump macros in coff-rs6000 targets.
    
    bfd/
    2014-01-09  Tristan Gingold  <gingold@adacore.com>
    
    	* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): use jump
    	table macros and add macros to initializa the structure.

commit 1d20f082f2bc1570e72d8182f3b3253aff0fa79e
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Jan 9 09:30:37 2014 +1030

    daily update

commit 9939e1314f970c6ba568956148a518ac710a280a
Author: Pedro Alves <palves@redhat.com>
Date:   Wed Jan 8 19:16:54 2014 +0000

    GDBserver: Discard previous queued events when GDB disconnects.
    
    ... not when a new GDB connection sends the status packet ('?').
    Mainly just a cleanup/simplification, as GDB always sends '?' first.
    
    Tested on x86_64 Fedora 17.
    
    2014-01-08  Pedro Alves  <palves@redhat.com>
    
    	* server.c (handle_status): Don't discard previous queued stop
    	replies or thread's pending status here.
    	(main) <disconnection>: Do it here instead.

commit b7ea362b023feba8d75d5831948bc0d8496b4069
Author: Pedro Alves <palves@redhat.com>
Date:   Wed Jan 8 18:55:51 2014 +0000

    [remote/gdbserver] Don't lose signals when reconnecting.
    
    Currently, when GDB connects in all-stop mode, GDBserver always
    responds to the status packet with a GDB_SIGNAL_TRAP, even if the
    program is actually stopped for some other signal.
    
     (gdb) tar rem ...
     ...
     (gdb) c
     Program received signal SIGUSR1, User defined signal 1.
     (gdb) disconnect
     (gdb) tar rem ...
     (gdb) c
    
    (Or a GDB crash instead of an explicit disconnect.)
    
    This results in the program losing that signal on that last continue,
    because gdb will tell the target to resume with no signal (to suppress
    the GDB_SIGNAL_TRAP, due to 'handle SISGTRAP nopass'), and that will
    actually suppress the real signal the program had stopped for
    (SIGUSR1).  To fix that, I think we should make GDBserver report the
    real signal the thread had stopped for in response to the status
    packet:
    
     @item ?
     @cindex @samp{?} packet
     Indicate the reason the target halted.  The reply is the same as for
     step and continue.
    
    But, that raises the question -- which thread are we reporting the
    status for?  Due to how the RSP in all-stop works, we can only report
    one status.  The status packet's response is a stop reply packet, so
    it includes the thread identifier, so it's not a problem packet-wise.
    However, GDBserver is currently always reporting the status for first
    thread in the thread list, even though that may well not be the thread
    that got the signal that caused the program to stop.  So the next
    logical step would be to report the status for the
    last_ptid/last_status thread (the last event reported to gdb), if it's
    still around; and if not, fallback to some other thread.
    
    There's an issue on the GDB side with that, though...
    
    GDB currently always adds the thread reported in response to the
    status query as the first thread in its list.  That means that if we
    start with e.g.,
    
     (gdb) info threads
       3 Thread 1003 ...
     * 2 Thread 1002 ...
       1 Thread 1001 ...
    
    And reconnect:
    
     (gdb) disconnect
     (gdb) tar rem ...
    
    We end up with:
    
     (gdb) info threads
       3 Thread 1003 ...
       2 Thread 1001 ...
     * 1 Thread 1002 ...
    
    Not a real big issue, but it's reasonably fixable, by having GDB
    fetch/sync the thread list before fetching the status/'?', and then
    using the status to select the right thread as current on the GDB
    side.  Holes in the thread numbers are squashed before/after
    reconnection (e.g., 2,3,5 becomes 1,2,3), but the order is preserved,
    which I think is both good, and good enough.
    
    However (yes, there's more...), the previous GDB that was connected
    might have had gdbserver running in non-stop mode, or could have left
    gdbserver doing disconnected tracing (which also forces non-stop), and
    if the new gdb/connection is in all-stop mode, we can end up with more
    than one thread with a signal to report back to gdb.  As we can only
    report one thread/status (in the all-stop RSP variant; the non-stop
    variant doesn't have this issue), we get to do what we do at every
    other place we have this situation -- leave events we can't report
    right now as pending, so that the next resume picks them up.
    
    Note all this ammounts to a QoI change, within the existing framework.
    There's really no RSP change here.
    
    The only user visible change (other than that the signal is program is
    stopped at isn't lost / is passed to the program), is in "info
    program", that now can show the signal the program stopped for.  Of
    course, the next resume will respect the pass/nopass setting for the
    signal in question.  It'd be reasonable to have the initial connection
    tell the user the program was stopped with a signal, similar to when
    we load a core to debug, but I'm leaving that out for a future change.
    I think we'll need to either change how handle_inferior_event & co
    handle stop_soon, or maybe bypass them completely (like
    fork-child.c:startup_inferior) for that.
    
    Tested on x86_64 Fedora 17.
    
    gdb/gdbserver/
    2014-01-08  Pedro Alves  <palves@redhat.com>
    
    	* gdbthread.h (struct thread_info) <status_pending_p>: New field.
    	* server.c (visit_actioned_threads, handle_pending_status): New
    	function.
    	(handle_v_cont): Factor out parts to ...
    	(resume): ... this new function.  If in all-stop, and a thread
    	being resumed has a pending status, report it without actually
    	resuming.
    	(myresume): Adjust to use the new 'resume' function.
    	(clear_pending_status_callback, set_pending_status_callback)
    	(find_status_pending_thread_callback): New functions.
    	(handle_status): Handle the case of multiple threads having
    	interesting statuses to report.  Report threads' real last signal
    	instead of always reporting GDB_SIGNAL_TRAP.  Look for a thread
    	with an interesting thread to report the status for, instead of
    	always reporting the status of the first thread.
    
    gdb/
    2014-01-08  Pedro Alves  <palves@redhat.com>
    
    	* remote.c (remote_add_thread): Add threads silently if starting
    	up.
    	(remote_notice_new_inferior): If in all-stop, and starting up,
    	don't call notice_new_inferior.
    	(get_current_thread): New function, factored out from ...
    	(add_current_inferior_and_thread): ... this.  Adjust.
    	(remote_start_remote) <all-stop>: Fetch the thread list.  If we
    	found any thread, then select the remote's current thread as GDB's
    	current thread too.
    
    gdb/testsuite/
    2014-01-08  Pedro Alves  <palves@redhat.com>
    
    	* gdb.threads/reconnect-signal.c: New file.
    	* gdb.threads/reconnect-signal.exp: New file.

commit 143e9f4a65664332159aa6eb2f3c4c55cc9f7138
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 8 08:22:35 2014 -0800

    Remove regbnd and vec_disp8
    
    	* config/tc-i386.c (regbnd): Removed.
    	(vec_disp8): Likewise.

commit 43a8475ca01b676fb764aaed0c4ed1cc16fc3c87
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Dec 12 10:35:47 2013 -0800

    Adjust LOAD segment to generate GNU_RELRO segment
    
    This patch fixes 2 GNU_RELRO segment bugs:
    
    1. lang_size_sections didn't properly align base to the maximum
    alignment power of sections between DATA_SEGMENT_ALIGN and
    DATA_SEGMENT_RELRO_END.
    2. ld failed to adjust LOAD segment to generate GNU_RELRO segment
    when LOAD segment doesn't fit GNU_RELRO segment.  This is
    
    https://sourceware.org/bugzilla/show_bug.cgi?id=14207
    
    We "fixed" ld by not generating GNU_RELRO segment.  This patch
    adjusts LOAD segment to generate GNU_RELRO segment.  It fixes
    PR ld/16322 and at the same time it also fixes PR binutils/16323
    since now we can adjust LOAD segment if it is too small.
    
    bfd/
    
    	PR ld/14207
    	PR ld/16322
    	PR binutils/16323
    	* elf.c (_bfd_elf_map_sections_to_segments): Don't check section
    	size for PT_GNU_RELRO segment.
    	(assign_file_positions_for_load_sections): If PT_LOAD segment
    	doesn't fit PT_GNU_RELRO segment, adjust its p_filesz and p_memsz.
    
    ld/
    
    	PR ld/14207
    	PR ld/16322
    	PR binutils/16323
    	* ldlang.c (lang_size_sections): Properly align RELRO base.
    
    ld/testsuite/
    
    	PR ld/14207
    	PR ld/16322
    	PR binutils/16323
    	* ld-elf/pr16322.d: New file.
    	* ld-elf/pr16322.s: Likewise.
    
    	* ld-x86-64/pr14207.d: Expect PT_GNU_RELRO segment.

commit 221fd5d598e7dcf7b953150986a501b462b99891
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 8 05:48:12 2014 -0800

    Update copyright year to 2014
    
    binutils/
    
    	* version.c (print_version): Update copyright year to 2014.
    
    gas/
    
    	* as.c (parse_args): Update copyright year to 2014.
    
    gold/
    
    	* version.cc (print_version): Update copyright year to 2014.
    
    ld/
    
    	* ldver.c (ldversion): Update copyright year to 2014.
    
    opcodes/
    
    	* i386-gen.c (process_copyright): Update copyright year to 2014.

commit 5fb776a6371f2122e891467a8fe9b4d7b8b5c6a4
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jan 8 05:32:12 2014 -0800

    New Year - binutils ChangeLog rotation

commit b7bba0015567c096541d62f2637b9818b1634a59
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Wed Jan 8 13:41:03 2014 +0400

    Update NEWS post GDB 7.7 branch creation.
    
    gdb/ChangeLog:
    
    	* NEWS: Create a new section for the next release branch.
    	Rename the section of the current branch, now that it has
    	been cut.

commit 16dfbded4ca0fc78810c78ee29cab33c8c9fea42
Author: Joel Brobecker <brobecker@adacore.com>
Date:   Wed Jan 8 13:25:28 2014 +0400

    Bump version to 7.7.50.DATE-cvs.
    
    Now that the GDB 7.7 branch has been created, we can
    bump the version number.
    
    gdb/ChangeLog:
    
    	GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
    	* version.in: Bump version to 7.7.50.DATE-cvs.

-----------------------------------------------------------------------


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-02-25 23:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-25 23:29 [SCM] jankratochvil/gdbserverbuildid: ea11f1f08abbb9a19140ab33174803f224f25a78 jkratoch

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