public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-03-13 19:23 pmuldoon
  0 siblings, 0 replies; 45+ messages in thread
From: pmuldoon @ 2011-03-13 19:23 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  305a094f4235b6d99d5ce442a9bd188b2b89e075 (commit)
       via  9476cf7e394456927839e43ae4a1e0cbea9e4a25 (commit)
       via  d8ea9eacb9258d15e79bf00e76a948dbb7bc7cb5 (commit)
       via  9dcb8e0632bcc97d37bfb715c73801e80857f24c (commit)
       via  f07617b8397d62f1ee213375023fe66c6211fcd2 (commit)
       via  7938ea98e7dfc9f097ddca2a00995bb63b9d3c0a (commit)
       via  d95e9d653e9cb1b8f28a51d2c013ed1e51e6b6cd (commit)
       via  ef818b5c73efe9d48f4558ac90913a0745823e95 (commit)
       via  5c439c8fa83e95f4764916bb388cac87ca9875e5 (commit)
       via  1db172720a8ab5d5b200d54f91f8fbced3b368c1 (commit)
       via  66c348ceaf0b341e197409ce9bdeeff11b640a7a (commit)
       via  04ca31faf3b4e585faf62cfaacf1ff8933d99eb5 (commit)
       via  83364dc218693a094ec124bf0f51a37f98940c1e (commit)
       via  3dc0169a584b1abe0e305d4796d1468a30c022dc (commit)
       via  d4018825f8a4b26bd6570a405728a44b346f088d (commit)
       via  2046556ddd4abbea4a48c9f13ab1d89f04759729 (commit)
       via  cf6f414eb6d93a020bf9cff7523968658d3354a4 (commit)
       via  27bbdd2c2f3184c65ff4f70a53e73d37c8d7629f (commit)
       via  6944a0b66d9d0d5e62ace92d3ff14b5346c405f6 (commit)
       via  bcc86a87cb9612c435d8acb0341043a58f6effa2 (commit)
       via  1bdccc78b538112997e68726686c31f0dce98910 (commit)
       via  81bc1f63ce74e97ed39a2989f5acbcf64a8d2178 (commit)
       via  6fca94e1bdda6b44341bc4339ee25839e009bfee (commit)
       via  8e93f045c49f403430122a522e4d8fe984fbd2ef (commit)
       via  ec6a4e268a7bf051102bcc61e4f65db722acdc8b (commit)
       via  df28cccbad3fed82bc6790c857d57c3b9132fc10 (commit)
       via  bed8a9915b7be1d42ae022c351683ea9e0006bde (commit)
       via  009e307e0442527da3cd3f56aea57ed71dbb13a4 (commit)
       via  eaef522a1517032273ecb900de3e39a7fe9058d3 (commit)
       via  4e7de6e6217c63924cca11d1d6f3238fb2d950f3 (commit)
       via  7aa8a6ea9844ece84a11b609ed291cdf709d5feb (commit)
       via  4c1efb574a0bc6869c6ee3175dc6483e5ae8d977 (commit)
       via  a0706100b6a4ad3f64aa078d6a7f442a345d55c4 (commit)
       via  00a404ad22c3af88339a0a3eede3baef67684a9d (commit)
       via  fd0957bb08a8e50cfdef85278d7135565c69e7fa (commit)
       via  a5d989e3c090498d0f5221bfd58894f66fd56bf8 (commit)
      from  eda758390ec0bfb07d0bef4d1908d1d98ad75eb9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 305a094f4235b6d99d5ce442a9bd188b2b89e075
Merge: eda7583 9476cf7
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Sun Mar 13 19:23:14 2011 +0000

    Merge remote-tracking branch 'gdb/master'

commit 9476cf7e394456927839e43ae4a1e0cbea9e4a25
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Sun Mar 13 13:39:17 2011 +0000

    	* gdb.python/py-section-script.exp: Skip test if no Python support.

commit d8ea9eacb9258d15e79bf00e76a948dbb7bc7cb5
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Sun Mar 13 01:07:02 2011 +0000

    	* gdb.base/solib-weak.exp: Allow "." prefix for ppc64.

commit 9dcb8e0632bcc97d37bfb715c73801e80857f24c
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Mar 13 00:00:33 2011 +0000

    *** empty log message ***

commit f07617b8397d62f1ee213375023fe66c6211fcd2
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Mar 12 23:00:05 2011 +0000

    daily update

commit 7938ea98e7dfc9f097ddca2a00995bb63b9d3c0a
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Mar 12 22:59:23 2011 +0000

    2011-03-11  Michael Snyder  <msnyder@vmware.com>
    
    	* cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define.
    	* cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS.
    	(lookup_cmd): Test for CMD_LIST_AMBIGUOUS.
    	* completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS.
    	* top.c (set_verbose): Use CMD_LIST_AMBIGUOUS.

commit d95e9d653e9cb1b8f28a51d2c013ed1e51e6b6cd
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Mar 12 14:38:31 2011 +0000

    Support TLS x32 GD->IE, GD->LE and LD->LE transitions.
    
    bfd/
    
    2011-03-12  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
    	x32 GD->IE and GD->LE transitions.
    	(elf_x86_64_relocate_section): Supprt TLS x32 GD->IE, GD->LE
    	and LD->LE transitions.
    
    ld/testsuite/
    
    2011-03-12  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* ld-x86-64/tlsgd4.dd: New.
    	* ld-x86-64/tlsgd4.s: Likewise.
    	* ld-x86-64/tlsgd5.dd: Likewise.
    	* ld-x86-64/tlsgd5a.s: Likewise.
    	* ld-x86-64/tlsgd5b.s: Likewise.
    	* ld-x86-64/tlsgd6.dd: Likewise.
    	* ld-x86-64/tlsgd6a.s: Likewise.
    	* ld-x86-64/tlsgd6b.s: Likewise.
    	* ld-x86-64/tlsld2.dd: Likewise.
    	* ld-x86-64/tlsld2.s: Likewise.
    
    	* ld-x86-64/x86-64.exp (x86_64tests): Add tlsgd4, libtlsgd5.so,
    	tlsgd5, libtlsgd6.so, tlsgd6 and tlsld2.

commit ef818b5c73efe9d48f4558ac90913a0745823e95
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Mar 12 00:00:03 2011 +0000

    *** empty log message ***

commit 5c439c8fa83e95f4764916bb388cac87ca9875e5
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Mar 11 23:00:05 2011 +0000

    daily update

commit 1db172720a8ab5d5b200d54f91f8fbced3b368c1
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Mar 11 22:31:43 2011 +0000

    2011-03-11  Michael Snyder  <msnyder@vmware.com>
    
    	* event-loop-c (delete_async_signal_handler): Assert prev_ptr.
    	(delete_async_event_handler): Ditto.

commit 66c348ceaf0b341e197409ce9bdeeff11b640a7a
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Mar 11 22:01:28 2011 +0000

    2011-03-11  Michael Snyder  <msnyder@vmware.com>
    
    	* python/py-breakpoint.c (bppy_set_condition): Stop memory leak.

commit 04ca31faf3b4e585faf62cfaacf1ff8933d99eb5
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Mar 11 21:34:33 2011 +0000

    2011-02-27  Michael Snyder  <msnyder@vmware.com>
    
    	* python/py-breakpoint.c (bppy_get_commands): Fix memory leak.

commit 83364dc218693a094ec124bf0f51a37f98940c1e
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Mar 11 20:38:55 2011 +0000

    2011-03-11  Michael Snyder  <msnyder@vmware.com>
    
    	* top.c (set_verbose): Assert showcmd was found.

commit 3dc0169a584b1abe0e305d4796d1468a30c022dc
Author: Maxim Grigoriev <maxim2405@gmail.com>
Date:   Fri Mar 11 18:37:44 2011 +0000

    2011-03-11  Maxim Grigoriev  <maxim2405@gmail.com>
    
    	* xtensa-tdep.c (warning_once): Correct style issues.

commit d4018825f8a4b26bd6570a405728a44b346f088d
Author: qiyao <qiyao>
Date:   Fri Mar 11 14:48:52 2011 +0000

    2011-03-11  Yao Qi  <yao@codesourcery.com>
    
    	* arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements.

commit 2046556ddd4abbea4a48c9f13ab1d89f04759729
Author: Andreas Schwab <schwab@suse.de>
Date:   Fri Mar 11 10:11:33 2011 +0000

    * common/aclocal.m4: Remove.

commit cf6f414eb6d93a020bf9cff7523968658d3354a4
Author: Maxim Grigoriev <maxim2405@gmail.com>
Date:   Fri Mar 11 02:32:31 2011 +0000

    2011-03-10  Maxim Grigoriev  <maxim2405@gmail.com>
    
    	* xtensa-tdep.c (windowing_enabled): Remove inline attribute.
    	(xtensa_write_register, xtensa_read_register): Likewise.
    	(xtensa_hextochar): Removed.
    	(xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code.

commit 27bbdd2c2f3184c65ff4f70a53e73d37c8d7629f
Author: Maxim Grigoriev <maxim2405@gmail.com>
Date:   Fri Mar 11 00:26:50 2011 +0000

    Correct bad formatting in the comments. Two spaces must follow '.'.

commit 6944a0b66d9d0d5e62ace92d3ff14b5346c405f6
Author: Maxim Grigoriev <maxim2405@gmail.com>
Date:   Fri Mar 11 00:21:37 2011 +0000

    2011-03-10  Maxim Grigoriev  <maxim2405@gmail.com>
    
    	* xtensa-tdep.c (xtensa_c0reg_t): Update comments.
    	(xtensa_call0_frame_cache_t): Update comments. New fields added.
    	(xtensa_alloc_frame_cache): Add initialization for new fields.
    	(xtensa_frame_cache): Change the way how call0_frame_cache () is called.
    	(warning_once): New function.
    	(xtensa_insn_kind): New item c0opc_and.
    	(call0_classify_opcode): Add the case for AND instruction.
    	(call0_track_op): Change arguments. New local variable litbase. Add the
    	case to handle c0opc_and. Update algorithms for c0opc_mov, c0opc_l32r,
    	c0opc_s32i to take into account dynamic stack adjustments in prologue.
    	Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu.
    	(call0_analyze_prologue): Update the comments. Change arguments.
    	Add the variety of updates to handle extended prologues, which now can
    	conduct dynamic stack adjustments.
    	(call0_frame_cache): Likewise.
    	(xtensa_skip_prologue): Update call0_analyze_prologue () function call.
    	(xtensa_gdbarch_init): Initialize xtensa_session_once_reported.

commit bcc86a87cb9612c435d8acb0341043a58f6effa2
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Mar 11 00:00:33 2011 +0000

    *** empty log message ***

commit 1bdccc78b538112997e68726686c31f0dce98910
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Mar 10 23:00:05 2011 +0000

    daily update

commit 81bc1f63ce74e97ed39a2989f5acbcf64a8d2178
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Mar 10 20:25:44 2011 +0000

    Revert previous change.

commit 6fca94e1bdda6b44341bc4339ee25839e009bfee
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Mar 10 20:24:27 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* p-typeprint.c (pascal_type_print_method_args): Don't use
    	pointer until after null-check.

commit 8e93f045c49f403430122a522e4d8fe984fbd2ef
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Mar 10 20:21:14 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* tracepoint.c (cmd_qtv): Discard unused value 'packet'.
    	(cmd_qtframe): Ditto.
    	(cmd_qtbuffer): Ditto.
    	(cmd_bigqtbuffer): Ditto.

commit ec6a4e268a7bf051102bcc61e4f65db722acdc8b
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Mar 10 20:18:42 2011 +0000

    2011-02-27  Michael Snyder  <msnyder@vmware.com>
    
    	* gdbserver/tracepoint.c (tracepoint_finish_step): Fix
    	loop variable.

commit df28cccbad3fed82bc6790c857d57c3b9132fc10
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Mar 10 20:09:13 2011 +0000

    2011-03-10  Michael Snyder  <msnyder@vmware.com>
    
    	* gdbserver/server.c (handle_v_run): Free alloced buffer on early
    	return.

commit bed8a9915b7be1d42ae022c351683ea9e0006bde
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 10 18:33:54 2011 +0000

    	* tracepoint.c (trace_actions_command): Update.
    	* thread.c (thread_apply_command): Update.
    	* reverse.c (delete_bookmark_command): Update.
    	(bookmarks_info): Update.
    	* printcmd.c (undisplay_command): Update.
    	* memattr.c (mem_enable_command): Update.
    	(mem_disable_command): Update.
    	(mem_delete_command): Update.
    	* inferior.c (detach_inferior_command): Update.
    	(kill_inferior_command): Update.
    	(remove_inferior_command): Update.
    	* cli/cli-utils.h (struct get_number_or_range_state): New.
    	(init_number_or_range): Declare.
    	(get_number_or_range): Update.
    	* cli/cli-utils.c (init_number_or_range): New function.
    	(get_number_or_range): Change 'pp' parameter to 'state'.  Remove
    	static variables.
    	(number_is_in_list): Update.
    	* breakpoint.h (get_tracepoint_by_number): Update.
    	* breakpoint.c (map_breakpoint_numbers): Update for change to
    	get_number_or_range.
    	(find_location_by_number): Use get_number, not
    	get_number_or_range.
    	(trace_pass_set_count): New function.
    	(trace_pass_command): Update for change to get_number_or_range.
    	Rework loop logic.
    	(get_tracepoint_by_number): Remove 'multi_p' parameter; add
    	'state' parameter.

commit 009e307e0442527da3cd3f56aea57ed71dbb13a4
Author: pmuldoon <pmuldoon>
Date:   Thu Mar 10 12:29:06 2011 +0000

    2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* python/py-param.c (add_setshow_generic): Add set/show callback
    	parameters.  Register Python object context.
    	(get_show_value): New function.
    	(get_set_value): New function.
    	(call_doc_function): New function.
    	(get_doc_string): Move behind get_show_value/get_set_value.
    
    2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* gdb.texinfo (Parameters In Python): Document get_set_string and
    	get_show_string methods.
    
    2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* gdb.python/py-parameter.exp: Update tests to the new Python
    	parameter API. Add "no documentation" test.  Add deprecated API
    	backward compatibility test.

commit eaef522a1517032273ecb900de3e39a7fe9058d3
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Mar 10 11:29:52 2011 +0000

    gdb/
    	* fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'.

commit 4e7de6e6217c63924cca11d1d6f3238fb2d950f3
Author: Nick Clifton <nickc@redhat.com>
Date:   Thu Mar 10 10:23:37 2011 +0000

    	* common.h (EM_V850): V850s now supplied by Renesas.
    	* readelf.c (get_machine_name): Update EM_V850 entry.

commit 7aa8a6ea9844ece84a11b609ed291cdf709d5feb
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Mar 10 09:26:17 2011 +0000

    	* elf64-ppc.c (ppc64_elf_relocate_section): Provide section/offset
    	for LO_DS error message and correct multiple.

commit 4c1efb574a0bc6869c6ee3175dc6483e5ae8d977
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Mar 10 09:11:12 2011 +0000

    	* elf64-ppc.c (bfd_elf64_bfd_link_just_syms): Define.
    	(ppc64_elf_link_just_syms): New function.
    	(opd_entry_value): Don't assume big-endian host.
    	(get_r2off): New function.
    	(ppc_build_one_stub, ppc_size_one_stub): Use it here.

commit a0706100b6a4ad3f64aa078d6a7f442a345d55c4
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Mar 10 07:32:02 2011 +0000

    remove subdir_do recursive make command in gdbserver/Makefile.in
    
    This fixes:
    
        % [...]/gdbserver/configure
        % make distclean
        [...]
        rm -f amd64-avx.c amd64-avx-linux.c
        rm -f i386-mmx.c i386-mmx-linux.c
        make[1]: Entering directory `/[...]'
        make[1]: *** No rule to make target `subdir_do'.  Stop.
        make[1]: Leaving directory `[...]'
        make: *** [distclean] Error 2
    
    gdb/gdbserver/ChangeLog:
    
            * Makefile.in (maintainer-clean realclean distclean): Remove
            "make ...  subdir_do" command.

commit 00a404ad22c3af88339a0a3eede3baef67684a9d
Author: Maxim Grigoriev <maxim2405@gmail.com>
Date:   Thu Mar 10 00:15:19 2011 +0000

    2011-03-09  Maxim Grigoriev  <maxim2405@gmail.com>
    
    	* xtensa-tdep.c (xtensa_read_register: Add comment.
    	(xtensa_write_register): Likewise.
    	(xtensa_hextochar): Add comment and update to match coding conventions.
    	(xtensa_frame_cache, xtensa_return_value): Follow coding conventions.
    	(execute_l32e, execute_s32e, execute_code): Update comments.
    	(xtensa_exception_handler_t): Update to match coding conventions.
    	(xtensa_insn_kind): Likewise.

commit fd0957bb08a8e50cfdef85278d7135565c69e7fa
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Mar 10 00:00:02 2011 +0000

    *** empty log message ***

commit a5d989e3c090498d0f5221bfd58894f66fd56bf8
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Mar 9 23:00:05 2011 +0000

    daily update

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                                  |   24 ++-
 bfd/elf64-ppc.c                                |   91 ++++++-
 bfd/elf64-x86-64.c                             |   84 +++++--
 bfd/version.h                                  |    2 +-
 gdb/ChangeLog                                  |  150 ++++++++++-
 gdb/arm-tdep.c                                 |    3 -
 gdb/breakpoint.c                               |   90 ++++---
 gdb/breakpoint.h                               |   10 +-
 gdb/cli/cli-decode.c                           |    8 +-
 gdb/cli/cli-decode.h                           |    3 +
 gdb/cli/cli-utils.c                            |   64 +++--
 gdb/cli/cli-utils.h                            |   40 +++-
 gdb/common/aclocal.m4                          |   68 -----
 gdb/completer.c                                |    4 +-
 gdb/doc/ChangeLog                              |    5 +
 gdb/doc/gdb.texinfo                            |   16 ++
 gdb/event-loop.c                               |    2 +
 gdb/fbsd-nat.c                                 |    2 +-
 gdb/gdbserver/ChangeLog                        |    5 +
 gdb/gdbserver/Makefile.in                      |    1 -
 gdb/gdbserver/server.c                         |    4 +-
 gdb/gdbserver/tracepoint.c                     |   15 +-
 gdb/inferior.c                                 |   18 +-
 gdb/memattr.c                                  |   37 ++-
 gdb/printcmd.c                                 |   12 +-
 gdb/python/py-breakpoint.c                     |    8 +-
 gdb/python/py-param.c                          |  265 +++++++++++++++----
 gdb/reverse.c                                  |   21 +-
 gdb/testsuite/ChangeLog                        |   14 +
 gdb/testsuite/gdb.base/solib-weak.exp          |    2 +-
 gdb/testsuite/gdb.python/py-parameter.exp      |  119 +++++++--
 gdb/testsuite/gdb.python/py-section-script.exp |   11 +-
 gdb/thread.c                                   |    7 +-
 gdb/top.c                                      |    1 +
 gdb/tracepoint.c                               |    2 +-
 gdb/version.in                                 |    2 +-
 gdb/xtensa-tdep.c                              |  336 +++++++++++++++---------
 include/elf/ChangeLog                          |    4 +
 include/elf/common.h                           |    2 +-
 39 files changed, 1099 insertions(+), 453 deletions(-)
 delete mode 100644 gdb/common/aclocal.m4

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 31613e8..b2b65b8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,23 @@
+2011-03-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
+	x32 GD->IE and GD->LE transitions.
+	(elf_x86_64_relocate_section): Supprt TLS x32 GD->IE, GD->LE
+	and LD->LE transitions.
+
+2011-03-10  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (ppc64_elf_relocate_section): Provide section/offset
+	for LO_DS error message and correct multiple.
+
+2011-03-10  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (bfd_elf64_bfd_link_just_syms): Define.
+	(ppc64_elf_link_just_syms): New function.
+	(opd_entry_value): Don't assume big-endian host.
+	(get_r2off): New function.
+	(ppc_build_one_stub, ppc_size_one_stub): Use it here.
+
 2011-03-06  Michael Snyder  <msnyder@vmware.com>
 
 	* compress.c (bfd_compress_section_contents): Check for out of mem.
@@ -33,8 +53,8 @@
 
 2011-03-02  Bernd Schmidt  <bernds@codesourcery.com>
 
-        * elflink.c (is_reloc_section): Remove function.
-        (get_dynamic_reloc_section_name): Construct string manually.
+	* elflink.c (is_reloc_section): Remove function.
+	(get_dynamic_reloc_section_name): Construct string manually.
 
 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
 
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 856c68a..f17402f 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -79,12 +79,13 @@ static bfd_vma opd_entry_value
 
 #define bfd_elf64_mkobject		      ppc64_elf_mkobject
 #define bfd_elf64_bfd_reloc_type_lookup	      ppc64_elf_reloc_type_lookup
-#define bfd_elf64_bfd_reloc_name_lookup ppc64_elf_reloc_name_lookup
+#define bfd_elf64_bfd_reloc_name_lookup	      ppc64_elf_reloc_name_lookup
 #define bfd_elf64_bfd_merge_private_bfd_data  ppc64_elf_merge_private_bfd_data
 #define bfd_elf64_new_section_hook	      ppc64_elf_new_section_hook
 #define bfd_elf64_bfd_link_hash_table_create  ppc64_elf_link_hash_table_create
 #define bfd_elf64_bfd_link_hash_table_free    ppc64_elf_link_hash_table_free
 #define bfd_elf64_get_synthetic_symtab	      ppc64_elf_get_synthetic_symtab
+#define bfd_elf64_bfd_link_just_syms	      ppc64_elf_link_just_syms
 
 #define elf_backend_object_p		      ppc64_elf_object_p
 #define elf_backend_grok_prstatus	      ppc64_elf_grok_prstatus
@@ -4745,6 +4746,25 @@ ppc64_elf_as_needed_cleanup (bfd *ibfd ATTRIBUTE_UNUSED,
   return TRUE;
 }
 
+/* If --just-symbols against a final linked binary, then assume we need
+   toc adjusting stubs when calling functions defined there.  */
+
+static void
+ppc64_elf_link_just_syms (asection *sec, struct bfd_link_info *info)
+{
+  if ((sec->flags & SEC_CODE) != 0
+      && (sec->owner->flags & (EXEC_P | DYNAMIC)) != 0
+      && is_ppc64_elf (sec->owner))
+    {
+      asection *got = bfd_get_section_by_name (sec->owner, ".got");
+      if (got != NULL
+	  && got->size >= elf_backend_got_header_size
+	  && bfd_get_section_by_name (sec->owner, ".opd") != NULL)
+	sec->has_toc_reloc = 1;
+    }
+  _bfd_elf_link_just_syms (sec, info);
+}
+
 static struct plt_entry **
 update_local_sym_info (bfd *abfd, Elf_Internal_Shdr *symtab_hdr,
 		       unsigned long r_symndx, bfd_vma r_addend, int tls_type)
@@ -5465,9 +5485,12 @@ opd_entry_value (asection *opd_sec,
   /* No relocs implies we are linking a --just-symbols object.  */
   if (opd_sec->reloc_count == 0)
     {
-      if (!bfd_get_section_contents (opd_bfd, opd_sec, &val, offset, 8))
+      char buf[8];
+
+      if (!bfd_get_section_contents (opd_bfd, opd_sec, buf, offset, 8))
 	return (bfd_vma) -1;
 
+      val = bfd_get_64 (opd_bfd, buf);
       if (code_sec != NULL)
 	{
 	  asection *sec, *likely = NULL;
@@ -9401,6 +9424,37 @@ get_relocs (asection *sec, int count)
   return relocs;
 }
 
+static bfd_vma
+get_r2off (struct ppc_link_hash_table *htab,
+	   struct ppc_stub_hash_entry *stub_entry)
+{
+  bfd_vma r2off = htab->stub_group[stub_entry->target_section->id].toc_off;
+
+  if (r2off == 0)
+    {
+      /* Support linking -R objects.  Get the toc pointer from the
+	 opd entry.  */
+      char buf[8];
+      asection *opd = stub_entry->h->elf.root.u.def.section;
+      bfd_vma opd_off = stub_entry->h->elf.root.u.def.value;
+
+      if (strcmp (opd->name, ".opd") != 0
+	  || opd->reloc_count != 0)
+	{
+	  (*_bfd_error_handler) (_("cannot find opd entry toc for %s"),
+				 stub_entry->h->elf.root.root.string);
+	  bfd_set_error (bfd_error_bad_value);
+	  return 0;
+	}
+      if (!bfd_get_section_contents (opd->owner, opd, buf, opd_off + 8, 8))
+	return 0;
+      r2off = bfd_get_64 (opd->owner, buf);
+      r2off -= elf_gp (stub_entry->id_sec->output_section->owner);
+    }
+  r2off -= htab->stub_group[stub_entry->id_sec->id].toc_off;
+  return r2off;
+}
+
 static bfd_boolean
 ppc_build_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg)
 {
@@ -9445,10 +9499,13 @@ ppc_build_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg)
       size = 4;
       if (stub_entry->stub_type == ppc_stub_long_branch_r2off)
 	{
-	  bfd_vma r2off;
+	  bfd_vma r2off = get_r2off (htab, stub_entry);
 
-	  r2off = (htab->stub_group[stub_entry->target_section->id].toc_off
-		   - htab->stub_group[stub_entry->id_sec->id].toc_off);
+	  if (r2off == 0)
+	    {
+	      htab->stub_error = TRUE;
+	      return FALSE;
+	    }
 	  bfd_put_32 (htab->stub_bfd, STD_R2_40R1, loc);
 	  loc += 4;
 	  size = 12;
@@ -9632,10 +9689,14 @@ ppc_build_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg)
 	}
       else
 	{
-	  bfd_vma r2off;
+	  bfd_vma r2off = get_r2off (htab, stub_entry);
+
+	  if (r2off == 0)
+	    {
+	      htab->stub_error = TRUE;
+	      return FALSE;
+	    }
 
-	  r2off = (htab->stub_group[stub_entry->target_section->id].toc_off
-		   - htab->stub_group[stub_entry->id_sec->id].toc_off);
 	  bfd_put_32 (htab->stub_bfd, STD_R2_40R1, loc);
 	  loc += 4;
 	  size = 20;
@@ -9875,8 +9936,12 @@ ppc_size_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg)
       size = 4;
       if (stub_entry->stub_type == ppc_stub_long_branch_r2off)
 	{
-	  r2off = (htab->stub_group[stub_entry->target_section->id].toc_off
-		   - htab->stub_group[stub_entry->id_sec->id].toc_off);
+	  r2off = get_r2off (htab, stub_entry);
+	  if (r2off == 0)
+	    {
+	      htab->stub_error = TRUE;
+	      return FALSE;
+	    }
 	  size = 12;
 	  if (PPC_HA (r2off) != 0)
 	    size = 16;
@@ -11590,7 +11655,7 @@ ppc64_elf_relocate_section (bfd *output_bfd,
       bfd_boolean unresolved_reloc;
       bfd_boolean warned;
       unsigned int insn;
-      bfd_vma mask;
+      unsigned int mask;
       struct ppc_stub_hash_entry *stub_entry;
       bfd_vma max_br_offset;
       bfd_vma from;
@@ -13126,8 +13191,8 @@ ppc64_elf_relocate_section (bfd *output_bfd,
 	  if (((relocation + addend) & mask) != 0)
 	    {
 	      (*_bfd_error_handler)
-		(_("%B: error: relocation %s not a multiple of %d"),
-		 input_bfd,
+		(_("%B(%A+0x%lx): error: %s not a multiple of %u"),
+		 input_bfd, input_section, (long) rel->r_offset,
 		 ppc64_elf_howto_table[r_type]->name,
 		 mask + 1);
 	      bfd_set_error (bfd_error_bad_value);
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index c26c40b..927b3ed 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -865,18 +865,34 @@ elf_x86_64_check_tls_transition (bfd *abfd,
 
       if (r_type == R_X86_64_TLSGD)
 	{
-	  /* Check transition from GD access model.  Only
+	  /* Check transition from GD access model.  For 64bit, only
 		.byte 0x66; leaq foo@tlsgd(%rip), %rdi
 		.word 0x6666; rex64; call __tls_get_addr
+	     can transit to different access model.  For 32bit, only
+		leaq foo@tlsgd(%rip), %rdi
+		.word 0x6666; rex64; call __tls_get_addr
 	     can transit to different access model.  */
 
-	  static x86_64_opcode32 leaq = { { 0x66, 0x48, 0x8d, 0x3d } },
-				 call = { { 0x66, 0x66, 0x48, 0xe8 } };
-	  if (offset < 4
-	      || (offset + 12) > sec->size
-	      || bfd_get_32 (abfd, contents + offset - 4) != leaq.i
+	  static x86_64_opcode32 call = { { 0x66, 0x66, 0x48, 0xe8 } };
+	  if ((offset + 12) > sec->size
 	      || bfd_get_32 (abfd, contents + offset + 4) != call.i)
 	    return FALSE;
+
+	  if (ABI_64_P (abfd))
+	    {
+	      static x86_64_opcode32 leaq = { { 0x66, 0x48, 0x8d, 0x3d } };
+	      if (offset < 4
+		  || bfd_get_32 (abfd, contents + offset - 4) != leaq.i)
+		return FALSE;
+	    }
+	  else
+	    {
+	      static x86_64_opcode16 lea = { { 0x8d, 0x3d } };
+	      if (offset < 3
+		  || bfd_get_8 (abfd, contents + offset - 3) != 0x48
+		  || bfd_get_16 (abfd, contents + offset - 2) != lea.i)
+		return FALSE;
+	    }
 	}
       else
 	{
@@ -3434,15 +3450,26 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 
 	      if (ELF32_R_TYPE (rel->r_info) == R_X86_64_TLSGD)
 		{
-		  /* GD->LE transition.
+		  /* GD->LE transition.  For 64bit, change
 		     .byte 0x66; leaq foo@tlsgd(%rip), %rdi
 		     .word 0x6666; rex64; call __tls_get_addr
-		     Change it into:
+		     into:
 		     movq %fs:0, %rax
+		     leaq foo@tpoff(%rax), %rax
+		     For 32bit, change
+		     leaq foo@tlsgd(%rip), %rdi
+		     .word 0x6666; rex64; call __tls_get_addr
+		     into:
+		     movl %fs:0, %eax
 		     leaq foo@tpoff(%rax), %rax */
-		  memcpy (contents + roff - 4,
-			  "\x64\x48\x8b\x04\x25\0\0\0\0\x48\x8d\x80\0\0\0",
-			  16);
+		  if (ABI_64_P (output_bfd))
+		    memcpy (contents + roff - 4,
+			    "\x64\x48\x8b\x04\x25\0\0\0\0\x48\x8d\x80\0\0\0",
+			    16);
+		  else
+		    memcpy (contents + roff - 3,
+			    "\x64\x8b\x04\x25\0\0\0\0\x48\x8d\x80\0\0\0",
+			    15);
 		  bfd_put_32 (output_bfd,
 			      elf_x86_64_tpoff (info, relocation),
 			      contents + roff + 8);
@@ -3670,15 +3697,26 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 
 	      if (ELF32_R_TYPE (rel->r_info) == R_X86_64_TLSGD)
 		{
-		  /* GD->IE transition.
+		  /* GD->IE transition.  For 64bit, change
 		     .byte 0x66; leaq foo@tlsgd(%rip), %rdi
 		     .word 0x6666; rex64; call __tls_get_addr@plt
-		     Change it into:
+		     into:
 		     movq %fs:0, %rax
+		     addq foo@gottpoff(%rip), %rax
+		     For 32bit, change
+		     leaq foo@tlsgd(%rip), %rdi
+		     .word 0x6666; rex64; call __tls_get_addr@plt
+		     into:
+		     movl %fs:0, %eax
 		     addq foo@gottpoff(%rip), %rax */
-		  memcpy (contents + roff - 4,
-			  "\x64\x48\x8b\x04\x25\0\0\0\0\x48\x03\x05\0\0\0",
-			  16);
+		  if (ABI_64_P (output_bfd))
+		    memcpy (contents + roff - 4,
+			    "\x64\x48\x8b\x04\x25\0\0\0\0\x48\x03\x05\0\0\0",
+			    16);
+		  else
+		    memcpy (contents + roff - 3,
+			    "\x64\x8b\x04\x25\0\0\0\0\x48\x03\x05\0\0\0",
+			    15);
 
 		  relocation = (htab->elf.sgot->output_section->vma
 				+ htab->elf.sgot->output_offset + off
@@ -3747,12 +3785,18 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 	    {
 	      /* LD->LE transition:
 		 leaq foo@tlsld(%rip), %rdi; call __tls_get_addr.
-		 We change it into:
-		 .word 0x6666; .byte 0x66; movl %fs:0, %rax.  */
+		 For 64bit, we change it into:
+		 .word 0x6666; .byte 0x66; movq %fs:0, %rax.
+		 For 32bit, we change it into:
+		 nopl 0x0(%rax); movl %fs:0, %eax.  */
 
 	      BFD_ASSERT (r_type == R_X86_64_TPOFF32);
-	      memcpy (contents + rel->r_offset - 3,
-		      "\x66\x66\x66\x64\x48\x8b\x04\x25\0\0\0", 12);
+	      if (ABI_64_P (output_bfd))
+		memcpy (contents + rel->r_offset - 3,
+			"\x66\x66\x66\x64\x48\x8b\x04\x25\0\0\0", 12);
+	      else
+		memcpy (contents + rel->r_offset - 3,
+			"\x0f\x1f\x40\x00\x64\x8b\x04\x25\0\0\0", 12);
 	      /* Skip R_X86_64_PC32/R_X86_64_PLT32.  */
 	      rel++;
 	      continue;
diff --git a/bfd/version.h b/bfd/version.h
index fa3bbd0..624b9f9 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110309
+#define BFD_VERSION_DATE 20110313
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c6472e8..cb5bb35 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,127 @@
+2011-03-11  Michael Snyder  <msnyder@vmware.com>
+
+	* cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define.
+	* cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS.
+	(lookup_cmd): Test for CMD_LIST_AMBIGUOUS.
+	* completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS.
+	* top.c (set_verbose): Use CMD_LIST_AMBIGUOUS.
+
+	* event-loop-c (delete_async_signal_handler): Assert prev_ptr.
+	(delete_async_event_handler): Ditto.
+
+	* python/py-breakpoint.c (bppy_set_condition): Stop memory leak.
+
+	* python/py-breakpoint.c (bppy_get_commands): Fix memory leak.
+
+	* top.c (set_verbose): Assert showcmd was found.
+
+2011-03-11  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.c (warning_once): Correct style issues.
+
+2011-03-11  Yao Qi  <yao@codesourcery.com>
+
+	* arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements.
+
+2011-03-11  Andreas Schwab  <schwab@redhat.com>
+
+	* common/aclocal.m4: Remove.
+
+2011-03-10  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.c (windowing_enabled): Remove inline attribute.
+	(xtensa_write_register, xtensa_read_register): Likewise.
+	(xtensa_hextochar): Removed.
+	(xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code.
+
+2011-03-10  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.c (xtensa_c0reg_t): Update comments.
+	(xtensa_call0_frame_cache_t): Update comments.  New fields added.
+	(xtensa_alloc_frame_cache): Add initialization for new fields.
+	(xtensa_frame_cache): Change the way how call0_frame_cache () is called.
+	(warning_once): New function.
+	(xtensa_insn_kind): New item c0opc_and.
+	(call0_classify_opcode): Add the case for AND instruction.
+	(call0_track_op): Change arguments.  New local variable litbase.
+	Add the case to handle c0opc_and.  Update algorithms for c0opc_mov,
+	c0opc_l32r, c0opc_s32i to take into account dynamic stack adjustments
+	in the prologue.
+	Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu.
+	(call0_analyze_prologue): Update the comments.  Change arguments.
+	Add the variety of updates to handle extended prologues, which now can
+	conduct dynamic stack adjustments.
+	(call0_frame_cache): Likewise.
+	(xtensa_skip_prologue): Update call0_analyze_prologue () function call.
+	(xtensa_gdbarch_init): Initialize xtensa_session_once_reported.
+
+2011-03-10  Michael Snyder  <msnyder@vmware.com>
+
+	* tracepoint.c (cmd_qtv): Discard unused value 'packet'.
+	(cmd_qtframe): Ditto.
+	(cmd_qtbuffer): Ditto.
+	(cmd_bigqtbuffer): Ditto.
+
+	* gdbserver/tracepoint.c (tracepoint_finish_step): Fix
+	loop variable.
+
+	* gdbserver/server.c (handle_v_run): Free alloced buffer on early
+	return.
+
+2011-03-10  Tom Tromey  <tromey@redhat.com>
+
+	* tracepoint.c (trace_actions_command): Update.
+	* thread.c (thread_apply_command): Update.
+	* reverse.c (delete_bookmark_command): Update.
+	(bookmarks_info): Update.
+	* printcmd.c (undisplay_command): Update.
+	* memattr.c (mem_enable_command): Update.
+	(mem_disable_command): Update.
+	(mem_delete_command): Update.
+	* inferior.c (detach_inferior_command): Update.
+	(kill_inferior_command): Update.
+	(remove_inferior_command): Update.
+	* cli/cli-utils.h (struct get_number_or_range_state): New.
+	(init_number_or_range): Declare.
+	(get_number_or_range): Update.
+	* cli/cli-utils.c (init_number_or_range): New function.
+	(get_number_or_range): Change 'pp' parameter to 'state'.  Remove
+	static variables.
+	(number_is_in_list): Update.
+	* breakpoint.h (get_tracepoint_by_number): Update.
+	* breakpoint.c (map_breakpoint_numbers): Update for change to
+	get_number_or_range.
+	(find_location_by_number): Use get_number, not
+	get_number_or_range.
+	(trace_pass_set_count): New function.
+	(trace_pass_command): Update for change to get_number_or_range.
+	Rework loop logic.
+	(get_tracepoint_by_number): Remove 'multi_p' parameter; add
+	'state' parameter.
+
+2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* python/py-param.c (add_setshow_generic): Add set/show callback
+	parameters.  Register Python object context.
+	(get_show_value): New function.
+	(get_set_value): New function.
+	(call_doc_function): New function.
+	(get_doc_string): Move behind get_show_value/get_set_value.
+
+2011-03-10  Andreas Tobler  <andreast-list@fgznet.ch>
+
+	* fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'.
+
+2011-03-09  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.c (xtensa_read_register): Add comment.
+	(xtensa_write_register): Likewise.
+	(xtensa_hextochar): Add comment and update to match coding conventions.
+	(xtensa_frame_cache, xtensa_return_value): Follow coding conventions.
+	(execute_l32e, execute_s32e, execute_code): Update comments.
+	(xtensa_exception_handler_t): Update to match coding conventions.
+	(xtensa_insn_kind): Likewise.
+
 2011-03-09  Michael Snyder  <msnyder@vmware.com>
 
 	* mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak.
@@ -394,7 +518,7 @@
 
 	* mdebugread.c (parse_partial_symbols): Fix indent.
 
-	* gdbserver/linux-arm-low.c (arm_arch_setup): Replace malloc 
+	* gdbserver/linux-arm-low.c (arm_arch_setup): Replace malloc
 	with xmalloc.
 
 	* target-descriptions.c (tdesc_gdb_type): No need to call
@@ -406,7 +530,7 @@
 
 	* utils.c (parse_escape): Escape the escape char.
 
-	* python/py-inferior.c (build_inferior_list): Error out if 
+	* python/py-inferior.c (build_inferior_list): Error out if
 	PyList_Append fails.
 	(gdbpy_inferiors): Error out if build_inferior_list fails.
 
@@ -490,7 +614,7 @@
 


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-09-02 18:41 kseitz
  0 siblings, 0 replies; 45+ messages in thread
From: kseitz @ 2011-09-02 18:41 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  de124f62dc888689a82bb63e77b4cca4ae96407a (commit)
       via  3853dac583b9ce91ce23347ee39483747e261f65 (commit)
       via  933c88fcd452923382e24d46b390d03459b39fa6 (commit)
       via  c300d5222f55a8c132140d776f3fe72ffabc13a6 (commit)
       via  929134dae8eb92b6b901a4ec3931d6708dee6bc7 (commit)
       via  3c68476e500822f8e71fc62d428045bbe7eddda1 (commit)
       via  6d634ce74058b33fa847e9a99db4e88e2342d127 (commit)
       via  9f589a4532366aa010a1a60974b2bb8c95cbe1ca (commit)
       via  ab201216c44aa3865c47e2282b72f8a780b1f96f (commit)
       via  2fdc3492f914a3cb0cde67a407511095497e34a1 (commit)
       via  02f89fd8c4008c17579ba94a4d7bdf14dcb51926 (commit)
       via  37586d683b60613402007b03500ca68d78c4bbfd (commit)
       via  98c796c4f52ed2ff7b7e1f3c5f4b386b3d459b07 (commit)
       via  725587b3e85b3f673fc7da6aea38fc7ae6fea4c3 (commit)
       via  0f8da13abfec5f382c17debe2e60e18c0da2998e (commit)
       via  4ae202a2bc58136830536e3909700ab349627dec (commit)
       via  a1583a3267d739f5260a370a9f110666484a2739 (commit)
       via  8db17ad6e22f21d7356fb688a4bfebcaa9e8efb8 (commit)
       via  f9bb8fdd0542fef712b1e019a16fe67e67763495 (commit)
       via  4faf933a23d4f46d62272f6dd17005e0ee0fefaf (commit)
       via  fe9e6a92b055303b9edd50dd8e79912a5733576f (commit)
       via  f20bb9a3f2e2dde7df29714c1eb0497252be3e57 (commit)
       via  f123f01f6a767cd28ab3a797ee785a256a8358cf (commit)
       via  805e7fbd1685ce2082c06354cce5da0bd28bf30e (commit)
       via  d81ce48c5589bb6018cab85e2476443f98ed4b70 (commit)
       via  38adabbc937cd09934d7a3b41be86b47e4c5ad88 (commit)
       via  ac41146ab22f294b771a62ffa1a4917d81dc7e24 (commit)
       via  b4ee02a103e4bbe157e054438ced7e9785d19e5d (commit)
       via  0d32fe5d14f58c7e4996ab983856e0826039f571 (commit)
       via  23ef90b52f38cf1d7f771a4f2db38db2b8dcfcfa (commit)
       via  11720744362392ed105399f3c1c952c991131d68 (commit)
       via  e50135d4e899c083d17ef60f19b31b89106cb5c0 (commit)
       via  15aa169095c923d45493bb6c17747c09e0b9077a (commit)
       via  fdba0e3092681464d74418ac21011c73ae68b1cb (commit)
       via  3cbe18d59f9eda3de511ec8048c35fd615f4a723 (commit)
       via  2f5d50d893126c794b0c08250ab0828b072ddd32 (commit)
       via  cf2f847408980ea3f394bc1484ed6e85c3fe2282 (commit)
       via  341272638711907f28b0e4c3b2412b6d841ecec1 (commit)
       via  37644fac48090b5d06cc1890e19195b4fd55121a (commit)
       via  4ff200690b4b07bb32b8cb14b0dab34fa33e9df7 (commit)
       via  4d06a7b17d793a2d4a69c1286ab57752ef2dfcfb (commit)
       via  6dcb9fdd4d2fd931fb3ad2c16fe4200d22ee5a9d (commit)
       via  14302db5954906abd8181d5f2f6d3351720b407f (commit)
       via  efda3ea41b80cf99b02f7775c68c4b5a1352c128 (commit)
       via  501ccf59335de56e1df9641f7c5c26041ad19e33 (commit)
       via  357c815671ca5a87944b1ba43281a6062506d9c7 (commit)
       via  8f5463fc20bb515bda5fdfb919daf701f3d62e73 (commit)
       via  1c2d69382e94d31590f7f5ad6e6502180bfe597e (commit)
       via  a4ec9bd501b82eb5fa66856078c295cf1e9d1994 (commit)
       via  fc8385524f84aaf8761963a9119460a6ebd36c6d (commit)
       via  7cf95aa5d743704a81f7af98e2fb8983b8dcacb5 (commit)
       via  a462d95b2e993e9827bf89fd28df68471279e026 (commit)
       via  9b1701a83a73eea21b0a0e93bb54bb8661d08473 (commit)
       via  212cd2f238965cac183c3253aa5c8db106eba968 (commit)
       via  defdf2c3891bfb6332fb8d00f223d061787bba5f (commit)
       via  3507f5cc50f17fc6caabb7d3e47c341b73ef0007 (commit)
       via  4b967e725ba169dba6497a5a0efb8bb6c8f32ee4 (commit)
       via  63c2da9183854895777d7e80cd4a387aa962ddb4 (commit)
       via  1e47308b7ecbc62591c0f51ddb734487280bc1c3 (commit)
       via  12266e5fcf462a1581426581bf4866caba3659c0 (commit)
       via  749fbd25ce1eda12f476adb1417cd7145f7d1553 (commit)
       via  be80867ce4c5abdcf99c9f19732258462641994a (commit)
       via  f8b99709c8a32c4b413c403058b1a68f8adba195 (commit)
       via  121eeb649069ee2d87fbf98ce2c10c7e2e0f0e32 (commit)
       via  d0a3573d88f15c2f683c1cd005f47cb44b7f0e77 (commit)
       via  f7dc45d51e7317abdd471ee0a9668e5972c0c5cc (commit)
       via  7dffb359a92f051ff77fda3cb9a0992fed88abee (commit)
       via  a69c8983e62a45a2b99f2910d02feeb6f45cc065 (commit)
       via  72441da6f2fe16629e17588548de3d03119a2046 (commit)
       via  2d810ba757592d1df19034a12b015b9861ce3368 (commit)
       via  8a574db72c0ae87cb5ae6c4edbffe078bd25a4dc (commit)
       via  c02f5a3cba5f40d7f03b7c182f3b31e4478bb83a (commit)
       via  f33166e9896afe265e43db1ea63753c6af653d77 (commit)
       via  7f5419cbc0eb090cee2d397f8dca9410d1a015e1 (commit)
       via  ef540e7cc196aaa340f14a4c42047c4c4324dd49 (commit)
       via  cc4e2461aec2006cdcd056619060c3afbe0c9d1d (commit)
       via  dcf88c4828e49dfc423b9b0fd0432c6ee84d330c (commit)
       via  5ccfd32754be415e0a77d9dfdada9eed76219eb6 (commit)
       via  7401484a3b0e143b3a5e1b1d982c9a9af3c1b553 (commit)
       via  a6af9ecb64b951167cfb8ba2b6114ee6823d09a5 (commit)
       via  14a099b7953934872c85fbd60e5bd15b5a5dd545 (commit)
       via  7d6e6d1e13e52ede0cf459a782c214113639dcad (commit)
       via  8a29e1bc97f5778b4d4d6da19230860ae843c9e0 (commit)
       via  8b2d7a24f51a7e74b14f757753a447e549068487 (commit)
       via  4e615d22837a7213773476881748c9f73e89943f (commit)
       via  34dd72a91ba78c358cad4c6c08c3825a2f3a7296 (commit)
       via  906950a50d19e469f6b97a613e540d6caae25247 (commit)
       via  4d56b6f9d1e6ad2f4094e1123e26470e58a57173 (commit)
       via  840de89e10938d988d41e0fa44953cb4278e3b8d (commit)
       via  8d9524e13e749a2ff2f3fb7cc3e1fe353d1f17e9 (commit)
       via  5edd93a10880cbc9111e4eca3350ee2c9b9e05d9 (commit)
       via  0406e1c3d1cb2e02a20d6c434c1738a3ad1f93f0 (commit)
       via  18ca7cc1d23cada7633e6908c3dbf2cd46c252d5 (commit)
       via  a0f5d61b27c44104c1a0aac906521e30d5c43a75 (commit)
       via  c184b248e10b8425ca8f2b0cf874c860e630e6fc (commit)
       via  23f9a6a93704a8046c3ad23a649d92be9259d4ba (commit)
       via  1da3d8e3e69f9a238e8110367f2cd4d0bbefaa6f (commit)
       via  e61188dc20c298e1fbe2d7cc921de0ff15568ef7 (commit)
       via  a9cb1a1c600086603f4eeacdacc6d70d2bdf0cdd (commit)
       via  99b3a4dc27f080ce2674c73d1dd50411a554d72b (commit)
       via  271aaac2ec09fb77f9ebd9519b99866efbb62b80 (commit)
       via  55afb5cc61b57e417bb9da08b898e08495d3e4a5 (commit)
       via  3fc3ea6561313c210bc27a8c3a485a670385544b (commit)
       via  7f12503596efa58eba69329f2587592e1d9b0371 (commit)
       via  821ed041d1dfad79215145c33f62106993b2e641 (commit)
       via  0bc7eb65d485bb1be9dfde6bb354b19207633073 (commit)
       via  ec5e7fce9584921e8f0ae21161061bcf1fabb064 (commit)
       via  b970ab682574bf5d05289b62949bef6e1802db10 (commit)
       via  d09f0fb4dac6e17939e26d004ab6bcc1ee6840c4 (commit)
       via  e18cb8bddbdb2d1f9d351e5976807081eac3b7fb (commit)
       via  6e962026419305ae6c540eb01a735cf7c2685c20 (commit)
       via  d675f0df71758ae0ed77d18f8a2bf92c37b51af1 (commit)
       via  63b01efeb30a95be3f005af91b0a799db4a0afc2 (commit)
       via  82940a9fe01f9eef621c8b8d78d3739a93478f7a (commit)
       via  51fd57de0514369b7697a389b926f919505673d9 (commit)
       via  a94c6e82c12af7ed49cb90dcf953c04e94b70e0e (commit)
       via  e25400873f1eb928315825fd0982f1908704d1b9 (commit)
       via  383524a31bed54fa899b9cf10dd253485f1a784d (commit)
       via  1f1fd62acc6e89cd8253cd24cedc92d1dbe36c2e (commit)
       via  4c181b401e29ac84aad60cde8d6a3c79af7ac88a (commit)
       via  83dd8229b69a595f5900dd71a381889ff5c1ca12 (commit)
       via  d2521668e33529dff6dbcc356c36cd6a7fb6d36e (commit)
       via  16283aab8a47f20c8a0c5fa7cb86ca0d72df6c32 (commit)
       via  f325eb92a79338b75891c61b03a0d220a6520b65 (commit)
       via  d2c8efa6ad882444f602aa031c337427b858ed03 (commit)
       via  1bd3e4ae69c88312d8bc0fbbc7181116b840aec1 (commit)
       via  89fa801a3cee0d402dfd3b672dfcd89f9fafd151 (commit)
       via  4491fae9cfe5d492ac49dda54be23b7f2ad7d521 (commit)
       via  73a6385ca2589fb8d00c71964421af2e2b79e2d8 (commit)
       via  648d569217f81fe5644a9dd38cf4c3ef1a7b99a0 (commit)
       via  c5fce18816c49d91c06c0bd9a4e5d6726af5c508 (commit)
       via  7c9202cb57f8395f8149ea27583145555facef10 (commit)
       via  101154f1453bae9d106d16d2370abc4654bc8f35 (commit)
       via  f1474dc4749ecf868dc8353c7563f899ba47b47b (commit)
       via  d98d69f90da424d4ca4edea77e38cd13488af5ce (commit)
       via  1716dce74927cbfc06d27862c2ac3e9335ce9b4d (commit)
       via  1ee5d2481d40c42da16347b1d129de8dc54f6340 (commit)
       via  ac307d43f7a779d054d0a28ca5ad9490ef4d1728 (commit)
       via  2d5f0b2d9e6e25c526ce4596139c74708d0f024d (commit)
       via  f6811c1f3ff7de0e03270d7f88ba2c82b14c309a (commit)
       via  622270636fb94cf9b066d61a0778f733d9a2953d (commit)
       via  0c3fed0d46b5cd55c0b67eba9e04ff91305eac44 (commit)
       via  92219627c7d67b7c017f685bd194c1e060834f5e (commit)
       via  b4d942bb9ced23b02f6f2fb3a7e7d6c379df14d7 (commit)
       via  edde6978a5c3ee8a2eeafa99a13a6ecb95bf1aff (commit)
       via  5260dc5b96f51d073f2cd959885deb4bc33fa75e (commit)
       via  f5e1e07e8645602634f04ccc1a4ccb9ab55e078b (commit)
       via  998ded766c7bad536864aad9ca648f7baf44367c (commit)
       via  7e1126afc1751dbac7fbbdc388d7db9d7d45493f (commit)
       via  4eb108ad2e530cfd39871f60c2b7b68ebccd027c (commit)
       via  c8fdcd88196cad12b1785196fd5ae2ee2710d3f1 (commit)
       via  e2f4af4fa1a1b6d6317684454d6ab5dc60577c7b (commit)
       via  1cf696a3ca6e7fbcd7cefb4453ea47dad7d56ce2 (commit)
       via  9e909d20405e0f20dcfefcc7a732a3571a3cd222 (commit)
       via  6319b244bb2a30f815cf0ea4ea75f4615e54f0a7 (commit)
       via  b8925db2ffb40b3060663e8eb388ec002bab0781 (commit)
       via  1f710ded08a71aa06c5f3e02be2a767b68469cd8 (commit)
       via  896dc548849842cb3e6796ef2f52bab4ef1c500d (commit)
       via  2f8d4ec669a51a12e7559c5e040f01bc36560333 (commit)
       via  075368556bc24b5bf93b6133738fbdc9285eb046 (commit)
       via  0a09bb331c00e275ffb2f359da7eb300ad89e47a (commit)
       via  c4e4770b5a2f437897eba3b319e769a0ca9c50cf (commit)
       via  4bc9652c5174dcd69ad31d9897ac0a477ffdcedc (commit)
       via  f298b231d6953e6717a55ed8507255dfeed40d46 (commit)
       via  9a0caebbc79750e52bbfa25a96b4e784645960a6 (commit)
       via  fdfc8647cb05c7fb81439d0e240ea96ddba78258 (commit)
       via  2d84225afefc0bbe54878701ac425e0b92e9ea43 (commit)
       via  4632dc7594fcefaabebc14b11fbb9899b28cdb25 (commit)
       via  d9720f780e00fbb4a3fe7d8a85d511cac6b6549a (commit)
       via  e9f2a2fb758af55d70656a1cdee7c3904c980dfd (commit)
       via  a5c266bb89af0e0b6a7ec36b44ec8ad63d6415ad (commit)
       via  069a01335c3e5a18c5ee7aedff942bd753d85979 (commit)
       via  572ae324f6fb3c4ba2f8ca68d128d64692f29fcf (commit)
       via  312edf2c03f75df48658a7ffa89e51e92e510dba (commit)
       via  42153de06202e4aae0028692ffb8f4241a88f264 (commit)
       via  f51582eaf6915a365ff221dd1bd779ae3d29e941 (commit)
       via  31eaa3821255d058aaa4abc5bf6a67d28ef1a0b1 (commit)
       via  11df14cc7457457334577fd47cb5ff56730d44cd (commit)
       via  133e86fd20f5080a08e2c461adf0de5d898387c9 (commit)
       via  8178db181964d965ae8ca8db7c04f12d6b8841db (commit)
       via  b36afbe46ef1705f58fedacf2b120060d2c052b6 (commit)
       via  790b49ae9c189ad7674356598019dc45b719d9e2 (commit)
       via  bbf0b0a19df04cfd787139222ed44efa512ec346 (commit)
       via  41b397c635d2c95bc3007fa6a13ac30615792892 (commit)
       via  4dbfc668f5f2e0a8e053983d865bf66e298b168d (commit)
       via  c8e304313cf98443af573e940796bdd136772da8 (commit)
       via  1946477f085862d246c46c3ce1d886d2d56edc22 (commit)
       via  d619a45290a1c0f322ce537f59feb3a88f802cf4 (commit)
       via  d19e6d6cc5e359264b13ac2040b5f09e03c985a8 (commit)
       via  91ca59b09cb9121e109d6e06ad8f8c4e2e9fa1ca (commit)
       via  614addee27876225cbd969a6c3ba45eb60cb587d (commit)
       via  dc59d9075fd9bfc48ceb9790279dd247f139df36 (commit)
       via  eeac72340b94a0f740377de01db24eacb4053b45 (commit)
       via  d151d9c4ae29e21e2ef20e693f94b5f8833ab048 (commit)
       via  991a8c73c524fff940a40d6297ee3e8e948bba4f (commit)
       via  c483a691ce82f1de406220c177958c6b516d4e51 (commit)
       via  c7521fcc747f84bbb38e9b20c33d0cd188fc39ee (commit)
       via  99f75a69aaff508f285af12a54599ccf723f75c9 (commit)
       via  2c058339d05b160165250a17c0509aa85c95d8bd (commit)
       via  3961b5b20951478e5ff3f07145dad43a2ecf52c1 (commit)
       via  31efb176cc4b326c6c8308ea083447e73393b591 (commit)
       via  1dcd1d370a448bb69b901b79c06a1aa927c58683 (commit)
       via  49c026948157691b949769c8c3365d18cf74b319 (commit)
       via  3058135bf0ecb36155c75948e3ee7a18833ea003 (commit)
       via  3c5229c8581885984169c0e43cea842837cba493 (commit)
       via  dee46f9ec59ab56eed3c2bb57291e37242a1e4dd (commit)
       via  66a3539dad554bd4f7f605011e2bb28823b0c163 (commit)
       via  073d87ded2f615d07f4ab1b7986f1b10a2809e65 (commit)
       via  c299c0cdff4effd572e47261926a114b35ec0a85 (commit)
       via  6f4eadb5b9ada2cc143fbed4f9b6905820cf17fb (commit)
       via  012fac25b34765462da39c93edb57857bab1c175 (commit)
       via  3b20c85554a424862bdae6f95e1d6e4ff743439c (commit)
       via  16134eea2cf6dac8a6830bc1ab3b5ccfb2c20511 (commit)
       via  49d22a5baeb746fd49d4f49b957b6d1ca913af3d (commit)
       via  101e95e8a31879712dff26d233cdb266c1aba673 (commit)
       via  fe859723ec5d5a057d7aec377036136bd4ae4369 (commit)
       via  fe342b8fe9b16daa451b438518e5059c62855909 (commit)
       via  8f45e6a5b032b5b14fa56df004c5c175964e811c (commit)
       via  6447056c074a55e63a5cbe15e75d19fbbbdd3ef1 (commit)
       via  7d3d1b4a38adb81e968c08f09b2076cc85d66072 (commit)
       via  5db3f37bfb7c629b4595e6959836a9746ff07bc6 (commit)
       via  0a42310ff85330e1af6374eac153d1c7996f85d3 (commit)
       via  bfefe6fec63cc7be58ae01a3dd759cfe06a1e8f0 (commit)
       via  230c592e23658d62720400183112a99a43e54be3 (commit)
       via  4a2b02314b17b53cdb9392c742fe11239790930e (commit)
       via  77400e2ad1e055992ae927d8597a9bc5c1aea6c7 (commit)
       via  f800dff96eae100f07cd7e178f7b6e4b980cfc7d (commit)
       via  3db9e4c95edadd61fd1cd827347fe0f68a98251d (commit)
       via  52b95297981e1243abe1bcc1b32c3a480a1a7f5e (commit)
       via  f3f5948c78cb2115fe021593e6583b6d459c0e29 (commit)
       via  7311390cd17fcc2a7099bd1589d07747479c67b3 (commit)
       via  9aad09be35e8567e7ff1883034fb17f2a0703a83 (commit)
       via  4cf413cddcb1f86f184fa427c9fc079bc6ccdde6 (commit)
       via  aebcfc3147e75ca716c86d579d46ec4b2adad5e4 (commit)
       via  50c0296b39dfc54ccf4c45e397c7cd63f63bf729 (commit)
       via  ce2bfb5d6cee935258c11f488b0fccb6816e930a (commit)
       via  67456fec41d21c468836b54d6b2a2709cae9d4b4 (commit)
       via  ccdcabff71259aa4784c2a004cac818411fae977 (commit)
       via  f901945e84d4356ecee4a1b7c06eabf515e87aeb (commit)
       via  94bc8a8f6145c1dd8937c0516a9b506d78c4289d (commit)
       via  aeb58e4eb81793830422bd0c3a0e97f0949e3179 (commit)
       via  d58702431d5833efba8777b4668727895aa19fc0 (commit)
       via  01f43862e2cb8ae8cb203d33d045575b205b253a (commit)
       via  8c42105b62a24c6e00fb6ef2d28280200a6d4770 (commit)
       via  46df92ada09808c3e23f244073ca6e38dbe8ee31 (commit)
       via  6d58782d0a1336d5cb6d9eae30bf6ebeaa0d70ae (commit)
       via  2ae0556d5cf48bb6b7a9f113837722f5d59124a0 (commit)
       via  5482670f8de3f5afb1f5c4fc051cbaaaa7c5bf0a (commit)
       via  1ea0ca74e74898abcdcd280679a886ee68825dac (commit)
       via  8d2ed360af754c6bf6b0b7c3e37db570f18f39c0 (commit)
       via  bc757aa4df42772de341c260a0b87b5d0dad986a (commit)
       via  96fd921972966166fda0eb300bfa4e5479f3b31f (commit)
       via  25993ce40950a8b34b31efd49790a16be3d5c519 (commit)
       via  a9b3da94bae50d88a10d3158d7360e1545ccb8a7 (commit)
       via  b002038111ddbace065011955f98fe50e8d0e794 (commit)
       via  7b0ba7e2d409d1864af5b32aa904895b1b0813d4 (commit)
       via  a007d94a6a9ecfce3be7c7c08026aec697f08538 (commit)
       via  6e94ab2c3817f387d1b1621ad36575c710c09d6d (commit)
       via  87b5e086787b4a5396a303dd2e82fd9163edd8a4 (commit)
       via  712d52906e7877548df480f231f1ba45f2823d48 (commit)
       via  b722ec47091f14953af30fcb159aac1bfb50e87f (commit)
       via  fdc07668d3f537cb1c77f96d1cb1c0ca5769a964 (commit)
       via  6ca636601466311802dfbc339485c16fab5bc77b (commit)
       via  ab80d2f364824d136e19c3161523b2308db1760d (commit)
       via  2adf90077dec6c3dcb421383b45eadbc59230949 (commit)
       via  8d62a695cfeb03db16ddca36cec1820ea88c8ae3 (commit)
       via  2e56713adcaa05081b8b1ec84c4e0ae6271318a4 (commit)
       via  9d9a570165d534fe676eb1529e5ba9bced37f3ac (commit)
       via  bb0a793fe51061cb875b045d07c738f692f1cd85 (commit)
       via  cf79d1c560165b507dfa0dfa8525c2d48b68d38b (commit)
      from  0cf4b16f246916a84f4e70b21632bd602d945802 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit de124f62dc888689a82bb63e77b4cca4ae96407a
Merge: 0cf4b16 3853dac
Author: keiths <keiths@redhat.com>
Date:   Thu Sep 1 14:49:59 2011 -0700

    Merge remote-tracking branch 'gdb/master'

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   78 +
 Makefile.def                                       |   15 +-
 Makefile.in                                        |  539 +-
 Makefile.tpl                                       |   23 +-
 bfd/ChangeLog                                      |  582 ++-
 bfd/Makefile.am                                    |    2 +
 bfd/Makefile.in                                    |    3 +
 bfd/archures.c                                     |   25 +-
 bfd/bfd-in.h                                       |   17 +-
 bfd/bfd-in2.h                                      |   90 +-
 bfd/coff-alpha.c                                   |    2 +-
 bfd/coff-i386.c                                    |    9 +-
 bfd/coff-mips.c                                    |    2 +-
 bfd/coff-stgo32.c                                  |   24 +
 bfd/coffcode.h                                     |    2 +-
 bfd/coffgen.c                                      |   67 +
 bfd/cofflink.c                                     |    6 +-
 bfd/config.bfd                                     |   49 +-
 bfd/configure                                      |    3 +
 bfd/configure.in                                   |    3 +
 bfd/cpu-i386.c                                     |    7 +-
 bfd/cpu-k1om.c                                     |   56 +
 bfd/cpu-mips.c                                     |    6 +-
 bfd/dwarf2.c                                       |    2 +
 bfd/elf-bfd.h                                      |   15 +-
 bfd/elf32-arm.c                                    |   29 +-
 bfd/elf32-i386.c                                   |  431 +-
 bfd/elf32-mips.c                                   |  593 ++-
 bfd/elf32-ppc.c                                    |  166 +-
 bfd/elf64-hppa.c                                   |    6 +-
 bfd/elf64-mips.c                                   |  655 ++-
 bfd/elf64-mmix.c                                   |  129 +-
 bfd/elf64-ppc.c                                    |  271 +-
 bfd/elf64-x86-64.c                                 |  121 +-
 bfd/elflink.c                                      |  372 +-
 bfd/elfn32-mips.c                                  |  656 ++-
 bfd/elfxx-mips.c                                   | 1487 +++-
 bfd/elfxx-mips.h                                   |   20 +-
 bfd/elfxx-target.h                                 |    7 +-
 bfd/libbfd-in.h                                    |   24 +-
 bfd/libbfd.h                                       |   54 +-
 bfd/libcoff-in.h                                   |    2 +
 bfd/libcoff.h                                      |    2 +
 bfd/linker.c                                       |  267 +-
 bfd/mach-o-i386.c                                  |    1 +
 bfd/mach-o-target.c                                |    1 -
 bfd/mach-o-x86-64.c                                |   44 +-
 bfd/mach-o.c                                       | 1120 ++-
 bfd/mach-o.h                                       |   94 +-
 bfd/netbsd-core.c                                  |    1 +
 bfd/po/es.po                                       | 1605 ++--
 bfd/reloc.c                                        |   71 +-
 bfd/targets.c                                      |   13 +-
 bfd/version.h                                      |    2 +-
 bfd/vms-alpha.c                                    |    4 +-
 config/ChangeLog                                   |    4 +
 config/picflag.m4                                  |   95 +
 configure                                          |  238 +-
 configure.ac                                       |  214 +-
 cpu/ChangeLog                                      |   24 +
 cpu/fr30.cpu                                       | 1861 ++++
 cpu/fr30.opc                                       |  253 +
 cpu/ip2k.cpu                                       | 1480 +++
 cpu/ip2k.opc                                       |  633 ++
 cpu/mep-avc.cpu                                    | 1423 +++
 cpu/mep-avc2.cpu                                   | 1987 ++++
 cpu/mep-c5.cpu                                     |  281 +
 cpu/mep-core.cpu                                   | 3082 ++++++
 cpu/mep-default.cpu                                |   27 +
 cpu/mep-ext-cop.cpu                                |   25 +
 cpu/mep-fmax.cpu                                   |  340 +
 cpu/mep-h1.cpu                                     |   49 +
 cpu/mep-ivc2.cpu                                   | 9777 ++++++++++++++++++++
 cpu/mep-rhcop.cpu                                  |  342 +
 cpu/mep-sample-ucidsp.cpu                          |  120 +
 cpu/mep.cpu                                        |   21 +
 cpu/mep.opc                                        | 1669 ++++
 cpu/openrisc.cpu                                   |  774 ++
 cpu/openrisc.opc                                   |  164 +
 cpu/xstormy16.cpu                                  | 1965 ++++
 cpu/xstormy16.opc                                  |  168 +
 gdb/ChangeLog                                      | 1326 +++
 gdb/MAINTAINERS                                    |    2 +
 gdb/Makefile.in                                    |   45 +-
 gdb/NEWS                                           |   47 +-
 gdb/ada-lang.c                                     |  137 +-
 gdb/amd64-tdep.c                                   |   37 +-
 gdb/bfin-tdep.c                                    |    2 +-
 gdb/breakpoint.c                                   | 2884 ++++---
 gdb/breakpoint.h                                   |  221 +-
 gdb/cli-out.c                                      |    2 +-
 gdb/cli/cli-cmds.c                                 |    2 +-
 gdb/cli/cli-decode.c                               |    2 +-
 gdb/cli/cli-dump.c                                 |    4 +-
 gdb/cli/cli-interp.c                               |   11 +-
 gdb/cli/cli-logging.c                              |    5 +-
 gdb/cli/cli-script.c                               |    2 +-
 gdb/cli/cli-setshow.c                              |    3 +
 gdb/common/buffer.c                                |  144 +
 gdb/common/buffer.h                                |   63 +
 gdb/common/common-utils.c                          |  170 +
 gdb/common/common-utils.h                          |   59 +
 gdb/{ => common}/gdb_assert.h                      |    0
 gdb/{ => common}/gdb_dirent.h                      |    0
 gdb/{ => common}/gdb_locale.h                      |    0
 gdb/common/linux-osdata.c                          |  588 ++
 gdb/{gdb_dirent.h => common/linux-osdata.h}        |   36 +-
 gdb/common/linux-procfs.c                          |   55 +
 gdb/{gdb_dirent.h => common/linux-procfs.h}        |   38 +-
 gdb/common/ptid.c                                  |   94 +
 gdb/common/ptid.h                                  |   87 +
 gdb/common/xml-utils.c                             |   91 +
 gdb/{gdb_dirent.h => common/xml-utils.h}           |   34 +-
 gdb/config/alpha/alpha-linux.mh                    |    2 +-
 gdb/config/arm/linux.mh                            |    3 +-
 gdb/config/djgpp/fnchange.lst                      |   24 +
 gdb/config/i386/linux.mh                           |    2 +-
 gdb/config/i386/linux64.mh                         |    6 +-
 gdb/config/ia64/linux.mh                           |    4 +-
 gdb/config/m32r/linux.mh                           |    2 +-
 gdb/config/m68k/linux.mh                           |    3 +-
 gdb/config/mips/linux.mh                           |    3 +-
 gdb/config/pa/linux.mh                             |    5 +-
 gdb/config/powerpc/linux.mh                        |    2 +-
 gdb/config/powerpc/ppc64-linux.mh                  |    2 +-
 gdb/config/powerpc/spu-linux.mh                    |    3 +-
 gdb/config/s390/s390.mh                            |    3 +-
 gdb/config/sparc/linux.mh                          |    3 +-
 gdb/config/sparc/linux64.mh                        |    3 +-
 gdb/config/xtensa/linux.mh                         |    3 +-
 gdb/configure.tgt                                  |   11 +
 gdb/cp-abi.c                                       |    3 +
 gdb/cp-name-parser.y                               |  141 +-
 gdb/cp-support.c                                   |  455 +-
 gdb/cp-support.h                                   |   32 +-
 gdb/darwin-nat-info.c                              |    1 +
 gdb/darwin-nat.c                                   |    5 +-
 gdb/data-directory/Makefile.in                     |    4 +-
 gdb/dcache.c                                       |  168 +-
 gdb/defs.h                                         |   72 +-
 gdb/doc/ChangeLog                                  |   54 +
 gdb/doc/gdb.texinfo                                |  275 +-
 gdb/doc/observer.texi                              |    5 +
 gdb/doublest.c                                     |    6 +-
 gdb/dwarf2-frame.c                                 |   61 +-
 gdb/dwarf2expr.c                                   |   56 +
 gdb/dwarf2expr.h                                   |   11 +
 gdb/dwarf2loc.c                                    |   20 +-
 gdb/dwarf2read.c                                   | 1223 ++-
 gdb/elfread.c                                      |   39 +-
 gdb/eval.c                                         |   10 +-
 gdb/event-loop.c                                   |   39 +-
 gdb/event-loop.h                                   |    2 +-
 gdb/event-top.c                                    |  107 +-
 gdb/event-top.h                                    |    3 -
 gdb/exceptions.c                                   |   63 +-
 gdb/exceptions.h                                   |    5 +-
 gdb/features/Makefile                              |   10 +-
 gdb/features/tic6x-c62x-linux.c                    |   56 +
 gdb/features/tic6x-c62x-linux.xml                  |   13 +
 gdb/features/tic6x-c62x.c                          |   54 +
 gdb/features/tic6x-c62x.xml                        |   12 +
 gdb/features/tic6x-c64x-linux.c                    |   90 +
 gdb/features/tic6x-c64x-linux.xml                  |   14 +
 gdb/features/tic6x-c64x.c                          |   88 +
 gdb/features/tic6x-c64x.xml                        |   13 +
 gdb/features/tic6x-c64xp-linux.c                   |   95 +
 gdb/features/tic6x-c64xp-linux.xml                 |   15 +
 gdb/features/tic6x-c64xp.c                         |   93 +
 gdb/features/tic6x-c64xp.xml                       |   14 +
 gdb/features/tic6x-c6xp.xml                        |   13 +
 gdb/features/tic6x-core.xml                        |   44 +
 gdb/features/tic6x-gp.xml                          |   42 +
 gdb/findvar.c                                      |   24 +-
 gdb/frame.c                                        |    4 +-
 gdb/gdbarch.c                                      |   33 +
 gdb/gdbarch.h                                      |   11 +
 gdb/gdbarch.sh                                     |    5 +
 gdb/gdbserver/ChangeLog                            |  106 +
 gdb/gdbserver/Makefile.in                          |   54 +-
 gdb/gdbserver/config.in                            |   15 +
 gdb/gdbserver/configure                            |  159 +
 gdb/gdbserver/configure.ac                         |    1 +
 gdb/gdbserver/configure.srv                        |   46 +-
 gdb/gdbserver/i386-low.c                           |   69 +-
 gdb/gdbserver/inferiors.c                          |   82 -
 gdb/gdbserver/linux-low.c                          |  440 +-
 gdb/gdbserver/linux-tic6x-low.c                    |  334 +
 gdb/gdbserver/remote-utils.c                       |  164 -
 gdb/gdbserver/server.c                             |   23 +-
 gdb/gdbserver/server.h                             |  137 +-
 gdb/gdbserver/target.c                             |   16 +-
 gdb/gdbserver/target.h                             |    4 +
 gdb/gdbserver/tracepoint.c                         |    6 +-
 gdb/gdbserver/utils.c                              |   77 +-
 gdb/gdbserver/win32-low.c                          |    2 +
 gdb/i386-nat.c                                     |  281 +-
 gdb/i386-tdep.c                                    |   59 +-
 gdb/i386-tdep.h                                    |    9 +-
 gdb/inf-loop.c                                     |    5 +
 gdb/infcmd.c                                       |   38 +-
 gdb/inferior.c                                     |    6 +-
 gdb/inferior.h                                     |   32 +-
 gdb/infrun.c                                       |   88 +-
 gdb/interps.c                                      |    6 +-
 gdb/linespec.c                                     |   45 +-
 gdb/linux-nat.c                                    |  236 +-
 gdb/linux-nat.h                                    |    4 -
 gdb/linux-thread-db.c                              |    4 +
 gdb/macrocmd.c                                     |  133 +-
 gdb/macrotab.c                                     |    6 +-
 gdb/macrotab.h                                     |    9 +-
 gdb/maint.c                                        |   14 +-
 gdb/mi/mi-cmd-break.c                              |   12 +-
 gdb/mi/mi-cmd-disas.c                              |    3 +-
 gdb/mi/mi-cmd-env.c                                |   11 +-
 gdb/mi/mi-cmd-file.c                               |    4 +
 gdb/mi/mi-cmd-stack.c                              |    8 +-
 gdb/mi/mi-cmd-target.c                             |   12 +-
 gdb/mi/mi-cmd-var.c                                |   17 +-
 gdb/mi/mi-getopt.c                                 |    6 +-
 gdb/mi/mi-getopt.h                                 |    2 +-
 gdb/mi/mi-interp.c                                 |    8 +-
 gdb/mi/mi-main.c                                   |   47 +-
 gdb/mi/mi-symbol-cmds.c                            |    1 +
 gdb/osdata.c                                       |    1 +
 gdb/printcmd.c                                     |   41 +-
 gdb/progspace.c                                    |    2 +-
 gdb/progspace.h                                    |    3 +
 gdb/python/lib/gdb/__init__.py                     |   27 +-
 gdb/python/lib/gdb/command/pretty_printers.py      |    2 +
 gdb/python/lib/gdb/command/prompt.py               |   66 +
 gdb/python/lib/gdb/prompt.py                       |  149 +
 gdb/python/py-auto-load.c                          |    2 +
 gdb/python/py-breakpoint.c                         |   21 +-
 gdb/python/py-cmd.c                                |    2 +-
 gdb/python/py-frame.c                              |    2 +-
 gdb/python/py-function.c                           |    2 +-
 gdb/python/py-inferior.c                           |    2 +-
 gdb/python/py-param.c                              |    2 +-
 gdb/python/py-symbol.c                             |   18 +
 gdb/python/py-type.c                               |   11 +-
 gdb/python/python.c                                |   84 +-
 gdb/regcache.c                                     |   55 +
 gdb/regcache.h                                     |    6 +
 gdb/regformats/tic6x-c62x-linux.dat                |   38 +
 gdb/regformats/tic6x-c62x.dat                      |   38 +
 gdb/regformats/tic6x-c64x-linux.dat                |   70 +
 gdb/regformats/tic6x-c64x.dat                      |   70 +
 gdb/regformats/tic6x-c64xp-linux.dat               |   73 +
 gdb/regformats/tic6x-c64xp.dat                     |   73 +
 gdb/remote-fileio.c                                |    3 +-
 gdb/remote.c                                       |   77 +-
 gdb/sentinel-frame.c                               |   15 +-
 gdb/solib-dsbt.c                                   | 1197 +++
 gdb/solib-frv.c                                    |  189 +-
 gdb/solib-irix.c                                   |  137 +-
 gdb/solib-pa64.c                                   |   48 +-
 gdb/solib-sunos.c                                  |  144 +-
 gdb/solib-svr4.c                                   |  263 +-
 gdb/solib-target.c                                 |   20 +-
 gdb/solib.c                                        |  288 +-
 gdb/solib.h                                        |   13 +
 gdb/solist.h                                       |   20 +-
 gdb/somread.c                                      |   16 +-
 gdb/source.c                                       |    1 +
 gdb/spu-tdep.c                                     |  124 +-
 gdb/stack.c                                        |  172 +-
 gdb/symfile-mem.c                                  |    2 +-
 gdb/symfile.c                                      |    7 +-
 gdb/symfile.h                                      |    4 +
 gdb/symtab.c                                       |    1 +
 gdb/target.h                                       |    2 +
 gdb/testsuite/ChangeLog                            |  256 +
 gdb/testsuite/gdb.arch/i386-dr3-watch.exp          |   44 +
 gdb/testsuite/gdb.base/break-always.exp            |   20 +
 gdb/testsuite/gdb.base/callfuncs.exp               |    2 +-
 gdb/testsuite/gdb.base/commands.exp                |   69 +
 gdb/testsuite/gdb.base/display.c                   |    2 +
 gdb/testsuite/gdb.base/display.exp                 |   26 +
 gdb/testsuite/gdb.base/{savedregs.c => float.c}    |   45 +-
 gdb/testsuite/gdb.base/float.exp                   |    5 +-
 gdb/testsuite/gdb.base/help.exp                    |    2 +-
 gdb/testsuite/gdb.base/info-macros.c               |   73 +
 gdb/testsuite/gdb.base/info-macros.exp             |  202 +
 gdb/testsuite/gdb.base/jit-so.exp                  |   12 +-
 gdb/testsuite/gdb.base/jit.exp                     |    8 +-
 gdb/testsuite/gdb.base/maint.exp                   |    5 +
 gdb/testsuite/gdb.base/nostdlib.exp                |    8 +
 gdb/testsuite/gdb.base/savedregs.c                 |   14 +
 gdb/testsuite/gdb.base/savedregs.exp               |    1 +
 gdb/testsuite/gdb.base/watch-vfork.exp             |    5 +
 gdb/testsuite/gdb.base/watchpoint.exp              |   19 +
 gdb/testsuite/gdb.cp/cplusfuncs.exp                |    2 +-
 gdb/testsuite/gdb.cp/infcall-dlopen.exp            |    5 +-
 gdb/testsuite/gdb.cp/inherit.exp                   |    2 +-
 gdb/testsuite/gdb.cp/meth-typedefs.cc              |  151 +
 gdb/testsuite/gdb.cp/meth-typedefs.exp             |  160 +
 gdb/testsuite/gdb.cp/overload.exp                  |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.exp  |    5 +-
 .../gdb.dwarf2/dw2-ifort-parameter-debug.S         |  122 +
 .../dw2-ifort-parameter.c}                         |   44 +-
 gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.exp   |   40 +
 gdb/testsuite/gdb.dwarf2/dw2-op-stack-value.S      |  132 +
 ...2-stack-boundary.exp => dw2-op-stack-value.exp} |   43 +-
 gdb/testsuite/gdb.dwarf2/dw2-simple-locdesc.S      |  169 +
 ...2-stack-boundary.exp => dw2-simple-locdesc.exp} |   28 +-
 gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.exp    |    2 +-
 gdb/testsuite/gdb.dwarf2/implptr.c                 |    2 +-
 gdb/testsuite/gdb.dwarf2/implptr.exp               |   19 +-
 gdb/testsuite/gdb.dwarf2/typeddwarf-amd64.S        | 1568 ++++
 gdb/testsuite/gdb.dwarf2/typeddwarf.c              |    2 +-
 gdb/testsuite/gdb.dwarf2/typeddwarf.exp            |   23 +-
 gdb/testsuite/gdb.mi/gdb669.exp                    |    5 -
 .../gdb.mi/mi-inheritance-syntax-error.cc          |   31 +
 .../gdb.mi/mi-inheritance-syntax-error.exp         |   73 +
 gdb/testsuite/gdb.mi/mi-nonstop-exit.exp           |    2 +-
 gdb/testsuite/gdb.mi/mi-nonstop.exp                |    2 +-
 gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp      |    2 +-
 gdb/testsuite/gdb.mi/mi-nsintrall.exp              |    2 +-
 gdb/testsuite/gdb.mi/mi-nsmoribund.exp             |    2 +-
 gdb/testsuite/gdb.mi/mi-nsthrexec.exp              |    2 +-
 gdb/testsuite/gdb.mi/mi-pthreads.exp               |    5 -
 gdb/testsuite/gdb.mi/mi-syn-frame.c                |   13 +-
 gdb/testsuite/gdb.mi/mi-var-cp.cc                  |    6 +-
 gdb/testsuite/gdb.mi/mi2-pthreads.exp              |    5 -
 gdb/testsuite/gdb.python/py-breakpoint.exp         |    8 +
 gdb/testsuite/gdb.python/py-mi.exp                 |   11 +-
 gdb/testsuite/gdb.python/py-prettyprint.c          |    8 +
 gdb/testsuite/gdb.python/py-prettyprint.exp        |   17 +-
 gdb/testsuite/gdb.python/py-prettyprint.py         |   15 +
 gdb/testsuite/gdb.python/py-shared.exp             |    1 +
 gdb/testsuite/gdb.python/py-symbol.exp             |    9 +-
 gdb/testsuite/gdb.python/py-template.exp           |   24 +-
 gdb/testsuite/gdb.python/py-type.exp               |   20 +-
 gdb/testsuite/gdb.python/py-value.exp              |   32 +-
 gdb/testsuite/gdb.python/python.exp                |  108 +
 gdb/testsuite/gdb.threads/Makefile.in              |    3 +-
 gdb/testsuite/gdb.threads/pthreads.exp             |    5 -
 gdb/testsuite/gdb.threads/thread-find.exp          |    4 +
 gdb/testsuite/gdb.trace/backtrace.exp              |    4 +-
 gdb/testsuite/gdb.trace/collection.exp             |    4 +-
 gdb/testsuite/gdb.trace/report.exp                 |    4 +-
 gdb/testsuite/gdb.trace/unavailable.exp            |   42 +-
 gdb/testsuite/gdb.trace/while-dyn.exp              |    4 +-
 gdb/testsuite/gdb.xml/tdesc-regs.exp               |    3 +
 gdb/testsuite/lib/mi-support.exp                   |    4 +-
 gdb/thread.c                                       |    6 +-
 gdb/tic6x-linux-tdep.c                             |  224 +
 gdb/tic6x-tdep.c                                   | 1389 +++
 gdb/tic6x-tdep.h                                   |   54 +
 gdb/top.c                                          |  120 +-
 gdb/top.h                                          |   20 +-
 gdb/tracepoint.c                                   |  108 +-
 gdb/tracepoint.h                                   |    2 +-
 gdb/tui/tui-interp.c                               |   79 -
 gdb/tui/tui-io.c                                   |    8 +-
 gdb/tui/tui-regs.c                                 |   56 +-
 gdb/tui/tui-stack.c                                |    7 +-
 gdb/typeprint.c                                    |    6 +-
 gdb/ui-out.c                                       |    2 +-
 gdb/ui-out.h                                       |    2 +-
 gdb/utils.c                                        |  163 +-
 gdb/valops.c                                       |   12 +-
 gdb/value.h                                        |    2 +-
 gdb/varobj.c                                       |   48 +-
 gdb/version.in                                     |    2 +-
 gdb/xcoffread.c                                    |    4 +-
 gdb/xml-support.c                                  |   66 +-
 gdb/xml-support.h                                  |    6 +-
 include/ChangeLog                                  |   35 +
 include/dwarf2.h                                   |   16 +
 include/elf/ChangeLog                              |   42 +
 include/elf/common.h                               |    2 +-
 include/elf/mips.h                                 |   84 +-
 include/elf/x86-64.h                               |    1 +
 include/libiberty.h                                |    5 +-
 include/mach-o/ChangeLog                           |   15 +
 include/mach-o/external.h                          |  273 +
 include/mach-o/loader.h                            |  264 +-
 include/mach-o/reloc.h                             |   53 +
 include/mach-o/x86-64.h                            |   37 +
 include/opcode/ChangeLog                           |  196 +
 include/opcode/mips.h                              |  590 ++-
 include/opcode/sparc.h                             |    8 +-
 include/xregex.h                                   |    1 +
 libiberty/ChangeLog                                |   76 +-
 libiberty/Makefile.in                              |   19 +-
 libiberty/aclocal.m4                               |    1 +
 libiberty/config.in                                |    6 +
 libiberty/configure                                |  115 +-
 libiberty/configure.ac                             |   37 +-
 libiberty/cp-demangle.c                            |   24 +-
 libiberty/md5.c                                    |   16 +-
 libiberty/stack-limit.c                            |   62 +
 libiberty/testsuite/demangle-expected              |    9 +
 libiberty/testsuite/test-expandargv.c              |    7 +-
 opcodes/ChangeLog                                  |  127 +
 opcodes/Makefile.am                                |   47 +-
 opcodes/Makefile.in                                |   48 +-
 opcodes/configure                                  |    4 +-
 opcodes/configure.in                               |    4 +-
 opcodes/disassemble.c                              |    1 +
 opcodes/i386-dis.c                                 |   41 +-
 opcodes/i386-gen.c                                 |    5 +-
 opcodes/i386-init.h                                |  169 +-
 opcodes/i386-opc.h                                 |    3 +
 opcodes/i386-opc.tbl                               |    2 +-
 opcodes/i386-tbl.h                                 | 6054 ++++++------
 opcodes/micromips-opc.c                            |  971 ++
 opcodes/mips-dis.c                                 |  867 ++-
 opcodes/mips-opc.c                                 |   60 +-
 opcodes/mips16-opc.c                               |   15 +-
 opcodes/po/es.po                                   |  327 +-
 opcodes/sparc-dis.c                                |   19 +-
 opcodes/sparc-opc.c                                |   88 +
 src-release                                        |    2 +-
 417 files changed, 58144 insertions(+), 12129 deletions(-)
 create mode 100644 bfd/cpu-k1om.c
 create mode 100644 config/picflag.m4
 create mode 100644 cpu/fr30.cpu
 create mode 100644 cpu/fr30.opc
 create mode 100644 cpu/ip2k.cpu
 create mode 100644 cpu/ip2k.opc
 create mode 100644 cpu/mep-avc.cpu
 create mode 100644 cpu/mep-avc2.cpu
 create mode 100644 cpu/mep-c5.cpu
 create mode 100644 cpu/mep-core.cpu
 create mode 100644 cpu/mep-default.cpu
 create mode 100644 cpu/mep-ext-cop.cpu
 create mode 100644 cpu/mep-fmax.cpu
 create mode 100644 cpu/mep-h1.cpu
 create mode 100644 cpu/mep-ivc2.cpu
 create mode 100644 cpu/mep-rhcop.cpu
 create mode 100644 cpu/mep-sample-ucidsp.cpu
 create mode 100644 cpu/mep.cpu
 create mode 100644 cpu/mep.opc
 create mode 100644 cpu/openrisc.cpu
 create mode 100644 cpu/openrisc.opc
 create mode 100644 cpu/xstormy16.cpu
 create mode 100644 cpu/xstormy16.opc
 create mode 100644 gdb/common/buffer.c
 create mode 100644 gdb/common/buffer.h
 create mode 100644 gdb/common/common-utils.c
 create mode 100644 gdb/common/common-utils.h
 rename gdb/{ => common}/gdb_assert.h (100%)
 copy gdb/{ => common}/gdb_dirent.h (100%)
 rename gdb/{ => common}/gdb_locale.h (100%)
 create mode 100644 gdb/common/linux-osdata.c
 copy gdb/{gdb_dirent.h => common/linux-osdata.h} (51%)
 create mode 100644 gdb/common/linux-procfs.c
 copy gdb/{gdb_dirent.h => common/linux-procfs.h} (50%)
 create mode 100644 gdb/common/ptid.c
 create mode 100644 gdb/common/ptid.h
 create mode 100644 gdb/common/xml-utils.c
 rename gdb/{gdb_dirent.h => common/xml-utils.h} (53%)
 create mode 100644 gdb/features/tic6x-c62x-linux.c
 create mode 100644 gdb/features/tic6x-c62x-linux.xml
 create mode 100644 gdb/features/tic6x-c62x.c
 create mode 100644 gdb/features/tic6x-c62x.xml
 create mode 100644 gdb/features/tic6x-c64x-linux.c
 create mode 100644 gdb/features/tic6x-c64x-linux.xml
 create mode 100644 gdb/features/tic6x-c64x.c
 create mode 100644 gdb/features/tic6x-c64x.xml
 create mode 100644 gdb/features/tic6x-c64xp-linux.c
 create mode 100644 gdb/features/tic6x-c64xp-linux.xml
 create mode 100644 gdb/features/tic6x-c64xp.c
 create mode 100644 gdb/features/tic6x-c64xp.xml
 create mode 100644 gdb/features/tic6x-c6xp.xml
 create mode 100644 gdb/features/tic6x-core.xml
 create mode 100644 gdb/features/tic6x-gp.xml
 create mode 100644 gdb/gdbserver/linux-tic6x-low.c
 create mode 100644 gdb/python/lib/gdb/command/prompt.py
 create mode 100644 gdb/python/lib/gdb/prompt.py
 create mode 100644 gdb/regformats/tic6x-c62x-linux.dat
 create mode 100644 gdb/regformats/tic6x-c62x.dat
 create mode 100644 gdb/regformats/tic6x-c64x-linux.dat
 create mode 100644 gdb/regformats/tic6x-c64x.dat
 create mode 100644 gdb/regformats/tic6x-c64xp-linux.dat
 create mode 100644 gdb/regformats/tic6x-c64xp.dat
 create mode 100644 gdb/solib-dsbt.c
 copy gdb/testsuite/gdb.base/{savedregs.c => float.c} (52%)
 create mode 100644 gdb/testsuite/gdb.base/info-macros.c
 create mode 100644 gdb/testsuite/gdb.base/info-macros.exp
 create mode 100644 gdb/testsuite/gdb.cp/meth-typedefs.cc
 create mode 100644 gdb/testsuite/gdb.cp/meth-typedefs.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter-debug.S
 copy gdb/testsuite/{gdb.base/savedregs.c => gdb.dwarf2/dw2-ifort-parameter.c} (54%)
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-ifort-parameter.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-op-stack-value.S
 copy gdb/testsuite/gdb.dwarf2/{dw2-stack-boundary.exp => dw2-op-stack-value.exp} (52%)
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-simple-locdesc.S
 copy gdb/testsuite/gdb.dwarf2/{dw2-stack-boundary.exp => dw2-simple-locdesc.exp} (60%)
 create mode 100644 gdb/testsuite/gdb.dwarf2/typeddwarf-amd64.S
 create mode 100644 gdb/testsuite/gdb.mi/mi-inheritance-syntax-error.cc
 create mode 100644 gdb/testsuite/gdb.mi/mi-inheritance-syntax-error.exp
 create mode 100644 gdb/tic6x-linux-tdep.c
 create mode 100644 gdb/tic6x-tdep.c
 create mode 100644 gdb/tic6x-tdep.h
 create mode 100644 include/mach-o/external.h
 create mode 100644 include/mach-o/reloc.h
 create mode 100644 include/mach-o/x86-64.h
 create mode 100644 libiberty/stack-limit.c
 create mode 100644 opcodes/micromips-opc.c

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 9a5f2a5..e572d95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,81 @@
+2011-08-19  Joel Brobecker  <brobecker@adacore.com>
+
+	* src-release (GDB_SUPPORT_DIRS): Add 'cpu'.
+
+2011-08-14  Yao Qi  <yao@codesourcery.com>
+
+	Merge from gcc:
+
+	2011-08-14  Yao Qi  <yao@codesourcery.com>
+	* configure.ac (tic6x-*-*): Remove gdb from noconfigdirs.
+	* configure: Regenerate.
+
+2011-07-26  Ian Lance Taylor  <iant@google.com>
+
+	Merge from gcc:
+
+	2011-07-26  Ian Lance Taylor  <iant@google.com>
+	* configure.ac: Set have_compiler based on whether gcc directory
+	exists, rather than on whether gcc is in configdirs.
+	* configure: Rebuild.
+
+	2011-07-20  David Edelsohn  <dje.gcc@gmail.com>
+	* Makefile.tpl (POSTSTAGE1_CONFIGURE_FLAGS): Add libsupc++ to
+	link directories.
+	* Makefile.in: Rebuild.
+
+	2011-07-20  Ian Lance Taylor  <iant@google.com>
+	PR bootstrap/49787
+	* configure.ac: Move --enable-bootstrap handling earlier in file.
+	If --enable-bootstrap and either --enable-build-with-cxx or
+	--enable-build-poststage1-with-cxx, enable C++ automatically.
+	* configure: Rebuild.
+
+	2011-07-19  Ian Lance Taylor  <iant@google.com>
+	* configure.ac: Add --enable-build-poststage1-with-cxx.  If set,
+	make C++ a boot_language.  Set and substitute
+	POSTSTAGE1_CONFIGURE_FLAGS.
+	* Makefile.tpl (POSTSTAGE1_CONFIGURE_FLAGS): New variable.
+	(STAGE[+id+]_CONFIGURE_FLAGS): Add $(POSTSTAGE1_CONFIGURE_FLAGS).
+	* configure, Makefile.in: Rebuild.
+
+	2011-07-16  Jason Merrill  <jason@redhat.com>
+	* Makefile.def (language=c++): Add check-c++0x and
+	check-target-libmudflap-c++.
+	* Makefile.tpl (check-target-libmudflap-c++): New.
+	* Makefile.in: Regenerate.
+
+	2011-07-16  Matthias Klose  <doko@ubuntu.com>
+	* Makefile.tpl (EXTRA_CONFIGARGS_LIBJAVA): Define.
+	* Makefile.def (target_modules/libjava): Pass
+	$(EXTRA_CONFIGARGS_LIBJAVA).
+	* configure.ac: Pass --disable-static in EXTRA_CONFIGARGS_LIBJAVA,
+	if not configured with --enable-static-libjava.
+	* Makefile.in: Regenerate.
+	* configure: Likewise.
+
+	2011-06-22  Hans-Peter Nilsson  <hp@axis.com>
+	PR regression/47836
+	PR bootstrap/23656
+	PR other/47733
+	PR bootstrap/49247
+	PR c/48825
+	* configure.ac (target_libraries): Remove target-libiberty.
+	Remove case-statement setting skipdirs=target-libiberty for
+	multiple targets.  Remove checking target_configdirs and
+	removing target-libiberty but keeping target-libgcc if
+	otherwise empty.
+	* Makefile.def (target_modules): Don't add libiberty.
+	(dependencies): Remove all traces of target-libiberty.
+	* configure, Makefile.in: Regenerate.
+
+2011-07-22  Jason Merrill  <jason@redhat.com>
+
+	* Makefile.def (language=c++): Add check-c++0x and
+	check-target-libmudflap-c++.
+	* Makefile.tpl (check-target-libmudflap-c++): New.
+	* Makefile.in: Regenerate.
+
 2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
 	* configure: Regenerate.
diff --git a/Makefile.def b/Makefile.def
index f499180..5116341 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -131,9 +131,9 @@ target_modules = { module= libtermcap; no_check=true;
                    missing=maintainer-clean; };
 target_modules = { module= winsup; };
 target_modules = { module= libgloss; no_check=true; };
-target_modules = { module= libiberty; };
 target_modules = { module= libffi; };
-target_modules = { module= libjava; raw_cxx=true; };
+target_modules = { module= libjava; raw_cxx=true;
+                   extra_configure_flags="$(EXTRA_CONFIGARGS_LIBJAVA)"; };
 target_modules = { module= zlib; };
 target_modules = { module= boehm-gc; };
 target_modules = { module= rda; };
@@ -481,7 +481,6 @@ lang_env_dependencies = { module=libiberty; no_c=true; };
 dependencies = { module=configure-target-boehm-gc; on=all-target-libstdc++-v3; };
 dependencies = { module=configure-target-fastjar; on=configure-target-zlib; };
 dependencies = { module=all-target-fastjar; on=all-target-zlib; };
-dependencies = { module=all-target-fastjar; on=all-target-libiberty; };
 dependencies = { module=configure-target-libgo; on=configure-target-libffi; };
 dependencies = { module=configure-target-libgo; on=all-target-libstdc++-v3; };
 dependencies = { module=all-target-libgo; on=all-target-libffi; };
@@ -493,9 +492,7 @@ dependencies = { module=all-target-libjava; on=all-target-zlib; };
 dependencies = { module=all-target-libjava; on=all-target-boehm-gc; };
 dependencies = { module=all-target-libjava; on=all-target-libffi; };
 dependencies = { module=configure-target-libobjc; on=configure-target-boehm-gc; };
-dependencies = { module=all-target-libobjc; on=all-target-libiberty; };
 dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; };
-dependencies = { module=all-target-libstdc++-v3; on=all-target-libiberty; };
 dependencies = { module=configure-target-libstdc++-v3; on=configure-target-libgomp; };
 // parallel_list.o and parallel_settings.o depend on omp.h, which is
 // generated by the libgomp configure.  Unfortunately, due to the use of
@@ -508,17 +505,15 @@ lang_env_dependencies = { module=rda; };
 lang_env_dependencies = { module=winsup; };
 
 dependencies = { module=all-target-libgloss; on=all-target-newlib; };
-dependencies = { module=all-target-winsup; on=all-target-libiberty; };
 dependencies = { module=all-target-winsup; on=all-target-libtermcap; };
-dependencies = { module=configure-target-libiberty; on=all-binutils; };
-dependencies = { module=configure-target-libiberty; on=all-ld; };
 dependencies = { module=configure-target-newlib; on=all-binutils; };
 dependencies = { module=configure-target-newlib; on=all-ld; };
 dependencies = { module=configure-target-libgfortran; on=all-target-libquadmath; };
 
 languages = { language=c;	gcc-check-target=check-gcc; };
-languages = { language=c++;	gcc-check-target=check-c++;
-				lib-check-target=check-target-libstdc++-v3; };
+languages = { language=c++;	gcc-check-target="check-c++ check-c++0x";
+				lib-check-target=check-target-libstdc++-v3;
+				lib-check-target=check-target-libmudflap-c++; };
 languages = { language=fortran;	gcc-check-target=check-fortran;
 				lib-check-target=check-target-libquadmath;
 				lib-check-target=check-target-libgfortran; };
diff --git a/Makefile.in b/Makefile.in
index 944839b..d1206bd 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -237,10 +237,13 @@ POSTSTAGE1_CXX_EXPORT = \
 	CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
 	  -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
 	  -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
+	  -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
 	  -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
 	  -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
 	  -I$$s/libstdc++-v3/libsupc++ \
-	  -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs"; export CXX; \
+	  -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
+	  -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
+	  export CXX; \
 	CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
 @endif target-libstdc++-v3-bootstrap
 
@@ -316,6 +319,8 @@ HOST_CLOOGINC = @clooginc@
 HOST_LIBELFLIBS = @libelflibs@
 HOST_LIBELFINC = @libelfinc@
 
+EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
+
 # ----------------------------------------------
 # Programs producing files for the BUILD machine
 # ----------------------------------------------
@@ -413,6 +418,7 @@ TFLAGS =
 STAGE_CFLAGS = $(BOOT_CFLAGS)
 STAGE_TFLAGS = $(TFLAGS)
 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
+POSTSTAGE1_CONFIGURE_FLAGS = @POSTSTAGE1_CONFIGURE_FLAGS@
 
 
 # Defaults for stage 1; some are overridden below.
@@ -423,7 +429,10 @@ STAGE1_CXXFLAGS = $(CXXFLAGS)
 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
 @endif target-libstdc++-v3-bootstrap
 STAGE1_TFLAGS = $(STAGE_TFLAGS)
-STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
+# STAGE1_CONFIGURE_FLAGS overridden below, so we can use
+# POSTSTAGE1_CONFIGURE_FLAGS here.
+STAGE1_CONFIGURE_FLAGS = \
+	$(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
 
 # Defaults for stage 2; some are overridden below.
 STAGE2_CFLAGS = $(STAGE_CFLAGS)
@@ -433,7 +442,10 @@ STAGE2_CXXFLAGS = $(CXXFLAGS)
 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
 @endif target-libstdc++-v3-bootstrap
 STAGE2_TFLAGS = $(STAGE_TFLAGS)
-STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
+# STAGE1_CONFIGURE_FLAGS overridden below, so we can use
+# POSTSTAGE1_CONFIGURE_FLAGS here.
+STAGE2_CONFIGURE_FLAGS = \
+	$(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
 
 # Defaults for stage 3; some are overridden below.
 STAGE3_CFLAGS = $(STAGE_CFLAGS)
@@ -443,7 +455,10 @@ STAGE3_CXXFLAGS = $(CXXFLAGS)
 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
 @endif target-libstdc++-v3-bootstrap
 STAGE3_TFLAGS = $(STAGE_TFLAGS)
-STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
+# STAGE1_CONFIGURE_FLAGS overridden below, so we can use
+# POSTSTAGE1_CONFIGURE_FLAGS here.
+STAGE3_CONFIGURE_FLAGS = \
+	$(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
 
 # Defaults for stage 4; some are overridden below.
 STAGE4_CFLAGS = $(STAGE_CFLAGS)
@@ -453,7 +468,10 @@ STAGE4_CXXFLAGS = $(CXXFLAGS)
 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
 @endif target-libstdc++-v3-bootstrap
 STAGE4_TFLAGS = $(STAGE_TFLAGS)
-STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
+# STAGE1_CONFIGURE_FLAGS overridden below, so we can use
+# POSTSTAGE1_CONFIGURE_FLAGS here.
+STAGE4_CONFIGURE_FLAGS = \
+	$(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
 
 # Defaults for stage profile; some are overridden below.
 STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
@@ -463,7 +481,10 @@ STAGEprofile_CXXFLAGS = $(CXXFLAGS)
 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
 @endif target-libstdc++-v3-bootstrap
 STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
-STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
+# STAGE1_CONFIGURE_FLAGS overridden below, so we can use
+# POSTSTAGE1_CONFIGURE_FLAGS here.
+STAGEprofile_CONFIGURE_FLAGS = \
+	$(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
 
 # Defaults for stage feedback; some are overridden below.
 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
@@ -473,7 +494,10 @@ STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
 @endif target-libstdc++-v3-bootstrap
 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
-STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
+# STAGE1_CONFIGURE_FLAGS overridden below, so we can use
+# POSTSTAGE1_CONFIGURE_FLAGS here.
+STAGEfeedback_CONFIGURE_FLAGS = \
+	$(STAGE_CONFIGURE_FLAGS) $(POSTSTAGE1_CONFIGURE_FLAGS)
 
 
 # Only build the C compiler for stage1, because that is the only one that
@@ -491,6 +515,9 @@ STAGE1_LANGUAGES = @stage1_languages@
 #   the last argument when conflicting --enable arguments are passed.
 # * Likewise, we force-disable coverage flags, since the installed
 #   compiler probably has never heard of them.
+# * Don't remove this, because above we added
+#   POSTSTAGE1_CONFIGURE_FLAGS to STAGE_CONFIGURE_FLAGS, which
+#   we don't want for STAGE1_CONFIGURE_FLAGS.
 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
 	  --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
 
@@ -917,7 +944,6 @@ configure-target:  \
     maybe-configure-target-libtermcap \
     maybe-configure-target-winsup \
     maybe-configure-target-libgloss \
-    maybe-configure-target-libiberty \
     maybe-configure-target-libffi \
     maybe-configure-target-libjava \
     maybe-configure-target-zlib \
@@ -1062,7 +1088,6 @@ all-target: maybe-all-target-libgo
 all-target: maybe-all-target-libtermcap
 all-target: maybe-all-target-winsup
 all-target: maybe-all-target-libgloss
-all-target: maybe-all-target-libiberty
 all-target: maybe-all-target-libffi
 all-target: maybe-all-target-libjava
 all-target: maybe-all-target-zlib
@@ -1147,7 +1172,6 @@ info-target: maybe-info-target-libgo
 info-target: maybe-info-target-libtermcap
 info-target: maybe-info-target-winsup
 info-target: maybe-info-target-libgloss
-info-target: maybe-info-target-libiberty
 info-target: maybe-info-target-libffi
 info-target: maybe-info-target-libjava
 info-target: maybe-info-target-zlib
@@ -1225,7 +1249,6 @@ dvi-target: maybe-dvi-target-libgo
 dvi-target: maybe-dvi-target-libtermcap
 dvi-target: maybe-dvi-target-winsup
 dvi-target: maybe-dvi-target-libgloss
-dvi-target: maybe-dvi-target-libiberty
 dvi-target: maybe-dvi-target-libffi
 dvi-target: maybe-dvi-target-libjava
 dvi-target: maybe-dvi-target-zlib
@@ -1303,7 +1326,6 @@ pdf-target: maybe-pdf-target-libgo
 pdf-target: maybe-pdf-target-libtermcap
 pdf-target: maybe-pdf-target-winsup
 pdf-target: maybe-pdf-target-libgloss
-pdf-target: maybe-pdf-target-libiberty
 pdf-target: maybe-pdf-target-libffi
 pdf-target: maybe-pdf-target-libjava
 pdf-target: maybe-pdf-target-zlib
@@ -1381,7 +1403,6 @@ html-target: maybe-html-target-libgo
 html-target: maybe-html-target-libtermcap
 html-target: maybe-html-target-winsup
 html-target: maybe-html-target-libgloss
-html-target: maybe-html-target-libiberty
 html-target: maybe-html-target-libffi
 html-target: maybe-html-target-libjava
 html-target: maybe-html-target-zlib
@@ -1459,7 +1480,6 @@ TAGS-target: maybe-TAGS-target-libgo
 TAGS-target: maybe-TAGS-target-libtermcap
 TAGS-target: maybe-TAGS-target-winsup
 TAGS-target: maybe-TAGS-target-libgloss
-TAGS-target: maybe-TAGS-target-libiberty
 TAGS-target: maybe-TAGS-target-libffi
 TAGS-target: maybe-TAGS-target-libjava
 TAGS-target: maybe-TAGS-target-zlib
@@ -1537,7 +1557,6 @@ install-info-target: maybe-install-info-target-libgo
 install-info-target: maybe-install-info-target-libtermcap
 install-info-target: maybe-install-info-target-winsup
 install-info-target: maybe-install-info-target-libgloss
-install-info-target: maybe-install-info-target-libiberty
 install-info-target: maybe-install-info-target-libffi
 install-info-target: maybe-install-info-target-libjava
 install-info-target: maybe-install-info-target-zlib
@@ -1615,7 +1634,6 @@ install-pdf-target: maybe-install-pdf-target-libgo
 install-pdf-target: maybe-install-pdf-target-libtermcap
 install-pdf-target: maybe-install-pdf-target-winsup
 install-pdf-target: maybe-install-pdf-target-libgloss
-install-pdf-target: maybe-install-pdf-target-libiberty
 install-pdf-target: maybe-install-pdf-target-libffi
 install-pdf-target: maybe-install-pdf-target-libjava
 install-pdf-target: maybe-install-pdf-target-zlib
@@ -1693,7 +1711,6 @@ install-html-target: maybe-install-html-target-libgo
 install-html-target: maybe-install-html-target-libtermcap
 install-html-target: maybe-install-html-target-winsup
 install-html-target: maybe-install-html-target-libgloss
-install-html-target: maybe-install-html-target-libiberty
 install-html-target: maybe-install-html-target-libffi
 install-html-target: maybe-install-html-target-libjava
 install-html-target: maybe-install-html-target-zlib
@@ -1771,7 +1788,6 @@ installcheck-target: maybe-installcheck-target-libgo
 installcheck-target: maybe-installcheck-target-libtermcap
 installcheck-target: maybe-installcheck-target-winsup
 installcheck-target: maybe-installcheck-target-libgloss
-installcheck-target: maybe-installcheck-target-libiberty
 installcheck-target: maybe-installcheck-target-libffi
 installcheck-target: maybe-installcheck-target-libjava
 installcheck-target: maybe-installcheck-target-zlib
@@ -1849,7 +1865,6 @@ mostlyclean-target: maybe-mostlyclean-target-libgo
 mostlyclean-target: maybe-mostlyclean-target-libtermcap
 mostlyclean-target: maybe-mostlyclean-target-winsup
 mostlyclean-target: maybe-mostlyclean-target-libgloss
-mostlyclean-target: maybe-mostlyclean-target-libiberty
 mostlyclean-target: maybe-mostlyclean-target-libffi
 mostlyclean-target: maybe-mostlyclean-target-libjava
 mostlyclean-target: maybe-mostlyclean-target-zlib
@@ -1927,7 +1942,6 @@ clean-target: maybe-clean-target-libgo
 clean-target: maybe-clean-target-libtermcap
 clean-target: maybe-clean-target-winsup
 clean-target: maybe-clean-target-libgloss
-clean-target: maybe-clean-target-libiberty
 clean-target: maybe-clean-target-libffi
 clean-target: maybe-clean-target-libjava
 clean-target: maybe-clean-target-zlib
@@ -2005,7 +2019,6 @@ distclean-target: maybe-distclean-target-libgo
 distclean-target: maybe-distclean-target-libtermcap
 distclean-target: maybe-distclean-target-winsup
 distclean-target: maybe-distclean-target-libgloss
-distclean-target: maybe-distclean-target-libiberty
 distclean-target: maybe-distclean-target-libffi
 distclean-target: maybe-distclean-target-libjava
 distclean-target: maybe-distclean-target-zlib
@@ -2083,7 +2096,6 @@ maintainer-clean-target: maybe-maintainer-clean-target-libgo
 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
 maintainer-clean-target: maybe-maintainer-clean-target-winsup
 maintainer-clean-target: maybe-maintainer-clean-target-libgloss
-maintainer-clean-target: maybe-maintainer-clean-target-libiberty
 maintainer-clean-target: maybe-maintainer-clean-target-libffi
 maintainer-clean-target: maybe-maintainer-clean-target-libjava
 maintainer-clean-target: maybe-maintainer-clean-target-zlib
@@ -2216,7 +2228,6 @@ check-target:  \
     maybe-check-target-libtermcap \
     maybe-check-target-winsup \
     maybe-check-target-libgloss \
-    maybe-check-target-libiberty \
     maybe-check-target-libffi \
     maybe-check-target-libjava \
     maybe-check-target-zlib \
@@ -2366,7 +2377,6 @@ install-target:  \
     maybe-install-target-libtermcap \
     maybe-install-target-winsup \
     maybe-install-target-libgloss \
-    maybe-install-target-libiberty \
     maybe-install-target-libffi \
     maybe-install-target-libjava \
     maybe-install-target-zlib \
@@ -2463,7 +2473,6 @@ install-strip-target:  \
     maybe-install-strip-target-libtermcap \
     maybe-install-strip-target-winsup \
     maybe-install-strip-target-libgloss \
-    maybe-install-strip-target-libiberty \
     maybe-install-strip-target-libffi \
     maybe-install-strip-target-libjava \
     maybe-install-strip-target-zlib \
@@ -36413,463 +36422,6 @@ maintainer-clean-target-libgloss:
 
 
 
-.PHONY: configure-target-libiberty maybe-configure-target-libiberty
-maybe-configure-target-libiberty:
-@if gcc-bootstrap
-configure-target-libiberty: stage_current
-@endif gcc-bootstrap
-@if target-libiberty
-maybe-configure-target-libiberty: configure-target-libiberty
-configure-target-libiberty: 
-	@: $(MAKE); $(unstage)
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	echo "Checking multilib configuration for libiberty..."; \
-	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
-	$(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.tmp 2> /dev/null ; \
-	if test -r $(TARGET_SUBDIR)/libiberty/multilib.out; then \
-	  if cmp -s $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; then \
-	    rm -f $(TARGET_SUBDIR)/libiberty/multilib.tmp; \
-	  else \
-	    rm -f $(TARGET_SUBDIR)/libiberty/Makefile; \
-	    mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
-	  fi; \
-	else \
-	  mv $(TARGET_SUBDIR)/libiberty/multilib.tmp $(TARGET_SUBDIR)/libiberty/multilib.out; \
-	fi; \
-	test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
-	$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
-	$(NORMAL_TARGET_EXPORTS)  \
-	echo Configuring in $(TARGET_SUBDIR)/libiberty; \
-	cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
-	case $(srcdir) in \
-	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
-	  *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
-		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
-	esac; \
-	srcdiroption="--srcdir=$${topdir}/libiberty"; \
-	libsrcdir="$$s/libiberty"; \
-	rm -f no-such-file || : ; \
-	CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
-	  $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
-	  --target=${target_alias} $${srcdiroption}  \
-	  || exit 1
-@endif target-libiberty
-
-
-
-
-
-.PHONY: all-target-libiberty maybe-all-target-libiberty
-maybe-all-target-libiberty:
-@if gcc-bootstrap
-all-target-libiberty: stage_current
-@endif gcc-bootstrap
-@if target-libiberty
-TARGET-target-libiberty=all
-maybe-all-target-libiberty: all-target-libiberty
-all-target-libiberty: configure-target-libiberty
-	@: $(MAKE); $(unstage)
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS)  \
-	(cd $(TARGET_SUBDIR)/libiberty && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)  \
-		$(TARGET-target-libiberty))
-@endif target-libiberty
-
-
-
-
-
-.PHONY: check-target-libiberty maybe-check-target-libiberty
-maybe-check-target-libiberty:
-@if target-libiberty
-maybe-check-target-libiberty: check-target-libiberty
-
-check-target-libiberty:
-	@: $(MAKE); $(unstage)
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
-	$(NORMAL_TARGET_EXPORTS) \
-	(cd $(TARGET_SUBDIR)/libiberty && \
-	  $(MAKE) $(TARGET_FLAGS_TO_PASS)   check)
-
-@endif target-libiberty
-
-.PHONY: install-target-libiberty maybe-install-target-libiberty
-maybe-install-target-libiberty:
-@if target-libiberty
-maybe-install-target-libiberty: install-target-libiberty
-
-install-target-libiberty: installdirs
-	@: $(MAKE); $(unstage)
-	@r=`${PWD_COMMAND}`; export r; \
-	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-08-08 14:41 gary
  0 siblings, 0 replies; 45+ messages in thread
From: gary @ 2011-08-08 14:41 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  0cf4b16f246916a84f4e70b21632bd602d945802 (commit)
       via  d307f3f2dbf3a34cea9a9d19f2709c1e15e23913 (commit)
       via  ad3d9ab5c783ab58ca0207d9d44169370e662fda (commit)
       via  f35c0b67e636d7ccddfee8ace6b462a73394b482 (commit)
       via  406d2a269aaeff6148cae91a81e56267e05c1dff (commit)
       via  59a58ac53ad1625a0c7f5b36d193026d671ee64e (commit)
       via  73ad5db2604b950426d0d5d07f1921a45657001d (commit)
       via  96584d33def1eb2e918112fbe81bfbb841370166 (commit)
       via  87a8b6cb269109f149cd4fbde8955e2fcdcb631a (commit)
       via  3b679b8f4c54fea282da750f4b6452184b45dae0 (commit)
       via  f3309d4c0d5effeafb6d042a24b3769235a681bb (commit)
       via  b17a0223e61aedb10829b03c52a5c0726ea089f3 (commit)
       via  9b5e767eb35e5ec78ab5fefaafc231b966a2aeb5 (commit)
       via  c5d7b782510cc1973dbaa33863a253674af2476a (commit)
       via  b81108dade63a937fac70d49d18b1bc9aa187fd9 (commit)
       via  b98bfc0b341d1a0256eead1b80ce235c4a37f988 (commit)
       via  013ae742f1bbe19a6c13946066b904e98e84163b (commit)
       via  04fb3a0afbfe956de77e9b290c38efce67660ed5 (commit)
       via  89ed0b26e81d6ae6572adde1feae320a01321c11 (commit)
       via  3c4a91b873387673660639833d96bfa5a1616889 (commit)
       via  d63a541607869191cb9b4275770017bdf34eece6 (commit)
       via  0f2bd1cfe3c10d7249ca64a51d7c59eed08bed21 (commit)
       via  f66fa3127ab91a8d1a6784ef3d072bef87ca2758 (commit)
       via  84a22f1c2284d33fa91aff1bc240c13d039708b5 (commit)
       via  b7813c9ca3110fd6a5e0b6a6b8965ff0cdd29da5 (commit)
       via  4c7042be03e259c907be368302fca9f15f5b1b44 (commit)
       via  eab39d675aa9597d48724b91cc55828f7dc08f14 (commit)
       via  2877c7ce99a8b94c6eebad70a6f5fa4852c2727e (commit)
       via  326f58e9915854ed59572cbd5795bd79c36ec77c (commit)
       via  8599d0975d5a5b374bac0739ed620154e4df2882 (commit)
       via  523535388342fc51e94f0db5c1fe975a55de95a7 (commit)
       via  d7c98194c92e06e2d47d6698b47e84f30a026dae (commit)
       via  b2661971598f2874b670acf6a3efc246550aa2f3 (commit)
       via  71cdc39fa1270989b8ec7e38f010bc8ef8a6f265 (commit)
       via  4634fda269b6bc0edab4d35b6fa9afd06be98f78 (commit)
       via  879758acef31c12211e13ffe500c530f3784d6f8 (commit)
       via  98b2f4f602a5110f21798dd6f3bbb2e9901cbfa2 (commit)
       via  e8482913963b4b5bc69cb22c50c77b87c4f9784d (commit)
       via  83253b72931a0824c2936c2581eea2070f570be2 (commit)
       via  f7ebcc40737dec5573a330e153ca6f6a36ca930d (commit)
       via  46ab31d2e9edfa4f1ce9f559e5966b103b58e64a (commit)
       via  982bc97186860695df5c1979f0e0a6d7d4a6d3dd (commit)
       via  872b7668686ffae68f1f3397de9d68512679e8e7 (commit)
       via  273a2e8358e545b1740296485dc07cfa468fbe67 (commit)
       via  959c84add59f0b5f076c16ec0de0d86fe803d348 (commit)
       via  5051b741af115cf297fa03f91c9894bc3664eae3 (commit)
       via  aaf99e37f69b06a5964b2ed498ba31720422a932 (commit)
       via  fcc51a3385b147c074ff0abb0ddfcdece40d100e (commit)
       via  c4f0e1880e986f8a359b5f9a3d837587706cfd4a (commit)
       via  acfe85f56075910a3ba5e8b76189e0770079b8d1 (commit)
       via  1240d00ef2092028f3d3811ae4fb9295edaa7e30 (commit)
       via  5fa49ba4e80d342b0e2b7e7322947c7da45524e0 (commit)
       via  b3c716393afae25cecbd588547b1d8efd6289433 (commit)
       via  06c711c6c945991bd95cdc8a4ce72b2c8ee80732 (commit)
       via  d80c734110e0923e65b1d55e9d1c593e71af8a68 (commit)
       via  cb53181e94b0910c67910adce70e69086d5ee0a1 (commit)
       via  d086d10e7e4a7efe89b4f7facd9240ffb0dc1312 (commit)
       via  a6e18163f39e0d8432fb6407c833067498c1e16b (commit)
       via  814ebff94c3ab7b6aafbbb281b13d5003bb6e253 (commit)
       via  3fbb676961751f4c388a39ec57a082223a0e6cbd (commit)
       via  b0d69d3cfe69ee610c7a3a32fc033f54d2c8312a (commit)
       via  a9ebd6673b5dc9d08e7b88cfd6f81bc92a28bc68 (commit)
       via  7bd518fd9738c50a5197af2b184acd97e4d4df40 (commit)
       via  35a5e6fd4ebc16e8b08dcad7a93206913237f014 (commit)
       via  844225ae043315e51de93011829fbc92e130c4fe (commit)
       via  096bc64b0669d08947294daf79d7576288fd77db (commit)
       via  ba52ef129052b3036188734d0783b1a772897e8e (commit)
       via  4a4c3c574db12e265dc829bb967ff14f62c095a4 (commit)
       via  5761123dc0b69a89f940e8894f5f8f7bd1d9574a (commit)
       via  1def77069162fe168a472733759ce94f223b75cf (commit)
       via  5f3da32a5e1b2b36a1a5a352b80289f5cb0e3da4 (commit)
       via  bcfa5b4631463732b94e697a607d2b2b1fbef27f (commit)
       via  1a22912eeec35903c13195b7ce5ad18401c19af0 (commit)
       via  08369ee371ee74f55ca6fd16ccee1b88985132d8 (commit)
       via  417fab5d1ae189d7d3f30515560927884057939b (commit)
       via  693423e7f7958112c723289855179e05bee273bb (commit)
       via  d8e82ca581adc62de2d816cbe06c4ff87b1444a9 (commit)
       via  d38fa148621cc1679e8035b10bb3ee441ae6c3a7 (commit)
       via  04d14a06af5420d3737340399de89ee9a493517d (commit)
       via  a950b351ac34fd4eb1e737d33239f4719efbaa84 (commit)
       via  27d1cc7cca74da1ad194ffb8249b371e650f68a9 (commit)
       via  4ec36e2d3a3476304d1dac50ab6a3df0955aa9a8 (commit)
       via  5df3005e3951880b55ff154208b5b074a8b2220d (commit)
       via  bb1a59adb60fce6c90067718b4c7202abc730d7d (commit)
       via  5fcef10ce98a58a5ec153f73ab5510b57c3dc29c (commit)
       via  f6b77f5d4cc349d800440789e9fce8f476641e9f (commit)
       via  737a3f6ab3a6403013b8f4299847656d34378f90 (commit)
       via  303a8782e46605fa7978f5256b3b2a8695f407e5 (commit)
       via  eb084f33f1d9abd777cb0d6fe6e36c866c77c1f5 (commit)
       via  4580b7b5912496cf9a3ae48b8361848fde0720cf (commit)
       via  3ce54eac3a187fc67983dd408776c26743b4248a (commit)
       via  21d2cc94055b6a6de93f3a405c739f74fa3c4626 (commit)
       via  8842cedf390f8ffbf5961ed439cc79c267d547f8 (commit)
       via  95e4c95776a4a184eafe0264671d92655d68a450 (commit)
       via  036b55e29af8ed5f656a7e7c81c3dba97dfcb5c7 (commit)
       via  72d03548688f26d57d27f538c1a3336b88c995b9 (commit)
       via  07d9f069fa53b7c4a32fea3f01a94a01694fc1b9 (commit)
       via  d270ca1a5607605ca91205f5e34b04aadf483f32 (commit)
       via  99f9012eeb28f178edebd61e20a00a2764f44342 (commit)
       via  b77fa2c6be01f68cb84dfe7b2760171044dab265 (commit)
       via  d0710dfa423efe752c9ff6d1c9bffa88d57bc656 (commit)
       via  c2f94aa7de1607173153c00c9504d8d773ab771f (commit)
       via  cb04f1b39a1757e11b0278d3588632e8515d9b55 (commit)
       via  16008aa989b0c2dbb6348a7bafe5e4cdac430bfd (commit)
       via  873aeeb6ed6a9d621e25d0c957fe201cb77af50a (commit)
       via  2142eb8cf1ba3c13f77f99f971f211ad9276ab28 (commit)
       via  285b9b7e21109edeaac1285f59b93cd0f973af64 (commit)
       via  c58f05063b6d739c7990f7cedb91d939c5099ce8 (commit)
       via  4e8eb6e55b09faf57f002365f5d8f5eeb3642fb8 (commit)
       via  7fe3a8a73e29f43535cc957d1904ae8d36da1bc1 (commit)
       via  fce248b23dbf27dc62a82cf6504f0811b8b58a8c (commit)
       via  3b23f09ef73e2a472215149ac5e4b71e62f3ab1a (commit)
       via  5e48f104ee1ff264af86f1e29f5a6270bf611320 (commit)
       via  7191cf3b58ac38bfa65a66c67b401d36a66ffaef (commit)
       via  777c55b151227108d9734d73eecc13a0a88237f8 (commit)
       via  d0860262108031ec5f9f04be1f660faae9512bf8 (commit)
       via  8da8afcbc442dac3d4b8d114b77c1c8163702ed9 (commit)
       via  2d2c51a48c017bce67ccf34cfa44622c4215a483 (commit)
       via  84c140ba19fd68b9f8911b104af2f975931d0b3d (commit)
       via  3fb678fdec6e1ff80270b2dc5eed1cee218ebe74 (commit)
       via  2029146eabc0f4f79b503f10d5b7a386ea58680d (commit)
       via  b696bab6b867addf75a3a93c4553bf4cabf39100 (commit)
       via  1ca93ddd338028424af90d4cfee5387ada9b4666 (commit)
       via  28be861bd09ba14c72a9f80b963d69ec195f8f2b (commit)
       via  a6276821b897bb7b1140e156c189badedd6adddc (commit)
       via  106649f786e3e94b3b7bcbbf121dfcaf09d63acb (commit)
       via  4414aa41e261d12221ea262a28f08d2a61bbf8d7 (commit)
       via  79c785058bf69f28c01aac1223d3237a79097949 (commit)
       via  e50cebc2bb3ed590c8bd30083b8e511f0c94f10c (commit)
       via  f92f1a48454f9eb76c84d819976bcf235feec9e3 (commit)
       via  c0cfd78e8522c5ef61f77d5c613a0a0d7d6635fd (commit)
       via  4dc5b0e7836af7594fdb47061122a5655e5d4a82 (commit)
       via  d71b9d2fbd7de40654c6cd0ee3f7d644c84b5063 (commit)
       via  cba2cb696623bcaaaf50693a7acf994fa9fb541a (commit)
       via  6a68abffc2a73322da2d93edb6fa6b94041ddba7 (commit)
       via  660100bd9bbb0269fb8a76f82ea4a80d72cdc844 (commit)
       via  c92bdb809c286916b2ee6c267dad6a58a5706a62 (commit)
       via  67e102403d7a0b16395389587713e703b0267ab3 (commit)
       via  2daaa790297294478cb724dbec677879580bb2cf (commit)
       via  ff0f68a9f81b51cdfa2110af91cdcaa27d3dc746 (commit)
       via  21c4d3196c52ae3cf2c65d1eb42b9b70fc9da374 (commit)
       via  9e7800188627afaf57ab34bc74615c36baaf68d2 (commit)
       via  4c3fe369a33cb6fcdd9a458dfc71238e4ee7e54f (commit)
       via  bb1583f77567349a6465b32560a1fcde68a2aa26 (commit)
       via  eac7c901ccbd5205e929ecbecd54ad08d0ff360d (commit)
       via  8f86b5f26562ae8fb998e3f1fb912f07f1eb19ac (commit)
       via  2a1326d1b11910ceabea3ab186a262fe9a2696be (commit)
       via  3c8211c0eb27b1490ebef317c8bedd2eff783c7d (commit)
       via  58ce47c5da5c057e81e7d245ee27bb8f60410165 (commit)
       via  a3d19784df21f6ff35bb0a2f95ebbd5726f73c9d (commit)
       via  1307076d2bb7313f7791c511b6ee8f781eb92870 (commit)
       via  0c9ea96084d9c595cf6b5cdb51ce1bf155cf82fe (commit)
       via  5ca93ecc6d937ffc123412330b3e30d7c94e8749 (commit)
       via  2cf4d0554c8db2fecd52f1af1326c5d7843dfd95 (commit)
       via  36c03aaf0dc3b0bb75b1e4427839a8ae588b4979 (commit)
       via  2ee66ad397f986b5945c96dd3223988b3a33c58d (commit)
       via  f167e474f256d064ba4526177e565f9b4e80b3ce (commit)
       via  b1c20bf49863552caf2ecd685818ccfaa0853f49 (commit)
       via  8ec8940eb27132e04feacbdaf2af254da186ac4e (commit)
       via  99121957597c3a12c8d44536bc4b10c2b0b7b011 (commit)
       via  f0c376c93cceeffce3e7b879c20a1ab9787e102d (commit)
       via  d8b2f9e4483e2c680e9244a624fec610a6e837b9 (commit)
       via  57ed36bdbdb7e41e0573cdb18e3aebe5c65ff96e (commit)
       via  b5c62dd321525c2f468e295c7b6273d113e46a7f (commit)
       via  e4ba93fc2acb7d7a665cf873d7ded0657f86ff68 (commit)
       via  f9f7ca9b1883e24ab2841192441e74c844a280e7 (commit)
       via  6e04e9880dd922b518d17427aa7c4d32e7047f3e (commit)
       via  5ad0da8331a0b167c952dc008ecf7c875e46d8c0 (commit)
       via  fb78e52cc4203ace7bf7aa188e39f23707d558e7 (commit)
       via  8ee26c5bbba4da0d2530fefc81d91f193f52f723 (commit)
       via  066e5186466db54b5dd315e9cf9abc5a73949b50 (commit)
       via  231e9639bf07930d729ad3ed6e39760ec73d4e6a (commit)
       via  45b8dae15e0f07a3a14884a9897e95e74da1c9d7 (commit)
       via  9808f28cd4250a5a1736b92cee63973730c252cb (commit)
       via  73d1a0e39af77d0c90a7d1a8d9072eaace308032 (commit)
       via  24f95a4d21151c42c3c5e1038605752516155a38 (commit)
       via  7235c7aa1b3f21bceddd18ddf401b3a29cd94555 (commit)
       via  8ef43878c74382f9e97a8f019f6a36a1e38b5ac3 (commit)
       via  2ed46f708495f9e836e5de844cd08bec4bc44631 (commit)
       via  d26921b8ab663750c6ac6ecd5b067af88f24adc1 (commit)
       via  03e6b095c94ceec596c2e8838fe3d84111b3400d (commit)
       via  fb2f27d359791abbf8ca89dec520d5a1cbdad1d9 (commit)
       via  a2fc30e56d89513064cd63b2282caaf32350386c (commit)
       via  a9132a37b5be7481754e8e6e04c15857fe3edecd (commit)
       via  685e9fd1355b9b7c125056f6e1a8b001a14801d2 (commit)
       via  f7956ea4e1b85fbdb003cd7746a5a7794675eeec (commit)
       via  89139d7e02abd8be273c136a2771b46354d539d6 (commit)
       via  abd955977d29909c3ab40326920658dac3682b4f (commit)
       via  005fa115aeb9b2912288bbfb903bbe0df5a8df20 (commit)
       via  8ea405cb6bc9433a74db239f6c5df5ee23aa13c7 (commit)
       via  8e0e6d6c674c223d9ecbc106ce946a1c59c062d2 (commit)
       via  721bbfcf65dfcf013f990b453a71942e25f59ec5 (commit)
       via  7a47a0aa5d6468610d7bdf3005c5e6e43578f413 (commit)
       via  bfca7edcfd82417ebbd41d1f81c81681546a70be (commit)
       via  4438deacdeb3cc14f8faa4cb048819ed8d15bf49 (commit)
       via  d0d20d20a3a5b9962be0ef0384d3e0f37f88d01d (commit)
       via  b19e1c9388b69f31bb45404d0239a8b84983a2ed (commit)
       via  c73e93cbd7c6effee5bd87d622e5981986b783a5 (commit)
       via  e0320bfc04bdf9867e3b3668f938569ec6210d33 (commit)
       via  3199894bb913f8418667e38418a5263c365058de (commit)
       via  820f5582d92c8ec403a48e4cce9fef6b4df0ece9 (commit)
       via  60595f5820e3987b84b49887de7ce27aa7c13430 (commit)
       via  f79d447e41fbeb163044c365335b08f8d363c854 (commit)
       via  37ed389184eb6d472d433bb9940ab81945b014b0 (commit)
       via  ec55b84eeaaa0e16fb752dd7b2934c1de38ddff5 (commit)
       via  225c042e8c58864a404eb3439c5d230614dc6f83 (commit)
       via  0d7c9cfa15376ba281eda91e622836744c68f355 (commit)
       via  54addd01b28fe28e0fb82bc6ac3388f67e153f27 (commit)
       via  014cd954dbaba4ebf6a6e0444c4a57c78c32144e (commit)
       via  01f4cc7ece49cbbb48f0055018a53dd82c5abaa1 (commit)
       via  f8d6575f11ff25eb2c7408a505425e90e7e61f82 (commit)
       via  81ad1f6b3bd1b5a1fa136001bc9bf03e2622dfd0 (commit)
       via  b985826f359b115b16973b0e91173ba20af55394 (commit)
       via  0863865ee27d036da4f5e1897bdf77925e2dc91c (commit)
       via  8f80c00f723ae535ad815dfa26934f0d5fc48990 (commit)
       via  363b9c078c99ce62c2221ab80da7d246a445d21c (commit)
       via  67db9a8d425bfc3f8936db0e55b963b168276a73 (commit)
       via  c1f67a9021d2a1969271953017c6f12f3bdef143 (commit)
       via  cef65feedf2d0c916fc652019514ab2af6359c92 (commit)
       via  8dc2a7c3a814204bb80c18384b883d51fa18db2b (commit)
       via  60b24d7d94369cc4d74a721dbf7beff39c2a3cc9 (commit)
       via  c5c16d1eca9df2dd4b784a52a702a784009624d0 (commit)
       via  9d71aff6d2aaf996a40ece05cea894f226741aec (commit)
       via  e1da6f94d4d23dad87bfeb2b37b513b7a74f9d08 (commit)
       via  d19f1403ac8eb747be618b55837630cc80e0cad7 (commit)
       via  e5d6c919ca5e3ac435781aa2a3d03012fbe75a27 (commit)
       via  0823e0bde5e84c0a27ed0c32b00fc18d36d6cf27 (commit)
       via  bb3731548742ddcd7a0e97dc8204e0a5c821926f (commit)
       via  c205f924b3bfe0da2917be3b7efdc123afe72f09 (commit)
       via  6fc569697af097174d69ceaf3b71ba9522795588 (commit)
       via  5d7688ca82dde51046a57c0a4ac15ac0ff1bcbcb (commit)
       via  ac7eec5cfaf8a4dd364779df28b4f89cc2409a70 (commit)
       via  1b5dc898b91f68fa9934451e5830c79051c1d2fa (commit)
       via  806f1ca892c4cd3d1d76dd9d50bd0d148daa92bf (commit)
       via  b88ff45f78da19b3eb8957e2e22a12d41dab1e4e (commit)
       via  06eeeadfef071235b4555fb0b68b95e0f698e2bf (commit)
       via  b44090489cd809ca4806e6ff995d3e81bda7b3b7 (commit)
       via  bc4114df6ae037169c9aff35b41cb478aef0db95 (commit)
       via  4c86c7593ae509c18ae6fb77f2b70bfd1e2756f5 (commit)
       via  154b8450272625dd694e94de666d65c2b10a6bdd (commit)
       via  2b92fefceaa024d06481e7e744a77b6305333441 (commit)
       via  050b8bdf9047cffbbdd4494fd43f61d95adcb5e9 (commit)
       via  da9b132c8c1a41e681dfd4fb70c94585bb2a030f (commit)
       via  bb1c3147ddeb61b3da5c1dc9e43b1e185b61cc37 (commit)
       via  211ba43f2667ffcd3b127cd75aab6314083ec78a (commit)
       via  84f6e6bccd62bcb2adff24272ab0ab3e82d75fc5 (commit)
       via  f8693445be5d0845ffb729a530eb5bf2b2814956 (commit)
       via  6c009030ddb14d7efcab8ebd54d422e36d68a952 (commit)
       via  f7dd52768b254ac1d111ad3e207a4501d52f0ccf (commit)
       via  f319ea09e78c2ed6decf2b4102d5479d2f2311ed (commit)
       via  2987ad9967e350f3c0b0ce2cfd136d65368cf039 (commit)
       via  964fca32556de0df0f736944a033d94a9901ab95 (commit)
       via  f00027dff9f37e202f9fe9559be77bb62a131a65 (commit)
       via  55066f0271b40fc765d44dfa5063c41698bee2d8 (commit)
       via  c962cbad8818e9ad034067160b074e97f8b367cb (commit)
       via  1d239aae6458383f4e11ec0118915fc80266c542 (commit)
       via  d953e9c969c0aad02ee4502c162e6b6598be374c (commit)
       via  970b5400c8c63d56773993ddb0238eff82182464 (commit)
       via  322d59cd257179e18d268b26186654dee3a1e817 (commit)
       via  7f49590066ab8a9d3de1f933f96baeb1d2bd6033 (commit)
       via  d25b340f2422e3bcbbfaf3ea1c9e8bcb6835ec0b (commit)
       via  d85391173658dc6dcbf1acc5edbe331b1296f572 (commit)
       via  925f3959c10fd4098b4fd7265504a171a16d8a08 (commit)
       via  4d2e8a320550e7efaec1cdb98ef9d67a7ca25fd7 (commit)
       via  29d066aa6b7a2c1c305df264617ae99660e3b31e (commit)
       via  783373fb16cbb88c189d3429df418d3795300fd7 (commit)
       via  d84ecb34a451b1c7579899d06d6787140ae506c8 (commit)
       via  cb27e4491e8f725d1417459e240371adb700b64a (commit)
       via  fecc6d21eccf8c66549bd455117fd3e2a76327b8 (commit)
       via  8a3e5c1c1656a8f3231cfb527b23733a884ed16b (commit)
       via  e688d095dcae33edd8f7a2347e430495e2e27cb3 (commit)
       via  cf70314c466ee81b6699af887d1f15f36806a2e5 (commit)
       via  eb893a01437d292046e2658f359283d6be92eaea (commit)
       via  c4def346cd1811b28f236bca6146d11dd06fbcbc (commit)
       via  cef05d4f05fc0aa9aab09c47a824cede33063d35 (commit)
       via  6c072e1d26a95fec213f1bfb7e9630d388dd4840 (commit)
       via  2b2d977921d538efe9d1ee96710fb0e0bdece67c (commit)
       via  ac40faa305e495fcaff2e4d9420fdbe5cdd0662e (commit)
       via  c30bf4601d21d93ae0f9ed31e237b0b8c03822c9 (commit)
       via  f720bcda3e9d8725627934b8bd69245ac9dd8df6 (commit)
       via  78463a8243cd3d18352d9dffee269a0a97b55c71 (commit)
       via  9ac2eeaba2e238d44d8107468e3d5ed23407f768 (commit)
       via  35f74e78672e7fe550d4b9a02da7790aac964d8e (commit)
       via  2c17c8bf9a96cbbf87165133d4df5d10cb799e2c (commit)
       via  f1aae0c57eea40b177ce6b73d1183f0f3f919706 (commit)
       via  23c8a64130bf784591ff5505f51e2d9d05815d9a (commit)
       via  73020efaf1860119c3775d1efd3e896ef0da2753 (commit)
       via  a03c034dadca211c0c179497907a776a84b024f7 (commit)
       via  5c9cffe047056e7934e1f40779fffb8d525576d2 (commit)
       via  bc9f981a27f494a0ccd1dd0e40fd21ed840c7d1f (commit)
       via  0d4c071184d3ab290c3a9b86070a76550c8e63a7 (commit)
       via  a0069ae668a7aacbc3ffced73eb439f532d980de (commit)
       via  2c9c556617a7de8657c25b512d272c26b070ae22 (commit)
       via  b5eb3d21f0191f13b72b880321f5f7cc2df602e2 (commit)
       via  7ad4069a7135c51a3ed46efdf511ed7fa1b93a58 (commit)
       via  1f3ad2ec0d023a1252460373f47a34f211bc58ea (commit)
       via  fe868196e2ee8e2edd770fde2f127a63734ced71 (commit)
       via  68ae2479904c7fa8de17cac86931d30351b88d9d (commit)
       via  b7b36e4106596a7751a923ab3e55c9b5b7934aaa (commit)
       via  7ae5c2898f11dbb34b29ba7e6e0ead5a02a15d2e (commit)
       via  962d7febf7bb03e6919a85d15ad3bc41bd37415d (commit)
       via  b5e4dafb237b96fcc6ede7f6b78483b8533335fd (commit)
       via  6a722b0cb51951578c795fa1bcca51378d067336 (commit)
       via  5509b611232150ec506df685831b0c01c7dd14c5 (commit)
       via  ab6c9ef17d423b57f3041e537c2d1853d36ab4b7 (commit)
       via  64d7baff107c4d76a6de924f4af83757bc6e2843 (commit)
       via  596066745d02713eb0b04b0c99eaf78234e6ccc3 (commit)
       via  58e3cb7a5d561b5070f99a860bfa8ad498b5bcb4 (commit)
       via  35d1f5b056044c054d80327449933ac5a87695a0 (commit)
       via  3a73b721676b4294f0bf3157b6b1bd9ee6f3b7c4 (commit)
       via  897b48d56d0eb5baa85c6223b95b50ec5db0753a (commit)
       via  73ffd889297954f134d22a4f7b8c8e103e1afc11 (commit)
       via  000c84fa5b270f8a5ec854c851e87934453c263f (commit)
       via  fa0ad1f3fa99e7de723328c4645ff9ed60df7069 (commit)
       via  c7a51001163138660845eb8a4008eeaf4ea9b35b (commit)
       via  b0e28d368df806787829393db8277c9e8ddf934e (commit)
       via  d5b397191d6242fa1b0941cdb328c421bf2b09a0 (commit)
       via  a4258db70b2f727b2c0c06fceb162733a818834f (commit)
       via  00b384a74083a65a4f5165741968981372aff978 (commit)
       via  bbfca40dd018d804e8816097b2fa13f2b3a50179 (commit)
       via  7820ac6214ef3149b3856f4b62c6e60595de9961 (commit)
       via  7c7bb3f686eb1f50e253f35bac963c1bb1dda9e4 (commit)
       via  60deb1b873953e7e8bad2727eda4234a99059995 (commit)
       via  320f68c107d8b3e7a184bd4dca3d5ce279c7d01b (commit)
       via  578be59f12947e1ce5d8f829cca25ffd5eaa0d52 (commit)
       via  b304e1f3bb4fee38d829dbd85ea3c0f43399aa7c (commit)
       via  17b43a9509e2609bc3029e32170038cb0fde5fda (commit)
       via  8d4ef3e18bb9c253a0945f548ad2fa72100254a6 (commit)
       via  e141c1ecc4555121f7a1537da8328d25cacc9958 (commit)
       via  3856c0e1326e8746313cf1614fc2c0fba2a9e247 (commit)
       via  7b8ed6cd558ce69894df3b70fe6ac43117415ad1 (commit)
       via  e0b66f37b384b7353b0abf6939fe84d8f0945faa (commit)
       via  7ef857ff9718956cc6096dcc40336b45724332e0 (commit)
       via  f5913dbcec8b826d300ce7ac0586e57081a43ac2 (commit)
       via  f8fc126fca752b7f19a097c25e5a54a25eaa8d86 (commit)
       via  4e16eae2a7002565004ead34bd1536cc5ac31482 (commit)
       via  0bce03d1c537f8553c3a0d14eabd629eb7778811 (commit)
       via  7be2a6b18eff4ebf23564191237fddc21780f6c4 (commit)
       via  04049c33424a7632b5547a58a57f480c73c117c9 (commit)
       via  ab86ea7b4eef4048c784e2f6dada4021fc67bed7 (commit)
       via  983fe3dc902901f5f863361078bf23d4e506caf4 (commit)
       via  6daa8f430da509ac28dae3dd9f6d6d03bfbae5f8 (commit)
       via  06c6e4f457c209223f04ea395ed8ba3158c5ea70 (commit)
       via  5a61a6268f973cc777edbb870d97959ab150ff01 (commit)
       via  d23496f7ecc5059de8ab1fdc710d4713500a2a58 (commit)
       via  3c9bb5c531172f1ac9325936949ae67bd449912c (commit)
       via  3109a93bee2d2591b5f24e16e37c133f87d4dd49 (commit)
       via  36d4e5636b8d96610a2d004ff0f3cd7020549965 (commit)
       via  43d3079a4c10cc0e24dcf1f186cb9f9afb22fc39 (commit)
       via  67673d5ca72938c2354f49408b567b87a87910b0 (commit)
       via  65bf935cf4d00b44569a052959823a36772e6432 (commit)
       via  57c202264077cee735b755dfec16cadc6471cf7d (commit)
       via  be7cee3804936623fde468769216696148f266db (commit)
       via  5d6fe8093b914786c3d9e6fc93dc901feb5fce6a (commit)
       via  0e8cbeb71fa3de0dc6456becfe0776e1a16478c2 (commit)
       via  d6bcd1c0b9730519d97d559d9905818062ec56b5 (commit)
       via  ae92f160366617e4b7326cb2bfdbe3679dac66e6 (commit)
       via  8af6418532e40bb80c8dcf065c04871e8efd5cd8 (commit)
       via  2366743823756e915b0c886c0579328086f277e5 (commit)
       via  a4c6b4143733112295c6d359f0f2ac7489137ebc (commit)
       via  f8c852aa780f6b53c0576cfbcd326413a59680bc (commit)
       via  90ed58afe1256fbb9d8df73e90bb84c9c913f3f3 (commit)
       via  23b1ca2a70632a3300117dbc82ef73db75f150e1 (commit)
       via  4d94e6000b0422ddd3a3d0ff17542e46c7e402b2 (commit)
       via  566bcdbe9056e31964e0a04299dc3e8730c9f4e3 (commit)
       via  d2ab7481bab242fa9beb5a8272fe783278c717c0 (commit)
       via  e1133e8a8ffc55105d7489b507559536577c515a (commit)
       via  057a947749d6e63a9e380b80274357b5923b386f (commit)
       via  2ece73a482778b13e84d8d79e92f00a20ee65d34 (commit)
       via  04351cba945af33368c50f54cbfd85d0da1dcce1 (commit)
       via  d906de3bd973c9b0b1dcfd101c2041b30efc7068 (commit)
       via  fd2c06813b72628b87cdf3a26c83b4a1677a5781 (commit)
       via  0a988f86ebf30f057ee16b5d407f58ba38003967 (commit)
       via  fe83dcdb4b7ab6f897460903305dd336bde3635e (commit)
       via  e9d1051c8c4d7f5f1543663319ebbc9a85124db7 (commit)
       via  4e27712e560a52f3c5bb617af8d0c7e22e54bd8b (commit)
       via  c1aa50354b133be073be1de53cc342da9a77f003 (commit)
       via  f02360a7c4836cb874e428cdb20c6e506b8f3f94 (commit)
       via  b6b2c802d9d6d67548ab24c517e5e1bc83d83ab1 (commit)
       via  42080002c7e83b6e2b7d4de2fd89fc16fe4fc6b4 (commit)
       via  d6021a936a62b6d45c41bb23e7c7bbf031a0f7e0 (commit)
       via  32f8fc382e25a0f7c4c0b81d6b92051d5e427242 (commit)
       via  8bd6924d85743a64f66965aa26f372f6c538fc4e (commit)
       via  880f85ce5922f221bd4bea9f5d8b18ccf0cc669d (commit)
       via  e7ee35bacc0e587d4dfe04820185c2f38661b856 (commit)
       via  e24bf762cbfd8331e9bb8b0f9ea8c6fadcd4b7b5 (commit)
       via  79e212f34bcbc348aa1a8499d792164b179415d3 (commit)
       via  69daa0ca6b3aef6e2f6b6cc941ce790001c8f8c2 (commit)
       via  00a69a4bc9472e28ea8a13e23af8b9e59f955c43 (commit)
       via  a876f5f5511df1b28c75e1a951831d78bcc3170f (commit)
       via  f1b9695631accf56d7c4d923e814ba0a2fbc3cde (commit)
       via  538ee6834ae5cad3102fc713eda4fad02aaca79d (commit)
       via  4597e3e878bfc6f0c2230ed50d055808df26529b (commit)
       via  276266975b07b77de4bf7ec235e50bd61d46be80 (commit)
       via  e19080df1d502deede4535c302971847b699da2c (commit)
       via  14ffe183d5b83db89893cb9831f41e91524e19eb (commit)
       via  dd012f61b2b43d8200d94f067984ca368bd430e7 (commit)
       via  a201aa13ac05b7a2dd238ef59f49a9c64004224b (commit)
       via  915afe34a3e2f04207eeb8c7d42958be83dbfdf5 (commit)
       via  2bda0fe0775f5913b02526261b9a299b9932c097 (commit)
       via  480b0cd2ceebddfb3b802a1159846ef61fc943a0 (commit)
       via  369e11e316aebe8e3696baf6da2feeafd940e915 (commit)
       via  67ea3524cb23fea4892d8d0e7cfc1efc7bb9adf6 (commit)
       via  5a0b6590455eb56bdbf44618fbc25fbd8fb0efc5 (commit)
       via  926e38065f8a9c87981ecb55f08080f677ab2455 (commit)
       via  fbd18a3e2a04a161758f771a64f49e70fbcbd6c4 (commit)
       via  dbed69e4016c4f107faa5e3f4ff44f5b58181d75 (commit)
       via  43ff4218ca2a32bb73911cbdf3109f12eee68248 (commit)
       via  fcc121ab82c978a1f81a394de2573d32eedcd103 (commit)
       via  f0dc081132d2229a97b5864266ba18299fc8033f (commit)
       via  835cf7647bf08d33e2c7286b45658cc58704b363 (commit)
       via  8c89a7cf6296b10d04204981eef69181901bb9a5 (commit)
       via  f658463559c9f03672b0fd226e4941f159e65bc0 (commit)
       via  b96c1e44204ac4aacd3ab8a5e6a8ab9405ad3832 (commit)
       via  25275c5a6899eea4f981e364c70f764866e722ee (commit)
       via  f1666ba44fb3da7711d2aa5767bad73c1de3bba0 (commit)
       via  8dbc67a4ba883a79e955459e24a665b9f916abc1 (commit)
       via  0280b9139093f51dba98e1cb1aee79149ef0ef34 (commit)
       via  036e796cbf39139e7a28c5ba9a90ee221c3d980c (commit)
       via  8497eeb3a57739e12fefd849c6875351a3ec5e0f (commit)
       via  3012e19fba0bb953f43960628c9b783bb71d80ae (commit)
       via  58524558dd13ec7f109c027c99aecbd6b68921c6 (commit)
       via  f7f78b5195ad1dbf855f392c099cab7fbc54d5bf (commit)
       via  a1095d0965336399dbf31f3588ce8eaa67655de9 (commit)
       via  9d5f08d6f93ad091e5b0733c299f7eb1c7a94abd (commit)
       via  91418c4d96655bf2d620040bab9d4b04eca31683 (commit)
       via  08af17fe8d80b3cffdc819f3cf122c4a5a56e9bc (commit)
       via  6da81da76a02b50b635495a6b5e63bc0a4bcb35a (commit)
       via  f58d672f00e79435cb9e94ce3f03797bf3c7d467 (commit)
       via  69484510991736a43cd2dd3639993f3a8fb7fa23 (commit)
       via  b042ae7feda15f893fb5739acf31ca25bf2dd946 (commit)
       via  56dc5ceb8c846ea50a83cc51de8687c5603e3846 (commit)
       via  7762f465cebf91dc11b253953c84f606ae1af3b1 (commit)
       via  f5196d076011d4c432d1a12b09f04f1fdbbfefb4 (commit)
       via  4336c7a2c44d34e114d2b2ca15bb608a05c23efa (commit)
       via  1c463e3cebc2d04ff0e77b0ec04ae7906ef254f2 (commit)
       via  2825bb9e506bf3cd5bc3e01bb414c8afd0f86ea6 (commit)
       via  811ca069a7ef381ce2f59756f48bcc7dcdcaa258 (commit)
       via  578efa3a315d4844ad34833fd72c5a42b3203643 (commit)
       via  159c2cd07096bdc779ebf3ad8286a74054c49f35 (commit)
       via  ddb8e278df4280325c3670159d81379313d675a2 (commit)
       via  9025df5be4c8ae06fbc040d4123375049f3012d8 (commit)
       via  dd76f0447f9920cd958bc504b364dac2c9abd454 (commit)
       via  ed7cc0ae2782f8cf2a237d2a6b63419a1becef8c (commit)
       via  a939fbd5770b32e615f32908aeb7dd1b691745ba (commit)
       via  bffd2056646e0abbb1611f8eea48d26fc973a948 (commit)
       via  3b12013585b91f8450012e5ee719caab07aeb49b (commit)
       via  7cb8edf238a1c57556d986ef0ece3aa8d03b5fff (commit)
       via  24c0ac3a5da34fbcb31b5dd5d55723de7ffe57a8 (commit)
       via  b25d1792d6f246dd4675e64c2d5c051c0ed03811 (commit)
       via  44b67f6b464ec456793182183b3b47175d7d602e (commit)
       via  d28e5067bf1fde683dfe7b3d5c3e97d24bd426f3 (commit)
       via  247246ce3b32a94f60d842250a4773f867727d82 (commit)
       via  3a14bd1a68ad05c598d0cb126495b3c0a6e244a4 (commit)
       via  ae14b143a9445ee7a9c86b4d4bd55fd7bdfcd8f5 (commit)
       via  47cd6407eed65f9fae56739b3062910734374705 (commit)
       via  a5cb3b798438675cebbad414450347db27d853d4 (commit)
       via  34f725e1cdaaded7adcf4ca712293b24701b71e2 (commit)
       via  c872f0f77d3f539c95695dba6dc62c2cdb7c5c6c (commit)
       via  dbddfab4ceeb9e94d131a888c17428695358c715 (commit)
       via  098c44473f30da40083d59dd4f7416aa03f9b051 (commit)
       via  2e3761e8b39216a94d587c2a313d7902819b8892 (commit)
       via  067f4f701e8a5108c063fc850fb879cb10efcbe2 (commit)
       via  188088d94e6dd3117ef7dd952b67eae5402f1b94 (commit)
       via  9c4ae22bbc77405f288ed02eef49d72870de2bc9 (commit)
       via  e3d9b37bfa3d5ea64b71e17b54d798364b8a026c (commit)
       via  abc6ef52b2dcc19aaea9d24245680847d46aa63a (commit)
       via  4a56deb7d50ffd520232bc93818aab720cfd9757 (commit)
       via  42403ab87a77544ec6556790d7e13cfaa983992f (commit)
       via  4bd68ff6be813cbf1ea0b150425f05c81072502a (commit)
       via  462efd2d3410feaa2bc93f89a994a18aec80bce0 (commit)
       via  a72aaecd5ef596f831e322f6144a15de8f7ed504 (commit)
       via  016dae156e3036762c13e6efd4a317cabec0f014 (commit)
       via  0eb54b2d562590d335c6ae1ac1e5189d9ba96626 (commit)
       via  2bdc820adfead6aa7fdb16242280473af1040d4e (commit)
       via  e22f2451533d6f187dadb172110c913aad5f3e38 (commit)
       via  b73981bff96033c991de0683074cc89d93e3b562 (commit)
       via  2da93de625b3101f2b86cbb5064d67b314a7a058 (commit)
       via  f19897f5904be38a25f0c6ae27f24c835eeaf986 (commit)
       via  0ddc05e6d067978556ae2fc241293648c4bf2ffa (commit)
       via  ed46a3cf6d6c9489594afc0e68b8c3a5bddab25e (commit)
       via  5a265baae2cca80d6234c3c8166e7fa48eddc1d6 (commit)
       via  d55b1ed48098d6e48b569b5e123f2c7a8e2ea3f8 (commit)
       via  b6e89fa214cb5b603e8a114f040a92e005acd9cc (commit)
       via  b7e3581ba9ccf585f514a1e07567548babef119c (commit)
       via  39f87a2be96319f5a1a776b1c6ae859cbaa3a145 (commit)
       via  512d8d2befb918820f5373a62389ea650930b70f (commit)
       via  ea68870f398e0fa9a88e939956d59cf1ee870d03 (commit)
       via  9f1cd1a2da4e10653cf8f6844d9b2e59a3b5226f (commit)
       via  02f12d53de1ccf56c8129c63e1f1c7610c1ede2d (commit)
       via  1fb08aec00e063c15a73a9a150e5bf78b41665ad (commit)
       via  67c8fd78188c91edabfa0edf99d1e283d4316656 (commit)
       via  fcde33c235fa5ba9e6cb35933f1cb1733c8a7276 (commit)
       via  f54e94fe79b2576709dbf467bedf8cfe755e28e3 (commit)
       via  195b8a2c97d02be3bb1f0bd37106edebaa4e9ccd (commit)
       via  400935c3bbd286f3f686d6b0b361ebad1301f3dc (commit)
       via  35a623d75d89e3c579f6bac81fec063d73ac5729 (commit)
       via  d52be39f4a7e6769f86e0bacb25cd030bcf5e968 (commit)
       via  cfbe41c8adef92a26ebc26361d8ab280c77f887e (commit)
       via  e55b40e9d224512d1ef6e6bc263b75d56e4d64e4 (commit)
       via  8f6bc56719382004e7715977a83c4c05a32c971b (commit)
       via  c201b4b597055397d51d9b80f41b2f1e79c0fd17 (commit)
       via  be8cb795383981e1870f6ebad1734d7bed41c5e4 (commit)
       via  37c7642831ac7cff6d40b7ff7c240eafc293ad72 (commit)
       via  01456f2e59a60398820fcaaa14494a0ca79b3bc6 (commit)
       via  b2ab72cf0881136d1d166347cfba8cf59c41899c (commit)
       via  34521ccb0dd55c46d3ae5924f9be694f793a9387 (commit)
       via  954069ee016cc92b1ce25f335afd806c6ebc843d (commit)
       via  a3878e76e9d07fef830a47d307e9a53d73877c29 (commit)
       via  b498d9101ce7f0d6027020040618fcd5c8520733 (commit)
       via  cdb12ef56cfa1953a57988be596c4d720badf85a (commit)
       via  d99e7ae879feba252b4cb6ebbaf173bf31926d25 (commit)
       via  11e96b2b7ad7d256ac516f83a1e835114ee44697 (commit)
       via  bd196e7a61b03f2ea7e5dcb0aecbd49d239d6390 (commit)
       via  0307ffdba59794c021a465c00b96da45fb12b157 (commit)
       via  3207577efbee830f3deb00624e3b654973abaddc (commit)
       via  c72231e44e9fe3b9e4f2057bd5ee0ee8ac25f771 (commit)
       via  57f8ee76a145c65b2f72bc6f418ef7065f87c007 (commit)
       via  13cca21e05bffc0f4d89f1349e27740e9b52ad9e (commit)
       via  aaca061b3d532b47edc473f7d3fcbc27207aa7b8 (commit)
       via  e13121052d0f78e7cc079e3588a3973b81816d2a (commit)
       via  c359a3da6eb9ed8d7d49e71a6da145a36d7e3dbc (commit)
       via  7c07ef6343ef845e92a18ea203e17992744cb78b (commit)
       via  14ab439ba841c6ba43566115ad92fc9522ac02b6 (commit)
       via  c3fa85262a0586c06564f8a1dc7eccef900c486a (commit)
       via  b0bee2113ed643c1c931511ada9ec1e2766c63b0 (commit)
       via  b07c110f9c84461fc496eb4a862b10e6e8c1d22f (commit)
       via  e578da3388dd1c86f4010efc1247ebb4824b53e3 (commit)
       via  d0a4a5b2a9e8d88af8f90e2a617eea70000f07c6 (commit)
       via  48246fc491802387dce473f54713388d9678b94a (commit)
       via  5293b13dadeba5ace723770beb8f915fa39a50f1 (commit)
       via  d86d913ca1d54a1abf036e1d0c9323682ede2740 (commit)
       via  089bfdf99fead8878c4490196a294e90fa4be9d1 (commit)
       via  f47235fe61308fcb2dac30ccab24dee6443705f8 (commit)
       via  81508940e152fec4a68789f9afbffdce2af07730 (commit)
       via  207bc4f4dfcff58012857c7454a6d18b74610c60 (commit)
       via  45b99edf620ece5cfd6ff39e30cb8cd5a1462d9d (commit)
       via  3b1f9f3623e508376159e21a9b815a96df2fb8cc (commit)
       via  f51737c40e98b9201af17aa3a579fe184f5c069f (commit)
       via  9df6e9ef9556d54d33b64e10e6045b9a2e317fd0 (commit)
       via  1e67c5ae58e588f62178be44df9956a610d66d88 (commit)
       via  c5d906aef5076a46d0877e657031c218986aa3ca (commit)
       via  df291e46ef15fe8d76c9f0de33e5d59530a2586d (commit)
       via  9da489bd794f888a81ef4ef83b750f949a414d7a (commit)
       via  85908f0628cc4d1fa3135db486bff9c62aa6c15c (commit)
       via  55b6f6cd727e8217279af19ca998a434553d69d4 (commit)
       via  1df62b5fdee66f4433d0a99be71aed1f46c90977 (commit)
       via  7e1d884aa93148e9c0c916df7886561e171831d5 (commit)
       via  1f50485d4f423811129966aa8b92c7a897fc86fd (commit)
       via  a62eec74fa07690cea975bfc26182b3561360e50 (commit)
       via  7b8c9e330bc835cb0f578ca2b073f8b5effc46ba (commit)
       via  ec2c501d47d18a316835cb39bb146ef6856458b1 (commit)
       via  8400dbb80e6d824bb97475252429c9b45181669f (commit)
       via  a9d812d7aec2fe25ec417445ee3ccabdf76ad496 (commit)
       via  33cf850f729a4edbf55f6af1091393de558c2bcd (commit)
       via  c2d0787d539509305cfe57543062eb9085cf7ea7 (commit)
       via  7f24d8a8240a8f42bfa789e5f2a5f90e60b499a9 (commit)
       via  c210e06de2c2dc5932428048896951111cdfae22 (commit)
       via  bdcfbfd0ad57f4d2e9d187e5d6f0239a9d4152bc (commit)
       via  5901c1d893c5c0358599cc4768aae0389f4a193b (commit)
       via  5cfe36b8ad569c0473764027323bda1db79eba42 (commit)
       via  de4bc200262aacdccf96ecf2ffc186e2a4463ec2 (commit)
       via  5ac90ba7c112609521cc04b5b371c673b9fee73a (commit)
       via  36d7a1bdc35a937421f853ac734cb8d117ce5081 (commit)
       via  a967ae9c1aaeb4a1bfda7808de7d78c589d3a69d (commit)
       via  18b32e3cf57ac02026599ce76e71a1d779b0a808 (commit)
       via  2e0e11bc91732db59fe04fca4f2dceff2bb4a2ad (commit)
       via  deba9fa37e714c433efaf485f442a75bb1549ef2 (commit)
       via  9d61052c2591e321c2197a1ad3a47305656419b3 (commit)
       via  d5d19a5927050f69125ccdbe8db8c61a761246a2 (commit)
       via  552c6321c4a1d4bb8ec2e2b07edc27bdfacfa414 (commit)
       via  1a434342f7d4ab982b23eecbdd6f4f3755b792a3 (commit)
       via  4add9f884dfb20e466b6c8125e3e53e6e9b68207 (commit)
       via  2a7ebb581393f27e314a5a4c69a4b1acaca72123 (commit)
       via  f602c0d05cca27acbdd78c97582c5ed728591319 (commit)
       via  6d388522f216dbd257225e13071341e5d59114d0 (commit)
       via  9fd8824132f05a3a588e918d9bb74b5d1b43945d (commit)
       via  3089d094c1d908a1465004239b26233a8c85f6e8 (commit)
       via  ed86b41d4b100256543b28b26ba6c4929e61a2bd (commit)
       via  ec6c9892eca69f91762bcaba4bb3dda73869a24c (commit)
       via  def629881c1a7a807c2b954242b43acd3b779a16 (commit)
       via  5c22522dc75c4dd621b6bef19a39b9a49cb6ca5e (commit)
       via  8f0e99311634a8b495a1bc87bf160bcfa12b407e (commit)
       via  ff577da70c2f9064dce1abb1742fabe4d93edabb (commit)
       via  888079e753545d425041bc13c597767947703045 (commit)
       via  957f1845b55c2bc508760ca43d4ac4b8951fe09a (commit)
       via  98e0c48903ef4df5d986418ee70729d24ceae623 (commit)
      from  e2285f5d9815c2fcce6a6202cd23f8bcbf245a90 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 0cf4b16f246916a84f4e70b21632bd602d945802
Merge: e2285f5 d307f3f
Author: Gary Benson <gbenson@redhat.com>
Date:   Wed Jul 20 11:46:58 2011 +0100

    Merge remote-tracking branch 'gdb/master'

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   21 +
 bfd/ChangeLog                                      |  909 +-
 bfd/Makefile.am                                    |   22 +-
 bfd/Makefile.in                                    |   29 +-
 bfd/aix386-core.c                                  |    3 +-
 bfd/aout-adobe.c                                   |    4 +-
 bfd/aout-arm.c                                     |    8 +-
 bfd/aout-target.h                                  |    6 +-
 bfd/aout-tic30.c                                   |    6 +-
 bfd/aoutx.h                                        |   23 +-
 bfd/archive.c                                      |   98 +-
 bfd/archures.c                                     |   45 +-
 bfd/bfd-in2.h                                      |  212 +-
 bfd/bfd.c                                          |    6 +-
 bfd/bfdio.c                                        |   25 +-
 bfd/binary.c                                       |    4 +-
 bfd/bout.c                                         |    6 +-
 bfd/cache.c                                        |   31 +-
 bfd/cisco-core.c                                   |   11 +-
 bfd/coff-alpha.c                                   |    6 +-
 bfd/coff-aux.c                                     |    3 +-
 bfd/coff-i386.c                                    |    3 +-
 bfd/coff-i860.c                                    |    1 +
 bfd/coff-i960.c                                    |    4 +-
 bfd/coff-ia64.c                                    |    3 +-
 bfd/coff-mcore.c                                   |    4 +-
 bfd/coff-mips.c                                    |    8 +-
 bfd/coff-or32.c                                    |    3 +-
 bfd/coff-ppc.c                                     |    5 +-
 bfd/coff-rs6000.c                                  |   18 +-
 bfd/coff-sh.c                                      |    2 +
 bfd/coff-stgo32.c                                  |    8 +-
 bfd/coff-tic30.c                                   |    3 +-
 bfd/coff-tic54x.c                                  |    8 +-
 bfd/coff-x86_64.c                                  |    4 +-
 bfd/coff64-rs6000.c                                |    6 +-
 bfd/coffcode.h                                     |   46 +-
 bfd/cofflink.c                                     |   18 +-
 bfd/config.bfd                                     |   28 +-
 bfd/config.in                                      |   12 +
 bfd/configure                                      |  170 +-
 bfd/configure.in                                   |   26 +-
 bfd/cpu-tilegx.c                                   |   39 +
 bfd/cpu-tilepro.c                                  |   39 +
 bfd/ecoff.c                                        |   19 +-
 bfd/elf-bfd.h                                      |   28 +-
 bfd/elf-eh-frame.c                                 |   64 +-
 bfd/elf-m10300.c                                   |   21 +-
 bfd/elf.c                                          |   90 +-
 bfd/elf32-arm.c                                    |   90 +-
 bfd/elf32-avr.c                                    |   51 +-
 bfd/elf32-bfin.c                                   |    3 -
 bfd/elf32-cris.c                                   |   11 +-
 bfd/elf32-frv.c                                    |  185 +-
 bfd/elf32-hppa.c                                   |   39 +-
 bfd/elf32-i370.c                                   |    7 +-
 bfd/elf32-i386.c                                   |  108 +-
 bfd/elf32-lm32.c                                   |   11 +-
 bfd/elf32-m32c.c                                   |    8 +-
 bfd/elf32-m32r.c                                   |   11 +-
 bfd/elf32-m68hc1x.c                                |    4 +-
 bfd/elf32-m68k.c                                   |    6 +-
 bfd/elf32-mcore.c                                  |    4 +-
 bfd/elf32-mep.c                                    |    2 +-
 bfd/elf32-microblaze.c                             |    6 -
 bfd/elf32-mt.c                                     |    4 +-
 bfd/elf32-ppc.c                                    |  183 +-
 bfd/elf32-rx.c                                     |  117 +-
 bfd/elf32-s390.c                                   |   13 +-
 bfd/elf32-score.c                                  |    6 +-
 bfd/elf32-score7.c                                 |    5 +-
 bfd/elf32-sh.c                                     |   15 +-
 bfd/elf32-tic6x.c                                  |  107 +-
 bfd/elf32-tilegx.c                                 |  132 +
 bfd/elf32-tilegx.h                                 |   38 +
 bfd/elf32-tilepro.c                                | 3604 ++
 bfd/elf32-tilepro.h                                |   38 +
 bfd/elf32-vax.c                                    |    6 +-
 bfd/elf32-xstormy16.c                              |    8 +-
 bfd/elf32-xtensa.c                                 |    7 +-
 bfd/elf64-alpha.c                                  |   94 +-
 bfd/elf64-hppa.c                                   |   35 +-
 bfd/elf64-ppc.c                                    |  324 +-
 bfd/elf64-ppc.h                                    |    4 +-
 bfd/elf64-s390.c                                   |   11 +-
 bfd/elf64-sh64.c                                   |    5 +-
 bfd/elf64-tilegx.c                                 |  132 +
 bfd/elf64-tilegx.h                                 |   38 +
 bfd/elf64-x86-64.c                                 |  242 +-
 bfd/elfcode.h                                      |   72 +-
 bfd/elflink.c                                      |  604 +-
 bfd/elfnn-ia64.c                                   | 5457 ++++
 bfd/elfxx-ia64.c                                   | 5844 +----
 bfd/elfxx-ia64.h                                   |   34 +
 bfd/elfxx-mips.c                                   |   27 +-
 bfd/elfxx-sparc.c                                  |   12 +-
 bfd/elfxx-target.h                                 |   22 +-
 bfd/elfxx-tilegx.c                                 | 3957 +++
 bfd/elfxx-tilegx.h                                 |   97 +
 bfd/format.c                                       |   40 +-
 bfd/hash.c                                         |   53 +-
 bfd/hosts/x86-64linux.h                            |  112 +-
 bfd/hpux-core.c                                    |    9 +-
 bfd/i386linux.c                                    |    5 +-
 bfd/i386msdos.c                                    |    4 +-
 bfd/i386os9k.c                                     |    4 +-
 bfd/ieee.c                                         |    4 +-
 bfd/ihex.c                                         |    4 +-
 bfd/irix-core.c                                    |    5 +-
 bfd/libbfd-in.h                                    |   22 +-
 bfd/libbfd.h                                       |  203 +-
 bfd/libcoff-in.h                                   |    4 +-
 bfd/libcoff.h                                      |    4 +-
 bfd/libxcoff.h                                     |   22 +
 bfd/linker.c                                       |  169 +-
 bfd/m68klinux.c                                    |    6 +-
 bfd/mach-o-target.c                                |    4 +-
 bfd/mach-o.c                                       |    1 +
 bfd/mach-o.h                                       |  305 +-
 bfd/makefile.vms                                   |    7 +-
 bfd/mipsbsd.c                                      |    4 +-
 bfd/mmo.c                                          |    4 +-
 bfd/netbsd.h                                       |    6 +-
 bfd/nlm-target.h                                   |    5 +-
 bfd/nlmcode.h                                      |    4 +-
 bfd/oasys.c                                        |    4 +-
 bfd/opncls.c                                       |    4 +-
 bfd/osf-core.c                                     |    9 +-
 bfd/pdp11.c                                        |   20 +-
 bfd/pe-mips.c                                      |    3 +-
 bfd/pef.c                                          |    3 +
 bfd/plugin.c                                       |    4 +-
 bfd/po/SRC-POTFILES.in                             |    9 +-
 bfd/po/bfd.pot                                     | 2116 +-
 bfd/ppcboot.c                                      |    4 +-
 bfd/reloc.c                                        |  366 +
 bfd/sco5-core.c                                    |   10 +-
 bfd/section.c                                      |    6 +
 bfd/som.c                                          |    2 +
 bfd/sparclinux.c                                   |    6 +-
 bfd/srec.c                                         |    5 +-
 bfd/sunos.c                                        |    5 +-
 bfd/targets.c                                      |   29 +-
 bfd/tekhex.c                                       |    4 +-
 bfd/trad-core.c                                    |    9 +-
 bfd/verilog.c                                      |    3 +-
 bfd/versados.c                                     |    4 +-
 bfd/version.h                                      |    2 +-
 bfd/vms-alpha.c                                    |   56 +-
 bfd/vms-lib.c                                      |   15 +-
 bfd/vms-misc.c                                     |   16 +-
 bfd/xcofflink.c                                    |   42 +-
 bfd/xsym.c                                         |    4 +-
 config.guess                                       |   12 +-
 config.sub                                         |   16 +-
 config/ChangeLog                                   |    4 +
 config/elf.m4                                      |    4 +-
 configure                                          |    7 +-
 configure.ac                                       |    5 +-
 gdb/ChangeLog                                      | 1913 ++
 gdb/ChangeLog-2003                                 |    2 +-
 gdb/MAINTAINERS                                    |   26 +-
 gdb/Makefile.in                                    |   18 +-
 gdb/NEWS                                           |   40 +
 gdb/ada-exp.y                                      |    6 +-
 gdb/ada-lang.c                                     |  679 +-
 gdb/ada-lang.h                                     |   13 -
 gdb/ada-tasks.c                                    |  253 +-
 gdb/ada-typeprint.c                                |  105 +-
 gdb/ada-valprint.c                                 |    5 +-
 gdb/alpha-nat.c                                    |    9 +
 gdb/alpha-tdep.c                                   |    9 +-
 gdb/amd64-tdep.c                                   |    7 +-
 gdb/arm-linux-nat.c                                |   20 -
 gdb/arm-linux-tdep.c                               |  101 +
 gdb/arm-linux-tdep.h                               |    9 +
 gdb/arm-tdep.c                                     |   11 +-
 gdb/arm-tdep.h                                     |    9 +-
 gdb/ax-gdb.c                                       |   17 +-
 gdb/breakpoint.c                                   |  829 +-
 gdb/breakpoint.h                                   |  129 +-
 gdb/c-lang.c                                       |  460 +-
 gdb/c-typeprint.c                                  |   24 +-
 gdb/cc-with-index.sh                               |    7 +-
 gdb/cli/cli-cmds.c                                 |    5 +-
 gdb/cli/cli-decode.c                               |    2 +-
 gdb/cli/cli-dump.c                                 |   12 +-
 gdb/cli/cli-script.c                               |    4 +-
 gdb/cli/cli-setshow.c                              |   21 +-
 gdb/coffread.c                                     |   18 +-
 gdb/common/gdb_thread_db.h                         |  456 +
 gdb/continuations.c                                |  328 +
 gdb/continuations.h                                |   75 +
 gdb/cp-namespace.c                                 |   81 +-
 gdb/cp-support.h                                   |   37 +
 gdb/cp-valprint.c                                  |   16 +-
 gdb/darwin-nat.c                                   |   23 +-
 gdb/dbxread.c                                      |   41 +-
 gdb/defs.h                                         |   45 +-
 gdb/doc/ChangeLog                                  |   63 +
 gdb/doc/gdb.texinfo                                |  172 +-
 gdb/dwarf2-frame.c                                 |  209 +-
 gdb/dwarf2expr.c                                   |  555 +-
 gdb/dwarf2expr.h                                   |   99 +-
 gdb/dwarf2loc.c                                    |  295 +-
 gdb/dwarf2loc.h                                    |    3 +
 gdb/dwarf2read.c                                   |  515 +-
 gdb/elfread.c                                      |    4 +-
 gdb/eval.c                                         |    6 +-
 gdb/event-loop.c                                   |   16 +-
 gdb/event-top.c                                    |   18 +-
 gdb/expprint.c                                     |   13 +-
 gdb/f-lang.c                                       |  151 +-
 gdb/f-typeprint.c                                  |    4 -
 gdb/f-valprint.c                                   |   24 +-
 gdb/findcmd.c                                      |    3 +-
 gdb/findvar.c                                      |    5 +-
 gdb/gdb_thread_db.h                                |  463 -
 gdb/gdbarch.c                                      |    2 +-
 gdb/gdbarch.sh                                     |    2 +-
 gdb/gdbserver/ChangeLog                            |   40 +
 gdb/gdbserver/Makefile.in                          |    5 +-
 gdb/gdbserver/linux-i386-ipa.c                     |    2 +-
 gdb/gdbserver/linux-x86-low.c                      |    2 +-
 gdb/gdbserver/server.c                             |    1 +
 gdb/gdbserver/thread-db.c                          |  100 +-
 gdb/gdbserver/tracepoint.c                         |   94 +-
 gdb/gdbserver/win32-i386-low.c                     |    2 +-
 gdb/gdbtypes.c                                     |   17 +-
 gdb/gdbtypes.h                                     |   10 +-
 gdb/gnu-v3-abi.c                                   |    4 +
 gdb/i386-tdep.c                                    |   63 +-
 gdb/i387-tdep.c                                    |    2 +-
 gdb/inf-loop.c                                     |   46 +-
 gdb/inf-loop.h                                     |    1 -
 gdb/infcall.c                                      |   29 +-
 gdb/infcmd.c                                       |  195 +-
 gdb/inferior.c                                     |    4 +
 gdb/inferior.h                                     |   19 +-
 gdb/infrun.c                                       |  281 +-
 gdb/inline-frame.c                                 |    2 +-
 gdb/interps.c                                      |    2 +-
 gdb/jit.c                                          |    7 +
 gdb/jv-lang.c                                      |  175 +-
 gdb/jv-typeprint.c                                 |    3 +-
 gdb/linespec.c                                     |  373 +-
 gdb/linux-nat.c                                    |  201 +-
 gdb/linux-thread-db.c                              |  217 +-
 gdb/machoread.c                                    |  139 +-
 gdb/main.c                                         |    4 +-
 gdb/mdebugread.c                                   |   67 +-
 gdb/mi/mi-cmd-var.c                                |    2 +-
 gdb/mi/mi-interp.c                                 |   10 +-
 gdb/mi/mi-main.c                                   |   25 +-
 gdb/minsyms.c                                      |    2 +-
 gdb/monitor.c                                      |    4 +-
 gdb/monitor.h                                      |    2 +-
 gdb/objc-exp.y                                     |    4 +-
 gdb/objc-lang.c                                    |    4 +-
 gdb/objfiles.c                                     |    1 -
 gdb/objfiles.h                                     |   19 +-
 gdb/observer.sh                                    |    1 +
 gdb/opencl-lang.c                                  |    2 +-
 gdb/osabi.c                                        |   14 +-
 gdb/p-exp.y                                        |    4 +-
 gdb/p-lang.h                                       |    2 +-
 gdb/p-typeprint.c                                  |   14 +-
 gdb/parse.c                                        |    1 -
 gdb/prologue-value.c                               |    2 +-
 gdb/psymtab.c                                      |    8 +-
 gdb/psymtab.h                                      |    6 +-
 gdb/python/lib/gdb/printing.py                     |    1 +
 gdb/python/py-auto-load.c                          |  272 +-
 gdb/python/py-breakpoint.c                         |   20 +-
 gdb/python/py-cmd.c                                |    9 +-
 gdb/python/py-event.h                              |    2 +-
 gdb/python/py-events.h                             |    2 +-
 gdb/python/py-evtregistry.c                        |    2 +
 gdb/python/py-exitedevent.c                        |   13 +-
 gdb/python/py-function.c                           |    3 +-
 gdb/python/py-inferior.c                           |   78 +-
 gdb/python/py-infthread.c                          |    1 -
 gdb/python/py-param.c                              |   14 +-
 gdb/python/py-prettyprint.c                        |    2 +-
 gdb/python/py-type.c                               |    4 +-
 gdb/python/py-value.c                              |   12 +-
 gdb/python/python-internal.h                       |    4 +
 gdb/python/python.c                                |  103 +-
 gdb/ravenscar-thread.c                             |    5 +-
 gdb/record.c                                       |  167 +-
 gdb/regcache.c                                     |    2 +-
 gdb/remote-mips.c                                  |    8 +-
 gdb/remote-sim.c                                   |    4 +
 gdb/remote.c                                       |  126 +-
 gdb/reverse.c                                      |    5 +-
 gdb/rs6000-nat.c                                   |    2 +-
 gdb/s390-tdep.c                                    |    2 +-
 gdb/solib-svr4.c                                   |   30 +-
 gdb/solib.c                                        |    1 +
 gdb/sparc-nat.c                                    |    4 +-
 gdb/sparc-sol2-tdep.c                              |    3 +-
 gdb/sparc-tdep.c                                   |  242 +-
 gdb/sparc-tdep.h                                   |   13 +
 gdb/sparc64-sol2-tdep.c                            |    3 +-
 gdb/sparc64-tdep.c                                 |   20 +-
 gdb/sparc64nbsd-tdep.c                             |    2 +-
 gdb/sparc64obsd-tdep.c                             |    2 +-
 gdb/sparcnbsd-tdep.c                               |    2 +-
 gdb/sparcobsd-tdep.c                               |    2 +-
 gdb/stabsread.c                                    |    2 +-
 gdb/stack.c                                        |    7 +-
 gdb/std-operator.def                               |    5 -
 gdb/symfile-mem.c                                  |    4 +-
 gdb/symfile.h                                      |   61 +-
 gdb/symtab.c                                       |   58 +-
 gdb/symtab.h                                       |   19 +-
 gdb/target.c                                       |   31 +-
 gdb/target.h                                       |   51 +-
 gdb/testsuite/ChangeLog                            |  614 +-
 gdb/testsuite/config/bfin.exp                      |    1 +
 gdb/testsuite/config/monitor.exp                   |   16 +-
 gdb/testsuite/gdb.ada/arrayptr.exp                 |    2 +
 gdb/testsuite/gdb.ada/catch_ex.exp                 |   30 +
 gdb/testsuite/gdb.ada/char_enum.exp                |   35 +
 gdb/testsuite/gdb.ada/char_enum/foo.adb            |   23 +
 gdb/testsuite/gdb.ada/char_enum/pck.adb            |   22 +
 gdb/testsuite/gdb.ada/char_enum/pck.ads            |   21 +
 gdb/testsuite/gdb.ada/packed_array.exp             |    2 +-
 gdb/testsuite/gdb.ada/ptr_typedef.exp              |   35 +
 gdb/testsuite/gdb.ada/ptr_typedef/foo.adb          |   30 +
 gdb/testsuite/gdb.ada/ptr_typedef/pck.adb          |   21 +
 gdb/testsuite/gdb.ada/ptr_typedef/pck.ads          |   19 +
 gdb/testsuite/gdb.ada/same_enum.exp                |   37 +
 gdb/testsuite/gdb.ada/same_enum/a.adb              |   24 +
 gdb/testsuite/gdb.ada/same_enum/pck.adb            |   22 +
 gdb/testsuite/gdb.ada/same_enum/pck.ads            |   24 +
 gdb/testsuite/gdb.ada/start.exp                    |    2 +-
 gdb/testsuite/gdb.arch/Makefile.in                 |    4 +-
 gdb/testsuite/gdb.arch/i386-bp_permanent.exp       |   12 +-
 gdb/testsuite/gdb.arch/i386-dr3-watch.c            |   43 +
 gdb/testsuite/gdb.arch/i386-dr3-watch.exp          |   49 +
 gdb/testsuite/gdb.arch/i386-gnu-cfi.exp            |    6 +-
 gdb/testsuite/gdb.arch/i386-permbkpt.exp           |    8 +-
 gdb/testsuite/gdb.arch/i386-prologue.exp           |    6 +-
 gdb/testsuite/gdb.arch/i386-signal.exp             |    2 +-
 gdb/testsuite/gdb.arch/i386-size-overlap.exp       |    8 +-
 gdb/testsuite/gdb.arch/i386-size.exp               |    6 +-
 gdb/testsuite/gdb.arch/i386-unwind.exp             |    6 +-
 gdb/testsuite/gdb.asm/asm-source.exp               |    3 +
 gdb/testsuite/gdb.asm/bfin.inc                     |   45 +
 gdb/testsuite/gdb.base/async-shell.c               |   22 +
 gdb/testsuite/gdb.base/async-shell.exp             |   48 +
 gdb/testsuite/gdb.base/break-interp.exp            |    6 +-
 gdb/testsuite/gdb.base/call-sc.c                   |    2 +-
 gdb/testsuite/gdb.base/callfuncs.c                 |  147 +-
 gdb/testsuite/gdb.base/callfuncs.exp               |  133 +-
 gdb/testsuite/gdb.base/charset.c                   |    5 +
 gdb/testsuite/gdb.base/charset.exp                 |   25 +-
 gdb/testsuite/gdb.base/commands.exp                |   18 +-
 gdb/testsuite/gdb.base/default.exp                 |    4 +-
 gdb/testsuite/gdb.base/dump.exp                    |  217 +-
 gdb/testsuite/gdb.base/ending-run.exp              |    4 +
 gdb/testsuite/gdb.base/funcargs.c                  |  134 +
 gdb/testsuite/gdb.base/funcargs.exp                |   94 +-
 gdb/testsuite/gdb.base/gcore-buffer-overflow.exp   |    2 +-
 gdb/testsuite/gdb.base/help.exp                    |   18 +-
 gdb/testsuite/gdb.base/ifelse.exp                  |    2 +-
 gdb/testsuite/gdb.base/jit-dlmain.c                |   20 +
 gdb/testsuite/gdb.base/jit-main.c                  |    6 +-
 gdb/testsuite/gdb.base/jit-so.exp                  |  121 +
 gdb/testsuite/gdb.base/kill-after-signal.c         |   37 +
 gdb/testsuite/gdb.base/kill-after-signal.exp       |   29 +
 gdb/testsuite/gdb.base/moribund-step.exp           |    6 +
 gdb/testsuite/gdb.base/psymtab.exp                 |    2 +-
 gdb/testsuite/gdb.base/structs.c                   |    2 +-
 gdb/testsuite/gdb.base/type-opaque.exp             |    7 +-
 gdb/testsuite/gdb.base/varargs.c                   |   80 +
 gdb/testsuite/gdb.base/varargs.exp                 |   26 +
 gdb/testsuite/gdb.cp/anon-ns.cc                    |   92 +
 gdb/testsuite/gdb.cp/anon-ns.exp                   |   70 +
 gdb/testsuite/gdb.cp/call-c.exp                    |    2 +-
 gdb/testsuite/gdb.cp/cmpd-minsyms.cc               |    6 +
 gdb/testsuite/gdb.cp/cmpd-minsyms.exp              |   15 +-
 gdb/testsuite/gdb.cp/cplusfuncs.exp                |    2 +-
 gdb/testsuite/gdb.cp/exception.cc                  |   13 +-
 gdb/testsuite/gdb.cp/exception.exp                 |   12 +-
 gdb/testsuite/gdb.cp/m-static.exp                  |   11 +
 gdb/testsuite/gdb.cp/mb-inline.exp                 |   14 +-
 gdb/testsuite/gdb.cp/minsym-fallback-main.cc       |   27 +
 gdb/testsuite/gdb.cp/minsym-fallback.cc            |   28 +
 gdb/testsuite/gdb.cp/minsym-fallback.exp           |   40 +
 gdb/testsuite/gdb.cp/minsym-fallback.h             |   23 +
 gdb/testsuite/gdb.cp/namespace.exp                 |   34 +-
 gdb/testsuite/gdb.cp/no-dmgl-verbose.cc            |   23 +
 gdb/testsuite/gdb.cp/no-dmgl-verbose.exp           |   38 +
 gdb/testsuite/gdb.cp/paren-type.cc                 |   33 +
 gdb/testsuite/gdb.cp/paren-type.exp                |   26 +
 gdb/testsuite/gdb.cp/pr9167.exp                    |    7 +
 gdb/testsuite/gdb.cp/psymtab-parameter.cc          |   11 +-
 gdb/testsuite/gdb.cp/psymtab-parameter.exp         |    5 +-
 gdb/testsuite/gdb.cp/static-method.cc              |   46 +
 gdb/testsuite/gdb.cp/static-method.exp             |   82 +
 gdb/testsuite/gdb.cp/temargs.cc                    |   30 +
 gdb/testsuite/gdb.cp/temargs.exp                   |   73 +-
 gdb/testsuite/gdb.dwarf2/callframecfa.exp          |    2 +-
 gdb/testsuite/gdb.dwarf2/clztest.S                 |  900 +
 gdb/testsuite/gdb.dwarf2/clztest.c                 |   33 +
 gdb/testsuite/gdb.dwarf2/clztest.exp               |   91 +
 gdb/testsuite/gdb.dwarf2/dw2-const.S               |   53 +-
 gdb/testsuite/gdb.dwarf2/dw2-const.exp             |    1 +
 gdb/testsuite/gdb.dwarf2/dw2-filename.exp          |    3 +
 .../gdb.dwarf2/dw2-linkage-name-trust-main.cc      |   41 +
 gdb/testsuite/gdb.dwarf2/dw2-linkage-name-trust.S  |  134 +
 .../gdb.dwarf2/dw2-linkage-name-trust.exp          |   55 +
 gdb/testsuite/gdb.dwarf2/dw2-op-call.S             |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-op-call.exp           |    3 +
 gdb/testsuite/gdb.dwarf2/dw2-restore.exp           |    2 +-
 gdb/testsuite/gdb.dwarf2/dw4-sig-type-unused.S     |   87 +
 gdb/testsuite/gdb.dwarf2/dw4-sig-type-unused.exp   |   36 +
 gdb/testsuite/gdb.dwarf2/implptr.S                 |  468 +-
 gdb/testsuite/gdb.dwarf2/implptr.c                 |   10 +-
 gdb/testsuite/gdb.dwarf2/implptr.exp               |   23 +-
 gdb/testsuite/gdb.dwarf2/pieces.exp                |    2 +-
 gdb/testsuite/gdb.dwarf2/typeddwarf.S              | 2225 ++
 gdb/testsuite/gdb.dwarf2/typeddwarf.c              |   93 +
 gdb/testsuite/gdb.dwarf2/typeddwarf.exp            |   91 +
 gdb/testsuite/gdb.dwarf2/valop.exp                 |    2 +-
 gdb/testsuite/gdb.dwarf2/watch-notconst.exp        |    2 +-
 gdb/testsuite/gdb.fortran/array-element.exp        |    2 +-
 gdb/testsuite/gdb.fortran/charset.exp              |   45 +
 gdb/testsuite/gdb.fortran/charset.f90              |   10 +
 gdb/testsuite/gdb.fortran/complex.exp              |    2 +-
 gdb/testsuite/gdb.fortran/derived-type.exp         |    2 +-
 gdb/testsuite/gdb.fortran/library-module.exp       |    4 +-
 gdb/testsuite/gdb.fortran/logical.exp              |    4 +-
 gdb/testsuite/gdb.fortran/module.exp               |    5 +-
 gdb/testsuite/gdb.fortran/module.f90               |    7 +
 gdb/testsuite/gdb.fortran/multi-dim.exp            |    2 +-
 gdb/testsuite/gdb.fortran/subarray.exp             |    2 +-
 gdb/testsuite/gdb.java/jmisc.exp                   |    4 +
 gdb/testsuite/gdb.java/jprint.exp                  |   11 +
 gdb/testsuite/gdb.java/jprint.java                 |    3 +-
 gdb/testsuite/gdb.mi/Makefile.in                   |   24 +-
 gdb/testsuite/gdb.mi/basics.c                      |    4 -
 gdb/testsuite/gdb.mi/mi-break.exp                  |   17 +-
 gdb/testsuite/gdb.mi/mi-nonstop-exit.exp           |   16 +-
 gdb/testsuite/gdb.mi/mi-nonstop.exp                |   32 +-
 gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp      |   16 +-
 gdb/testsuite/gdb.mi/mi-nsintrall.exp              |   36 +-
 gdb/testsuite/gdb.mi/mi-nsmoribund.exp             |   27 +-
 gdb/testsuite/gdb.mi/mi-nsthrexec.exp              |   16 +-
 gdb/testsuite/gdb.mi/mi-return.exp                 |    6 +-
 gdb/testsuite/gdb.mi/mi-reverse.exp                |    6 +-
 gdb/testsuite/gdb.mi/mi-var-display.exp            |    8 +-
 gdb/testsuite/gdb.mi/mi2-basics.exp                |   53 +-
 gdb/testsuite/gdb.mi/mi2-console.exp               |    7 +-
 gdb/testsuite/gdb.mi/mi2-return.exp                |    6 +-
 gdb/testsuite/gdb.mi/mi2-var-display.exp           |    8 +-
 gdb/testsuite/gdb.python/Makefile.in               |    2 +-
 gdb/testsuite/gdb.python/py-evthreads.exp          |    7 +-
 gdb/testsuite/gdb.python/py-function.exp           |   15 +
 gdb/testsuite/gdb.python/py-inferior.c             |    6 +-
 gdb/testsuite/gdb.python/py-inferior.exp           |    2 +-
 gdb/testsuite/gdb.python/py-mi.exp                 |   21 +-
 .../gdb.python/py-objfile-script-gdb.py.in         |   63 +
 gdb/testsuite/gdb.python/py-objfile-script.c       |   39 +
 gdb/testsuite/gdb.python/py-objfile-script.exp     |   60 +
 gdb/testsuite/gdb.python/py-prettyprint.exp        |    1 +
 gdb/testsuite/gdb.python/py-section-script.exp     |    8 +
 gdb/testsuite/gdb.python/py-symtab.exp             |    4 +-
 gdb/testsuite/gdb.python/py-template.exp           |    2 +
 gdb/testsuite/gdb.python/python.exp                |   21 +-
 gdb/testsuite/gdb.reverse/Makefile.in              |    3 +-
 gdb/testsuite/gdb.reverse/finish-reverse-bkpt.exp  |   57 +
 gdb/testsuite/gdb.reverse/i386-precsave.exp        |   12 +-
 gdb/testsuite/gdb.reverse/i386-reverse.exp         |    6 +-
 gdb/testsuite/gdb.reverse/i386-sse-reverse.exp     |    6 +-
 gdb/testsuite/gdb.reverse/i387-env-reverse.exp     |    8 +-
 gdb/testsuite/gdb.reverse/i387-stack-reverse.exp   |    8 +-
 .../gdb.reverse/next-reverse-bkpt-over-sr.exp      |   58 +
 gdb/testsuite/gdb.reverse/sigall-precsave.exp      |    8 +-
 gdb/testsuite/gdb.reverse/sigall-reverse.exp       |    2 +-
 gdb/testsuite/gdb.threads/execl.exp                |    3 +
 gdb/testsuite/gdb.threads/ia64-sigill.exp          |    1 -
 gdb/testsuite/gdb.threads/leader-exit.c            |   49 +
 gdb/testsuite/gdb.threads/leader-exit.exp          |   38 +
 gdb/testsuite/gdb.threads/pending-step.exp         |    2 +-
 gdb/testsuite/gdb.threads/tls-shared.exp           |   46 +-
 gdb/testsuite/gdb.trace/tfile.c                    |    8 +-
 gdb/testsuite/gdb.trace/tfile.exp                  |    7 +-
 gdb/testsuite/lib/ada.exp                          |  390 -
 gdb/testsuite/lib/future.exp                       |  437 +
 gdb/testsuite/lib/gdb.exp                          |  170 +-
 gdb/thread.c                                       |   19 +-
 gdb/top.c                                          |   50 +-
 gdb/top.h                                          |   12 +-
 gdb/tracepoint.c                                   |  120 +-
 gdb/ui-file.c                                      |   64 +-
 gdb/ui-file.h                                      |   14 +
 gdb/ui-out.c                                       |    9 +-
 gdb/ui-out.h                                       |    4 +-
 gdb/utils.c                                        |  295 +-
 gdb/valops.c                                       |   55 +-
 gdb/valprint.c                                     |  447 +
 gdb/valprint.h                                     |    9 +
 gdb/value.c                                        |   46 +-
 gdb/value.h                                        |   14 +-
 gdb/varobj.c                                       |   88 +-
 gdb/varobj.h                                       |    2 +-
 gdb/version.in                                     |    2 +-
 gdb/windows-tdep.c                                 |    2 +-
 gdb/xcoffread.c                                    |   31 +-
 include/ChangeLog                                  |   90 +-
 include/bfdlink.h                                  |  215 +-
 include/coff/ChangeLog                             |    4 +
 include/coff/i860.h                                |    4 +-
 include/demangle.h                                 |    8 +-
 include/dis-asm.h                                  |    6 +-
 include/dwarf2.h                                   |    2 +
 include/elf/ChangeLog                              |   36 +
 include/elf/arm.h                                  |    3 +-
 include/elf/common.h                               |    9 +-
 include/elf/ia64.h                                 |   12 +
 include/elf/ppc.h                                  |    4 +
 include/elf/reloc-macros.h                         |    6 +-
 include/elf/tilegx.h                               |  162 +
 include/elf/tilepro.h                              |  128 +
 include/filenames.h                                |    8 +
 include/mach-o/ChangeLog                           |    4 +
 include/mach-o/loader.h                            |  329 +
 include/opcode/ChangeLog                           |   40 +
 include/opcode/arm.h                               |    2 +
 include/opcode/avr.h                               |    3 +-
 include/opcode/bfin.h                              |   10 +-
 include/opcode/s390.h                              |    3 +
 include/opcode/tilegx.h                            | 1302 +
 include/opcode/tilepro.h                           | 1636 +
 include/plugin-api.h                               |   81 +-
 libiberty/ChangeLog                                |   51 +
 libiberty/cp-demangle.c                            |  360 +-
 libiberty/filename_cmp.c                           |   28 +-
 libiberty/testsuite/demangle-expected              |   54 +-
 libiberty/testsuite/test-demangle.c                |   12 +-
 opcodes/ChangeLog                                  |  247 +-
 opcodes/Makefile.am                                |    8 +-
 opcodes/Makefile.in                                |   12 +-
 opcodes/arm-dis.c                                  |  105 +-
 opcodes/avr-dis.c                                  |    3 +-
 opcodes/configure                                  |    2 +
 opcodes/configure.in                               |    2 +
 opcodes/disassemble.c                              |   14 +-
 opcodes/i386-dis.c                                 | 1864 +-
 opcodes/i386-gen.c                                 |   19 +-
 opcodes/i386-init.h                                |  182 +-
 opcodes/i386-opc.h                                 |   29 +-
 opcodes/i386-opc.tbl                               |  196 +-
 opcodes/i386-tbl.h                                 |15261 ++++++----
 opcodes/mips16-opc.c                               |   11 +-
 opcodes/po/POTFILES.in                             |    4 +
 opcodes/po/opcodes.pot                             |  121 +-
 opcodes/s390-opc.c                                 |  217 +-
 opcodes/s390-opc.txt                               |  312 +-
 opcodes/tilegx-dis.c                               |  135 +
 opcodes/tilegx-opc.c                               | 8055 +++++
 opcodes/tilepro-dis.c                              |  232 +
 opcodes/tilepro-opc.c                              |10183 ++++++
 opcodes/v850-opc.c                                 |    8 +-
 readline/ChangeLog.gdb                             |    8 +
 readline/Makefile.in                               |    2 +-
 readline/xfree.c                                   |    7 +
 readline/xmalloc.h                                 |    3 +
 sim/ChangeLog                                      |    9 +
 sim/MAINTAINERS                                    |    1 -
 sim/arm/ChangeLog                                  |    8 +
 sim/arm/iwmmxt.c                                   |   19 +-
 sim/bfin/ChangeLog                                 |  212 +
 sim/bfin/Makefile.in                               |    1 +
 sim/bfin/bfin-sim.c                                |  189 +-
 sim/bfin/bfroms/all.h                              |    3 +
 sim/bfin/bfroms/bf526-0.2.h                        |    4 +
 sim/bfin/bfroms/bf54x-0.4.h                        |    4 +
 sim/bfin/bfroms/bf54x_l1-0.4.h                     |    4 +
 sim/bfin/configure                                 |    1 +
 sim/bfin/configure.ac                              |    1 +
 sim/bfin/dv-bfin_cec.h                             |    3 -
 sim/bfin/dv-bfin_ctimer.h                          |    3 -
 sim/bfin/dv-bfin_dma.c                             |    2 +-
 sim/bfin/dv-bfin_dma.h                             |    2 -
 sim/bfin/dv-bfin_dmac.h                            |    3 -
 sim/bfin/dv-bfin_ebiu_amc.h                        |    4 -
 sim/bfin/dv-bfin_ebiu_ddrc.h                       |    2 -
 sim/bfin/dv-bfin_ebiu_sdc.h                        |    2 -
 sim/bfin/dv-bfin_emac.h                            |    3 -
 sim/bfin/dv-bfin_eppi.h                            |    3 -
 sim/bfin/dv-bfin_evt.h                             |    3 -
 sim/bfin/dv-bfin_gpio.h                            |    3 -
 sim/bfin/dv-bfin_gptimer.h                         |    3 -
 sim/bfin/dv-bfin_jtag.h                            |    3 -
 sim/bfin/dv-bfin_mmu.h                             |    3 -
 sim/bfin/dv-bfin_nfc.h                             |    3 -
 sim/bfin/dv-bfin_otp.h                             |    6 -
 sim/bfin/dv-bfin_pfmon.c                           |  155 +
 sim/bfin/dv-bfin_pfmon.h                           |   24 +
 sim/bfin/dv-bfin_pll.h                             |    3 -
 sim/bfin/dv-bfin_ppi.h                             |    3 -
 sim/bfin/dv-bfin_rtc.h                             |    2 -
 sim/bfin/dv-bfin_sic.c                             |  625 +-
 sim/bfin/dv-bfin_sic.h                             |    3 -
 sim/bfin/dv-bfin_spi.h                             |    3 -
 sim/bfin/dv-bfin_trace.h                           |    3 -
 sim/bfin/dv-bfin_twi.h                             |    3 -
 sim/bfin/dv-bfin_uart.c                            |   52 +-
 sim/bfin/dv-bfin_uart.h                            |   17 +-
 sim/bfin/dv-bfin_uart2.c                           |    4 +-
 sim/bfin/dv-bfin_uart2.h                           |    3 -
 sim/bfin/dv-bfin_wdog.h                            |    2 -
 sim/bfin/dv-bfin_wp.h                              |    3 -
 sim/bfin/interp.c                                  |   36 +-
 sim/bfin/machs.c                                   |  726 +-
 sim/bfin/machs.h                                   |   47 +
 sim/bfin/sim-main.h                                |    2 +-
 sim/common/ChangeLog                               |   55 +
 sim/common/Make-common.in                          |    4 +
 sim/common/aclocal.m4                              |    4 +-
 sim/common/dv-glue.c                               |  126 +-
 sim/common/nltvals.def                             |   31 +
 sim/common/sim-command.c                           |   34 +
 sim/common/sim-options.c                           |   10 +-
 sim/common/sim-trace.c                             |   14 +-
 sim/common/sim-trace.h                             |    6 +
 sim/configure                                      |    1 +
 sim/configure.tgt                                  |    1 +
 sim/cris/ChangeLog                                 |    4 +
 sim/cris/sim-if.c                                  |    7 -
 sim/erc32/ChangeLog                                |    8 +
 sim/erc32/interf.c                                 |    9 +
 sim/frv/ChangeLog                                  |    4 +
 sim/frv/sim-if.c                                   |    9 -
 sim/h8300/ChangeLog                                |    4 +
 sim/h8300/compile.c                                |    7 -
 sim/igen/ChangeLog                                 |   35 +
 sim/igen/filter.c                                  |   30 +-
 sim/igen/gen-engine.c                              |  325 -
 sim/igen/gen-icache.c                              |    2 +
 sim/igen/gen-idecode.c                             |  329 +-
 sim/igen/gen-model.c                               |  398 -
 sim/igen/gen.c                                     |  127 +-
 sim/igen/ld-insn.c                                 |   37 +-
 sim/igen/misc.h                                    |    4 -
 sim/iq2000/ChangeLog                               |    4 +
 sim/iq2000/sim-if.c                                |   12 -
 sim/lm32/ChangeLog                                 |    4 +
 sim/lm32/sim-if.c                                  |    9 -
 sim/m32c/ChangeLog                                 |    8 +
 sim/m32c/configure.ac                              |   34 +
 sim/m32c/configure.in                              |   34 -
 sim/m32r/ChangeLog                                 |    4 +
 sim/m32r/sim-if.c                                  |   48 -
 sim/m68hc11/ChangeLog                              |    4 +
 sim/m68hc11/interp.c                               |   27 -
 sim/mips/ChangeLog                                 |   10 +
 sim/mips/Makefile.in                               |    4 +-
 sim/mips/interp.c                                  |   10 -
 sim/mn10300/ChangeLog                              |    8 +
 sim/mn10300/am33.igen                              |    2 +-
 sim/mn10300/interp.c                               |   17 -
 sim/ppc/ChangeLog                                  |   23 +-
 sim/ppc/psim.c                                     |   11 +-
 sim/ppc/vm.c                                       |    2 +-
 sim/rx/ChangeLog                                   |    8 +
 sim/rx/configure.ac                                |   63 +
 sim/rx/configure.in                                |   63 -
 sim/sh64/ChangeLog                                 |    4 +
 sim/sh64/sim-if.c                                  |   10 -
 sim/testsuite/ChangeLog                            |   16 +
 sim/testsuite/lib/sim-defs.exp                     |   48 +-
 sim/testsuite/sim/arm/iwmmxt/wcmpgt.cgs            |    1 -
 sim/testsuite/sim/arm/iwmmxt/wmac.cgs              |    1 -
 sim/testsuite/sim/arm/iwmmxt/wsra.cgs              |    1 -
 sim/testsuite/sim/arm/xscale/blx.cgs               |    1 -
 sim/testsuite/sim/bfin/.gitignore                  |    1 +
 sim/testsuite/sim/bfin/10272_small.s               |   51 +
 sim/testsuite/sim/bfin/10436.s                     |   39 +
 sim/testsuite/sim/bfin/10622.s                     |   21 +
 sim/testsuite/sim/bfin/10742.s                     |   17 +
 sim/testsuite/sim/bfin/10799.s                     |   55 +
 sim/testsuite/sim/bfin/11080.s                     |   40 +
 sim/testsuite/sim/bfin/7641.s                      |   38 +
 sim/testsuite/sim/bfin/ChangeLog                   |  250 +
 sim/testsuite/sim/bfin/PN_generator.s              |   78 +
 sim/testsuite/sim/bfin/a0.s                        |   17 +
 sim/testsuite/sim/bfin/a0shift.S                   |  169 +
 sim/testsuite/sim/bfin/a1.s                        |   29 +
 sim/testsuite/sim/bfin/a10.s                       |  176 +
 sim/testsuite/sim/bfin/a11.S                       |  386 +
 sim/testsuite/sim/bfin/a12.s                       |   40 +
 sim/testsuite/sim/bfin/a2.s                        |  179 +
 sim/testsuite/sim/bfin/a20.S                       |   68 +
 sim/testsuite/sim/bfin/a21.s                       |   83 +
 sim/testsuite/sim/bfin/a22.s                       |   83 +
 sim/testsuite/sim/bfin/a23.s                       |   84 +
 sim/testsuite/sim/bfin/a24.s                       |   12 +
 sim/testsuite/sim/bfin/a25.s                       |   28 +
 sim/testsuite/sim/bfin/a26.s                       |   72 +
 sim/testsuite/sim/bfin/a3.s                        |  313 +
 sim/testsuite/sim/bfin/a30.s                       |   55 +
 sim/testsuite/sim/bfin/a4.s                        |   36 +
 sim/testsuite/sim/bfin/a5.s                        |  140 +
 sim/testsuite/sim/bfin/a6.s                        |  132 +
 sim/testsuite/sim/bfin/a7.s                        |  179 +
 sim/testsuite/sim/bfin/a8.s                        |   41 +
 sim/testsuite/sim/bfin/a9.s                        |  219 +
 sim/testsuite/sim/bfin/abs-2.S                     |   42 +
 sim/testsuite/sim/bfin/abs-3.S                     |   42 +
 sim/testsuite/sim/bfin/abs-4.S                     |   42 +
 sim/testsuite/sim/bfin/abs.S                       |   42 +
 sim/testsuite/sim/bfin/abs_acc.s                   |  224 +
 sim/testsuite/sim/bfin/acc-rot.s                   |  129 +
 sim/testsuite/sim/bfin/acp5_19.s                   |   12 +
 sim/testsuite/sim/bfin/acp5_4.s                    |   39 +
 sim/testsuite/sim/bfin/add_imm7.s                  |   38 +
 sim/testsuite/sim/bfin/add_shift.S                 |   53 +
 sim/testsuite/sim/bfin/add_sub_acc.s               |  123 +
 sim/testsuite/sim/bfin/addsub_flags.S              |  107 +
 sim/testsuite/sim/bfin/algnbug1.s                  |   38 +
 sim/testsuite/sim/bfin/algnbug2.s                  |   69 +
 sim/testsuite/sim/bfin/allinsn.exp                 |   15 +
 sim/testsuite/sim/bfin/argc.c                      |   31 +
 sim/testsuite/sim/bfin/ashift.s                    |  323 +
 sim/testsuite/sim/bfin/ashift_flags.s              |   84 +
 sim/testsuite/sim/bfin/b0.S                        |   51 +
 sim/testsuite/sim/bfin/b1.s                        |   12 +
 sim/testsuite/sim/bfin/b2.S                        |   26 +
 sim/testsuite/sim/bfin/brcc.s                      |  164 +
 sim/testsuite/sim/bfin/brevadd.s                   |   20 +
 sim/testsuite/sim/bfin/byteop16m.s                 |   76 +
 sim/testsuite/sim/bfin/byteop16p.s                 |   74 +
 sim/testsuite/sim/bfin/byteop1p.s                  |   75 +
 sim/testsuite/sim/bfin/byteop2p.s                  |   58 +
 sim/testsuite/sim/bfin/byteop3p.s                  |  119 +
 sim/testsuite/sim/bfin/byteunpack.s                |   45 +
 sim/testsuite/sim/bfin/c_alu2op_arith_r_sft.s      |  226 +
 sim/testsuite/sim/bfin/c_alu2op_conv_b.s           |  211 +
 sim/testsuite/sim/bfin/c_alu2op_conv_h.s           |  211 +
 sim/testsuite/sim/bfin/c_alu2op_conv_mix.s         |  186 +
 sim/testsuite/sim/bfin/c_alu2op_conv_neg.s         |  211 +
 sim/testsuite/sim/bfin/c_alu2op_conv_toggle.s      |  211 +
 sim/testsuite/sim/bfin/c_alu2op_conv_xb.s          |  211 +
 sim/testsuite/sim/bfin/c_alu2op_conv_xh.s          |  212 +
 sim/testsuite/sim/bfin/c_alu2op_divq.s             |  220 +
 sim/testsuite/sim/bfin/c_alu2op_divs.s             |  220 +
 sim/testsuite/sim/bfin/c_alu2op_log_l_sft.s        |  220 +
 sim/testsuite/sim/bfin/c_alu2op_log_r_sft.s        |  217 +
 sim/testsuite/sim/bfin/c_alu2op_shadd_1.s          |  209 +
 sim/testsuite/sim/bfin/c_alu2op_shadd_2.s          |  209 +
 sim/testsuite/sim/bfin/c_br_preg_killed_ac.s       |   82 +
 sim/testsuite/sim/bfin/c_br_preg_killed_ex1.s      |   85 +
 sim/testsuite/sim/bfin/c_br_preg_stall_ac.s        |   75 +
 sim/testsuite/sim/bfin/c_br_preg_stall_ex1.s       |   70 +
 sim/testsuite/sim/bfin/c_brcc_bp1.s                |   45 +
 sim/testsuite/sim/bfin/c_brcc_bp2.s                |   45 +
 sim/testsuite/sim/bfin/c_brcc_bp3.s                |   47 +
 sim/testsuite/sim/bfin/c_brcc_bp4.s                |   46 +
 sim/testsuite/sim/bfin/c_brcc_brf_bp.s             |   46 +
 sim/testsuite/sim/bfin/c_brcc_brf_brt_bp.s         |   47 +
 sim/testsuite/sim/bfin/c_brcc_brf_brt_nbp.s        |   46 +
 sim/testsuite/sim/bfin/c_brcc_brf_fbkwd.s          |   46 +
 sim/testsuite/sim/bfin/c_brcc_brf_nbp.s            |   45 +
 sim/testsuite/sim/bfin/c_brcc_brt_bp.s             |   46 +
 sim/testsuite/sim/bfin/c_brcc_brt_nbp.s            |   45 +
 sim/testsuite/sim/bfin/c_brcc_kills_dhits.s        |  136 +
 sim/testsuite/sim/bfin/c_brcc_kills_dmiss.s        |  137 +
 sim/testsuite/sim/bfin/c_cactrl_iflush_pr.s        |  102 +
 sim/testsuite/sim/bfin/c_cactrl_iflush_pr_pp.s     |  100 +
 sim/testsuite/sim/bfin/c_calla_ljump.s             |   31 +
 sim/testsuite/sim/bfin/c_calla_subr.s              |   28 +
 sim/testsuite/sim/bfin/c_cc2dreg.s                 |   56 +
 sim/testsuite/sim/bfin/c_cc2stat_cc_ac.S           |  240 +
 sim/testsuite/sim/bfin/c_cc2stat_cc_an.s           |  243 +
 sim/testsuite/sim/bfin/c_cc2stat_cc_aq.s           |  243 +
 sim/testsuite/sim/bfin/c_cc2stat_cc_av0.S          |  241 +
 sim/testsuite/sim/bfin/c_cc2stat_cc_av1.S          |  240 +
 sim/testsuite/sim/bfin/c_cc2stat_cc_az.s           |  243 +
 sim/testsuite/sim/bfin/c_cc_flag_ccmv_depend.S     |   80 +
 sim/testsuite/sim/bfin/c_cc_flagdreg_mvbrsft.s     |   87 +
 sim/testsuite/sim/bfin/c_cc_flagdreg_mvbrsft_s1.s  |   99 +
 sim/testsuite/sim/bfin/c_cc_flagdreg_mvbrsft_sn.s  |  118 +
 sim/testsuite/sim/bfin/c_cc_regmvlogi_mvbrsft.s    |   83 +
 sim/testsuite/sim/bfin/c_cc_regmvlogi_mvbrsft_s1.s |   98 +
 sim/testsuite/sim/bfin/c_cc_regmvlogi_mvbrsft_sn.S |  127 +
 sim/testsuite/sim/bfin/c_ccflag_a0a1.S             |  143 +
 sim/testsuite/sim/bfin/c_ccflag_dr_dr.s            |  299 +
 sim/testsuite/sim/bfin/c_ccflag_dr_dr_uu.s         |  299 +
 sim/testsuite/sim/bfin/c_ccflag_dr_imm3.s          |  224 +
 sim/testsuite/sim/bfin/c_ccflag_dr_imm3_uu.s       |  221 +
 sim/testsuite/sim/bfin/c_ccflag_pr_imm3.s          |  539 +
 sim/testsuite/sim/bfin/c_ccflag_pr_imm3_uu.s       |  238 +
 sim/testsuite/sim/bfin/c_ccflag_pr_pr.s            |  262 +
 sim/testsuite/sim/bfin/c_ccflag_pr_pr_uu.s         |  212 +
 sim/testsuite/sim/bfin/c_ccmv_cc_dr_dr.s           |  124 +
 sim/testsuite/sim/bfin/c_ccmv_cc_dr_pr.s           |   61 +
 sim/testsuite/sim/bfin/c_ccmv_cc_pr_pr.s           |  111 +
 sim/testsuite/sim/bfin/c_ccmv_ncc_dr_dr.s          |  123 +
 sim/testsuite/sim/bfin/c_ccmv_ncc_dr_pr.s          |   60 +
 sim/testsuite/sim/bfin/c_ccmv_ncc_pr_pr.s          |  111 +
 sim/testsuite/sim/bfin/c_comp3op_dr_and_dr.s       |  412 +
 sim/testsuite/sim/bfin/c_comp3op_dr_minus_dr.s     |  412 +
 sim/testsuite/sim/bfin/c_comp3op_dr_mix.s          |  237 +
 sim/testsuite/sim/bfin/c_comp3op_dr_or_dr.s        |  412 +
 sim/testsuite/sim/bfin/c_comp3op_dr_plus_dr.s      |  412 +
 sim/testsuite/sim/bfin/c_comp3op_dr_xor_dr.s       |  412 +
 sim/testsuite/sim/bfin/c_comp3op_pr_plus_pr_sh1.s  |  302 +
 sim/testsuite/sim/bfin/c_comp3op_pr_plus_pr_sh2.s  |  302 +
 sim/testsuite/sim/bfin/c_compi2opd_dr_add_i7_n.s   |  164 +
 sim/testsuite/sim/bfin/c_compi2opd_dr_add_i7_p.s   |  147 +
 sim/testsuite/sim/bfin/c_compi2opd_dr_eq_i7_n.s    |  166 +
 sim/testsuite/sim/bfin/c_compi2opd_dr_eq_i7_p.s    |  147 +
 sim/testsuite/sim/bfin/c_compi2opd_flags.S         |  600 +
 sim/testsuite/sim/bfin/c_compi2opd_flags_2.S       |  600 +
 sim/testsuite/sim/bfin/c_compi2opp_pr_add_i7_n.s   |  149 +
 sim/testsuite/sim/bfin/c_compi2opp_pr_add_i7_p.s   |  116 +
 sim/testsuite/sim/bfin/c_compi2opp_pr_eq_i7_n.s    |  161 +
 sim/testsuite/sim/bfin/c_compi2opp_pr_eq_i7_p.s    |  131 +
 sim/testsuite/sim/bfin/c_dagmodik_lnz_imgebl.s     |  290 +
 sim/testsuite/sim/bfin/c_dagmodik_lnz_imltbl.s     |  289 +
 sim/testsuite/sim/bfin/c_dagmodik_lz_inc_dec.s     |  140 +
 sim/testsuite/sim/bfin/c_dagmodim_lnz_imgebl.s     |  108 +
 sim/testsuite/sim/bfin/c_dagmodim_lnz_imltbl.s     |  109 +
 sim/testsuite/sim/bfin/c_dagmodim_lz_inc_dec.s     |   98 +
 sim/testsuite/sim/bfin/c_dsp32alu_a0_pm_a1.s       |   39 +
 sim/testsuite/sim/bfin/c_dsp32alu_a0a1s.s          |   82 +
 sim/testsuite/sim/bfin/c_dsp32alu_a_abs_a.s        |   34 +
 sim/testsuite/sim/bfin/c_dsp32alu_a_neg_a.s        |   34 +
 sim/testsuite/sim/bfin/c_dsp32alu_aa_absabs.s      |   35 +
 sim/testsuite/sim/bfin/c_dsp32alu_aa_negneg.s      |   35 +
 sim/testsuite/sim/bfin/c_dsp32alu_abs.s            |   62 +
 sim/testsuite/sim/bfin/c_dsp32alu_absabs.s         |   62 +
 sim/testsuite/sim/bfin/c_dsp32alu_alhwx.s          |  128 +
 sim/testsuite/sim/bfin/c_dsp32alu_awx.s            |   61 +
 sim/testsuite/sim/bfin/c_dsp32alu_byteop1ew.s      |  136 +
 sim/testsuite/sim/bfin/c_dsp32alu_byteop2.s        |   76 +
 sim/testsuite/sim/bfin/c_dsp32alu_byteop3.s        |   76 +
 sim/testsuite/sim/bfin/c_dsp32alu_bytepack.s       |   77 +
 sim/testsuite/sim/bfin/c_dsp32alu_byteunpack.s     |  113 +
 sim/testsuite/sim/bfin/c_dsp32alu_disalnexcpt.s    |  255 +
 sim/testsuite/sim/bfin/c_dsp32alu_max.s            |  261 +
 sim/testsuite/sim/bfin/c_dsp32alu_maxmax.s         |  261 +
 sim/testsuite/sim/bfin/c_dsp32alu_min.s            |  261 +
 sim/testsuite/sim/bfin/c_dsp32alu_minmin.s         |  261 +
 sim/testsuite/sim/bfin/c_dsp32alu_mix.s            |  137 +
 sim/testsuite/sim/bfin/c_dsp32alu_r_lh_a0pa1.s     |   75 +
 sim/testsuite/sim/bfin/c_dsp32alu_r_negneg.s       |   88 +
 sim/testsuite/sim/bfin/c_dsp32alu_rh_m.s           |  263 +
 sim/testsuite/sim/bfin/c_dsp32alu_rh_p.s           |  263 +
 sim/testsuite/sim/bfin/c_dsp32alu_rh_rnd12_m.s     |  258 +
 sim/testsuite/sim/bfin/c_dsp32alu_rh_rnd12_p.s     |  262 +
 sim/testsuite/sim/bfin/c_dsp32alu_rh_rnd20_m.s     |  258 +
 sim/testsuite/sim/bfin/c_dsp32alu_rh_rnd20_p.s     |  258 +
 sim/testsuite/sim/bfin/c_dsp32alu_rl_m.s           |  263 +
 sim/testsuite/sim/bfin/c_dsp32alu_rl_p.s           |  263 +
 sim/testsuite/sim/bfin/c_dsp32alu_rl_rnd12_m.s     |  261 +
 sim/testsuite/sim/bfin/c_dsp32alu_rl_rnd12_p.s     |  262 +
 sim/testsuite/sim/bfin/c_dsp32alu_rl_rnd20_m.s     |  262 +
 sim/testsuite/sim/bfin/c_dsp32alu_rl_rnd20_p.s     |  258 +
 sim/testsuite/sim/bfin/c_dsp32alu_rlh_rnd.s        |   66 +
 sim/testsuite/sim/bfin/c_dsp32alu_rm.s             |  262 +
 sim/testsuite/sim/bfin/c_dsp32alu_rmm.s            |  264 +
 sim/testsuite/sim/bfin/c_dsp32alu_rmp.s            |  264 +
 sim/testsuite/sim/bfin/c_dsp32alu_rp.s             |  262 +
 sim/testsuite/sim/bfin/c_dsp32alu_rpm.s            |  264 +
 sim/testsuite/sim/bfin/c_dsp32alu_rpp.s            |  266 +
 sim/testsuite/sim/bfin/c_dsp32alu_rr_lph_a1a0.s    |   33 +
 sim/testsuite/sim/bfin/c_dsp32alu_rrpm.s           |  265 +
 sim/testsuite/sim/bfin/c_dsp32alu_rrpm_aa.s        |   70 +
 sim/testsuite/sim/bfin/c_dsp32alu_rrpmmp.s         |  263 +
 sim/testsuite/sim/bfin/c_dsp32alu_rrpmmp_sft.s     |  262 +
 sim/testsuite/sim/bfin/c_dsp32alu_rrpmmp_sft_x.s   |  261 +
 sim/testsuite/sim/bfin/c_dsp32alu_rrppmm.s         |  263 +
 sim/testsuite/sim/bfin/c_dsp32alu_rrppmm_sft.s     |  261 +
 sim/testsuite/sim/bfin/c_dsp32alu_rrppmm_sft_x.s   |  261 +
 sim/testsuite/sim/bfin/c_dsp32alu_saa.s            |   70 +
 sim/testsuite/sim/bfin/c_dsp32alu_sat_aa.S         |   41 +
 sim/testsuite/sim/bfin/c_dsp32alu_search.s         |   74 +
 sim/testsuite/sim/bfin/c_dsp32alu_sgn.s            |   39 +
 sim/testsuite/sim/bfin/c_dsp32mac_a1a0.s           |  255 +
 sim/testsuite/sim/bfin/c_dsp32mac_a1a0_iuw32.s     | 1014 +
 sim/testsuite/sim/bfin/c_dsp32mac_a1a0_m.s         |  340 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0.s          |  124 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_i.s        |  119 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_ih.s       |  119 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_is.s       |  119 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_iu.s       |  119 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_m.s        |  127 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_s.s        |  119 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_t.s        |  119 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_tu.s       |  119 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_u.s        |  119 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1.s          |  213 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_i.s        |  273 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_ih.s       |  145 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_is.s       |  145 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_iu.s       |  145 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_m.s        |  206 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_s.s        |  145 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_t.s        |  274 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_tu.s       |  145 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_u.s        |  170 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0.s        |  157 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0_iutsh.s  |  157 +
 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0_m.s      |  157 +
 sim/testsuite/sim/bfin/c_dsp32mac_mix.s            |  114 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a0.s        |  129 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a0_i.s      |  247 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a0_is.s     |  245 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a0_m.s      |  129 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a0_s.s      |  245 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a0_u.s      |  245 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1.s        |  127 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1_i.s      |  243 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1_is.s     |  243 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1_m.s      |  127 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1_s.s      |  243 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1_u.s      |  243 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1a0.s      |  152 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1a0_i.s    |  292 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1a0_is.s   |  292 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1a0_m.s    |  152 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1a0_s.s    |  306 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1a0_u.s    |  292 +
 sim/testsuite/sim/bfin/c_dsp32mac_pair_mix.s       |   69 +
 sim/testsuite/sim/bfin/c_dsp32mult_dr.s            |  212 +
 sim/testsuite/sim/bfin/c_dsp32mult_dr_i.s          |  212 +
 sim/testsuite/sim/bfin/c_dsp32mult_dr_ih.s         |  212 +
 sim/testsuite/sim/bfin/c_dsp32mult_dr_is.s         |  212 +
 sim/testsuite/sim/bfin/c_dsp32mult_dr_iu.s         |  212 +
 sim/testsuite/sim/bfin/c_dsp32mult_dr_m.s          |  211 +
 sim/testsuite/sim/bfin/c_dsp32mult_dr_m_i.s        |  212 +
 sim/testsuite/sim/bfin/c_dsp32mult_dr_m_iutsh.s    |  212 +
 sim/testsuite/sim/bfin/c_dsp32mult_dr_m_s.s        |  212 +
 sim/testsuite/sim/bfin/c_dsp32mult_dr_m_t.s        |  212 +
 sim/testsuite/sim/bfin/c_dsp32mult_dr_m_u.s        |  212 +
 sim/testsuite/sim/bfin/c_dsp32mult_dr_mix.s        |  196 +
 sim/testsuite/sim/bfin/c_dsp32mult_dr_s.s          |  212 +
 sim/testsuite/sim/bfin/c_dsp32mult_dr_t.s          |  212 +
 sim/testsuite/sim/bfin/c_dsp32mult_dr_tu.s         |  212 +
 sim/testsuite/sim/bfin/c_dsp32mult_dr_u.s          |  212 +
 sim/testsuite/sim/bfin/c_dsp32mult_pair.s          |  179 +
 sim/testsuite/sim/bfin/c_dsp32mult_pair_i.s        |  179 +
 sim/testsuite/sim/bfin/c_dsp32mult_pair_is.s       |  179 +
 sim/testsuite/sim/bfin/c_dsp32mult_pair_m.s        |  178 +
 sim/testsuite/sim/bfin/c_dsp32mult_pair_m_i.s      |  178 +
 sim/testsuite/sim/bfin/c_dsp32mult_pair_m_is.s     |  178 +
 sim/testsuite/sim/bfin/c_dsp32mult_pair_m_s.s      |  178 +
 sim/testsuite/sim/bfin/c_dsp32mult_pair_m_u.s      |  178 +
 sim/testsuite/sim/bfin/c_dsp32mult_pair_s.s        |  180 +
 sim/testsuite/sim/bfin/c_dsp32mult_pair_u.s        |  179 +
 sim/testsuite/sim/bfin/c_dsp32shift_a0alr.s        |  211 +
 sim/testsuite/sim/bfin/c_dsp32shift_af.s           |  186 +
 sim/testsuite/sim/bfin/c_dsp32shift_af_s.s         |  186 +
 sim/testsuite/sim/bfin/c_dsp32shift_ahalf_ln.s     |  423 +
 sim/testsuite/sim/bfin/c_dsp32shift_ahalf_ln_s.s   |  423 +
 sim/testsuite/sim/bfin/c_dsp32shift_ahalf_lp.s     |  423 +
 sim/testsuite/sim/bfin/c_dsp32shift_ahalf_lp_s.s   |  423 +
 sim/testsuite/sim/bfin/c_dsp32shift_ahalf_rn.s     |  423 +
 sim/testsuite/sim/bfin/c_dsp32shift_ahalf_rn_s.s   |  424 +
 sim/testsuite/sim/bfin/c_dsp32shift_ahalf_rp.s     |  423 +
 sim/testsuite/sim/bfin/c_dsp32shift_ahalf_rp_s.s   |  423 +
 sim/testsuite/sim/bfin/c_dsp32shift_ahh.s          |  430 +
 sim/testsuite/sim/bfin/c_dsp32shift_ahh_s.s        |  430 +
 sim/testsuite/sim/bfin/c_dsp32shift_align16.s      |  210 +
 sim/testsuite/sim/bfin/c_dsp32shift_align24.s      |  210 +
 sim/testsuite/sim/bfin/c_dsp32shift_align8.s       |  210 +
 sim/testsuite/sim/bfin/c_dsp32shift_amix.s         |  142 +
 sim/testsuite/sim/bfin/c_dsp32shift_bitmux.s       |  486 +
 sim/testsuite/sim/bfin/c_dsp32shift_bxor.s         |  126 +
 sim/testsuite/sim/bfin/c_dsp32shift_expadj_h.s     |  214 +
 sim/testsuite/sim/bfin/c_dsp32shift_expadj_l.s     |  212 +
 sim/testsuite/sim/bfin/c_dsp32shift_expadj_r.s     |  212 +
 sim/testsuite/sim/bfin/c_dsp32shift_expexp_r.s     |  212 +
 sim/testsuite/sim/bfin/c_dsp32shift_fdepx.s        |  210 +
 sim/testsuite/sim/bfin/c_dsp32shift_fextx.s        |  210 +
 sim/testsuite/sim/bfin/c_dsp32shift_lf.s           |  422 +
 sim/testsuite/sim/bfin/c_dsp32shift_lhalf_ln.s     |  422 +
 sim/testsuite/sim/bfin/c_dsp32shift_lhalf_lp.s     |  422 +
 sim/testsuite/sim/bfin/c_dsp32shift_lhalf_rn.s     |  425 +
 sim/testsuite/sim/bfin/c_dsp32shift_lhalf_rp.s     |  423 +
 sim/testsuite/sim/bfin/c_dsp32shift_lhh.s          |  311 +
 sim/testsuite/sim/bfin/c_dsp32shift_lmix.s         |  136 +
 sim/testsuite/sim/bfin/c_dsp32shift_ones.s         |  214 +
 sim/testsuite/sim/bfin/c_dsp32shift_pack.s         |  411 +
 sim/testsuite/sim/bfin/c_dsp32shift_rot.s          |  427 +
 sim/testsuite/sim/bfin/c_dsp32shift_rot_mix.s      |  437 +
 sim/testsuite/sim/bfin/c_dsp32shift_signbits_r.s   |  214 +
 sim/testsuite/sim/bfin/c_dsp32shift_signbits_rh.s  |  214 +
 sim/testsuite/sim/bfin/c_dsp32shift_signbits_rl.s  |  210 +
 sim/testsuite/sim/bfin/c_dsp32shift_vmax.s         |  113 +
 sim/testsuite/sim/bfin/c_dsp32shift_vmaxvmax.s     |  113 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_a0alr.s      |  213 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_af.s         |   63 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_af_s.s       |   63 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_ahalf_ln.s   |  406 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_ahalf_ln_s.s |  408 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_ahalf_lp.s   |  418 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_ahalf_lp_s.s |  415 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_ahalf_rn.s   |  418 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_ahalf_rn_s.s |  418 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_ahalf_rp.s   |  420 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_ahalf_rp_s.s |  422 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_ahh.s        |   65 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_ahh_s.s      |   65 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_amix.s       |  142 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_lf.s         |   63 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_lhalf_ln.s   |  401 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_lhalf_lp.s   |  418 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_lhalf_rn.s   |  424 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_lhalf_rp.s   |  421 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_lhh.s        |   65 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_lmix.s       |  138 +
 sim/testsuite/sim/bfin/c_dsp32shiftim_rot.s        |   62 +
 sim/testsuite/sim/bfin/c_dspldst_ld_dr_i.s         |  168 +
 sim/testsuite/sim/bfin/c_dspldst_ld_dr_ipp.s       |  348 +
 sim/testsuite/sim/bfin/c_dspldst_ld_dr_ippm.s      |  328 +
 sim/testsuite/sim/bfin/c_dspldst_ld_drhi_i.s       |  168 +
 sim/testsuite/sim/bfin/c_dspldst_ld_drhi_ipp.s     |  364 +
 sim/testsuite/sim/bfin/c_dspldst_ld_drlo_i.s       |  164 +
 sim/testsuite/sim/bfin/c_dspldst_ld_drlo_ipp.s     |  355 +
 sim/testsuite/sim/bfin/c_dspldst_st_dr_i.s         |  185 +
 sim/testsuite/sim/bfin/c_dspldst_st_dr_ipp.s       |  326 +
 sim/testsuite/sim/bfin/c_dspldst_st_dr_ippm.s      |  279 +
 sim/testsuite/sim/bfin/c_dspldst_st_drhi_i.s       |  161 +
 sim/testsuite/sim/bfin/c_dspldst_st_drhi_ipp.s     |  355 +
 sim/testsuite/sim/bfin/c_dspldst_st_drlo_i.s       |  163 +
 sim/testsuite/sim/bfin/c_dspldst_st_drlo_ipp.s     |  351 +
 sim/testsuite/sim/bfin/c_except_illopcode.S        |   99 +
 sim/testsuite/sim/bfin/c_except_sys_sstep.S        |  252 +
 sim/testsuite/sim/bfin/c_except_user_mode.S        |  349 +
 sim/testsuite/sim/bfin/c_interr_disable.S          |  323 +
 sim/testsuite/sim/bfin/c_interr_disable_enable.S   |  344 +
 sim/testsuite/sim/bfin/c_interr_excpt.S            |  290 +
 sim/testsuite/sim/bfin/c_interr_loopsetup_stld.S   |  224 +
 sim/testsuite/sim/bfin/c_interr_nested.S           |  289 +
 sim/testsuite/sim/bfin/c_interr_nmi.S              |  318 +
 sim/testsuite/sim/bfin/c_interr_pending.S          |  324 +
 sim/testsuite/sim/bfin/c_interr_pending_2.S        |  268 +
 sim/testsuite/sim/bfin/c_interr_timer.S            |  384 +
 sim/testsuite/sim/bfin/c_interr_timer_reload.S     |  286 +
 sim/testsuite/sim/bfin/c_interr_timer_tcount.S     |  242 +
 sim/testsuite/sim/bfin/c_interr_timer_tscale.S     |  304 +
 sim/testsuite/sim/bfin/c_ldimmhalf_dreg.s          |   60 +
 sim/testsuite/sim/bfin/c_ldimmhalf_drhi.s          |   85 +
 sim/testsuite/sim/bfin/c_ldimmhalf_drlo.s          |   89 +
 sim/testsuite/sim/bfin/c_ldimmhalf_h_dr.s          |   82 +
 sim/testsuite/sim/bfin/c_ldimmhalf_h_ibml.s        |  165 +
 sim/testsuite/sim/bfin/c_ldimmhalf_h_pr.s          |   74 +
 sim/testsuite/sim/bfin/c_ldimmhalf_l_dr.s          |   82 +
 sim/testsuite/sim/bfin/c_ldimmhalf_l_ibml.s        |  165 +
 sim/testsuite/sim/bfin/c_ldimmhalf_l_pr.s          |   76 +
 sim/testsuite/sim/bfin/c_ldimmhalf_lz_dr.s         |   81 +
 sim/testsuite/sim/bfin/c_ldimmhalf_lz_ibml.s       |  168 +
 sim/testsuite/sim/bfin/c_ldimmhalf_lz_pr.s         |   72 +
 sim/testsuite/sim/bfin/c_ldimmhalf_lzhi_dr.s       |  113 +
 sim/testsuite/sim/bfin/c_ldimmhalf_lzhi_ibml.s     |  216 +
 sim/testsuite/sim/bfin/c_ldimmhalf_lzhi_pr.s       |  102 +
 sim/testsuite/sim/bfin/c_ldimmhalf_pibml.s         |  212 +
 sim/testsuite/sim/bfin/c_ldst_ld_d_p.s             |  372 +
 sim/testsuite/sim/bfin/c_ldst_ld_d_p_b.s           |  353 +
 sim/testsuite/sim/bfin/c_ldst_ld_d_p_h.s           |  351 +
 sim/testsuite/sim/bfin/c_ldst_ld_d_p_mm.s          |  417 +
 sim/testsuite/sim/bfin/c_ldst_ld_d_p_mm_b.s        |  353 +
 sim/testsuite/sim/bfin/c_ldst_ld_d_p_mm_h.s        |  330 +
 sim/testsuite/sim/bfin/c_ldst_ld_d_p_mm_xb.s       |  341 +
 sim/testsuite/sim/bfin/c_ldst_ld_d_p_mm_xh.s       |  355 +
 sim/testsuite/sim/bfin/c_ldst_ld_d_p_pp.s          |  371 +
 sim/testsuite/sim/bfin/c_ldst_ld_d_p_pp_b.s        |  324 +
 sim/testsuite/sim/bfin/c_ldst_ld_d_p_pp_h.s        |  350 +
 sim/testsuite/sim/bfin/c_ldst_ld_d_p_pp_xb.s       |  355 +
 sim/testsuite/sim/bfin/c_ldst_ld_d_p_pp_xh.s       |  333 +
 sim/testsuite/sim/bfin/c_ldst_ld_d_p_ppmm_hbx.s    |  656 +
 sim/testsuite/sim/bfin/c_ldst_ld_d_p_xb.s          |  326 +
 sim/testsuite/sim/bfin/c_ldst_ld_d_p_xh.s          |  354 +
 sim/testsuite/sim/bfin/c_ldst_ld_p_p.s             |  327 +
 sim/testsuite/sim/bfin/c_ldst_ld_p_p_mm.s          |  406 +
 sim/testsuite/sim/bfin/c_ldst_ld_p_p_pp.s          |  335 +
 sim/testsuite/sim/bfin/c_ldst_st_p_d.s             |  299 +
 sim/testsuite/sim/bfin/c_ldst_st_p_d_b.s           |  300 +
 sim/testsuite/sim/bfin/c_ldst_st_p_d_h.s           |  280 +
 sim/testsuite/sim/bfin/c_ldst_st_p_d_mm.s          |  601 +
 sim/testsuite/sim/bfin/c_ldst_st_p_d_mm_b.s        |  498 +
 sim/testsuite/sim/bfin/c_ldst_st_p_d_mm_h.s        |  554 +
 sim/testsuite/sim/bfin/c_ldst_st_p_d_pp.s          |  804 +
 sim/testsuite/sim/bfin/c_ldst_st_p_d_pp_b.s        |  455 +
 sim/testsuite/sim/bfin/c_ldst_st_p_d_pp_h.s        |  457 +
 sim/testsuite/sim/bfin/c_ldst_st_p_p.s             |  128 +
 sim/testsuite/sim/bfin/c_ldst_st_p_p_mm.s          |  428 +
 sim/testsuite/sim/bfin/c_ldst_st_p_p_pp.s          |  397 +
 sim/testsuite/sim/bfin/c_ldstidxl_ld_dr_b.s        |  554 +
 sim/testsuite/sim/bfin/c_ldstidxl_ld_dr_h.s        |  595 +
 sim/testsuite/sim/bfin/c_ldstidxl_ld_dr_xb.s       |  594 +
 sim/testsuite/sim/bfin/c_ldstidxl_ld_dr_xh.s       |  595 +
 sim/testsuite/sim/bfin/c_ldstidxl_ld_dreg.s        |  554 +
 sim/testsuite/sim/bfin/c_ldstidxl_ld_preg.s        |  672 +
 sim/testsuite/sim/bfin/c_ldstidxl_st_dr_b.s        |  612 +
 sim/testsuite/sim/bfin/c_ldstidxl_st_dr_h.s        |  609 +
 sim/testsuite/sim/bfin/c_ldstidxl_st_dreg.s        |  780 +
 sim/testsuite/sim/bfin/c_ldstidxl_st_preg.s        |  709 +
 sim/testsuite/sim/bfin/c_ldstii_ld_dr_h.s          |  541 +
 sim/testsuite/sim/bfin/c_ldstii_ld_dr_xh.s         |  541 +
 sim/testsuite/sim/bfin/c_ldstii_ld_dreg.s          |  540 +
 sim/testsuite/sim/bfin/c_ldstii_ld_preg.s          |  564 +
 sim/testsuite/sim/bfin/c_ldstii_st_dr_h.s          |  605 +
 sim/testsuite/sim/bfin/c_ldstii_st_dreg.s          |  640 +
 sim/testsuite/sim/bfin/c_ldstii_st_preg.s          |  603 +
 sim/testsuite/sim/bfin/c_ldstiifp_ld_dreg.s        |  528 +
 sim/testsuite/sim/bfin/c_ldstiifp_ld_preg.s        |  511 +
 sim/testsuite/sim/bfin/c_ldstiifp_st_dreg.s        |  641 +
 sim/testsuite/sim/bfin/c_ldstiifp_st_preg.s        |  618 +
 sim/testsuite/sim/bfin/c_ldstpmod_ld_dr_hi.s       |  411 +
 sim/testsuite/sim/bfin/c_ldstpmod_ld_dr_lo.s       |  410 +
 sim/testsuite/sim/bfin/c_ldstpmod_ld_dreg.s        |  462 +
 sim/testsuite/sim/bfin/c_ldstpmod_ld_h_xh.s        |  458 +
 sim/testsuite/sim/bfin/c_ldstpmod_ld_lohi.s        |  462 +
 sim/testsuite/sim/bfin/c_ldstpmod_st_dr_hi.s       |  400 +
 sim/testsuite/sim/bfin/c_ldstpmod_st_dr_lo.s       |  401 +
 sim/testsuite/sim/bfin/c_ldstpmod_st_dreg.s        |  623 +
 sim/testsuite/sim/bfin/c_ldstpmod_st_lohi.s        |  625 +
 sim/testsuite/sim/bfin/c_linkage.s                 |   60 +
 sim/testsuite/sim/bfin/c_logi2op_alshft_mix.s      |  143 +
 sim/testsuite/sim/bfin/c_logi2op_arith_shft.s      |  223 +
 sim/testsuite/sim/bfin/c_logi2op_bitclr.s          |   92 +
 sim/testsuite/sim/bfin/c_logi2op_bitset.s          |   92 +
 sim/testsuite/sim/bfin/c_logi2op_bittgl.s          |  165 +
 sim/testsuite/sim/bfin/c_logi2op_bittst.s          |  583 +
 sim/testsuite/sim/bfin/c_logi2op_log_l_shft.s      |  222 +
 .../sim/bfin/c_logi2op_log_l_shft_astat.S          |   82 +
 sim/testsuite/sim/bfin/c_logi2op_log_r_shft.s      |  222 +
 .../sim/bfin/c_logi2op_log_r_shft_astat.S          |   82 +
 sim/testsuite/sim/bfin/c_logi2op_nbittst.s         |  584 +
 sim/testsuite/sim/bfin/c_loopsetup_nested.s        |  166 +
 sim/testsuite/sim/bfin/c_loopsetup_nested_bot.s    |  165 +
 sim/testsuite/sim/bfin/c_loopsetup_nested_prelc.s  |  184 +
 sim/testsuite/sim/bfin/c_loopsetup_nested_top.s    |  166 +
 sim/testsuite/sim/bfin/c_loopsetup_overlap.s       |  167 +
 sim/testsuite/sim/bfin/c_loopsetup_preg_div2_lc0.s |   95 +
 sim/testsuite/sim/bfin/c_loopsetup_preg_div2_lc1.s |   94 +
 sim/testsuite/sim/bfin/c_loopsetup_preg_lc0.s      |   95 +
 sim/testsuite/sim/bfin/c_loopsetup_preg_lc1.s      |   93 +
 sim/testsuite/sim/bfin/c_loopsetup_preg_stld.s     |  194 +
 sim/testsuite/sim/bfin/c_loopsetup_prelc.s         |  145 +
 sim/testsuite/sim/bfin/c_loopsetup_topbotcntr.s    |  110 +
 sim/testsuite/sim/bfin/c_mmr_interr_ctl.s          |  398 +
 sim/testsuite/sim/bfin/c_mmr_loop.S                |  417 +
 sim/testsuite/sim/bfin/c_mmr_loop_user_except.S    |  325 +
 sim/testsuite/sim/bfin/c_mmr_ppop_illegal_adr.S    |  307 +
 sim/testsuite/sim/bfin/c_mmr_ppopm_illegal_adr.S   |  308 +
 sim/testsuite/sim/bfin/c_mmr_timer.S               |  282 +
 sim/testsuite/sim/bfin/c_mode_supervisor.S         |  287 +
 sim/testsuite/sim/bfin/c_mode_user.S               |  338 +
 sim/testsuite/sim/bfin/c_mode_user_superivsor.S    |  353 +
 sim/testsuite/sim/bfin/c_multi_issue_dsp_ld_ld.s   |  197 +
 sim/testsuite/sim/bfin/c_multi_issue_dsp_ldst_1.s  |  198 +
 sim/testsuite/sim/bfin/c_multi_issue_dsp_ldst_2.s  |  198 +
 sim/testsuite/sim/bfin/c_progctrl_call_pcpr.s      |   63 +
 sim/testsuite/sim/bfin/c_progctrl_call_pr.s        |   32 +
 sim/testsuite/sim/bfin/c_progctrl_clisti_interr.S  |  330 +
 sim/testsuite/sim/bfin/c_progctrl_csync_mmr.S      |  280 +
 sim/testsuite/sim/bfin/c_progctrl_except_rtx.S     |   96 +
 sim/testsuite/sim/bfin/c_progctrl_excpt.S          |  261 +
 sim/testsuite/sim/bfin/c_progctrl_jump_pcpr.s      |   58 +
 sim/testsuite/sim/bfin/c_progctrl_jump_pr.s        |   56 +
 sim/testsuite/sim/bfin/c_progctrl_nop.s            |   55 +
 sim/testsuite/sim/bfin/c_progctrl_raise_rt_i_n.S   |  285 +
 sim/testsuite/sim/bfin/c_progctrl_rts.s            |   36 +
 sim/testsuite/sim/bfin/c_ptr2op_pr_neg_pr.s        |  163 +
 sim/testsuite/sim/bfin/c_ptr2op_pr_sft_2_1.s       |  162 +
 sim/testsuite/sim/bfin/c_ptr2op_pr_shadd_1_2.s     |  167 +
 sim/testsuite/sim/bfin/c_pushpopmultiple_dp.s      |  213 +
 sim/testsuite/sim/bfin/c_pushpopmultiple_dp_pair.s |  203 +
 sim/testsuite/sim/bfin/c_pushpopmultiple_dreg.s    |  173 +
 sim/testsuite/sim/bfin/c_pushpopmultiple_preg.s    |   83 +
 sim/testsuite/sim/bfin/c_regmv_acc_acc.s           |  125 +
 sim/testsuite/sim/bfin/c_regmv_dag_lz_dep.s        |  148 +
 sim/testsuite/sim/bfin/c_regmv_dr_acc_acc.s        |  191 +
 sim/testsuite/sim/bfin/c_regmv_dr_dep_nostall.s    |  245 +
 sim/testsuite/sim/bfin/c_regmv_dr_dr.s             |  209 +
 sim/testsuite/sim/bfin/c_regmv_dr_imlb.s           |  539 +
 sim/testsuite/sim/bfin/c_regmv_dr_pr.s             |  107 +
 sim/testsuite/sim/bfin/c_regmv_imlb_dep_nostall.s  |  664 +
 sim/testsuite/sim/bfin/c_regmv_imlb_dep_stall.s    |  335 +
 sim/testsuite/sim/bfin/c_regmv_imlb_dr.s           |  313 +
 sim/testsuite/sim/bfin/c_regmv_imlb_imlb.s         |  925 +
 sim/testsuite/sim/bfin/c_regmv_imlb_pr.s           |  302 +
 sim/testsuite/sim/bfin/c_regmv_pr_dep_nostall.s    |  280 +
 sim/testsuite/sim/bfin/c_regmv_pr_dep_stall.s      |  237 +
 sim/testsuite/sim/bfin/c_regmv_pr_dr.s             |  147 +
 sim/testsuite/sim/bfin/c_regmv_pr_imlb.s           |  382 +
 sim/testsuite/sim/bfin/c_regmv_pr_pr.s             |   95 +
 sim/testsuite/sim/bfin/c_seq_ac_raise_mv.S         |  342 +
 sim/testsuite/sim/bfin/c_seq_ac_raise_mv_ppop.S    |  359 +
 sim/testsuite/sim/bfin/c_seq_ac_regmv_pushpop.S    |  359 +
 sim/testsuite/sim/bfin/c_seq_dec_raise_pushpop.S   |  341 +
 sim/testsuite/sim/bfin/c_seq_ex1_brcc_mv_pop.S     |  377 +
 sim/testsuite/sim/bfin/c_seq_ex1_call_mv_pop.S     |  393 +
 sim/testsuite/sim/bfin/c_seq_ex1_j_mv_pop.S        |  375 +
 .../sim/bfin/c_seq_ex1_raise_brcc_mv_pop.S         |  377 +
 .../sim/bfin/c_seq_ex1_raise_call_mv_pop.S         |  393 +
 sim/testsuite/sim/bfin/c_seq_ex1_raise_j_mv_pop.S  |  375 +
 sim/testsuite/sim/bfin/c_seq_ex2_brcc_mp_mv_pop.S  |  377 +
 sim/testsuite/sim/bfin/c_seq_ex2_mmr_mvpop.S       |  386 +
 sim/testsuite/sim/bfin/c_seq_ex2_mmrj_mvpop.S      |  386 +
 sim/testsuite/sim/bfin/c_seq_ex2_raise_mmr_mvpop.S |  385 +
 .../sim/bfin/c_seq_ex2_raise_mmrj_mvpop.S          |  385 +
 sim/testsuite/sim/bfin/c_seq_ex3_ls_brcc_mvp.S     |  440 +
 sim/testsuite/sim/bfin/c_seq_ex3_ls_mmr_mvp.S      |  442 +
 sim/testsuite/sim/bfin/c_seq_ex3_ls_mmrj_mvp.S     |  443 +
 .../sim/bfin/c_seq_ex3_raise_ls_mmrj_mvp.S         |  442 +
 sim/testsuite/sim/bfin/c_seq_wb_cs_lsmmrj_mvp.S    |  446 +
 .../sim/bfin/c_seq_wb_raisecs_lsmmrj_mvp.S         |  446 +
 sim/testsuite/sim/bfin/c_seq_wb_rti_lsmmrj_mvp.S   |  455 +
 sim/testsuite/sim/bfin/c_seq_wb_rtn_lsmmrj_mvp.S   |  447 +
 sim/testsuite/sim/bfin/c_seq_wb_rtx_lsmmrj_mvp.S   |  466 +
 sim/testsuite/sim/bfin/c_ujump.s                   |   52 +
 sim/testsuite/sim/bfin/cc-alu.S                    |  126 +
 sim/testsuite/sim/bfin/cc-astat-bits.s             |  101 +
 sim/testsuite/sim/bfin/cc0.s                       |   30 +
 sim/testsuite/sim/bfin/cc1.s                       |   26 +
 sim/testsuite/sim/bfin/cc5.S                       |   90 +
 sim/testsuite/sim/bfin/cec-exact-exception.S       |   54 +
 sim/testsuite/sim/bfin/cec-ifetch.S                |   69 +
 sim/testsuite/sim/bfin/cec-multi-pending.S         |  182 +
 sim/testsuite/sim/bfin/cec-no-snen-reti.S          |  128 +
 sim/testsuite/sim/bfin/cec-non-operating-env.s     |   37 +
 sim/testsuite/sim/bfin/cec-raise-reti.S            |  111 +
 sim/testsuite/sim/bfin/cec-snen-reti.S             |  122 +
 sim/testsuite/sim/bfin/cec-syscfg-ssstep.S         |   72 +
 sim/testsuite/sim/bfin/cec-system-call.S           |   64 +
 sim/testsuite/sim/bfin/cir.s                       |   20 +
 sim/testsuite/sim/bfin/cir1.s                      |   84 +
 sim/testsuite/sim/bfin/cli-sti.s                   |   25 +
 sim/testsuite/sim/bfin/cmpacc.s                    |   50 +
 sim/testsuite/sim/bfin/cmpdreg.S                   |   40 +
 sim/testsuite/sim/bfin/compare.s                   |   15 +
 sim/testsuite/sim/bfin/conv_enc_gen.s              |  101 +
 sim/testsuite/sim/bfin/cycles.s                    |   41 +
 sim/testsuite/sim/bfin/d0.s                        |   31 +
 sim/testsuite/sim/bfin/d1.s                        |   17 +
 sim/testsuite/sim/bfin/d2.s                        |   56 +
 sim/testsuite/sim/bfin/dbg_brprd_ntkn_src_kill.S   |  545 +
 sim/testsuite/sim/bfin/dbg_brtkn_nprd_src_kill.S   |  544 +
 sim/testsuite/sim/bfin/dbg_jmp_src_kill.S          |  543 +
 sim/testsuite/sim/bfin/dbg_tr_basic.S              |  272 +
 sim/testsuite/sim/bfin/dbg_tr_simplejp.S           |  267 +
 sim/testsuite/sim/bfin/dbg_tr_tbuf0.S              |  262 +
 sim/testsuite/sim/bfin/dbg_tr_umode.S              |  314 +
 sim/testsuite/sim/bfin/disalnexcpt_implicit.S      |  122 +
 sim/testsuite/sim/bfin/div0.s                      |   37 +
 sim/testsuite/sim/bfin/divq.s                      | 1322 +
 sim/testsuite/sim/bfin/dotproduct.s                |  304 +
 sim/testsuite/sim/bfin/dotproduct2.s               |  299 +
 sim/testsuite/sim/bfin/double_prec_mult.s          |   92 +
 sim/testsuite/sim/bfin/dsp_a4.s                    |  113 +
 sim/testsuite/sim/bfin/dsp_a7.s                    |  103 +
 sim/testsuite/sim/bfin/dsp_a8.s                    |   80 +
 sim/testsuite/sim/bfin/dsp_d0.s                    |   31 +
 sim/testsuite/sim/bfin/dsp_d1.s                    |  117 +
 sim/testsuite/sim/bfin/dsp_neg.S                   |   36 +
 sim/testsuite/sim/bfin/dsp_s1.s                    |   85 +
 sim/testsuite/sim/bfin/e0.s                        |   51 +
 sim/testsuite/sim/bfin/edn_snafu.s                 |   45 +
 sim/testsuite/sim/bfin/eu_dsp32mac_s.s             |   38 +
 sim/testsuite/sim/bfin/events.s                    |   44 +
 sim/testsuite/sim/bfin/f221.s                      |   56 +
 sim/testsuite/sim/bfin/fact.s                      |   47 +
 sim/testsuite/sim/bfin/fir.s                       |  201 +
 sim/testsuite/sim/bfin/fsm.s                       |   57 +
 sim/testsuite/sim/bfin/greg2.s                     |   18 +
 sim/testsuite/sim/bfin/hwloop-bits.S               |  104 +
 sim/testsuite/sim/bfin/hwloop-branch-in.s          |   99 +
 sim/testsuite/sim/bfin/hwloop-branch-out.s         |  129 +
 sim/testsuite/sim/bfin/hwloop-lt-bits.s            |   25 +
 sim/testsuite/sim/bfin/hwloop-nested.s             |   33 +
 sim/testsuite/sim/bfin/i0.s                        |   57 +
 sim/testsuite/sim/bfin/iir.s                       |  207 +
 sim/testsuite/sim/bfin/issue103.s                  |   34 +
 sim/testsuite/sim/bfin/issue109.s                  |   16 +
 sim/testsuite/sim/bfin/issue112.s                  |   38 +
 sim/testsuite/sim/bfin/issue113.s                  |   18 +
 sim/testsuite/sim/bfin/issue117.s                  |   19 +
 sim/testsuite/sim/bfin/issue118.s                  |   41 +
 sim/testsuite/sim/bfin/issue119.s                  |   26 +
 sim/testsuite/sim/bfin/issue121.s                  |   40 +
 sim/testsuite/sim/bfin/issue123.s                  |   20 +
 sim/testsuite/sim/bfin/issue124.s                  |   26 +
 sim/testsuite/sim/bfin/issue125.s                  |   75 +
 sim/testsuite/sim/bfin/issue126.s                  |   19 +
 sim/testsuite/sim/bfin/issue127.s                  |   35 +
 sim/testsuite/sim/bfin/issue129.s                  |   36 +
 sim/testsuite/sim/bfin/issue139.S                  |  108 +
 sim/testsuite/sim/bfin/issue140.S                  |   22 +
 sim/testsuite/sim/bfin/issue142.s                  |   34 +
 sim/testsuite/sim/bfin/issue144.s                  |   31 +
 sim/testsuite/sim/bfin/issue146.S                  |   32 +
 sim/testsuite/sim/bfin/issue175.s                  |   34 +
 sim/testsuite/sim/bfin/issue205.s                  |   66 +
 sim/testsuite/sim/bfin/issue257.s                  |   28 +
 sim/testsuite/sim/bfin/issue272.S                  |   23 +
 sim/testsuite/sim/bfin/issue83.s                   |   93 +
 sim/testsuite/sim/bfin/issue89.s                   |   30 +
 sim/testsuite/sim/bfin/l0.s                        |  137 +
 sim/testsuite/sim/bfin/l0shift.s                   |   13 +
 sim/testsuite/sim/bfin/l2_loop.s                   |   28 +
 sim/testsuite/sim/bfin/link-2.s                    |   24 +
 sim/testsuite/sim/bfin/link.s                      |   67 +
 sim/testsuite/sim/bfin/lmu_cplb_multiple0.S        | 2678 ++
 sim/testsuite/sim/bfin/lmu_cplb_multiple1.S        | 2680 ++
 sim/testsuite/sim/bfin/lmu_excpt_align.S           |  345 +
 sim/testsuite/sim/bfin/lmu_excpt_default.S         |  307 +
 sim/testsuite/sim/bfin/lmu_excpt_illaddr.S         |  337 +
 sim/testsuite/sim/bfin/lmu_excpt_prot0.S           |  392 +
 sim/testsuite/sim/bfin/lmu_excpt_prot1.S           |  401 +
 sim/testsuite/sim/bfin/load.s                      |  239 +
 sim/testsuite/sim/bfin/logic.s                     |   64 +
 sim/testsuite/sim/bfin/loop_snafu.s                |   28 +
 sim/testsuite/sim/bfin/loop_strncpy.s              |   76 +
 sim/testsuite/sim/bfin/lp0.s                       |   17 +
 sim/testsuite/sim/bfin/lp1.s                       |   16 +
 sim/testsuite/sim/bfin/lsetup.s                    |  109 +
 sim/testsuite/sim/bfin/m0boundary.s                |   46 +
 sim/testsuite/sim/bfin/m1.S                        |   58 +
 sim/testsuite/sim/bfin/m10.s                       |   63 +
 sim/testsuite/sim/bfin/m11.s                       |   72 +
 sim/testsuite/sim/bfin/m12.s                       |   74 +
 sim/testsuite/sim/bfin/m13.s                       |   93 +
 sim/testsuite/sim/bfin/m14.s                       |   82 +
 sim/testsuite/sim/bfin/m15.s                       |   80 +
 sim/testsuite/sim/bfin/m16.s                       |   65 +
 sim/testsuite/sim/bfin/m17.s                       |   74 +
 sim/testsuite/sim/bfin/m2.s                        |  263 +
 sim/testsuite/sim/bfin/m3.s                        |  138 +
 sim/testsuite/sim/bfin/m4.s                        |  124 +
 sim/testsuite/sim/bfin/m5.s                        |  153 +
 sim/testsuite/sim/bfin/m6.s                        |   57 +
 sim/testsuite/sim/bfin/m7.s                        |   66 +
 sim/testsuite/sim/bfin/m8.s                        |   54 +
 sim/testsuite/sim/bfin/m9.s                        |   91 +
 sim/testsuite/sim/bfin/mac2halfreg.S               |   27 +
 sim/testsuite/sim/bfin/math.s                      |   66 +
 sim/testsuite/sim/bfin/max_min_flags.s             |  275 +
 sim/testsuite/sim/bfin/mc_s2.s                     |   78 +
 sim/testsuite/sim/bfin/mdma-32bit-1d-neg-count.c   |   18 +
 sim/testsuite/sim/bfin/mdma-32bit-1d.c             |   17 +
 sim/testsuite/sim/bfin/mdma-8bit-1d-neg-count.c    |   18 +
 sim/testsuite/sim/bfin/mdma-8bit-1d.c              |   17 +
 sim/testsuite/sim/bfin/mdma-skel.h                 |   79 +
 sim/testsuite/sim/bfin/mem3.s                      |   42 +
 sim/testsuite/sim/bfin/mmr-exception.s             |   43 +
 sim/testsuite/sim/bfin/move.s                      |   36 +
 sim/testsuite/sim/bfin/msa_acp_5.10.S              |   40 +
 sim/testsuite/sim/bfin/msa_acp_5.12_1.S            |   71 +
 sim/testsuite/sim/bfin/msa_acp_5.12_2.S            |   58 +
 sim/testsuite/sim/bfin/msa_acp_5_10.s              |   69 +
 sim/testsuite/sim/bfin/mult.s                      |   22 +
 sim/testsuite/sim/bfin/neg-2.S                     |   42 +
 sim/testsuite/sim/bfin/neg-3.S                     |   42 +
 sim/testsuite/sim/bfin/neg.S                       |   42 +
 sim/testsuite/sim/bfin/nshift.s                    |   33 +
 sim/testsuite/sim/bfin/pr.s                        |   81 +
 sim/testsuite/sim/bfin/push-pop-multiple.s         |  169 +
 sim/testsuite/sim/bfin/push-pop.s                  |   95 +
 sim/testsuite/sim/bfin/pushpopreg_1.s              |  292 +
 sim/testsuite/sim/bfin/quadaddsub.s                |   58 +
 sim/testsuite/sim/bfin/random_0001.s               |   13 +
 sim/testsuite/sim/bfin/random_0002.S               |   25 +
 sim/testsuite/sim/bfin/random_0003.S               |   48 +
 sim/testsuite/sim/bfin/random_0004.S               |   33 +
 sim/testsuite/sim/bfin/random_0005.S               |   24 +
 sim/testsuite/sim/bfin/random_0006.S               |   23 +
 sim/testsuite/sim/bfin/random_0007.S               |   60 +
 sim/testsuite/sim/bfin/random_0008.S               |   44 +
 sim/testsuite/sim/bfin/random_0009.S               |  103 +
 sim/testsuite/sim/bfin/random_0010.S               |   78 +
 sim/testsuite/sim/bfin/random_0011.S               |  102 +
 sim/testsuite/sim/bfin/random_0012.S               |   52 +
 sim/testsuite/sim/bfin/random_0013.S               |  417 +
 sim/testsuite/sim/bfin/random_0019.S               |  216 +
 sim/testsuite/sim/bfin/random_0020.S               |  434 +
 sim/testsuite/sim/bfin/random_0021.S               |   45 +
 sim/testsuite/sim/bfin/random_0022.S               |  212 +
 sim/testsuite/sim/bfin/random_0023.S               |   97 +
 sim/testsuite/sim/bfin/random_0024.S               |  264 +
 sim/testsuite/sim/bfin/random_0026.S               |  195 +
 sim/testsuite/sim/bfin/random_0027.S               |  266 +
 sim/testsuite/sim/bfin/random_0028.S               |  220 +
 sim/testsuite/sim/bfin/random_0029.S               |  184 +
 sim/testsuite/sim/bfin/random_0030.S               |  177 +
 sim/testsuite/sim/bfin/random_0031.S               |  185 +
 sim/testsuite/sim/bfin/random_0032.S               |  154 +
 sim/testsuite/sim/bfin/random_0033.S               |   64 +
 sim/testsuite/sim/bfin/random_0034.S               |  129 +
 sim/testsuite/sim/bfin/random_0035.S               |   31 +
 sim/testsuite/sim/bfin/run-tests.sh                |  225 +
 sim/testsuite/sim/bfin/s0.s                        |   12 +
 sim/testsuite/sim/bfin/s1.s                        |   25 +
 sim/testsuite/sim/bfin/s10.s                       |   77 +
 sim/testsuite/sim/bfin/s11.s                       |  177 +
 sim/testsuite/sim/bfin/s12.s                       |   84 +
 sim/testsuite/sim/bfin/s13.s                       |  215 +
 sim/testsuite/sim/bfin/s14.s                       |  350 +
 sim/testsuite/sim/bfin/s15.s                       |  149 +
 sim/testsuite/sim/bfin/s16.s                       |  170 +
 sim/testsuite/sim/bfin/s17.s                       |   46 +
 sim/testsuite/sim/bfin/s18.s                       |  132 +
 sim/testsuite/sim/bfin/s19.s                       |  140 +
 sim/testsuite/sim/bfin/s2.s                        |   47 +
 sim/testsuite/sim/bfin/s20.s                       |   25 +
 sim/testsuite/sim/bfin/s21.s                       |  298 +
 sim/testsuite/sim/bfin/s3.s                        |   88 +
 sim/testsuite/sim/bfin/s30.s                       |  152 +
 sim/testsuite/sim/bfin/s4.s                        |  214 +
 sim/testsuite/sim/bfin/s5.s                        |  118 +
 sim/testsuite/sim/bfin/s6.s                        |   83 +
 sim/testsuite/sim/bfin/s7.s                        |   83 +
 sim/testsuite/sim/bfin/s8.s                        |   55 +
 sim/testsuite/sim/bfin/s9.s                        |  134 +
 sim/testsuite/sim/bfin/saatest.s                   |  222 +
 sim/testsuite/sim/bfin/se_all16bitopcodes.S        |  444 +
 sim/testsuite/sim/bfin/se_all32bitopcodes.S        |34304 ++++++++++++++++++++
 sim/testsuite/sim/bfin/se_all32bitopcodes.lds      |   16 +
 sim/testsuite/sim/bfin/se_brtarget_stall.S         |  462 +
 sim/testsuite/sim/bfin/se_bug_ui.S                 |  296 +
 sim/testsuite/sim/bfin/se_bug_ui2.S                |  296 +
 sim/testsuite/sim/bfin/se_bug_ui3.S                |  300 +
 sim/testsuite/sim/bfin/se_cc2stat_haz.S            |  632 +
 sim/testsuite/sim/bfin/se_cc_kill.S                |  480 +
 sim/testsuite/sim/bfin/se_cof.S                    |  424 +
 sim/testsuite/sim/bfin/se_event_quad.S             |  436 +
 sim/testsuite/sim/bfin/se_excpt_dagprotviol.S      |  281 +
 sim/testsuite/sim/bfin/se_excpt_ifprotviol.S       |  280 +
 sim/testsuite/sim/bfin/se_excpt_ssstep.S           |  290 +
 sim/testsuite/sim/bfin/se_illegalcombination.S     |  622 +
 sim/testsuite/sim/bfin/se_kill_wbbr.S              |  422 +
 sim/testsuite/sim/bfin/se_kills2.S                 |  148 +
 sim/testsuite/sim/bfin/se_loop_disable.S           |  408 +
 sim/testsuite/sim/bfin/se_loop_kill.S              |  519 +
 sim/testsuite/sim/bfin/se_loop_kill_01.S           |  521 +
 sim/testsuite/sim/bfin/se_loop_kill_dcr.S          |  914 +
 sim/testsuite/sim/bfin/se_loop_kill_dcr_01.S       |  917 +
 sim/testsuite/sim/bfin/se_loop_lr.S                |  507 +
 sim/testsuite/sim/bfin/se_loop_mv2lb_stall.S       |  612 +
 sim/testsuite/sim/bfin/se_loop_mv2lc.S             |  777 +
 sim/testsuite/sim/bfin/se_loop_mv2lc_stall.S       |  612 +
 sim/testsuite/sim/bfin/se_loop_mv2lt_stall.S       |  612 +
 sim/testsuite/sim/bfin/se_loop_nest_ppm.S          |  442 +
 sim/testsuite/sim/bfin/se_loop_nest_ppm_1.S        |  442 +
 sim/testsuite/sim/bfin/se_loop_nest_ppm_2.S        |  491 +
 sim/testsuite/sim/bfin/se_loop_ppm.S               |  477 +
 sim/testsuite/sim/bfin/se_loop_ppm_1.S             |  519 +
 sim/testsuite/sim/bfin/se_loop_ppm_int.S           |  429 +
 sim/testsuite/sim/bfin/se_lsetup_kill.S            |  776 +
 sim/testsuite/sim/bfin/se_misaligned_fetch.S       |  286 +
 sim/testsuite/sim/bfin/se_more_ret_haz.S           |  271 +
 sim/testsuite/sim/bfin/se_mv2lp.S                  |  481 +
 sim/testsuite/sim/bfin/se_oneins_zoff.S            |  487 +
 sim/testsuite/sim/bfin/se_popkill.S                |  566 +
 sim/testsuite/sim/bfin/se_regmv_usp_sysreg.S       |  171 +
 sim/testsuite/sim/bfin/se_rets_hazard.s            |   55 +
 sim/testsuite/sim/bfin/se_rts_rti.S                |  442 +
 sim/testsuite/sim/bfin/se_ssstep_dagprotviol.S     |  297 +
 sim/testsuite/sim/bfin/se_ssync.S                  |   61 +
 sim/testsuite/sim/bfin/se_stall_if2.S              |  458 +
 sim/testsuite/sim/bfin/se_undefinedinstruction1.S  | 1102 +
 sim/testsuite/sim/bfin/se_undefinedinstruction2.S  | 3147 ++
 sim/testsuite/sim/bfin/se_undefinedinstruction3.S  | 6022 ++++
 sim/testsuite/sim/bfin/se_undefinedinstruction4.S  | 1298 +
 sim/testsuite/sim/bfin/se_usermode_protviol.S      |  317 +
 sim/testsuite/sim/bfin/seqstat.s                   |   25 +
 sim/testsuite/sim/bfin/sign.s                      |   27 +
 sim/testsuite/sim/bfin/simple0.s                   |   10 +
 sim/testsuite/sim/bfin/sri.s                       |   21 +
 sim/testsuite/sim/bfin/stk.s                       |   78 +
 sim/testsuite/sim/bfin/stk2.s                      |  107 +
 sim/testsuite/sim/bfin/stk3.s                      |  106 +
 sim/testsuite/sim/bfin/stk4.s                      |  110 +
 sim/testsuite/sim/bfin/stk5.s                      |   34 +
 sim/testsuite/sim/bfin/stk6.s                      |   58 +
 sim/testsuite/sim/bfin/syscfg.s                    |   25 +
 sim/testsuite/sim/bfin/tar10622.s                  |   20 +
 sim/testsuite/sim/bfin/test-dma.h                  |   28 +
 sim/testsuite/sim/bfin/test.h                      |  134 +
 sim/testsuite/sim/bfin/testset.s                   |   73 +
 sim/testsuite/sim/bfin/testset2.s                  |   37 +
 sim/testsuite/sim/bfin/testutils.inc               |  295 +
 sim/testsuite/sim/bfin/unlink.S                    |   68 +
 sim/testsuite/sim/bfin/up0.s                       |   41 +
 sim/testsuite/sim/bfin/usp.S                       |   50 +
 sim/testsuite/sim/bfin/vec-abs-2.S                 |   42 +
 sim/testsuite/sim/bfin/vec-abs-3.S                 |   42 +
 sim/testsuite/sim/bfin/vec-abs.S                   |   42 +
 sim/testsuite/sim/bfin/vec-neg-2.S                 |   42 +
 sim/testsuite/sim/bfin/vec-neg-3.S                 |   42 +
 sim/testsuite/sim/bfin/vec-neg.S                   |   42 +
 sim/testsuite/sim/bfin/vecadd.s                    |   65 +
 sim/testsuite/sim/bfin/vit_max.s                   |   57 +
 sim/testsuite/sim/bfin/viterbi2.s                  |  254 +
 sim/testsuite/sim/bfin/wtf.s                       |   26 +
 sim/testsuite/sim/bfin/x1.s                        |   79 +
 sim/testsuite/sim/bfin/zcall.s                     |   44 +
 sim/testsuite/sim/bfin/zeroflagrnd.s               |   37 +
 sim/v850/ChangeLog                                 |    4 +
 sim/v850/interp.c                                  |   19 -
 1509 files changed, 296750 insertions(+), 23831 deletions(-)
 create mode 100644 bfd/cpu-tilegx.c
 create mode 100644 bfd/cpu-tilepro.c
 create mode 100644 bfd/elf32-tilegx.c
 create mode 100644 bfd/elf32-tilegx.h
 create mode 100644 bfd/elf32-tilepro.c
 create mode 100644 bfd/elf32-tilepro.h
 create mode 100644 bfd/elf64-tilegx.c
 create mode 100644 bfd/elf64-tilegx.h
 create mode 100644 bfd/elfnn-ia64.c
 create mode 100644 bfd/elfxx-ia64.h
 create mode 100644 bfd/elfxx-tilegx.c
 create mode 100644 bfd/elfxx-tilegx.h
 create mode 100644 gdb/common/gdb_thread_db.h
 create mode 100644 gdb/continuations.c
 create mode 100644 gdb/continuations.h
 delete mode 100644 gdb/gdb_thread_db.h
 create mode 100644 gdb/testsuite/config/bfin.exp
 create mode 100644 gdb/testsuite/gdb.ada/char_enum.exp
 create mode 100644 gdb/testsuite/gdb.ada/char_enum/foo.adb
 create mode 100644 gdb/testsuite/gdb.ada/char_enum/pck.adb
 create mode 100644 gdb/testsuite/gdb.ada/char_enum/pck.ads
 create mode 100644 gdb/testsuite/gdb.ada/ptr_typedef.exp
 create mode 100644 gdb/testsuite/gdb.ada/ptr_typedef/foo.adb
 create mode 100644 gdb/testsuite/gdb.ada/ptr_typedef/pck.adb
 create mode 100644 gdb/testsuite/gdb.ada/ptr_typedef/pck.ads
 create mode 100644 gdb/testsuite/gdb.ada/same_enum.exp
 create mode 100644 gdb/testsuite/gdb.ada/same_enum/a.adb
 create mode 100644 gdb/testsuite/gdb.ada/same_enum/pck.adb
 create mode 100644 gdb/testsuite/gdb.ada/same_enum/pck.ads
 create mode 100644 gdb/testsuite/gdb.arch/i386-dr3-watch.c
 create mode 100644 gdb/testsuite/gdb.arch/i386-dr3-watch.exp
 create mode 100644 gdb/testsuite/gdb.asm/bfin.inc
 create mode 100644 gdb/testsuite/gdb.base/async-shell.c
 create mode 100644 gdb/testsuite/gdb.base/async-shell.exp
 create mode 100644 gdb/testsuite/gdb.base/jit-dlmain.c
 create mode 100644 gdb/testsuite/gdb.base/jit-so.exp
 create mode 100644 gdb/testsuite/gdb.base/kill-after-signal.c
 create mode 100644 gdb/testsuite/gdb.base/kill-after-signal.exp
 create mode 100644 gdb/testsuite/gdb.cp/anon-ns.cc
 create mode 100644 gdb/testsuite/gdb.cp/anon-ns.exp
 create mode 100644 gdb/testsuite/gdb.cp/minsym-fallback-main.cc
 create mode 100644 gdb/testsuite/gdb.cp/minsym-fallback.cc
 create mode 100644 gdb/testsuite/gdb.cp/minsym-fallback.exp
 create mode 100644 gdb/testsuite/gdb.cp/minsym-fallback.h
 create mode 100644 gdb/testsuite/gdb.cp/no-dmgl-verbose.cc
 create mode 100644 gdb/testsuite/gdb.cp/no-dmgl-verbose.exp
 create mode 100644 gdb/testsuite/gdb.cp/paren-type.cc
 create mode 100644 gdb/testsuite/gdb.cp/paren-type.exp
 create mode 100644 gdb/testsuite/gdb.cp/static-method.cc
 create mode 100644 gdb/testsuite/gdb.cp/static-method.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/clztest.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/clztest.c
 create mode 100644 gdb/testsuite/gdb.dwarf2/clztest.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-linkage-name-trust-main.cc
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-linkage-name-trust.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-linkage-name-trust.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw4-sig-type-unused.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw4-sig-type-unused.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/typeddwarf.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/typeddwarf.c
 create mode 100644 gdb/testsuite/gdb.dwarf2/typeddwarf.exp
 create mode 100644 gdb/testsuite/gdb.fortran/charset.exp
 create mode 100644 gdb/testsuite/gdb.fortran/charset.f90
 create mode 100644 gdb/testsuite/gdb.python/py-objfile-script-gdb.py.in
 create mode 100644 gdb/testsuite/gdb.python/py-objfile-script.c
 create mode 100644 gdb/testsuite/gdb.python/py-objfile-script.exp
 create mode 100644 gdb/testsuite/gdb.reverse/finish-reverse-bkpt.exp
 create mode 100644 gdb/testsuite/gdb.reverse/next-reverse-bkpt-over-sr.exp
 create mode 100644 gdb/testsuite/gdb.threads/leader-exit.c
 create mode 100644 gdb/testsuite/gdb.threads/leader-exit.exp
 create mode 100644 gdb/testsuite/lib/future.exp
 create mode 100644 include/elf/tilegx.h
 create mode 100644 include/elf/tilepro.h
 create mode 100644 include/mach-o/ChangeLog
 create mode 100644 include/mach-o/loader.h
 create mode 100644 include/opcode/tilegx.h
 create mode 100644 include/opcode/tilepro.h
 create mode 100644 opcodes/tilegx-dis.c
 create mode 100644 opcodes/tilegx-opc.c
 create mode 100644 opcodes/tilepro-dis.c
 create mode 100644 opcodes/tilepro-opc.c
 create mode 100644 sim/bfin/bfroms/bf526-0.2.h
 create mode 100644 sim/bfin/bfroms/bf54x-0.4.h
 create mode 100644 sim/bfin/bfroms/bf54x_l1-0.4.h
 create mode 100644 sim/bfin/dv-bfin_pfmon.c
 create mode 100644 sim/bfin/dv-bfin_pfmon.h
 create mode 100644 sim/common/sim-command.c
 create mode 100644 sim/m32c/configure.ac
 delete mode 100644 sim/m32c/configure.in
 create mode 100644 sim/rx/configure.ac
 delete mode 100644 sim/rx/configure.in
 create mode 100644 sim/testsuite/sim/bfin/.gitignore
 create mode 100644 sim/testsuite/sim/bfin/10272_small.s
 create mode 100644 sim/testsuite/sim/bfin/10436.s
 create mode 100644 sim/testsuite/sim/bfin/10622.s
 create mode 100644 sim/testsuite/sim/bfin/10742.s
 create mode 100644 sim/testsuite/sim/bfin/10799.s
 create mode 100644 sim/testsuite/sim/bfin/11080.s
 create mode 100644 sim/testsuite/sim/bfin/7641.s
 create mode 100644 sim/testsuite/sim/bfin/ChangeLog
 create mode 100644 sim/testsuite/sim/bfin/PN_generator.s
 create mode 100644 sim/testsuite/sim/bfin/a0.s
 create mode 100644 sim/testsuite/sim/bfin/a0shift.S
 create mode 100644 sim/testsuite/sim/bfin/a1.s
 create mode 100644 sim/testsuite/sim/bfin/a10.s
 create mode 100644 sim/testsuite/sim/bfin/a11.S
 create mode 100644 sim/testsuite/sim/bfin/a12.s
 create mode 100644 sim/testsuite/sim/bfin/a2.s
 create mode 100644 sim/testsuite/sim/bfin/a20.S
 create mode 100644 sim/testsuite/sim/bfin/a21.s
 create mode 100644 sim/testsuite/sim/bfin/a22.s
 create mode 100644 sim/testsuite/sim/bfin/a23.s
 create mode 100644 sim/testsuite/sim/bfin/a24.s
 create mode 100644 sim/testsuite/sim/bfin/a25.s
 create mode 100644 sim/testsuite/sim/bfin/a26.s
 create mode 100644 sim/testsuite/sim/bfin/a3.s
 create mode 100644 sim/testsuite/sim/bfin/a30.s
 create mode 100644 sim/testsuite/sim/bfin/a4.s
 create mode 100644 sim/testsuite/sim/bfin/a5.s
 create mode 100644 sim/testsuite/sim/bfin/a6.s
 create mode 100644 sim/testsuite/sim/bfin/a7.s
 create mode 100644 sim/testsuite/sim/bfin/a8.s
 create mode 100644 sim/testsuite/sim/bfin/a9.s
 create mode 100644 sim/testsuite/sim/bfin/abs-2.S
 create mode 100644 sim/testsuite/sim/bfin/abs-3.S
 create mode 100644 sim/testsuite/sim/bfin/abs-4.S
 create mode 100644 sim/testsuite/sim/bfin/abs.S
 create mode 100644 sim/testsuite/sim/bfin/abs_acc.s
 create mode 100644 sim/testsuite/sim/bfin/acc-rot.s
 create mode 100644 sim/testsuite/sim/bfin/acp5_19.s
 create mode 100644 sim/testsuite/sim/bfin/acp5_4.s
 create mode 100644 sim/testsuite/sim/bfin/add_imm7.s
 create mode 100644 sim/testsuite/sim/bfin/add_shift.S
 create mode 100644 sim/testsuite/sim/bfin/add_sub_acc.s
 create mode 100644 sim/testsuite/sim/bfin/addsub_flags.S
 create mode 100644 sim/testsuite/sim/bfin/algnbug1.s
 create mode 100644 sim/testsuite/sim/bfin/algnbug2.s
 create mode 100644 sim/testsuite/sim/bfin/allinsn.exp
 create mode 100644 sim/testsuite/sim/bfin/argc.c
 create mode 100644 sim/testsuite/sim/bfin/ashift.s
 create mode 100644 sim/testsuite/sim/bfin/ashift_flags.s
 create mode 100644 sim/testsuite/sim/bfin/b0.S
 create mode 100644 sim/testsuite/sim/bfin/b1.s
 create mode 100644 sim/testsuite/sim/bfin/b2.S
 create mode 100644 sim/testsuite/sim/bfin/brcc.s
 create mode 100644 sim/testsuite/sim/bfin/brevadd.s
 create mode 100644 sim/testsuite/sim/bfin/byteop16m.s
 create mode 100644 sim/testsuite/sim/bfin/byteop16p.s
 create mode 100644 sim/testsuite/sim/bfin/byteop1p.s
 create mode 100644 sim/testsuite/sim/bfin/byteop2p.s
 create mode 100644 sim/testsuite/sim/bfin/byteop3p.s
 create mode 100644 sim/testsuite/sim/bfin/byteunpack.s
 create mode 100644 sim/testsuite/sim/bfin/c_alu2op_arith_r_sft.s
 create mode 100644 sim/testsuite/sim/bfin/c_alu2op_conv_b.s
 create mode 100644 sim/testsuite/sim/bfin/c_alu2op_conv_h.s
 create mode 100644 sim/testsuite/sim/bfin/c_alu2op_conv_mix.s
 create mode 100644 sim/testsuite/sim/bfin/c_alu2op_conv_neg.s
 create mode 100644 sim/testsuite/sim/bfin/c_alu2op_conv_toggle.s
 create mode 100644 sim/testsuite/sim/bfin/c_alu2op_conv_xb.s
 create mode 100644 sim/testsuite/sim/bfin/c_alu2op_conv_xh.s
 create mode 100644 sim/testsuite/sim/bfin/c_alu2op_divq.s
 create mode 100644 sim/testsuite/sim/bfin/c_alu2op_divs.s
 create mode 100644 sim/testsuite/sim/bfin/c_alu2op_log_l_sft.s
 create mode 100644 sim/testsuite/sim/bfin/c_alu2op_log_r_sft.s
 create mode 100644 sim/testsuite/sim/bfin/c_alu2op_shadd_1.s
 create mode 100644 sim/testsuite/sim/bfin/c_alu2op_shadd_2.s
 create mode 100644 sim/testsuite/sim/bfin/c_br_preg_killed_ac.s
 create mode 100644 sim/testsuite/sim/bfin/c_br_preg_killed_ex1.s
 create mode 100644 sim/testsuite/sim/bfin/c_br_preg_stall_ac.s
 create mode 100644 sim/testsuite/sim/bfin/c_br_preg_stall_ex1.s
 create mode 100644 sim/testsuite/sim/bfin/c_brcc_bp1.s
 create mode 100644 sim/testsuite/sim/bfin/c_brcc_bp2.s
 create mode 100644 sim/testsuite/sim/bfin/c_brcc_bp3.s
 create mode 100644 sim/testsuite/sim/bfin/c_brcc_bp4.s
 create mode 100644 sim/testsuite/sim/bfin/c_brcc_brf_bp.s
 create mode 100644 sim/testsuite/sim/bfin/c_brcc_brf_brt_bp.s
 create mode 100644 sim/testsuite/sim/bfin/c_brcc_brf_brt_nbp.s
 create mode 100644 sim/testsuite/sim/bfin/c_brcc_brf_fbkwd.s
 create mode 100644 sim/testsuite/sim/bfin/c_brcc_brf_nbp.s
 create mode 100644 sim/testsuite/sim/bfin/c_brcc_brt_bp.s
 create mode 100644 sim/testsuite/sim/bfin/c_brcc_brt_nbp.s
 create mode 100644 sim/testsuite/sim/bfin/c_brcc_kills_dhits.s
 create mode 100644 sim/testsuite/sim/bfin/c_brcc_kills_dmiss.s
 create mode 100644 sim/testsuite/sim/bfin/c_cactrl_iflush_pr.s
 create mode 100644 sim/testsuite/sim/bfin/c_cactrl_iflush_pr_pp.s
 create mode 100644 sim/testsuite/sim/bfin/c_calla_ljump.s
 create mode 100644 sim/testsuite/sim/bfin/c_calla_subr.s
 create mode 100644 sim/testsuite/sim/bfin/c_cc2dreg.s
 create mode 100644 sim/testsuite/sim/bfin/c_cc2stat_cc_ac.S
 create mode 100644 sim/testsuite/sim/bfin/c_cc2stat_cc_an.s
 create mode 100644 sim/testsuite/sim/bfin/c_cc2stat_cc_aq.s
 create mode 100644 sim/testsuite/sim/bfin/c_cc2stat_cc_av0.S
 create mode 100644 sim/testsuite/sim/bfin/c_cc2stat_cc_av1.S
 create mode 100644 sim/testsuite/sim/bfin/c_cc2stat_cc_az.s
 create mode 100644 sim/testsuite/sim/bfin/c_cc_flag_ccmv_depend.S
 create mode 100644 sim/testsuite/sim/bfin/c_cc_flagdreg_mvbrsft.s
 create mode 100644 sim/testsuite/sim/bfin/c_cc_flagdreg_mvbrsft_s1.s
 create mode 100644 sim/testsuite/sim/bfin/c_cc_flagdreg_mvbrsft_sn.s
 create mode 100644 sim/testsuite/sim/bfin/c_cc_regmvlogi_mvbrsft.s
 create mode 100644 sim/testsuite/sim/bfin/c_cc_regmvlogi_mvbrsft_s1.s
 create mode 100644 sim/testsuite/sim/bfin/c_cc_regmvlogi_mvbrsft_sn.S
 create mode 100644 sim/testsuite/sim/bfin/c_ccflag_a0a1.S
 create mode 100644 sim/testsuite/sim/bfin/c_ccflag_dr_dr.s
 create mode 100644 sim/testsuite/sim/bfin/c_ccflag_dr_dr_uu.s
 create mode 100644 sim/testsuite/sim/bfin/c_ccflag_dr_imm3.s
 create mode 100644 sim/testsuite/sim/bfin/c_ccflag_dr_imm3_uu.s
 create mode 100644 sim/testsuite/sim/bfin/c_ccflag_pr_imm3.s
 create mode 100644 sim/testsuite/sim/bfin/c_ccflag_pr_imm3_uu.s
 create mode 100644 sim/testsuite/sim/bfin/c_ccflag_pr_pr.s
 create mode 100644 sim/testsuite/sim/bfin/c_ccflag_pr_pr_uu.s
 create mode 100644 sim/testsuite/sim/bfin/c_ccmv_cc_dr_dr.s
 create mode 100644 sim/testsuite/sim/bfin/c_ccmv_cc_dr_pr.s
 create mode 100644 sim/testsuite/sim/bfin/c_ccmv_cc_pr_pr.s
 create mode 100644 sim/testsuite/sim/bfin/c_ccmv_ncc_dr_dr.s
 create mode 100644 sim/testsuite/sim/bfin/c_ccmv_ncc_dr_pr.s
 create mode 100644 sim/testsuite/sim/bfin/c_ccmv_ncc_pr_pr.s
 create mode 100644 sim/testsuite/sim/bfin/c_comp3op_dr_and_dr.s
 create mode 100644 sim/testsuite/sim/bfin/c_comp3op_dr_minus_dr.s
 create mode 100644 sim/testsuite/sim/bfin/c_comp3op_dr_mix.s
 create mode 100644 sim/testsuite/sim/bfin/c_comp3op_dr_or_dr.s
 create mode 100644 sim/testsuite/sim/bfin/c_comp3op_dr_plus_dr.s
 create mode 100644 sim/testsuite/sim/bfin/c_comp3op_dr_xor_dr.s
 create mode 100644 sim/testsuite/sim/bfin/c_comp3op_pr_plus_pr_sh1.s
 create mode 100644 sim/testsuite/sim/bfin/c_comp3op_pr_plus_pr_sh2.s
 create mode 100644 sim/testsuite/sim/bfin/c_compi2opd_dr_add_i7_n.s
 create mode 100644 sim/testsuite/sim/bfin/c_compi2opd_dr_add_i7_p.s
 create mode 100644 sim/testsuite/sim/bfin/c_compi2opd_dr_eq_i7_n.s
 create mode 100644 sim/testsuite/sim/bfin/c_compi2opd_dr_eq_i7_p.s
 create mode 100644 sim/testsuite/sim/bfin/c_compi2opd_flags.S
 create mode 100644 sim/testsuite/sim/bfin/c_compi2opd_flags_2.S
 create mode 100644 sim/testsuite/sim/bfin/c_compi2opp_pr_add_i7_n.s
 create mode 100644 sim/testsuite/sim/bfin/c_compi2opp_pr_add_i7_p.s
 create mode 100644 sim/testsuite/sim/bfin/c_compi2opp_pr_eq_i7_n.s
 create mode 100644 sim/testsuite/sim/bfin/c_compi2opp_pr_eq_i7_p.s
 create mode 100644 sim/testsuite/sim/bfin/c_dagmodik_lnz_imgebl.s
 create mode 100644 sim/testsuite/sim/bfin/c_dagmodik_lnz_imltbl.s
 create mode 100644 sim/testsuite/sim/bfin/c_dagmodik_lz_inc_dec.s
 create mode 100644 sim/testsuite/sim/bfin/c_dagmodim_lnz_imgebl.s
 create mode 100644 sim/testsuite/sim/bfin/c_dagmodim_lnz_imltbl.s
 create mode 100644 sim/testsuite/sim/bfin/c_dagmodim_lz_inc_dec.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_a0_pm_a1.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_a0a1s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_a_abs_a.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_a_neg_a.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_aa_absabs.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_aa_negneg.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_abs.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_absabs.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_alhwx.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_awx.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_byteop1ew.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_byteop2.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_byteop3.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_bytepack.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_byteunpack.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_disalnexcpt.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_max.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_maxmax.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_min.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_minmin.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_mix.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_r_lh_a0pa1.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_r_negneg.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rh_m.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rh_p.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rh_rnd12_m.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rh_rnd12_p.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rh_rnd20_m.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rh_rnd20_p.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rl_m.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rl_p.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rl_rnd12_m.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rl_rnd12_p.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rl_rnd20_m.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rl_rnd20_p.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rlh_rnd.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rm.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rmm.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rmp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rpm.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rpp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rr_lph_a1a0.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rrpm.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rrpm_aa.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rrpmmp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rrpmmp_sft.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rrpmmp_sft_x.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rrppmm.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rrppmm_sft.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_rrppmm_sft_x.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_saa.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_sat_aa.S
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_search.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32alu_sgn.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_a1a0.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_a1a0_iuw32.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_a1a0_m.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_i.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_ih.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_is.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_iu.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_m.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_t.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_tu.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a0_u.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_i.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_ih.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_is.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_iu.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_m.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_t.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_tu.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1_u.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0_iutsh.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_dr_a1a0_m.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_mix.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a0.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a0_i.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a0_is.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a0_m.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a0_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a0_u.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1_i.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1_is.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1_m.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1_u.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1a0.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1a0_i.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1a0_is.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1a0_m.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1a0_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_a1a0_u.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mac_pair_mix.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_dr.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_dr_i.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_dr_ih.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_dr_is.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_dr_iu.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_dr_m.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_dr_m_i.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_dr_m_iutsh.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_dr_m_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_dr_m_t.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_dr_m_u.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_dr_mix.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_dr_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_dr_t.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_dr_tu.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_dr_u.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_pair.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_pair_i.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_pair_is.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_pair_m.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_pair_m_i.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_pair_m_is.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_pair_m_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_pair_m_u.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_pair_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32mult_pair_u.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_a0alr.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_af.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_af_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_ahalf_ln.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_ahalf_ln_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_ahalf_lp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_ahalf_lp_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_ahalf_rn.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_ahalf_rn_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_ahalf_rp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_ahalf_rp_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_ahh.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_ahh_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_align16.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_align24.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_align8.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_amix.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_bitmux.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_bxor.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_expadj_h.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_expadj_l.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_expadj_r.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_expexp_r.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_fdepx.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_fextx.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_lf.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_lhalf_ln.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_lhalf_lp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_lhalf_rn.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_lhalf_rp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_lhh.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_lmix.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_ones.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_pack.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_rot.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_rot_mix.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_signbits_r.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_signbits_rh.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_signbits_rl.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_vmax.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shift_vmaxvmax.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_a0alr.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_af.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_af_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_ahalf_ln.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_ahalf_ln_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_ahalf_lp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_ahalf_lp_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_ahalf_rn.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_ahalf_rn_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_ahalf_rp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_ahalf_rp_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_ahh.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_ahh_s.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_amix.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_lf.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_lhalf_ln.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_lhalf_lp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_lhalf_rn.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_lhalf_rp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_lhh.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_lmix.s
 create mode 100644 sim/testsuite/sim/bfin/c_dsp32shiftim_rot.s
 create mode 100644 sim/testsuite/sim/bfin/c_dspldst_ld_dr_i.s
 create mode 100644 sim/testsuite/sim/bfin/c_dspldst_ld_dr_ipp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dspldst_ld_dr_ippm.s
 create mode 100644 sim/testsuite/sim/bfin/c_dspldst_ld_drhi_i.s
 create mode 100644 sim/testsuite/sim/bfin/c_dspldst_ld_drhi_ipp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dspldst_ld_drlo_i.s
 create mode 100644 sim/testsuite/sim/bfin/c_dspldst_ld_drlo_ipp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dspldst_st_dr_i.s
 create mode 100644 sim/testsuite/sim/bfin/c_dspldst_st_dr_ipp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dspldst_st_dr_ippm.s
 create mode 100644 sim/testsuite/sim/bfin/c_dspldst_st_drhi_i.s
 create mode 100644 sim/testsuite/sim/bfin/c_dspldst_st_drhi_ipp.s
 create mode 100644 sim/testsuite/sim/bfin/c_dspldst_st_drlo_i.s
 create mode 100644 sim/testsuite/sim/bfin/c_dspldst_st_drlo_ipp.s
 create mode 100644 sim/testsuite/sim/bfin/c_except_illopcode.S
 create mode 100644 sim/testsuite/sim/bfin/c_except_sys_sstep.S
 create mode 100644 sim/testsuite/sim/bfin/c_except_user_mode.S
 create mode 100644 sim/testsuite/sim/bfin/c_interr_disable.S
 create mode 100644 sim/testsuite/sim/bfin/c_interr_disable_enable.S
 create mode 100644 sim/testsuite/sim/bfin/c_interr_excpt.S
 create mode 100644 sim/testsuite/sim/bfin/c_interr_loopsetup_stld.S
 create mode 100644 sim/testsuite/sim/bfin/c_interr_nested.S
 create mode 100644 sim/testsuite/sim/bfin/c_interr_nmi.S
 create mode 100644 sim/testsuite/sim/bfin/c_interr_pending.S
 create mode 100644 sim/testsuite/sim/bfin/c_interr_pending_2.S
 create mode 100644 sim/testsuite/sim/bfin/c_interr_timer.S
 create mode 100644 sim/testsuite/sim/bfin/c_interr_timer_reload.S
 create mode 100644 sim/testsuite/sim/bfin/c_interr_timer_tcount.S
 create mode 100644 sim/testsuite/sim/bfin/c_interr_timer_tscale.S
 create mode 100644 sim/testsuite/sim/bfin/c_ldimmhalf_dreg.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldimmhalf_drhi.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldimmhalf_drlo.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldimmhalf_h_dr.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldimmhalf_h_ibml.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldimmhalf_h_pr.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldimmhalf_l_dr.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldimmhalf_l_ibml.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldimmhalf_l_pr.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldimmhalf_lz_dr.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldimmhalf_lz_ibml.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldimmhalf_lz_pr.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldimmhalf_lzhi_dr.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldimmhalf_lzhi_ibml.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldimmhalf_lzhi_pr.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldimmhalf_pibml.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_d_p.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_d_p_b.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_d_p_h.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_d_p_mm.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_d_p_mm_b.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_d_p_mm_h.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_d_p_mm_xb.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_d_p_mm_xh.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_d_p_pp.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_d_p_pp_b.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_d_p_pp_h.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_d_p_pp_xb.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_d_p_pp_xh.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_d_p_ppmm_hbx.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_d_p_xb.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_d_p_xh.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_p_p.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_p_p_mm.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_ld_p_p_pp.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_st_p_d.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_st_p_d_b.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_st_p_d_h.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_st_p_d_mm.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_st_p_d_mm_b.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_st_p_d_mm_h.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_st_p_d_pp.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_st_p_d_pp_b.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_st_p_d_pp_h.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_st_p_p.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_st_p_p_mm.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldst_st_p_p_pp.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstidxl_ld_dr_b.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstidxl_ld_dr_h.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstidxl_ld_dr_xb.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstidxl_ld_dr_xh.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstidxl_ld_dreg.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstidxl_ld_preg.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstidxl_st_dr_b.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstidxl_st_dr_h.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstidxl_st_dreg.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstidxl_st_preg.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstii_ld_dr_h.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstii_ld_dr_xh.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstii_ld_dreg.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstii_ld_preg.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstii_st_dr_h.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstii_st_dreg.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstii_st_preg.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstiifp_ld_dreg.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstiifp_ld_preg.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstiifp_st_dreg.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstiifp_st_preg.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstpmod_ld_dr_hi.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstpmod_ld_dr_lo.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstpmod_ld_dreg.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstpmod_ld_h_xh.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstpmod_ld_lohi.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstpmod_st_dr_hi.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstpmod_st_dr_lo.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstpmod_st_dreg.s
 create mode 100644 sim/testsuite/sim/bfin/c_ldstpmod_st_lohi.s
 create mode 100644 sim/testsuite/sim/bfin/c_linkage.s
 create mode 100644 sim/testsuite/sim/bfin/c_logi2op_alshft_mix.s
 create mode 100644 sim/testsuite/sim/bfin/c_logi2op_arith_shft.s
 create mode 100644 sim/testsuite/sim/bfin/c_logi2op_bitclr.s
 create mode 100644 sim/testsuite/sim/bfin/c_logi2op_bitset.s
 create mode 100644 sim/testsuite/sim/bfin/c_logi2op_bittgl.s
 create mode 100644 sim/testsuite/sim/bfin/c_logi2op_bittst.s
 create mode 100644 sim/testsuite/sim/bfin/c_logi2op_log_l_shft.s
 create mode 100644 sim/testsuite/sim/bfin/c_logi2op_log_l_shft_astat.S
 create mode 100644 sim/testsuite/sim/bfin/c_logi2op_log_r_shft.s
 create mode 100644 sim/testsuite/sim/bfin/c_logi2op_log_r_shft_astat.S
 create mode 100644 sim/testsuite/sim/bfin/c_logi2op_nbittst.s
 create mode 100644 sim/testsuite/sim/bfin/c_loopsetup_nested.s
 create mode 100644 sim/testsuite/sim/bfin/c_loopsetup_nested_bot.s
 create mode 100644 sim/testsuite/sim/bfin/c_loopsetup_nested_prelc.s
 create mode 100644 sim/testsuite/sim/bfin/c_loopsetup_nested_top.s
 create mode 100644 sim/testsuite/sim/bfin/c_loopsetup_overlap.s
 create mode 100644 sim/testsuite/sim/bfin/c_loopsetup_preg_div2_lc0.s
 create mode 100644 sim/testsuite/sim/bfin/c_loopsetup_preg_div2_lc1.s
 create mode 100644 sim/testsuite/sim/bfin/c_loopsetup_preg_lc0.s
 create mode 100644 sim/testsuite/sim/bfin/c_loopsetup_preg_lc1.s
 create mode 100644 sim/testsuite/sim/bfin/c_loopsetup_preg_stld.s
 create mode 100644 sim/testsuite/sim/bfin/c_loopsetup_prelc.s
 create mode 100644 sim/testsuite/sim/bfin/c_loopsetup_topbotcntr.s
 create mode 100644 sim/testsuite/sim/bfin/c_mmr_interr_ctl.s
 create mode 100644 sim/testsuite/sim/bfin/c_mmr_loop.S
 create mode 100644 sim/testsuite/sim/bfin/c_mmr_loop_user_except.S
 create mode 100644 sim/testsuite/sim/bfin/c_mmr_ppop_illegal_adr.S
 create mode 100644 sim/testsuite/sim/bfin/c_mmr_ppopm_illegal_adr.S
 create mode 100644 sim/testsuite/sim/bfin/c_mmr_timer.S
 create mode 100644 sim/testsuite/sim/bfin/c_mode_supervisor.S
 create mode 100644 sim/testsuite/sim/bfin/c_mode_user.S
 create mode 100644 sim/testsuite/sim/bfin/c_mode_user_superivsor.S
 create mode 100644 sim/testsuite/sim/bfin/c_multi_issue_dsp_ld_ld.s
 create mode 100644 sim/testsuite/sim/bfin/c_multi_issue_dsp_ldst_1.s
 create mode 100644 sim/testsuite/sim/bfin/c_multi_issue_dsp_ldst_2.s
 create mode 100644 sim/testsuite/sim/bfin/c_progctrl_call_pcpr.s
 create mode 100644 sim/testsuite/sim/bfin/c_progctrl_call_pr.s
 create mode 100644 sim/testsuite/sim/bfin/c_progctrl_clisti_interr.S
 create mode 100644 sim/testsuite/sim/bfin/c_progctrl_csync_mmr.S
 create mode 100644 sim/testsuite/sim/bfin/c_progctrl_except_rtx.S
 create mode 100644 sim/testsuite/sim/bfin/c_progctrl_excpt.S
 create mode 100644 sim/testsuite/sim/bfin/c_progctrl_jump_pcpr.s
 create mode 100644 sim/testsuite/sim/bfin/c_progctrl_jump_pr.s
 create mode 100644 sim/testsuite/sim/bfin/c_progctrl_nop.s
 create mode 100644 sim/testsuite/sim/bfin/c_progctrl_raise_rt_i_n.S
 create mode 100644 sim/testsuite/sim/bfin/c_progctrl_rts.s
 create mode 100644 sim/testsuite/sim/bfin/c_ptr2op_pr_neg_pr.s
 create mode 100644 sim/testsuite/sim/bfin/c_ptr2op_pr_sft_2_1.s
 create mode 100644 sim/testsuite/sim/bfin/c_ptr2op_pr_shadd_1_2.s
 create mode 100644 sim/testsuite/sim/bfin/c_pushpopmultiple_dp.s
 create mode 100644 sim/testsuite/sim/bfin/c_pushpopmultiple_dp_pair.s
 create mode 100644 sim/testsuite/sim/bfin/c_pushpopmultiple_dreg.s
 create mode 100644 sim/testsuite/sim/bfin/c_pushpopmultiple_preg.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_acc_acc.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_dag_lz_dep.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_dr_acc_acc.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_dr_dep_nostall.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_dr_dr.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_dr_imlb.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_dr_pr.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_imlb_dep_nostall.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_imlb_dep_stall.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_imlb_dr.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_imlb_imlb.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_imlb_pr.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_pr_dep_nostall.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_pr_dep_stall.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_pr_dr.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_pr_imlb.s
 create mode 100644 sim/testsuite/sim/bfin/c_regmv_pr_pr.s
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ac_raise_mv.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ac_raise_mv_ppop.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ac_regmv_pushpop.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_dec_raise_pushpop.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ex1_brcc_mv_pop.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ex1_call_mv_pop.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ex1_j_mv_pop.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ex1_raise_brcc_mv_pop.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ex1_raise_call_mv_pop.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ex1_raise_j_mv_pop.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ex2_brcc_mp_mv_pop.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ex2_mmr_mvpop.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ex2_mmrj_mvpop.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ex2_raise_mmr_mvpop.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ex2_raise_mmrj_mvpop.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ex3_ls_brcc_mvp.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ex3_ls_mmr_mvp.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ex3_ls_mmrj_mvp.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_ex3_raise_ls_mmrj_mvp.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_wb_cs_lsmmrj_mvp.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_wb_raisecs_lsmmrj_mvp.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_wb_rti_lsmmrj_mvp.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_wb_rtn_lsmmrj_mvp.S
 create mode 100644 sim/testsuite/sim/bfin/c_seq_wb_rtx_lsmmrj_mvp.S
 create mode 100644 sim/testsuite/sim/bfin/c_ujump.s
 create mode 100644 sim/testsuite/sim/bfin/cc-alu.S
 create mode 100644 sim/testsuite/sim/bfin/cc-astat-bits.s
 create mode 100644 sim/testsuite/sim/bfin/cc0.s
 create mode 100644 sim/testsuite/sim/bfin/cc1.s
 create mode 100644 sim/testsuite/sim/bfin/cc5.S
 create mode 100644 sim/testsuite/sim/bfin/cec-exact-exception.S
 create mode 100644 sim/testsuite/sim/bfin/cec-ifetch.S
 create mode 100644 sim/testsuite/sim/bfin/cec-multi-pending.S
 create mode 100644 sim/testsuite/sim/bfin/cec-no-snen-reti.S
 create mode 100644 sim/testsuite/sim/bfin/cec-non-operating-env.s
 create mode 100644 sim/testsuite/sim/bfin/cec-raise-reti.S
 create mode 100644 sim/testsuite/sim/bfin/cec-snen-reti.S
 create mode 100644 sim/testsuite/sim/bfin/cec-syscfg-ssstep.S
 create mode 100644 sim/testsuite/sim/bfin/cec-system-call.S
 create mode 100644 sim/testsuite/sim/bfin/cir.s
 create mode 100644 sim/testsuite/sim/bfin/cir1.s
 create mode 100644 sim/testsuite/sim/bfin/cli-sti.s
 create mode 100644 sim/testsuite/sim/bfin/cmpacc.s
 create mode 100644 sim/testsuite/sim/bfin/cmpdreg.S
 create mode 100644 sim/testsuite/sim/bfin/compare.s
 create mode 100644 sim/testsuite/sim/bfin/conv_enc_gen.s
 create mode 100644 sim/testsuite/sim/bfin/cycles.s
 create mode 100644 sim/testsuite/sim/bfin/d0.s
 create mode 100644 sim/testsuite/sim/bfin/d1.s
 create mode 100644 sim/testsuite/sim/bfin/d2.s
 create mode 100644 sim/testsuite/sim/bfin/dbg_brprd_ntkn_src_kill.S
 create mode 100644 sim/testsuite/sim/bfin/dbg_brtkn_nprd_src_kill.S
 create mode 100644 sim/testsuite/sim/bfin/dbg_jmp_src_kill.S
 create mode 100644 sim/testsuite/sim/bfin/dbg_tr_basic.S
 create mode 100644 sim/testsuite/sim/bfin/dbg_tr_simplejp.S
 create mode 100644 sim/testsuite/sim/bfin/dbg_tr_tbuf0.S
 create mode 100644 sim/testsuite/sim/bfin/dbg_tr_umode.S
 create mode 100644 sim/testsuite/sim/bfin/disalnexcpt_implicit.S
 create mode 100644 sim/testsuite/sim/bfin/div0.s
 create mode 100644 sim/testsuite/sim/bfin/divq.s
 create mode 100644 sim/testsuite/sim/bfin/dotproduct.s
 create mode 100644 sim/testsuite/sim/bfin/dotproduct2.s
 create mode 100644 sim/testsuite/sim/bfin/double_prec_mult.s
 create mode 100644 sim/testsuite/sim/bfin/dsp_a4.s
 create mode 100644 sim/testsuite/sim/bfin/dsp_a7.s
 create mode 100644 sim/testsuite/sim/bfin/dsp_a8.s
 create mode 100644 sim/testsuite/sim/bfin/dsp_d0.s
 create mode 100644 sim/testsuite/sim/bfin/dsp_d1.s
 create mode 100644 sim/testsuite/sim/bfin/dsp_neg.S
 create mode 100644 sim/testsuite/sim/bfin/dsp_s1.s
 create mode 100644 sim/testsuite/sim/bfin/e0.s
 create mode 100644 sim/testsuite/sim/bfin/edn_snafu.s
 create mode 100644 sim/testsuite/sim/bfin/eu_dsp32mac_s.s
 create mode 100644 sim/testsuite/sim/bfin/events.s
 create mode 100644 sim/testsuite/sim/bfin/f221.s
 create mode 100644 sim/testsuite/sim/bfin/fact.s
 create mode 100644 sim/testsuite/sim/bfin/fir.s
 create mode 100644 sim/testsuite/sim/bfin/fsm.s
 create mode 100644 sim/testsuite/sim/bfin/greg2.s
 create mode 100644 sim/testsuite/sim/bfin/hwloop-bits.S
 create mode 100644 sim/testsuite/sim/bfin/hwloop-branch-in.s
 create mode 100644 sim/testsuite/sim/bfin/hwloop-branch-out.s
 create mode 100644 sim/testsuite/sim/bfin/hwloop-lt-bits.s
 create mode 100644 sim/testsuite/sim/bfin/hwloop-nested.s
 create mode 100644 sim/testsuite/sim/bfin/i0.s
 create mode 100644 sim/testsuite/sim/bfin/iir.s
 create mode 100644 sim/testsuite/sim/bfin/issue103.s
 create mode 100644 sim/testsuite/sim/bfin/issue109.s
 create mode 100644 sim/testsuite/sim/bfin/issue112.s
 create mode 100644 sim/testsuite/sim/bfin/issue113.s
 create mode 100644 sim/testsuite/sim/bfin/issue117.s
 create mode 100644 sim/testsuite/sim/bfin/issue118.s
 create mode 100644 sim/testsuite/sim/bfin/issue119.s
 create mode 100644 sim/testsuite/sim/bfin/issue121.s
 create mode 100644 sim/testsuite/sim/bfin/issue123.s
 create mode 100644 sim/testsuite/sim/bfin/issue124.s
 create mode 100644 sim/testsuite/sim/bfin/issue125.s
 create mode 100644 sim/testsuite/sim/bfin/issue126.s
 create mode 100644 sim/testsuite/sim/bfin/issue127.s
 create mode 100644 sim/testsuite/sim/bfin/issue129.s
 create mode 100644 sim/testsuite/sim/bfin/issue139.S
 create mode 100644 sim/testsuite/sim/bfin/issue140.S
 create mode 100644 sim/testsuite/sim/bfin/issue142.s
 create mode 100644 sim/testsuite/sim/bfin/issue144.s
 create mode 100644 sim/testsuite/sim/bfin/issue146.S
 create mode 100644 sim/testsuite/sim/bfin/issue175.s
 create mode 100644 sim/testsuite/sim/bfin/issue205.s
 create mode 100644 sim/testsuite/sim/bfin/issue257.s
 create mode 100644 sim/testsuite/sim/bfin/issue272.S
 create mode 100644 sim/testsuite/sim/bfin/issue83.s
 create mode 100644 sim/testsuite/sim/bfin/issue89.s
 create mode 100644 sim/testsuite/sim/bfin/l0.s
 create mode 100644 sim/testsuite/sim/bfin/l0shift.s
 create mode 100644 sim/testsuite/sim/bfin/l2_loop.s
 create mode 100644 sim/testsuite/sim/bfin/link-2.s
 create mode 100644 sim/testsuite/sim/bfin/link.s
 create mode 100644 sim/testsuite/sim/bfin/lmu_cplb_multiple0.S
 create mode 100644 sim/testsuite/sim/bfin/lmu_cplb_multiple1.S
 create mode 100644 sim/testsuite/sim/bfin/lmu_excpt_align.S
 create mode 100644 sim/testsuite/sim/bfin/lmu_excpt_default.S
 create mode 100644 sim/testsuite/sim/bfin/lmu_excpt_illaddr.S
 create mode 100644 sim/testsuite/sim/bfin/lmu_excpt_prot0.S
 create mode 100644 sim/testsuite/sim/bfin/lmu_excpt_prot1.S
 create mode 100644 sim/testsuite/sim/bfin/load.s
 create mode 100644 sim/testsuite/sim/bfin/logic.s
 create mode 100644 sim/testsuite/sim/bfin/loop_snafu.s
 create mode 100644 sim/testsuite/sim/bfin/loop_strncpy.s
 create mode 100644 sim/testsuite/sim/bfin/lp0.s
 create mode 100644 sim/testsuite/sim/bfin/lp1.s
 create mode 100644 sim/testsuite/sim/bfin/lsetup.s
 create mode 100644 sim/testsuite/sim/bfin/m0boundary.s
 create mode 100644 sim/testsuite/sim/bfin/m1.S
 create mode 100644 sim/testsuite/sim/bfin/m10.s
 create mode 100644 sim/testsuite/sim/bfin/m11.s
 create mode 100644 sim/testsuite/sim/bfin/m12.s
 create mode 100644 sim/testsuite/sim/bfin/m13.s
 create mode 100644 sim/testsuite/sim/bfin/m14.s
 create mode 100644 sim/testsuite/sim/bfin/m15.s
 create mode 100644 sim/testsuite/sim/bfin/m16.s
 create mode 100644 sim/testsuite/sim/bfin/m17.s
 create mode 100644 sim/testsuite/sim/bfin/m2.s
 create mode 100644 sim/testsuite/sim/bfin/m3.s
 create mode 100644 sim/testsuite/sim/bfin/m4.s
 create mode 100644 sim/testsuite/sim/bfin/m5.s
 create mode 100644 sim/testsuite/sim/bfin/m6.s
 create mode 100644 sim/testsuite/sim/bfin/m7.s
 create mode 100644 sim/testsuite/sim/bfin/m8.s
 create mode 100644 sim/testsuite/sim/bfin/m9.s
 create mode 100644 sim/testsuite/sim/bfin/mac2halfreg.S
 create mode 100644 sim/testsuite/sim/bfin/math.s
 create mode 100644 sim/testsuite/sim/bfin/max_min_flags.s
 create mode 100644 sim/testsuite/sim/bfin/mc_s2.s
 create mode 100644 sim/testsuite/sim/bfin/mdma-32bit-1d-neg-count.c
 create mode 100644 sim/testsuite/sim/bfin/mdma-32bit-1d.c
 create mode 100644 sim/testsuite/sim/bfin/mdma-8bit-1d-neg-count.c
 create mode 100644 sim/testsuite/sim/bfin/mdma-8bit-1d.c
 create mode 100644 sim/testsuite/sim/bfin/mdma-skel.h
 create mode 100644 sim/testsuite/sim/bfin/mem3.s
 create mode 100644 sim/testsuite/sim/bfin/mmr-exception.s
 create mode 100644 sim/testsuite/sim/bfin/move.s
 create mode 100644 sim/testsuite/sim/bfin/msa_acp_5.10.S
 create mode 100644 sim/testsuite/sim/bfin/msa_acp_5.12_1.S
 create mode 100644 sim/testsuite/sim/bfin/msa_acp_5.12_2.S
 create mode 100644 sim/testsuite/sim/bfin/msa_acp_5_10.s
 create mode 100644 sim/testsuite/sim/bfin/mult.s
 create mode 100644 sim/testsuite/sim/bfin/neg-2.S
 create mode 100644 sim/testsuite/sim/bfin/neg-3.S
 create mode 100644 sim/testsuite/sim/bfin/neg.S
 create mode 100644 sim/testsuite/sim/bfin/nshift.s
 create mode 100644 sim/testsuite/sim/bfin/pr.s
 create mode 100644 sim/testsuite/sim/bfin/push-pop-multiple.s
 create mode 100644 sim/testsuite/sim/bfin/push-pop.s
 create mode 100644 sim/testsuite/sim/bfin/pushpopreg_1.s
 create mode 100644 sim/testsuite/sim/bfin/quadaddsub.s
 create mode 100644 sim/testsuite/sim/bfin/random_0001.s
 create mode 100644 sim/testsuite/sim/bfin/random_0002.S
 create mode 100644 sim/testsuite/sim/bfin/random_0003.S
 create mode 100644 sim/testsuite/sim/bfin/random_0004.S
 create mode 100644 sim/testsuite/sim/bfin/random_0005.S
 create mode 100644 sim/testsuite/sim/bfin/random_0006.S
 create mode 100644 sim/testsuite/sim/bfin/random_0007.S
 create mode 100644 sim/testsuite/sim/bfin/random_0008.S
 create mode 100644 sim/testsuite/sim/bfin/random_0009.S
 create mode 100644 sim/testsuite/sim/bfin/random_0010.S
 create mode 100644 sim/testsuite/sim/bfin/random_0011.S
 create mode 100644 sim/testsuite/sim/bfin/random_0012.S
 create mode 100644 sim/testsuite/sim/bfin/random_0013.S
 create mode 100644 sim/testsuite/sim/bfin/random_0019.S
 create mode 100644 sim/testsuite/sim/bfin/random_0020.S
 create mode 100644 sim/testsuite/sim/bfin/random_0021.S
 create mode 100644 sim/testsuite/sim/bfin/random_0022.S
 create mode 100644 sim/testsuite/sim/bfin/random_0023.S
 create mode 100644 sim/testsuite/sim/bfin/random_0024.S
 create mode 100644 sim/testsuite/sim/bfin/random_0026.S
 create mode 100644 sim/testsuite/sim/bfin/random_0027.S
 create mode 100644 sim/testsuite/sim/bfin/random_0028.S
 create mode 100644 sim/testsuite/sim/bfin/random_0029.S
 create mode 100644 sim/testsuite/sim/bfin/random_0030.S
 create mode 100644 sim/testsuite/sim/bfin/random_0031.S
 create mode 100644 sim/testsuite/sim/bfin/random_0032.S
 create mode 100644 sim/testsuite/sim/bfin/random_0033.S
 create mode 100644 sim/testsuite/sim/bfin/random_0034.S
 create mode 100644 sim/testsuite/sim/bfin/random_0035.S
 create mode 100644 sim/testsuite/sim/bfin/run-tests.sh
 create mode 100644 sim/testsuite/sim/bfin/s0.s
 create mode 100644 sim/testsuite/sim/bfin/s1.s
 create mode 100644 sim/testsuite/sim/bfin/s10.s
 create mode 100644 sim/testsuite/sim/bfin/s11.s
 create mode 100644 sim/testsuite/sim/bfin/s12.s
 create mode 100644 sim/testsuite/sim/bfin/s13.s
 create mode 100644 sim/testsuite/sim/bfin/s14.s
 create mode 100644 sim/testsuite/sim/bfin/s15.s
 create mode 100644 sim/testsuite/sim/bfin/s16.s
 create mode 100644 sim/testsuite/sim/bfin/s17.s
 create mode 100644 sim/testsuite/sim/bfin/s18.s
 create mode 100644 sim/testsuite/sim/bfin/s19.s
 create mode 100644 sim/testsuite/sim/bfin/s2.s
 create mode 100644 sim/testsuite/sim/bfin/s20.s
 create mode 100644 sim/testsuite/sim/bfin/s21.s
 create mode 100644 sim/testsuite/sim/bfin/s3.s
 create mode 100644 sim/testsuite/sim/bfin/s30.s
 create mode 100644 sim/testsuite/sim/bfin/s4.s
 create mode 100644 sim/testsuite/sim/bfin/s5.s
 create mode 100644 sim/testsuite/sim/bfin/s6.s
 create mode 100644 sim/testsuite/sim/bfin/s7.s
 create mode 100644 sim/testsuite/sim/bfin/s8.s
 create mode 100644 sim/testsuite/sim/bfin/s9.s
 create mode 100644 sim/testsuite/sim/bfin/saatest.s
 create mode 100644 sim/testsuite/sim/bfin/se_all16bitopcodes.S
 create mode 100644 sim/testsuite/sim/bfin/se_all32bitopcodes.S
 create mode 100644 sim/testsuite/sim/bfin/se_all32bitopcodes.lds
 create mode 100644 sim/testsuite/sim/bfin/se_brtarget_stall.S
 create mode 100644 sim/testsuite/sim/bfin/se_bug_ui.S
 create mode 100644 sim/testsuite/sim/bfin/se_bug_ui2.S
 create mode 100644 sim/testsuite/sim/bfin/se_bug_ui3.S
 create mode 100644 sim/testsuite/sim/bfin/se_cc2stat_haz.S
 create mode 100644 sim/testsuite/sim/bfin/se_cc_kill.S
 create mode 100644 sim/testsuite/sim/bfin/se_cof.S
 create mode 100644 sim/testsuite/sim/bfin/se_event_quad.S
 create mode 100644 sim/testsuite/sim/bfin/se_excpt_dagprotviol.S
 create mode 100644 sim/testsuite/sim/bfin/se_excpt_ifprotviol.S
 create mode 100644 sim/testsuite/sim/bfin/se_excpt_ssstep.S
 create mode 100644 sim/testsuite/sim/bfin/se_illegalcombination.S
 create mode 100644 sim/testsuite/sim/bfin/se_kill_wbbr.S
 create mode 100644 sim/testsuite/sim/bfin/se_kills2.S
 create mode 100644 sim/testsuite/sim/bfin/se_loop_disable.S
 create mode 100644 sim/testsuite/sim/bfin/se_loop_kill.S
 create mode 100644 sim/testsuite/sim/bfin/se_loop_kill_01.S
 create mode 100644 sim/testsuite/sim/bfin/se_loop_kill_dcr.S
 create mode 100644 sim/testsuite/sim/bfin/se_loop_kill_dcr_01.S
 create mode 100644 sim/testsuite/sim/bfin/se_loop_lr.S
 create mode 100644 sim/testsuite/sim/bfin/se_loop_mv2lb_stall.S
 create mode 100644 sim/testsuite/sim/bfin/se_loop_mv2lc.S
 create mode 100644 sim/testsuite/sim/bfin/se_loop_mv2lc_stall.S
 create mode 100644 sim/testsuite/sim/bfin/se_loop_mv2lt_stall.S
 create mode 100644 sim/testsuite/sim/bfin/se_loop_nest_ppm.S
 create mode 100644 sim/testsuite/sim/bfin/se_loop_nest_ppm_1.S
 create mode 100644 sim/testsuite/sim/bfin/se_loop_nest_ppm_2.S
 create mode 100644 sim/testsuite/sim/bfin/se_loop_ppm.S
 create mode 100644 sim/testsuite/sim/bfin/se_loop_ppm_1.S
 create mode 100644 sim/testsuite/sim/bfin/se_loop_ppm_int.S
 create mode 100644 sim/testsuite/sim/bfin/se_lsetup_kill.S
 create mode 100644 sim/testsuite/sim/bfin/se_misaligned_fetch.S
 create mode 100644 sim/testsuite/sim/bfin/se_more_ret_haz.S
 create mode 100644 sim/testsuite/sim/bfin/se_mv2lp.S
 create mode 100644 sim/testsuite/sim/bfin/se_oneins_zoff.S
 create mode 100644 sim/testsuite/sim/bfin/se_popkill.S
 create mode 100644 sim/testsuite/sim/bfin/se_regmv_usp_sysreg.S
 create mode 100644 sim/testsuite/sim/bfin/se_rets_hazard.s
 create mode 100644 sim/testsuite/sim/bfin/se_rts_rti.S
 create mode 100644 sim/testsuite/sim/bfin/se_ssstep_dagprotviol.S
 create mode 100644 sim/testsuite/sim/bfin/se_ssync.S
 create mode 100644 sim/testsuite/sim/bfin/se_stall_if2.S
 create mode 100644 sim/testsuite/sim/bfin/se_undefinedinstruction1.S
 create mode 100644 sim/testsuite/sim/bfin/se_undefinedinstruction2.S
 create mode 100644 sim/testsuite/sim/bfin/se_undefinedinstruction3.S
 create mode 100644 sim/testsuite/sim/bfin/se_undefinedinstruction4.S
 create mode 100644 sim/testsuite/sim/bfin/se_usermode_protviol.S
 create mode 100644 sim/testsuite/sim/bfin/seqstat.s
 create mode 100644 sim/testsuite/sim/bfin/sign.s
 create mode 100644 sim/testsuite/sim/bfin/simple0.s
 create mode 100644 sim/testsuite/sim/bfin/sri.s
 create mode 100644 sim/testsuite/sim/bfin/stk.s
 create mode 100644 sim/testsuite/sim/bfin/stk2.s
 create mode 100644 sim/testsuite/sim/bfin/stk3.s
 create mode 100644 sim/testsuite/sim/bfin/stk4.s
 create mode 100644 sim/testsuite/sim/bfin/stk5.s
 create mode 100644 sim/testsuite/sim/bfin/stk6.s
 create mode 100644 sim/testsuite/sim/bfin/syscfg.s
 create mode 100644 sim/testsuite/sim/bfin/tar10622.s
 create mode 100644 sim/testsuite/sim/bfin/test-dma.h
 create mode 100644 sim/testsuite/sim/bfin/test.h
 create mode 100644 sim/testsuite/sim/bfin/testset.s
 create mode 100644 sim/testsuite/sim/bfin/testset2.s
 create mode 100644 sim/testsuite/sim/bfin/testutils.inc
 create mode 100644 sim/testsuite/sim/bfin/unlink.S
 create mode 100644 sim/testsuite/sim/bfin/up0.s
 create mode 100644 sim/testsuite/sim/bfin/usp.S
 create mode 100644 sim/testsuite/sim/bfin/vec-abs-2.S
 create mode 100644 sim/testsuite/sim/bfin/vec-abs-3.S
 create mode 100644 sim/testsuite/sim/bfin/vec-abs.S
 create mode 100644 sim/testsuite/sim/bfin/vec-neg-2.S
 create mode 100644 sim/testsuite/sim/bfin/vec-neg-3.S
 create mode 100644 sim/testsuite/sim/bfin/vec-neg.S
 create mode 100644 sim/testsuite/sim/bfin/vecadd.s
 create mode 100644 sim/testsuite/sim/bfin/vit_max.s
 create mode 100644 sim/testsuite/sim/bfin/viterbi2.s
 create mode 100644 sim/testsuite/sim/bfin/wtf.s
 create mode 100644 sim/testsuite/sim/bfin/x1.s
 create mode 100644 sim/testsuite/sim/bfin/zcall.s
 create mode 100644 sim/testsuite/sim/bfin/zeroflagrnd.s

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 028f718..9a5f2a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,24 @@
+2011-07-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+	* configure: Regenerate.
+
+2011-07-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+	PR target/39150
+	* configure.ac (i[3456789]86-*-solaris2*): Also accept
+	x86_64-*-solaris2.1[0-9]*.
+	* configure: Regenerate.
+
+2011-06-13  Walter Lee <walt@tilera.com>
+
+	* configure.ac (tilepro-*-*) New case.
+	(tilegx-*-*): Likewise.
+	* configure: Regenerate.
+
+2011-06-06  Nick Clifton  <nickc@redhat.com>
+
+	* config.sub: Sync from upstream.
+
 2011-05-08  Doug Kwan  <dougkwan@google.com>
 
 	Merge from gcc:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 526dd83..2540c65 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,910 @@
+2011-07-15  Alan Modra  <amodra@gmail.com>
+
+	* configure.in: Bump version.
+	* configure: Regenerate.
+
+2011-07-14  Alan Modra  <amodra@gmail.com>
+
+	* linker.c (_bfd_generic_section_already_linked): Set l_flags.
+	* elf-bfd.h (struct already_linked): Forward declare.
+
+2011-07-14  Alan Modra  <amodra@gmail.com>
+
+	* elflink.c (_bfd_elf_fix_symbol_flags): Loop on indirect syms.
+	(_bfd_elf_adjust_dynamic_symbol): Remove FIXME.
+
+2011-07-14  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (struct ppc_link_hash_table): Add plt_static_chain.
+	(build_plt_stub): Add plt_static_chain param, don't load r11 if false.
+	(build_tls_get_addr_stub): Likewise.
+	(ppc_build_one_stub): Update calls to above.
+	(ppc_size_one_stub): Adjust stub size.
+	(ppc64_elf_size_stubs): Add plt_static_chain param, save to htab.
+	* elf64-ppc.h (ppc64_elf_size_stubs): Update prototype.
+
+2011-07-12  Nick Clifton  <nickc@redhat.com>
+
+	* elf32-arm.c (elf32_arm_section_flags): Delete.
+	(elf_backend_section_flags): Remove.
+
+2011-07-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/12982
+	* elflink.c (bfd_elf_size_dynamic_sections): Also skip BFD_PLUGIN
+	when setting stack_flags.
+
+2011-07-11  Catherine Moore  <clm@codesourcery.com>
+
+	* aout-adobe.c (aout_32_bfd_lookup_section_flags): New definition.
+	* aout-target.h (MY_bfd_lookup_section_flags): New definition.
+	* aout-tic30.c (MY_bfd_lookup_section_flags): New definition.
+        * bfd-in2.h: Regenerated.
+	* bfd.c (bfd_lookup_section_flags): New definition.
+	* binary.c (binary_bfd_lookup_section_flags): New definition.
+	* bout.c (b_out_bfd_lookup_section_flags): New definition.
+	* coff-alpha.c (_bfd_ecoff_bfd_lookup_section_flags): New definition.
+	* coff-mips.c (_bfd_ecoff_bfd_lookup_section_flags): New definition.
+	* coff-rs6000.c (rs6000coff_vec): Include
+	bfd_generic_lookup_section_flags.
+	(pmac_xcoff_vec): Likewise.
+	* coffcode.h (coff_bfd_lookup_section_flags): New definition.
+	* coff64-rs6000.c (rs6000coff64_vec): Include
+	bfd_generic_lookup_section_flags.
+	(aix5coff64_vec): Likewise.
+	* ecoff.c (bfd_debug_section): Initialize flag_info field.
+	* elf-bfd.h (elf_backend_lookup_section_flags_hook): Declare.
+	(bfd_elf_lookup_section_flags): Declare.
+	* elflink.c (bfd_elf_lookup_section_flags): New function.
+	* elfxx-target.h (bfd_elfNN_bfd_lookup_section_flags): Define.
+	(elf_backend_lookup_section_flags_hook): Define.
+	(elf_backend_data): Add elf_backend_lookup_section_flags_hook.
+	* i386msdos.c (msdos_bfd_lookup_section_flags): New define.
+	* i386os9k.c (os9k_bfd_lookup_section_flags): New define.
+	* ieee.c (ieee_bfd_lookup_section_flags): New define.
+	* ihex.c (ihex_bfd_lookup_section_flags): New define.
+	* libbfd-in.h (_bfd_nolink_bfd_lookup_section_flags): Declare.
+	(bfd_generic_lookup_section_flags): Declare.
+	* libbfd.h: Regenerated.
+	* mach-o-target.c (bfd_mach_o_bfd_lookup_section_flags): New.
+	* mmo.c (mmo_bfd_lookup_section_flags): New definition.
+	* nlm-target.h (nlm_bfd_lookup_section_flags): New definition.
+	* oasys.c (oasys_bfd_lookup_section_flags): New definition.
+	* pef.c (bfd_pef_bfd_lookup_section_flags): New definition.
+	* plugin.c (bfd_plugin_bfd_lookup_section_flags): New definition.
+	* ppcboot.c (ppcboot_bfd_lookup_section_flags): New definition.
+	* reloc.c (bfd_generic_lookup_section_flags): New function.
+	* som.c (som_bfd_lookup_section_flags): New definition.
+	* srec.c (srec_bfd_lookup_section_flags): New definition.
+	* targets.c (flag_info): Declare.
+	(NAME##_bfd_lookup_section_flags): Add to LINK jump table.
+	(_bfd_lookup_section_flags): New.
+	* tekhex.c (tekhex_bfd_lookup_section_flags): New definition.
+	* versados.c (versados_bfd_lookup_section_flags): New definition.
+	* vms-alpha.c (alpha_vms_bfd_lookup_section_flag): New definition.
+	* xsym.c (bfd_sym_bfd_lookup_section_flags): New definition.
+
+2011-07-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/12978
+	* elfnn-ia64.c (count_dyn_reloc): Fix a typo.
+
+2011-07-09  Alan Modra  <amodra@gmail.com>
+
+	PR ld/12942
+	* elflink.c (elf_link_add_object_symbols): Use elf_discarded_section
+	rather than kept_section to determine whether a symbol is from
+	a discarded section.
+	* cofflink.c (coff_link_add_symbols): Make symbols from discarded
+	sections appear undefined.
+
+2011-07-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/12942
+	* elf-bfd.h (_bfd_elf_section_already_linked): Replace
+	"asection *" with "struct already_linked *".
+	* libbfd-in.h (_bfd_nolink_section_already_linked): Likewise.
+	(_bfd_generic_section_already_linked): Likewise.
+	(bfd_section_already_linked_table_insert): Likewise.
+	(struct already_linked): New.
+	(struct bfd_section_already_linked): Use it.
+	* elflink.c (_bfd_elf_section_already_linked): Replace.
+	"asection *" with "struct already_linked *".  Replace the plugin
+	dummy with the LTO output.
+	* linker.c (_bfd_generic_section_already_linked): Likewise.
+	* targets.c (struct already_linked): Add forward declaration.
+	(bfd_target): Replace "struct bfd_section *" with
+	"struct already_linked *" in _section_already_linked.
+	* bfd-in2.h: Regenerate.
+	* libbfd.h: Regenerate.
+
+2011-07-06  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.h: Move loader related definitions to
+	include/mach-o/loader.h.  Include it.
+
+2011-07-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (elf_backend_post_process_headers): Always
+	define to _bfd_elf_set_osabi.
+
+2011-07-03  Samuel Thibault  <samuel.thibault@gnu.org>
+	    Thomas Schwinge  <thomas@schwinge.name>
+
+	PR binutils/12913
+	* elf.c (_bfd_elf_set_osabi): Use ELFOSABI_GNU name instead of
+	ELFOSABI_LINUX alias.
+	* elf32-hppa.c: Likewise.
+	* elf32-i370.c: Likewise.
+	* elf64-hppa.c: Likewise.
+
+2011-07-01  Ian Lance Taylor  <iant@google.com>
+
+	* elf32-i386.c (elf_i386_eh_frame_plt): Correct expression: change
+	DW_OP_lit3 to DW_OP_lit2.
+
+2011-07-01  Alan Modra  <amodra@gmail.com>
+
+	* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Don't look at
+	dyn relocs when called to copy flags for a weak sym.
+	* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
+	(ppc64_elf_merge_private_bfd_data): Delete.
+	(bfd_elf64_bfd_merge_private_bfd_data): Define as
+	_bfd_generic_verify_endian_match.
+
+2011-06-30  Bernd Schmidt  <bernds@codesourcery.com>
+
+	* bfd/elf32-tic6x.c (elf32_tic6x_set_osabi): Also set it if
+	link_info is NULL.
+
+2011-06-28  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-alpha.c (vms_private_data_struct): Make vms_linkage_index
+	unsigned int.
+	(_bfd_vms_write_etir): Write linkage index from reloc.
+
+2011-06-28  Fawzi Mohamed <fawzi.mohamed@nokia.com>
+
+	* mach-o.c (bfd_mach_o_read_command): Also ignore
+	BFD_MACH_O_LC_ROUTINES_64.
+
+2011-06-27  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-alpha.c (_bfd_vms_write_etir): Use 'section' to get current
+	section target index.
+
+2011-06-27  Nick Clifton  <nickc@redhat.com>
+
+	* cisco-core.c (cisco_core_little_vec): Add initialization of
+	match_priority field.
+
+2011-06-27  Tristan Gingold  <gingold@adacore.com>
+
+	* cache.c: Include bfd_stdint.h.
+	(cache_bmmap): Change profile.  Return region start and size.
+	* bfdio.c (struct bfd_iovec): Change bmmap profile.
+	(bfd_mmap): Change profile and adjust.   Update comment.
+	(memory_bmmap): Change profile.
+	* opncls.c (opncls_bmmap): Change profile.
+	* vms-lib.c (vms_lib_bmmap): Likewise.
+	* libbfd.h: Regenerate.
+	* bfd-in2.h: Regenerate.
+
+2011-06-27  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-misc.c (vms_time_to_time_t): Adjust overflow detection.
+	Add comment.
+
+2011-06-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (elf_backend_post_process_headers): Don't
+	define for FreeBSD/x86-64 nor FreeBSD/L1OM.  Define for L1OM.
+
+2011-06-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* elf64-x86-64.c (elf_x86_64_link_hash_table_create): Initialize
+	PLT_EH_FRAME.
+	* elf32-i386.c (elf_i386_link_hash_table): Likewise.
+
+2011-06-24  Richard Henderson  <rth@redhat.com>
+
+	PR ld/12928
+	* elf64-alpha.c (elf64_alpha_relax_tls_get_addr): Recover the
+	tlsgd insn before swapping adjacent insns.
+
+2011-06-24  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-alpha.c (alpha_vms_slurp_relocs): Add a guard for relocs in the
+	absolute section.
+
+2011-06-24  Alan Modra  <amodra@gmail.com>
+
+	PR ld/12921
+	* elf.c (assign_file_positions_for_load_sections): Don't align
+	sh_offset for all SHT_NOBITS sections here, just .tbss sections
+	that don't get a PT_LOAD.
+
+2011-06-22  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+	* elf32-sh.c (sh_elf_relocate_section): Allow R_SH_TLS_LE_32 for PIE.
+	(sh_elf_check_relocs): Likewise.
+
+2011-06-22  Richard Henderson  <rth@redhat.com>
+
+	* elf64-alpha.c (elf64_alpha_check_relocs): No dynamic reloc for
+	TPREL in a PIE image.
+	(alpha_dynamic_entries_for_reloc): Likewise.
+	(elf64_alpha_relocate_section): Allow TPREL in PIE images.
+	(elf64_alpha_relax_got_load): Likewise.
+
+2011-06-22  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
+
+	* elf32-arm.c (elf32_arm_final_link_relocate): Allow R_ARM_TLS_LE32
+	for PIE.
+
+2011-06-22  Alan Modra  <amodra@gmail.com>
+
+	* elflink.c (_bfd_elf_merge_symbol): Allow type changes for
+	plugin symbols.  Fix segfault on linker scrip defined syms.
+
+2011-06-20  Jakub Jelinek  <jakub@redhat.com>
+
+	PR ld/12570
+	* elf-eh-frame.c (_bfd_elf_parse_eh_frame): Allow no relocations
+	at all for linker created .eh_frame sections.
+	(_bfd_elf_discard_section_eh_frame): Handle linker created
+	.eh_frame sections with no relocations.
+	* elf64-x86-64.c: Include dwarf2.h.
+	(elf_x86_64_eh_frame_plt): New variable.
+	(PLT_CIE_LENGTH, PLT_FDE_LENGTH, PLT_FDE_START_OFFSET,
+	PLT_FDE_LEN_OFFSET): Define.
+	(struct elf_x86_64_link_hash_table): Add plt_eh_frame field.
+	(elf_x86_64_create_dynamic_sections): Create and fill in
+	.eh_frame section for .plt section.
+	(elf_x86_64_size_dynamic_sections): Write .plt section size
+	into .eh_frame FDE covering .plt section.
+	(elf_x86_64_finish_dynamic_sections): Write .plt section
+	start into .eh_frame FDE covering .plt section.  Call
+	_bfd_elf_write_section_eh_frame on htab->plt_eh_frame section.
+	(elf_backend_plt_alignment): Define to 4.
+	* elf32-i386.c: Include dwarf2.h.
+	(elf_i386_eh_frame_plt): New variable.
+	(PLT_CIE_LENGTH, PLT_FDE_LENGTH, PLT_FDE_START_OFFSET,
+	PLT_FDE_LEN_OFFSET): Define.
+	(struct elf_i386_link_hash_table): Add plt_eh_frame field.
+	(elf_i386_create_dynamic_sections): Create and fill in
+	.eh_frame section for .plt section.
+	(elf_i386_size_dynamic_sections): Write .plt section size
+	into .eh_frame FDE covering .plt section.
+	(elf_i386_finish_dynamic_sections): Write .plt section
+	start into .eh_frame FDE covering .plt section.  Call
+	_bfd_elf_write_section_eh_frame on htab->plt_eh_frame section.
+	(elf_backend_plt_alignment): Define to 4.
+
+2011-06-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (elf_backend_post_process_headers): Defined
+	for x32.
+
+2011-06-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c: Include <stdarg.h> and CORE_HEADER if
+	CORE_HEADER is defined.
+	(elf_x86_64_write_core_note): New.
+	(elf_backend_write_core_note): Likewise.
+
+	* hosts/x86-64linux.h (uint64_t): New.
+	(user_regsx32_struct): Likewise.
+	(elf_gregx32_t): Likewise.
+	(ELF_NGREGX32): Likewise.
+	(elf_gregsetx32_t): Likewise.
+	(elf_prstatusx32): Likewise.
+	(prstatusx32_t): Likewise.
+	(user_fpregs32_struct): Removed.
+	(user_fpxregs32_struct): Likewise.
+	(user32): Likewise.
+	(elf_fpregset32_t): Likewise.
+	(elf_fpxregset32_t): Likewise.
+	(prgregset32_t): Likewise.
+	(prfpregset32_t): Likewise.
+
+2011-06-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (elf_x86_64_grok_prstatus): Support x32.
+	(elf_x86_64_grok_psinfo): Likewise.
+
+2011-06-16  Nick Clifton  <nickc@redhat.com>
+
+	* elf.c (elf_find_function): Fail if not provided with a symbol
+	table.
+
+2011-06-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+	* elf-bfd.h (elfcore_write_arm_vfp): Add prototype.
+	* elf.c (elfcore_grok_arm_vfp): New function.
+	(elfcore_grok_note): Call it to handle NT_ARM_VFP notes.
+	(elfcore_write_arm_vfp): New function.
+	(elfcore_write_register_note): Call it to handle .reg-arm-vfp.
+
+2011-06-14  Richard Henderson  <rth@redhat.com>
+
+	* elf64-alpha.c (elf64_alpha_copy_indirect_symbol): Rename from
+	elf64_alpha_merge_ind_symbols; adjust for the generic interface.
+	(elf64_alpha_always_size_sections): Don't call
+	elf64_alpha_merge_ind_symbols.
+	(elf_backend_copy_indirect_symbol): New.
+
+2011-06-14  Alan Modra  <amodra@gmail.com>
+
+	PR ld/12887
+	* elf-eh-frame.c (_bfd_elf_parse_eh_frame): Check sec_info_type
+	before doing anything.
+	(_bfd_elf_discard_section_eh_frame): Likewise.
+
+2011-06-14  Alan Modra  <amodra@gmail.com>
+
+	* Makefile.am: Formatting.
+	* Makefile.in: Regenerate.
+	* configure.in (bfd_elf64_tilegx_vec): Add elfxx-tilegx.lo.
+	* po/SRC-POTFILES.in: Regnerate.
+
+2011-06-14  Alan Modra  <amodra@gmail.com>
+
+	* elf32-tilepro.c (tilepro_elf_size_dynamic_sections): Don't use PTR.
+	(allocate_dynrelocs, readonly_dynrelocs): Replace PTR with void *.
+	Don't handle warning symbols here.
+	* elfxx-tilegx.c (tilegx_elf_size_dynamic_sections): As above.
+	(allocate_dynrelocs, readonly_dynrelocs): As above.
+
+2011-06-14  Alan Modra  <amodra@gmail.com>
+
+	PR ld/12851
+	* elflink.c (_bfd_elf_gc_mark_extra_sections): New function.
+	(elf_gc_sweep): Don't treat debug and sections like .comment
+	specially here.
+	(bfd_elf_gc_sections): Treat note sections as gc roots only when
+	not part of a group.  Always call gc_mark_extra_sections.
+	* elf-bfd.h (_bfd_elf_gc_mark_extra_sections): Declare.
+	* elfxx-target.h (elf_backend_gc_mark_extra_sections): Default to
+	_bfd_elf_gc_mark_extra_sections.
+	* elf32-arm.c (elf32_arm_gc_mark_extra_sections): Call
+	_bfd_elf_gc_mark_extra_sections.
+	* elf32-tic6x.c (elf32_tic6x_gc_mark_extra_sections): Likewise.
+
+2011-06-13  Nick Clifton  <nickc@redhat.com>
+
+	* elf32-tilepro.c (tilepro_elf_check_relocs): Delete unused local
+	variable 'local_got_offsets'.
+	* elfxx-tilegx.c (tilegx_elf_check_relocs): Likewise.
+	(tilegx_finish_dyn): Delete unused local variable 'abi_64_p'.
+
+2011-06-13  Walter Lee  <walt@tilera.com>
+
+	* Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo.
+	(ALL_MACHINE_CFILES): Add cpu-tilegx.c and cpu-tilepro.c.
+	(BFD32_BACKENDS): Add elf32-tilegx.lo, elf32-tilepro.lo,
+	and elfxx-tilegx.lo.
+	(BFD32_BACKENDS_CFILES): Add elf32-tilegx.c elf32-tilepro.c, and
+	elfxx-tilegx.c.
+	(BFD64_BACKENDS): Add elf64-tilegx.lo.
+	(BFD64_BACKENDS_CFILES): Add elf64-tilegx.c.
+	* Makefile.in: Regenerate.
+	* arctures.c (bfd_architecture): Define bfd_arch_tilepro,
+	bfd_arch_tilegx, bfd_mach_tilepro, bfd_mach_tilegx.
+	(bfd_arch_info): Add bfd_tilegx_arch, bfd_tilepro_arch.
+	(bfd_archures_list): Add bfd_tilegx_arch, bfd_tilepro_arch.
+	bfd-in2.h: Regenerate.
+	* config.bfd: Handle tilegx-*-* and tilepro-*-*.
+	* configure.in: Handle bfd_elf32_tilegx_vec, bfd_elf32_tilepro_vec,
+	and bfd_elf64_tilegx_vec.
+	* configure: Regenerate.
+	* elf-bfd.h (enum elf_target_id): Define TILEGX_ELF_DATA and
+	TILEPRO_ELF_DATA.
+	* libbfd.h: Regenerate.
+	* reloc.c: Add BFD_RELOC_TILEPRO_{COPY, GLOB_DAT, JMP_SLOT,
+	RELATIVE, BROFF_X1, JOFFLONG_X1, JOFFLONG_X1_PLT, IMM8_X0,
+	IMM8_Y0, IMM8_X1, IMM8_Y1, DEST_IMM8_X1, MT_IMM15_X1, MF_IMM15_X1,
+	IMM16_X0, IMM16_X1, IMM16_X0_LO, IMM16_X1_LO, IMM16_X0_HI,
+	IMM16_X1_HI, IMM16_X0_HA, IMM16_X1_HA, IMM16_X0_PCREL,
+	IMM16_X1_PCREL, IMM16_X0_LO_PCREL, IMM16_X1_LO_PCREL,
+	IMM16_X0_HI_PCREL, IMM16_X1_HI_PCREL, IMM16_X0_HA_PCREL,
+	IMM16_X1_HA_PCREL, IMM16_X0_GOT, IMM16_X1_GOT, IMM16_X0_GOT_LO,
+	IMM16_X1_GOT_LO, IMM16_X0_GOT_HI, IMM16_X1_GOT_HI,
+	IMM16_X0_GOT_HA, IMM16_X1_GOT_HA, MMSTART_X0, MMEND_X0,
+	MMSTART_X1, MMEND_X1, SHAMT_X0, SHAMT_X1, SHAMT_Y0, SHAMT_Y1,
+	IMM16_X0_TLS_GD, IMM16_X1_TLS_GD, IMM16_X0_TLS_GD_LO,
+	IMM16_X1_TLS_GD_LO, IMM16_X0_TLS_GD_HI, IMM16_X1_TLS_GD_HI,
+	IMM16_X0_TLS_GD_HA, IMM16_X1_TLS_GD_HA, IMM16_X0_TLS_IE,
+	IMM16_X1_TLS_IE, IMM16_X0_TLS_IE_LO, IMM16_X1_TLS_IE_LO,
+	IMM16_X0_TLS_IE_HI, IMM16_X1_TLS_IE_HI, IMM16_X0_TLS_IE_HA,
+	IMM16_X1_TLS_IE_HA, TLS_DTPMOD32, TLS_DTPOFF32, TLS_TPOFF32}
+	Add BFD_RELOC_TILEGX_{HW0, HW1, HW2, HW3, HW0_LAST, HW1_LAST,
+	HW2_LAST, COPY, GLOB_DAT, JMP_SLOT, RELATIVE, BROFF_X1,
+	JUMPOFF_X1, JUMPOFF_X1_PLT, IMM8_X0, IMM8_Y0, IMM8_X1, IMM8_Y1,
+	DEST_IMM8_X1, MT_IMM14_X1, MF_IMM14_X1, MMSTART_X0, MMEND_X0,
+	SHAMT_X0, SHAMT_X1, SHAMT_Y0, SHAMT_Y1, IMM16_X0_HW0,
+	IMM16_X1_HW0, IMM16_X0_HW1, IMM16_X1_HW1, IMM16_X0_HW2,
+	IMM16_X1_HW2, IMM16_X0_HW3, IMM16_X1_HW3, IMM16_X0_HW0_LAST,
+	IMM16_X1_HW0_LAST, IMM16_X0_HW1_LAST, IMM16_X1_HW1_LAST,
+	IMM16_X0_HW2_LAST, IMM16_X1_HW2_LAST, IMM16_X0_HW0_PCREL,
+	IMM16_X1_HW0_PCREL, IMM16_X0_HW1_PCREL, IMM16_X1_HW1_PCREL,
+	IMM16_X0_HW2_PCREL, IMM16_X1_HW2_PCREL, IMM16_X0_HW3_PCREL,
+	IMM16_X1_HW3_PCREL, IMM16_X0_HW0_LAST_PCREL,
+	IMM16_X1_HW0_LAST_PCREL, IMM16_X0_HW1_LAST_PCREL,
+	IMM16_X1_HW1_LAST_PCREL, IMM16_X0_HW2_LAST_PCREL,
+	IMM16_X1_HW2_LAST_PCREL, IMM16_X0_HW0_GOT, IMM16_X1_HW0_GOT,
+	IMM16_X0_HW1_GOT, IMM16_X1_HW1_GOT, IMM16_X0_HW2_GOT,
+	IMM16_X1_HW2_GOT, IMM16_X0_HW3_GOT, IMM16_X1_HW3_GOT,
+	IMM16_X0_HW0_LAST_GOT, IMM16_X1_HW0_LAST_GOT,
+	IMM16_X0_HW1_LAST_GOT, IMM16_X1_HW1_LAST_GOT,
+	IMM16_X0_HW2_LAST_GOT, IMM16_X1_HW2_LAST_GOT, IMM16_X0_HW0_TLS_GD,
+	IMM16_X1_HW0_TLS_GD, IMM16_X0_HW1_TLS_GD, IMM16_X1_HW1_TLS_GD,
+	IMM16_X0_HW2_TLS_GD, IMM16_X1_HW2_TLS_GD, IMM16_X0_HW3_TLS_GD,
+	IMM16_X1_HW3_TLS_GD, IMM16_X0_HW0_LAST_TLS_GD,
+	IMM16_X1_HW0_LAST_TLS_GD, IMM16_X0_HW1_LAST_TLS_GD,
+	IMM16_X1_HW1_LAST_TLS_GD, IMM16_X0_HW2_LAST_TLS_GD,
+	IMM16_X1_HW2_LAST_TLS_GD, IMM16_X0_HW0_TLS_IE,
+	IMM16_X1_HW0_TLS_IE, IMM16_X0_HW1_TLS_IE, IMM16_X1_HW1_TLS_IE,
+	IMM16_X0_HW2_TLS_IE, IMM16_X1_HW2_TLS_IE, IMM16_X0_HW3_TLS_IE,
+	IMM16_X1_HW3_TLS_IE, IMM16_X0_HW0_LAST_TLS_IE,
+	IMM16_X1_HW0_LAST_TLS_IE, IMM16_X0_HW1_LAST_TLS_IE,
+	IMM16_X1_HW1_LAST_TLS_IE, IMM16_X0_HW2_LAST_TLS_IE,
+	IMM16_X1_HW2_LAST_TLS_IE, TLS_DTPMOD64, TLS_DTPOFF64, TLS_TPOFF64,
+	TLS_DTPMOD32, TLS_DTPOFF32, TLS_TPOFF32}
+	* targets.c (bfd_elf32_tilegx_vec): Declare.
+	(bfd_elf32_tilepro_vec): Declare.
+	(bfd_elf64_tilegx_vec): Declare.
+	(bfd_target_vector): Add bfd_elf32_tilegx_vec, bfd_elf32_tilepro_vec,
+	and bfd_elf64_tilegx_vec.
+	* cpu-tilegx.c: New file.
+	* cpu-tilepro.c: New file.
+	* elf32-tilepro.h: New file.
+	* elf32-tilepro.c: New file.
+	* elf32-tilegx.c: New file.
+	* elf32-tilegx.h: New file.
+	* elf64-tilegx.c: New file.
+	* elf64-tilegx.h: New file.


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-05-12  8:04 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-05-12  8:04 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  e2285f5d9815c2fcce6a6202cd23f8bcbf245a90 (commit)
       via  a1062642c114b1273ea9aa6818e8ebbf35df58bd (commit)
       via  4902ef1396949b92d1976a58810351ef621c99bf (commit)
       via  8352c9d98853b754902279aa88beba4c75499a6f (commit)
       via  dc5414a83acfe7a8e4130b7823f7394d0defa795 (commit)
       via  8f1b6e1e0f9c5263706ef2103a8ea8fbbdb67c95 (commit)
       via  b2d1dfdf972883cde23f8288904a777ac61c92ca (commit)
      from  c5cd67d8e64639445955845b619de5a118f89ac8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit e2285f5d9815c2fcce6a6202cd23f8bcbf245a90
Merge: c5cd67d a106264
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu May 12 10:04:00 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit a1062642c114b1273ea9aa6818e8ebbf35df58bd
Author: mpolacek <mpolacek>
Date:   Thu May 12 07:13:22 2011 +0000

    Fix races in gdb.mi/mi-basics.exp

commit 4902ef1396949b92d1976a58810351ef621c99bf
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu May 12 00:00:04 2011 +0000

    daily update

commit 8352c9d98853b754902279aa88beba4c75499a6f
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu May 12 00:00:03 2011 +0000

    *** empty log message ***

commit dc5414a83acfe7a8e4130b7823f7394d0defa795
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed May 11 23:38:37 2011 +0000

    Imported readline 6.2, and upstream patch 001.
    
    [patch 0/3] readline-6.2 rebase
    http://sourceware.org/ml/gdb-patches/2011-05/msg00003.html
    [patch 1/3] readline-6.2: Merge of already posted patches
    http://sourceware.org/ml/gdb-patches/2011-05/msg00004.html
    	=
    	[Bug-readline] [RFC/readline] bind.c, rl_function_dumper, Free allocated
    	http://lists.gnu.org/archive/html/bug-readline/2011-03/msg00000.html
    	[Bug-readline] [patch] Fix underquotation in readline/examples/rlfe/conf
    	http://lists.gnu.org/archive/html/bug-readline/2011-04/msg00001.html
    	[Bug-readline] [patch] Makefile.in htm<->html
    	http://lists.gnu.org/archive/html/bug-readline/2011-04/msg00002.html
    	Re: [Bug-readline] [patch] Makefile.in dependency: callback.o: xmalloc.h
    	http://lists.gnu.org/archive/html/bug-readline/2011-04/msg00004.html
    	[Bug-readline] [patch] Remove . from the VPATH directive
    	http://lists.gnu.org/archive/html/bug-readline/2011-04/msg00005.html
    	Eli Zaretskii's __MSDOS__ / __GO32__ / __MINGW32__ / __DJGPP__ stuff:
    	http://sourceware.org/ml/gdb/2011-04/msg00002.html
    	Jan Kratochvil's patch for FSF GDB tree local-specific changes:
    	http://sourceware.org/ml/gdb/2011-04/msg00006.html
    	Preservation of existing ChangeLog.gdb files, their updates.
    [patch 2/3] readline-6.2: Workaround "ask" regression
    http://sourceware.org/ml/gdb-patches/2011-05/msg00005.html
    [patch 3/3] readline-6.2: Revert 5.x compat., apply 6.x compat.
    http://sourceware.org/ml/gdb-patches/2011-05/msg00006.html
    [patch 4/3] readline-6.2: Substitute inc-hist.texinfo
    http://sourceware.org/ml/gdb-patches/2011-05/msg00010.html
    
    readline/
    	Workaround gdb.base/completion.exp regression on readline-6.2.
    	* complete.c (get_y_or_n): Disable the return on RL_STATE_CALLBACK.
    
    	Imported readline 6.2, and upstream patch 001.
    	* configure: Regenerate.
    
    readline/doc/
    	* hsuser.texi (Using History Interactively): Disable !BashFeatures
    	@defcodeindex.  Make the `Programming with GNU History' reference
    	external.
    	* inc-hist.texinfo: Remove.
    
    	Imported readline 6.2, and upstream patch 001.
    
    readline/examples/
    	Imported readline 6.2, and upstream patch 001.
    
    readline/examples/rlfe/
    	Imported readline 6.2, and upstream patch 001.
    
    gdb/
    	* config.in: Regenerate.
    	* configure: Regenerate.
    	* configure.ac <--with-system-readline> (for readline_echoing_p):
    	Remove the test.
    	* tui/tui-io.c (tui_old_readline_echoing_p): Rename to ...
    	(tui_old_rl_echoing_p): ... here.
    	(tui_setup_io): Rename extern declaration readline_echoing_p to
    	_rl_echoing_p.  Adjust assignments for the both renames.
    
    gdb/doc/
    	* Makefile.in (GDB_DOC_SOURCE_INCLUDES): Rename inc-hist.texinfo to
    	hsuser.texi.
    	* gdb.texinfo <!SYSTEM_READLINE>: Rename inc-hist.texinfo inclusion and
    	comment to hsuser.texi.  Change rluser.texi name in the comment.

commit 8f1b6e1e0f9c5263706ef2103a8ea8fbbdb67c95
Author: qneill <qneill>
Date:   Wed May 11 22:35:20 2011 +0000

    2011-05-10  Quentin Neill  <quentin.neill@amd.com>
    
    gas/
            * config/tc-i386.c (cpu_arch): Add bdver2 and rename
            PROCESSOR_BDVER1 to PROCESSOR_BDVER.
            (i386_align_code): Rename PROCESSOR_BDVER1.
            (processor_type): Ditto.
            * doc/c-i386.texi: Add bdver2.
    
    opcodes/
            * i386-gen.c (cpu_flag_init): Add new CPU_BDVER2_FLAGS.
            * i386-init.h: Regenerated.
    
    gas/testsuite/
            * gas/i386/i386.exp: Add new bdver2 test cases.
            * gas/i386/nops-1-bdver2.d: New.
            * gas/i386/x86-64-nops-1-bdver2.d: New.

commit b2d1dfdf972883cde23f8288904a777ac61c92ca
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Wed May 11 20:02:41 2011 +0000

    sim: fix func call style (space before paren)
    
    Committed this as obvious:
    	-foo(...);
    	+foo (...);
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |   11 +
 gdb/config.in                                      |    3 -
 gdb/configure                                      |   33 -
 gdb/configure.ac                                   |   15 -
 gdb/doc/ChangeLog                                  |    7 +
 gdb/doc/Makefile.in                                |    2 +-
 gdb/doc/gdb.texinfo                                |    6 +-
 gdb/testsuite/ChangeLog                            |    9 +
 gdb/testsuite/gdb.mi/mi-basics.exp                 |   53 +-
 gdb/tui/tui-io.c                                   |   12 +-
 gdb/version.in                                     |    2 +-
 opcodes/ChangeLog                                  |    5 +
 opcodes/i386-gen.c                                 |    2 +
 opcodes/i386-init.h                                |    5 +
 readline/CHANGELOG                                 |  175 +
 readline/CHANGES                                   |  317 ++
 readline/COPYING                                   |  913 ++++--
 readline/ChangeLog.gdb                             |   10 +
 readline/INSTALL                                   |    2 +-
 readline/MANIFEST                                  |    9 +
 readline/Makefile.in                               |  104 +-
 readline/NEWS                                      |   41 +-
 readline/README                                    |    9 +-
 readline/aclocal.m4                                |  293 ++-
 readline/ansi_stdlib.h                             |   26 +-
 readline/bind.c                                    |  283 +-
 readline/callback.c                                |  170 +-
 readline/chardefs.h                                |   25 +-
 readline/compat.c                                  |   26 +-
 readline/complete.c                                |  682 +++-
 readline/config.h.in                               |   48 +-
 readline/configure                                 |  600 +++-
 readline/configure.in                              |   73 +-
 readline/display.c                                 |  641 +++-
 readline/doc/ChangeLog.gdb                         |   11 +
 readline/doc/Makefile.in                           |   41 +-
 readline/doc/fdl.texi                              |   96 +-
 readline/doc/history.3                             |   25 +-
 readline/doc/history.texi                          |   27 +-
 readline/doc/hstech.texi                           |    6 +-
 readline/doc/hsuser.texi                           |   38 +-
 readline/doc/inc-hist.texinfo                      |  457 ---
 readline/doc/readline.3                            |  111 +-
 readline/doc/rlman.texi                            |   26 +-
 readline/doc/rltech.texi                           |  243 +-
 readline/doc/rluser.texi                           |  283 ++-
 readline/doc/rluserman.texi                        |   27 +-
 readline/doc/texi2dvi                              |   26 +-
 readline/doc/texi2html                             |   35 +-
 readline/doc/version.texi                          |   12 +-
 readline/emacs_keymap.c                            |   25 +-
 readline/examples/ChangeLog.gdb                    |    4 +
 readline/examples/Inputrc                          |   24 +-
 readline/examples/Makefile.in                      |   87 +-
 readline/examples/autoconf/BASH_CHECK_LIB_TERMCAP  |   40 +
 readline/examples/autoconf/RL_LIB_READLINE_VERSION |  118 +
 readline/examples/autoconf/wi_LIB_READLINE         |   76 +
 readline/examples/excallback.c                     |    3 +
 readline/examples/fileman.c                        |   29 +-
 readline/examples/histexamp.c                      |   25 +-
 readline/examples/manexamp.c                       |   23 +-
 readline/examples/readlinebuf.h                    |    8 +-
 readline/examples/rl.c                             |   23 +-
 readline/examples/rlcat.c                          |   23 +-
 readline/examples/{rl.c => rlevent.c}              |   32 +-
 readline/examples/rlfe/ChangeLog                   |   11 -
 readline/examples/rlfe/ChangeLog.gdb               |   14 +
 readline/examples/rlfe/Makefile.in                 |   14 +-
 readline/examples/rlfe/config.h.in                 |    6 +-
 readline/examples/rlfe/configure                   | 3893 +++++++++++++-------
 readline/examples/rlfe/configure.in                |    2 +
 readline/examples/rlfe/extern.h                    |   11 +-
 readline/examples/rlfe/os.h                        |    5 +-
 readline/examples/rlfe/pty.c                       |    7 +-
 readline/examples/rlfe/rlfe.c                      |   13 +-
 readline/examples/rltest.c                         |   23 +-
 readline/examples/rlversion.c                      |   23 +-
 readline/funmap.c                                  |   36 +-
 readline/histexpand.c                              |  223 +-
 readline/histfile.c                                |   51 +-
 readline/histlib.h                                 |   30 +-
 readline/history.c                                 |  120 +-
 readline/history.h                                 |   30 +-
 readline/histsearch.c                              |   29 +-
 readline/input.c                                   |  113 +-
 readline/isearch.c                                 |   93 +-
 readline/keymaps.c                                 |   47 +-
 readline/keymaps.h                                 |   28 +-
 readline/kill.c                                    |   37 +-
 readline/macro.c                                   |   32 +-
 readline/mbutil.c                                  |   44 +-
 readline/misc.c                                    |   88 +-
 readline/nls.c                                     |   28 +-
 readline/parens.c                                  |   42 +-
 readline/patchlevel                                |    3 +
 readline/posixdir.h                                |   20 +-
 readline/posixjmp.h                                |   20 +-
 readline/posixselect.h                             |   47 +
 readline/posixstat.h                               |   20 +-
 readline/readline.c                                |  120 +-
 readline/readline.h                                |  136 +-
 readline/rlconf.h                                  |   33 +-
 readline/rldefs.h                                  |   32 +-
 readline/rlmbutil.h                                |   50 +-
 readline/rlprivate.h                               |  128 +-
 readline/rlshell.h                                 |   25 +-
 readline/rlstdc.h                                  |   28 +-
 readline/rltty.c                                   |  142 +-
 readline/rltty.h                                   |   31 +-
 readline/rltypedefs.h                              |   25 +-
 readline/rlwinsize.h                               |   33 +-
 readline/savestring.c                              |   32 +-
 readline/search.c                                  |   38 +-
 readline/shell.c                                   |   30 +-
 readline/shlib/Makefile.in                         |   60 +-
 readline/signals.c                                 |  277 ++-
 readline/support/config.guess                      |  683 ++--
 readline/support/config.rpath                      |   15 +-
 readline/support/config.sub                        |  242 +-
 readline/support/mkdirs                            |   21 +-
 readline/support/mkdist                            |   22 +-
 readline/support/shlib-install                     |   30 +-
 readline/support/shobj-conf                        |  119 +-
 readline/support/wcwidth.c                         |  256 +-
 readline/tcap.h                                    |   32 +-
 readline/terminal.c                                |   98 +-
 readline/text.c                                    |  181 +-
 readline/tilde.c                                   |   46 +-
 readline/tilde.h                                   |   25 +-
 readline/undo.c                                    |  113 +-
 readline/util.c                                    |  241 ++-
 readline/vi_keymap.c                               |   31 +-
 readline/vi_mode.c                                 |  718 +++-
 readline/xfree.c                                   |   50 +
 readline/xmalloc.c                                 |   37 +-
 readline/xmalloc.h                                 |   25 +-
 sim/common/ChangeLog                               |    9 +
 sim/common/callback.c                              |    2 +-
 sim/common/dv-pal.c                                |    4 +-
 sim/common/dv-sockser.c                            |    4 +-
 sim/common/hw-base.c                               |   10 +-
 sim/common/hw-device.c                             |    4 +-
 sim/common/hw-instances.c                          |   10 +-
 sim/common/hw-ports.c                              |   16 +-
 sim/common/hw-properties.c                         |   42 +-
 sim/common/hw-tree.c                               |   84 +-
 sim/common/sim-abort.c                             |    8 +-
 sim/common/sim-arange.c                            |    4 +-
 sim/common/sim-config.c                            |   18 +-
 sim/common/sim-core.c                              |   46 +-
 sim/common/sim-engine.c                            |    2 +-
 sim/common/sim-events.c                            |   70 +-
 sim/common/sim-hw.c                                |    8 +-
 sim/common/sim-io.c                                |  128 +-
 sim/common/sim-memopt.c                            |    4 +-
 sim/common/sim-options.c                           |    2 +-
 sim/common/sim-profile.c                           |    2 +-
 sim/common/sim-resume.c                            |    2 +-
 sim/common/sim-stop.c                              |    8 +-
 sim/common/syscall.c                               |    4 +-
 161 files changed, 11161 insertions(+), 5356 deletions(-)
 delete mode 100644 readline/doc/inc-hist.texinfo
 create mode 100644 readline/examples/autoconf/BASH_CHECK_LIB_TERMCAP
 create mode 100644 readline/examples/autoconf/RL_LIB_READLINE_VERSION
 create mode 100644 readline/examples/autoconf/wi_LIB_READLINE
 copy readline/examples/{rl.c => rlevent.c} (75%)
 create mode 100644 readline/examples/rlfe/ChangeLog.gdb
 create mode 100644 readline/patchlevel
 create mode 100644 readline/posixselect.h
 create mode 100644 readline/xfree.c

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 43b0ff6..c492107 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110511
+#define BFD_VERSION_DATE 20110512
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ef7a45f..4a9cccf 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,14 @@
+2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* config.in: Regenerate.
+	* configure: Regenerate.
+	* configure.ac <--with-system-readline> (for readline_echoing_p):
+	Remove the test.
+	* tui/tui-io.c (tui_old_readline_echoing_p): Rename to ...
+	(tui_old_rl_echoing_p): ... here.
+	(tui_setup_io): Rename extern declaration readline_echoing_p to
+	_rl_echoing_p.  Adjust assignments for the both renames.
+
 2011-05-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 
 	* symtab.c (lookup_symtab): Run cleanup before returning.
diff --git a/gdb/config.in b/gdb/config.in
index db00195..c1d7c68 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -953,9 +953,6 @@
 /* Define to `int' if <sys/types.h> does not define. */
 #undef pid_t
 
-/* readline-6.0 started to use different name. */
-#undef readline_echoing_p
-
 /* Define to the equivalent of the C99 'restrict' keyword, or to
    nothing if this is not supported.  Do not define if restrict is
    supported directly.  */
diff --git a/gdb/configure b/gdb/configure
index bf6ac01..ac143e4 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -9796,39 +9796,6 @@ if test "$with_system_readline" = yes; then
   READLINE_DEPS=
   READLINE_CFLAGS=
   READLINE_TEXI_INCFLAG=
-
-  # readline-6.0 started to use the name `_rl_echoing_p'.
-  # `$(READLINE_DIR)/' of bundled readline would not resolve in configure.
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline_echoing_p" >&5
-$as_echo_n "checking for readline_echoing_p... " >&6; }
-  save_LIBS=$LIBS
-  LIBS="$LIBS $READLINE"
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-int
-main ()
-{
-extern int readline_echoing_p;
-				    return readline_echoing_p;
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  READLINE_ECHOING_P=yes
-else
-  READLINE_ECHOING_P=no
-
-$as_echo "#define readline_echoing_p _rl_echoing_p" >>confdefs.h
-
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-  LIBS="$save_LIBS"
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READLINE_ECHOING_P" >&5
-$as_echo "$READLINE_ECHOING_P" >&6; }
 else
   READLINE='$(READLINE_DIR)/libreadline.a'
   READLINE_DEPS='$(READLINE)'
diff --git a/gdb/configure.ac b/gdb/configure.ac
index a42ce27..8c12a44 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -562,21 +562,6 @@ if test "$with_system_readline" = yes; then
   READLINE_DEPS=
   READLINE_CFLAGS=
   READLINE_TEXI_INCFLAG=
-
-  # readline-6.0 started to use the name `_rl_echoing_p'.
-  # `$(READLINE_DIR)/' of bundled readline would not resolve in configure.
-
-  AC_MSG_CHECKING([for readline_echoing_p])
-  save_LIBS=$LIBS
-  LIBS="$LIBS $READLINE"
-  AC_LINK_IFELSE(AC_LANG_PROGRAM(,[[extern int readline_echoing_p;
-				    return readline_echoing_p;]]),
-		 [READLINE_ECHOING_P=yes],
-		 [READLINE_ECHOING_P=no
-		  AC_DEFINE([readline_echoing_p], [_rl_echoing_p],
-			    [readline-6.0 started to use different name.])])
-  LIBS="$save_LIBS"
-  AC_MSG_RESULT([$READLINE_ECHOING_P])
 else
   READLINE='$(READLINE_DIR)/libreadline.a'
   READLINE_DEPS='$(READLINE)'
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 0dd6806..1a987ef 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* Makefile.in (GDB_DOC_SOURCE_INCLUDES): Rename inc-hist.texinfo to
+	hsuser.texi.
+	* gdb.texinfo <!SYSTEM_READLINE>: Rename inc-hist.texinfo inclusion and
+	comment to hsuser.texi.  Change rluser.texi name in the comment.
+
 2011-05-10  Doug Evans  <dje@google.com>
 
 	* gdb.texinfo (Threads): If an empty path is provided for
diff --git a/gdb/doc/Makefile.in b/gdb/doc/Makefile.in
index b57f6a5..eef47a5 100644
--- a/gdb/doc/Makefile.in
+++ b/gdb/doc/Makefile.in
@@ -117,7 +117,7 @@ GDB_DOC_SOURCE_INCLUDES = \
 	$(srcdir)/gpl.texi \
 	$(srcdir)/agentexpr.texi \
 	$(READLINE_DIR)/rluser.texi \
-	$(READLINE_DIR)/inc-hist.texinfo
+	$(READLINE_DIR)/hsuser.texi
 GDB_DOC_BUILD_INCLUDES = \
 	gdb-cfg.texi \
 	GDBvn.texi
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 9ccc48a..da2c784 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -31025,13 +31025,13 @@ things without first using the debugger to find the facts.
 
 @c The readline documentation is distributed with the readline code
 @c and consists of the two following files:
-@c     rluser.texinfo
-@c     inc-hist.texinfo
+@c     rluser.texi
+@c     hsuser.texi
 @c Use -I with makeinfo to point to the appropriate directory,
 @c environment var TEXINPUTS with TeX.
 @ifclear SYSTEM_READLINE
 @include rluser.texi
-@include inc-hist.texinfo
+@include hsuser.texi
 @end ifclear
 
 @node In Memoriam
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index d855ea2..de5e67a 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,12 @@
+2011-05-12  Marek Polacek  <mpolacek@redhat.com>
+
+	* gdb.mi/mi-basics.exp: Fix races.  Honour the
+	`test_exec_and_symbol_mi_operatons' return value.
+	(test_mi_interpreter_selection): Use mi_gdb_test instead of
+	gdb_test_multiple.
+	(test_exec_and_symbol_mi_operatons): Likewise.
+	(test_path_specification): Likewise.
+
 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	* lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
diff --git a/gdb/testsuite/gdb.mi/mi-basics.exp b/gdb/testsuite/gdb.mi/mi-basics.exp
index d65cef8..21d7aa8 100644
--- a/gdb/testsuite/gdb.mi/mi-basics.exp
+++ b/gdb/testsuite/gdb.mi/mi-basics.exp
@@ -60,18 +60,10 @@ proc test_mi_interpreter_selection {} {
 
     # All this test expects is to get the prompt back
     # with no syntax error message
-    gdb_test_multiple "-gdb-version" "acceptance of MI operations" {
-	-re "GNU gdb .*\r\n$mi_gdb_prompt$" {
-	    pass "acceptance of MI operations"
-	    return 1
-	}
-	-re ".*\r\n$mi_gdb_prompt$" {
-	    fail "acceptance of MI operations"
-	}
-	-re "Undefined command.*$gdb_prompt $" {
-	    fail "acceptance of MI operations"
-	}
-    }
+    if ![mi_gdb_test "-gdb-version" "~\"GNU gdb.*" "acceptance of MI operations"] {
+	return 1
+    } 
+
     note "Skipping all other MI tests."
     return 0
 }
@@ -84,19 +76,11 @@ proc test_exec_and_symbol_mi_operatons {} {
     # Tests:
     # -file-exec-and-symbols
 
-    # Can't use mi_gdb_test as if this doesn't work,
-    #  we must give up on the whole test file
-    gdb_test_multiple "-file-exec-and-symbols ${binfile}" \
-	"-file-exec-and-symbols ${binfile}" {
-	    -re "\[\r\n\]*\\\^done\r\n$mi_gdb_prompt$" {
-		pass "file-exec-and-symbols operation"
-	    }
-	    timeout {
-		fail "file-exec-and-symbols operation (timeout)"
-		note "Skipping all other MI tests."
-		return 0
-	    }
-	}
+    if [mi_gdb_test "-file-exec-and-symbols ${binfile}" "\\\^done" \
+       "file-exec-and-symbols operation"] {
+	note "Skipping all other MI tests."
+	return 0
+    }
 
     # The following is not used by mi-support.exp, but we test here so
     # we get done with loading a program basics.
@@ -121,7 +105,8 @@ proc test_exec_and_symbol_mi_operatons {} {
              "\\\^done" \
              "file-symbol-file operation"
 
-    # FIXME: if we cannot load we have to skip all other tests.
+    # We need to return != 0.
+    return 1
 }
 
 proc test_breakpoints_deletion {} {
@@ -199,6 +184,7 @@ proc test_path_specification {} {
     global subdir
     global escapedobjdir
     global envirodir
+    global expect_out
 
     # Add to the path, display, then reset 
     # Tests:
@@ -207,15 +193,8 @@ proc test_path_specification {} {
     # -environment-path -r dir
     # -environment-path -r
 
-    gdb_test_multiple "-environment-path" "-environment-path" {
-	-re "\\\^done,path=\"\(.*\)\"\r\n$mi_gdb_prompt" { 
-	    set orig_path $expect_out(1,string); 
-	}
-	timeout { 
-	    perror "-environment-path (timeout)" ; 
-	    return 
-	}
-    }
+    mi_gdb_test "-environment-path" "\\\^done,path=\"(.*)\"" "environment-path"
+    set orig_path $expect_out(3,string)
 
     set orig_path [string_to_regexp ${orig_path}]
     set pathdir [string_to_regexp ${objdir}/${subdir}]
@@ -276,8 +255,8 @@ proc test_setshow_inferior_tty {} {
 		"verify tty is correct"
 }
 
-if [test_mi_interpreter_selection] {
-  test_exec_and_symbol_mi_operatons
+if { [test_mi_interpreter_selection]
+      && [test_exec_and_symbol_mi_operatons] } {
   test_breakpoints_deletion
   test_dir_specification
   test_cwd_specification
diff --git a/gdb/tui/tui-io.c b/gdb/tui/tui-io.c
index e7b7370..afcd9f9 100644
--- a/gdb/tui/tui-io.c
+++ b/gdb/tui/tui-io.c
@@ -133,7 +133,7 @@ static Function *tui_old_rl_getc_function;
 static VFunction *tui_old_rl_redisplay_function;
 static VFunction *tui_old_rl_prep_terminal;
 static VFunction *tui_old_rl_deprep_terminal;
-static int tui_old_readline_echoing_p;
+static int tui_old_rl_echoing_p;
 
 /* Readline output stream.
    Should be removed when readline is clean.  */
@@ -506,8 +506,8 @@ tui_rl_display_match_list (char **matches, int len, int max)
 void
 tui_setup_io (int mode)
 {
-  extern int readline_echoing_p;
- 
+  extern int _rl_echoing_p;
+
   if (mode)
     {
       /* Redirect readline to TUI.  */
@@ -516,12 +516,12 @@ tui_setup_io (int mode)
       tui_old_rl_prep_terminal = rl_prep_term_function;
       tui_old_rl_getc_function = rl_getc_function;
       tui_old_rl_outstream = rl_outstream;
-      tui_old_readline_echoing_p = readline_echoing_p;
+      tui_old_rl_echoing_p = _rl_echoing_p;
       rl_redisplay_function = tui_redisplay_readline;
       rl_deprep_term_function = tui_deprep_terminal;
       rl_prep_term_function = tui_prep_terminal;
       rl_getc_function = tui_getc;
-      readline_echoing_p = 0;
+      _rl_echoing_p = 0;
       rl_outstream = tui_rl_outstream;
       rl_prompt = 0;
       rl_completion_display_matches_hook = tui_rl_display_match_list;
@@ -560,7 +560,7 @@ tui_setup_io (int mode)
       rl_getc_function = tui_old_rl_getc_function;
       rl_outstream = tui_old_rl_outstream;
       rl_completion_display_matches_hook = 0;
-      readline_echoing_p = tui_old_readline_echoing_p;
+      _rl_echoing_p = tui_old_rl_echoing_p;
       rl_already_prompted = 0;
 
       /* Save tty for SIGCONT.  */
diff --git a/gdb/version.in b/gdb/version.in
index 9b5e39a..78e24bb 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-7.3.50.20110511-cvs
+7.3.50.20110512-cvs
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 04803db..57a4f01 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-10  Quentin Neill  <quentin.neill@amd.com>
+
+	* i386-gen.c (cpu_flag_init): Add new CPU_BDVER2_FLAGS.
+	* i386-init.h: Regenerated.
+
 2011-04-27  Nick Clifton  <nickc@redhat.com>
 
 	* po/da.po: Updated Danish translation.
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index d4adcf8..3d7de38 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -90,6 +90,8 @@ static initializer cpu_flag_init[] =
     "Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686|CpuSYSCALL|CpuRdtscp|Cpu387|Cpu687|CpuFISTTP|CpuNop|CpuMMX|Cpu3dnow|Cpu3dnowA|CpuSSE|CpuSSE2|CpuSSE3|CpuSSE4a|CpuABM|CpuLM" },
   { "CPU_BDVER1_FLAGS",
     "Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686|CpuSYSCALL|CpuRdtscp|Cpu387|Cpu687|CpuFISTTP|CpuNop|CpuMMX|CpuSSE|CpuSSE2|CpuSSE3|CpuSSE4a|CpuABM|CpuLM|CpuFMA4|CpuXOP|CpuLWP" },
+  { "CPU_BDVER2_FLAGS",
+    "Cpu186|Cpu286|Cpu386|Cpu486|Cpu586|Cpu686|CpuSYSCALL|CpuRdtscp|Cpu387|Cpu687|CpuFISTTP|CpuNop|CpuMMX|CpuSSE|CpuSSE2|CpuSSE3|CpuSSE4a|CpuABM|CpuLM|CpuFMA4|CpuXOP|CpuLWP|CpuBMI|CpuTBM" },
   { "CPU_8087_FLAGS",
     "Cpu8087" },
   { "CPU_287_FLAGS",
diff --git a/opcodes/i386-init.h b/opcodes/i386-init.h
index d8edd1a..6433596 100644
--- a/opcodes/i386-init.h
+++ b/opcodes/i386-init.h
@@ -139,6 +139,11 @@
       0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0,  \
       0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 } }
 
+#define CPU_BDVER2_FLAGS \
+  { { 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1,  \
+      0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1,  \
+      1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 } }
+
 #define CPU_8087_FLAGS \
   { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,  \
       0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,  \
diff --git a/readline/CHANGELOG b/readline/CHANGELOG
index b6499c3..5513f12 100644
--- a/readline/CHANGELOG
+++ b/readline/CHANGELOG
@@ -918,3 +918,178 @@ configure.in
 	- changed release status to `release'
 
 [readline-5.1 frozen]
+
+				   12/9
+				   ----
+[readline-5.1 released]
+
+				   12/14
+				   -----
+examples/rlfe/Makefile.in
+	- add @LIBS@ to LIBS assignment to pick up extra libraries from
+	  configure
+
+				 1/3/2006
+				 --------
+support/shlib-install
+	- Install shared libraries with execute bit set on Linux
+
+				    6/9
+				    ---
+[readline-5.2-alpha frozen]
+
+				   6/26
+				   ----
+configure.in
+	- set CROSS_COMPILE to the empty string by default, so we don't inherit
+	  a random value from the environment
+
+				    7/8
+				    ---
+[readline-5.2-alpha released]
+
+
+[readline-5.2-beta released]
+
+				   9/12
+				   ----
+config.h.in
+        - add defines for wcscoll, iswctype, iswupper, iswlower, towupper,
+          towlower functions
+        - replace define for wctomb with one for wcrtomb
+        - add defines for wchar_t, wint_t, wctype_t types
+
+				   10/11
+				   -----
+[readline-5.2 released]
+
+				   11/9
+				   ----
+examples/rlfe/{configure.in,Makefile.in,config.h.in,rlfe.c,pty.c}
+	- portability fixes from Mike Frysinger <vapier@gentoo.org>
+
+				   11/21
+				   -----
+Makefile.in
+	- add `install-examples' and `uninstall-examples' targets
+
+examples/Makefile.in
+	- add correct variables to build examples on Windows
+	- add appropriate rules to install and uninstall example sources in
+	  $(datadir)/readline 
+
+				   11/27
+				   -----
+config.h.in
+	- move #undef of HAVE_STRCOLL out of config.h.in, since autoconf tries
+	  to substitute it based on configure tests
+
+				 4/27/2007
+				 ---------
+examples/autoconf
+	- new directory with example autoconf macros to detect readline and
+	  return information about the installed version
+
+				   6/13
+				   ----
+support/shlib-install
+	- changes to support AIX 5.x shared library installation
+
+				 3/20/2008
+				 ---------
+support/shlib-install
+	- add support for NetBSD and Interix shared library installation
+
+				   4/22
+				   ----
+support/wcwidth.c
+	- updated implementation from 2007-05
+
+				   7/18
+				   ----
+support/shlib-install
+	- support for mingw32, contributed by Carlo Bramix <carlo.bramix@libero.it>
+
+				    8/4
+				    ---
+configure.in
+	- changed to readline-6.0
+
+				   8/18
+				   ----
+support/config.{guess,sub}
+	- updated to newer versions from autoconf-2.62 distribution
+
+				 3/5/2009
+				 --------
+support/shlib-install
+	- take a new -V host_vendor argument
+	- add ${host_vendor} to string tested in case statement for symlink
+	  creation section
+	- add support for FreeBSD/gentoo, which uses Linux library naming
+	  scheme
+	- change FreeBSD symlink rules, since FreeBSD 7+ has only ELF shared
+	  libraries.  DragonflyBSD rules are the same.  Fix from Timothy
+	  Redaelli <drizzt@gentoo.org>
+
+shlib/Makefile.in
+	- add definition of host_vendor, substituted by configure
+	- add -V host_vendor argument to all invocations of shlib-install.


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-05-11 20:42 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-05-11 20:42 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  c5cd67d8e64639445955845b619de5a118f89ac8 (commit)
       via  41b0126667f11febd6369b19a37ce11981558e3b (commit)
       via  aeb42043c2c307eec7cad6a0e44f2070b2cb9189 (commit)
      from  08fb1601dd0d0a425e02d3b9faff0a2c64ce1ca1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit c5cd67d8e64639445955845b619de5a118f89ac8
Merge: 08fb160 41b0126
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed May 11 22:42:30 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit 41b0126667f11febd6369b19a37ce11981558e3b
Author: Thiago Jung Bauermann <bauerman@br.ibm.com>
Date:   Wed May 11 18:29:00 2011 +0000

    	* symtab.c (lookup_symtab): Run cleanup before returning.

commit aeb42043c2c307eec7cad6a0e44f2070b2cb9189
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed May 11 17:25:41 2011 +0000

    	* dwarf2read.c (handle_data_member_location): New function.
    	(dwarf2_add_field): Use it.
    	(read_common_block): Likewise.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog    |   10 ++++++
 gdb/dwarf2read.c |   94 +++++++++++++++++++++++++++--------------------------
 gdb/symtab.c     |   21 ++++++++++--
 3 files changed, 76 insertions(+), 49 deletions(-)

First 500 lines of diff:
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b98297c..ef7a45f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,13 @@
+2011-05-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+	* symtab.c (lookup_symtab): Run cleanup before returning.
+
+2011-05-11  Tom Tromey  <tromey@redhat.com>
+
+	* dwarf2read.c (handle_data_member_location): New function.
+	(dwarf2_add_field): Use it.
+	(read_common_block): Likewise.
+
 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	Make addrs->SECTINDEX always defined.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 81b20c7..fb54655 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -6365,6 +6365,41 @@ dwarf2_default_access_attribute (struct die_info *die, struct dwarf2_cu *cu)
     }
 }
 
+/* Look for DW_AT_data_member_location.  Set *OFFSET to the byte
+   offset.  If the attribute was not found return 0, otherwise return
+   1.  If it was found but could not properly be handled, set *OFFSET
+   to 0.  */
+
+static int
+handle_data_member_location (struct die_info *die, struct dwarf2_cu *cu,
+			     LONGEST *offset)
+{
+  struct attribute *attr;
+
+  attr = dwarf2_attr (die, DW_AT_data_member_location, cu);
+  if (attr != NULL)
+    {
+      *offset = 0;
+
+      /* Note that we do not check for a section offset first here.
+	 This is because DW_AT_data_member_location is new in DWARF 4,
+	 so if we see it, we can assume that a constant form is really
+	 a constant and not a section offset.  */
+      if (attr_form_is_constant (attr))
+	*offset = dwarf2_get_attr_constant_value (attr, 0);
+      else if (attr_form_is_section_offset (attr))
+	dwarf2_complex_location_expr_complaint ();
+      else if (attr_form_is_block (attr))
+	*offset = decode_locdesc (DW_BLOCK (attr), cu);
+      else
+	dwarf2_complex_location_expr_complaint ();
+
+      return 1;
+    }
+
+  return 0;
+}
+
 /* Add an aggregate field to the field list.  */
 
 static void
@@ -6413,6 +6448,8 @@ dwarf2_add_field (struct field_info *fip, struct die_info *die,
 
   if (die->tag == DW_TAG_member && ! die_is_declaration (die, cu))
     {
+      LONGEST offset;
+
       /* Data member other than a C++ static data member.  */
 
       /* Get type of field.  */
@@ -6432,22 +6469,8 @@ dwarf2_add_field (struct field_info *fip, struct die_info *die,
 	}
 
       /* Get bit offset of field.  */
-      attr = dwarf2_attr (die, DW_AT_data_member_location, cu);
-      if (attr)
-	{
-          int byte_offset = 0;
-
-          if (attr_form_is_section_offset (attr))
-	    dwarf2_complex_location_expr_complaint ();
-          else if (attr_form_is_constant (attr))
-            byte_offset = dwarf2_get_attr_constant_value (attr, 0);
-          else if (attr_form_is_block (attr))
-            byte_offset = decode_locdesc (DW_BLOCK (attr), cu);
-	  else
-	    dwarf2_complex_location_expr_complaint ();
-
-          SET_FIELD_BITPOS (*fp, byte_offset * bits_per_byte);
-	}
+      if (handle_data_member_location (die, cu, &offset))
+	SET_FIELD_BITPOS (*fp, offset * bits_per_byte);
       attr = dwarf2_attr (die, DW_AT_bit_offset, cu);
       if (attr)
 	{
@@ -6550,23 +6573,11 @@ dwarf2_add_field (struct field_info *fip, struct die_info *die,
     }
   else if (die->tag == DW_TAG_inheritance)
     {
-      /* C++ base class field.  */
-      attr = dwarf2_attr (die, DW_AT_data_member_location, cu);
-      if (attr)
-	{
-          int byte_offset = 0;
-
-          if (attr_form_is_section_offset (attr))
-	    dwarf2_complex_location_expr_complaint ();
-          else if (attr_form_is_constant (attr))
-            byte_offset = dwarf2_get_attr_constant_value (attr, 0);
-          else if (attr_form_is_block (attr))
-            byte_offset = decode_locdesc (DW_BLOCK (attr), cu);
-	  else
-	    dwarf2_complex_location_expr_complaint ();
+      LONGEST offset;
 
-          SET_FIELD_BITPOS (*fp, byte_offset * bits_per_byte);
-	}
+      /* C++ base class field.  */
+      if (handle_data_member_location (die, cu, &offset))
+	SET_FIELD_BITPOS (*fp, offset * bits_per_byte);
       FIELD_BITSIZE (*fp) = 0;
       FIELD_TYPE (*fp) = die_type (die, cu);
       FIELD_NAME (*fp) = type_name_no_tag (fp->type);
@@ -7676,22 +7687,13 @@ read_common_block (struct die_info *die, struct dwarf2_cu *cu)
       child_die = die->child;
       while (child_die && child_die->tag)
 	{
+	  LONGEST offset;
+
 	  sym = new_symbol (child_die, NULL, cu);
-	  attr = dwarf2_attr (child_die, DW_AT_data_member_location, cu);
-	  if (sym != NULL && attr != NULL)
+	  if (sym != NULL &&
+	      handle_data_member_location (child_die, cu, &offset))
 	    {
-	      CORE_ADDR byte_offset = 0;
-
-	      if (attr_form_is_section_offset (attr))
-		dwarf2_complex_location_expr_complaint ();
-	      else if (attr_form_is_constant (attr))
-		byte_offset = dwarf2_get_attr_constant_value (attr, 0);
-	      else if (attr_form_is_block (attr))
-		byte_offset = decode_locdesc (DW_BLOCK (attr), cu);
-	      else
-		dwarf2_complex_location_expr_complaint ();
-
-	      SYMBOL_VALUE_ADDRESS (sym) = base + byte_offset;
+	      SYMBOL_VALUE_ADDRESS (sym) = base + offset;
 	      add_symbol_to_list (sym, &global_symbols);
 	    }
 	  child_die = sibling_die (child_die);
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 84e01a6..439bb78 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -158,6 +158,9 @@ lookup_symtab (const char *name)
   struct objfile *objfile;
   char *real_path = NULL;
   char *full_path = NULL;
+  struct cleanup *cleanup;
+
+  cleanup = make_cleanup (null_cleanup, NULL);
 
   /* Here we are interested in canonicalizing an absolute path, not
      absolutizing a relative path.  */
@@ -177,6 +180,7 @@ got_symtab:
   {
     if (FILENAME_CMP (name, s->filename) == 0)
       {
+	do_cleanups (cleanup);
 	return s;
       }
 
@@ -189,6 +193,7 @@ got_symtab:
 
         if (fp != NULL && FILENAME_CMP (full_path, fp) == 0)
           {
+	    do_cleanups (cleanup);
             return s;
           }
       }
@@ -204,6 +209,7 @@ got_symtab:
             make_cleanup (xfree, rp);
             if (FILENAME_CMP (real_path, rp) == 0)
               {
+		do_cleanups (cleanup);
                 return s;
               }
           }
@@ -216,7 +222,10 @@ got_symtab:
     ALL_SYMTABS (objfile, s)
     {
       if (FILENAME_CMP (lbasename (s->filename), name) == 0)
-	return s;
+	{
+	  do_cleanups (cleanup);
+	  return s;
+	}
     }
 
   /* Same search rules as above apply here, but now we look thru the
@@ -235,9 +244,15 @@ got_symtab:
   }
 
   if (s != NULL)
-    return s;
+    {
+      do_cleanups (cleanup);
+      return s;
+    }
   if (!found)
-    return NULL;
+    {
+      do_cleanups (cleanup);
+      return NULL;
+    }
 
   /* At this point, we have located the psymtab for this file, but
      the conversion to a symtab has failed.  This usually happens


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-05-11 17:20 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-05-11 17:20 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  08fb1601dd0d0a425e02d3b9faff0a2c64ce1ca1 (commit)
       via  845b24d128b1a9f63f07b9fdb949d0c544a07822 (commit)
       via  c057d2d1db9c4c8d753f64601debb1f8e5f7e668 (commit)
       via  f74976888a6f1d0c977a9c18b8be79f5a4abca2d (commit)
       via  4c75e883b2f476b5ddf84ad7fe6de7df7deaf650 (commit)
       via  96ff500a62d1d07896a849655d0bb3b999cbd772 (commit)
       via  bf8bc0c032fb142ed851a18699cad1013aee9f58 (commit)
       via  aa8e19171d0a200e0d3a44f9d46b9da123865594 (commit)
       via  10dfcaa51cc1ea3e49016de66bd408caded2e9d8 (commit)
       via  3248de0b35901423585ea213f7d5985fe5146b38 (commit)
       via  629e0127359f334bbcdda98523ec989014e8aa0c (commit)
       via  26462413520c0eb3c58e6d6ed3975338097045c7 (commit)
       via  f6d55b87b1ec29286db1ee4ea415fa7ff21989fa (commit)
       via  100ba5663cabeeb4c710c7df6c478ab3f973cb38 (commit)
       via  bc50dc930cd77a8fca133b6415825d5e57506c36 (commit)
       via  d82acf35b29152faecd4ea2d86bcab98773a8eee (commit)
      from  2e80e1f226b199baa820d947f303d7ff663ee748 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 08fb1601dd0d0a425e02d3b9faff0a2c64ce1ca1
Merge: 2e80e1f 845b24d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed May 11 19:19:58 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit 845b24d128b1a9f63f07b9fdb949d0c544a07822
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed May 11 09:11:16 2011 +0000

    gdb/testsuite/
    	* lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
    	(gdb_touch_execfile): Remove catch wrappers.  New variable time.
    	Replace `file copy' and `file rename' by `file mtime'.  Twice.

commit c057d2d1db9c4c8d753f64601debb1f8e5f7e668
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed May 11 05:01:35 2011 +0000

    gdb/testsuite/
    	* gdb.base/readline-ask.c: New file.
    	* gdb.base/readline-ask.exp: New file.
    	* gdb.base/readline-ask.inputrc: New file.

commit f74976888a6f1d0c977a9c18b8be79f5a4abca2d
Author: Hans-Peter Nilsson <hp@axis.com>
Date:   Wed May 11 04:59:28 2011 +0000

    	PR sim/12737
    	* sim/arm/iwmmxt/wcmpgt.cgs, sim/arm/iwmmxt/wmac.cgs,
    	sim/arm/iwmmxt/wsra.cgs, sim/arm/xscale/blx.cgs: Kfail.

commit 4c75e883b2f476b5ddf84ad7fe6de7df7deaf650
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed May 11 04:56:04 2011 +0000

    gdb/
    	Make addrs->SECTINDEX always defined.
    	* symfile.c (relative_addr_info_to_section_offsets): Check for
    	SECTINDEX -1, not for zero ADDR.
    	(addrs_section_compar): Remove checking for invalid SECTINDEX.
    	(addr_info_make_relative): Set SECTINDEX to -1 for unmatched entries.
    	* symfile.h (struct section_addr_info) <sectindex>: Update the comment
    	on its validity.

commit 96ff500a62d1d07896a849655d0bb3b999cbd772
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed May 11 00:00:32 2011 +0000

    *** empty log message ***

commit bf8bc0c032fb142ed851a18699cad1013aee9f58
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed May 11 00:00:06 2011 +0000

    daily update

commit aa8e19171d0a200e0d3a44f9d46b9da123865594
Author: Doug Evans <dje@google.com>
Date:   Tue May 10 18:45:21 2011 +0000

    	* linux-thread-db.c: Whitespace cleanup.
    	(try_thread_db_load_1): Fix comment.

commit 10dfcaa51cc1ea3e49016de66bd408caded2e9d8
Author: Doug Evans <dje@google.com>
Date:   Tue May 10 16:53:18 2011 +0000

    	* linux-thread-db.c (set_libthread_db_search_path): New function.
    	(_initialize_thread_db): Add setter for libthread-db-search-path.
    
    	gdbserver/
    	* thread-db.c (thread_db_handle_monitor_command): Handle elided path.
    
    	doc/
    	* gdb.texinfo (Threads): If an empty path is provided for
    	libthread-db-search-path it is reset to its default value.
    	(Server): Ditto.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                   |   12 +++
 Makefile.in                                 |    2 +-
 Makefile.tpl                                |    2 +-
 bfd/ChangeLog                               |    7 ++
 bfd/elf.c                                   |    2 +
 bfd/elf32-ppc.c                             |    2 +
 bfd/elf64-ppc.c                             |    2 +
 bfd/version.h                               |    2 +-
 configure                                   |    3 +
 configure.ac                                |    2 +
 gdb/ChangeLog                               |   32 +++++++
 gdb/NEWS                                    |    6 ++
 gdb/charset.c                               |   23 +++++-
 gdb/config.in                               |    6 ++
 gdb/configure                               |   53 ++++++++++++
 gdb/configure.ac                            |   23 +++++
 gdb/defs.h                                  |    6 ++
 gdb/doc/ChangeLog                           |   10 +++
 gdb/doc/gdb.texinfo                         |   11 ++-
 gdb/gdbserver/ChangeLog                     |    4 +
 gdb/gdbserver/thread-db.c                   |   11 ++-
 gdb/linux-nat.c                             |    5 +-
 gdb/linux-thread-db.c                       |   21 ++++-
 gdb/main.c                                  |   23 +++---
 gdb/symfile.c                               |   10 +--
 gdb/symfile.h                               |    2 +-
 gdb/testsuite/ChangeLog                     |   12 +++
 gdb/testsuite/gdb.base/readline-ask.c       |   23 +++++
 gdb/testsuite/gdb.base/readline-ask.exp     |  118 +++++++++++++++++++++++++++
 gdb/testsuite/gdb.base/readline-ask.inputrc |   16 ++++
 gdb/testsuite/lib/gdb.exp                   |   25 ++----
 gdb/version.in                              |    2 +-
 sim/bfin/ChangeLog                          |    5 +
 sim/bfin/dv-bfin_uart2.c                    |    1 +
 sim/testsuite/ChangeLog                     |    7 ++
 sim/testsuite/sim/arm/iwmmxt/wcmpgt.cgs     |    1 +
 sim/testsuite/sim/arm/iwmmxt/wmac.cgs       |    1 +
 sim/testsuite/sim/arm/iwmmxt/wsra.cgs       |    1 +
 sim/testsuite/sim/arm/xscale/blx.cgs        |    1 +
 39 files changed, 440 insertions(+), 55 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/readline-ask.c
 create mode 100644 gdb/testsuite/gdb.base/readline-ask.exp
 create mode 100644 gdb/testsuite/gdb.base/readline-ask.inputrc

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 84903f5..028f718 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2011-05-08  Doug Kwan  <dougkwan@google.com>
+
+	Merge from gcc:
+
+	2011-05-08  Doug Kwan  <dougkwan@google.com>
+
+		* configure.ac: Propagate LDFLAGS_FOR_TARGET.
+		* configure: Regenerated.
+		* Makefile.tpl (LDFLAGS_FOR_TARGET): Use LDFLAGS_FOR_TARGET
+		value from configure.
+		* Makefile.in: Regenerated.
+
 2011-05-05  Joseph Myers  <joseph@codesourcery.com>
 
 	* configure.ac (alpha*-dec-osf*, i[[3456789]]86-*-rdos*,
diff --git a/Makefile.in b/Makefile.in
index 5cc0356..944839b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -541,7 +541,7 @@ CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
 
 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
-LDFLAGS_FOR_TARGET = 
+LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
 GOCFLAGS_FOR_TARGET = -O2 -g
 
 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
diff --git a/Makefile.tpl b/Makefile.tpl
index f7312d9..0b2b3d8 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -494,7 +494,7 @@ CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
 
 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
-LDFLAGS_FOR_TARGET = 
+LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
 GOCFLAGS_FOR_TARGET = -O2 -g
 
 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0687337..526dd83 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* elf.c (elfcore_grok_psinfo): Initialize CORE_PID for both native and
+	32bit psinfo.
+	* elf32-ppc.c (ppc_elf_grok_psinfo): Initialize core_pid.
+	* elf64-ppc.c (ppc64_elf_grok_psinfo): Likewise.
+
 2011-05-09  Paul Brook  <paul@codesourcery.com>
 
 	* bfd-in.h (elf32_tic6x_fix_exidx_coverage): Add prototype.
diff --git a/bfd/elf.c b/bfd/elf.c
index 6fccf42..966ada0 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -8000,6 +8000,7 @@ elfcore_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
 
       memcpy (&psinfo, note->descdata, sizeof (psinfo));
 
+      elf_tdata (abfd)->core_pid = psinfo.pr_pid;
       elf_tdata (abfd)->core_program
 	= _bfd_elfcore_strndup (abfd, psinfo.pr_fname,
 				sizeof (psinfo.pr_fname));
@@ -8016,6 +8017,7 @@ elfcore_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
 
       memcpy (&psinfo, note->descdata, sizeof (psinfo));
 
+      elf_tdata (abfd)->core_pid = psinfo.pr_pid;
       elf_tdata (abfd)->core_program
 	= _bfd_elfcore_strndup (abfd, psinfo.pr_fname,
 				sizeof (psinfo.pr_fname));
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index c736375..42d9b46 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -1881,6 +1881,8 @@ ppc_elf_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
       return FALSE;
 
     case 128:		/* Linux/PPC elf_prpsinfo.  */
+      elf_tdata (abfd)->core_pid
+	= bfd_get_32 (abfd, note->descdata + 16);
       elf_tdata (abfd)->core_program
 	= _bfd_elfcore_strndup (abfd, note->descdata + 32, 16);
       elf_tdata (abfd)->core_command
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 543a727..1394ff5 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -2670,6 +2670,8 @@ ppc64_elf_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
   if (note->descsz != 136)
     return FALSE;
 
+  elf_tdata (abfd)->core_pid
+    = bfd_get_32 (abfd, note->descdata + 24);
   elf_tdata (abfd)->core_program
     = _bfd_elfcore_strndup (abfd, note->descdata + 40, 16);
   elf_tdata (abfd)->core_command
diff --git a/bfd/version.h b/bfd/version.h
index f3bfdc9..43b0ff6 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110509
+#define BFD_VERSION_DATE 20110511
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/configure b/configure
index cb341f9..30d6945 100755
--- a/configure
+++ b/configure
@@ -634,6 +634,7 @@ target_configargs
 host_configargs
 build_configargs
 BUILD_CONFIG
+LDFLAGS_FOR_TARGET
 CXXFLAGS_FOR_TARGET
 CFLAGS_FOR_TARGET
 DEBUG_PREFIX_CFLAGS_FOR_TARGET
@@ -6625,6 +6626,8 @@ if test "x$CXXFLAGS_FOR_TARGET" = x; then
 fi
 
 
+
+
 # Handle --with-headers=XXX.  If the value is not "yes", the contents of
 # the named directory are copied to $(tooldir)/sys-include.
 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
diff --git a/configure.ac b/configure.ac
index 0ac9030..3960694 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2110,6 +2110,8 @@ if test "x$CXXFLAGS_FOR_TARGET" = x; then
 fi
 AC_SUBST(CXXFLAGS_FOR_TARGET)
 
+AC_SUBST(LDFLAGS_FOR_TARGET)
+
 # Handle --with-headers=XXX.  If the value is not "yes", the contents of
 # the named directory are copied to $(tooldir)/sys-include.
 if test x"${with_headers}" != x && test x"${with_headers}" != xno ; then
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0d9b20f..b98297c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,35 @@
+2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Make addrs->SECTINDEX always defined.
+	* symfile.c (relative_addr_info_to_section_offsets): Check for
+	SECTINDEX -1, not for zero ADDR.
+	(addrs_section_compar): Remove checking for invalid SECTINDEX.
+	(addr_info_make_relative): Set SECTINDEX to -1 for unmatched entries.
+	* symfile.h (struct section_addr_info) <sectindex>: Update the comment
+	on its validity.
+
+2011-05-10  Doug Evans  <dje@google.com>
+
+	* linux-thread-db.c: Whitespace cleanup.
+	(try_thread_db_load_1): Fix comment.
+
+	* linux-thread-db.c (set_libthread_db_search_path): New function.
+	(_initialize_thread_db): Add setter for libthread-db-search-path.
+
+2011-05-09  Doug Evans  <dje@google.com>
+
+	* NEWS: Mention --with-iconv-bin.
+	* configure.ac: New option --with-iconv-bin.
+	* configure: Regenerate.
+	* config.in: Regenerate.
+	* defs.h (relocate_gdb_directory): Declare.
+	* main.c (relocate_gdb_directory): Renamed from relocate_directory,
+	removed progname parameter, and exported.  All callers updated.
+	* charset.c (find_charset_names): Use --with-iconv-bin if specified.
+
+	* linux-nat.c (lin_lwp_attach_lwp): For !WIPSTOPPED case,
+	adding missing call to restore_child_signals_mask.
+
 2011-05-09  Pedro Alves  <pedro@codesourcery.com>
 
 	* inferior.h (wait_for_inferior): Remove `thread_exec_as_sigtrap'
diff --git a/gdb/NEWS b/gdb/NEWS
index 9b59419..e735293 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,12 @@
 
 *** Changes since GDB 7.3
 
+* New configure option --with-iconv-bin.
+  When using the internationalization support like the one in the GNU C
+  library, GDB will invoke the "iconv" program to get a list of supported
+  character sets.  If this program lives in a non-standard location, one can
+  use this option to specify where to find it.
+
 * When natively debugging programs on PowerPC BookE processors running
   a Linux kernel version 2.6.34 or later, GDB supports masked hardware
   watchpoints, which specify a mask in addition to an address to watch.
diff --git a/gdb/charset.c b/gdb/charset.c
index a84085a..b85758b 100644
--- a/gdb/charset.c
+++ b/gdb/charset.c
@@ -799,7 +799,9 @@ find_charset_names (void)
   char *args[3];
   int err, status;
   int fail = 1;
+  int flags;
   struct gdb_environ *iconv_env;
+  char *iconv_program;
 
   /* Older iconvs, e.g. 2.2.2, don't omit the intro text if stdout is
      not a tty.  We need to recognize it and ignore it.  This text is
@@ -811,12 +813,26 @@ find_charset_names (void)
 
   child = pex_init (PEX_USE_PIPES, "iconv", NULL);
 
-  args[0] = "iconv";
+#ifdef ICONV_BIN
+  {
+    char *iconv_dir = relocate_gdb_directory (ICONV_BIN,
+					      ICONV_BIN_RELOCATABLE);
+    iconv_program = concat (iconv_dir, SLASH_STRING, "iconv", NULL);
+    xfree (iconv_dir);
+  }
+#else
+  iconv_program = xstrdup ("iconv");
+#endif
+  args[0] = iconv_program;
   args[1] = "-l";
   args[2] = NULL;
+  flags = PEX_STDERR_TO_STDOUT;
+#ifndef ICONV_BIN
+  flags |= PEX_SEARCH;
+#endif
   /* Note that we simply ignore errors here.  */
-  if (!pex_run_in_environment (child, PEX_SEARCH | PEX_STDERR_TO_STDOUT,
-			       "iconv", args, environ_vector (iconv_env),
+  if (!pex_run_in_environment (child, flags,
+			       args[0], args, environ_vector (iconv_env),
 			       NULL, NULL, &err))
     {
       FILE *in = pex_read_output (child, 0);
@@ -888,6 +904,7 @@ find_charset_names (void)
 
     }
 
+  xfree (iconv_program);
   pex_free (child);
   free_environ (iconv_env);
 
diff --git a/gdb/config.in b/gdb/config.in
index 01ba750..db00195 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -716,6 +716,12 @@
 /* Define to 1 if you have the `_mcleanup' function. */
 #undef HAVE__MCLEANUP
 
+/* Path of directory of iconv program. */
+#undef ICONV_BIN
+
+/* Define if the iconv directory should be relocated when GDB is moved. */
+#undef ICONV_BIN_RELOCATABLE
+
 /* Define as const if the declaration of iconv() needs const. */
 #undef ICONV_CONST
 
diff --git a/gdb/configure b/gdb/configure
index 92818a0..bf6ac01 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -961,6 +961,7 @@ with_pkgversion
 with_bugurl
 with_zlib
 with_libiconv_prefix
+with_iconv_bin
 with_system_readline
 with_expat
 with_gnu_ld
@@ -1660,6 +1661,7 @@ Optional Packages:
   --with-zlib             include zlib support (auto/yes/no) default=auto
   --with-libiconv-prefix=DIR
                           search for libiconv in DIR/include and DIR/lib
+  --with-iconv-bin=PATH   specify where to find the iconv program
   --with-system-readline  use installed readline library
   --with-expat            include expat support (auto/yes/no)
   --with-gnu-ld           assume the C compiler uses GNU ld default=no
@@ -9523,6 +9525,57 @@ _ACEOF
   fi
 
 
+# GDB may fork/exec the iconv program to get the list of supported character
+# sets.  Allow the user to specify where to find it.
+# There are several factors affecting the choice of option name:
+# - There is already --with-libiconv-prefix but we can't use it, it specifies
+#   the build-time location of libiconv files.
+# - The program we need to find is iconv, which comes with glibc.  The user
+#   doesn't necessarily have libiconv installed.  Therefore naming this
+#   --with-libiconv-foo feels wrong.
+# - We want the path to be relocatable, but GDB_AC_DEFINE_RELOCATABLE is
+#   defined to work on directories not files (though it really doesn't know
+#   the difference).
+# - Calling this --with-iconv-prefix is perceived to cause too much confusion
+#   with --with-libiconv-prefix.
+# Putting these together is why the option name is --with-iconv-bin.
+
+
+# Check whether --with-iconv-bin was given.
+if test "${with_iconv_bin+set}" = set; then :
+  withval=$with_iconv_bin; iconv_bin="${withval}"
+
+cat >>confdefs.h <<_ACEOF
+#define ICONV_BIN "${iconv_bin}"
+_ACEOF
+
+
+  if test "x$exec_prefix" = xNONE || test "x$exec_prefix" = 'x${prefix}'; then
+     if test "x$prefix" = xNONE; then
+     	test_prefix=/usr/local
+     else
+	test_prefix=$prefix
+     fi
+  else
+     test_prefix=$exec_prefix
+  fi
+  value=0
+  case ${iconv_bin} in
+     "${test_prefix}"|"${test_prefix}/"*|\
+	'${exec_prefix}'|'${exec_prefix}/'*)
+     value=1
+     ;;
+  esac
+
+cat >>confdefs.h <<_ACEOF
+#define ICONV_BIN_RELOCATABLE $value
+_ACEOF
+
+
+
+fi
+
+
 # On alpha-osf, it appears that libtermcap and libcurses are not compatible.
 # There is a very specific comment in /usr/include/curses.h explaining that
 # termcap routines built into libcurses must not be used.
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 96e0a7b..a42ce27 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -433,6 +433,29 @@ AC_SEARCH_LIBS(dlgetmodinfo, [dl xpdl])
 
 AM_ICONV
 
+# GDB may fork/exec the iconv program to get the list of supported character
+# sets.  Allow the user to specify where to find it.
+# There are several factors affecting the choice of option name:
+# - There is already --with-libiconv-prefix but we can't use it, it specifies
+#   the build-time location of libiconv files.
+# - The program we need to find is iconv, which comes with glibc.  The user
+#   doesn't necessarily have libiconv installed.  Therefore naming this
+#   --with-libiconv-foo feels wrong.
+# - We want the path to be relocatable, but GDB_AC_DEFINE_RELOCATABLE is
+#   defined to work on directories not files (though it really doesn't know
+#   the difference).
+# - Calling this --with-iconv-prefix is perceived to cause too much confusion
+#   with --with-libiconv-prefix.
+# Putting these together is why the option name is --with-iconv-bin.
+
+AC_ARG_WITH(iconv-bin,
+AS_HELP_STRING([--with-iconv-bin=PATH], [specify where to find the iconv program]),
+[iconv_bin="${withval}"
+ AC_DEFINE_UNQUOTED([ICONV_BIN], ["${iconv_bin}"],
+                    [Path of directory of iconv program.])
+ GDB_AC_DEFINE_RELOCATABLE(ICONV_BIN, iconv, ${iconv_bin})
+])
+
 # On alpha-osf, it appears that libtermcap and libcurses are not compatible.
 # There is a very specific comment in /usr/include/curses.h explaining that
 # termcap routines built into libcurses must not be used.
diff --git a/gdb/defs.h b/gdb/defs.h
index 089631c..4df2a3e 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -282,6 +282,12 @@ struct breakpoint;
 struct frame_info;
 struct gdbarch;
 
+/* From main.c.  */
+
+/* This really belong in utils.c (path-utils.c?), but it references some
+   globals that are currently only available to main.c.  */
+extern char *relocate_gdb_directory (const char *initial, int flag);
+
 /* From utils.c */
 
 extern void initialize_utils (void);
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 2eacb32..0dd6806 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,13 @@
+2011-05-10  Doug Evans  <dje@google.com>
+
+	* gdb.texinfo (Threads): If an empty path is provided for
+	libthread-db-search-path it is reset to its default value.
+	(Server): Ditto.
+
+2011-05-09  Doug Evans  <dje@google.com>
+
+	* gdb.texinfo (Requirements): Fix typo.  Mention --with-iconv-bin.
+
 2011-05-06  Sergio Durigan Junior  <sergiodj@linux.vnet.ibm.com>
 	    Thiago Jung Bauermann  <bauerman@br.ibm.com>
 
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 3618b70..9ccc48a 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -2855,7 +2855,7 @@ watchpoints in programs with multiple threads.
 If this variable is set, @var{path} is a colon-separated list of
 directories @value{GDBN} will use to search for @code{libthread_db}.
 If you omit @var{path}, @samp{libthread-db-search-path} will be reset to
-an empty list.
+its default value.
 
 On @sc{gnu}/Linux and Solaris systems, @value{GDBN} uses a ``helper''
 @code{libthread_db} library to obtain information about threads in the
@@ -16369,7 +16369,7 @@ protocol (@pxref{Remote Protocol}).
 When this command is issued, @var{path} is a colon-separated list of
 directories to search for @code{libthread_db} (@pxref{Threads,,set
 libthread-db-search-path}).  If you omit @var{path},
-@samp{libthread-db-search-path} will be reset to an empty list.
+@samp{libthread-db-search-path} will be reset to its default value.
 
 @item monitor exit
 Tell gdbserver to exit immediately.  This command should be followed by
@@ -31214,7 +31214,12 @@ Sets}) require a functioning @code{iconv} implementation.  If you are
 on a GNU system, then this is provided by the GNU C Library.  Some
 other systems also provide a working @code{iconv}.
 
-On systems with @code{iconv}, you can install GNU Libiconv.  If you
+If @value{GDBN} is using the @code{iconv} program which is installed
+in a non-standard place, you will need to tell @value{GDBN} where to find it.
+This is done with @option{--with-iconv-bin} which specifies the
+directory that contains the @code{iconv} program.
+
+On systems without @code{iconv}, you can install GNU Libiconv.  If you
 have previously installed Libiconv, you can use the
 @option{--with-libiconv-prefix} option to configure.
 
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index a29ee23..bea804d 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2011-05-10  Doug Evans  <dje@google.com>
+
+	* thread-db.c (thread_db_handle_monitor_command): Handle elided path.
+
 2011-05-04  Doug Evans  <dje@google.com>
 
 	* linux-low.c (linux_join): Skip process lookup.
diff --git a/gdb/gdbserver/thread-db.c b/gdb/gdbserver/thread-db.c
index 529516e..872151e 100644
--- a/gdb/gdbserver/thread-db.c
+++ b/gdb/gdbserver/thread-db.c
@@ -916,9 +916,14 @@ thread_db_mourn (struct process_info *proc)
 int
 thread_db_handle_monitor_command (char *mon)
 {
-  if (strncmp (mon, "set libthread-db-search-path ", 29) == 0)
+  const char *cmd = "set libthread-db-search-path";
+  size_t cmd_len = strlen (cmd);
+
+  if (strncmp (mon, cmd, cmd_len) == 0
+      && (mon[cmd_len] == '\0'
+	  || mon[cmd_len] == ' '))
     {
-      const char *cp = mon + 29;
+      const char *cp = mon + cmd_len;
 
       if (libthread_db_search_path != NULL)
 	free (libthread_db_search_path);
@@ -927,6 +932,8 @@ thread_db_handle_monitor_command (char *mon)
       while (isspace (*cp))
 	++cp;
 
+      if (*cp == '\0')
+	cp = LIBTHREAD_DB_SEARCH_PATH;
       libthread_db_search_path = xstrdup (cp);


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-05-09 15:58 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-05-09 15:58 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  2e80e1f226b199baa820d947f303d7ff663ee748 (commit)
       via  29fddbc3919c4327eac216b5bb2a3b2e39b755ad (commit)
       via  1e521e62b7af913ca049345e869d1aaa48d6f3b3 (commit)
       via  08f268fc74157d98008b0ba05b76b3793766a4f3 (commit)
       via  64a7fe012ca58546f8ac3a8e9e119dd8525e2fc1 (commit)
       via  a4dfbae0f9f5dc0e46ee85f40b126d51adfe3658 (commit)
       via  7a41fbc4aba8de23dc2a29aa13030a5a582ff60d (commit)
       via  379105a7ec6fe8cd36bf5b2ad1e9febb49db10f8 (commit)
       via  70cf57d22406d7121f208edd52d9dcd948005d71 (commit)
       via  5b03e562e94fb9f47d06eaa84a545d8a59790fc3 (commit)
       via  e8730e342adba8df16a8fefc825a5aa77b25e1a0 (commit)
       via  d8611b92fea23d0c9fecff6c64e9045dc4e7a698 (commit)
       via  90014928b47148f7e0c798e8a68ba0bda6b8c88e (commit)
       via  349ff122b4133fe96ee413e3d30e16a6da53353c (commit)
       via  dffe1b7ed0ffaba601a2b50afa509f67fa5631f9 (commit)
       via  ea5ac2a8cf80109dcf8f470b932cfb25013025f3 (commit)
       via  f0a0cc334fd5716ef73b69516bd165d3cb189a9e (commit)
       via  0821ef12d3343f090d97e713ebe1df7ba8e0289d (commit)
       via  43e6dac5230dbea21b7ee8a3707a24994e61ec4a (commit)
       via  a5aaa51d6b9401e50112ea0d1856aa7717cc7f9e (commit)
       via  332339a37039332227ae5ddfdbcaba3e34610ae7 (commit)
       via  c78accd4892845c87c218ebd5c1dc064ae426306 (commit)
       via  bd4c18e3d77747215cfc8130d6dec07c2de6c924 (commit)
       via  a791d2bfce25572a520b541fc83c4676643a1005 (commit)
       via  4e7026907a5d8c928f131efff4310fec51a7f9bc (commit)
       via  03c22cf3bd0839b0b7456fb2ef10d53bf0a8c7a1 (commit)
       via  37d7f1f6de8a6c848b8ea2def1feacc5bd27ddc2 (commit)
       via  e75e23a1abbe62b656e1667a28e858bb99058511 (commit)
       via  efa8e67a1ea2d6f90d86efc31076f24e67940f8e (commit)
       via  d55b7fe1643f23e5eccf2fda205fccb1056bcd49 (commit)
       via  52dbcea59b9496cbbdfe0ca30c0308b16e892c0d (commit)
       via  81a2d98ab653d9e3a7e139aab6bdbaa32d7c7ee9 (commit)
       via  3cfb26853bcbf1953c526b8f8c73d449339ad2e2 (commit)
       via  41cd5ed515927048fd81034c6134610dad0a9c11 (commit)
      from  0ddb903f0475e29d4d22dcfafea139100ec1edb8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 2e80e1f226b199baa820d947f303d7ff663ee748
Merge: 0ddb903 29fddbc
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon May 9 17:58:12 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit 29fddbc3919c4327eac216b5bb2a3b2e39b755ad
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon May 9 14:25:35 2011 +0000

    2011-05-09  Pedro Alves  <pedro@codesourcery.com>
    
    	* inferior.h (wait_for_inferior): Remove `thread_exec_as_sigtrap'
    	parameter.
    	* infrun.c (proceed, start_remote): Adjust.
    	(wait_for_inferior): Remove `thread_exec_as_sigtrap' parameter,
    	and adjust to not handle it.
    	* solib-irix.c (irix_solib_create_inferior_hook): Adjust.
    	* solib-osf.c (osf_solib_create_inferior_hook): Adjust.
    	* solib-sunos.c (sunos_solib_create_inferior_hook): Adjust.
    	* solib-svr4.c (svr4_solib_create_inferior_hook): Adjust.
    	* windows-nat.c (do_initial_windows_stuff): Adjust.
    	* infcmd.c (attach_command): Adjust.
    	(notice_new_inferior): Adjust.

commit 1e521e62b7af913ca049345e869d1aaa48d6f3b3
Author: Paul Brook <paul@codesourcery.com>
Date:   Mon May 9 13:23:24 2011 +0000

    2011-05-09  Paul Brook  <paul@codesourcery.com>
    
    	bfd/
    	* bfd-in.h (elf32_tic6x_fix_exidx_coverage): Add prototype.
    	* bfd-in2.h: Regenerate.
    	* elf32-tic6x.c: Include limits.h.
    	(tic6x_unwind_edit_type, tic6x_unwind_table_edit,
    	_tic6x_elf_section_data): New.
    	(elf32_tic6x_section_data): Define.
    	(elf32_tic6x_new_section_hook): Allocate target specific data.
    	(elf32_tic6x_add_unwind_table_edit): New function.
    	(get_tic6x_elf_section_data, elf32_tic6x_adjust_exidx_size,
    	elf32_tic6x_insert_cantunwind_after, elf32_tic6x_add_low31,
    	elf32_tic6x_copy_exidx_entry): New functions.
    	(elf_backend_write_section): Define.
    
    	ld/
    	* emultempl/tic6xdsbt.em (merge_exidx_entries): New.
    	(compare_output_sec_vma): New function.
    	(gld${EMULATION_NAME}_after_allocation): New function.
    	(OPTION_NO_MERGE_EXIDX_ENTRIES): Define.
    	(PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries.
    	(PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES.
    	(LDEMUL_AFTER_ALLOCATION): Set.
    	* ld.texinfo: Document c6x --no-merge-exidx-entries.
    
    	ld/testsuite/
    	* ld-tic6x/discard-unwind.ld: New.
    	* ld-tic6x/unwind.ld: New.
    	* ld-tic6x/unwind-1.d: New test.
    	* ld-tic6x/unwind-1.s: New test.
    	* ld-tic6x/unwind-2.d: New test.
    	* ld-tic6x/unwind-2.s: New test.
    	* ld-tic6x/unwind-3.d: New test.
    	* ld-tic6x/unwind-3.s: New test.
    	* ld-tic6x/unwind-4.d: New test.
    	* ld-tic6x/unwind-4.s: New test.
    	* ld-tic6x/unwind-5.d: New test.
    	* ld-tic6x/unwind-5.s: New test.
    	* ld-tic6x/unwind-6.d: New test.

commit 08f268fc74157d98008b0ba05b76b3793766a4f3
Author: Paul Brook <paul@codesourcery.com>
Date:   Mon May 9 13:17:55 2011 +0000

    2011-05-09  Paul Brook  <paul@codesourcery.com>
    
    	bfd/
    	* elf32-tic6x.c (is_tic6x_elf_unwind_section_name,
    	elf32_tic6x_fake_sections): New functions.
    	(elf_backend_fake_sections): Define.
    
    	gas/
    	* config/tc-tic6x.c (streq): Define.
    	(tic6x_get_unwind): New.
    	(s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
    	s_tic6x_personalityindex, s_tic6x_personality): New functions.
    	(md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
    	"personality" and "cantunwind".
    	(tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
    	tic6x_start_unwind_section, tic6x_unwind_frame_regs,
    	tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
    	tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
    	tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
    	tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
    	tic6x_cfi_endproc): New.
    	* config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
    	(tic6x_unwind_info): New.
    	(tic6x_segment_info_type): Add marked_pr_dependency, unwind and
    	text_unwind.
    	(TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
    	tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
    	DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
    	tc_cfi_section_name): Define.
    	* doc/c-tic6x.texi: Document new unwinding directives.
    	* dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
    	definitions.
    	(cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
    	CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
    	Move to dw2gencfi.h.
    	(CFI_EMIT_target): Define.
    	(dot_cfi_sections): Check tc_cfi_section_name.
    	(dot_cfi_startproc): Use tc_cfi_startproc.
    	(dot_cfi_endproc): Use tc_cfi_endproc.
    	* dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
    	CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
    	CFI_val_encoded_addr):  Move to here from dw2gencfi.c.
    
    	gas/testsuite:
    	* gas/tic6x/unwind-1.d: New test.
    	* gas/tic6x/unwind-1.s: New test.
    	* gas/tic6x/unwind-2.d: New test.
    	* gas/tic6x/unwind-2.s: New test.
    	* gas/tic6x/unwind-3.d: New test.
    	* gas/tic6x/unwind-3.s: New test.
    	* gas/tic6x/unwind-bad-1.d: New test.
    	* gas/tic6x/unwind-bad-1.s: New test.
    	* gas/tic6x/unwind-bad-1.l: New test.
    	* gas/tic6x/unwind-bad-2.d: New test.
    	* gas/tic6x/unwind-bad-2.s: New test.
    	* gas/tic6x/unwind-bad-2.l: New test.
    
    	include/
    	* elf/tic6x.h (ELF_STRING_C6000_unwind,
    	ELF_STRING_C6000_unwind_info, ELF_STRING_C6000_unwind_once,
    	ELF_STRING_C6000_unwind_info_once): Define.

commit 64a7fe012ca58546f8ac3a8e9e119dd8525e2fc1
Author: Paul Brook <paul@codesourcery.com>
Date:   Mon May 9 13:12:51 2011 +0000

    2011-05-09  Paul Brook  <paul@codesourcery.com>
    
    	bfd/
    	* elf32-tic6x.c (elf32_tic6x_gc_mark_extra_sections): New function.
    	(elf_backend_gc_mark_extra_sections): Define.

commit a4dfbae0f9f5dc0e46ee85f40b126d51adfe3658
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon May 9 00:00:05 2011 +0000

    daily update

commit 7a41fbc4aba8de23dc2a29aa13030a5a582ff60d
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon May 9 00:00:02 2011 +0000

    *** empty log message ***

commit 379105a7ec6fe8cd36bf5b2ad1e9febb49db10f8
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun May 8 00:00:07 2011 +0000

    daily update

commit 70cf57d22406d7121f208edd52d9dcd948005d71
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun May 8 00:00:03 2011 +0000

    *** empty log message ***

commit 5b03e562e94fb9f47d06eaa84a545d8a59790fc3
Author: Dave Korn <dave.korn@artimi.com>
Date:   Sat May 7 14:29:08 2011 +0000

    bfd/ChangeLog:
    
    	PR ld/12365
    	* cofflink.c (bfd_coff_link_input_bfd): Check for and warn about
    	references to symbols defined in discarded sections.
    
    ld/ChangeLog:
    
    	PR ld/12365
    	* scripttempl/pe.sc (__rt_psrelocs_start): New symbol definition.
    	(__rt_psrelocs_end): Likewise.
    	(__rt_psrelocs_size): Likewise difference between the above.
    	(__RUNTIME_PSEUDO_RELOC_LIST_END__): Move outside .rdata section
    	immediately after end of pseudo-reloc data.
    	(___RUNTIME_PSEUDO_RELOC_LIST_END___): Likewise.
    	(__RUNTIME_PSEUDO_RELOC_LIST__): Move outside .rdata section and
    	calculate backward from list end.
    	(___RUNTIME_PSEUDO_RELOC_LIST___): Likewise.
    	* scripttempl/pep.sc: Likewise.
    
    ld/testsuite/ChangeLog:
    
    	PR ld/12365
    	* ld-plugin/plugin-7.d: Allow underscore in error message.
    	* ld-plugin/plugin-8.d: Likewise.

commit e8730e342adba8df16a8fefc825a5aa77b25e1a0
Author: Dave Korn <dave.korn@artimi.com>
Date:   Sat May 7 14:26:56 2011 +0000

    	PR ld/12365
    	* coffgen.c (coff_write_symbol): Assume input section is its own
    	output section if output_section member not set.
    	(coff_write_alien_symbol): Likewise.

commit d8611b92fea23d0c9fecff6c64e9045dc4e7a698
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat May 7 14:12:58 2011 +0000

    Reverse copy .ctors/.dtors sections if needed.
    
    bfd/
    
    2011-05-07  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR ld/12730
    	* elf.c (_bfd_elf_section_offset): Check SEC_ELF_REVERSE_COPY.
    
    	* elflink.c (elf_link_input_bfd): Reverse copy .ctors/.dtors
    	sections if needed.
    
    	* section.c (SEC_ELF_REVERSE_COPY): New.
    	* bfd-in2.h: Regenerated.
    
    ld/testsuite/
    
    2011-05-07  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR ld/12730
    	* ld-elf/elf.exp (array_tests): Add "pr12730".
    	(array_tests_pie): New.
    	(array_tests_static): Add -static for "static init array mixed".
    	Add "static pr12730".  Run array_tests_pie for Linux.
    
    	* ld-elf/init-mixed.c (ctor1007): Renamed to ...
    	(ctor1007a): This.
    	(ctor1007b): New.
    	(ctors1007): Remove ctor1007.  Add ctor1007b and ctor1007a.
    	(dtor1007): Renamed to ...
    	(dtor1007a): This.
    	(dtor1007b): New.
    	(dtors1007): Remove dtor1007.  Add dtor1007b and dtor1007a.
    	(ctor65535): Renamed to ...
    	(ctor65535a): This.
    	(ctor65535b): New.
    	(ctors65535): Remove ctor65535.  Add ctor65535b and ctor65535a.
    	(dtor65535): Renamed to ...
    	(dtor65535a): This.
    	(dtor65535b): New.
    	(dtors65535): Remove dtor65535.  Add dtor65535b and dtor65535a.
    
    	* ld-elf/pr12730.cc: New.
    	* ld-elf/pr12730.out: Likewise.

commit 90014928b47148f7e0c798e8a68ba0bda6b8c88e
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat May 7 13:48:50 2011 +0000

    	PR 12739
    	* libbfd.c (bfd_get_8, bfd_get_signed_8): Use const cast.
    	* bfd-in2.h: Regenerate.

commit 349ff122b4133fe96ee413e3d30e16a6da53353c
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat May 7 00:00:33 2011 +0000

    *** empty log message ***

commit dffe1b7ed0ffaba601a2b50afa509f67fa5631f9
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat May 7 00:00:05 2011 +0000

    daily update

commit ea5ac2a8cf80109dcf8f470b932cfb25013025f3
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Fri May 6 20:48:48 2011 +0000

    ChangeLog:
    
    	* ppc-linux-tdep.c (ppu2spu_prev_register): Handle pseudo registers.
    	(ppu2spu_unwind_register): Mark pseudo registers unavailable.
    	* spu-tdep.c (op_selb): Use correct value.
    
    testsuite/ChangeLog:
    
    	* gdb.cell/bt.exp: Delete breakpoints before running to signal
    	to avoid race condition.
    	* gdb.cell/coremaker.c: Use small stack size.
    	* gdb.cell/ea-standalone.exp: Use file name without path as
    	argument to c_to.
    	* gdb.cell/fork.exp: Allow other output when continuing to end.

commit f0a0cc334fd5716ef73b69516bd165d3cb189a9e
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Fri May 6 19:51:11 2011 +0000

    	* spu-linux-nat.c (spu_symbol_file_add_from_memory): Add NULL
    	"parent" parameter to symbol_file_add_from_bfd call.

commit 0821ef12d3343f090d97e713ebe1df7ba8e0289d
Author: Thiago Jung Bauermann <bauerman@br.ibm.com>
Date:   Fri May 6 18:46:31 2011 +0000

    2011-05-06  Sergio Durigan Junior  <sergiodj@linux.vnet.ibm.com>
    	    Thiago Jung Bauermann  <bauerman@br.ibm.com>
    
    	Implement support for PowerPC BookE masked watchpoints.
    
    gdb/
    	* NEWS: Mention masked watchpoint support.  Create "Changed commands"
    	section.
    	* breakpoint.h (struct breakpoint_ops) <works_in_software_mode>: New
    	method.  Initialize to NULL in all existing breakpoint_ops instances.
    	(struct breakpoint) <hw_wp_mask>: New field.
    	* breakpoint.c (is_masked_watchpoint): Add prototype.
    	(update_watchpoint): Don't set b->val for masked watchpoints.  Call
    	breakpoint's breakpoint_ops.works_in_software_mode if available.
    	(watchpoints_triggered): Handle the case of a hardware masked
    	watchpoint trigger.
    	(watchpoint_check): Likewise.
    	(works_in_software_mode_watchpoint): New function.
    	(insert_masked_watchpoint, remove_masked_watchpoint)
    	(resources_needed_masked_watchpoint)
    	(works_in_software_mode_masked_watchpoint, print_it_masked_watchpoint)
    	(print_one_detail_masked_watchpoint, print_mention_masked_watchpoint)
    	(print_recreate_masked_watchpoint, is_masked_watchpoint): New
    	functions.
    	(masked_watchpoint_breakpoint_ops): New structure.
    	(watch_command_1): Check for the existence of the `mask' parameter.
    	Set b->ops according to the type of hardware watchpoint being created.
    	* ppc-linux-nat.c (ppc_linux_insert_mask_watchpoint)
    	(ppc_linux_remove_mask_watchpoint)
    	(ppc_linux_masked_watch_num_registers): New functions.
    	(_initialize_ppc_linux_nat): Initialize to_insert_mask_watchpoint,
    	to_remove_mask_watchpoint and to_masked_watch_num_registers.
    	* target.c (update_current_target): Mention to_insert_mask_watchpoint,
    	to_remove_mask_watchpoint, and to_masked_watch_num_registers.
    	(target_insert_mask_watchpoint, target_remove_mask_watchpoint)
    	(target_masked_watch_num_registers): New functions.
    	* target.h (struct target_ops) <to_insert_mask_watchpoint>,
    	<to_remove_mask_watchpoint>, <to_masked_watch_num_registers>: New
    	methods.
    	(target_insert_mask_watchpoint, target_remove_mask_watchpoint)
    	(target_masked_watch_num_registers): Add prototypes.
    
    gdb/doc/
    	* gdb.texinfo (Set Watchpoints): Document mask parameter.
    	(PowerPC Embedded): Mention support of masked watchpoints.

commit 43e6dac5230dbea21b7ee8a3707a24994e61ec4a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri May 6 16:03:51 2011 +0000

    gdb/testsuite/
    	* gdb.threads/corethreads.c: New file.
    	* gdb.threads/corethreads.exp: New file.

commit a5aaa51d6b9401e50112ea0d1856aa7717cc7f9e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri May 6 16:01:39 2011 +0000

    gdb/testsuite/
    	* gdb.threads/gcore-thread.exp (objfile, opts): New variables.
    	Try to compile the test using -Wl,-z,norelro first.
    	(load_core): New variable libthread_db_seen, initialize it.
    	(zeroed-threads cannot be listed): Protect it by XFAIL on
    	!$libthread_db_seen.

commit 332339a37039332227ae5ddfdbcaba3e34610ae7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri May 6 15:06:41 2011 +0000

    gdb/
    	PR 12573
    	* dwarf2read.c (struct dwarf2_cu): New field has_loclist.
    	(producer_is_gcc_ge_4_0): New function.
    	(process_full_comp_unit): Set also symtab->locations_valid.  Move the
    	symtab->language code.
    	(var_decode_location): Set cu->has_loclist.
    	* symtab.c (skip_prologue_sal): New variables saved_pc, force_skip and
    	skip.  Intialize force_skip from locations_valid.  Move the prologue
    	skipping code into two passes.
    	* symtab.h (struct symtab): Make the primary field a bitfield.  New
    	field locations_valid.
    
    gdb/testsuite/
    	PR 12573
    	* gdb.dwarf2/dw2-skip-prologue.S: New file.
    	* gdb.dwarf2/dw2-skip-prologue.c: New file.
    	* gdb.dwarf2/dw2-skip-prologue.exp: New file.

commit c78accd4892845c87c218ebd5c1dc064ae426306
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri May 6 14:12:16 2011 +0000

    gdb/
    	* c-exp.y (qualified_name): Call destructor_name_p with $1.type.
    	(classify_inner_name): Call cp_lookup_nested_type with
    	yylval.tsym.type.
    	* cp-namespace.c (cp_lookup_nested_type): New variable
    	saved_parent_type.  Call CHECK_TYPEDEF for parent_type.  Call
    	type_name_no_tag_or_error with saved_parent_type.
    	* dwarf2read.c (load_partial_dies): Read in any children of
    	DW_TAG_typedef with complaint in such case.
    	* gdbtypes.c (type_name_no_tag_or_error): New function.
    	* gdbtypes.h (type_name_no_tag_or_error): New prototype.
    	* valops.c (destructor_name_p): New comment for parameter type.  Remove
    	type const.  Make dname and cp const.  Call type_name_no_tag_or_error.
    	* value.h (destructor_name_p): Remove type const.

commit bd4c18e3d77747215cfc8130d6dec07c2de6c924
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri May 6 13:47:05 2011 +0000

    gdb/
    	* symtab.c (compare_symbol_name): New function.
    	(completion_list_add_name, expand_partial_symbol_name): Call it,
    	remove the variable ncmp.
    	(default_make_symbol_completion_list_break_on): Reduce SYM_TEXT_LEN,
    	gdb_assert it.
    
    gdb/testsuite/
    	* gdb.cp/psymtab-parameter.cc: New file.
    	* gdb.cp/psymtab-parameter.exp: New file.

commit a791d2bfce25572a520b541fc83c4676643a1005
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri May 6 13:38:35 2011 +0000

    gdb/testsuite/
    	Fix a race.
    	* gdb.cp/static-print-quit.exp (print c): Split to ...
    	(print c - <return>, print c - q <return>, print c - to quit):
    	... these.  Make the testfile untested on gdb-7.1.

commit 4e7026907a5d8c928f131efff4310fec51a7f9bc
Author: Tristan Gingold <gingold@adacore.com>
Date:   Fri May 6 10:41:11 2011 +0000

    2011-05-06  Tristan Gingold  <gingold@adacore.com>
    
    	* vms-alpha.c (evax_section_flags): Remove SEC_IN_MEMORY.
    	(_bfd_vms_slurp_egsd): Rename old_flags to vms_flags.  Handle
    	any code section.  Add comments.
    	(alpha_vms_object_p): Use void * instead of PTR.
    	(alpha_vms_create_eisd_for_section): Fix test for setting DZRO.
    	(build_module_list): Guard against no DST section.  Add comments.
    	(alpha_vms_link_output_symbol): Discard undefined symbols.
    	(alpha_vms_get_section_contents): Simply memcpy if the section was
    	already loaded.  Fix typo.
    	(vms_new_section_hook): Use void * instead of PTR.
    	(vms_alpha_vec): Ditto.

commit 03c22cf3bd0839b0b7456fb2ef10d53bf0a8c7a1
Author: Richard Sandiford <rsandifo@nildram.co.uk>
Date:   Fri May 6 10:21:26 2011 +0000

    bfd/
    	* elf32-arm.c (cortex_a8_erratum_scan): If the stub is a Thumb
    	branch to a PLT entry, redirect it to the PLT's Thumb entry point.
    
    ld/testsuite/
    	* ld-arm/cortex-a8-fix-b-plt.s, ld-arm/cortex-a8-fix-b-plt.d,
    	ld-arm/cortex-a8-fix-bcc-plt.s, ld-arm/cortex-a8-fix-bcc-plt.d,
    	ld-arm/cortex-a8-fix-bl-plt.s, ld-arm/cortex-a8-fix-bl-plt.d,
    	ld-arm/cortex-a8-fix-blx-plt.s, ld-arm/cortex-a8-fix-blx-plt.d,
    	ld-arm/cortex-a8-fix-plt.ld: New tests.
    	* ld-arm/arm-elf.exp: Run them.

commit 37d7f1f6de8a6c848b8ea2def1feacc5bd27ddc2
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri May 6 00:00:06 2011 +0000

    daily update

commit e75e23a1abbe62b656e1667a28e858bb99058511
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri May 6 00:00:03 2011 +0000

    *** empty log message ***

commit efa8e67a1ea2d6f90d86efc31076f24e67940f8e
Author: Thiago Jung Bauermann <bauerman@br.ibm.com>
Date:   Thu May 5 22:52:09 2011 +0000

    	Demote to sw watchpoint only in update_watchpoint.
    	* breakpoint.c (update_watchpoint): Change between software and
    	hardware watchpoint for all kinds of watchpoints, not just
    	read/write ones.  Determine b->exact value here instead of
    	in watch_command_1.  Error out if there are not enough resources
    	for a read or access hardware watchpoint.
    	(watch_command_1): Remove logic of checking whether there are
    	enough resources available, since update_watchpoint will do that
    	work now.  Don't set b->exact here.  Catch exceptions thrown by
    	update_watchpoint and delete the watchpoint.
    	(can_use_hardware_watchpoint): Remove exact_watchpoints argument.
    	Use target_exact_watchpoints instead.
    	(delete_breakpoint): Notify observers only if deleted watchpoint
    	has a breakpoint number assigned to it.

commit d55b7fe1643f23e5eccf2fda205fccb1056bcd49
Author: janis <janis>
Date:   Thu May 5 16:31:05 2011 +0000

    fix typo

commit 52dbcea59b9496cbbdfe0ca30c0308b16e892c0d
Author: janis <janis>
Date:   Thu May 5 16:29:57 2011 +0000

    	* lib/gdb.exp (exec_target_file, exec_symbol_file,
    	gdb_rename_execfile, gdb_touch_execfile): New.
    	* gdb.base/reread.exp: Use new procs to handle multiple
    	exec files.

commit 81a2d98ab653d9e3a7e139aab6bdbaa32d7c7ee9
Author: janis <janis>
Date:   Thu May 5 16:26:25 2011 +0000

    	* MAINTAINERS: Add myself as a write-after-approval maintainer.

commit 3cfb26853bcbf1953c526b8f8c73d449339ad2e2
Author: Bernd Schmidt <bernd.schmidt@analog.com>
Date:   Thu May 5 16:05:16 2011 +0000

    bfd/
    	* elf32-tic6x.c (elf32_tic6x_final_link): New function.
    	(elf32_tic6x_merge_attributes): Do not warn for PID or PIC
    	mismatch.  Choose the lower of the two values.
    	(bfd_elf32_bfd_final_link): New macro.
    
    ld/testsuite/
    	* ld-tic6x/shared-nopic.d: New test.
    	* ld-tic6x/shared-nopid.d: New test.
    	* ld-tic6x/attr-pid-21.d: Don't expect a warning; check readelf
    	output instead.
    	* ld-tic6x/attr-pid-12.d: Likewise.
    	* ld-tic6x/attr-pic-01.d: Likewise.
    	* ld-tic6x/attr-pic-10.d: Likewise.
    	* ld-tic6x/attr-pid-01.d: Likewise.
    	* ld-tic6x/attr-pid-10.d: Likewise.
    	* ld-tic6x/attr-pid-02.d: Likewise.
    	* ld-tic6x/attr-pid-20.d: Likewise.
    	* ld-tic6x/got-reloc-inrange.d: Pass -mpic and -mpid options to gas.

commit 41cd5ed515927048fd81034c6134610dad0a9c11
Author: Jerome Guitton <guitton@adacore.com>
Date:   Thu May 5 15:57:31 2011 +0000

    2011-05-05  Jerome Guitton  <guitton@adacore.com>
    
    	* i386-tdep.c (i386_in_stack_tramp_p, i386_stack_tramp_frame_sniffer):
    	New functions.
    	(i386_stack_tramp_frame_unwind): New static global.
    	(i386_match_pattern): New function, extracted from i386_match_insn.
    	(i386_match_insn): Use i386_match_pattern.
    	(i386_match_insn_block): New function.
    	(i386_tramp_chain_in_reg_insns)
    	(i386_tramp_chain_on_stack_insns): New static variables.
    	(i386_gdbarch_init): Add i386_stack_tramp_frame_unwind to list
    	of unwinders.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                                      |   82 +++
 bfd/bfd-in.h                                       |    4 +
 bfd/bfd-in2.h                                      |   13 +-
 bfd/coffgen.c                                      |   13 +-
 bfd/cofflink.c                                     |   29 +
 bfd/elf.c                                          |    6 +
 bfd/elf32-arm.c                                    |    8 +-
 bfd/elf32-tic6x.c                                  |  589 +++++++++++++++++++-
 bfd/elflink.c                                      |   80 +++-
 bfd/libbfd.c                                       |    4 +-
 bfd/section.c                                      |    5 +
 bfd/version.h                                      |    2 +-
 bfd/vms-alpha.c                                    |   62 ++-
 gdb/ChangeLog                                      |  138 +++++
 gdb/MAINTAINERS                                    |    1 +
 gdb/NEWS                                           |   14 +
 gdb/ada-lang.c                                     |    3 +
 gdb/breakpoint.c                                   |  501 +++++++++++++----
 gdb/breakpoint.h                                   |    8 +
 gdb/c-exp.y                                        |    4 +-
 gdb/cp-namespace.c                                 |    8 +-
 gdb/doc/ChangeLog                                  |    7 +
 gdb/doc/gdb.texinfo                                |   28 +-
 gdb/dwarf2read.c                                   |   89 +++-
 gdb/gdbtypes.c                                     |   26 +
 gdb/gdbtypes.h                                     |    2 +
 gdb/i386-tdep.c                                    |  179 +++++-
 gdb/infcmd.c                                       |    4 +-
 gdb/inferior.h                                     |    2 +-
 gdb/infrun.c                                       |   21 +-
 gdb/ppc-linux-nat.c                                |   81 +++
 gdb/ppc-linux-tdep.c                               |   11 +-
 gdb/solib-irix.c                                   |    2 +-
 gdb/solib-osf.c                                    |    2 +-
 gdb/solib-sunos.c                                  |    2 +-
 gdb/solib-svr4.c                                   |    2 +-
 gdb/spu-linux-nat.c                                |    2 +-
 gdb/spu-tdep.c                                     |    2 +-
 gdb/symtab.c                                       |  159 ++++--
 gdb/symtab.h                                       |    8 +-
 gdb/target.c                                       |   72 +++
 gdb/target.h                                       |   26 +
 gdb/testsuite/ChangeLog                            |   48 ++
 gdb/testsuite/gdb.base/reread.exp                  |   16 +-
 gdb/testsuite/gdb.cell/bt.exp                      |    1 +
 gdb/testsuite/gdb.cell/coremaker.c                 |    9 +-
 gdb/testsuite/gdb.cell/ea-standalone.exp           |    4 +-
 gdb/testsuite/gdb.cell/fork.exp                    |    2 +-
 gdb/testsuite/gdb.cp/psymtab-parameter.cc          |   22 +
 ...static-print-quit.exp => psymtab-parameter.exp} |   37 +-
 gdb/testsuite/gdb.cp/static-print-quit.exp         |   25 +-
 gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.S       |  391 +++++++++++++
 gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.c       |   58 ++
 gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.exp     |   74 +++
 gdb/testsuite/gdb.threads/corethreads.c            |   47 ++
 gdb/testsuite/gdb.threads/corethreads.exp          |   58 ++
 gdb/testsuite/gdb.threads/gcore-thread.exp         |   25 +-
 gdb/testsuite/lib/gdb.exp                          |   48 ++
 gdb/valops.c                                       |   10 +-
 gdb/value.h                                        |    2 +-
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |    2 +-
 include/ChangeLog                                  |    6 +
 include/elf/tic6x.h                                |    6 +
 64 files changed, 2854 insertions(+), 340 deletions(-)
 create mode 100644 gdb/testsuite/gdb.cp/psymtab-parameter.cc
 copy gdb/testsuite/gdb.cp/{static-print-quit.exp => psymtab-parameter.exp} (50%)
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.c
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-skip-prologue.exp
 create mode 100644 gdb/testsuite/gdb.threads/corethreads.c
 create mode 100644 gdb/testsuite/gdb.threads/corethreads.exp

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7af29f0..0687337 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,85 @@
+2011-05-09  Paul Brook  <paul@codesourcery.com>
+
+	* bfd-in.h (elf32_tic6x_fix_exidx_coverage): Add prototype.
+	* bfd-in2.h: Regenerate.
+	* elf32-tic6x.c: Include limits.h.
+	(tic6x_unwind_edit_type, tic6x_unwind_table_edit,
+	_tic6x_elf_section_data): New.
+	(elf32_tic6x_section_data): Define.
+	(elf32_tic6x_new_section_hook): Allocate target specific data.
+	(elf32_tic6x_add_unwind_table_edit): New function.
+	(get_tic6x_elf_section_data, elf32_tic6x_adjust_exidx_size,
+	elf32_tic6x_insert_cantunwind_after, elf32_tic6x_add_low31,
+	elf32_tic6x_copy_exidx_entry): New functions.
+	(elf_backend_write_section): Define.
+
+2011-05-09  Paul Brook  <paul@codesourcery.com>
+
+	* elf32-tic6x.c (is_tic6x_elf_unwind_section_name,
+	elf32_tic6x_fake_sections): New functions.
+	(elf_backend_fake_sections): Define.
+
+2011-05-09  Paul Brook  <paul@codesourcery.com>
+
+	* elf32-tic6x.c (elf32_tic6x_gc_mark_extra_sections): New function.
+	(elf_backend_gc_mark_extra_sections): Define.
+
+2011-05-07  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+	PR ld/12365
+	* cofflink.c (bfd_coff_link_input_bfd): Check for and warn about
+	references to symbols defined in discarded sections.
+
+2011-05-07  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+	PR ld/12365
+	* coffgen.c (coff_write_symbol): Assume input section is its own
+	output section if output_section member not set.
+	(coff_write_alien_symbol): Likewise.
+
+2011-05-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/12730
+	* elf.c (_bfd_elf_section_offset): Check SEC_ELF_REVERSE_COPY.
+
+	* elflink.c (elf_link_input_bfd): Reverse copy .ctors/.dtors
+	sections if needed. 
+
+	* section.c (SEC_ELF_REVERSE_COPY): New.
+	* bfd-in2.h: Regenerated.
+
+2011-05-07  Anders Kaseorg  <andersk@ksplice.com>
+
+	PR 12739
+	* libbfd.c (bfd_get_8, bfd_get_signed_8): Use const cast.
+	* bfd-in2.h: Regenerate.
+
+2011-05-06  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-alpha.c (evax_section_flags): Remove SEC_IN_MEMORY.
+	(_bfd_vms_slurp_egsd): Rename old_flags to vms_flags.  Handle
+	any code section.  Add comments.
+	(alpha_vms_object_p): Use void * instead of PTR.
+	(alpha_vms_create_eisd_for_section): Fix test for setting DZRO.
+	(build_module_list): Guard against no DST section.  Add comments.
+	(alpha_vms_link_output_symbol): Discard undefined symbols.
+	(alpha_vms_get_section_contents): Simply memcpy if the section was
+	already loaded.  Fix typo.
+	(vms_new_section_hook): Use void * instead of PTR.
+	(vms_alpha_vec): Ditto.
+
+2011-05-06  Richard Sandiford  <richard.sandiford@linaro.org>
+
+	* elf32-arm.c (cortex_a8_erratum_scan): If the stub is a Thumb
+	branch to a PLT entry, redirect it to the PLT's Thumb entry point.
+
+2011-05-05  Bernd Schmidt  <bernds@codesourcery.com>
+
+	* elf32-tic6x.c (elf32_tic6x_final_link): New function.
+	(elf32_tic6x_merge_attributes): Do not warn for PID or PIC
+	mismatch.  Choose the lower of the two values.
+	(bfd_elf32_bfd_final_link): New macro.
+
 2011-04-28  Tristan Gingold  <gingold@adacore.com>
 
 	* coff-rs6000.c (_bfd_xcoff_swap_aux_in): Adjust for x_file.
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index d536897..21b7cc2 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -912,6 +912,10 @@ extern bfd_boolean elf32_arm_build_stubs
 extern bfd_boolean elf32_arm_fix_exidx_coverage
 (struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
 
+/* C6x unwind section editing support.  */
+extern bfd_boolean elf32_tic6x_fix_exidx_coverage
+(struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
+
 /* PowerPC @tls opcode transform/validate.  */
 extern unsigned int _bfd_elf_ppc_at_tls_transform
   (unsigned int, unsigned int);
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 76836b1..4fd71e6 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -919,6 +919,10 @@ extern bfd_boolean elf32_arm_build_stubs
 extern bfd_boolean elf32_arm_fix_exidx_coverage
 (struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
 
+/* C6x unwind section editing support.  */
+extern bfd_boolean elf32_tic6x_fix_exidx_coverage
+(struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
+
 /* PowerPC @tls opcode transform/validate.  */
 extern unsigned int _bfd_elf_ppc_at_tls_transform
   (unsigned int, unsigned int);
@@ -1029,9 +1033,9 @@ bfd_boolean bfd_fill_in_gnu_debuglink_section
 #define bfd_put_signed_8 \
   bfd_put_8
 #define bfd_get_8(abfd, ptr) \
-  (*(unsigned char *) (ptr) & 0xff)
+  (*(const unsigned char *) (ptr) & 0xff)
 #define bfd_get_signed_8(abfd, ptr) \
-  (((*(unsigned char *) (ptr) & 0xff) ^ 0x80) - 0x80)
+  (((*(const unsigned char *) (ptr) & 0xff) ^ 0x80) - 0x80)
 
 #define bfd_put_16(abfd, val, ptr) \
   BFD_SEND (abfd, bfd_putx16, ((val),(ptr)))
@@ -1320,6 +1324,11 @@ typedef struct bfd_section
      sections.  */
 #define SEC_COFF_SHARED_LIBRARY 0x4000000
 
+  /* This input section should be copied to output in reverse order
+     as an array of pointers.  This is for ELF linker internal use
+     only.  */
+#define SEC_ELF_REVERSE_COPY 0x4000000
+
   /* This section contains data which may be shared with other
      executables or shared objects. This is for COFF only.  */
 #define SEC_COFF_SHARED 0x8000000
diff --git a/bfd/coffgen.c b/bfd/coffgen.c
index fc82d57..b0c2c62 100644
--- a/bfd/coffgen.c
+++ b/bfd/coffgen.c
@@ -915,6 +915,9 @@ coff_write_symbol (bfd *abfd,
   unsigned int numaux = native->u.syment.n_numaux;
   int type = native->u.syment.n_type;
   int n_sclass = (int) native->u.syment.n_sclass;
+  asection *output_section = symbol->section->output_section
+			       ? symbol->section->output_section
+			       : symbol->section;
   void * buf;
   bfd_size_type symesz;
 
@@ -933,7 +936,7 @@ coff_write_symbol (bfd *abfd,
 
   else
     native->u.syment.n_scnum =
-      symbol->section->output_section->target_index;
+      output_section->target_index;
 
   coff_fix_symbol_name (abfd, symbol, native, string_size_p,
 			debug_string_section_p, debug_string_size_p);
@@ -990,6 +993,9 @@ coff_write_alien_symbol (bfd *abfd,
 {
   combined_entry_type *native;
   combined_entry_type dummy;
+  asection *output_section = symbol->section->output_section
+			       ? symbol->section->output_section
+			       : symbol->section;
 
   native = &dummy;
   native->u.syment.n_type = T_NULL;
@@ -1015,12 +1021,11 @@ coff_write_alien_symbol (bfd *abfd,
     }
   else
     {
-      native->u.syment.n_scnum =
-	symbol->section->output_section->target_index;
+      native->u.syment.n_scnum = output_section->target_index;
       native->u.syment.n_value = (symbol->value
 				  + symbol->section->output_offset);
       if (! obj_pe (abfd))
-	native->u.syment.n_value += symbol->section->output_section->vma;
+	native->u.syment.n_value += output_section->vma;
 
       /* Copy the any flags from the file header into the symbol.
          FIXME: Why?  */
diff --git a/bfd/cofflink.c b/bfd/cofflink.c
index 33de7fe..fdfab1d 100644
--- a/bfd/cofflink.c
+++ b/bfd/cofflink.c
@@ -2365,6 +2365,35 @@ _bfd_coff_link_input_bfd (struct coff_final_link_info *finfo, bfd *input_bfd)
 	  if (internal_relocs == NULL)
 	    return FALSE;
 
+	  /* Run through the relocs looking for relocs against symbols
+	     coming from discarded sections and complain about them.  */
+	  irel = internal_relocs;
+	  for (; irel < &internal_relocs[o->reloc_count]; irel++)
+	    {
+	      struct coff_link_hash_entry *h;
+	      asection *ps = NULL;
+	      long symndx = irel->r_symndx;
+	      if (symndx < 0)
+		continue;
+	      h = obj_coff_sym_hashes (input_bfd)[symndx];
+	      if (h == NULL)
+		continue;
+	      while (h->root.type == bfd_link_hash_indirect
+		     || h->root.type == bfd_link_hash_warning)
+		h = (struct coff_link_hash_entry *) h->root.u.i.link;
+	      if (h->root.type == bfd_link_hash_defined
+		  || h->root.type == bfd_link_hash_defweak)
+		ps = h->root.u.def.section;
+	      if (ps == NULL)
+		continue;
+	      /* Complain if definition comes from an excluded section.  */
+	      if (ps->flags & SEC_EXCLUDE)
+		(*finfo->info->callbacks->einfo)
+		  (_("%X`%s' referenced in section `%A' of %B: "
+		     "defined in discarded section `%A' of %B\n"),
+		   h->root.root.string, o, input_bfd, ps, ps->owner);
+	    }
+
 	  /* Call processor specific code to relocate the section
              contents.  */
 	  if (! bfd_coff_relocate_section (output_bfd, finfo->info,
diff --git a/bfd/elf.c b/bfd/elf.c
index b5a1952..6fccf42 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -9379,6 +9379,12 @@ _bfd_elf_section_offset (bfd *abfd,
     case ELF_INFO_TYPE_EH_FRAME:
       return _bfd_elf_eh_frame_section_offset (abfd, info, sec, offset);
     default:
+      if ((sec->flags & SEC_ELF_REVERSE_COPY) != 0)
+	{
+	  const struct elf_backend_data *bed = get_elf_backend_data (abfd);
+	  bfd_size_type address_size = bed->s->arch_size / 8;
+	  offset = sec->size - offset - address_size;
+	}
       return offset;
     }
 }
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 035d584..faf18d0 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -4556,6 +4556,7 @@ cortex_a8_erratum_scan (bfd *input_bfd,
                   bfd_vma target;
                   enum elf32_arm_stub_type stub_type = arm_stub_none;
                   struct a8_erratum_reloc key, *found;
+                  bfd_boolean use_plt = FALSE;
 
                   key.from = base_vma + i;
                   found = (struct a8_erratum_reloc *)
@@ -4567,7 +4568,6 @@ cortex_a8_erratum_scan (bfd *input_bfd,
 		    {
 		      char *error_message = NULL;
 		      struct elf_link_hash_entry *entry;
-		      bfd_boolean use_plt = FALSE;
 
 		      /* We don't care about the error returned from this
 		         function, only if there is glue or not.  */
@@ -4671,6 +4671,12 @@ cortex_a8_erratum_scan (bfd *input_bfd,
                         offset =
 			  (bfd_signed_vma) (found->destination - pc_for_insn);
 
+                      /* If the stub will use a Thumb-mode branch to a
+                         PLT target, redirect it to the preceding Thumb
+                         entry point.  */
+                      if (stub_type != arm_stub_a8_veneer_blx && use_plt)
+                        offset -= PLT_THUMB_STUB_SIZE;
+
                       target = pc_for_insn + offset;
 
                       /* The BLX stub is ARM-mode code.  Adjust the offset to
diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c
index 8b5f5cb..fb710dc 100644
--- a/bfd/elf32-tic6x.c
+++ b/bfd/elf32-tic6x.c
@@ -22,6 +22,7 @@
    MA 02110-1301, USA.  */
 
 #include "sysdep.h"
+#include <limits.h>
 #include "bfd.h"
 #include "libbfd.h"
 #include "libiberty.h"
@@ -75,6 +76,52 @@ struct elf32_tic6x_link_hash_entry
   struct elf_dyn_relocs *dyn_relocs;
 };
 
+typedef enum
+{
+  DELETE_EXIDX_ENTRY,
+  INSERT_EXIDX_CANTUNWIND_AT_END
+}
+tic6x_unwind_edit_type;
+
+/* A (sorted) list of edits to apply to an unwind table.  */
+typedef struct tic6x_unwind_table_edit
+{
+  tic6x_unwind_edit_type type;
+  /* Note: we sometimes want to insert an unwind entry corresponding to a
+     section different from the one we're currently writing out, so record the
+     (text) section this edit relates to here.  */
+  asection *linked_section;
+  unsigned int index;
+  struct tic6x_unwind_table_edit *next;
+}
+tic6x_unwind_table_edit;
+
+typedef struct _tic6x_elf_section_data
+{
+  /* Information about mapping symbols.  */
+  struct bfd_elf_section_data elf;
+  /* Information about unwind tables.  */
+  union
+  {
+    /* Unwind info attached to a text section.  */
+    struct
+    {
+      asection *tic6x_exidx_sec;
+    } text;
+
+    /* Unwind info attached to an .c6xabi.exidx section.  */
+    struct
+    {
+      tic6x_unwind_table_edit *unwind_edit_list;
+      tic6x_unwind_table_edit *unwind_edit_tail;
+    } exidx;
+  } u;
+}
+_tic6x_elf_section_data;
+
+#define elf32_tic6x_section_data(sec) \
+  ((_tic6x_elf_section_data *) elf_section_data (sec))
+
 struct elf32_tic6x_obj_tdata
 {
   struct elf_obj_tdata root;
@@ -1519,6 +1566,31 @@ elf32_tic6x_link_hash_table_create (bfd *abfd)
   return &ret->elf.root;
 }
 
+static bfd_boolean
+elf32_tic6x_final_link (bfd *abfd, struct bfd_link_info *info)
+{
+  if (info->shared)
+    {
+      obj_attribute *out_attr;
+      out_attr = elf_known_obj_attributes_proc (abfd);
+      if (out_attr[Tag_ABI_PIC].i == 0)
+	{
+	  _bfd_error_handler (_("warning: generating a shared library "
+				"containing non-PIC code"));
+	}
+      if (out_attr[Tag_ABI_PID].i == 0)
+	{
+	  _bfd_error_handler (_("warning: generating a shared library "
+				"containing non-PID code"));
+	}
+    }
+  /* Invoke the regular ELF backend linker to do all the work.  */
+  if (!bfd_elf_final_link (abfd, info))
+    return FALSE;
+
+  return TRUE;
+}
+
 /* Destroy a C6X ELF linker hash table.  */
 
 static void
@@ -1814,6 +1886,83 @@ elf32_tic6x_finish_dynamic_symbol (bfd * output_bfd,
   return TRUE;
 }
 
+/* Unwinding tables are not referenced directly.  This pass marks them as
+   required if the corresponding code section is marked.  */
+
+static bfd_boolean
+elf32_tic6x_gc_mark_extra_sections (struct bfd_link_info *info,
+				    elf_gc_mark_hook_fn gc_mark_hook)
+{
+  bfd *sub;
+  Elf_Internal_Shdr **elf_shdrp;
+  bfd_boolean again;
+
+  /* Marking EH data may cause additional code sections to be marked,
+     requiring multiple passes.  */
+  again = TRUE;
+  while (again)
+    {
+      again = FALSE;
+      for (sub = info->input_bfds; sub != NULL; sub = sub->link_next)
+	{
+	  asection *o;
+
+	  if (! is_tic6x_elf (sub))
+	    continue;
+
+	  elf_shdrp = elf_elfsections (sub);
+	  for (o = sub->sections; o != NULL; o = o->next)
+	    {
+	      Elf_Internal_Shdr *hdr;
+
+	      hdr = &elf_section_data (o)->this_hdr;
+	      if (hdr->sh_type == SHT_C6000_UNWIND
+		  && hdr->sh_link
+		  && hdr->sh_link < elf_numsections (sub)
+		  && !o->gc_mark
+		  && elf_shdrp[hdr->sh_link]->bfd_section->gc_mark)
+		{
+		  again = TRUE;
+		  if (!_bfd_elf_gc_mark (info, o, gc_mark_hook))
+		    return FALSE;
+		}
+	    }
+	}
+    }
+
+  return TRUE;
+}
+
+/* Return TRUE if this is an unwinding table index.  */
+
+static bfd_boolean
+is_tic6x_elf_unwind_section_name (const char *name)
+{
+  return (CONST_STRNEQ (name, ELF_STRING_C6000_unwind)
+	  || CONST_STRNEQ (name, ELF_STRING_C6000_unwind_once));
+}
+
+
+/* Set the type and flags for an unwinding index table.  We do this by
+   the section name, which is a hack, but ought to work.  */
+
+static bfd_boolean
+elf32_tic6x_fake_sections (bfd *abfd ATTRIBUTE_UNUSED,
+			   Elf_Internal_Shdr *hdr, asection *sec)
+{
+  const char * name;
+
+  name = bfd_get_section_name (abfd, sec);
+
+  if (is_tic6x_elf_unwind_section_name (name))
+    {
+      hdr->sh_type = SHT_C6000_UNWIND;
+      hdr->sh_flags |= SHF_LINK_ORDER;
+    }
+
+  return TRUE;
+}
+
 /* Update the got entry reference counts for the section being removed.  */
 
 static bfd_boolean
@@ -2018,6 +2167,18 @@ elf32_tic6x_new_section_hook (bfd *abfd, asection *sec)
 {
   bfd_boolean ret;
 
+  /* Allocate target specific section data.  */
+  if (!sec->used_by_bfd)
+    {
+      _tic6x_elf_section_data *sdata;
+      bfd_size_type amt = sizeof (*sdata);
+
+      sdata = (_tic6x_elf_section_data *) bfd_zalloc (abfd, amt);
+      if (sdata == NULL)
+	return FALSE;
+      sec->used_by_bfd = sdata;
+    }
+
   ret = _bfd_elf_new_section_hook (abfd, sec);
   sec->use_rela_p = elf32_tic6x_tdata (abfd)->use_rela_p;
 
@@ -3764,24 +3925,10 @@ elf32_tic6x_merge_attributes (bfd *ibfd, bfd *obfd)
 	    }
 	  break;
 
-	case Tag_ABI_PID:
-	  if (out_attr[i].i != in_attr[i].i)
-	    {
-	      _bfd_error_handler
-		(_("warning: %B and %B differ in position-dependence of "
-		   "data addressing"),
-		 obfd, ibfd);
-	    }
-	  break;
-
 	case Tag_ABI_PIC:
-	  if (out_attr[i].i != in_attr[i].i)
-	    {
-	      _bfd_error_handler


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-05-05 15:23 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-05-05 15:23 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  0ddb903f0475e29d4d22dcfafea139100ec1edb8 (commit)
       via  26eed14ea0acf9fbcd3e9dd7bab9fe510564a5a9 (commit)
       via  266c6d6b33df6593d30abe835c6765f212c26571 (commit)
       via  4e934a794b3cd989010ac01b1cea0dcb1a90cafa (commit)
       via  f0bff06bd4f43592fb4e6c6c5b7244c2339a2bb0 (commit)
       via  24628084117e7656046f18c9cc730aa9de9fa4cc (commit)
       via  8ec5621cf614fe899ab70170fb2fe06a095dab85 (commit)
      from  b11dc55ba87159d7404f5e11c9e34bea812ce13c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 0ddb903f0475e29d4d22dcfafea139100ec1edb8
Merge: b11dc55 26eed14
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu May 5 17:23:41 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit 26eed14ea0acf9fbcd3e9dd7bab9fe510564a5a9
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Thu May 5 12:39:32 2011 +0000

    	* configure.ac (alpha*-dec-osf*, i[[3456789]]86-*-rdos*,
    	sh*-*-pe|mips*-*-pe|arm-wince-pe, sparc-*-sunos4*, *-*-aix*,
    	*-*-beos*, *-*-chorusos, *-*-dragonfly*, *-*-freebsd*, *-*-linux*
    	| *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu, *-*-lynxos*,
    	*-*-mingw*, *-*-netbsd*, *-*-netware*, *-*-tpf*, *-*-uclinux*,
    	*-*-vxworks*): Disable newlib and libgloss in separate case
    	statement.
    	(i[[3456789]]86-*-linux*): Move logic allowing newlib to be built
    	to separate case statement.
    	(*-*-chorusos, *-*-dragonfly*, *-*-freebsd*, *-*-netbsd*,
    	*-*-netware*, *-*-tpf*, *-*-uclinux*, *-*-vxworks*,
    	alpha*-dec-osf*, alpha*-*-linux*, am33_2.0-*-linux*, sh-*-linux*,
    	sh*-*-pe|mips*-*-pe|*arm-wince-pe, arm-*-coff, arm-*-elf* |
    	arm*-*-eabi*, arm*-*-linux-gnueabi, arm*-*-symbianelf*, avr-*-*,
    	bfin-*-*, cris-*-* | crisv32-*-*, frv-*-*, i[[3456789]]86-*-coff |
    	i[[3456789]]86-*-elf, i[[3456789]]86-w64-mingw*,
    	i[[3456789]]86-*-mingw*, x86_64-*-mingw*,
    	i[[3456789]]86-*-interix*, i[[3456789]]86-*-beos*,
    	i[[3456789]]86-*-rdos*, m32r-*-*,
    	m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, m68k-*-elf*, m68*-*-*
    	| fido-*-*, powerpc-*-aix*, powerpc-*-beos*, powerpc-*-eabi,
    	powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems*,
    	rs6000-*-lynxos*, rs6000-*-aix*, mips*-*-linux*, sparclet-*-aout*
    	| sparc86x-*-*, sparc-*-elf*, sparc64-*-elf*, sparclite-*-*,
    	sparc-*-sunos4*, sparc-*-solaris* | sparc64-*-solaris* |
    	sparcv9-*-solaris*, *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu |
    	*-*-kopensolaris*-gnu, *-*-lynxos*, *-*-*): Don't disable newlib
    	and libgloss in main case over targets.  Remove most empty cases
    	in main case over targets.
    	* configure: Regenerate.

commit 266c6d6b33df6593d30abe835c6765f212c26571
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Thu May 5 12:39:32 2011 +0000

    	* configure.ac (alpha*-dec-osf*, i[[3456789]]86-*-rdos*,
    	sh*-*-pe|mips*-*-pe|arm-wince-pe, sparc-*-sunos4*, *-*-aix*,
    	*-*-beos*, *-*-chorusos, *-*-dragonfly*, *-*-freebsd*, *-*-linux*
    	| *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu, *-*-lynxos*,
    	*-*-mingw*, *-*-netbsd*, *-*-netware*, *-*-tpf*, *-*-uclinux*,
    	*-*-vxworks*): Disable newlib and libgloss in separate case
    	statement.
    	(i[[3456789]]86-*-linux*): Move logic allowing newlib to be built
    	to separate case statement.
    	(*-*-chorusos, *-*-dragonfly*, *-*-freebsd*, *-*-netbsd*,
    	*-*-netware*, *-*-tpf*, *-*-uclinux*, *-*-vxworks*,
    	alpha*-dec-osf*, alpha*-*-linux*, am33_2.0-*-linux*, sh-*-linux*,
    	sh*-*-pe|mips*-*-pe|*arm-wince-pe, arm-*-coff, arm-*-elf* |
    	arm*-*-eabi*, arm*-*-linux-gnueabi, arm*-*-symbianelf*, avr-*-*,
    	bfin-*-*, cris-*-* | crisv32-*-*, frv-*-*, i[[3456789]]86-*-coff |
    	i[[3456789]]86-*-elf, i[[3456789]]86-w64-mingw*,
    	i[[3456789]]86-*-mingw*, x86_64-*-mingw*,
    	i[[3456789]]86-*-interix*, i[[3456789]]86-*-beos*,
    	i[[3456789]]86-*-rdos*, m32r-*-*,
    	m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, m68k-*-elf*, m68*-*-*
    	| fido-*-*, powerpc-*-aix*, powerpc-*-beos*, powerpc-*-eabi,
    	powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems*,
    	rs6000-*-lynxos*, rs6000-*-aix*, mips*-*-linux*, sparclet-*-aout*
    	| sparc86x-*-*, sparc-*-elf*, sparc64-*-elf*, sparclite-*-*,
    	sparc-*-sunos4*, sparc-*-solaris* | sparc64-*-solaris* |
    	sparcv9-*-solaris*, *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu |
    	*-*-kopensolaris*-gnu, *-*-lynxos*, *-*-*): Don't disable newlib
    	and libgloss in main case over targets.  Remove most empty cases
    	in main case over targets.
    	* configure: Regenerate.

commit 4e934a794b3cd989010ac01b1cea0dcb1a90cafa
Author: qiyao <qiyao>
Date:   Thu May 5 02:51:27 2011 +0000

    2011-05-05  Yao Qi  <yao@codesourcery.com>
    
    	* gdb.arch/arm-disp-step.S(test_ldr_literal): New.
    	(test_adr_32bit, test_pop_pc): New.
    	* gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
    	(test_adr_32bit, test_pop_pc): New.

commit f0bff06bd4f43592fb4e6c6c5b7244c2339a2bb0
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu May 5 00:00:07 2011 +0000

    daily update

commit 24628084117e7656046f18c9cc730aa9de9fa4cc
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu May 5 00:00:03 2011 +0000

    *** empty log message ***

commit 8ec5621cf614fe899ab70170fb2fe06a095dab85
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Wed May 4 21:45:47 2011 +0000

    	* configure.ac: Remove code setting special library locations for
    	hppa*64*-*-hpux11*.  Remove code setting compiler for
    	sparc-sun-solaris2*.
    	* configure: Regenerate.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                |   40 ++++++
 bfd/version.h                            |    2 +-
 configure                                |  217 +++++++++++-------------------
 configure.ac                             |  217 +++++++++++-------------------
 gdb/testsuite/ChangeLog                  |    7 +
 gdb/testsuite/gdb.arch/arm-disp-step.S   |   79 +++++++++++
 gdb/testsuite/gdb.arch/arm-disp-step.exp |   88 ++++++++++++
 gdb/version.in                           |    2 +-
 8 files changed, 368 insertions(+), 284 deletions(-)

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index c61b8d0..84903f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,43 @@
+2011-05-05  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac (alpha*-dec-osf*, i[[3456789]]86-*-rdos*,
+	sh*-*-pe|mips*-*-pe|arm-wince-pe, sparc-*-sunos4*, *-*-aix*,
+	*-*-beos*, *-*-chorusos, *-*-dragonfly*, *-*-freebsd*, *-*-linux*
+	| *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu, *-*-lynxos*,
+	*-*-mingw*, *-*-netbsd*, *-*-netware*, *-*-tpf*, *-*-uclinux*,
+	*-*-vxworks*): Disable newlib and libgloss in separate case
+	statement.
+	(i[[3456789]]86-*-linux*): Move logic allowing newlib to be built
+	to separate case statement.
+	(*-*-chorusos, *-*-dragonfly*, *-*-freebsd*, *-*-netbsd*,
+	*-*-netware*, *-*-tpf*, *-*-uclinux*, *-*-vxworks*,
+	alpha*-dec-osf*, alpha*-*-linux*, am33_2.0-*-linux*, sh-*-linux*,
+	sh*-*-pe|mips*-*-pe|*arm-wince-pe, arm-*-coff, arm-*-elf* |
+	arm*-*-eabi*, arm*-*-linux-gnueabi, arm*-*-symbianelf*, avr-*-*,
+	bfin-*-*, cris-*-* | crisv32-*-*, frv-*-*, i[[3456789]]86-*-coff |
+	i[[3456789]]86-*-elf, i[[3456789]]86-w64-mingw*,
+	i[[3456789]]86-*-mingw*, x86_64-*-mingw*,
+	i[[3456789]]86-*-interix*, i[[3456789]]86-*-beos*,
+	i[[3456789]]86-*-rdos*, m32r-*-*,
+	m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, m68k-*-elf*, m68*-*-*
+	| fido-*-*, powerpc-*-aix*, powerpc-*-beos*, powerpc-*-eabi,
+	powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems*,
+	rs6000-*-lynxos*, rs6000-*-aix*, mips*-*-linux*, sparclet-*-aout*
+	| sparc86x-*-*, sparc-*-elf*, sparc64-*-elf*, sparclite-*-*,
+	sparc-*-sunos4*, sparc-*-solaris* | sparc64-*-solaris* |
+	sparcv9-*-solaris*, *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu |
+	*-*-kopensolaris*-gnu, *-*-lynxos*, *-*-*): Don't disable newlib
+	and libgloss in main case over targets.  Remove most empty cases
+	in main case over targets.
+	* configure: Regenerate.
+
+2011-05-04  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac: Remove code setting special library locations for
+	hppa*64*-*-hpux11*.  Remove code setting compiler for
+	sparc-sun-solaris2*.
+	* configure: Regenerate.
+
 2011-05-04  Joseph Myers  <joseph@codesourcery.com>
 
 	* configure.ac: Separate libgloss_dir settings from general case
diff --git a/bfd/version.h b/bfd/version.h
index c4a330d..1f1e602 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110504
+#define BFD_VERSION_DATE 20110505
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/configure b/configure
index 11bfd0b..cb341f9 100755
--- a/configure
+++ b/configure
@@ -3297,10 +3297,76 @@ case "${target}" in
     ;;
 esac
 
+# Disable newlib and libgloss for various target OSes.
 case "${target}" in
+  alpha*-dec-osf*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  i[3456789]86-*-linux*)
+    # This section makes it possible to build newlib natively on linux.
+    # If we are using a cross compiler then don't configure newlib.
+    if test x${is_cross_compiler} != xno ; then
+      noconfigdirs="$noconfigdirs target-newlib"
+    fi
+    noconfigdirs="$noconfigdirs target-libgloss"
+    # If we are not using a cross compiler, do configure newlib.
+    # Note however, that newlib will only be configured in this situation
+    # if the --with-newlib option has been given, because otherwise
+    # 'target-newlib' will appear in skipdirs.
+    ;;
+  i[3456789]86-*-rdos*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  sh*-*-pe|mips*-*-pe|arm-wince-pe)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  sparc-*-sunos4*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-aix*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-beos*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
   *-*-chorusos)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
     ;;
+  *-*-dragonfly*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-freebsd*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-lynxos*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-mingw*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-netbsd*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-netware*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-tpf*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-uclinux*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-vxworks*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+esac
+
+case "${target}" in
+  *-*-chorusos)
+    ;;
   powerpc-*-darwin*)
     noconfigdirs="$noconfigdirs ld gas gdb gprof"
     noconfigdirs="$noconfigdirs sim target-rda"
@@ -3318,10 +3384,8 @@ case "${target}" in
     noconfigdirs="$noconfigdirs sim target-rda"
     ;;
   *-*-dragonfly*)
-    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
     ;;
   *-*-freebsd*)
-    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
     if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
 	&& test -f /usr/local/include/gmp.h; then
       with_gmp=/usr/local
@@ -3332,76 +3396,45 @@ case "${target}" in
     noconfigdirs="$noconfigdirs target-libgloss"
     ;;
   *-*-netbsd*)
-    # Skip some stuff on all NetBSD configurations.
-    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
     ;;
   *-*-netware*)
-    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
     ;;
   *-*-rtems*)
     noconfigdirs="$noconfigdirs target-libgloss"
     ;;
     # The tpf target doesn't support gdb yet.
   *-*-tpf*)
-    noconfigdirs="$noconfigdirs target-newlib target-libgloss gdb tcl tk libgui itcl"
+    noconfigdirs="$noconfigdirs gdb tcl tk libgui itcl"
     ;;
   *-*-uclinux*)
-    noconfigdirs="$noconfigdirs target-newlib target-libgloss target-rda"
+    noconfigdirs="$noconfigdirs target-rda"
     ;;
   *-*-vxworks*)
-    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
     ;;
   alpha*-dec-osf*)
     # ld works, but does not support shared libraries.
-    # newlib is not 64 bit ready.
     # gas doesn't generate exception information.
-    noconfigdirs="$noconfigdirs gas ld target-newlib target-libgloss"
+    noconfigdirs="$noconfigdirs gas ld"
     ;;
   alpha*-*-*vms*)
     noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
     ;;
-  alpha*-*-linux*)
-    # newlib is not 64 bit ready
-    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
-    ;;
   alpha*-*-*)
     # newlib is not 64 bit ready
     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
     ;;
-  am33_2.0-*-linux*)
-    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
-    ;;
-  sh-*-linux*)
-    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
-    ;;
   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
     noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
-    noconfigdirs="$noconfigdirs target-newlib"
     ;;
   arc-*-*)
     noconfigdirs="$noconfigdirs target-libgloss"
     ;;
-  arm-*-coff)
-    ;;
-  arm-*-elf* | arm*-*-eabi* )
-    ;;
-  arm*-*-linux-gnueabi)
-    case ${with_newlib} in
-      no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
-    esac
-    ;;
-  arm*-*-symbianelf*)
-    ;;
   arm-*-pe*)
     noconfigdirs="$noconfigdirs target-libgloss"
     ;;
   arm-*-riscix*)
     noconfigdirs="$noconfigdirs ld target-libgloss"
     ;;
-  avr-*-*)
-    ;;
-  bfin-*-*)
-    ;;
   c4x-*-* | tic4x-*-*)
     noconfigdirs="$noconfigdirs target-libgloss"
     ;;
@@ -3411,12 +3444,6 @@ case "${target}" in
   cr16-*-*)
     noconfigdirs="$noconfigdirs gdb"
     ;;
-  cris-*-* | crisv32-*-*)
-    case "${target}" in
-      *-*-linux*)
-	noconfigdirs="$noconfigdirs target-newlib target-libgloss";;
-    esac
-    ;;
   d10v-*-*)
     noconfigdirs="$noconfigdirs target-libgloss"
     ;;
@@ -3426,8 +3453,6 @@ case "${target}" in
   fr30-*-elf*)
     noconfigdirs="$noconfigdirs gdb"
     ;;
-  frv-*-*)
-    ;;
   moxie-*-*)
     noconfigdirs="$noconfigdirs gprof"
     ;;
@@ -3471,29 +3496,10 @@ case "${target}" in
     # No gdb or ld support yet.
     noconfigdirs="$noconfigdirs readline libgui itcl gdb ld"
     ;;
-  i[3456789]86-*-coff | i[3456789]86-*-elf)
-    ;;
-  i[3456789]86-*-linux*)
-    # This section makes it possible to build newlib natively on linux.
-    # If we are using a cross compiler then don't configure newlib.
-    if test x${is_cross_compiler} != xno ; then
-      noconfigdirs="$noconfigdirs target-newlib"
-    fi
-    noconfigdirs="$noconfigdirs target-libgloss"
-    # If we are not using a cross compiler, do configure newlib.
-    # Note however, that newlib will only be configured in this situation
-    # if the --with-newlib option has been given, because otherwise
-    # 'target-newlib' will appear in skipdirs.
-    ;;
   i[3456789]86-w64-mingw*)
-    noconfigdirs="$noconfigdirs target-libgloss target-newlib"
     ;;
   i[3456789]86-*-mingw*)
     target_configdirs="$target_configdirs target-winsup"
-    noconfigdirs="$noconfigdirs target-libgloss target-newlib"
-    ;;
-  x86_64-*-mingw*)
-    noconfigdirs="$noconfigdirs target-libgloss target-newlib"
     ;;
   *-*-cygwin*)
     target_configdirs="$target_configdirs target-libtermcap target-winsup"
@@ -3505,8 +3511,6 @@ case "${target}" in
       echo "Warning: winsup/cygwin is missing so newlib can't be built."
     fi
     ;;
-  i[3456789]86-*-interix* )
-    ;;
   i[3456789]86-*-pe)
     noconfigdirs="$noconfigdirs target-libgloss"
     ;;
@@ -3525,18 +3529,10 @@ case "${target}" in
     noconfigdirs="$noconfigdirs target-libgloss"
     ;;
   i[3456789]86-*-beos*)
-    noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
+    noconfigdirs="$noconfigdirs gdb"
     ;;
   i[3456789]86-*-rdos*)
-    noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
-    ;;
-  m32r-*-*)
-    ;;
-  m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
-    ;;
-  m68k-*-elf*)
-    ;;
-  m68*-*-* | fido-*-*)
+    noconfigdirs="$noconfigdirs gdb"
     ;;
   mmix-*-*)
     noconfigdirs="$noconfigdirs gdb"
@@ -3546,7 +3542,7 @@ case "${target}" in
     ;;
   powerpc-*-aix*)
     # copied from rs6000-*-* entry
-    noconfigdirs="$noconfigdirs gprof target-libgloss target-newlib"
+    noconfigdirs="$noconfigdirs gprof"
     ;;
   powerpc*-*-winnt* | powerpc*-*-pe*)
     target_configdirs="$target_configdirs target-winsup"
@@ -3559,17 +3555,13 @@ case "${target}" in
     noconfigdirs="$noconfigdirs gdb sim tcl tk itcl"
     ;;
   powerpc-*-beos*)
-    noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
-    ;;
-  powerpc-*-eabi)
-    ;;
-  powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems* )
+    noconfigdirs="$noconfigdirs gdb"
     ;;
   rs6000-*-lynxos*)
-    noconfigdirs="$noconfigdirs target-newlib gprof"
+    noconfigdirs="$noconfigdirs gprof"
     ;;
   rs6000-*-aix*)
-    noconfigdirs="$noconfigdirs gprof target-libgloss target-newlib"
+    noconfigdirs="$noconfigdirs gprof"
     ;;
   rs6000-*-*)
     noconfigdirs="$noconfigdirs gprof"
@@ -3595,7 +3587,6 @@ case "${target}" in
     noconfigdirs="$noconfigdirs gprof target-libgloss"
     ;;
   mips*-*-linux*)
-    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
     ;;
   mips*-*-*)
     noconfigdirs="$noconfigdirs gprof"
@@ -3608,23 +3599,11 @@ case "${target}" in
          noconfigdirs="$noconfigdirs target-libgloss" ;;
     esac
     ;;
-  sparclet-*-aout* | sparc86x-*-*)
-    ;;
-  sparc-*-elf*)
-    ;;
-  sparc64-*-elf*)
-    ;;
-  sparclite-*-*)
-    ;;
   sparc-*-sunos4*)
-    if test x${is_cross_compiler} != xno ; then
-           noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
-    else
+    if test x${is_cross_compiler} = xno ; then
            use_gnu_ld=no
     fi
     ;;
-  sparc-*-solaris* | sparc64-*-solaris* | sparcv9-*-solaris*)
-    ;;
   tic6x-*-*)
     noconfigdirs="$noconfigdirs gdb sim"
     ;;
@@ -3634,14 +3613,6 @@ case "${target}" in
   vax-*-*)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
     ;;
-  *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
-    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
-    ;;
-  *-*-lynxos*)
-    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
-    ;;
-  *-*-*)
-    ;;
 esac
 
 # If we aren't building newlib, then don't build libgloss, since libgloss
@@ -6849,14 +6820,6 @@ if test x${with_stabs} = x ; then
   esac
 fi
 
-# hpux11 in 64bit mode has libraries in a weird place.  Arrange to find
-# them automatically.
-case "${host}" in
-  hppa*64*-*-hpux11*)
-    extra_host_args="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
-    ;;
-esac
-
 # Some systems (e.g., one of the i386-aix systems the gas testers are
 # using) don't handle "\$" correctly, so don't use it here.
 tooldir='${exec_prefix}'/${target_noncanonical}
@@ -6900,34 +6863,6 @@ case $we_are_ok in
 esac
 rm -f conftest*
 
-# The Solaris /usr/ucb/cc compiler does not appear to work.
-case "${host}" in
-  sparc-sun-solaris2*)
-      CCBASE="`echo ${CC-cc} | sed 's/ .*$//'`"
-      if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
-          could_use=
-          test -d /opt/SUNWspro/bin && could_use="/opt/SUNWspro/bin"
-          if test -d /opt/cygnus/bin ; then
-              if test "$could_use" = "" ; then
-                  could_use="/opt/cygnus/bin"
-              else
-                  could_use="$could_use or /opt/cygnus/bin"
-              fi
-          fi
-        if test "$could_use" = "" ; then
-            echo "Warning: compilation may fail because you're using"
-            echo "/usr/ucb/cc.  You should change your PATH or CC "
-            echo "variable and rerun configure."
-        else
-            echo "Warning: compilation may fail because you're using"
-            echo "/usr/ucb/cc, when you should use the C compiler from"
-            echo "$could_use.  You should change your"
-            echo "PATH or CC variable and rerun configure."
-        fi
-      fi
-  ;;
-esac
-
 # Decide which environment variable is used to find dynamic libraries.
 case "${host}" in
   *-*-hpux*) RPATH_ENVVAR=SHLIB_PATH ;;
diff --git a/configure.ac b/configure.ac
index c41abf3..0ac9030 100644
--- a/configure.ac
+++ b/configure.ac
@@ -744,10 +744,76 @@ case "${target}" in
     ;;
 esac
 
+# Disable newlib and libgloss for various target OSes.
 case "${target}" in
+  alpha*-dec-osf*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  i[[3456789]]86-*-linux*)
+    # This section makes it possible to build newlib natively on linux.
+    # If we are using a cross compiler then don't configure newlib.
+    if test x${is_cross_compiler} != xno ; then
+      noconfigdirs="$noconfigdirs target-newlib"
+    fi
+    noconfigdirs="$noconfigdirs target-libgloss"
+    # If we are not using a cross compiler, do configure newlib.
+    # Note however, that newlib will only be configured in this situation
+    # if the --with-newlib option has been given, because otherwise
+    # 'target-newlib' will appear in skipdirs.
+    ;;
+  i[[3456789]]86-*-rdos*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  sh*-*-pe|mips*-*-pe|arm-wince-pe)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  sparc-*-sunos4*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-aix*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-beos*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
   *-*-chorusos)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
     ;;
+  *-*-dragonfly*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-freebsd*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-lynxos*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;; 
+  *-*-mingw*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    ;;
+  *-*-netbsd*)
+    noconfigdirs="$noconfigdirs target-newlib target-libgloss"


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-05-04 20:47 muller
  0 siblings, 0 replies; 45+ messages in thread
From: muller @ 2011-05-04 20:47 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  b11dc55ba87159d7404f5e11c9e34bea812ce13c (commit)
       via  233f6db9119d3852d0550dc4080dc68934345dc0 (commit)
       via  2b4bdd8696da9d818a71b839686de2a2904b82bf (commit)
       via  b6c38600715751c2bc9a60659f901fbba27c6f73 (commit)
       via  3a99a7db8e6068772102ed2d5818a8b46ab6de3e (commit)
       via  b6dfa69515e72a82cf0cb74f70da9cbf3d489d2e (commit)
       via  05642c64a1206af4fed1dcff88c50f61d7657b13 (commit)
       via  3734354451a8c9050b1d5e62dd4d215a6ef9a385 (commit)
       via  7800072fa9138db303def1546007e6013378e3ab (commit)
       via  b16f42cdb2f0c28fe2735849a44d0e06a7cbe1a6 (commit)
       via  da5a9b57268764fe81be52c0a747a07be226abce (commit)
       via  fa395667a13178f15db18814669f58f841bd6f75 (commit)
       via  6532d3db17861734118559b6aa1d7690700f2732 (commit)
       via  b7747afd1472606c9190fc80ed32dfdb199db44a (commit)
       via  d7927b0eff090cd268145cac5591a6972fd585a0 (commit)
       via  5ede405eb3bb73a836644ec9b18f67ee8e2bf712 (commit)
       via  e077f5fc21d5aee12653bccefe602c72f6244986 (commit)
       via  eb320173daf9c9d25cafbb99b98da18358190a7a (commit)
       via  16c78188bbbcdd7859afcba657b6d516ac0dc72f (commit)
       via  58ed5f6a8ea709908b966a21af8b19d3c3b44877 (commit)
       via  8682a2e7fc6a00137ccd3261b8f2f64f85d7c6f8 (commit)
       via  b5fc04f82affb2c6f45f9b72b599f31b5f865109 (commit)
       via  2631df3ef77ad1a0dfd1fe4cad4e8f9815d6b84d (commit)
       via  b222b492342f7e954f6697ea495e788cad8d7e64 (commit)
       via  b6762f0b66cbb92bdec7ce381f401c07a019bfd8 (commit)
       via  e46a5990b2ebf1a707d0c8af7fe42775d1daa9cd (commit)
       via  6dedabb79b8c5326fb38bd6650ba2e56435e799b (commit)
       via  9624c5b5f8087c2b72d73e5413069500162f5dfd (commit)
       via  ddaaf54193ce0479236ea7d6b69f66e7c1590b9d (commit)
       via  ad452a5bde3aa983d823a233d1ad5d2cfa6abefb (commit)
       via  d1e5bb5655c110287bc35e33999273f96f817051 (commit)
      from  da90f7a7481c546ed7f6bf3ff4481e1302c8bfc3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit b11dc55ba87159d7404f5e11c9e34bea812ce13c
Merge: eb32017 233f6db
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Wed May 4 22:46:54 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit 233f6db9119d3852d0550dc4080dc68934345dc0
Author: Doug Evans <dje@google.com>
Date:   Wed May 4 20:20:12 2011 +0000

    	* linux-low.c (linux_join): Skip process lookup.
    	* spu-low.c (spu_join): Ditto.
    	* server.c (join_inferiors_callback): Delete.
    	(process_serial_event): For 'D' packet (detach) call join_inferior
    	directly.

commit 2b4bdd8696da9d818a71b839686de2a2904b82bf
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Wed May 4 19:28:11 2011 +0000

    gdb:
    	* configure.host (xscale*): Don't handle target.
    	* configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't
    	handle targets.
    
    gdb/gdbserver:
    	* README: Don't mention xscale*-*-linux*.
    	* configure.srv (xscale*-*-linux*): Don't handle target.
    
    gdb/testsuite:
    	* gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
    	* gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
    	targets.
    	* gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
    	handle targets.
    
    sim:
    	* configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't
    	handle targets.
    	* configure: Regenerate.
    
    sim/testsuite:
    	* configure: Regenerate.
    	* sim/arm/allinsn.exp (xscale*-*-*): Don't handle target.
    	* sim/arm/misc.exp (thumb*-*-*, xscale*-*-*): Don't handle
    	targets.
    	* sim/arm/iwmmxt/iwmmxt.exp: Test for arm*-*-* instead of
    	xscale*-*-*.
    	* sim/arm/thumb/allthumb.exp (thumb*-*-*): Don't handle target.
    	* sim/arm/xscale/xscale.exp: Test for arm*-*-* instead of
    	xscale*-*-*.

commit b6c38600715751c2bc9a60659f901fbba27c6f73
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed May 4 14:46:17 2011 +0000

    gdb/testsuite/
    	* gdb.base/completion.exp (complete help info wat): Rename to ...
    	(complete 'help info wat'): ... here.
    	Remove all `-re ".*' and `-re "^.*' redundant regexes.
    	(complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.

commit 3a99a7db8e6068772102ed2d5818a8b46ab6de3e
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Wed May 4 14:40:42 2011 +0000

    2011-05-04  Pedro Alves  <pedro@codesourcery.com>
    
    	* gdb.base/completion.exp: Use gdb_test_multiple instead of
    	gdb_test and explicit $gdb_prompt/timeout matches.

commit b6dfa69515e72a82cf0cb74f70da9cbf3d489d2e
Author: Tristan Gingold <gingold@adacore.com>
Date:   Wed May 4 11:05:13 2011 +0000

    include/coff
    2011-05-04  Tristan Gingold  <gingold@adacore.com>
    
    	* rs6000.h (union external_auxent): Add x_ftype field.
    	* rs6k64.h: (struct external_auxent): Remap x_file field.
    
    
    bfd/
    2011-04-28  Tristan Gingold  <gingold@adacore.com>
    
    	* coff-rs6000.c (_bfd_xcoff_swap_aux_in): Adjust for x_file.
    	(bfd_xcoff_swap_aux_out): Ditto.
    	* coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Ditto.
    	(bfd_xcoff64_swap_aux_out): Ditto.

commit 05642c64a1206af4fed1dcff88c50f61d7657b13
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Wed May 4 09:51:31 2011 +0000

    	* configure.ac: Separate libgloss_dir settings from general case
    	over targets.
    	* configure: Regenerate.

commit 3734354451a8c9050b1d5e62dd4d215a6ef9a385
Author: Tristan Gingold <gingold@adacore.com>
Date:   Wed May 4 06:53:38 2011 +0000

    2011-05-04  Tristan Gingold  <gingold@adacore.com>
    
    	* rs6000.h (struct external_exceptab): New struct.
    	(EXCEPTSZ): New macro.
    	* rs6k64.h: (struct external_exceptab): New struct.
    	(EXCEPTSZ): New macro.

commit 7800072fa9138db303def1546007e6013378e3ab
Author: qiyao <qiyao>
Date:   Wed May 4 06:40:27 2011 +0000

    2011-05-04  Yao Qi  <yao@codesourcery.com>
    
    	* gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
    	and __thumb2__.

commit b16f42cdb2f0c28fe2735849a44d0e06a7cbe1a6
Author: qiyao <qiyao>
Date:   Wed May 4 06:28:41 2011 +0000

    2011-05-04  Yao Qi  <yao@codesourcery.com>
    
    	* gdb_wait.h: remove WAITTYPE and WCOREDUMP.

commit da5a9b57268764fe81be52c0a747a07be226abce
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed May 4 00:31:38 2011 +0000

    	PR ld/12727
    	* elf64-ppc.c (ppc_build_one_stub <ppc_sub_plt_call>): Clear
    	was_undefined on dot-symbols.

commit fa395667a13178f15db18814669f58f841bd6f75
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed May 4 00:00:32 2011 +0000

    *** empty log message ***

commit 6532d3db17861734118559b6aa1d7690700f2732
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed May 4 00:00:08 2011 +0000

    daily update

commit b7747afd1472606c9190fc80ed32dfdb199db44a
Author: mpolacek <mpolacek>
Date:   Tue May 3 18:01:59 2011 +0000

    Fix races in gdb.base/pr10179.exp.

commit d7927b0eff090cd268145cac5591a6972fd585a0
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue May 3 16:22:34 2011 +0000

    Revert "elfread.c (elf_symtab_read): Stop memory leak"
    
    It turns out that this change is not correct, and it causes a crash
    on sparc-solaris while trying to load ld.so.  This is because the
    memory is actually still referenced after elf_symtab_read completes.
    
    gdb/ChangeLog:
    
            * elfread.c (elf_symtab_read): Revert the previous change
            that tried to stop a memory leak.

commit 5ede405eb3bb73a836644ec9b18f67ee8e2bf712
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue May 3 15:18:10 2011 +0000

    Fix uses of litteral `GDB' in `In Memoriam' appendix.
    
    @value{GDBN} should be used in place of GDB, so this patch fixes it.
    
    gdb/doc/ChangeLog:
    
            * gdb.texinfo (In Memoriam): Replace litteral uses of `GDB' with
            `@value{GDBN}'.

commit e077f5fc21d5aee12653bccefe602c72f6244986
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue May 3 15:09:00 2011 +0000

    new `In Memoriam' appendix in GDB Manual
    
    This change removes the dedication of the manual to Fred Fish.
    It also creates a new `In Memoriam' appendix, where Fred Fish
    and Michael Snyder are mentioned.
    
    gdb/doc/ChangeLog:
    
            * gdb.texinfo (titlepage): Remove dedication.
            (In Memoriam): New appendix.

commit eb320173daf9c9d25cafbb99b98da18358190a7a
Merge: da90f7a 16c7818
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Tue May 3 15:06:50 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit 16c78188bbbcdd7859afcba657b6d516ac0dc72f
Author: Paul Brook <paul@codesourcery.com>
Date:   Tue May 3 11:17:18 2011 +0000

    2011-05-03  Paul Brook  <paul@codesourcery.com>
    
    
    	bfd/
    	* elf32-tic6x.c (elf32_tic6x_howto_table,
    	elf32_tic6x_howto_table_rel, (elf32_tic6x_gc_sweep_hook,
    	elf32_tic6x_relocate_section, elf32_tic6x_check_relocs):
    	Add R_C6000_EHTYPE.
    
    	gas/
    	* config/tc-tic6x.c (s_ehtype): New function.
    	(md_pseudo_table): Add "ehtype".
    	(tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
    	* doc/c-tic6x.texi: Document .ehtype directive.
    
    	ld/testsuite/
    	* ld-tic6x/ehtype-reloc-1-rel.d: New test.
    	* ld-tic6x/ehtype-reloc-1.d: New test.
    	* ld-tic6x/ehtype-reloc-1.s: New test.

commit 58ed5f6a8ea709908b966a21af8b19d3c3b44877
Author: Tristan Gingold <gingold@adacore.com>
Date:   Tue May 3 09:21:05 2011 +0000

    2011-05-03  Tristan Gingold  <gingold@adacore.com>
    
    	* rs6000.h (struct external_ldsym): Use E_SYMNMLEN instead of
    	SYMNMLEN.

commit 8682a2e7fc6a00137ccd3261b8f2f64f85d7c6f8
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Tue May 3 08:46:04 2011 +0000

    	* nto-tdep.c (nto_target): Replace deprecated call to
    	cygwin_conv_to_posix_path functions by cygwin_conv_path calls.

commit b5fc04f82affb2c6f45f9b72b599f31b5f865109
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue May 3 07:29:14 2011 +0000

    gdb/
    	Fix false GCC warning.
    	* breakpoint.c (do_enable_breakpoint): Initialize orig_enable_state.

commit 2631df3ef77ad1a0dfd1fe4cad4e8f9815d6b84d
Author: Thiago Jung Bauermann <bauerman@br.ibm.com>
Date:   Tue May 3 05:02:48 2011 +0000

    	* breakpoint.c (update_watchpoint): Move code to change
    	the enable state of breakpoint from here ...
    	(do_enable_breakpoint): ... to here.

commit b222b492342f7e954f6697ea495e788cad8d7e64
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue May 3 00:00:06 2011 +0000

    daily update

commit b6762f0b66cbb92bdec7ce381f401c07a019bfd8
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue May 3 00:00:03 2011 +0000

    *** empty log message ***

commit e46a5990b2ebf1a707d0c8af7fe42775d1daa9cd
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon May 2 17:52:28 2011 +0000

    2011-05-02  Pedro Alves  <pedro@codesourcery.com>
    
    	PR testsuite/12649
    	Fix races.
    
    	* gdb.base/completion.exp: Remove all sleep calls.  Remove
    	unnecessary regexs.  Don't explicitly expect anything after the
    	prompt.  Eat the prompt if necessary.

commit 6dedabb79b8c5326fb38bd6650ba2e56435e799b
Author: emachado <emachado>
Date:   Mon May 2 17:07:10 2011 +0000

    * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
    accept to show the caller line again as well as the line after.

commit 9624c5b5f8087c2b72d73e5413069500162f5dfd
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Mon May 2 00:21:28 2011 +0000

    Properly TABify ChangeLog; take 2

commit ddaaf54193ce0479236ea7d6b69f66e7c1590b9d
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Mon May 2 00:18:41 2011 +0000

    Properly TABify ChangeLog

commit ad452a5bde3aa983d823a233d1ad5d2cfa6abefb
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon May 2 00:00:33 2011 +0000

    *** empty log message ***

commit d1e5bb5655c110287bc35e33999273f96f817051
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon May 2 00:00:05 2011 +0000

    daily update

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                |    6 +
 bfd/ChangeLog                            |   21 +
 bfd/coff-rs6000.c                        |   15 +-
 bfd/coff64-rs6000.c                      |   14 +-
 bfd/elf32-tic6x.c                        |   31 +-
 bfd/elf64-ppc.c                          |    2 +
 bfd/version.h                            |    2 +-
 configure                                |   51 ++-
 configure.ac                             |   51 ++-
 gdb/ChangeLog                            |  160 ++++---
 gdb/breakpoint.c                         |   14 +-
 gdb/configure.host                       |    1 -
 gdb/configure.tgt                        |    2 +-
 gdb/doc/ChangeLog                        |   10 +
 gdb/doc/gdb.texinfo                      |   26 +-
 gdb/elfread.c                            |    3 -
 gdb/gdb_wait.h                           |    6 -
 gdb/gdbserver/ChangeLog                  |   13 +
 gdb/gdbserver/README                     |    1 -
 gdb/gdbserver/configure.srv              |    5 -
 gdb/gdbserver/linux-low.c                |    5 -
 gdb/gdbserver/server.c                   |   14 +-
 gdb/gdbserver/spu-low.c                  |    5 -
 gdb/nto-tdep.c                           |    4 +-
 gdb/testsuite/ChangeLog                  |   45 ++
 gdb/testsuite/gdb.arch/arm-disp-step.S   |   12 +-
 gdb/testsuite/gdb.base/a2-run.exp        |    6 +-
 gdb/testsuite/gdb.base/completion.exp    |  857 ++++++++++++------------------
 gdb/testsuite/gdb.base/float.exp         |    4 +-
 gdb/testsuite/gdb.base/long_long.exp     |    4 +-
 gdb/testsuite/gdb.base/pr10179.exp       |    4 +-
 gdb/testsuite/gdb.opt/inline-cmds.exp    |   25 +-
 gdb/version.in                           |    2 +-
 include/coff/ChangeLog                   |   17 +
 include/coff/rs6000.h                    |   31 +-
 include/coff/rs6k64.h                    |   32 +-
 sim/ChangeLog                            |    6 +
 sim/configure                            |    2 +-
 sim/configure.tgt                        |    2 +-
 sim/testsuite/ChangeLog                  |   12 +
 sim/testsuite/configure                  |    5 +-
 sim/testsuite/sim/arm/allinsn.exp        |    2 +-
 sim/testsuite/sim/arm/iwmmxt/iwmmxt.exp  |    2 +-
 sim/testsuite/sim/arm/misc.exp           |    2 +-
 sim/testsuite/sim/arm/thumb/allthumb.exp |    3 +-
 sim/testsuite/sim/arm/xscale/xscale.exp  |    2 +-
 46 files changed, 803 insertions(+), 736 deletions(-)

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index d63c273..c61b8d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-04  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac: Separate libgloss_dir settings from general case
+	over targets.
+	* configure: Regenerate.
+
 2011-04-28  Joseph Myers  <joseph@codesourcery.com>
 
 	* configure.ac (*-*-dragonfly*, *-*-freebsd*, *-*-netbsd*,
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4d155cd..7af29f0 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,24 @@
+2011-04-28  Tristan Gingold  <gingold@adacore.com>
+
+	* coff-rs6000.c (_bfd_xcoff_swap_aux_in): Adjust for x_file.
+	(bfd_xcoff_swap_aux_out): Ditto.
+	* coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Ditto.
+	(bfd_xcoff64_swap_aux_out): Ditto.
+
+2011-05-04  Alan Modra  <amodra@gmail.com>
+
+	PR ld/12727
+	* elf64-ppc.c (ppc_build_one_stub <ppc_sub_plt_call>): Clear
+	was_undefined on dot-symbols.
+
+2011-05-03  Paul Brook  <paul@codesourcery.com>
+
+
+	* elf32-tic6x.c (elf32_tic6x_howto_table,
+	elf32_tic6x_howto_table_rel, (elf32_tic6x_gc_sweep_hook,
+	elf32_tic6x_relocate_section, elf32_tic6x_check_relocs):
+	Add R_C6000_EHTYPE.
+
 2011-05-01  Alan Modra  <amodra@gmail.com>
 
 	PR ld/12718
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c
index 41bec09..21da658 100644
--- a/bfd/coff-rs6000.c
+++ b/bfd/coff-rs6000.c
@@ -463,23 +463,23 @@ _bfd_xcoff_swap_aux_in (bfd *abfd, PTR ext1, int type, int in_class,
   switch (in_class)
     {
     case C_FILE:
-      if (ext->x_file.x_fname[0] == 0)
+      if (ext->x_file.x_n.x_fname[0] == 0)
 	{
 	  in->x_file.x_n.x_zeroes = 0;
 	  in->x_file.x_n.x_offset =
-	    H_GET_32 (abfd, ext->x_file.x_n.x_offset);
+	    H_GET_32 (abfd, ext->x_file.x_n.x_n.x_offset);
 	}
       else
 	{
 	  if (numaux > 1)
 	    {
 	      if (indx == 0)
-		memcpy (in->x_file.x_fname, ext->x_file.x_fname,
+		memcpy (in->x_file.x_fname, ext->x_file.x_n.x_fname,
 			numaux * sizeof (AUXENT));
 	    }
 	  else
 	    {
-	      memcpy (in->x_file.x_fname, ext->x_file.x_fname, FILNMLEN);
+	      memcpy (in->x_file.x_fname, ext->x_file.x_n.x_fname, FILNMLEN);
 	    }
 	}
       goto end;
@@ -578,12 +578,13 @@ _bfd_xcoff_swap_aux_out (bfd *abfd, PTR inp, int type, int in_class,
     case C_FILE:
       if (in->x_file.x_fname[0] == 0)
 	{
-	  H_PUT_32 (abfd, 0, ext->x_file.x_n.x_zeroes);
-	  H_PUT_32 (abfd, in->x_file.x_n.x_offset, ext->x_file.x_n.x_offset);
+	  H_PUT_32 (abfd, 0, ext->x_file.x_n.x_n.x_zeroes);
+	  H_PUT_32 (abfd, in->x_file.x_n.x_offset,
+                    ext->x_file.x_n.x_n.x_offset);
 	}
       else
 	{
-	  memcpy (ext->x_file.x_fname, in->x_file.x_fname, FILNMLEN);
+	  memcpy (ext->x_file.x_n.x_fname, in->x_file.x_fname, FILNMLEN);
 	}
       goto end;
 
diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c
index cb2f1cc..1887bb9 100644
--- a/bfd/coff64-rs6000.c
+++ b/bfd/coff64-rs6000.c
@@ -353,14 +353,15 @@ _bfd_xcoff64_swap_aux_in (bfd *abfd, void *ext1, int type, int in_class,
   switch (in_class)
     {
     case C_FILE:
-      if (ext->x_file.x_n.x_zeroes[0] == 0)
+      if (ext->x_file.x_n.x_n.x_zeroes[0] == 0)
 	{
 	  in->x_file.x_n.x_zeroes = 0;
-	  in->x_file.x_n.x_offset = H_GET_32 (abfd, ext->x_file.x_n.x_offset);
+	  in->x_file.x_n.x_offset =
+            H_GET_32 (abfd, ext->x_file.x_n.x_n.x_offset);
 	}
       else
 	{
-	  memcpy (in->x_file.x_fname, ext->x_file.x_fname, FILNMLEN);
+	  memcpy (in->x_file.x_fname, ext->x_file.x_n.x_fname, FILNMLEN);
 	}
       goto end;
 
@@ -444,12 +445,13 @@ _bfd_xcoff64_swap_aux_out (bfd *abfd, void *inp, int type, int in_class,
     case C_FILE:
       if (in->x_file.x_n.x_zeroes == 0)
 	{
-	  H_PUT_32 (abfd, 0, ext->x_file.x_n.x_zeroes);
-	  H_PUT_32 (abfd, in->x_file.x_n.x_offset, ext->x_file.x_n.x_offset);
+	  H_PUT_32 (abfd, 0, ext->x_file.x_n.x_n.x_zeroes);
+	  H_PUT_32 (abfd, in->x_file.x_n.x_offset,
+                    ext->x_file.x_n.x_n.x_offset);
 	}
       else
 	{
-	  memcpy (ext->x_file.x_fname, in->x_file.x_fname, FILNMLEN);
+	  memcpy (ext->x_file.x_n.x_fname, in->x_file.x_fname, FILNMLEN);
 	}
       H_PUT_8 (abfd, _AUX_FILE, ext->x_auxtype.x_auxtype);
       goto end;
diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c
index b898aab..8b5f5cb 100644
--- a/bfd/elf32-tic6x.c
+++ b/bfd/elf32-tic6x.c
@@ -468,7 +468,19 @@ static reloc_howto_type elf32_tic6x_howto_table[] =
 	 0,			/* src_mask */
 	 0xffffffff,		/* dst_mask */
 	 FALSE),		/* pcrel_offset */
-  EMPTY_HOWTO (28),
+  HOWTO (R_C6000_EHTYPE,	/* type */
+	 0,			/* rightshift */
+	 2,			/* size (0 = byte, 1 = short, 2 = long) */
+	 32,			/* bitsize */
+	 FALSE,			/* pc_relative */
+	 0,			/* bitpos */
+	 complain_overflow_dont,/* complain_on_overflow */
+	 bfd_elf_generic_reloc,	/* special_function */
+	 "R_C6000_EHTYPE",	/* name */
+	 FALSE,			/* partial_inplace */
+	 0,			/* src_mask */
+	 0xffffffff,		/* dst_mask */
+	 FALSE),		/* pcrel_offset */
   EMPTY_HOWTO (29),
   EMPTY_HOWTO (30),
   EMPTY_HOWTO (31),
@@ -1040,7 +1052,19 @@ static reloc_howto_type elf32_tic6x_howto_table_rel[] =
 	 0,			/* src_mask */
 	 0xffffffff,		/* dst_mask */
 	 FALSE),		/* pcrel_offset */
-  EMPTY_HOWTO (28),
+  HOWTO (R_C6000_EHTYPE,	/* type */
+	 0,			/* rightshift */
+	 2,			/* size (0 = byte, 1 = short, 2 = long) */
+	 32,			/* bitsize */
+	 FALSE,			/* pc_relative */
+	 0,			/* bitpos */
+	 complain_overflow_dont,/* complain_on_overflow */
+	 bfd_elf_generic_reloc,	/* special_function */
+	 "R_C6000_EHTYPE",	/* name */
+	 FALSE,			/* partial_inplace */
+	 0,			/* src_mask */
+	 0xffffffff,		/* dst_mask */
+	 FALSE),		/* pcrel_offset */
   EMPTY_HOWTO (29),
   EMPTY_HOWTO (30),
   EMPTY_HOWTO (31),
@@ -1853,6 +1877,7 @@ elf32_tic6x_gc_sweep_hook (bfd *abfd,
 	case R_C6000_SBR_GOT_U15_W:
 	case R_C6000_SBR_GOT_L16_W:
 	case R_C6000_SBR_GOT_H16_W:
+	case R_C6000_EHTYPE:
 	  if (h != NULL)
 	    {
 	      if (h->got.refcount > 0)
@@ -2323,6 +2348,7 @@ elf32_tic6x_relocate_section (bfd *output_bfd,
 	case R_C6000_SBR_GOT_U15_W:
 	case R_C6000_SBR_GOT_L16_W:
 	case R_C6000_SBR_GOT_H16_W:
+	case R_C6000_EHTYPE:
 	  /* Relocation is to the entry for this symbol in the global
 	     offset table.  */
 	  if (htab->elf.sgot == NULL)
@@ -2646,6 +2672,7 @@ elf32_tic6x_check_relocs (bfd *abfd, struct bfd_link_info *info,
 	case R_C6000_SBR_GOT_U15_W:
 	case R_C6000_SBR_GOT_L16_W:
 	case R_C6000_SBR_GOT_H16_W:
+	case R_C6000_EHTYPE:
 	  /* This symbol requires a global offset table entry.  */
 	  if (h != NULL)
 	    {
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 13ae9a2..543a727 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -9789,6 +9789,8 @@ ppc_build_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg)
 	     these checks could now disappear.  */
 	  if (fh->elf.root.type == bfd_link_hash_undefined)
 	    fh->elf.root.type = bfd_link_hash_undefweak;
+	  /* Stop undo_symbol_twiddle changing it back to undefined.  */
+	  fh->was_undefined = 0;
 	}
 
       /* Now build the stub.  */
diff --git a/bfd/version.h b/bfd/version.h
index 23b2798..c4a330d 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110501
+#define BFD_VERSION_DATE 20110504
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/configure b/configure
index 1b2e3a7..11bfd0b 100755
--- a/configure
+++ b/configure
@@ -3265,6 +3265,39 @@ esac
 libgloss_dir="$target_cpu"
 
 case "${target}" in
+  sh*-*-pe|mips*-*-pe|*arm-wince-pe)
+    libgloss_dir=wince
+    ;;
+  arm*-*-*)
+    libgloss_dir=arm
+    ;;
+  cris-*-* | crisv32-*-*)
+    libgloss_dir=cris
+    ;;
+  hppa*-*-*)
+    libgloss_dir=pa
+    ;;
+  i[3456789]86-*-*)
+    libgloss_dir=i386
+    ;;
+  m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
+    libgloss_dir=m68hc11
+    ;;
+  m68*-*-* | fido-*-*)
+    libgloss_dir=m68k
+    ;;
+  mips*-*-*)
+    libgloss_dir=mips
+    ;;
+  powerpc*-*-*)
+    libgloss_dir=rs6000
+    ;;
+  sparc*-*-*)
+    libgloss_dir=sparc
+    ;;
+esac
+
+case "${target}" in
   *-*-chorusos)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
     ;;
@@ -3344,25 +3377,20 @@ case "${target}" in
   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
     noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
     noconfigdirs="$noconfigdirs target-newlib"
-    libgloss_dir=wince
     ;;
   arc-*-*)
     noconfigdirs="$noconfigdirs target-libgloss"
     ;;
   arm-*-coff)
-    libgloss_dir=arm
     ;;
   arm-*-elf* | arm*-*-eabi* )
-    libgloss_dir=arm
     ;;
   arm*-*-linux-gnueabi)
     case ${with_newlib} in
       no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
     esac
-    libgloss_dir=arm
     ;;
   arm*-*-symbianelf*)
-    libgloss_dir=arm
     ;;
   arm-*-pe*)
     noconfigdirs="$noconfigdirs target-libgloss"
@@ -3388,7 +3416,6 @@ case "${target}" in
       *-*-linux*)
 	noconfigdirs="$noconfigdirs target-newlib target-libgloss";;
     esac
-    libgloss_dir=cris
     ;;
   d10v-*-*)
     noconfigdirs="$noconfigdirs target-libgloss"
@@ -3425,7 +3452,6 @@ case "${target}" in
     noconfigdirs="$noconfigdirs ld"
     ;;
   hppa*-*-pro*)
-    libgloss_dir=pa
     ;;
   hppa*-*-*)
     noconfigdirs="$noconfigdirs ld"
@@ -3446,7 +3472,6 @@ case "${target}" in
     noconfigdirs="$noconfigdirs readline libgui itcl gdb ld"
     ;;
   i[3456789]86-*-coff | i[3456789]86-*-elf)
-    libgloss_dir=i386
     ;;
   i[3456789]86-*-linux*)
     # This section makes it possible to build newlib natively on linux.
@@ -3508,12 +3533,10 @@ case "${target}" in
   m32r-*-*)
     ;;
   m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
-    libgloss_dir=m68hc11
     ;;
   m68k-*-elf*)
     ;;
   m68*-*-* | fido-*-*)
-    libgloss_dir=m68k
     ;;
   mmix-*-*)
     noconfigdirs="$noconfigdirs gdb"
@@ -3534,16 +3557,13 @@ case "${target}" in
     # This is temporary until we can link against shared libraries
   powerpcle-*-solaris*)
     noconfigdirs="$noconfigdirs gdb sim tcl tk itcl"
-    libgloss_dir=rs6000
     ;;
   powerpc-*-beos*)
     noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
     ;;
   powerpc-*-eabi)
-    libgloss_dir=rs6000
     ;;
   powerpc-*-eabi* | powerpcle-*-eabi* | powerpc-*-rtems* )
-    libgloss_dir=rs6000
     ;;
   rs6000-*-lynxos*)
     noconfigdirs="$noconfigdirs target-newlib gprof"
@@ -3564,7 +3584,6 @@ case "${target}" in
     if test x$with_newlib = xyes; then
       noconfigdirs="$noconfigdirs gprof"
     fi
-    libgloss_dir=mips
     ;;
   mips*-*-irix5*)
     noconfigdirs="$noconfigdirs gprof target-libgloss"
@@ -3580,7 +3599,6 @@ case "${target}" in
     ;;
   mips*-*-*)
     noconfigdirs="$noconfigdirs gprof"
-    libgloss_dir=mips
     ;;
   sh-*-* | sh64-*-*)
     case "${target}" in
@@ -3591,15 +3609,12 @@ case "${target}" in
     esac
     ;;
   sparclet-*-aout* | sparc86x-*-*)
-    libgloss_dir=sparc
     ;;
   sparc-*-elf*)
     ;;
   sparc64-*-elf*)
-    libgloss_dir=sparc
     ;;
   sparclite-*-*)
-    libgloss_dir=sparc
     ;;
   sparc-*-sunos4*)
     if test x${is_cross_compiler} != xno ; then
diff --git a/configure.ac b/configure.ac
index a536c5e..c41abf3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -712,6 +712,39 @@ esac
 libgloss_dir="$target_cpu"
 
 case "${target}" in
+  sh*-*-pe|mips*-*-pe|*arm-wince-pe)
+    libgloss_dir=wince
+    ;;
+  arm*-*-*)
+    libgloss_dir=arm
+    ;;
+  cris-*-* | crisv32-*-*)
+    libgloss_dir=cris
+    ;;
+  hppa*-*-*)
+    libgloss_dir=pa
+    ;;
+  i[[3456789]]86-*-*)
+    libgloss_dir=i386
+    ;;
+  m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
+    libgloss_dir=m68hc11
+    ;;
+  m68*-*-* | fido-*-*)
+    libgloss_dir=m68k
+    ;;
+  mips*-*-*)
+    libgloss_dir=mips
+    ;;
+  powerpc*-*-*)
+    libgloss_dir=rs6000
+    ;;
+  sparc*-*-*)
+    libgloss_dir=sparc
+    ;;
+esac
+
+case "${target}" in
   *-*-chorusos)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss"
     ;;
@@ -791,25 +824,20 @@ case "${target}" in
   sh*-*-pe|mips*-*-pe|*arm-wince-pe)
     noconfigdirs="$noconfigdirs tcl tk itcl libgui sim"
     noconfigdirs="$noconfigdirs target-newlib"
-    libgloss_dir=wince
     ;;
   arc-*-*)
     noconfigdirs="$noconfigdirs target-libgloss"
     ;;
   arm-*-coff)
-    libgloss_dir=arm
     ;;
   arm-*-elf* | arm*-*-eabi* )
-    libgloss_dir=arm
     ;;
   arm*-*-linux-gnueabi)
     case ${with_newlib} in
       no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
     esac
-    libgloss_dir=arm
     ;;
   arm*-*-symbianelf*)
-    libgloss_dir=arm
     ;;
   arm-*-pe*)
     noconfigdirs="$noconfigdirs target-libgloss"
@@ -835,7 +863,6 @@ case "${target}" in
       *-*-linux*)
 	noconfigdirs="$noconfigdirs target-newlib target-libgloss";;
     esac
-    libgloss_dir=cris
     ;;
   d10v-*-*)
     noconfigdirs="$noconfigdirs target-libgloss"
@@ -872,7 +899,6 @@ case "${target}" in
     noconfigdirs="$noconfigdirs ld"
     ;;
   hppa*-*-pro*)
-    libgloss_dir=pa
     ;;
   hppa*-*-*)
     noconfigdirs="$noconfigdirs ld"
@@ -893,7 +919,6 @@ case "${target}" in
     noconfigdirs="$noconfigdirs readline libgui itcl gdb ld"
     ;;
   i[[3456789]]86-*-coff | i[[3456789]]86-*-elf)
-    libgloss_dir=i386
     ;;
   i[[3456789]]86-*-linux*)
     # This section makes it possible to build newlib natively on linux.
@@ -955,12 +980,10 @@ case "${target}" in
   m32r-*-*)
     ;;
   m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*)
-    libgloss_dir=m68hc11
     ;;
   m68k-*-elf*)
     ;;
   m68*-*-* | fido-*-*)
-    libgloss_dir=m68k
     ;;
   mmix-*-*)
     noconfigdirs="$noconfigdirs gdb"
@@ -981,16 +1004,13 @@ case "${target}" in
     # This is temporary until we can link against shared libraries
   powerpcle-*-solaris*)
     noconfigdirs="$noconfigdirs gdb sim tcl tk itcl"
-    libgloss_dir=rs6000
     ;;
   powerpc-*-beos*)
     noconfigdirs="$noconfigdirs gdb target-newlib target-libgloss"
     ;;
   powerpc-*-eabi)
-    libgloss_dir=rs6000
     ;;


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-05-01 15:49 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-05-01 15:49 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  da90f7a7481c546ed7f6bf3ff4481e1302c8bfc3 (commit)
       via  9197bcacc6fa176aacaa09582207ecb3171dbd61 (commit)
       via  37c169a23a1ba1baf2e628d048152b163e92fa21 (commit)
       via  c3770ab55b2752a60451b2bc593371ae7d424d1f (commit)
       via  c2c5d4451c0d78b2516b45ba190d5bbc6352205d (commit)
      from  9d0bda9992bdeb0ed0f9cf7237617e6c3f2de610 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit da90f7a7481c546ed7f6bf3ff4481e1302c8bfc3
Merge: 9d0bda9 9197bca
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun May 1 17:49:44 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit 9197bcacc6fa176aacaa09582207ecb3171dbd61
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun May 1 12:04:06 2011 +0000

    	PR ld/12718
    	* elf32-i386.c (elf_i386_check_relocs): Ensure dynobj set before
    	creating ifunc sections.
    	* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.

commit 37c169a23a1ba1baf2e628d048152b163e92fa21
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun May 1 00:00:05 2011 +0000

    daily update

commit c3770ab55b2752a60451b2bc593371ae7d424d1f
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun May 1 00:00:04 2011 +0000

    *** empty log message ***

commit c2c5d4451c0d78b2516b45ba190d5bbc6352205d
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Apr 30 17:56:34 2011 +0000

    Correct parameter names for elf_x86_64_merge_symbol.
    
    2011-04-30  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf64-x86-64.c (elf_x86_64_merge_symbol): Correct parameter
    	names.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog      |   12 ++++++++++++
 bfd/elf32-i386.c   |    4 +++-
 bfd/elf64-x86-64.c |   16 +++++++++-------
 bfd/version.h      |    2 +-
 gdb/version.in     |    2 +-
 5 files changed, 26 insertions(+), 10 deletions(-)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8216abd..4d155cd 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,15 @@
+2011-05-01  Alan Modra  <amodra@gmail.com>
+
+	PR ld/12718
+	* elf32-i386.c (elf_i386_check_relocs): Ensure dynobj set before
+	creating ifunc sections.
+	* elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
+
+2011-04-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (elf_x86_64_merge_symbol): Correct parameter
+	names.
+
 2011-04-28  Tom Tromey  <tromey@redhat.com>
 
 	* bfdio.c (memory_bstat): Pass correct size to memset.
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index e32ec83..ee1511f 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -1376,7 +1376,9 @@ elf_i386_check_relocs (bfd *abfd,
 	    case R_386_PLT32:
 	    case R_386_GOT32:
 	    case R_386_GOTOFF:
-	      if (!_bfd_elf_create_ifunc_sections (abfd, info))
+	      if (htab->elf.dynobj == NULL)
+		htab->elf.dynobj = abfd;
+	      if (!_bfd_elf_create_ifunc_sections (htab->elf.dynobj, info))
 		return FALSE;
 	      break;
 	    }
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index a02b3e8..ae175e1 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -1261,7 +1261,9 @@ elf_x86_64_check_relocs (bfd *abfd, struct bfd_link_info *info,
 	    case R_X86_64_PLT32:
 	    case R_X86_64_GOTPCREL:
 	    case R_X86_64_GOTPCREL64:
-	      if (!_bfd_elf_create_ifunc_sections (abfd, info))
+	      if (htab->elf.dynobj == NULL)
+		htab->elf.dynobj = abfd;
+	      if (!_bfd_elf_create_ifunc_sections (htab->elf.dynobj, info))
 		return FALSE;
 	      break;
 	    }
@@ -4551,14 +4553,14 @@ elf_x86_64_merge_symbol (struct bfd_link_info *info ATTRIBUTE_UNUSED,
 			 bfd_boolean *override ATTRIBUTE_UNUSED,
 			 bfd_boolean *type_change_ok ATTRIBUTE_UNUSED,
 			 bfd_boolean *size_change_ok ATTRIBUTE_UNUSED,
-			 bfd_boolean *newdef ATTRIBUTE_UNUSED,
-			 bfd_boolean *newdyn,
+			 bfd_boolean *newdyn ATTRIBUTE_UNUSED,
+			 bfd_boolean *newdef,
 			 bfd_boolean *newdyncommon ATTRIBUTE_UNUSED,
 			 bfd_boolean *newweak ATTRIBUTE_UNUSED,
 			 bfd *abfd ATTRIBUTE_UNUSED,
 			 asection **sec,
-			 bfd_boolean *olddef ATTRIBUTE_UNUSED,
-			 bfd_boolean *olddyn,
+			 bfd_boolean *olddyn ATTRIBUTE_UNUSED,
+			 bfd_boolean *olddef,
 			 bfd_boolean *olddyncommon ATTRIBUTE_UNUSED,
 			 bfd_boolean *oldweak ATTRIBUTE_UNUSED,
 			 bfd *oldbfd,
@@ -4567,9 +4569,9 @@ elf_x86_64_merge_symbol (struct bfd_link_info *info ATTRIBUTE_UNUSED,
   /* A normal common symbol and a large common symbol result in a
      normal common symbol.  We turn the large common symbol into a
      normal one.  */
-  if (!*olddyn
+  if (!*olddef
       && h->root.type == bfd_link_hash_common
-      && !*newdyn
+      && !*newdef
       && bfd_is_com_section (*sec)
       && *oldsec != *sec)
     {
diff --git a/bfd/version.h b/bfd/version.h
index ffa33ff..23b2798 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110430
+#define BFD_VERSION_DATE 20110501
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/version.in b/gdb/version.in
index 68a820e..f566d6e 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-7.3.50.20110430-cvs
+7.3.50.20110501-cvs


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-04-30 14:57 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-04-30 14:57 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  9d0bda9992bdeb0ed0f9cf7237617e6c3f2de610 (commit)
       via  a87324b1533d386ed717dcfbd7881f5e4d51222a (commit)
       via  b9b3b0e1137668d9af49890de279284099095e48 (commit)
       via  ed3aff249a6908f30b51115edbceb03c5b79ffa3 (commit)
       via  b327aaae6e923f7628fd4774f357203d21caddf6 (commit)
       via  e098a905f9c5f84825c67ae950078de5507e5d6a (commit)
       via  2cc9c066b08748243b23c99ecd4d8b3b61357270 (commit)
       via  95ce9762a543ed09d8c553a48ab0ec79f24e8586 (commit)
       via  689d617197b91a1ce3662b03125c5d1e71d4be47 (commit)
       via  f216ef341b3a1ffbaae29f5892867bbf09b60877 (commit)
       via  7f62f13c2b535c6a23035407f1c8a36ad7993dec (commit)
       via  622948ba7ccbf5444140808737f0096f6339bac5 (commit)
       via  848032125cdddcc3f39be6cd8e927efdfccc0bfd (commit)
       via  86279c21a7692c83d4b292822718918942398dfc (commit)
       via  9383842801eb839f8d232991cb9c1e851e20158d (commit)
       via  557acd57753439241b61d923f8078c0f2c21c83b (commit)
       via  fe571c9f629be7a4b2b2c36dc44b9ab800d28f9a (commit)
       via  9c8d62c13f8e6b4d34bcb78b6e1fc339dc358e0e (commit)
       via  c66851b2aa12ace6d26af806d7869342c1f0927f (commit)
       via  c78bce0cfad2c01dde76e8e5164fa4b5d4b1f26d (commit)
       via  286f84c0733b2e6e3c773482ce5c97f9c4336a95 (commit)
       via  d98ebdb008a967986163b906624bf193777adc21 (commit)
       via  cc294bad4162d79d79331986045e159549414235 (commit)
       via  5b7743a275e4610fe6ea57f0c61e317490ee6854 (commit)
       via  22c4dd625566689970c7264285888da7963e5ecf (commit)
       via  6324ee1a545a6c3d67ea7ca57f205198a9a30457 (commit)
       via  5e679e02e8706c6fb6e4459e2a8ee80287b0c7e1 (commit)
       via  5b11e83500dbee24a831a061e73174fa5131d4f5 (commit)
       via  6846d95f634cffdb57d43a36a564c459639d44da (commit)
       via  20ba99a628ba68c96bd275f6ce8108ae78117b69 (commit)
       via  6fa29b949e1f2dfb823af90f3a81c3292babd586 (commit)
       via  fcffe0f5577e4421423cef8d72ecd80c306fd267 (commit)
       via  7ade46b08cac52eaf1ce27d407a0bb5718afe82e (commit)
       via  f79d181225fe4ba4eceeebe78e5b8734005ee34a (commit)
       via  87574618bba4f98323ab578dae1eb6616eb6fb85 (commit)
       via  ef5d824a73805747d003fed4637c089be2cf2ac1 (commit)
       via  6f35b0d974cd2e3f6a4b10ab9cb40a2d3619aaa3 (commit)
       via  b5a6bfb7d9b6534c916fe07f7b704904d444b229 (commit)
       via  45bffbf0f769be69009adbb1d4ff18ef15e6df13 (commit)
       via  d0e2bfb5b70a135e4d9e9cb2e9b282bf1ae4d182 (commit)
       via  d472c74c807710c09b71247198a813760f6fcbad (commit)
       via  519806e2d86d44db418a346bd21ff5f75acd054f (commit)
       via  c79113e8396cdaaef48cdf5d0b6ef5c64591bcf8 (commit)
       via  293f21632270292dd425d9d55015c398069f3324 (commit)
       via  1bdba67574a2d5adf083a71c46958716f8f72401 (commit)
       via  e05295dfd3b20c16b8c73e59e1ae3e6e741270e7 (commit)
       via  5d20c6465a5eda5754a425d6d837171fa6e7e9bf (commit)
       via  8102d380d87eac4a33b3002a397f52745114f991 (commit)
       via  0c1e1542936273faab7e60072fb09e806ca10186 (commit)
       via  231db70b7234728e7e01728fd157cdd3c3ea43d3 (commit)
      from  db6071ad0e21f7649741e453db02aad998c9899a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 9d0bda9992bdeb0ed0f9cf7237617e6c3f2de610
Merge: db6071a a87324b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Apr 30 16:57:27 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit a87324b1533d386ed717dcfbd7881f5e4d51222a
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Sat Apr 30 11:01:35 2011 +0000

    	* dwarf2.h (DW_OP_GNU_const_type, DW_OP_GNU_regval_type,
    	DW_OP_GNU_deref_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret): New.

commit b9b3b0e1137668d9af49890de279284099095e48
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Apr 30 00:00:33 2011 +0000

    *** empty log message ***

commit ed3aff249a6908f30b51115edbceb03c5b79ffa3
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Apr 30 00:00:10 2011 +0000

    daily update

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   66 ++
 bfd/ChangeLog                                      |   20 +
 bfd/bfdio.c                                        |    4 +-
 bfd/coff64-rs6000.c                                |  354 +++++-------
 bfd/coffcode.h                                     |    5 +-
 bfd/dwarf2.c                                       |    2 +-
 bfd/elf.c                                          |    2 +-
 bfd/libbfd-in.h                                    |    2 +-
 bfd/libbfd.h                                       |    2 +-
 bfd/version.h                                      |    2 +-
 configure                                          |  267 ++++++---
 configure.ac                                       |  267 ++++++---
 gdb/ChangeLog                                      |  317 ++++++++++
 gdb/annotate.c                                     |    4 +-
 gdb/arm-tdep.c                                     |  650 +++++++++++---------
 gdb/breakpoint.c                                   |  237 +++----
 gdb/common/linux-ptrace.h                          |   61 ++
 gdb/doc/ChangeLog                                  |    6 +
 gdb/doc/gdb.texinfo                                |   31 +-
 gdb/doc/observer.texi                              |   17 +-
 gdb/dwarf2read.c                                   |   55 ++-
 gdb/elfread.c                                      |    7 +-
 gdb/gdbserver/ChangeLog                            |   15 +
 gdb/gdbserver/Makefile.in                          |    4 +-
 gdb/gdbserver/linux-low.c                          |   39 +--
 gdb/gdbserver/linux-x86-low.c                      |   21 +-
 gdb/infrun.c                                       |  116 ++++-
 gdb/linux-nat.c                                    |  120 ++--
 gdb/mi/mi-cmd-break.c                              |    7 +-
 gdb/mi/mi-interp.c                                 |   96 +++
 gdb/mi/mi-main.c                                   |   10 +-
 gdb/mi/mi-main.h                                   |    1 +
 gdb/mi/mi-out.c                                    |   28 +-
 gdb/mi/mi-parse.c                                  |    4 +-
 gdb/minsyms.c                                      |    9 +-
 gdb/nto-procfs.c                                   |   43 +-
 gdb/objfiles.c                                     |   14 +-
 gdb/procfs.c                                       |   58 +--
 gdb/psymtab.c                                      |   11 +-
 gdb/python/py-breakpoint.c                         |   14 +-
 gdb/remote.c                                       |   36 +-
 gdb/symfile.h                                      |    8 +-
 gdb/symtab.c                                       |   78 ++-
 gdb/symtab.h                                       |    3 +-
 gdb/target.c                                       |   48 +-
 gdb/target.h                                       |   21 +-
 gdb/testsuite/ChangeLog                            |   55 ++
 gdb/testsuite/gdb.base/annota1.exp                 |    4 +-
 gdb/testsuite/gdb.base/fortran-sym-case.c          |   22 +
 gdb/testsuite/gdb.base/fortran-sym-case.exp        |   27 +
 .../gdb.base/gdbindex-stabs-dwarf.c}               |   33 +-
 gdb/testsuite/gdb.base/gdbindex-stabs.c            |   21 +
 gdb/testsuite/gdb.base/gdbindex-stabs.exp          |   36 ++
 gdb/testsuite/gdb.base/ifelse.exp                  |    9 +-
 gdb/{mi/mi-main.h => testsuite/gdb.base/signest.c} |   61 ++-
 gdb/testsuite/gdb.base/signest.exp                 |   67 ++
 .../gdb.dwarf2/dw2-case-insensitive-debug.S        |  102 +++
 .../gdb.dwarf2/dw2-case-insensitive.c}             |   38 +-
 gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.exp  |   49 ++
 gdb/testsuite/gdb.mi/mi-cli.exp                    |    2 +-
 gdb/testsuite/gdb.mi/mi-watch.exp                  |    2 +-
 gdb/testsuite/gdb.mi/mi2-cli.exp                   |    2 +-
 gdb/testsuite/gdb.mi/mi2-watch.exp                 |    2 +-
 gdb/testsuite/gdb.python/py-mi.exp                 |   40 ++
 gdb/testsuite/gdb.python/py-prettyprint.c          |   11 +
 gdb/testsuite/lib/gdb.exp                          |    4 +
 gdb/testsuite/lib/mi-support.exp                   |    8 +-
 gdb/tui/tui-hooks.c                                |    6 +-
 gdb/utils.c                                        |  113 +++--
 gdb/valprint.c                                     |   22 +-
 gdb/varobj.c                                       |    8 +
 gdb/version.in                                     |    2 +-
 include/ChangeLog                                  |    5 +
 include/coff/ChangeLog                             |   10 +
 include/coff/xcoff.h                               |   61 ++-
 include/dwarf2.h                                   |    7 +
 opcodes/ChangeLog                                  |    8 +
 opcodes/po/da.po                                   |  249 ++++-----
 opcodes/ppc-opc.c                                  |    4 +-
 sim/bfin/ChangeLog                                 |   29 +
 sim/bfin/dv-bfin_dmac.c                            |   26 +-
 sim/bfin/dv-bfin_gpio.c                            |  110 +++-
 82 files changed, 2976 insertions(+), 1461 deletions(-)
 create mode 100644 gdb/common/linux-ptrace.h
 create mode 100644 gdb/testsuite/gdb.base/fortran-sym-case.c
 create mode 100644 gdb/testsuite/gdb.base/fortran-sym-case.exp
 copy gdb/{mi/mi-main.h => testsuite/gdb.base/gdbindex-stabs-dwarf.c} (52%)
 create mode 100644 gdb/testsuite/gdb.base/gdbindex-stabs.c
 create mode 100644 gdb/testsuite/gdb.base/gdbindex-stabs.exp
 copy gdb/{mi/mi-main.h => testsuite/gdb.base/signest.c} (52%)
 create mode 100644 gdb/testsuite/gdb.base/signest.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-case-insensitive-debug.S
 copy gdb/{mi/mi-main.h => testsuite/gdb.dwarf2/dw2-case-insensitive.c} (54%)
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.exp

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index adbd25c..d63c273 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,69 @@
+2011-04-28  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac (*-*-dragonfly*, *-*-freebsd*, *-*-netbsd*,
+	alpha*-dec-osf*, alpha*-*-linux*, alpha*-*-*, sh-*-linux*,
+	arm-*-elf* | arm*-*-eabi*, arm*-*-linux-gnueabi, frv-*-*): Remove
+	cases in libgcj-disabling case statement.
+	(hppa*64*-*-linux*): Set unsupported_languages instead of
+	disabling target-zlib.
+	(hppa*64*-*-*): Restrict case in libgcj-disabling case statement
+	to hppa*64*-*-hpux*.
+	(hppa*-*-*): Restrict case in libgcj-disabling case statement to
+	hppa*-*-hpux*.
+	(ia64*-*-elf*, ia64*-**-hpux*, i[[3456789]]86-*-elf,
+	i[[3456789]]86-*-linux*, *-*-cygwin*, i[[3456789]]86-*-interix*,
+	i[[3456789]]86-*-solaris2*, m32r-*-*, m68k-*-elf*, m68*-*-* |
+	fido-*-*, powerpc-*-eabi, powerpc-*-eabi* | powerpcle-*-eabi* |
+	powerpc-*-rtems*, mips*-*-linux*, mips*-*-*, sh-*-* | sh64-*-*,
+	sparc-*-elf*, sparc64-*-elf*, sparc-*-solaris* |
+	sparc64-*-solaris* | sparcv9-*-solaris*, *-*-linux* | *-*-gnu* |
+	*-*-k*bsd*-gnu | *-*-kopensolaris*-gnu, *-*-*): Remove cases in
+	libgcj-disabling case statement.
+	* configure: Regenerate.
+
+2011-04-28  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac: Disable Java for targets not supporting libffi.
+	(*-*-chorusos, *-*-kaos*, am33_2.0-*-linux*, sh*-*-pe|mips*-*-pe):
+	Remove cases in Java-disabling statement.
+	(*arm-wince-pe): Change to arm-wince-pe.
+	(arc-*-*, arm-*-coff, arm-*-pe*, arm-*-riscix*, avr-*-*): Remove
+	cases in Java-disabling statement.
+	(bfin-*-*): Don't disable Java again.
+	(c4x-*-* | tic4x-*-*, tic54x-*-*, cr16-*-*, d10v-*-*, d30v-*-*,
+	fr30-*-elf*, moxie-*-*, h8300*-*-*, h8500-*-*, hppa1.1-*-osf* |
+	hppa1.1-*-bsd*, hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-openbsd*,
+	hppa*-*-pro*, i960-*-*, i[[3456789]]86-*-coff,
+	i[[3456789]]86-*-pe, i[[3456789]]86-*-sco3.2v5*,
+	i[[3456789]]86-*-sco*, i[[3456789]]86-*-sysv4*,
+	i[[3456789]]86-*-beos*, i[[3456789]]86-*-rdos*,
+	m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*): Remove cases in
+	Java-disabling statement.
+	(mmix-*-*): Don't disable Java again.
+	(mt-*-*, powerpc*-*-winnt* | powerpc*-*-pe*, powerpcle-*-solaris*,
+	powerpc-*-beos*, rs6000-*-lynxos*, rs6000-*-*, m68k-apollo-*,
+	microblaze*, mips*-sde-elf*, mips*-*-irix5*, mips*-*-bsd*,
+	sparclet-*-aout* | sparc86x-*-*, sparclite-*-*, sparc-*-sunos4*,
+	tic6x-*-*, v810-*-*, vax-*-*): Remove cases in Java-disabling
+	statement.
+	* configure: Regenerate.
+
+2011-04-28  Joseph Myers  <joseph@codesourcery.com>
+
+	Merge from GCC:
+
+	2011-04-18  Jack Howarth  <howarth@bromo.med.uc.edu>
+
+	PR lto/48086
+	* configure.ac: Re-enable LTO on *-apple-darwin9*.
+	* configure: Regenerate.
+
+2011-04-28  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac: Separate cases disabling Java and Java libraries
+	from general case over targets.
+	* configure: Regenerate.
+
 2011-04-06  Joseph Myers  <joseph@codesourcery.com>
 
 	* configure.ac (build_tools): Remove build-byacc.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ad71e25..8216abd 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,23 @@
+2011-04-28  Tom Tromey  <tromey@redhat.com>
+
+	* bfdio.c (memory_bstat): Pass correct size to memset.
+
+2011-04-28  Mike Frysinger  <vapier@gentoo.org>
+
+	* dwarf2.c (dwarf_debug_sections): Mark const.
+	* elf.c (special_sections): Likewise.
+	* libbfd-in.h (dwarf_debug_sections): Likewise.
+	* libbfd.h: Regenerate.
+
+2011-04-26  Kai Tietz  <ktietz@redhat.com>
+
+	* coffcode.h (sec_to_styp_flags): Allow linkonce for
+	debugging sections.
+
+2011-04-26  Tristan Gingold  <gingold@adacore.com>
+
+	* coff64-rs6000.c: Convert to ISO-C.  Remove PARAMS and PTR macros.
+
 2011-04-24  Alan Modra  <amodra@gmail.com>
 
 	PR ld/12365
diff --git a/bfd/bfdio.c b/bfd/bfdio.c
index ce92781..dab8e88 100644
--- a/bfd/bfdio.c
+++ b/bfd/bfdio.c
@@ -1,7 +1,7 @@
 /* Low-level I/O routines for BFDs.
 
    Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2011
    Free Software Foundation, Inc.
 
    Written by Cygnus Support.
@@ -577,7 +577,7 @@ memory_bstat (bfd *abfd, struct stat *statbuf)
 {
   struct bfd_in_memory *bim = (struct bfd_in_memory *) abfd->iostream;
 
-  memset (statbuf, 0, sizeof (statbuf));
+  memset (statbuf, 0, sizeof (*statbuf));
   statbuf->st_size = bim->size;
 
   return 0;
diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c
index b154b67..cb2f1cc 100644
--- a/bfd/coff64-rs6000.c
+++ b/bfd/coff64-rs6000.c
@@ -85,106 +85,104 @@
 #define coff_SWAP_lineno_out _bfd_xcoff64_swap_lineno_out
 
 static void _bfd_xcoff64_swap_lineno_in
-  PARAMS ((bfd *, PTR, PTR));
+  (bfd *, void *, void *);
 static unsigned int _bfd_xcoff64_swap_lineno_out
-  PARAMS ((bfd *, PTR, PTR));
+  (bfd *, void *, void *);
 static bfd_boolean _bfd_xcoff64_put_symbol_name
-  PARAMS ((bfd *, struct bfd_strtab_hash *, struct internal_syment *,
-	   const char *));
+  (bfd *, struct bfd_strtab_hash *, struct internal_syment *, const char *);
 static bfd_boolean _bfd_xcoff64_put_ldsymbol_name
-  PARAMS ((bfd *, struct xcoff_loader_info *, struct internal_ldsym *,
-	   const char *));
+  (bfd *, struct xcoff_loader_info *, struct internal_ldsym *, const char *);
 static void _bfd_xcoff64_swap_sym_in
-  PARAMS ((bfd *, PTR, PTR));
+  (bfd *, void *, void *);
 static unsigned int _bfd_xcoff64_swap_sym_out
-  PARAMS ((bfd *, PTR, PTR));
+  (bfd *, void *, void *);
 static void _bfd_xcoff64_swap_aux_in
-  PARAMS ((bfd *, PTR, int, int, int, int, PTR));
+  (bfd *, void *, int, int, int, int, void *);
 static unsigned int _bfd_xcoff64_swap_aux_out
-  PARAMS ((bfd *, PTR, int, int, int, int, PTR));
+  (bfd *, void *, int, int, int, int, void *);
 static void xcoff64_swap_reloc_in
-  PARAMS ((bfd *, PTR, PTR));
+  (bfd *, void *, void *);
 static unsigned int xcoff64_swap_reloc_out
-  PARAMS ((bfd *, PTR, PTR));
+  (bfd *, void *, void *);
 extern bfd_boolean _bfd_xcoff_mkobject
-  PARAMS ((bfd *));
+  (bfd *);
 extern bfd_boolean _bfd_xcoff_copy_private_bfd_data
-  PARAMS ((bfd *, bfd *));
+  (bfd *, bfd *);
 extern bfd_boolean _bfd_xcoff_is_local_label_name
-  PARAMS ((bfd *, const char *));
+  (bfd *, const char *);
 extern void xcoff64_rtype2howto
-  PARAMS ((arelent *, struct internal_reloc *));
+  (arelent *, struct internal_reloc *);
 extern reloc_howto_type * xcoff64_reloc_type_lookup
-  PARAMS ((bfd *, bfd_reloc_code_real_type));
+  (bfd *, bfd_reloc_code_real_type);
 extern bfd_boolean _bfd_xcoff_slurp_armap
-  PARAMS ((bfd *));
-extern PTR _bfd_xcoff_read_ar_hdr
-  PARAMS ((bfd *));
+  (bfd *);
+extern void *_bfd_xcoff_read_ar_hdr
+  (bfd *);
 extern bfd *_bfd_xcoff_openr_next_archived_file
-  PARAMS ((bfd *, bfd *));
+  (bfd *, bfd *);
 extern int _bfd_xcoff_stat_arch_elt
-  PARAMS ((bfd *, struct stat *));
+  (bfd *, struct stat *);
 extern bfd_boolean _bfd_xcoff_write_armap
-  PARAMS ((bfd *, unsigned int, struct orl *, unsigned int, int));
+  (bfd *, unsigned int, struct orl *, unsigned int, int);
 extern bfd_boolean _bfd_xcoff_write_archive_contents
-  PARAMS ((bfd *));
+  (bfd *);
 extern int _bfd_xcoff_sizeof_headers
-  PARAMS ((bfd *, struct bfd_link_info *));
+  (bfd *, struct bfd_link_info *);
 extern void _bfd_xcoff_swap_sym_in
-  PARAMS ((bfd *, PTR, PTR));
+  (bfd *, void *, void *);
 extern unsigned int _bfd_xcoff_swap_sym_out
-  PARAMS ((bfd *, PTR, PTR));
+  (bfd *, void *, void *);
 extern void _bfd_xcoff_swap_aux_in
-  PARAMS ((bfd *, PTR, int, int, int, int, PTR));
+  (bfd *, void *, int, int, int, int, void *);
 extern unsigned int _bfd_xcoff_swap_aux_out
-  PARAMS ((bfd *, PTR, int, int, int, int, PTR));
+  (bfd *, void *, int, int, int, int, void *);
 static void xcoff64_swap_ldhdr_in
-  PARAMS ((bfd *, const PTR, struct internal_ldhdr *));
+  (bfd *, const void *, struct internal_ldhdr *);
 static void xcoff64_swap_ldhdr_out
-  PARAMS ((bfd *, const struct internal_ldhdr *, PTR d));
+  (bfd *, const struct internal_ldhdr *, void *d);
 static void xcoff64_swap_ldsym_in
-  PARAMS ((bfd *, const PTR, struct internal_ldsym *));
+  (bfd *, const void *, struct internal_ldsym *);
 static void xcoff64_swap_ldsym_out
-  PARAMS ((bfd *, const struct internal_ldsym *, PTR d));
+  (bfd *, const struct internal_ldsym *, void *d);
 static void xcoff64_swap_ldrel_in
-  PARAMS ((bfd *, const PTR, struct internal_ldrel *));
+  (bfd *, const void *, struct internal_ldrel *);
 static void xcoff64_swap_ldrel_out
-  PARAMS ((bfd *, const struct internal_ldrel *, PTR d));
+  (bfd *, const struct internal_ldrel *, void *d);
 static bfd_boolean xcoff64_write_object_contents
-  PARAMS ((bfd *));
+  (bfd *);
 static bfd_boolean xcoff64_ppc_relocate_section
-  PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
-	   struct internal_reloc *, struct internal_syment *,
-	   asection **));
+  (bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
+   struct internal_reloc *, struct internal_syment *,
+   asection **);
 static bfd_boolean xcoff64_slurp_armap
-  PARAMS ((bfd *));
+  (bfd *);
 static const bfd_target *xcoff64_archive_p
-  PARAMS ((bfd *));
+  (bfd *);
 static bfd *xcoff64_openr_next_archived_file
-  PARAMS ((bfd *, bfd *));
+  (bfd *, bfd *);
 static int xcoff64_sizeof_headers
-  PARAMS ((bfd *, struct bfd_link_info *));
+  (bfd *, struct bfd_link_info *);
 static asection *xcoff64_create_csect_from_smclas
-  PARAMS ((bfd *, union internal_auxent *, const char *));
+  (bfd *, union internal_auxent *, const char *);
 static bfd_boolean xcoff64_is_lineno_count_overflow
-  PARAMS ((bfd *, bfd_vma));
+  (bfd *, bfd_vma);
 static bfd_boolean xcoff64_is_reloc_count_overflow
-  PARAMS ((bfd *, bfd_vma));
+  (bfd *, bfd_vma);
 static bfd_vma xcoff64_loader_symbol_offset
-  PARAMS ((bfd *, struct internal_ldhdr *));
+  (bfd *, struct internal_ldhdr *);
 static bfd_vma xcoff64_loader_reloc_offset
-  PARAMS ((bfd *, struct internal_ldhdr *));
+  (bfd *, struct internal_ldhdr *);
 static bfd_boolean xcoff64_generate_rtinit
-  PARAMS ((bfd *, const char *, const char *, bfd_boolean));
+  (bfd *, const char *, const char *, bfd_boolean);
 static bfd_boolean xcoff64_bad_format_hook
-  PARAMS ((bfd *, PTR ));
+  (bfd *, void *);
 
 /* Relocation functions */
 static bfd_boolean xcoff64_reloc_type_br
-  PARAMS ((XCOFF_RELOC_FUNCTION_ARGS));
+  (XCOFF_RELOC_FUNCTION_ARGS);
 
 bfd_boolean (*xcoff64_calculate_relocation[XCOFF_MAX_CALCULATE_RELOCATION])
-  PARAMS ((XCOFF_RELOC_FUNCTION_ARGS)) =
+  (XCOFF_RELOC_FUNCTION_ARGS) =
 {
   xcoff_reloc_type_pos,	 /* R_POS   (0x00) */
   xcoff_reloc_type_neg,	 /* R_NEG   (0x01) */
@@ -242,13 +240,13 @@ bfd_boolean (*xcoff64_calculate_relocation[XCOFF_MAX_CALCULATE_RELOCATION])
 #define coff_bfd_reloc_name_lookup xcoff64_reloc_name_lookup
 #ifdef AIX_CORE
 extern const bfd_target * rs6000coff_core_p
-  PARAMS ((bfd *abfd));
+  (bfd *abfd);
 extern bfd_boolean rs6000coff_core_file_matches_executable_p
-  PARAMS ((bfd *cbfd, bfd *ebfd));
+  (bfd *cbfd, bfd *ebfd);
 extern char *rs6000coff_core_file_failing_command
-  PARAMS ((bfd *abfd));
+  (bfd *abfd);
 extern int rs6000coff_core_file_failing_signal
-  PARAMS ((bfd *abfd));
+  (bfd *abfd);
 #define CORE_FILE_P rs6000coff_core_p
 #define coff_core_file_failing_command \
   rs6000coff_core_file_failing_command
@@ -286,10 +284,7 @@ extern int rs6000coff_core_file_failing_signal
 /* For XCOFF64, the effective width of symndx changes depending on
    whether we are the first entry.  Sigh.  */
 static void
-_bfd_xcoff64_swap_lineno_in (abfd, ext1, in1)
-     bfd *abfd;
-     PTR ext1;
-     PTR in1;
+_bfd_xcoff64_swap_lineno_in (bfd *abfd, void *ext1, void *in1)
 {
   LINENO *ext = (LINENO *) ext1;
   struct internal_lineno *in = (struct internal_lineno *) in1;
@@ -302,10 +297,7 @@ _bfd_xcoff64_swap_lineno_in (abfd, ext1, in1)
 }
 
 static unsigned int
-_bfd_xcoff64_swap_lineno_out (abfd, inp, outp)
-     bfd *abfd;
-     PTR inp;
-     PTR outp;
+_bfd_xcoff64_swap_lineno_out (bfd *abfd, void *inp, void *outp)
 {
   struct internal_lineno *in = (struct internal_lineno *) inp;
   struct external_lineno *ext = (struct external_lineno *) outp;
@@ -322,10 +314,7 @@ _bfd_xcoff64_swap_lineno_out (abfd, inp, outp)
 }
 
 static void
-_bfd_xcoff64_swap_sym_in (abfd, ext1, in1)
-     bfd *abfd;
-     PTR ext1;
-     PTR in1;
+_bfd_xcoff64_swap_sym_in (bfd *abfd, void *ext1, void *in1)
 {
   struct external_syment *ext = (struct external_syment *) ext1;
   struct internal_syment *in = (struct internal_syment *) in1;
@@ -340,10 +329,7 @@ _bfd_xcoff64_swap_sym_in (abfd, ext1, in1)
 }
 
 static unsigned int
-_bfd_xcoff64_swap_sym_out (abfd, inp, extp)
-     bfd *abfd;
-     PTR inp;
-     PTR extp;
+_bfd_xcoff64_swap_sym_out (bfd *abfd, void *inp, void *extp)
 {
   struct internal_syment *in = (struct internal_syment *) inp;
   struct external_syment *ext = (struct external_syment *) extp;
@@ -358,14 +344,8 @@ _bfd_xcoff64_swap_sym_out (abfd, inp, extp)
 }
 
 static void
-_bfd_xcoff64_swap_aux_in (abfd, ext1, type, in_class, indx, numaux, in1)
-     bfd *abfd;
-     PTR ext1;
-     int type;
-     int in_class;
-     int indx;
-     int numaux;
-     PTR in1;
+_bfd_xcoff64_swap_aux_in (bfd *abfd, void *ext1, int type, int in_class,
+                          int indx, int numaux, void *in1)
 {
   union external_auxent *ext = (union external_auxent *) ext1;
   union internal_auxent *in = (union internal_auxent *) in1;
@@ -450,19 +430,15 @@ _bfd_xcoff64_swap_aux_in (abfd, ext1, type, in_class, indx, numaux, in1)
 }
 
 static unsigned int
-_bfd_xcoff64_swap_aux_out (abfd, inp, type, in_class, indx, numaux, extp)
-     bfd *abfd;
-     PTR inp;
-     int type;
-     int in_class;
-     int indx ATTRIBUTE_UNUSED;
-     int numaux ATTRIBUTE_UNUSED;
-     PTR extp;
+_bfd_xcoff64_swap_aux_out (bfd *abfd, void *inp, int type, int in_class,
+                           int indx ATTRIBUTE_UNUSED,
+                           int numaux ATTRIBUTE_UNUSED,
+                           void *extp)
 {
   union internal_auxent *in = (union internal_auxent *) inp;
   union external_auxent *ext = (union external_auxent *) extp;
 
-  memset ((PTR) ext, 0, bfd_coff_auxesz (abfd));
+  memset (ext, 0, bfd_coff_auxesz (abfd));
   switch (in_class)
     {
     case C_FILE:
@@ -541,11 +517,9 @@ _bfd_xcoff64_swap_aux_out (abfd, inp, type, in_class, indx, numaux, extp)
 }
 
 static bfd_boolean
-_bfd_xcoff64_put_symbol_name (abfd, strtab, sym, name)
-     bfd *abfd;
-     struct bfd_strtab_hash *strtab;
-     struct internal_syment *sym;
-     const char *name;
+_bfd_xcoff64_put_symbol_name (bfd *abfd, struct bfd_strtab_hash *strtab,
+                              struct internal_syment *sym,
+                              const char *name)
 {
   bfd_boolean hash;
   bfd_size_type indx;
@@ -567,11 +541,10 @@ _bfd_xcoff64_put_symbol_name (abfd, strtab, sym, name)
 }
 
 static bfd_boolean
-_bfd_xcoff64_put_ldsymbol_name (abfd, ldinfo, ldsym, name)
-     bfd *abfd ATTRIBUTE_UNUSED;
-     struct xcoff_loader_info *ldinfo;
-     struct internal_ldsym *ldsym;
-     const char *name;
+_bfd_xcoff64_put_ldsymbol_name (bfd *abfd ATTRIBUTE_UNUSED,
+                                struct xcoff_loader_info *ldinfo,
+                                struct internal_ldsym *ldsym,
+                                const char *name)
 {
   size_t len;
   len = strlen (name);
@@ -615,10 +588,9 @@ _bfd_xcoff64_put_ldsymbol_name (abfd, ldinfo, ldsym, name)
 /* Swap in the ldhdr structure.  */
 
 static void
-xcoff64_swap_ldhdr_in (abfd, s, dst)
-     bfd *abfd;
-     const PTR s;
-     struct internal_ldhdr *dst;
+xcoff64_swap_ldhdr_in (bfd *abfd,
+                       const void *s,
+                       struct internal_ldhdr *dst)
 {
   const struct external_ldhdr *src = (const struct external_ldhdr *) s;
 
@@ -637,10 +609,7 @@ xcoff64_swap_ldhdr_in (abfd, s, dst)
 /* Swap out the ldhdr structure.  */
 
 static void
-xcoff64_swap_ldhdr_out (abfd, src, d)
-     bfd *abfd;
-     const struct internal_ldhdr *src;
-     PTR d;
+xcoff64_swap_ldhdr_out (bfd *abfd, const struct internal_ldhdr *src, void *d)
 {
   struct external_ldhdr *dst = (struct external_ldhdr *) d;
 
@@ -659,10 +628,7 @@ xcoff64_swap_ldhdr_out (abfd, src, d)
 /* Swap in the ldsym structure.  */
 
 static void
-xcoff64_swap_ldsym_in (abfd, s, dst)
-     bfd *abfd;
-     const PTR s;
-     struct internal_ldsym *dst;
+xcoff64_swap_ldsym_in (bfd *abfd, const void *s, struct internal_ldsym *dst)
 {
   const struct external_ldsym *src = (const struct external_ldsym *) s;
   /* XCOFF64 does not use l_zeroes like XCOFF32
@@ -681,10 +647,7 @@ xcoff64_swap_ldsym_in (abfd, s, dst)
 /* Swap out the ldsym structure.  */
 
 static void
-xcoff64_swap_ldsym_out (abfd, src, d)
-     bfd *abfd;
-     const struct internal_ldsym *src;
-     PTR d;
+xcoff64_swap_ldsym_out (bfd *abfd, const struct internal_ldsym *src, void *d)
 {
   struct external_ldsym *dst = (struct external_ldsym *) d;
 
@@ -698,10 +661,7 @@ xcoff64_swap_ldsym_out (abfd, src, d)
 }
 
 static void
-xcoff64_swap_reloc_in (abfd, s, d)
-     bfd *abfd;
-     PTR s;
-     PTR d;
+xcoff64_swap_reloc_in (bfd *abfd, void *s, void *d)
 {
   struct external_reloc *src = (struct external_reloc *) s;
   struct internal_reloc *dst = (struct internal_reloc *) d;
@@ -715,10 +675,7 @@ xcoff64_swap_reloc_in (abfd, s, d)
 }
 
 static unsigned int
-xcoff64_swap_reloc_out (abfd, s, d)
-     bfd *abfd;
-     PTR s;
-     PTR d;
+xcoff64_swap_reloc_out (bfd *abfd, void *s, void *d)
 {
   struct internal_reloc *src = (struct internal_reloc *) s;
   struct external_reloc *dst = (struct external_reloc *) d;
@@ -734,10 +691,7 @@ xcoff64_swap_reloc_out (abfd, s, d)
 /* Swap in the ldrel structure.  */


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-04-25 19:24 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-04-25 19:24 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  db6071ad0e21f7649741e453db02aad998c9899a (commit)
       via  8fecf9379c80739265c03672cc7829f95842afbd (commit)
       via  6bf462e92ab27a07a76478aac3c3444d36893ff6 (commit)
       via  1fd0a942ce5ac0c4c24ebafdf675c824dd0996ef (commit)
       via  ae72777faaac9cf149d30908ef25a71518c696da (commit)
      from  2611d1fa5e08e0f199eb91fee74c723e888df294 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit db6071ad0e21f7649741e453db02aad998c9899a
Merge: 2611d1f 8fecf93
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Apr 25 21:24:15 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit 8fecf9379c80739265c03672cc7829f95842afbd
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Apr 25 18:28:51 2011 +0000

    gdb/
    	* defs.h (ENUM_BITFIELD): Remove.
    
    include/
    	* bfdlink.h (ENUM_BITFIELD): Remove.
    
    merge from gcc:
    include/
    	* ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.

commit 6bf462e92ab27a07a76478aac3c3444d36893ff6
Author: qiyao <qiyao>
Date:   Mon Apr 25 03:18:43 2011 +0000

    2011-04-25  Yao Qi  <yao@codesourcery.com>
    
    	* gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
    	with /*...*/.
    	* gdb.dwarf2/dw2-modula2-self-type.S: Likewise.

commit 1fd0a942ce5ac0c4c24ebafdf675c824dd0996ef
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Apr 25 00:00:33 2011 +0000

    *** empty log message ***

commit ae72777faaac9cf149d30908ef25a71518c696da
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Apr 25 00:00:05 2011 +0000

    daily update

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |    4 +
 gdb/defs.h                                         |    9 -
 gdb/testsuite/ChangeLog                            |    6 +
 gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S |  866 ++++++++++----------
 gdb/testsuite/gdb.dwarf2/dw2-modula2-self-type.S   |   74 +-
 gdb/version.in                                     |    2 +-
 include/ChangeLog                                  |    8 +
 include/ansidecl.h                                 |    9 +
 include/bfdlink.h                                  |    6 -
 10 files changed, 499 insertions(+), 487 deletions(-)

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index b5d37c3..8df3bee 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110424
+#define BFD_VERSION_DATE 20110425
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 09681fd..5d594bd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* defs.h (ENUM_BITFIELD): Remove.
+
 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
 	    Eli Zaretskii  <eliz@gnu.org>
 
diff --git a/gdb/defs.h b/gdb/defs.h
index 2849429..089631c 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -271,15 +271,6 @@ struct cleanup
     void *arg;
   };
 
-/* Be conservative and use enum bitfields only with GCC.
-   This is copied from gcc 3.3.1, system.h.  */
-
-#if defined(__GNUC__) && (__GNUC__ >= 2)
-#define ENUM_BITFIELD(TYPE) enum TYPE
-#else
-#define ENUM_BITFIELD(TYPE) unsigned int
-#endif
-
 /* vec.h-style vectors of strings want a typedef for char * .  */
 
 typedef char * char_ptr;
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index d6e4453..0741cb3 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2011-04-25  Yao Qi  <yao@codesourcery.com>
+
+	* gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
+	with /*...*/.
+	* gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
+
 2011-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	* gdb.python/py-value.exp (test_objfiles): Name the first test
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S b/gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S
index 117ad9f..8c2b41c 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S
+++ b/gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S
@@ -39,611 +39,611 @@
 
 	.section	.debug_info
 .Lcu1_begin:
-	.4byte	.Lcu1_end - .Lcu1_start	# Length of Compilation Unit Info
+	.4byte	.Lcu1_end - .Lcu1_start	/* Length of Compilation Unit Info */
 .Lcu1_start:
-	.2byte	0x3	# DWARF version number
-	.long	.Labbrev1_begin	# Offset Into Abbrev. Section
-	.byte	0x4	# Pointer Size (in bytes)
+	.2byte	0x3	/* DWARF version number */
+	.long	.Labbrev1_begin	/* Offset Into Abbrev. Section */
+	.byte	0x4	/* Pointer Size (in bytes) */
 
 .Ldie_b:
-	.uleb128 0x1	# (DIE (0xb) DW_TAG_compile_unit)
-	.ascii	"GNU C++ 4.4.3 20100127 (Red Hat 4.4.3-4)\0"	# DW_AT_producer
-	.byte	0x4	# DW_AT_language
-	.ascii	"duplicate-type.cc\0"	# DW_AT_name
-	.long	.Ldebug_line0	# DW_AT_stmt_list
+	.uleb128 0x1	/* (DIE (0xb) DW_TAG_compile_unit) */
+	.ascii	"GNU C++ 4.4.3 20100127 (Red Hat 4.4.3-4)\0"	/* DW_AT_producer */
+	.byte	0x4	/* DW_AT_language */
+	.ascii	"duplicate-type.cc\0"	/* DW_AT_name */
+	.long	.Ldebug_line0	/* DW_AT_stmt_list */
 
 .Ldie_38:
-	.uleb128 0x3	# (DIE (0x38) DW_TAG_typedef)
-	.ascii	"size_t\0"	# DW_AT_name
-	.long	OFFSET (43)	# DW_AT_type
+	.uleb128 0x3	/* (DIE (0x38) DW_TAG_typedef) */
+	.ascii	"size_t\0"	/* DW_AT_name */
+	.long	OFFSET (43)	/* DW_AT_type */
 
 .Ldie_43:
-	.uleb128 0x2	# (DIE (0x43) DW_TAG_base_type)
-	.byte	0x4	# DW_AT_byte_size
-	.byte	0x7	# DW_AT_encoding
-	.ascii	"long unsigned int\0" # DW_AT_name
+	.uleb128 0x2	/* (DIE (0x43) DW_TAG_base_type) */
+	.byte	0x4	/* DW_AT_byte_size */
+	.byte	0x7	/* DW_AT_encoding */
+	.ascii	"long unsigned int\0" /* DW_AT_name */
 
 .Ldie_4a:
-	.uleb128 0x4	# (DIE (0x4a) DW_TAG_namespace)
-	.ascii "std\0"	# DW_AT_name
-	.long	OFFSET (143)	# DW_AT_sibling
+	.uleb128 0x4	/* (DIE (0x4a) DW_TAG_namespace) */
+	.ascii "std\0"	/* DW_AT_name */
+	.long	OFFSET (143)	/* DW_AT_sibling */
 
 .Ldie_70:
-	.uleb128 0x8	# (DIE (0x70) DW_TAG_class_type)
-	.ascii	"allocator<a::b>\0"	# DW_AT_name
-	.byte	0x1	# DW_AT_declaration
+	.uleb128 0x8	/* (DIE (0x70) DW_TAG_class_type) */
+	.ascii	"allocator<a::b>\0"	/* DW_AT_name */
+	.byte	0x1	/* DW_AT_declaration */
 
 .Ldie_76:
-	.uleb128 0x9	# (DIE (0x76) DW_TAG_structure_type)
-	.ascii	"_Vector_base<a::b, std::allocator<a::b> >\0"	# DW_AT_name
-	.byte	0x1	# DW_AT_declaration
-	.long	OFFSET (f7)	# DW_AT_sibling
+	.uleb128 0x9	/* (DIE (0x76) DW_TAG_structure_type) */
+	.ascii	"_Vector_base<a::b, std::allocator<a::b> >\0"	/* DW_AT_name */
+	.byte	0x1	/* DW_AT_declaration */
+	.long	OFFSET (f7)	/* DW_AT_sibling */
 
 .Ldie_80:
-	.uleb128 0xa	# (DIE (0x80) DW_TAG_structure_type)
-	.ascii	"_Vector_impl\0"	# DW_AT_name
-	.byte	0x18	# DW_AT_byte_size
+	.uleb128 0xa	/* (DIE (0x80) DW_TAG_structure_type) */
+	.ascii	"_Vector_impl\0"	/* DW_AT_name */
+	.byte	0x18	/* DW_AT_byte_size */
 
 .Ldie_88:
-	.uleb128 0xb	# (DIE (0x88) DW_TAG_inheritance)
-	.long	OFFSET (3e0)	# DW_AT_type
-	.sleb128 0	# DW_AT_data_member_location
-	.byte	0x1	# DW_AT_accessibility
-	.byte	0x0	# end of children of DIE 0x80
-	.byte	0x0	# end of children of DIE 0x76
+	.uleb128 0xb	/* (DIE (0x88) DW_TAG_inheritance) */
+	.long	OFFSET (3e0)	/* DW_AT_type */
+	.sleb128 0	/* DW_AT_data_member_location */
+	.byte	0x1	/* DW_AT_accessibility */
+	.byte	0x0	/* end of children of DIE 0x80 */
+	.byte	0x0	/* end of children of DIE 0x76 */
 
 .Ldie_f7:
-	.uleb128 0x8	# (DIE (0xf7) DW_TAG_class_type)
-	.ascii	"vector<a::b, std::allocator<a::b> >\0" # DW_AT_name
-	.byte	0x1	# DW_AT_declaration
-	.byte	0x0	# end of children of DIE 0x4a
+	.uleb128 0x8	/* (DIE (0xf7) DW_TAG_class_type) */
+	.ascii	"vector<a::b, std::allocator<a::b> >\0" /* DW_AT_name */
+	.byte	0x1	/* DW_AT_declaration */
+	.byte	0x0	/* end of children of DIE 0x4a */
 
 .Ldie_143:
-	.uleb128 0x13	# (DIE (0x143) DW_TAG_base_type)
-	.byte	0x4	# DW_AT_byte_size
-	.byte	0x5	# DW_AT_encoding
+	.uleb128 0x13	/* (DIE (0x143) DW_TAG_base_type) */
+	.byte	0x4	/* DW_AT_byte_size */
+	.byte	0x5	/* DW_AT_encoding */
 
 .Ldie_162:
-	.uleb128 0x8	# (DIE (0x162) DW_TAG_class_type)
-	.ascii	"new_allocator<a::b>\0"	# DW_AT_name
-	.byte	0x1	# DW_AT_declaration
+	.uleb128 0x8	/* (DIE (0x162) DW_TAG_class_type) */
+	.ascii	"new_allocator<a::b>\0"	/* DW_AT_name */
+	.byte	0x1	/* DW_AT_declaration */
 
 .Ldie_19f:
-	.uleb128 0x2	# (DIE (0x19f) DW_TAG_base_type)
-	.byte	0x4	# DW_AT_byte_size
-	.byte	0x5	# DW_AT_encoding
-	.ascii "int\0"	# DW_AT_name
+	.uleb128 0x2	/* (DIE (0x19f) DW_TAG_base_type) */
+	.byte	0x4	/* DW_AT_byte_size */
+	.byte	0x5	/* DW_AT_encoding */
+	.ascii "int\0"	/* DW_AT_name */
 
 .Ldie_1c6:
-	.uleb128 0x17	# (DIE (0x1c6) DW_TAG_pointer_type)
-	.byte	0x8	# DW_AT_byte_size
-	.long	OFFSET (1cc)	# DW_AT_type
+	.uleb128 0x17	/* (DIE (0x1c6) DW_TAG_pointer_type) */
+	.byte	0x8	/* DW_AT_byte_size */
+	.long	OFFSET (1cc)	/* DW_AT_type */
 
 .Ldie_1cc:
-	.uleb128 0x18	# (DIE (0x1cc) DW_TAG_const_type)
+	.uleb128 0x18	/* (DIE (0x1cc) DW_TAG_const_type) */
 
 .Ldie_1cd:
-	.uleb128 0x2	# (DIE (0x1cd) DW_TAG_base_type)
-	.byte	0x1	# DW_AT_byte_size
-	.byte	0x6	# DW_AT_encoding
-	.ascii	"char\0"	# DW_AT_name
+	.uleb128 0x2	/* (DIE (0x1cd) DW_TAG_base_type) */
+	.byte	0x1	/* DW_AT_byte_size */
+	.byte	0x6	/* DW_AT_encoding */
+	.ascii	"char\0"	/* DW_AT_name */
 
 .Ldie_221:
-	.uleb128 0x1b	# (DIE (0x221) DW_TAG_class_type)
-	.ascii "a\0"	# DW_AT_name
-	.byte	0x18	# DW_AT_byte_size
-	.long	OFFSET (277)	# DW_AT_sibling
+	.uleb128 0x1b	/* (DIE (0x221) DW_TAG_class_type) */
+	.ascii "a\0"	/* DW_AT_name */
+	.byte	0x18	/* DW_AT_byte_size */
+	.long	OFFSET (277)	/* DW_AT_sibling */
 
 .Ldie_22b:
-	.uleb128 0x1b	# (DIE (0x22b) DW_TAG_class_type)
-	.ascii "b\0"	# DW_AT_name
-	.byte	0x1	# DW_AT_byte_size
-	.long	OFFSET (244)	# DW_AT_sibling
+	.uleb128 0x1b	/* (DIE (0x22b) DW_TAG_class_type) */
+	.ascii "b\0"	/* DW_AT_name */
+	.byte	0x1	/* DW_AT_byte_size */
+	.long	OFFSET (244)	/* DW_AT_sibling */
 
 .Ldie_235:
-	.uleb128 0x1c	# (DIE (0x235) DW_TAG_subprogram)
-	.byte	0x1	# DW_AT_external
-	.ascii "b\0"	# DW_AT_name
-	.byte	0x1	# DW_AT_declaration
+	.uleb128 0x1c	/* (DIE (0x235) DW_TAG_subprogram) */
+	.byte	0x1	/* DW_AT_external */
+	.ascii "b\0"	/* DW_AT_name */
+	.byte	0x1	/* DW_AT_declaration */
 
 .Ldie_23c:
-	.uleb128 0xe	# (DIE (0x23c) DW_TAG_formal_parameter)
-	.long	OFFSET (277)	# DW_AT_type
-	.byte	0x1	# DW_AT_artificial
-	.byte	0x0	# end of children of DIE 0x235
-	.byte	0x0	# end of children of DIE 0x22b
+	.uleb128 0xe	/* (DIE (0x23c) DW_TAG_formal_parameter) */
+	.long	OFFSET (277)	/* DW_AT_type */
+	.byte	0x1	/* DW_AT_artificial */
+	.byte	0x0	/* end of children of DIE 0x235 */
+	.byte	0x0	/* end of children of DIE 0x22b */
 
 .Ldie_244:
-	.uleb128 0x1d	# (DIE (0x244) DW_TAG_member)
-	.ascii	"list\0"	# DW_AT_name
-	.long	OFFSET (59d)	# DW_AT_type
-	.sleb128 0	# DW_AT_data_member_location
-	.byte	0x3	# DW_AT_accessibility
+	.uleb128 0x1d	/* (DIE (0x244) DW_TAG_member) */
+	.ascii	"list\0"	/* DW_AT_name */
+	.long	OFFSET (59d)	/* DW_AT_type */
+	.sleb128 0	/* DW_AT_data_member_location */
+	.byte	0x3	/* DW_AT_accessibility */
 
 .Ldie_251:
-	.uleb128 0x1e	# (DIE (0x251) DW_TAG_subprogram)
-	.byte	0x1	# DW_AT_external
-	.ascii "a\0"	# DW_AT_name
-	.byte	0x1	# DW_AT_artificial
-	.byte	0x1	# DW_AT_declaration
-	.long	OFFSET (262)	# DW_AT_sibling
+	.uleb128 0x1e	/* (DIE (0x251) DW_TAG_subprogram) */
+	.byte	0x1	/* DW_AT_external */
+	.ascii "a\0"	/* DW_AT_name */
+	.byte	0x1	/* DW_AT_artificial */
+	.byte	0x1	/* DW_AT_declaration */
+	.long	OFFSET (262)	/* DW_AT_sibling */
 
 .Ldie_25b:
-	.uleb128 0xe	# (DIE (0x25b) DW_TAG_formal_parameter)
-	.long	OFFSET (b61)	# DW_AT_type
-	.byte	0x1	# DW_AT_artificial
-	.byte	0x0	# end of children of DIE 0x251
+	.uleb128 0xe	/* (DIE (0x25b) DW_TAG_formal_parameter) */
+	.long	OFFSET (b61)	/* DW_AT_type */
+	.byte	0x1	/* DW_AT_artificial */
+	.byte	0x0	/* end of children of DIE 0x251 */
 
 .Ldie_262:
-	.uleb128 0x1f	# (DIE (0x262) DW_TAG_subprogram)
-	.byte	0x1	# DW_AT_external
-	.ascii "~a\0"	# DW_AT_name
-	.byte	0x1	# DW_AT_artificial
-	.byte	0x1	# DW_AT_declaration
+	.uleb128 0x1f	/* (DIE (0x262) DW_TAG_subprogram) */
+	.byte	0x1	/* DW_AT_external */
+	.ascii "~a\0"	/* DW_AT_name */
+	.byte	0x1	/* DW_AT_artificial */
+	.byte	0x1	/* DW_AT_declaration */
 
 .Ldie_269:
-	.uleb128 0xe	# (DIE (0x269) DW_TAG_formal_parameter)
-	.long	OFFSET (b61)	# DW_AT_type
-	.byte	0x1	# DW_AT_artificial
+	.uleb128 0xe	/* (DIE (0x269) DW_TAG_formal_parameter) */
+	.long	OFFSET (b61)	/* DW_AT_type */
+	.byte	0x1	/* DW_AT_artificial */
 
 .Ldie_26f:
-	.uleb128 0xe	# (DIE (0x26f) DW_TAG_formal_parameter)
-	.long	OFFSET (19f)	# DW_AT_type
-	.byte	0x1	# DW_AT_artificial
-	.byte	0x0	# end of children of DIE 0x262
-	.byte	0x0	# end of children of DIE 0x221
+	.uleb128 0xe	/* (DIE (0x26f) DW_TAG_formal_parameter) */
+	.long	OFFSET (19f)	/* DW_AT_type */
+	.byte	0x1	/* DW_AT_artificial */
+	.byte	0x0	/* end of children of DIE 0x262 */
+	.byte	0x0	/* end of children of DIE 0x221 */
 
 .Ldie_277:
-	.uleb128 0x17	# (DIE (0x277) DW_TAG_pointer_type)
-	.byte	0x4	# DW_AT_byte_size
-	.long	OFFSET (22b)	# DW_AT_type
+	.uleb128 0x17	/* (DIE (0x277) DW_TAG_pointer_type) */
+	.byte	0x4	/* DW_AT_byte_size */
+	.long	OFFSET (22b)	/* DW_AT_type */
 
 .Ldie_27d:
-	.uleb128 0x20	# (DIE (0x27d) DW_TAG_class_type)
-	.long	OFFSET (162)	# DW_AT_specification
-	.byte	0x1	# DW_AT_byte_size
-	.long	OFFSET (3b2)	# DW_AT_sibling
+	.uleb128 0x20	/* (DIE (0x27d) DW_TAG_class_type) */
+	.long	OFFSET (162)	/* DW_AT_specification */
+	.byte	0x1	/* DW_AT_byte_size */
+	.long	OFFSET (3b2)	/* DW_AT_sibling */
 
 .Ldie_2d0:
-	.uleb128 0x21	# (DIE (0x2d0) DW_TAG_subprogram)
-	.byte	0x1	# DW_AT_external
-	.ascii	"address\0"	# DW_AT_name
-	.long	OFFSET (277)	# DW_AT_type
-	.byte	0x1	# DW_AT_declaration
-	.long	OFFSET (3b2)	# DW_AT_sibling
+	.uleb128 0x21	/* (DIE (0x2d0) DW_TAG_subprogram) */
+	.byte	0x1	/* DW_AT_external */
+	.ascii	"address\0"	/* DW_AT_name */
+	.long	OFFSET (277)	/* DW_AT_type */
+	.byte	0x1	/* DW_AT_declaration */
+	.long	OFFSET (3b2)	/* DW_AT_sibling */
 
 .Ldie_2e5:
-	.uleb128 0xe	# (DIE (0x2e5) DW_TAG_formal_parameter)
-	.long	OFFSET (3da)	# DW_AT_type
-	.byte	0x1	# DW_AT_artificial
+	.uleb128 0xe	/* (DIE (0x2e5) DW_TAG_formal_parameter) */
+	.long	OFFSET (3da)	/* DW_AT_type */
+	.byte	0x1	/* DW_AT_artificial */
 
 .Ldie_2eb:
-	.uleb128 0xf	# (DIE (0x2eb) DW_TAG_formal_parameter)
-	.long	OFFSET (3bd)	# DW_AT_type
-	.byte	0x0	# end of children of DIE 0x2d0
-	.byte	0x0	# end of children of DIE 0x27d
+	.uleb128 0xf	/* (DIE (0x2eb) DW_TAG_formal_parameter) */
+	.long	OFFSET (3bd)	/* DW_AT_type */
+	.byte	0x0	/* end of children of DIE 0x2d0 */
+	.byte	0x0	/* end of children of DIE 0x27d */
 
 .Ldie_3b2:
-	.uleb128 0x17	# (DIE (0x3b2) DW_TAG_pointer_type)
-	.byte	0x4	# DW_AT_byte_size
-	.long	OFFSET (3b8)	# DW_AT_type
+	.uleb128 0x17	/* (DIE (0x3b2) DW_TAG_pointer_type) */
+	.byte	0x4	/* DW_AT_byte_size */
+	.long	OFFSET (3b8)	/* DW_AT_type */
 
 .Ldie_3b8:
-	.uleb128 0x19	# (DIE (0x3b8) DW_TAG_const_type)
-	.long	OFFSET (22b)	# DW_AT_type
+	.uleb128 0x19	/* (DIE (0x3b8) DW_TAG_const_type) */
+	.long	OFFSET (22b)	/* DW_AT_type */
 
 .Ldie_3bd:
-	.uleb128 0x22	# (DIE (0x3bd) DW_TAG_reference_type)
-	.byte	0x4	# DW_AT_byte_size
-	.long	OFFSET (22b)	# DW_AT_type
+	.uleb128 0x22	/* (DIE (0x3bd) DW_TAG_reference_type) */
+	.byte	0x4	/* DW_AT_byte_size */
+	.long	OFFSET (22b)	/* DW_AT_type */
 
 .Ldie_3d5:
-	.uleb128 0x19	# (DIE (0x3d5) DW_TAG_const_type)
-	.long	OFFSET (27d)	# DW_AT_type
+	.uleb128 0x19	/* (DIE (0x3d5) DW_TAG_const_type) */
+	.long	OFFSET (27d)	/* DW_AT_type */
 
 .Ldie_3da:
-	.uleb128 0x17	# (DIE (0x3da) DW_TAG_pointer_type)
-	.byte	0x4	# DW_AT_byte_size
-	.long	OFFSET (3d5)	# DW_AT_type
+	.uleb128 0x17	/* (DIE (0x3da) DW_TAG_pointer_type) */
+	.byte	0x4	/* DW_AT_byte_size */
+	.long	OFFSET (3d5)	/* DW_AT_type */
 
 .Ldie_3e0:
-	.Uleb128 0x20	# (DIE (0x3e0) DW_TAG_class_type)
-	.long	OFFSET (70)	# DW_AT_specification
-	.byte	0x1	# DW_AT_byte_size
-	.long	OFFSET (44e)	# DW_AT_sibling
+	.Uleb128 0x20	/* (DIE (0x3e0) DW_TAG_class_type) */
+	.long	OFFSET (70)	/* DW_AT_specification */
+	.byte	0x1	/* DW_AT_byte_size */
+	.long	OFFSET (44e)	/* DW_AT_sibling */
 
 .Ldie_3ec:
-	.uleb128 0xb	# (DIE (0x3ec) DW_TAG_inheritance)
-	.long	OFFSET (27d)	# DW_AT_type
-	.sleb128 0	# DW_AT_data_member_location
-	.byte	0x1	# DW_AT_accessibility
-	.byte	0x0	# end of children of DIE 0x3e0
+	.uleb128 0xb	/* (DIE (0x3ec) DW_TAG_inheritance) */
+	.long	OFFSET (27d)	/* DW_AT_type */
+	.sleb128 0	/* DW_AT_data_member_location */
+	.byte	0x1	/* DW_AT_accessibility */
+	.byte	0x0	/* end of children of DIE 0x3e0 */
 
 .Ldie_44e:
-	.uleb128 0x1a	# (DIE (0x44e) DW_TAG_structure_type)
-	.long	OFFSET (76)	# DW_AT_specification
-	.byte	0x18	# DW_AT_byte_size
-	.long	OFFSET (505)	# DW_AT_sibling
+	.uleb128 0x1a	/* (DIE (0x44e) DW_TAG_structure_type) */
+	.long	OFFSET (76)	/* DW_AT_specification */
+	.byte	0x18	/* DW_AT_byte_size */
+	.long	OFFSET (505)	/* DW_AT_sibling */
 
 .Ldie_505:
-	.uleb128 0x11	# (DIE (0x505) DW_TAG_subprogram)
-	.ascii	"~_Vector_base\0"	# DW_AT_name
-	.byte	0x1	# DW_AT_declaration
-	.long	OFFSET (51f)	# DW_AT_sibling
+	.uleb128 0x11	/* (DIE (0x505) DW_TAG_subprogram) */
+	.ascii	"~_Vector_base\0"	/* DW_AT_name */
+	.byte	0x1	/* DW_AT_declaration */
+	.long	OFFSET (51f)	/* DW_AT_sibling */
 
 .Ldie_512:
-	.uleb128 0xe	# (DIE (0x512) DW_TAG_formal_parameter)
-	.long	OFFSET (58c)	# DW_AT_type
-	.byte	0x1	# DW_AT_artificial
+	.uleb128 0xe	/* (DIE (0x512) DW_TAG_formal_parameter) */
+	.long	OFFSET (58c)	/* DW_AT_type */
+	.byte	0x1	/* DW_AT_artificial */
 
 .Ldie_518:
-	.uleb128 0xf	# (DIE (0x518) DW_TAG_formal_parameter)
-	.long	OFFSET (19f)	# DW_AT_type
-	.byte	0x0	# end of children of DIE 0x505
+	.uleb128 0xf	/* (DIE (0x518) DW_TAG_formal_parameter) */
+	.long	OFFSET (19f)	/* DW_AT_type */
+	.byte	0x0	/* end of children of DIE 0x505 */
 
 .Ldie_51f:
-	.uleb128 0x23	# (DIE (0x51f) DW_TAG_subprogram)
-	.byte	0x1	# DW_AT_external
-	.ascii	"_M_allocate\0"	# DW_AT_name
-	.long	OFFSET (277)	# DW_AT_type
-	.byte	0x1	# DW_AT_declaration
-	.long	OFFSET (540)	# DW_AT_sibling
+	.uleb128 0x23	/* (DIE (0x51f) DW_TAG_subprogram) */
+	.byte	0x1	/* DW_AT_external */
+	.ascii	"_M_allocate\0"	/* DW_AT_name */
+	.long	OFFSET (277)	/* DW_AT_type */
+	.byte	0x1	/* DW_AT_declaration */
+	.long	OFFSET (540)	/* DW_AT_sibling */
 
 .Ldie_540:
-	.uleb128 0x11	# (DIE (0x540) DW_TAG_subprogram)
-	.ascii	"_M_deallocate\0"	# DW_AT_name
-	.byte	0x1	# DW_AT_declaration
-	.long	OFFSET (562)	# DW_AT_sibling
+	.uleb128 0x11	/* (DIE (0x540) DW_TAG_subprogram) */
+	.ascii	"_M_deallocate\0"	/* DW_AT_name */
+	.byte	0x1	/* DW_AT_declaration */
+	.long	OFFSET (562)	/* DW_AT_sibling */
 
 .Ldie_551:
-	.uleb128 0xe	# (DIE (0x551) DW_TAG_formal_parameter)
-	.long	OFFSET (58c)	# DW_AT_type
-	.byte	0x1	# DW_AT_artificial
+	.uleb128 0xe	/* (DIE (0x551) DW_TAG_formal_parameter) */
+	.long	OFFSET (58c)	/* DW_AT_type */
+	.byte	0x1	/* DW_AT_artificial */
 
 .Ldie_557:
-	.uleb128 0xf	# (DIE (0x557) DW_TAG_formal_parameter)
-	.long	OFFSET (277)	# DW_AT_type
+	.uleb128 0xf	/* (DIE (0x557) DW_TAG_formal_parameter) */


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-04-24 16:32 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-04-24 16:32 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  2611d1fa5e08e0f199eb91fee74c723e888df294 (commit)
       via  1d01864e9fe7fa8dc9df9f0fbac354f56a9d494a (commit)
       via  31e47e6e825f6b5d539810f9d09a09b866273d59 (commit)
       via  c47ed45a442ecea2d88e61dff340ea7aacd2e360 (commit)
       via  773b8d595a7ac6fa111d66fef60e570b6dcd4c60 (commit)
       via  90e9b112a75d9563aad6cc8367014e8f655ccfdf (commit)
       via  63807ecadd41e3103eaf0685e21d0a556c2e5fc7 (commit)
       via  3f7988a14d9f7b1efa62c3d13cb7dddf6171c364 (commit)
       via  2037768cab16fd32d39b9cc5a9726158125ac396 (commit)
       via  e1b35836ffd6801315ee7bbaf7eca93de444b590 (commit)
       via  5ef6883b1418706e23c79ce3c30abbc1138cfdd0 (commit)
       via  ac25360207933e0a088a1fbf2fefeb3605861bd8 (commit)
       via  56e4b6b7012f3c58067ba44d47089628438c4461 (commit)
       via  1f30d595003f14e0da59189c0a0b59ee94f4cc3f (commit)
       via  1a06b38a538d3b7a89e22ca8f25bb029ffc991e0 (commit)
       via  bef28fcd9e1d0045c0cb46440261fcabc81e6666 (commit)
       via  43a242d2d4481d0af02f7265f76919ff0c4bb72f (commit)
       via  eee9406927322637c9a4c135d3d1155c2369f08f (commit)
       via  03baaa0761e012d185c3af1e021d52d727035148 (commit)
       via  e2cd5a9d88af6ceddedd96ae7e3b8b5b9a10dad0 (commit)
       via  91778424bb782552f9c7132ae699ae616a985769 (commit)
       via  ea0a5f06efd3ff5398be1d92df7dee901e332c92 (commit)
       via  85e7535da46e06cf5152916dceeaa39fbd72fa91 (commit)
       via  021de2843295029d33f883427adb73a7f6697ae0 (commit)
       via  92cf59eddf0a2fa7ff1afeaf9e8b107901f2ee2d (commit)
       via  35c82d740a3badb734f47108b5ec19a9ffa34e7a (commit)
       via  b4d922d1bc005fa997d1420b53302819bb8fa0f0 (commit)
       via  5cca6c5f76973e69b047a8d74fe2c5383598a42e (commit)
       via  253183d0c8624e354cda5f6e1012df40ba35d16b (commit)
       via  6254bc84189680b3b78fdb71faa56b2e9e5ee6ac (commit)
       via  91e9fb77cf6bd600b27e5a024f6346b30605ec84 (commit)
       via  2f8f8921a65c6a346b694bbe26cef55aa025b523 (commit)
       via  823dd83879b73bd912be26286d726259a35d70af (commit)
       via  98115c4c096fbe8a545fd3f55f3f73d1caf684e7 (commit)
       via  60ddfa6b62b4fc0d2caa836b3ab826264b3922f7 (commit)
       via  0cb0ccd1f1a41abdb5926d124893b822af424d8b (commit)
       via  585944854c6fbbb31245ae69cb9925b89c4250ee (commit)
       via  9878c7734bb74a29bf48b6138525cfc146e90f7f (commit)
       via  3d503cf027c763d89a07e5f2011e7e369e6fd9ff (commit)
       via  d6b99bde38a24234a4d1442bc2133c92c6e25207 (commit)
       via  7cd514801d5048c7aaf10d375489b295ec261adc (commit)
       via  71d156f45f7987e00cf8f20ace2132aa3e5f2855 (commit)
       via  caa9e8d9c05381244f050ea92731f5282be12ca1 (commit)
       via  398108ccb0a8029c95f4b069eebd47d32e3a483d (commit)
       via  5c284a351709403ac7c60c973056a3b0e78dcf15 (commit)
       via  bea1ef580d1f8003b6b8965849953cef92af0b6e (commit)
       via  02f701201fd13a48febfb0cdcdc3aef9e2a88a1b (commit)
       via  9381495589a5870b108fb9dce73d77385dc4f9aa (commit)
       via  1dab1aa9e2d17bca12f7f7cb46076326dab2e576 (commit)
       via  5299c2e4bdc0f81251a9b29cc18cde711b776002 (commit)
       via  fff5feba5d74a9214e8b59845bffafc34601a47b (commit)
       via  ae34ea736f15a332e62d37a67314fb7109476c9b (commit)
       via  9e61a939f7bef844703957ad8496d99fdc2e09c3 (commit)
       via  a2aa08f04ef6114bc18c135c34dfdd27bfb29ecb (commit)
       via  a5969089c71666cdd652648723ef36af0330aaea (commit)
       via  2da7921acc5c7b327b3619a95ca7ca36a0314dc4 (commit)
       via  fea1bf7eb2568918733232c055f4e2fc35d59b0d (commit)
       via  77a09311dcf970abae1acbeb8f15649beec610d7 (commit)
       via  a9423f26c7ee312d70f3f50a37ab40c0eccd6508 (commit)
       via  abd8eb55ffc4e26f45dd25f867f0d3ad4f338027 (commit)
       via  bb1a8391f49c4160f1cb4956eccb29aa62abcf48 (commit)
       via  85d52584aa034481e3c758d73fba644089a3d24c (commit)
       via  cd21afd5539b071ce910b78a2aa6f843b0269302 (commit)
       via  995f6b892fc52544ef419ef22d5e3efbc4608d2f (commit)
      from  d05c3db2f0aee733f5c8f2728a4e58fb90ab48c9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 2611d1fa5e08e0f199eb91fee74c723e888df294
Merge: d05c3db 1d01864
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 24 18:31:49 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit 1d01864e9fe7fa8dc9df9f0fbac354f56a9d494a
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Apr 24 10:02:10 2011 +0000

    	PR ld/12365
    	PR ld/12696
    include/
    	* bfdlink.h (ENUM_BITFIELD): Define.
    	(struct bfd_link_hash_entry): Make "type" a bitfield.  Add "non_ir_ref".
    	(struct bfd_link_callbacks <notice>): Pass bfd_link_hash_entry pointer
    	rather than "name".
    bfd/
    	* coff-aux.c (coff_m68k_aux_link_add_one_symbol): Update "notice" call.
    	* linker.c (_bfd_link_hash_newfunc): Clear bitfields.
    	(_bfd_generic_link_add_one_symbol): Update "notice" call.
    	* elflink.c (_bfd_elf_merge_symbol): Don't skip weak redefs when
    	it is a redef of an IR symbol in a real BFD.
    ld/
    	* ldmain.c (notice): Delete "name" param, add "h".
    	* plugin.c (plugin_notice): Likewise.  Set non_ir_ref.  Handle
    	redefinitions of IR symbols in real BFDs.
    	(plugin_multiple_definition, plugin_multiple_common): Delete.
    	(non_ironly_hash, init_non_ironly_hash): Delete.
    	(is_visible_from_outside): Traverse entry_symbol chain.
    	(get_symbols): Use non_ir_ref flag rather than hash lookup.

commit 31e47e6e825f6b5d539810f9d09a09b866273d59
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 24 09:04:38 2011 +0000

    gdb/testsuite/
    	* gdb.python/py-value.exp (test_objfiles): Name the first test
    	`py-value in file.filename'.

commit c47ed45a442ecea2d88e61dff340ea7aacd2e360
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 24 08:02:15 2011 +0000

    gdb/
    	* NEWS: Document the new gdbserver --once option.
    
    gdb/doc/
    	* gdb.texinfo (Starting and Stopping Trace Experiments): New anchor
    	for disconnected tracing.
    	(Multi-Process Mode for @code{gdbserver}): Mention --multi and
    	extended-remote relationship.  Mention --once.
    	(TCP port allocation lifecycle of @code{gdbserver}): New.
    
    gdb/gdbserver/
    	* remote-utils.c (handle_accept_event): Close LISTEN_DESC only if
    	RUN_ONCE.  Comment for the LISTEN_DESC delete_file_handler call.
    	(remote_prepare): New function with most of the TCP code from ...
    	(remote_open): ... here.  Detect PORT here unconditionally.  Move also
    	setting transport_is_reliable.
    	* server.c (run_once): New variable.
    	(gdbserver_usage): Document it.
    	(main): Set run_once for `--once'.  Call remote_prepare.  Exit after
    	the first run if RUN_ONCE.
    	* server.h (run_once, remote_prepare): New declarations.
    
    gdb/testsuite/
    	* gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
    	* lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
    	* lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
    	!gdbserver_reconnect_p..
    	(gdbserver_reconnect): Call error if !gdbserver_reconnect_p..

commit 773b8d595a7ac6fa111d66fef60e570b6dcd4c60
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Apr 24 00:00:05 2011 +0000

    daily update

commit 90e9b112a75d9563aad6cc8367014e8f655ccfdf
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Apr 24 00:00:02 2011 +0000

    *** empty log message ***

commit 63807ecadd41e3103eaf0685e21d0a556c2e5fc7
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Sat Apr 23 05:47:43 2011 +0000

    Fix indexing of gdbserver section.
    
    	* gdb.texinfo (Server): Improve indexing.  Index all optional
    	switches to gdbserver.

commit 3f7988a14d9f7b1efa62c3d13cb7dddf6171c364
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Apr 23 01:16:30 2011 +0000

    Warn relocation in readonly section in a shared object.
    
    2011-04-22  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf32-i386.c (elf_i386_readonly_dynrelocs): Warn relocation
    	in readonly section in a shared object.
    	(elf_i386_size_dynamic_sections): Likewise.
    	* elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise.
    	(elf_x86_64_size_dynamic_sections): Likewise.

commit 2037768cab16fd32d39b9cc5a9726158125ac396
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Apr 23 00:00:32 2011 +0000

    *** empty log message ***

commit e1b35836ffd6801315ee7bbaf7eca93de444b590
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Apr 23 00:00:05 2011 +0000

    daily update

commit 5ef6883b1418706e23c79ce3c30abbc1138cfdd0
Author: Jie Zhang <jie.zhang@analog.com>
Date:   Fri Apr 22 02:45:20 2011 +0000

    	* MAINTAINERS: Update my email address.

commit ac25360207933e0a088a1fbf2fefeb3605861bd8
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Apr 22 00:00:32 2011 +0000

    *** empty log message ***

commit 56e4b6b7012f3c58067ba44d47089628438c4461
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Apr 22 00:00:05 2011 +0000

    daily update

commit 1f30d595003f14e0da59189c0a0b59ee94f4cc3f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Apr 21 22:25:38 2011 +0000

    Skip local IFUNC symbols when checking dynamic relocs in read-only sections.
    
    bfd/
    
    2011-04-21  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR ld/12694
    	* elf32-i386.c (elf_i386_readonly_dynrelocs): Skip local IFUNC
    	symbols.
    	* elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise.
    
    ld/testsuite/
    
    2011-04-21  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR ld/12694
    	* ld-ifunc/ifunc-14-i386.d: New.
    	* ld-ifunc/ifunc-14-x86-64.d: Likewise.
    	* ld-ifunc/ifunc-14a.s: Likewise.
    	* ld-ifunc/ifunc-14b.s: Likewise.

commit 1a06b38a538d3b7a89e22ca8f25bb029ffc991e0
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Apr 21 21:16:49 2011 +0000

    Return false on dynamic symbol error.
    
    2011-04-21  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf32-i386.c (elf_i386_finish_dynamic_symbol): Return false
    	on dynamic symbol error.
    	* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.

commit bef28fcd9e1d0045c0cb46440261fcabc81e6666
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Thu Apr 21 14:26:36 2011 +0000

    	* gdb_wchar.h (USE_INTERMEDIATE_ENCODING_FUNCTION): New macro.
    	(INTERMEDIATE_ENCODING): Change value to intermediate_encoding
    	function call if __STDC_ISO_10646__ macro is defined.
    	(intermediate_encoding): New prototype.
    	* charset.c (your_gdb_wchar_t_is_bogus): New extern test variable
    	to generate compile time error for unsupported gdb_wchar_t size.
    	(ENDIAN_SUFFIX): New macro.
    	(intermediate_encoding): New function.

commit 43a242d2d4481d0af02f7265f76919ff0c4bb72f
Author: DJ Delorie <dj@delorie.com>
Date:   Thu Apr 21 05:48:06 2011 +0000

    * rx-decode.opc (rx_decode_opcode): Set the syntax for multi-byte NOPs.
    * rx-decode.c: Regenerate.

commit eee9406927322637c9a4c135d3d1155c2369f08f
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Apr 21 00:00:32 2011 +0000

    *** empty log message ***

commit 03baaa0761e012d185c3af1e021d52d727035148
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Apr 21 00:00:05 2011 +0000

    daily update

commit e2cd5a9d88af6ceddedd96ae7e3b8b5b9a10dad0
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 20 19:42:49 2011 +0000

    gdb/
    	* ada-lang.c (struct add_partial_datum): Update the comment for
    	expand_partial_symbol_name.
    	(ada_add_partial_symbol_completions): Rename to ...
    	(ada_expand_partial_symbol_name): ... here, change return type, update
    	function comment, call symbol_completion_match instead of
    	symbol_completion_add.
    	(ada_make_symbol_completion_list): Use now expand_partial_symbol_names
    	and ada_expand_partial_symbol_name.
    	* dwarf2read.c (dw2_expand_symtabs_matching): Support NULL
    	FILE_MATCHER.
    	(dw2_map_symbol_names): Remove.
    	(dwarf2_gdb_index_functions): Unlist dw2_map_symbol_names.
    	* psymtab.c (map_symbol_names_psymtab): Remove.
    	(expand_symtabs_matching_via_partial): Support NULL FILE_MATCHER.
    	Support KIND == ALL_DOMAIN.  Exchange the NAME_MATCHER and KIND check
    	order.
    	(psym_functions): Unlist map_symbol_names_psymtab.
    	(map_partial_symbol_names): Rename to ...
    	(expand_partial_symbol_names): ... here, change the FUN type, call
    	expand_symtabs_matching with ALL_DOMAIN and NULL FILE_MATCHER now.
    	* psymtab.h (map_partial_symbol_names): Rename to ...
    	(expand_partial_symbol_names): ... here, change the FUN type.
    	* symfile.h (struct quick_symbol_functions): Update the description of
    	expand_symtabs_matching.  Remove map_symbol_names.
    	* symtab.c (search_symbols): Add ALL_DOMAIN to the function comment.
    	(struct add_name_data): Update the comment for
    	expand_partial_symbol_name.
    	(add_partial_symbol_name): Rename to ...
    	(expand_partial_symbol_name): ... here.  Replace
    	completion_list_add_name call by strncmp.
    	(default_make_symbol_completion_list_break_on): Use now
    	expand_partial_symbol_names and expand_partial_symbol_name.
    	* symtab.h (enum search_domain): New element ALL_DOMAIN.
    
    gdb/testsuite/
    	* gdb.cp/cpcompletion.exp (complete class methods)
    	(complete class methods beginning with F): Move them above runto.  New
    	comment about the runto delimiter.

commit 91778424bb782552f9c7132ae699ae616a985769
Author: DJ Delorie <dj@delorie.com>
Date:   Wed Apr 20 19:06:43 2011 +0000

    merge from gcc

commit ea0a5f06efd3ff5398be1d92df7dee901e332c92
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Apr 20 18:05:25 2011 +0000

    gdb
    	* dwarf2read.c (save_gdb_index_command): Replace format
    	documentation with a pointer to the manual.
    gdb/doc
    	* gdb.texinfo (Index Section Format): New node.
    	(Top): Add new node to menu.

commit 85e7535da46e06cf5152916dceeaa39fbd72fa91
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Wed Apr 20 17:54:05 2011 +0000

    2011-04-20  Pedro Alves  <pedro@codesourcery.com>
    
    	gdb/
    	* regcache.c: Include remote.h.
    	(enum regcache_dump_what) <regcache_dump_remote>: New enum value.
    	(regcache_dump): Handle regcache_dump_remote.
    	(maintenance_print_remote_registers): New function.
    	(_initialize_regcache): Install "maint print remote-registers"
    	command.
    	* remote.c (map_regcache_remote_table): New function, factored out
    	from ...
    	(init_remote_state): ... here.
    	(remote_register_number_and_offset): New.
    	* remote.h (remote_register_number_and_offset): Declare.
    
    	gdb/doc/
    	* gdb.texinfo (Maintenance Commands): Document `maint print
    	remote-registers'.

commit 021de2843295029d33f883427adb73a7f6697ae0
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Wed Apr 20 17:01:09 2011 +0000

    2011-04-20  Pedro Alves  <pedro@codesourcery.com>
    
    	gdb/
    	* regcache.c (get_thread_arch_regcache): If creating a regcache for
    	null_ptid, assume and allow a NULL address space, instead of
    	asking the target for the ptid's address space.
    	* infrun.c (ptid_is_pid): Remove assertion.
    
    	gdb/testsuite/
    	* gdb.base/maint.exp: Test that "maint print registers" works
    	without a running program.

commit 92cf59eddf0a2fa7ff1afeaf9e8b107901f2ee2d
Author: mpolacek <mpolacek>
Date:   Wed Apr 20 14:56:49 2011 +0000

    Fix racy tests in gdb.base/setshow.exp

commit 35c82d740a3badb734f47108b5ec19a9ffa34e7a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Apr 20 14:27:34 2011 +0000

    Regenerate i386-init.h.
    
    2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* i386-init.h: Regenerated.

commit b4d922d1bc005fa997d1420b53302819bb8fa0f0
Author: Tristan Gingold <gingold@adacore.com>
Date:   Wed Apr 20 14:10:14 2011 +0000

    2011-04-20  Tristan Gingold  <gingold@adacore.com>
    
    	* config.bfd (alpha*-*-*vms*, ia64*-*-*vms*): Define targ_selvecs.

commit 5cca6c5f76973e69b047a8d74fe2c5383598a42e
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Apr 20 13:22:50 2011 +0000

    	* gdb.texinfo (Trace File Format): Move node later.

commit 253183d0c8624e354cda5f6e1012df40ba35d16b
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Apr 20 12:52:12 2011 +0000

    bfd/
    	* hash.c (bfd_default_hash_table_size): Make it an unsigned long.
    	(bfd_hash_table_init_n): Overflow checking.
    	(bfd_hash_set_default_size): Return current size.  Take unsigned long
    	arg.  Add 65537 to hash_size primes.
    	* bfd-in.h (bfd_hash_set_default_size): Update prototype.
    	* bfd-in2.h: Regenerate.
    gas/
    	* hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
    	(hash_new_sized): New function, split out from..
    	(hash_new): ..here.
    ld/
    	* ld.h (ld_config_type <hash_table_size>): Make it an unsigned long.

commit 6254bc84189680b3b78fdb71faa56b2e9e5ee6ac
Author: Eric Botcazou <ebotcazou@libertysurf.fr>
Date:   Wed Apr 20 09:27:06 2011 +0000

    	* bootstrap-lto.mk: Remove obsolete requirement.

commit 91e9fb77cf6bd600b27e5a024f6346b30605ec84
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 20 08:51:54 2011 +0000

    bfd/
    	* elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Fix +1 overrun of
    	memmove elements.

commit 2f8f8921a65c6a346b694bbe26cef55aa025b523
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Apr 20 07:16:59 2011 +0000

    	* libbfd.c (bfd_log2): Do return rounded up value.
    	* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Replace bfd_log2
    	call with expanded old round down version of the function.

commit 823dd83879b73bd912be26286d726259a35d70af
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Apr 20 07:00:44 2011 +0000

    	* archive.c (_bfd_get_elt_at_filepos): Don't release n_nfd.
    	* elflink.c (elf_link_add_object_symbols): Delete redundant code.

commit 98115c4c096fbe8a545fd3f55f3f73d1caf684e7
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Apr 20 00:22:07 2011 +0000

    	PR ld/12365
    bfd/
    	* elfcode.h (elf_slurp_symbol_table): Put common plugin IR symbols
    	in their own common section.
    	* elflink.c (elf_link_add_object_symbols): Likewise.
    	* linker.c (generic_link_check_archive_element): Don't lose flags
    	if common section is pre-existing.
    	(_bfd_generic_link_add_one_symbol): Likewise.
    ld/
    	* ldfile.c (ldfile_try_open_bfd): Move code creating and switching
    	to plugin IR BFD..
    	* ldmain.c (add_archive_element): ..and similar code here..
    	* plugin.c (plugin_maybe_claim): ..to here.  New function.
    	(plugin_call_claim_file): Make static.
    	(asymbol_from_plugin_symbol): Set ELF st_shndx for common syms.
    	(plugin_multiple_common): New function.
    	(plugin_call_all_symbols_read): Hook in plugin_multiple_common.
    	* plugin.h (plugin_call_claim_file): Don't declare.
    	(plugin_maybe_claim): Declare.

commit 60ddfa6b62b4fc0d2caa836b3ab826264b3922f7
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Apr 20 00:11:28 2011 +0000

    	PR ld/12365
    include/
    	* bfdlink.h (struct bfd_link_callbacks): Modify multiple_definition
    	and multiple_common parameters to pass in a bfd_link_hash_entry
    	pointer rather than name,bfd etc. found in the hash entry.
    bfd/
    	* elflink.c (_bfd_elf_merge_symbol): Update multiple_common calls.
    	* linker.c (_bfd_generic_link_add_one_symbol): Likewise.  Call
    	multiple_definition regardless of allow_multiple_definition.
    	* simple.c (simple_dummy_multiple_definition): Update.
    	* xcofflink.c (xcoff_link_add_symbols): Update multiple_definition
    	calls.
    ld/
    	* ldmain.c (multiple_definition): Take a bfd_link_hash_entry
    	pointer arg rather than "name", "obfd", "osec", "oval".  Add code
    	removed from linker.c.  Hack around xcofflink.c oddity in
    	passing NULL nbfd.
    	(multiple_common): Similarly.
    	* plugin.c (orig_allow_multiple_defs): Delete.
    	(plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition.
    	(plugin_multiple_definition): Update.

commit 0cb0ccd1f1a41abdb5926d124893b822af424d8b
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Apr 20 00:00:04 2011 +0000

    daily update

commit 585944854c6fbbb31245ae69cb9925b89c4250ee
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Apr 20 00:00:03 2011 +0000

    *** empty log message ***

commit 9878c7734bb74a29bf48b6138525cfc146e90f7f
Author: qneill <qneill>
Date:   Tue Apr 19 23:45:17 2011 +0000

    	* i386-gen.c (cpu_flag_init): Remove 3dnow and 3dnowa bits
    	from bdver1 flags.

commit 3d503cf027c763d89a07e5f2011e7e369e6fd9ff
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Apr 19 18:04:04 2011 +0000

    gdb
    	* windows-tdep.c (windows_xfer_shared_library):
    	* windows-nat.c (get_module_name, windows_make_so):
    	* v850-tdep.c (v850_handle_pushm):
    	* utils.c (null_cleanup, gdb_realpath):
    	* ui-out.c (get_next_header):
    	* tracepoint.c (clear_traceframe_info):
    	* symtab.c (lookup_symtab):
    	* serial.h (struct serial_ops):
    	* mipsread.c (read_alphacoff_dynamic_symtab):
    	* infcmd.c (print_return_value):
    	* ia64-linux-tdep.c (ia64_linux_sigcontext_register_address):
    	* f-exp.y (parse_number):
    	* exceptions.c (catch_exceptions):
    	* dummy-frame.c (dummy_frame_this_id):
    	* defs.h (struct cleanup):
    	* breakpoint.c (disable_breakpoints_in_unloaded_shlib):
    	* arm-tdep.c (arm_push_dummy_call):
    	* amd64-tdep.h (amd64_collect_xsave):
    	* amd64-tdep.c (amd64_collect_xsave):
    	* alpha-tdep.c (alpha_heuristic_frame_unwind_cache):
    	* README (typing): Remove duplicate words.
    	* cli/cli-decode.c (lookup_cmd_composition): Add comma.
    	* infrun.c (siginfo_value_read): Fix typo.
    	* solib-frv.c (frv_fdpic_find_global_pointer): Likewise.
    	* top.c (source_line_number): Add comma.
    gdb/doc
    	* gdbint.texinfo (Register Information Functions): Remove
    	duplicate "the".
    	* gdb.texinfo (Emacs): Remove duplicate "to".
    	(GDB/MI Variable Objects): Remove duplicate "the".
    	(General Query Packets): Likewise.
    gdb/testsuite
    	* gdb.mi/mi-nsmoribund.exp:
    	* gdb.hp/gdb.objdbg/objdbg01.exp:
    	* gdb.base/structs.exp (test_struct_returns):
    	* gdb.base/call-sc.exp (test_scalar_returns):
    	* gdb.base/bigcore.exp: Remove duplicate words.
    gdb/gdbserver
    	* win32-low.c (handle_load_dll): Remove duplicate "the".

commit d6b99bde38a24234a4d1442bc2133c92c6e25207
Author: Marc Khouzam <marc.khouzam@ericsson.com>
Date:   Tue Apr 19 15:16:14 2011 +0000

    2011-04-19  Marc Khouzam  <marc.khouzam@ericsson.com>
    
    	* thread.c (any_live_thread_of_process): Prioritize threads
    	that are not executing.
    	* gdbthread.h (any_live_thread_of_process): Update comment
    	as per above change.

commit 7cd514801d5048c7aaf10d375489b295ec261adc
Author: Andreas Schwab <schwab@suse.de>
Date:   Tue Apr 19 14:33:08 2011 +0000

    * xcoffread.c (process_xcoff_symbol): Remove useless cast.
    (scan_xcoff_symtab): Likewise.

commit 71d156f45f7987e00cf8f20ace2132aa3e5f2855
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Tue Apr 19 14:12:48 2011 +0000

    	* xcoffread.c (process_xcoff_symbol): ARI fix: Avoid assignment
    	inside if clause.

commit caa9e8d9c05381244f050ea92731f5282be12ca1
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Tue Apr 19 12:57:36 2011 +0000

    	* xstormy16-tdep.c (xstormy16_push_dummy_call): Add local
    	variables to simplify code and avoid == operator at end of
    	line as this is against GNU coding standards.

commit 398108ccb0a8029c95f4b069eebd47d32e3a483d
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Tue Apr 19 12:32:20 2011 +0000

    	* solib-svr4.c (svr4_keep_data_in_core): Rename local variable
    	lm_name to name_lm to avoid conflict with lm_name function.

commit 5c284a351709403ac7c60c973056a3b0e78dcf15
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Tue Apr 19 11:38:40 2011 +0000

    	ARI fixes: Use only lowercase function name for static functions.
    	* nto-tdep.c (LM_ADDR): Rename to...
    	(lm_addr): New function name.
    	(nto_relocate_section_addresses): Adapt to change above.
    	* solib-sunos.c (LM_ADDR): Rename to...
    	(lm_addr): New function name.
    	(LM_NEXT): Rename to...
    	(lm_next): New function name.
    	(sunos_current_sos, sunos_relocate_section_addresses): Adapt to
    	function name changes above.
    	* solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Rename to...
    	(lm_addr_from_link_map): New function name.
    	(HAS_LM_DYNAMIC_FROM_LINK_MAP): Rename to...
    	(has_lm_dynamic_from_link_map): New function name.
    	(LM_DYNAMIC_FROM_LINK_MAP): Rename to...
    	(lm_dynamic_from_link_map): New function name.
    	(LM_ADDR_CHECK): Rename to...
    	(lm_addr_check): New function name.
    	(LM_NEXT): Rename to...
    	(lm_next): New function name.
    	(LM_PREV): Rename to...
    	(lm_prev): New function name.
    	(LM_NAME): Rename to...
    	(lm_name): New function name.
    	(IGNORE_FIRST_LINK_MAP_ENTRY): Rename to...
    	(ignore_first_link_map_entry): New function name.
    	(svr4_keep_data_in_core): Adapt to function name changes above.
    	(svr4_current_sos): Likewise.
    	(enable_break): Likewise.
    	(svr4_relocate_section_addresses): Likewise.

commit bea1ef580d1f8003b6b8965849953cef92af0b6e
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Apr 19 07:44:12 2011 +0000

    	* config/tc-arm.c (v7m_psrs): Revert previous delta.
    
    	* gas/arm/mrs-msr-thumb-v7e-m.s: Restore name of basepri_max
    	register.
    	* gas/arm/mrs-msr-thumb-v7e-m.d: Likewise.
    	* gas/arm/arch7.d: Likewise.
    	* gas/arm/arch7.s: Likewise.
    
    	* arm-dis.c: Revert previous reversion.

commit 02f701201fd13a48febfb0cdcdc3aef9e2a88a1b
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Apr 19 07:27:30 2011 +0000

    	* gas/arm/arch7.s: Fix typo basepri_max should be basepri_mask.
    	* gas/arm/mrs-msr-thumb-v7e-m.s: Likewise.
    	* gas/arm/arch7.d: Update expected disassembly.
    	* gas/arm/attr-march-armv7.d: Remove Microcontroller tag.
    	* gas/arm/blx-bad.d: Only run for ELF based targets.
    	* gas/arm/mrs-msr-thumb-v6t2.d: Likewise.
    	* gas/arm/vldm-arm.d: Likewise.
    	* gas/arm/mrs-msr-thumb-v7-m.d: Likewise.
    	Remove qualifiers from PSR and IAPSR regsiter names.
    	* gas/arm/mrs-msr-thumb-v7e-m.d: Likewise.
    	* gas/arm/thumb2_bcond.d: Update expected disassembly to allow for
    	relaxing of branch insns.
    	* gas/arm/thumb32.d: Fix whitespace problems in disassembly.
    
    	* config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
    	detect M-profile targets.
    	(do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
    	(v7m_psrs): Fix typo: basepri_max should be basepri_mask.
    
    	* arm-dis.c (psr_name): Revert previous delta.
    
    	* arm.h (ARM_AEXT_V7_ARM): Remove ARM_EXT_OS from bitmask.

commit 9381495589a5870b108fb9dce73d77385dc4f9aa
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Tue Apr 19 07:16:39 2011 +0000

    	ARI cleanup.
    	* xtensa-tdep.c (xtensa_register_type): Use xstrprintf instead of
    	sprintf. Simplify code and avoid loosing memory.
    	(xtensa_register_reggroup_p): Extract assignment out of IF clause.
    	(call0_frame_cache): Remove && operator from end of line.

commit 1dab1aa9e2d17bca12f7f7cb46076326dab2e576
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Apr 19 00:00:33 2011 +0000

    *** empty log message ***

commit 5299c2e4bdc0f81251a9b29cc18cde711b776002
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Apr 19 00:00:05 2011 +0000

    daily update

commit fff5feba5d74a9214e8b59845bffafc34601a47b
Author: Tristan Gingold <gingold@adacore.com>
Date:   Mon Apr 18 13:59:05 2011 +0000

    2011-04-18  Tristan Gingold  <gingold@adacore.com>
    
    	* coff-rs6000.c: Convert to ISO-C.  Remove PARAMS macro.

commit ae34ea736f15a332e62d37a67314fb7109476c9b
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Apr 18 00:00:33 2011 +0000

    *** empty log message ***

commit 9e61a939f7bef844703957ad8496d99fdc2e09c3
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Apr 18 00:00:05 2011 +0000

    daily update

commit a2aa08f04ef6114bc18c135c34dfdd27bfb29ecb
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Apr 17 23:18:23 2011 +0000

    	PR ld/12365
    	PR ld/12672
    missing changelog entries

commit a5969089c71666cdd652648723ef36af0330aaea
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Apr 17 23:15:11 2011 +0000

    	PR ld/12365
    	PR ld/12672
    bfd/
    	* bfd.c (BFD_PLUGIN): Define.
    	(BFD_FLAGS_SAVED, BFD_FLAGS_FOR_BFD_USE_MASK): Add BFD_PLUGIN.
    	* bfd-in2.h: Regenerate.
    	* elflink.c (elf_link_output_extsym): Strip undefined plugin syms.
    	* opncls.c (bfd_make_readable): Don't lose original bfd flags.
    ld/
    	* ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action
    	when no_more_claiming.
    	* ldmain.c (add_archive_element): Likewise.
    	(multiple_definition): Remove plugin_multiple_definition call.
    	(notice): Remove plugin_notice call.
    	* ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move.
    	Delete prototype.
    	(plugin_insert): New static var.
    	(open_input_bfds): Only rescan libs after plugin insert point.
    	(lang_gc_sections): Omit plugin claimed files.
    	(lang_process): Set plugin_insert.  Only rescan when plugin adds
    	objects.
    	* plugin.h (no_more_claiming): Declare.
    	(plugin_notice, plugin_multiple_definition): Don't declare.
    	* plugin.c: Formatting.
    	(orig_notice_all, orig_allow_multiple_defs, orig_callbacks,
    	plugin_callbacks): New static vars.
    	(no_more_claiming): Make global.
    	(plugin_cached_allow_multiple_defs): Delete.
    	(plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section,
    	use newer bfd_make_section variant.  Make COMMON section too.
    	Error handling.  Correct setting of gp size.
    	(asymbol_from_plugin_symbol): Properly cast last arg of concat.
    	(message): Likewise for ACONCAT.
    	(asymbol_from_plugin_symbol): Use our COMMON section.
    	(get_symbols): When report_plugin_symbols, show visibility too.
    	(init_non_ironly_hash): Move.  Don't test non_ironly_hash.
    	(plugin_load_plugins): Save state of linker callbacks, set up to
    	call plugin_notice instead.  Call init_non_ironly_hash here.
    	(plugin_call_all_symbols_read): Set plugin_multiple_definition in
    	plugin callbacks.
    	(plugin_notice): Rewrite.
    	(plugin_multiple_definition): Make static, call original callback.
    ld/testsuite/
    	* ld-plugin/plugin-7.d: Adjust for plugin changes.
    	* ld-plugin/plugin-8.d: Likewise.
    	* ld-plugin/plugin.exp: Pass --verbose=2 for visibility test, and
    	compare ld output to..
    	* ld-plugin/plugin-12.d: New.

commit 2da7921acc5c7b327b3619a95ca7ca36a0314dc4
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 17 19:17:10 2011 +0000

    gdb/
    	Fix libraries displacement if they change whether they were prelinked.
    	* solib-svr4.c (LM_ADDR_CHECK): Set L_ADDR even if the DYNAMIC pointer
    	does not match.  Comment why.
    
    gdb/testsuite/
    	* gdb.base/break-interp-lib.c (v, vptr): New variables.
    	* gdb.base/break-interp.exp (test_attach): New comment.

commit fea1bf7eb2568918733232c055f4e2fc35d59b0d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 17 19:12:19 2011 +0000

    gdb/
    	* corelow.c: Include wrapper.h.
    	(core_open): Call now gdb_target_find_new_threads.
    	* wrapper.c: Include target.h.
    	(gdb_target_find_new_threads): New.
    	* wrapper.h (gdb_target_find_new_threads): New declaration.

commit 77a09311dcf970abae1acbeb8f15649beec610d7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 17 19:11:06 2011 +0000

    gdb/
    	* linux-thread-db.c (find_new_threads_callback): Exit on zero TI_TID
    	even if !TARGET_HAS_EXECUTION.
    
    gdb/testsuite/
    	* gdb.threads/gcore-thread.exp ($core0file): New variable.
    	(clear __stack_user.next, clear stack_used.next)
    	(save a zeroed-threads corefile): New test.
    	Call core_load for $core0file.
    	(zeroed-threads cannot be listed): New test.

commit a9423f26c7ee312d70f3f50a37ab40c0eccd6508
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 17 19:04:07 2011 +0000

    gdb/testsuite/
    	* gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
    	filename.
    	($srcfile): Preserve the original value.
    	($testfile): Match it the .exp filename.
    	($corefile): New variable.  Substitute it around.
    	Use clean_restart.
    	($prev_timeout): Remove.
    	(load_core): Move core loading into this proc.
    	Fix restore of $timeout if load_core fails.

commit abd8eb55ffc4e26f45dd25f867f0d3ad4f338027
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 17 18:38:41 2011 +0000

    bfd/
    	* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Do not check for
    	SEC_LOAD.
    
    gdb/
    	Fix convert_code_addr_to_desc_addr for ppc64 files after eu-strip.
    	* elfread.c (elf_symfile_read): New variable synth_abfd, pass it to
    	bfd_get_synthetic_symtab.
    	* jit.c (jit_register_code): Pass NULL to the new parameter parent.
    	* machoread.c (macho_add_oso_symfile): Pass main_objfile to the new
    	parameter parent, remove the call to add_separate_debug_objfile.
    	* solib.c (solib_read_symbols): Pass NULL to the new parameter parent.
    	* symfile-mem.c (symbol_file_add_from_memory): Likewise.
    	* symfile.c (symbol_file_add_with_addrs_or_offsets): New parameter
    	parent, new comment for it, call add_separate_debug_objfile for it.
    	(symbol_file_add_separate): Pass objfile as the parameter parent,
    	remove the call to add_separate_debug_objfile.
    	(symbol_file_add_from_bfd): New parameter parent, pass it.
    	(symbol_file_add): Pass NULL to the new parameter parent.
    	* symfile.h (symbol_file_add_from_bfd): New parameter parent.
    
    gdb/testsuite/
    	* gdb.base/eu-strip-infcall.c: New file.
    	* gdb.base/eu-strip-infcall.exp: New file.

commit bb1a8391f49c4160f1cb4956eccb29aa62abcf48
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 17 18:08:57 2011 +0000

    gdb/
    	* elfread.c (elf_symtab_read): Do not ignore .L symbols if they are
    	BSF_SYNTHETIC.
    
    gdb/testsuite/
    	* gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
    	* gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.

commit 85d52584aa034481e3c758d73fba644089a3d24c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Apr 17 14:14:21 2011 +0000

    gdb/
    	Fix Python access to inlined frames.
    	* python/py-frame.c (frapy_read_var): Find BLOCK using get_frame_block.
    	* python/py-symbol.c (gdbpy_lookup_symbol): Likewise.
    
    gdb/testsuite/
    	Fix Python access to inlined frames.
    	* gdb.python/py-frame-inline.c: New file.
    	* gdb.python/py-frame-inline.exp: New file.

commit cd21afd5539b071ce910b78a2aa6f843b0269302
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Apr 17 00:00:33 2011 +0000

    *** empty log message ***

commit 995f6b892fc52544ef419ef22d5e3efbc4608d2f
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Apr 17 00:00:05 2011 +0000

    daily update

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                                      |   97 ++
 bfd/archive.c                                      |    4 -
 bfd/bfd-in.h                                       |    2 +-
 bfd/bfd-in2.h                                      |    9 +-
 bfd/bfd.c                                          |    7 +-
 bfd/coff-aux.c                                     |    4 +-
 bfd/coff-rs6000.c                                  |  597 ++++-------
 bfd/config.bfd                                     |    2 +
 bfd/elf-bfd.h                                      |    2 +-
 bfd/elf32-i386.c                                   |   19 +-
 bfd/elf64-ppc.c                                    |    5 +-
 bfd/elf64-x86-64.c                                 |   19 +-
 bfd/elfcode.h                                      |   16 +-
 bfd/elflink.c                                      |   57 +-
 bfd/hash.c                                         |   25 +-
 bfd/libbfd.c                                       |    6 +-
 bfd/linker.c                                       |   90 +--
 bfd/opncls.c                                       |    2 +-
 bfd/simple.c                                       |    7 +-
 bfd/version.h                                      |    2 +-
 bfd/xcofflink.c                                    |   12 +-
 config/ChangeLog                                   |    4 +
 config/bootstrap-lto.mk                            |    5 +-
 gdb/ChangeLog                                      |  228 ++++
 gdb/MAINTAINERS                                    |    2 +-
 gdb/NEWS                                           |    4 +
 gdb/README                                         |    2 +-
 gdb/ada-lang.c                                     |   17 +-
 gdb/alpha-tdep.c                                   |    2 +-
 gdb/amd64-tdep.c                                   |    2 +-
 gdb/amd64-tdep.h                                   |    2 +-
 gdb/arm-tdep.c                                     |    2 +-
 gdb/breakpoint.c                                   |    2 +-
 gdb/charset.c                                      |   66 ++
 gdb/cli/cli-decode.c                               |    2 +-
 gdb/corelow.c                                      |    3 +-
 gdb/defs.h                                         |    2 +-
 gdb/doc/ChangeLog                                  |   36 +
 gdb/doc/gdb.texinfo                                |  306 ++++--
 gdb/doc/gdbint.texinfo                             |    2 +-
 gdb/dummy-frame.c                                  |    2 +-
 gdb/dwarf2read.c                                   |  149 +--
 gdb/elfread.c                                      |   27 +-
 gdb/exceptions.c                                   |    2 +-
 gdb/f-exp.y                                        |    2 +-
 gdb/gdb_wchar.h                                    |    9 +-
 gdb/gdbserver/ChangeLog                            |   17 +
 gdb/gdbserver/remote-utils.c                       |  127 ++-
 gdb/gdbserver/server.c                             |   13 +-
 gdb/gdbserver/server.h                             |    2 +
 gdb/gdbserver/win32-low.c                          |    2 +-
 gdb/gdbthread.h                                    |    2 +-
 gdb/ia64-linux-tdep.c                              |    2 +-
 gdb/infcmd.c                                       |    2 +-
 gdb/infrun.c                                       |    7 +-
 gdb/jit.c                                          |    2 +-
 gdb/linux-thread-db.c                              |   13 +-
 gdb/machoread.c                                    |    4 +-
 gdb/mipsread.c                                     |    2 +-
 gdb/nto-tdep.c                                     |    8 +-
 gdb/psymtab.c                                      |   57 +-
 gdb/psymtab.h                                      |    3 +-
 gdb/python/py-frame.c                              |    2 +-
 gdb/python/py-symbol.c                             |    4 +-
 gdb/regcache.c                                     |   48 +-
 gdb/remote.c                                       |   69 +-
 gdb/remote.h                                       |    4 +
 gdb/serial.h                                       |    2 +-
 gdb/solib-frv.c                                    |    2 +-
 gdb/solib-sunos.c                                  |   14 +-
 gdb/solib-svr4.c                                   |   65 +-
 gdb/solib.c                                        |    3 +-
 gdb/symfile-mem.c                                  |    2 +-
 gdb/symfile.c                                      |   19 +-
 gdb/symfile.h                                      |   24 +-
 gdb/symtab.c                                       |   20 +-
 gdb/symtab.h                                       |    3 +
 gdb/testsuite/ChangeLog                            |   78 ++
 gdb/testsuite/gdb.base/bigcore.exp                 |    2 +-
 gdb/testsuite/gdb.base/break-interp-lib.c          |    4 +
 gdb/testsuite/gdb.base/break-interp.exp            |    8 +
 gdb/testsuite/gdb.base/call-sc.exp                 |    2 +-
 gdb/testsuite/gdb.base/callfuncs.c                 |   12 +
 gdb/testsuite/gdb.base/callfuncs.exp               |    5 +
 .../{break-interp-lib.c => eu-strip-infcall.c}     |   36 +-
 gdb/testsuite/gdb.base/eu-strip-infcall.exp        |   36 +
 gdb/testsuite/gdb.base/maint.exp                   |   24 +-
 gdb/testsuite/gdb.base/setshow.exp                 |   19 +-
 gdb/testsuite/gdb.base/solib-disc.exp              |    1 +
 gdb/testsuite/gdb.base/structs.exp                 |    2 +-
 gdb/testsuite/gdb.cp/cpcompletion.exp              |   17 +-
 gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01.exp       |    2 +-
 gdb/testsuite/gdb.mi/mi-nsmoribund.exp             |    2 +-
 .../py-frame-inline.c}                             |   39 +-
 gdb/testsuite/gdb.python/py-frame-inline.exp       |   39 +
 gdb/testsuite/gdb.python/py-value.exp              |    3 +-
 gdb/testsuite/gdb.threads/gcore-thread.exp         |  102 ++-
 gdb/testsuite/lib/gdb.exp                          |    5 +
 gdb/testsuite/lib/gdbserver-support.exp            |   17 +
 gdb/thread.c                                       |   12 +-
 gdb/top.c                                          |    2 +-
 gdb/tracepoint.c                                   |    2 +-
 gdb/ui-out.c                                       |    2 +-
 gdb/utils.c                                        |    4 +-
 gdb/v850-tdep.c                                    |    2 +-
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |    4 +-
 gdb/windows-tdep.c                                 |    2 +-
 gdb/wrapper.c                                      |   22 +
 gdb/wrapper.h                                      |    2 +
 gdb/xcoffread.c                                    |    8 +-
 gdb/xstormy16-tdep.c                               |   13 +-
 gdb/xtensa-tdep.c                                  |   16 +-
 include/ChangeLog                                  |   22 +-
 include/bfdlink.h                                  |   40 +-
 include/opcode/ChangeLog                           |    4 +
 include/opcode/arm.h                               |    3 +-
 libdecnumber/ChangeLog                             |    9 +
 libdecnumber/decNumber.c                           |   80 +-
 libiberty/ChangeLog                                |   13 +
 libiberty/cp-demint.c                              |    6 +-
 libiberty/cplus-dem.c                              |    3 +-
 libiberty/pex-common.c                             |    9 +-
 libiberty/pex-msdos.c                              |    6 +-
 libiberty/pex-win32.c                              |   24 +-
 libiberty/regex.c                                  |   11 +-
 libiberty/spaces.c                                 |    5 +-
 opcodes/ChangeLog                                  |   14 +
 opcodes/arm-dis.c                                  |    9 -
 opcodes/i386-gen.c                                 |    2 +-
 opcodes/i386-init.h                                |    2 +-
 opcodes/rx-decode.c                                | 1172 ++++++++++----------
 opcodes/rx-decode.opc                              |    2 +
 133 files changed, 2600 insertions(+), 1792 deletions(-)
 copy gdb/testsuite/gdb.base/{break-interp-lib.c => eu-strip-infcall.c} (60%)
 create mode 100644 gdb/testsuite/gdb.base/eu-strip-infcall.exp
 copy gdb/testsuite/{gdb.base/break-interp-lib.c => gdb.python/py-frame-inline.c} (57%)
 create mode 100644 gdb/testsuite/gdb.python/py-frame-inline.exp

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8fa9ce1..ad71e25 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,100 @@
+2011-04-24  Alan Modra  <amodra@gmail.com>
+
+	PR ld/12365
+	PR ld/12696
+	* coff-aux.c (coff_m68k_aux_link_add_one_symbol): Update "notice" call.
+	* linker.c (_bfd_link_hash_newfunc): Clear bitfields.
+	(_bfd_generic_link_add_one_symbol): Update "notice" call.
+	* elflink.c (_bfd_elf_merge_symbol): Don't skip weak redefs when
+	it is a redef of an IR symbol in a real BFD.
+
+2011-04-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_readonly_dynrelocs): Warn relocation
+	in readonly section in a shared object.
+	(elf_i386_size_dynamic_sections): Likewise.
+	* elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise.
+	(elf_x86_64_size_dynamic_sections): Likewise.
+
+2011-04-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/12694
+	* elf32-i386.c (elf_i386_readonly_dynrelocs): Skip local IFUNC
+	symbols.
+	* elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise.
+
+2011-04-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_finish_dynamic_symbol): Return false
+	on dynamic symbol error.
+	* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.
+
+2011-04-20  Tristan Gingold  <gingold@adacore.com>
+
+	* config.bfd (alpha*-*-*vms*, ia64*-*-*vms*): Define targ_selvecs.
+
+2011-04-20  Alan Modra  <amodra@gmail.com>
+
+	* hash.c (bfd_default_hash_table_size): Make it an unsigned long.
+	(bfd_hash_table_init_n): Overflow checking.
+	(bfd_hash_set_default_size): Return current size.  Take unsigned long
+	arg.  Add 65537 to hash_size primes.
+	* bfd-in.h (bfd_hash_set_default_size): Update prototype.
+	* bfd-in2.h: Regenerate.
+
+2011-04-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Fix +1 overrun of
+	memmove elements.
+
+2011-04-20  Alan Modra  <amodra@gmail.com>
+
+	* libbfd.c (bfd_log2): Do return rounded up value.
+	* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Replace bfd_log2
+	call with expanded old round down version of the function.
+
+	* archive.c (_bfd_get_elt_at_filepos): Don't release n_nfd.
+	* elflink.c (elf_link_add_object_symbols): Delete redundant code.
+
+2011-04-20  Alan Modra  <amodra@gmail.com>
+
+	PR ld/12365
+	* elfcode.h (elf_slurp_symbol_table): Put common plugin IR symbols
+	in their own common section.
+	* elflink.c (elf_link_add_object_symbols): Likewise.
+	* linker.c (generic_link_check_archive_element): Don't lose flags
+	if common section is pre-existing.
+	(_bfd_generic_link_add_one_symbol): Likewise.
+
+2011-04-20  Alan Modra  <amodra@gmail.com>
+
+	PR ld/12365
+	* elflink.c (_bfd_elf_merge_symbol): Update multiple_common calls.
+	* linker.c (_bfd_generic_link_add_one_symbol): Likewise.  Call
+	multiple_definition regardless of allow_multiple_definition.
+	* simple.c (simple_dummy_multiple_definition): Update.
+	* xcofflink.c (xcoff_link_add_symbols): Update multiple_definition
+	calls.
+
+2011-04-18  Tristan Gingold  <gingold@adacore.com>
+
+	* coff-rs6000.c: Convert to ISO-C.  Remove PARAMS macro.
+
+2011-04-18  Alan Modra  <amodra@gmail.com>
+
+	PR ld/12365
+	PR ld/12672
+	* bfd.c (BFD_PLUGIN): Define.
+	(BFD_FLAGS_SAVED, BFD_FLAGS_FOR_BFD_USE_MASK): Add BFD_PLUGIN.
+	* bfd-in2.h: Regenerate.
+	* elflink.c (elf_link_output_extsym): Strip undefined plugin syms.
+	* opncls.c (bfd_make_readable): Don't lose original bfd flags.
+
+2011-04-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Do not check for
+	SEC_LOAD.
+
 2011-04-15  Sergio Durigan Junior  <sergiodj@redhat.com>
 
 	* elf-bfd.h (struct sdt_note): New struct.
diff --git a/bfd/archive.c b/bfd/archive.c
index 86d07e9..5de7a3e 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -661,10 +661,6 @@ _bfd_get_elt_at_filepos (bfd *archive, file_ptr filepos)
   if (_bfd_add_bfd_to_archive_cache (archive, filepos, n_nfd))
     return n_nfd;
 
-  /* Huh?  */
-  /* FIXME:  n_nfd isn't allocated in the archive's memory pool.
-     If we reach this point, I think bfd_release will abort.  */
-  bfd_release (archive, n_nfd);
   bfd_release (archive, new_areldata);
   return NULL;
 }
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 5f0f4b5..d536897 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -432,7 +432,7 @@ extern void bfd_hash_traverse
 /* Allows the default size of a hash table to be configured. New hash
    tables allocated using bfd_hash_table_init will be created with
    this size.  */
-extern void bfd_hash_set_default_size (bfd_size_type);
+extern unsigned long bfd_hash_set_default_size (unsigned long);
 
 /* This structure is used to keep track of stabs in sections
    information while linking.  */
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index e7c410d..76836b1 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -439,7 +439,7 @@ extern void bfd_hash_traverse
 /* Allows the default size of a hash table to be configured. New hash
    tables allocated using bfd_hash_table_init will be created with
    this size.  */
-extern void bfd_hash_set_default_size (bfd_size_type);
+extern unsigned long bfd_hash_set_default_size (unsigned long);
 
 /* This structure is used to keep track of stabs in sections
    information while linking.  */
@@ -5110,14 +5110,17 @@ struct bfd
   /* Decompress sections in this BFD.  */
 #define BFD_DECOMPRESS 0x10000
 
+  /* BFD is a dummy, for plugins.  */
+#define BFD_PLUGIN 0x20000
+
   /* Flags bits to be saved in bfd_preserve_save.  */
 #define BFD_FLAGS_SAVED \
-  (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS)
+  (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_PLUGIN)
 
   /* Flags bits which are for BFD use only.  */
 #define BFD_FLAGS_FOR_BFD_USE_MASK \
   (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \
-   | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT)
+   | BFD_PLUGIN | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT)
 
   /* Currently my_archive is tested before adding origin to
      anything. I believe that this can become always an add of
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 77582ec..c729d63 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -157,14 +157,17 @@ CODE_FRAGMENT
 .  {* Decompress sections in this BFD.  *}
 .#define BFD_DECOMPRESS 0x10000
 .
+.  {* BFD is a dummy, for plugins.  *}
+.#define BFD_PLUGIN 0x20000
+.
 .  {* Flags bits to be saved in bfd_preserve_save.  *}
 .#define BFD_FLAGS_SAVED \
-.  (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS)
+.  (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_PLUGIN)
 .
 .  {* Flags bits which are for BFD use only.  *}
 .#define BFD_FLAGS_FOR_BFD_USE_MASK \
 .  (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \
-.   | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT)
+.   | BFD_PLUGIN | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT)
 .
 .  {* Currently my_archive is tested before adding origin to
 .     anything. I believe that this can become always an add of
diff --git a/bfd/coff-aux.c b/bfd/coff-aux.c
index af1db03..20a680c 100644
--- a/bfd/coff-aux.c
+++ b/bfd/coff-aux.c
@@ -1,5 +1,5 @@
 /* BFD back-end for Apple M68K COFF A/UX 3.x files.
-   Copyright 1996, 1997, 2000, 2002, 2005, 2007, 2008
+   Copyright 1996, 1997, 2000, 2002, 2005, 2007, 2008, 2011
    Free Software Foundation, Inc.
    Written by Richard Henderson <rth@tamu.edu>.
 
@@ -105,7 +105,7 @@ coff_m68k_aux_link_add_one_symbol (info, abfd, name, flags, section, value,
 	  && (bfd_hash_lookup (info->notice_hash, name, FALSE, FALSE)
 	      != (struct bfd_hash_entry *) NULL))
 	{
-	  if (! (*info->callbacks->notice) (info, name, abfd, section, value))
+	  if (! (*info->callbacks->notice) (info, h, abfd, section, value))
 	    return FALSE;
 	}
 
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c
index 7fb20d8..41bec09 100644
--- a/bfd/coff-rs6000.c
+++ b/bfd/coff-rs6000.c
@@ -33,46 +33,30 @@
 #include "libcoff.h"
 #include "libxcoff.h"
 
-extern bfd_boolean _bfd_xcoff_mkobject
-  PARAMS ((bfd *));
-extern bfd_boolean _bfd_xcoff_copy_private_bfd_data
-  PARAMS ((bfd *, bfd *));
-extern bfd_boolean _bfd_xcoff_is_local_label_name
-  PARAMS ((bfd *, const char *));
+extern bfd_boolean _bfd_xcoff_mkobject (bfd *);
+extern bfd_boolean _bfd_xcoff_copy_private_bfd_data (bfd *, bfd *);
+extern bfd_boolean _bfd_xcoff_is_local_label_name (bfd *, const char *);
 extern reloc_howto_type *_bfd_xcoff_reloc_type_lookup
-  PARAMS ((bfd *, bfd_reloc_code_real_type));
-extern bfd_boolean _bfd_xcoff_slurp_armap
-  PARAMS ((bfd *));
-extern const bfd_target *_bfd_xcoff_archive_p
-  PARAMS ((bfd *));
-extern PTR _bfd_xcoff_read_ar_hdr
-  PARAMS ((bfd *));
-extern bfd *_bfd_xcoff_openr_next_archived_file
-  PARAMS ((bfd *, bfd *));
-extern int _bfd_xcoff_stat_arch_elt
-  PARAMS ((bfd *, struct stat *));
+  (bfd *, bfd_reloc_code_real_type);
+extern bfd_boolean _bfd_xcoff_slurp_armap (bfd *);
+extern const bfd_target *_bfd_xcoff_archive_p (bfd *);
+extern PTR _bfd_xcoff_read_ar_hdr (bfd *);
+extern bfd *_bfd_xcoff_openr_next_archived_file (bfd *, bfd *);
+extern int _bfd_xcoff_stat_arch_elt (bfd *, struct stat *);
 extern bfd_boolean _bfd_xcoff_write_armap
-  PARAMS ((bfd *, unsigned int, struct orl *, unsigned int, int));
-extern bfd_boolean _bfd_xcoff_write_archive_contents
-  PARAMS ((bfd *));
-extern int _bfd_xcoff_sizeof_headers
-  PARAMS ((bfd *, struct bfd_link_info *));
-extern void _bfd_xcoff_swap_sym_in
-  PARAMS ((bfd *, PTR, PTR));
-extern unsigned int _bfd_xcoff_swap_sym_out
-  PARAMS ((bfd *, PTR, PTR));
-extern void _bfd_xcoff_swap_aux_in
-  PARAMS ((bfd *, PTR, int, int, int, int, PTR));
+  (bfd *, unsigned int, struct orl *, unsigned int, int);
+extern bfd_boolean _bfd_xcoff_write_archive_contents (bfd *);
+extern int _bfd_xcoff_sizeof_headers (bfd *, struct bfd_link_info *);
+extern void _bfd_xcoff_swap_sym_in (bfd *, PTR, PTR);
+extern unsigned int _bfd_xcoff_swap_sym_out (bfd *, PTR, PTR);
+extern void _bfd_xcoff_swap_aux_in (bfd *, PTR, int, int, int, int, PTR);
 extern unsigned int _bfd_xcoff_swap_aux_out
-  PARAMS ((bfd *, PTR, int, int, int, int, PTR));
-static void xcoff_swap_reloc_in
-  PARAMS ((bfd *, PTR, PTR));
-static unsigned int xcoff_swap_reloc_out
-  PARAMS ((bfd *, PTR, PTR));
+  (bfd *, PTR, int, int, int, int, PTR);
+static void xcoff_swap_reloc_in (bfd *, PTR, PTR);
+static unsigned int xcoff_swap_reloc_out (bfd *, PTR, PTR);
 
 /* Forward declare xcoff_rtype2howto for coffcode.h macro.  */
-void xcoff_rtype2howto
-  PARAMS ((arelent *, struct internal_reloc *));
+void xcoff_rtype2howto (arelent *, struct internal_reloc *);
 
 /* coffcode.h needs these to be defined.  */
 #define RS6000COFF_C 1
@@ -97,14 +81,11 @@ void xcoff_rtype2howto
 #define coff_bfd_reloc_type_lookup _bfd_xcoff_reloc_type_lookup
 #define coff_bfd_reloc_name_lookup _bfd_xcoff_reloc_name_lookup
 #ifdef AIX_CORE
-extern const bfd_target * rs6000coff_core_p
-  PARAMS ((bfd *abfd));
+extern const bfd_target * rs6000coff_core_p (bfd *abfd);
 extern bfd_boolean rs6000coff_core_file_matches_executable_p
-  PARAMS ((bfd *cbfd, bfd *ebfd));
-extern char *rs6000coff_core_file_failing_command
-  PARAMS ((bfd *abfd));
-extern int rs6000coff_core_file_failing_signal
-  PARAMS ((bfd *abfd));
+  (bfd *cbfd, bfd *ebfd);
+extern char *rs6000coff_core_file_failing_command (bfd *abfd);
+extern int rs6000coff_core_file_failing_signal (bfd *abfd);
 #define CORE_FILE_P rs6000coff_core_p
 #define coff_core_file_failing_command \
   rs6000coff_core_file_failing_command
@@ -141,66 +122,49 @@ extern int rs6000coff_core_file_failing_signal
 
 /* The main body of code is in coffcode.h.  */
 
-static const char *normalize_filename
-  PARAMS ((bfd *));
+static const char *normalize_filename (bfd *);
 static bfd_boolean xcoff_write_armap_old
-  PARAMS ((bfd *, unsigned int, struct orl *, unsigned int, int));
+  (bfd *, unsigned int, struct orl *, unsigned int, int);
 static bfd_boolean xcoff_write_armap_big
-  PARAMS ((bfd *, unsigned int, struct orl *, unsigned int, int));
-static bfd_boolean xcoff_write_archive_contents_old
-  PARAMS ((bfd *));
-static bfd_boolean xcoff_write_archive_contents_big
-  PARAMS ((bfd *));
-static void xcoff_swap_ldhdr_in
-  PARAMS ((bfd *, const PTR, struct internal_ldhdr *));
-static void xcoff_swap_ldhdr_out
-  PARAMS ((bfd *, const struct internal_ldhdr *, PTR));
-static void xcoff_swap_ldsym_in
-  PARAMS ((bfd *, const PTR, struct internal_ldsym *));
-static void xcoff_swap_ldsym_out
-  PARAMS ((bfd *, const struct internal_ldsym *, PTR));
-static void xcoff_swap_ldrel_in
-  PARAMS ((bfd *, const PTR, struct internal_ldrel *));
-static void xcoff_swap_ldrel_out
-  PARAMS ((bfd *, const struct internal_ldrel *, PTR));
+  (bfd *, unsigned int, struct orl *, unsigned int, int);
+static bfd_boolean xcoff_write_archive_contents_old (bfd *);
+static bfd_boolean xcoff_write_archive_contents_big (bfd *);
+static void xcoff_swap_ldhdr_in (bfd *, const PTR, struct internal_ldhdr *);
+static void xcoff_swap_ldhdr_out (bfd *, const struct internal_ldhdr *, PTR);
+static void xcoff_swap_ldsym_in (bfd *, const PTR, struct internal_ldsym *);
+static void xcoff_swap_ldsym_out (bfd *, const struct internal_ldsym *, PTR);
+static void xcoff_swap_ldrel_in (bfd *, const PTR, struct internal_ldrel *);
+static void xcoff_swap_ldrel_out (bfd *, const struct internal_ldrel *, PTR);
 static bfd_boolean xcoff_ppc_relocate_section
-  PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
-	   struct internal_reloc *, struct internal_syment *, asection **));
+  (bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
+   struct internal_reloc *, struct internal_syment *, asection **);
 static bfd_boolean _bfd_xcoff_put_ldsymbol_name
-  PARAMS ((bfd *, struct xcoff_loader_info *, struct internal_ldsym *,
-	   const char *));
+  (bfd *, struct xcoff_loader_info *, struct internal_ldsym *, const char *);
 static asection *xcoff_create_csect_from_smclas
-  PARAMS ((bfd *, union internal_auxent *, const char *));
-static bfd_boolean xcoff_is_lineno_count_overflow
-  PARAMS ((bfd *, bfd_vma));
-static bfd_boolean xcoff_is_reloc_count_overflow
-  PARAMS ((bfd *, bfd_vma));
-static bfd_vma xcoff_loader_symbol_offset
-  PARAMS ((bfd *, struct internal_ldhdr *));
-static bfd_vma xcoff_loader_reloc_offset
-  PARAMS ((bfd *, struct internal_ldhdr *));
+  (bfd *, union internal_auxent *, const char *);
+static bfd_boolean xcoff_is_lineno_count_overflow (bfd *, bfd_vma);
+static bfd_boolean xcoff_is_reloc_count_overflow (bfd *, bfd_vma);
+static bfd_vma xcoff_loader_symbol_offset (bfd *, struct internal_ldhdr *);
+static bfd_vma xcoff_loader_reloc_offset (bfd *, struct internal_ldhdr *);
 static bfd_boolean xcoff_generate_rtinit
-  PARAMS ((bfd *, const char *, const char *, bfd_boolean));
-static bfd_boolean do_pad
-  PARAMS ((bfd *, unsigned int));
-static bfd_boolean do_copy
-  PARAMS ((bfd *, bfd *));
+  (bfd *, const char *, const char *, bfd_boolean);
+static bfd_boolean do_pad (bfd *, unsigned int);
+static bfd_boolean do_copy (bfd *, bfd *);
 
 /* Relocation functions */
-static bfd_boolean xcoff_reloc_type_br
-  PARAMS ((XCOFF_RELOC_FUNCTION_ARGS));
+static bfd_boolean xcoff_reloc_type_br (XCOFF_RELOC_FUNCTION_ARGS);
 
 static bfd_boolean xcoff_complain_overflow_dont_func
-  PARAMS ((XCOFF_COMPLAIN_FUNCTION_ARGS));
+  (XCOFF_COMPLAIN_FUNCTION_ARGS);
 static bfd_boolean xcoff_complain_overflow_bitfield_func
-  PARAMS ((XCOFF_COMPLAIN_FUNCTION_ARGS));
+  (XCOFF_COMPLAIN_FUNCTION_ARGS);
 static bfd_boolean xcoff_complain_overflow_signed_func
-  PARAMS ((XCOFF_COMPLAIN_FUNCTION_ARGS));
+  (XCOFF_COMPLAIN_FUNCTION_ARGS);
 static bfd_boolean xcoff_complain_overflow_unsigned_func
-  PARAMS ((XCOFF_COMPLAIN_FUNCTION_ARGS));
+  (XCOFF_COMPLAIN_FUNCTION_ARGS);
 
 bfd_boolean (*xcoff_calculate_relocation[XCOFF_MAX_CALCULATE_RELOCATION])
-  PARAMS ((XCOFF_RELOC_FUNCTION_ARGS)) =
+  (XCOFF_RELOC_FUNCTION_ARGS) =
 {
   xcoff_reloc_type_pos,	 /* R_POS   (0x00) */
   xcoff_reloc_type_neg,	 /* R_NEG   (0x01) */
@@ -233,7 +197,7 @@ bfd_boolean (*xcoff_calculate_relocation[XCOFF_MAX_CALCULATE_RELOCATION])
 };
 
 bfd_boolean (*xcoff_complain_overflow[XCOFF_MAX_COMPLAIN_OVERFLOW])
-  PARAMS ((XCOFF_COMPLAIN_FUNCTION_ARGS)) =
+  (XCOFF_COMPLAIN_FUNCTION_ARGS) =
 {
   xcoff_complain_overflow_dont_func,
   xcoff_complain_overflow_bitfield_func,
@@ -358,8 +322,7 @@ archive_iterator_next (struct archive_iterator *iterator)
    so the COFF routines are compatible.  */
 
 bfd_boolean
-_bfd_xcoff_mkobject (abfd)
-     bfd *abfd;
+_bfd_xcoff_mkobject (bfd *abfd)
 {
   coff_data_type *coff;
   bfd_size_type amt = sizeof (struct xcoff_tdata);
@@ -391,9 +354,7 @@ _bfd_xcoff_mkobject (abfd)
 /* Copy XCOFF data from one BFD to another.  */
 
 bfd_boolean
-_bfd_xcoff_copy_private_bfd_data (ibfd, obfd)
-     bfd *ibfd;
-     bfd *obfd;
+_bfd_xcoff_copy_private_bfd_data (bfd *ibfd, bfd *obfd)
 {
   struct xcoff_tdata *ix, *ox;
   asection *sec;
@@ -439,18 +400,14 @@ _bfd_xcoff_copy_private_bfd_data (ibfd, obfd)
    -x option.  */
 
 bfd_boolean
-_bfd_xcoff_is_local_label_name (abfd, name)
-     bfd *abfd ATTRIBUTE_UNUSED;
-     const char *name ATTRIBUTE_UNUSED;
+_bfd_xcoff_is_local_label_name (bfd *abfd ATTRIBUTE_UNUSED,
+                                const char *name ATTRIBUTE_UNUSED)
 {
   return FALSE;
 }
 \f
 void
-_bfd_xcoff_swap_sym_in (abfd, ext1, in1)
-     bfd *abfd;
-     PTR ext1;
-     PTR in1;
+_bfd_xcoff_swap_sym_in (bfd *abfd, PTR ext1, PTR in1)
 {
   SYMENT *ext = (SYMENT *)ext1;
   struct internal_syment * in = (struct internal_syment *)in1;
@@ -473,10 +430,7 @@ _bfd_xcoff_swap_sym_in (abfd, ext1, in1)
 }
 
 unsigned int
-_bfd_xcoff_swap_sym_out (abfd, inp, extp)
-     bfd *abfd;
-     PTR inp;
-     PTR extp;
+_bfd_xcoff_swap_sym_out (bfd *abfd, PTR inp, PTR extp)
 {
   struct internal_syment *in = (struct internal_syment *)inp;
   SYMENT *ext =(SYMENT *)extp;
@@ -500,14 +454,8 @@ _bfd_xcoff_swap_sym_out (abfd, inp, extp)
 }
 
 void
-_bfd_xcoff_swap_aux_in (abfd, ext1, type, in_class, indx, numaux, in1)
-     bfd *abfd;
-     PTR ext1;
-     int type;
-     int in_class;
-     int indx;
-     int numaux;
-     PTR in1;
+_bfd_xcoff_swap_aux_in (bfd *abfd, PTR ext1, int type, int in_class,
+                        int indx, int numaux, PTR in1)
 {
   AUXENT * ext = (AUXENT *)ext1;
   union internal_auxent *in = (union internal_auxent *)in1;
@@ -615,19 +563,11 @@ _bfd_xcoff_swap_aux_in (abfd, ext1, type, in_class, indx, numaux, in1)
      end of block.  */
 }
 
-
-unsigned int _bfd_xcoff_swap_aux_out
-  PARAMS ((bfd *, PTR, int, int, int, int, PTR));
-
 unsigned int
-_bfd_xcoff_swap_aux_out (abfd, inp, type, in_class, indx, numaux, extp)
-     bfd * abfd;
-     PTR   inp;
-     int   type;
-     int   in_class;
-     int   indx ATTRIBUTE_UNUSED;
-     int   numaux ATTRIBUTE_UNUSED;
-     PTR   extp;
+_bfd_xcoff_swap_aux_out (bfd *abfd, PTR inp, int type, int in_class,
+                         int indx ATTRIBUTE_UNUSED,
+                         int numaux ATTRIBUTE_UNUSED,
+                         PTR extp)
 {
   union internal_auxent *in = (union internal_auxent *)inp;
   AUXENT *ext = (AUXENT *)extp;
@@ -1117,9 +1057,7 @@ reloc_howto_type xcoff_howto_table[] =


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-04-16 21:05 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-04-16 21:05 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  d05c3db2f0aee733f5c8f2728a4e58fb90ab48c9 (commit)
       via  83a52a17fac115837a184696afa6fbf5e4c12993 (commit)
       via  16d2f8d0b7312e904783e0bb0af032afee2d64f7 (commit)
      from  72f4008dda2708ce4b2fa6d03372044ce3b9fb5b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit d05c3db2f0aee733f5c8f2728a4e58fb90ab48c9
Merge: 72f4008 83a52a1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Apr 16 23:04:59 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit 83a52a17fac115837a184696afa6fbf5e4c12993
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sat Apr 16 18:16:33 2011 +0000

    sim: add sim_complete_command stubs for non-common-using ports
    
    For the ports that don't use the common/ subdir, we need to add stub funcs
    to them to avoid build failures with gdb and command completion.  These do
    not implement the actual completion functionality ... any port that wants
    that can either convert to the common/ subdir, or fill out the function on
    their own time.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 16d2f8d0b7312e904783e0bb0af032afee2d64f7
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sat Apr 16 17:37:55 2011 +0000

    sim: bfin: use store buffer with more 32bit insns
    
    A bunch of 32bit insns were not using the store buffer, so when they were
    used in parallel insns, they would incorrectly clobber a register early.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

-----------------------------------------------------------------------

Summary of changes:
 sim/arm/ChangeLog        |    4 +++
 sim/arm/wrapper.c        |    6 +++++
 sim/avr/ChangeLog        |    4 +++
 sim/avr/interp.c         |    6 +++++
 sim/bfin/ChangeLog       |    8 +++++++
 sim/bfin/bfin-sim.c      |   52 +++++++++++++++++++++++++--------------------
 sim/m32c/ChangeLog       |    4 +++
 sim/m32c/gdb-if.c        |    6 +++++
 sim/microblaze/ChangeLog |    4 +++
 sim/microblaze/interp.c  |    6 +++++
 sim/ppc/ChangeLog        |    4 +++
 sim/ppc/sim_calls.c      |    5 ++++
 sim/rx/ChangeLog         |    4 +++
 sim/rx/gdb-if.c          |    6 +++++
 sim/sh/ChangeLog         |    4 +++
 sim/sh/interp.c          |    6 +++++
 16 files changed, 106 insertions(+), 23 deletions(-)

First 500 lines of diff:
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog
index 1e07144..471fdab 100644
--- a/sim/arm/ChangeLog
+++ b/sim/arm/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+	* wrapper.c (sim_complete_command): New stub function.
+
 2010-05-26  Ozkan Sezer  <sezeroz@gmail.com>
 
 	* communicate.c (MYread_char): Check error return from accept() call
diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c
index 504a0e5..b81631d 100644
--- a/sim/arm/wrapper.c
+++ b/sim/arm/wrapper.c
@@ -940,3 +940,9 @@ sim_set_callbacks (ptr)
 {
   sim_callback = ptr;
 }
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+  return NULL;
+}
diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog
index a03bde8..c407e0c 100644
--- a/sim/avr/ChangeLog
+++ b/sim/avr/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+	* interp.c (sim_complete_command): New stub function.
+
 2010-04-14  Mike Frysinger  <vapier@gentoo.org>
 
 	* interp.c (sim_write): Add const to buffer arg.
diff --git a/sim/avr/interp.c b/sim/avr/interp.c
index 818f04e..c4d7da0 100644
--- a/sim/avr/interp.c
+++ b/sim/avr/interp.c
@@ -1853,3 +1853,9 @@ sim_set_callbacks (host_callback *ptr)
 {
   callback = ptr; 
 }
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+  return NULL;
+}
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index 7bbd15e..25944fd 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,3 +1,11 @@
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+	* bfin-sim.c (decode_dsp32alu_0): Call STORE instead of SET_DREG for
+	BYTEOP2P, BYTEOP3P, BYTEOP1P, BYTEOP16P, BYTEOP16M, BYTEPACK, and
+	BYTEUNPACK.
+	(decode_dsp32shift_0): Call STORE instead of SET_DREG for PACK,
+	BITMUX, EXTRACT, DEPOSIT, ALIGN8, ALIGN16, and ALIGN24.
+
 2011-04-14  Mike Frysinger  <vapier@gentoo.org>
 
 	* bfin-sim.c (decode_dsp32alu_0): Set DIS_ALGN_EXPT when handling
diff --git a/sim/bfin/bfin-sim.c b/sim/bfin/bfin-sim.c
index f1500b0..13e8850 100644
--- a/sim/bfin/bfin-sim.c
+++ b/sim/bfin/bfin-sim.c
@@ -4213,7 +4213,7 @@ decode_dsp32alu_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
 	       ((s0 >>  8) & 0xff) + ((s0 >>  0) & 0xff) + i) >> 2) & 0xff;
       tmp1 = ((((s1 >> 24) & 0xff) + ((s1 >> 16) & 0xff) +
 	       ((s0 >> 24) & 0xff) + ((s0 >> 16) & 0xff) + i) >> 2) & 0xff;
-      SET_DREG (dst0, (tmp1 << (16 + (HL * 8))) | (tmp0 << (HL * 8)));
+      STORE (DREG (dst0), (tmp1 << (16 + (HL * 8))) | (tmp0 << (HL * 8)));
 
       /* Implicit DISALGNEXCPT in parallel.  */
       DIS_ALGN_EXPT |= 1;
@@ -4331,8 +4331,8 @@ decode_dsp32alu_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
 
       tmp0 = (bs32)(bs16)(s0 >>  0) + ((s1 >> ( 0 + (8 * !HL))) & 0xff);
       tmp1 = (bs32)(bs16)(s0 >> 16) + ((s1 >> (16 + (8 * !HL))) & 0xff);
-      SET_DREG (dst0, (CLAMP (tmp0, 0, 255) << ( 0 + (8 * HL))) |
-		      (CLAMP (tmp1, 0, 255) << (16 + (8 * HL))));
+      STORE (DREG (dst0), (CLAMP (tmp0, 0, 255) << ( 0 + (8 * HL))) |
+			  (CLAMP (tmp1, 0, 255) << (16 + (8 * HL))));
 
       /* Implicit DISALGNEXCPT in parallel.  */
       DIS_ALGN_EXPT |= 1;
@@ -4817,7 +4817,7 @@ decode_dsp32alu_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
 	  s1 = algn (s1L, s1H, IREG (1) & 3);
 	}
 
-      SET_DREG (dst0,
+      STORE (DREG (dst0),
 		(((((s0 >>  0) & 0xff) + ((s1 >>  0) & 0xff) + !aop) >> 1) <<  0) |
 		(((((s0 >>  8) & 0xff) + ((s1 >>  8) & 0xff) + !aop) >> 1) <<  8) |
 		(((((s0 >> 16) & 0xff) + ((s1 >> 16) & 0xff) + !aop) >> 1) << 16) |
@@ -4851,10 +4851,10 @@ decode_dsp32alu_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
 	  s1 = algn (s1L, s1H, IREG (1) & 3);
 	}
 
-      SET_DREG (dst0,
+      STORE (DREG (dst0),
 		((((s0 >>  0) & 0xff) + ((s1 >>  0) & 0xff)) <<  0) |
 		((((s0 >>  8) & 0xff) + ((s1 >>  8) & 0xff)) << 16));
-      SET_DREG (dst1,
+      STORE (DREG (dst1),
 		((((s0 >> 16) & 0xff) + ((s1 >> 16) & 0xff)) <<  0) |
 		((((s0 >> 24) & 0xff) + ((s1 >> 24) & 0xff)) << 16));
 
@@ -4886,10 +4886,10 @@ decode_dsp32alu_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
 	  s1 = algn (s1L, s1H, IREG (1) & 3);
 	}
 
-      SET_DREG (dst0,
+      STORE (DREG (dst0),
 		(((((s0 >>  0) & 0xff) - ((s1 >>  0) & 0xff)) <<  0) & 0xffff) |
 		(((((s0 >>  8) & 0xff) - ((s1 >>  8) & 0xff)) << 16)));
-      SET_DREG (dst1,
+      STORE (DREG (dst1),
 		(((((s0 >> 16) & 0xff) - ((s1 >> 16) & 0xff)) <<  0) & 0xffff) |
 		(((((s0 >> 24) & 0xff) - ((s1 >> 24) & 0xff)) << 16)));
 
@@ -4986,7 +4986,7 @@ decode_dsp32alu_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
   else if (aop == 0 && aopcde == 24)
     {
       TRACE_INSN (cpu, "R%i = BYTEPACK (R%i, R%i);", dst0, src0, src1);
-      SET_DREG (dst0,
+      STORE (DREG (dst0),
 	(((DREG (src0) >>  0) & 0xff) <<  0) |
 	(((DREG (src0) >> 16) & 0xff) <<  8) |
 	(((DREG (src1) >>  0) & 0xff) << 16) |
@@ -5017,8 +5017,8 @@ decode_dsp32alu_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
       byteb = (comb_src >> (8 + 8 * order));
       bytec = (comb_src >> (16 + 8 * order));
       byted = (comb_src >> (24 + 8 * order));
-      SET_DREG (dst0, bytea | ((bu32)byteb << 16));
-      SET_DREG (dst1, bytec | ((bu32)byted << 16));
+      STORE (DREG (dst0), bytea | ((bu32)byteb << 16));
+      STORE (DREG (dst1), bytec | ((bu32)byted << 16));
 
       /* Implicit DISALGNEXCPT in parallel.  */
       DIS_ALGN_EXPT |= 1;
@@ -5305,7 +5305,7 @@ decode_dsp32shift_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
 	sv0 >>= 16;
       if (sop & 2)
 	sv1 >>= 16;
-      SET_DREG (dst0, (sv1 << 16) | (sv0 & 0xFFFF));
+      STORE (DREG (dst0), (sv1 << 16) | (sv0 & 0xFFFF));
     }
   else if (sop == 0 && sopcde == 5)
     {
@@ -5423,8 +5423,8 @@ decode_dsp32shift_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
       acc = (acc >> 2) |
 	(((bu64)s0 & 1) << 38) |
 	(((bu64)s1 & 1) << 39);
-      SET_DREG (src0, s0 >> 1);
-      SET_DREG (src1, s1 >> 1);
+      STORE (DREG (src0), s0 >> 1);
+      STORE (DREG (src1), s1 >> 1);
 
       SET_AREG (0, acc);
     }
@@ -5443,8 +5443,8 @@ decode_dsp32shift_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
       acc = (acc << 2) |
 	((s0 >> 31) & 1) |
 	((s1 >> 30) & 2);
-      SET_DREG (src0, s0 << 1);
-      SET_DREG (src1, s1 << 1);
+      STORE (DREG (src0), s0 << 1);
+      STORE (DREG (src1), s1 << 1);
 
       SET_AREG (0, acc);
     }
@@ -5517,10 +5517,13 @@ decode_dsp32shift_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
       bu32 v = DREG (src0);
       bu32 x = DREG (src1);
       bu32 mask = (1 << (v & 0x1f)) - 1;
+
       TRACE_INSN (cpu, "R%i = EXTRACT (R%i, R%i.L) (Z);", dst0, src1, src0);
+
       x >>= ((v >> 8) & 0x1f);
-      SET_DREG (dst0, x & mask);
-      setflags_logical (cpu, DREG (dst0));
+      x &= mask;
+      STORE (DREG (dst0), x);
+      setflags_logical (cpu, x);
     }
   else if (sop == 1 && sopcde == 10)
     {
@@ -5528,13 +5531,15 @@ decode_dsp32shift_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
       bu32 x = DREG (src1);
       bu32 sgn = (1 << (v & 0x1f)) >> 1;
       bu32 mask = (1 << (v & 0x1f)) - 1;
+
       TRACE_INSN (cpu, "R%i = EXTRACT (R%i, R%i.L) (X);", dst0, src1, src0);
+
       x >>= ((v >> 8) & 0x1f);
       x &= mask;
       if (x & sgn)
 	x |= ~mask;
-      SET_DREG (dst0, x);
-      setflags_logical (cpu, DREG (dst0));
+      STORE (DREG (dst0), x);
+      setflags_logical (cpu, x);
     }
   else if ((sop == 2 || sop == 3) && sopcde == 10)
     {
@@ -5565,8 +5570,9 @@ decode_dsp32shift_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
       mask <<= shft;
       bg &= ~mask;
 
-      SET_DREG (dst0, bg | fgnd);
-      setflags_logical (cpu, DREG (dst0));
+      bg |= fgnd;
+      STORE (DREG (dst0), bg);
+      setflags_logical (cpu, bg);
     }
   else if (sop == 0 && sopcde == 11)
     {
@@ -5613,7 +5619,7 @@ decode_dsp32shift_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
     {
       int shift = (sop + 1) * 8;
       TRACE_INSN (cpu, "R%i = ALIGN%i (R%i, R%i);", dst0, shift, src1, src0);
-      SET_DREG (dst0, (DREG (src1) << (32 - shift)) | (DREG (src0) >> shift));
+      STORE (DREG (dst0), (DREG (src1) << (32 - shift)) | (DREG (src0) >> shift));
     }
   else
     illegal_instruction (cpu);
diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog
index 1a34d71..fe8711b 100644
--- a/sim/m32c/ChangeLog
+++ b/sim/m32c/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+	* gdb-if.c (sim_complete_command): New stub function.
+
 2011-01-11  Andrew Burgess <aburgess@broadcom.com>
 
 	* gdb-if.c (sim_store_register): Update return value to
diff --git a/sim/m32c/gdb-if.c b/sim/m32c/gdb-if.c
index 7da4416..23f378f 100644
--- a/sim/m32c/gdb-if.c
+++ b/sim/m32c/gdb-if.c
@@ -703,3 +703,9 @@ sim_do_command (SIM_DESC sd, char *cmd)
     printf ("The 'sim' command expects either 'trace' or 'verbose'"
 	    " as a subcommand.\n");
 }
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+  return NULL;
+}
diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog
index a03bde8..c407e0c 100644
--- a/sim/microblaze/ChangeLog
+++ b/sim/microblaze/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+	* interp.c (sim_complete_command): New stub function.
+
 2010-04-14  Mike Frysinger  <vapier@gentoo.org>
 
 	* interp.c (sim_write): Add const to buffer arg.
diff --git a/sim/microblaze/interp.c b/sim/microblaze/interp.c
index c247601..78c733d 100644
--- a/sim/microblaze/interp.c
+++ b/sim/microblaze/interp.c
@@ -1089,3 +1089,9 @@ sim_set_callbacks (host_callback *ptr)
 {
   callback = ptr;
 }
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+  return NULL;
+}
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index dc059a8..0558910 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+	* sim_calls.c (sim_complete_command): New stub function.
+
 2011-02-14  Mike Frysinger  <vapier@gentoo.org>
 
 	* cap.c (cap_remove): Change zfree to free.
diff --git a/sim/ppc/sim_calls.c b/sim/ppc/sim_calls.c
index 9336516..e80db88 100644
--- a/sim/ppc/sim_calls.c
+++ b/sim/ppc/sim_calls.c
@@ -259,6 +259,11 @@ sim_do_command (SIM_DESC sd, char *cmd)
   }
 }
 
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+  return NULL;
+}
 
 /* Polling, if required */
 
diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog
index f29cb93..2eabd23 100644
--- a/sim/rx/ChangeLog
+++ b/sim/rx/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+	* gdb-if.c (sim_complete_command): New stub function.
+
 2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
 
 	* gdb-if.c (sim_store_register): Update return value to
diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c
index ca41161..95884f0 100644
--- a/sim/rx/gdb-if.c
+++ b/sim/rx/gdb-if.c
@@ -862,3 +862,9 @@ sim_do_command (SIM_DESC sd, char *cmd)
     printf ("The 'sim' command expects either 'trace' or 'verbose'"
 	    " as a subcommand.\n");
 }
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+  return NULL;
+}
diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog
index 82ab457..b44b4fc 100644
--- a/sim/sh/ChangeLog
+++ b/sim/sh/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-16  Mike Frysinger  <vapier@gentoo.org>
+
+	* interp.c (sim_complete_command): New stub function.
+
 2010-04-14  Mike Frysinger  <vapier@gentoo.org>
 
 	* interp.c (sim_write): Add const to buffer arg.
diff --git a/sim/sh/interp.c b/sim/sh/interp.c
index 0d1360f..20239de 100644
--- a/sim/sh/interp.c
+++ b/sim/sh/interp.c
@@ -2787,3 +2787,9 @@ sim_set_callbacks (p)
 {
   callback = p;
 }
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+  return NULL;
+}


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-04-16 17:04 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-04-16 17:04 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  72f4008dda2708ce4b2fa6d03372044ce3b9fb5b (commit)
       via  d5153aeb565a81089dd51561e8cee50b5b59c7ba (commit)
       via  7c8a9b4576a639ad341221dcf8dbd3874e7f66e7 (commit)
       via  7aeba69bcface02b84fdc521a66cfbb9237010be (commit)
       via  315b7be32ea824cf55ef951b2ab2db1d3f68e9e0 (commit)
       via  e0b1830d1d07c8fb2cde073210d0cf9fe0308012 (commit)
       via  c4a58f48df4190435d85c836af1d74d915e5167a (commit)
       via  3d507852fa6fa9de029669efdd2c2a9ce17370bd (commit)
       via  24dae6cda822f56855ce0b149424d583d585d4be (commit)
       via  b82b02c757b50d4e359268a830f449c9e53f256e (commit)
       via  eb40afd46650c3e605f25d36202253693a6d1dbe (commit)
       via  c2c4c4e8ec0ca0482cd9735bf851aeb8fffb3c58 (commit)
       via  914e3563eb6fd7df97021ed1323b0226a250c931 (commit)
       via  68f914de7d6e2c498a0f6aed353b26266bf48f83 (commit)
       via  32499a0dfdc761cdb3ded0398584fdb0cafd6048 (commit)
       via  cb07ec535aec1f22fd0b0138fcfbe998ac708df9 (commit)
       via  52a345d5cd86657589f31ac53480e79506b07f6e (commit)
       via  4540a5d8e7797100d707af51ebe0d11c36cdc267 (commit)
       via  80c0a26b6f9296caebc25a73eb42c1c5399f6772 (commit)
       via  29e9af773229625183b8fff686277f0089825a1a (commit)
       via  522f42b4b76b1a2d6ca1603274c497242d37f126 (commit)
       via  ad7ab3173bfb13456d3604904bd40f7aeadb6289 (commit)
       via  32f4f1a70216e2cbebc6b56ce9c4a37098fbae44 (commit)
       via  00667d2347e692f8ebb31b9b1b11356c553882f1 (commit)
       via  ec5dcfa4ccdc26aa883341e4757ba83059abee33 (commit)
       via  f4d7371d2df50d1e06e9b7a4f9e46028ee90cea1 (commit)
       via  675958ccbbb0d32630e3d6a903254c431fe1d95f (commit)
       via  2b3b16802a0b540f3f38cb9765b7f3e29813ba7e (commit)
       via  1a3ca9aa917ae099444664c412007b80889fc4f5 (commit)
       via  6f4b59479c40f79f06d2ec2df0405531138cf5b6 (commit)
       via  2fb59b52b0793ad57c758c9218f8c7cebe6ad8ab (commit)
       via  210efba98f3e4808f2f8c152a1ce8c6e142a75ef (commit)
       via  5c31e8cfd8e21f6fd731cec1a36bdacd9d8a95ea (commit)
      from  e4d0afcb0144b10a987d25ba429750636db6d89e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 72f4008dda2708ce4b2fa6d03372044ce3b9fb5b
Merge: e4d0afc d5153ae
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Apr 16 19:03:51 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit d5153aeb565a81089dd51561e8cee50b5b59c7ba
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Apr 16 00:00:05 2011 +0000

    daily update

commit 7c8a9b4576a639ad341221dcf8dbd3874e7f66e7
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Apr 16 00:00:02 2011 +0000

    *** empty log message ***

commit 7aeba69bcface02b84fdc521a66cfbb9237010be
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Apr 15 16:23:19 2011 +0000

    gdb: sim: add style fixes lost between git->cvs

commit 315b7be32ea824cf55ef951b2ab2db1d3f68e9e0
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Apr 15 15:05:01 2011 +0000

    	* dwarf2read.c (add_index_entry): Use VEC_last, not VEC_length.

commit e0b1830d1d07c8fb2cde073210d0cf9fe0308012
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Apr 15 11:13:59 2011 +0000

    	* elf-bfd.h (struct sdt_note): New struct.
    	(struct elf_obj_tdata) <sdt_note_head>: New field.
    	* elf.c (elfobj_grok_stapsdt_note_1): New function.
    	(elfobj_grok_stapsdt_note): Likewise.
    	(elf_parse_notes): Added code to treat SystemTap note
    	sections.
    	* common.h (NT_STAPSDT): New define.

commit c4a58f48df4190435d85c836af1d74d915e5167a
Author: gary <gary>
Date:   Fri Apr 15 09:28:31 2011 +0000

    2011-04-15  Gary Benson  <gbenson@redhat.com>
    
    	* MAINTAINERS: Add myself to write-after-approval section.

commit 3d507852fa6fa9de029669efdd2c2a9ce17370bd
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Apr 15 03:43:44 2011 +0000

    gdb: sim: add command line completion
    
    For now, only the sub-command name is completed.  No support yet for
    completing options to that command.  But even this is a huge step as
    currently, nothing is completed, and the basic "help sim" is fairly
    obtuse as to what exactly the "sim" command accepts.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 24dae6cda822f56855ce0b149424d583d585d4be
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Apr 15 01:21:21 2011 +0000

    sim: bfin: handle implicit DISALGNEXCPT with video insns
    
    When most video related insns are used in parallel with Ireg loads, the
    DISALGNEXCPT insn behavior is implicitly in effect.
    
    Reported-by: Anton Shokurov <shokurov.anton.v@yandex.ru>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit b82b02c757b50d4e359268a830f449c9e53f256e
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Apr 15 00:00:06 2011 +0000

    daily update

commit eb40afd46650c3e605f25d36202253693a6d1dbe
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Apr 15 00:00:03 2011 +0000

    *** empty log message ***

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                               |   19 ++++++++++
 bfd/elf-bfd.h                               |   14 +++++++
 bfd/elf.c                                   |   35 ++++++++++++++++++
 bfd/elf32-i386.c                            |    2 +-
 bfd/elf64-alpha.c                           |    3 +-
 bfd/version.h                               |    2 +-
 gdb/ChangeLog                               |   37 +++++++++++++++++++
 gdb/MAINTAINERS                             |    3 ++
 gdb/breakpoint.c                            |    8 ++--
 gdb/dwarf2read.c                            |    2 +-
 gdb/remote-sim.c                            |   19 +++++++++-
 gdb/testsuite/ChangeLog                     |   30 +++++++++++++++
 gdb/testsuite/gdb.base/commands.exp         |   15 ++++----
 gdb/testsuite/gdb.base/gdb1090.c            |    2 +-
 gdb/testsuite/gdb.base/gdb1090.exp          |   12 ++++---
 gdb/testsuite/gdb.base/watchpoint.exp       |    2 +-
 gdb/testsuite/gdb.python/py-prettyprint.c   |    5 +++
 gdb/testsuite/gdb.python/py-prettyprint.exp |    2 +
 gdb/testsuite/gdb.python/py-prettyprint.py  |   15 ++++++++
 gdb/testsuite/lib/gdb.exp                   |    5 +++
 gdb/version.in                              |    2 +-
 include/elf/ChangeLog                       |    4 ++
 include/elf/common.h                        |    4 ++-
 include/gdb/ChangeLog                       |    4 ++
 include/gdb/remote-sim.h                    |    5 +++
 include/opcode/ChangeLog                    |    5 +++
 include/opcode/arm.h                        |    7 ++--
 opcodes/ChangeLog                           |   17 +++++++++
 opcodes/arm-dis.c                           |   35 +++++++++++++++---
 opcodes/v850-dis.c                          |   13 +++++--
 sim/bfin/ChangeLog                          |    6 +++
 sim/bfin/bfin-sim.c                         |   24 ++++++++++++
 sim/common/ChangeLog                        |    5 +++
 sim/common/sim-options.c                    |   52 +++++++++++++++++++++++++++
 34 files changed, 377 insertions(+), 38 deletions(-)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5a28cb4..8fa9ce1 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,22 @@
+2011-04-15  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+	* elf-bfd.h (struct sdt_note): New struct.
+	(struct elf_obj_tdata) <sdt_note_head>: New field.
+	* elf.c (elfobj_grok_stapsdt_note_1): New function.
+	(elfobj_grok_stapsdt_note): Likewise.
+	(elf_parse_notes): Added code to treat SystemTap note
+	sections.
+
+2011-04-12  Richard Henderson  <rth@redhat.com>
+
+	* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Do not
+	exclude empty .got sections.
+
+2011-04-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_reloc_type_lookup): Fix the out of bound
+	array access for BFD_RELOC_386_IRELATIVE.
+
 2011-04-11  Bernd Schmidt  <bernds@codesourcery.com>
 
 	* elf32-tic6x.c (elf32_tic6x_check_relocs): Initialize pc_count field.
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 844610d..39c7de6 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -1476,6 +1476,15 @@ enum
   Tag_compatibility = 32
 };
 
+/* The following struct stores information about every SystemTap section
+   found in the object file.  */
+struct sdt_note
+{
+  struct sdt_note *next;
+  bfd_size_type size;
+  bfd_byte data[1];
+};
+
 /* Some private data is stashed away for future use using the tdata pointer
    in the bfd structure.  */
 
@@ -1633,6 +1642,11 @@ struct elf_obj_tdata
   bfd_size_type build_id_size;
   bfd_byte *build_id;
 
+  /* Linked-list containing information about every Systemtap section
+     found in the object file.  Each section corresponds to one entry
+     in the list.  */
+  struct sdt_note *sdt_note_head;
+
   /* True if the bfd contains symbols that have the STT_GNU_IFUNC
      symbol type or STB_GNU_UNIQUE binding.  Used to set the osabi
      field in the ELF header structure.  */
diff --git a/bfd/elf.c b/bfd/elf.c
index 0bb0c5a..71de844 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -8417,6 +8417,35 @@ elfobj_grok_gnu_note (bfd *abfd, Elf_Internal_Note *note)
 }
 
 static bfd_boolean
+elfobj_grok_stapsdt_note_1 (bfd *abfd, Elf_Internal_Note *note)
+{
+  struct sdt_note *cur =
+    (struct sdt_note *) bfd_alloc (abfd, sizeof (struct sdt_note)
+				   + note->descsz);
+
+  cur->next = (struct sdt_note *) (elf_tdata (abfd))->sdt_note_head;
+  cur->size = (bfd_size_type) note->descsz;
+  memcpy (cur->data, note->descdata, note->descsz);
+
+  elf_tdata (abfd)->sdt_note_head = cur;
+
+  return TRUE;
+}
+
+static bfd_boolean
+elfobj_grok_stapsdt_note (bfd *abfd, Elf_Internal_Note *note)
+{
+  switch (note->type)
+    {
+    case NT_STAPSDT:
+      return elfobj_grok_stapsdt_note_1 (abfd, note);
+
+    default:
+      return TRUE;
+    }
+}
+
+static bfd_boolean
 elfcore_netbsd_get_lwpid (Elf_Internal_Note *note, int *lwpidp)
 {
   char *cp;
@@ -9189,6 +9218,12 @@ elf_parse_notes (bfd *abfd, char *buf, size_t size, file_ptr offset)
 	      if (! elfobj_grok_gnu_note (abfd, &in))
 		return FALSE;
 	    }
+	  else if (in.namesz == sizeof "stapsdt"
+		   && strcmp (in.namedata, "stapsdt") == 0)
+	    {
+	      if (! elfobj_grok_stapsdt_note (abfd, &in))
+		return FALSE;
+	    }
 	  break;
 	}
 
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index 1896881..8934d27 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -324,7 +324,7 @@ elf_i386_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED,
 
     case BFD_RELOC_386_IRELATIVE:
       TRACE ("BFD_RELOC_386_IRELATIVE");
-      return &elf_howto_table[R_386_IRELATIVE];
+      return &elf_howto_table[R_386_IRELATIVE - R_386_tls_offset];
 
     case BFD_RELOC_VTABLE_INHERIT:
       TRACE ("BFD_RELOC_VTABLE_INHERIT");
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c
index 2b15a81..33b27ac 100644
--- a/bfd/elf64-alpha.c
+++ b/bfd/elf64-alpha.c
@@ -2927,7 +2927,8 @@ elf64_alpha_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED,
 	     linker does that before adjust_dynamic_symbol is called, and
 	     it is that function which decides whether anything needs to
 	     go into these sections.  */
-	  s->flags |= SEC_EXCLUDE;
+	  if (!CONST_STRNEQ (name, ".got"))
+	    s->flags |= SEC_EXCLUDE;
 	}
       else if ((s->flags & SEC_HAS_CONTENTS) != 0)
 	{
diff --git a/bfd/version.h b/bfd/version.h
index 54934a3..f74eafd 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110411
+#define BFD_VERSION_DATE 20110416
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c2ab9f2..46e69ca 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,40 @@
+2011-04-15  Tom Tromey  <tromey@redhat.com>
+
+	* dwarf2read.c (add_index_entry): Use VEC_last, not VEC_length.
+
+2011-04-15  Gary Benson  <gbenson@redhat.com>
+
+	* MAINTAINERS: Add myself to write-after-approval section.
+
+2011-04-14  Mike Frysinger  <vapier@gentoo.org>
+
+	* remote-sim.c (sim_command_completer): New function.
+	(_initialize_remote_sim): Set completer to sim_command_completer.
+
+2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+	* breakpoint.c (print_exception_catchpoint): Rename to ...
+	(print_it_exception_catchpoint): ... this.
+	(gnu_v3_exception_catchpoint_ops): Update with new name
+	for print_it_exception_catchpoint.
+
+2011-04-13  Edjunior Machado  <emachado@linux.vnet.ibm.com>
+
+	* MAINTAINERS: Add myself for write after approval privileges.
+
+2011-04-13  Marek Polacek  <mpolacek@redhat.com>
+
+	* MAINTAINERS: Add myself as a write-after-approval maintainer.
+
+2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+	* breakpoint.c (watch_command_1): Remove colon from exp_string.
+
+2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+	* breakpoint.c (save_breakpoints): Verify whether
+	breakpoint_ops.print_recreate is defined before calling it.
+
 2011-04-11  Gary Benson  <gbenson@redhat.com>
 
 	Fix failure with --enable-maintainer-mode.
diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS
index 724a91e..bfc49d0 100644
--- a/gdb/MAINTAINERS
+++ b/gdb/MAINTAINERS
@@ -470,6 +470,7 @@ Shrinivas Atre					shrinivasa@kpitcummins.com
 Scott Bambrough					scottb@netwinder.org
 Thiago Jung Bauermann				bauerman@br.ibm.com
 Jon Beniston					jon@beniston.com
+Gary Benson					gbenson@redhat.com
 Jan Beulich					jbeulich@novell.com
 Jim Blandy					jimb@codesourcery.com
 Philip Blundell					philb@gnu.org
@@ -546,6 +547,7 @@ Robert Lipe					rjl@sco.com
 Sandra Loosemore				sandra@codesourcery.com
 H.J. Lu						hjl.tools@gmail.com
 Michal Ludvig                                   mludvig@suse.cz
+Edjunior B. Machado				emachado@linux.vnet.ibm.com
 Luis Machado					luisgpm@br.ibm.com
 Glen McCready					gkm@redhat.com
 Greg McGary					greg@mcgary.org
@@ -572,6 +574,7 @@ Alexandre Oliva					aoliva@redhat.com
 Karen Osmond					karen.osmond@gmail.com
 Denis Pilat					denis.pilat@st.com
 Paul Pluzhnikov					ppluzhnikov@google.com
+Marek Polacek					mpolacek@redhat.com
 Vladimir Prus                                   vladimir@codesourcery.com
 Yao Qi						yao@codesourcery.com
 Qinwei						qinwei@sunnorth.com.cn
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 2352191..8ea6cc9 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -9019,7 +9019,7 @@ watch_command_1 (char *arg, int accessflag, int from_tty,
 					  core_addr_to_string (addr));
       xfree (name);
 
-      b->exp_string = xstrprintf ("-location: %.*s",
+      b->exp_string = xstrprintf ("-location %.*s",
 				  (int) (exp_end - exp_start), exp_start);
 
       /* The above expression is in C.  */
@@ -9472,7 +9472,7 @@ catch_exec_command_1 (char *arg, int from_tty,
 }
 
 static enum print_stop_action
-print_exception_catchpoint (struct breakpoint *b)
+print_it_exception_catchpoint (struct breakpoint *b)
 {
   int bp_temp, bp_throw;
 
@@ -9563,7 +9563,7 @@ static struct breakpoint_ops gnu_v3_exception_catchpoint_ops = {
   NULL, /* remove */
   NULL, /* breakpoint_hit */
   NULL, /* resources_needed */
-  print_exception_catchpoint,
+  print_it_exception_catchpoint,
   print_one_exception_catchpoint,
   NULL, /* print_one_detail */
   print_mention_exception_catchpoint,
@@ -12337,7 +12337,7 @@ save_breakpoints (char *filename, int from_tty,
     if (filter && !filter (tp))
       continue;
 
-    if (tp->ops != NULL)
+    if (tp->ops != NULL && tp->ops->print_recreate != NULL)
       (tp->ops->print_recreate) (tp, fp);
     else
       {
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 5bf98de..032fbd5 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -15491,7 +15491,7 @@ add_index_entry (struct mapped_symtab *symtab, const char *name,
   /* Don't push an index twice.  Due to how we add entries we only
      have to check the last one.  */ 
   if (VEC_empty (offset_type, (*slot)->cu_indices)
-      || VEC_length (offset_type, (*slot)->cu_indices) != cu_index)
+      || VEC_last (offset_type, (*slot)->cu_indices) != cu_index)
     VEC_safe_push (offset_type, (*slot)->cu_indices, cu_index);
 }
 
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index baaf439..bf4e0ee 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -1193,6 +1193,18 @@ simulator_command (char *args, int from_tty)
   registers_changed ();
 }
 
+static char **
+sim_command_completer (struct cmd_list_element *ignore, char *text, char *word)
+{
+  struct sim_inferior_data *sim_data;
+
+  sim_data = inferior_data (current_inferior (), sim_inferior_data_key);
+  if (sim_data == NULL || sim_data->gdbsim_desc == NULL)
+    return NULL;
+
+  return sim_complete_command (sim_data->gdbsim_desc, text, word);
+}
+
 /* Check to see if a thread is still alive.  */
 
 static int
@@ -1287,11 +1299,14 @@ init_gdbsim_ops (void)
 void
 _initialize_remote_sim (void)
 {
+  struct cmd_list_element *c;
+
   init_gdbsim_ops ();
   add_target (&gdbsim_ops);
 
-  add_com ("sim", class_obscure, simulator_command,
-	   _("Send a command to the simulator."));
+  c = add_com ("sim", class_obscure, simulator_command,
+	       _("Send a command to the simulator."));
+  set_cmd_completer (c, sim_command_completer);
 
   sim_inferior_data_key
     = register_inferior_data_with_cleanup (sim_inferior_data_cleanup);
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 9ae251b..1509919 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,33 @@
+2011-04-13  Edjunior Machado  <emachado@linux.vnet.ibm.com>
+
+	* gdb.base/gdb1090.exp: Change breakpoint location to read the
+	content of 's24' correctly (avoiding "optimized out").
+	* gdb.base/gdb1090.c: Add comment in order to set breakpoint.
+
+2011-04-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
+
+2011-04-13  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+	* gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
+	expect a colon in watch -location output.
+
+2011-04-13  Marek Polacek  <mpolacek@redhat.com>
+
+	* gdb.base/commands.exp (redefine_backtrace_test): Fix race. 
+	New testcase `expect response to define backtrace'.  Also remove
+	redundant `default' block.
+
+2011-04-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* gdb.python/py-prettyprint.c (struct hint_error): New.
+	(main): New variable hint_error.
+	* gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
+	"print hint_error".
+	* gdb.python/py-prettyprint.py (class pp_hint_error): New.
+	(register_pretty_printers): Register it.
+
 2011-04-04  Tom Tromey  <tromey@redhat.com>
 
 	* gdb.cp/maint.exp (test_help): Update.
diff --git a/gdb/testsuite/gdb.base/commands.exp b/gdb/testsuite/gdb.base/commands.exp
index 3bff053..a0ac25b 100644
--- a/gdb/testsuite/gdb.base/commands.exp
+++ b/gdb/testsuite/gdb.base/commands.exp
@@ -704,18 +704,17 @@ proc redefine_backtrace_test {} {
     global gdb_prompt
 
     gdb_test_multiple "define backtrace" "define backtrace" {
-	-re "Really redefine built-in.*$" {
-	    send_gdb "y\n"
-	    exp_continue
+	-re "Really redefine built-in command \"backtrace\"\\? \\(y or n\\) $"  {
+	    pass "define backtrace"
 	}
+    }
 
-	-re "End with"  {
-	    pass "define backtrace in redefine_backtrace_test"
-	}
-        default {
-	    fail "(timeout or eof) define backtrace in redefine_backtrace_test"
+    gdb_test_multiple "y" "expect response to define backtrace" {
+	-re "End with a line saying just \"end\"\\.\r\n>$"  {
+	    pass "expect response to define backtrace"
 	}
     }
+
     gdb_test "echo hibob\\n\nend" \
 	    "" \
 	    "enter commands in redefine_backtrace_test"
diff --git a/gdb/testsuite/gdb.base/gdb1090.c b/gdb/testsuite/gdb.base/gdb1090.c
index 22f2cec..8933952 100644
--- a/gdb/testsuite/gdb.base/gdb1090.c
+++ b/gdb/testsuite/gdb.base/gdb1090.c
@@ -36,7 +36,7 @@ void foo ()
   register struct s_2_by_4 s24;
   s24.field_0 = 1170;
   s24.field_1 = 64701;
-  marker (s24);
+  marker (s24); /* break-here */
   return;
 }
 
diff --git a/gdb/testsuite/gdb.base/gdb1090.exp b/gdb/testsuite/gdb.base/gdb1090.exp
index a15fd04..ab568ab 100644
--- a/gdb/testsuite/gdb.base/gdb1090.exp
+++ b/gdb/testsuite/gdb.base/gdb1090.exp
@@ -40,11 +40,13 @@ gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 gdb_load ${binfile}
 
-if ![runto marker] then {
-    perror "couldn't run to breakpoint"
-    continue
-} 
-gdb_test "up" ".*foo.*" "up from marker"
+if ![runto_main] then {
+    fail "Can't run to main"
+    return 1
+}
+
+gdb_breakpoint [gdb_get_line_number "break-here"]
+gdb_continue_to_breakpoint "break-here" ".* break-here .*"
 
 gdb_test_multiple "print s24" "print s24" {
     -re "\\\$\[0-9\]* = \\{field_0 = 1170, field_1 = 64701\\}\r\n$gdb_prompt $" {
diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp
index 7450602..1d8c5bc 100644
--- a/gdb/testsuite/gdb.base/watchpoint.exp
+++ b/gdb/testsuite/gdb.base/watchpoint.exp
@@ -685,7 +685,7 @@ proc test_inaccessible_watchpoint {} {
 
 	# The same, but using -location through an indirection.
 	gdb_test "watch -location *global_ptr" \
-	    "$watchpoint_msg \[0-9\]+: \-location: \\*global_ptr"
+	    "$watchpoint_msg \[0-9\]+: \-location \\*global_ptr"
 	delete_breakpoints
 
 	# This step requires two HW watchpoints.  Since some platforms only
diff --git a/gdb/testsuite/gdb.python/py-prettyprint.c b/gdb/testsuite/gdb.python/py-prettyprint.c
index 5f98433..1d88b4e 100644
--- a/gdb/testsuite/gdb.python/py-prettyprint.c
+++ b/gdb/testsuite/gdb.python/py-prettyprint.c
@@ -44,6 +44,10 @@ struct lazystring {
   const char *lazy_str;
 };
 
+struct hint_error {
+  int x;
+};
+
 #ifdef __cplusplus
 struct S : public s {
   int zs;
@@ -215,6 +219,7 @@ main ()
   nostring_type nstype, nstype2;
   struct ns ns, ns2;
   struct lazystring estring, estring2;
+  struct hint_error hint_error;
 
   nstype.elements = narray;
   nstype.len = 0;
diff --git a/gdb/testsuite/gdb.python/py-prettyprint.exp b/gdb/testsuite/gdb.python/py-prettyprint.exp
index c5033c9..1fd8c6f 100644
--- a/gdb/testsuite/gdb.python/py-prettyprint.exp
+++ b/gdb/testsuite/gdb.python/py-prettyprint.exp
@@ -97,6 +97,8 @@ proc run_lang_tests {lang} {
     gdb_test_no_output "python pp_ls_encoding = 'UTF-8'"
     gdb_test "print estring2" "\"embedded \", <incomplete sequence \\\\302>"
 
+    gdb_test "print hint_error" "Exception: hint failed\r\nhint_error_val"
+
     gdb_test "print c" " = container \"container\" with 2 elements = {$nl *.0. = 23,$nl *.1. = 72$nl}"
 
     gdb_test "print nstype" " = {$nl *.0. = 7,$nl *.1. = 42$nl}"
diff --git a/gdb/testsuite/gdb.python/py-prettyprint.py b/gdb/testsuite/gdb.python/py-prettyprint.py
index 831a163..92280e0 100644
--- a/gdb/testsuite/gdb.python/py-prettyprint.py
+++ b/gdb/testsuite/gdb.python/py-prettyprint.py
@@ -161,6 +161,18 @@ class pp_ls:
     def display_hint (self):
         return 'string'
 
+class pp_hint_error:
+    "Throw error from display_hint"
+
+    def __init__(self, val):
+        self.val = val
+
+    def to_string(self):
+        return 'hint_error_val'
+
+    def display_hint (self):
+        raise Exception("hint failed")
+
 class pp_outer:
     "Print struct outer"
 
@@ -246,6 +258,9 @@ def register_pretty_printers ():
     pretty_printers_dict[re.compile ('^struct outerstruct$')]  = pp_outer
     pretty_printers_dict[re.compile ('^outerstruct$')]  = pp_outer
 
+    pretty_printers_dict[re.compile ('^struct hint_error$')]  = pp_hint_error
+    pretty_printers_dict[re.compile ('^hint_error$')]  = pp_hint_error
+
 pretty_printers_dict = {}
 


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-04-11 13:53 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-04-11 13:53 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  e4d0afcb0144b10a987d25ba429750636db6d89e (commit)
       via  0f7b55faa9060ee1a9570a0c4a7b658b65f95415 (commit)
       via  5176736ad43507ef7dfc780431882eb76dad910b (commit)
      from  065983d70f2083e228cc06b8d5b4d0cebfdb940b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit e4d0afcb0144b10a987d25ba429750636db6d89e
Merge: 065983d 0f7b55f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Apr 11 15:53:30 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit 0f7b55faa9060ee1a9570a0c4a7b658b65f95415
Author: gary <gary>
Date:   Mon Apr 11 13:23:07 2011 +0000

    2011-04-11  Gary Benson  <gbenson@redhat.com>
    
            Fix failure with --enable-maintainer-mode.
            * Makefile.in (aclocal_m4_deps): Updated gnulib dependencies.

commit 5176736ad43507ef7dfc780431882eb76dad910b
Author: Bernd Schmidt <bernd.schmidt@analog.com>
Date:   Mon Apr 11 12:04:21 2011 +0000

    	* elf32-tic6x.c (elf32_tic6x_check_relocs): Initialize pc_count field.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog     |    4 ++++
 bfd/elf32-tic6x.c |    1 +
 gdb/ChangeLog     |    5 +++++
 gdb/Makefile.in   |   11 +++++++++--
 4 files changed, 19 insertions(+), 2 deletions(-)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ae399e6..5a28cb4 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-11  Bernd Schmidt  <bernds@codesourcery.com>
+
+	* elf32-tic6x.c (elf32_tic6x_check_relocs): Initialize pc_count field.
+
 2011-04-11  Mark Wielaard  <mjw@redhat.com>
 
 	PR 10549
diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c
index b0474a6..b898aab 100644
--- a/bfd/elf32-tic6x.c
+++ b/bfd/elf32-tic6x.c
@@ -2772,6 +2772,7 @@ elf32_tic6x_check_relocs (bfd *abfd, struct bfd_link_info *info,
 		  *head = p;
 		  p->sec = sec;
 		  p->count = 0;
+		  p->pc_count = 0;
 		}
 
 	      p->count += 1;
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1d6bcc5..c2ab9f2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-11  Gary Benson  <gbenson@redhat.com>
+
+	Fix failure with --enable-maintainer-mode.
+	* Makefile.in (aclocal_m4_deps): Updated gnulib dependencies.
+
 2011-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	Code cleanup.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 6abd87a..5bab360 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1327,6 +1327,7 @@ ACLOCAL = aclocal
 ACLOCAL_AMFLAGS = -I gnulib/m4 -I ../config
 aclocal_m4_deps = \
 	configure.ac \
+	gnulib/m4/00gnulib.m4 \
 	gnulib/m4/extensions.m4 \
 	gnulib/m4/gnulib-common.m4 \
 	gnulib/m4/gnulib-comp.m4 \
@@ -1334,10 +1335,16 @@ aclocal_m4_deps = \
 	gnulib/m4/longlong.m4 \
 	gnulib/m4/memchr.m4 \
 	gnulib/m4/memmem.m4 \
-	gnulib/m4/onceonly_2_57.m4 \
+	gnulib/m4/mmap-anon.m4 \
+	gnulib/m4/multiarch.m4 \
+	gnulib/m4/onceonly.m4 \
+	gnulib/m4/stddef_h.m4 \
 	gnulib/m4/stdint.m4 \
 	gnulib/m4/string_h.m4 \
-	gnulib/m4/wchar.m4 \
+	gnulib/m4/warn-on-use.m4 \
+	gnulib/m4/wchar_h.m4 \
+	gnulib/m4/wchar_t.m4 \
+	gnulib/m4/wint_t.m4 \
 	../config/extensions.m4 \
 	../config/lead-dot.m4 \
 	../config/proginstall.m4 \


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-04-11 12:13 muller
  0 siblings, 0 replies; 45+ messages in thread
From: muller @ 2011-04-11 12:13 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  065983d70f2083e228cc06b8d5b4d0cebfdb940b (commit)
       via  4bc7fcf1ba555dfe96ef6268e64d412f41afbbc4 (commit)
       via  620226035e13fae5ba3129aaf4377abe936944e2 (commit)
       via  54827f1bea7d3b2a2c8dae7515c67b513a7ada00 (commit)
       via  5c46a0a5b7a65f8277e45977e1de105f734ca0ec (commit)
       via  8f9ea7c84beaec51b2a4dff4fece6ef8114e90cd (commit)
       via  cc2d43d649c300fe6ee4a8d40659bc7cfb9454c0 (commit)
       via  657ad000c3a77a73e26ddee24daffe2987e75911 (commit)
       via  4f271d34d39a1c23eecc4cfd57466058537c3d9c (commit)
       via  66a7402037e43e09928cfb5fdf7611481c65fe05 (commit)
       via  dead79d07499fa796fe2b29e067b8030be92acc4 (commit)
       via  1ccbf644038bf39386251c6b258eb9324b32c05e (commit)
       via  f442537aa95aa4c64d0832432c91a8087c2c3a5f (commit)
       via  42ffa8c9ae196e66c79c654ded120ecb7933d18d (commit)
       via  96adcb409a3573fe46d854f2fb7112c63a043409 (commit)
       via  11fb750938eca461f2d8539ad26745ca8d813845 (commit)
       via  ac619128bba9e86311495d879a78ef133cfcc2e0 (commit)
       via  09ad29f0f95fc328e49c2d52b640892e34735870 (commit)
       via  e380af857a302055e8e006949f842342b7cd77b1 (commit)
       via  e08b0bb51ddc110dfa521b8138319441e70551ec (commit)
       via  b8d29644821356679e7465f836bec202935c3a2a (commit)
       via  b2e6aad5570454f46b05c2a021462c32fa674def (commit)
       via  a52aa32ccbe31fdec2967c46f2649e6c82ef4a3f (commit)
       via  d35401fbb3f87b1209d4a57bb00edd1a9172ab16 (commit)
       via  bcd2236a2fc0bec3fecb45db5386da4dafaa4785 (commit)
       via  db470a5e1aa547fe715ef08d523ec0185b9628cf (commit)
       via  536aa3a0ee7b3b46843caf9c5b59562785675794 (commit)
      from  2c4617072e51d845d497499ebfe20a3d72e5cb04 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 065983d70f2083e228cc06b8d5b4d0cebfdb940b
Merge: 2c46170 4bc7fcf
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Mon Apr 11 14:12:19 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit 4bc7fcf1ba555dfe96ef6268e64d412f41afbbc4
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Apr 11 08:13:14 2011 +0000

    	PR 10549
    	* elf-bfd.h (has_ifunc_symbols): Renamed to has_gnu_symbols.
    	(has_gnu_symbols): Renamed from has_ifunc_symbols.
    	* elf.c (_bfd_elf_set_osabi): Use new has_gnu_symbols name.
    	* elf32-arm.c (elf32_arm_add_symbol_hook): Set has_gnu_symbols
    	also if STB_GNU_UNIQUE symbol binding was seen.
    	* elf32-i386.c (elf_i386_add_symbol_hook): Likewise.
    	* elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise.
    	* elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise.
    	* elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise.
    	* elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise.
    	* elf64-x86-64.c (elf_x86_64_add_symbol_hook): Likewise.
    
    	* ld-unique: New directory.
    	* ld-unique/unique.exp: New file: Run the UNIQUE tests.
    	* ld-unique/unique.s: New test file.
    	* ld-unique/unique_empty.s: Likewise.
    	* ld-unique/unique_shared.s: Likewise.

commit 620226035e13fae5ba3129aaf4377abe936944e2
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon Apr 11 05:23:26 2011 +0000

    sim: bfin: respect the port level on signals to the SIC
    
    The SIC latches ints from peripherals to the CEC, but the peripherals
    need to be able to tell the SIC when to stop.  So use the incoming level
    to figure out when to set the int bits and when to clear it.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 54827f1bea7d3b2a2c8dae7515c67b513a7ada00
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon Apr 11 05:22:23 2011 +0000

    sim: bfin: add missing GPIO pin 15
    
    Each GPIO block has 16 pins, and I only added 15 in the original
    port list.  So add the missing 16th.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 5c46a0a5b7a65f8277e45977e1de105f734ca0ec
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Apr 11 04:08:07 2011 +0000

    	* bfd-in.h (bfd_get_section_limit): Don't use rawsize with output
    	sections.
    	* libbfd.c (_bfd_generic_get_section_contents): Likewise.
    	(_bfd_generic_get_section_contents_in_window): Likewise.
    	* section.c (bfd_get_section_contents): Likewise.
    	* compress.c (bfd_get_full_section_contents): Likewise.
    	* elf32-rx.c (rx_final_link): Ignore rawsize.
    	* elf32-microblaze.c (microblaze_elf_relocate_section): Use correct
    	bfd with bfd_get_section_limit.
    	* elfxx-ia64.c (elfNN_ia64_choose_gp): Add "final" parameter.  Use
    	os->size during final link.  Update callers.
    	* bfd-in2.h: Regenerate.

commit 8f9ea7c84beaec51b2a4dff4fece6ef8114e90cd
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Apr 11 00:00:33 2011 +0000

    *** empty log message ***

commit cc2d43d649c300fe6ee4a8d40659bc7cfb9454c0
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Apr 11 00:00:05 2011 +0000

    daily update

commit 657ad000c3a77a73e26ddee24daffe2987e75911
Author: DJ Delorie <dj@delorie.com>
Date:   Sun Apr 10 19:15:08 2011 +0000

    merge from gcc

commit 4f271d34d39a1c23eecc4cfd57466058537c3d9c
Author: Richard Sandiford <rsandifo@nildram.co.uk>
Date:   Sun Apr 10 11:10:29 2011 +0000

    bfd/
    	PR ld/12637
    	* elfxx-mips.c (mips_elf_merge_got_with): Use arg->global_count
    	as the number of global entries when merging with the primary GOT.

commit 66a7402037e43e09928cfb5fdf7611481c65fe05
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Apr 10 00:00:05 2011 +0000

    daily update

commit dead79d07499fa796fe2b29e067b8030be92acc4
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Apr 10 00:00:02 2011 +0000

    *** empty log message ***

commit 1ccbf644038bf39386251c6b258eb9324b32c05e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Apr 9 19:35:09 2011 +0000

    gdb/
    	Code cleanup.
    	* symtab.c (search_symbols): Reorder the KIND description in the
    	function comment.  Remove the unused 4th element of types, types2,
    	types3 and types4.  New gdb_assert on KIND.
    	(symtab_symbol_info): Remove the unused 4th element of classnames.
    	New gdb_assert on KIND.
    	* symtab.h (enum search_domain): New warning in the enum comment.
    	Assign numbers to the elements VARIABLES_DOMAIN, FUNCTIONS_DOMAIN and
    	TYPES_DOMAIN.

commit f442537aa95aa4c64d0832432c91a8087c2c3a5f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Apr 9 16:48:36 2011 +0000

    Update copyright year.
    
    2011-04-09  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf32-i386.c: Update copyright year.
    	* elf64-x86-64.c: Likewise.

commit 42ffa8c9ae196e66c79c654ded120ecb7933d18d
Author: Kai Tietz <kai.tietz@onevision.com>
Date:   Sat Apr 9 16:15:33 2011 +0000

    Revert accidential committed file.

commit 96adcb409a3573fe46d854f2fb7112c63a043409
Author: Kai Tietz <kai.tietz@onevision.com>
Date:   Sat Apr 9 16:05:58 2011 +0000

    2011-04-09  Kai Tietz  <ktietz@redhat.com>
    
            * peXXigen.c (_bfd_XXi_final_link_postscripte): Sort pdata in temporary
            buffer and use rawsize for sorting.
            * coffcode.h (coff_compute_section_file_positions): Set rawsize
            before doing alignment.

commit 11fb750938eca461f2d8539ad26745ca8d813845
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Apr 9 15:41:41 2011 +0000

    Revert the accidental checkin.

commit ac619128bba9e86311495d879a78ef133cfcc2e0
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Apr 9 15:37:56 2011 +0000

    Return relocation error on unsupported relocation.
    
    2011-04-09  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf32-i386.c (elf_i386_relocate_section): Return relocation
    	error on unsupported relocation.
    	* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.

commit 09ad29f0f95fc328e49c2d52b640892e34735870
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Apr 9 15:20:37 2011 +0000

    gdb/
    	Fix crash of gdb save-index on a STABS file.
    	* dwarf2read.c (write_psymtabs_to_index): Return also on no
    	PSYMTABS_ADDRMAP.

commit e380af857a302055e8e006949f842342b7cd77b1
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Apr 9 14:26:12 2011 +0000

    Replace __pid_t with pid_t.
    
    2011-04-09  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR binutils/12657
    	* hosts/x86-64linux.h (elf_prstatus32): Replace __pid_t with
    	pid_t.

commit e08b0bb51ddc110dfa521b8138319441e70551ec
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Apr 9 11:15:28 2011 +0000

    gdb/
    	Fix DW_AT_accessibility compatibility with gcc-4.6+.
    	* dwarf2read.c: Include ctype.h.
    	(producer_is_gxx_lt_4_6, dwarf2_default_access_attribute): New
    	functions.
    	(dwarf2_add_field): Fix new_field->accessibility by calling
    	dwarf2_default_access_attribute.  Restructure setting accessibility
    	vs. virtuality.
    	(dwarf2_add_member_fn): New variable accessibility.  Fix fnp
    	is_private and is_protected by calling
    	dwarf2_default_access_attribute.

commit b8d29644821356679e7465f836bec202935c3a2a
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Apr 9 00:00:06 2011 +0000

    daily update

commit b2e6aad5570454f46b05c2a021462c32fa674def
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Apr 9 00:00:03 2011 +0000

    *** empty log message ***

commit a52aa32ccbe31fdec2967c46f2649e6c82ef4a3f
Author: Kevin Buettner <kevinb@redhat.com>
Date:   Fri Apr 8 21:46:28 2011 +0000

    	* rx-tdep.c (rx_frame_unwind): Add default_frame_unwind_stop_reason
    	to the initialization.

commit d35401fbb3f87b1209d4a57bb00edd1a9172ab16
Author: Steve Ellcey <sje@cup.hp.com>
Date:   Fri Apr 8 16:16:36 2011 +0000

    2011-04-08  Steve Ellcey  <sje@cup.hp.com>
    
    	* Add default_frame_unwind_stop_reason value to libunwind_frame_unwind
    	initalization.

commit bcd2236a2fc0bec3fecb45db5386da4dafaa4785
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Apr 8 16:14:44 2011 +0000

    Properly handle R_386_TLS_LDO_32 for PIE.
    
    bfd/
    
    2011-04-08  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR ld/12654
    	* elf32-i386.c (elf_i386_relocate_section): Check !executable
    	instead of shared for R_386_TLS_LDO_32.
    
    ld/testsuite/
    
    2011-04-08  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR ld/12654
    	* ld-i386/i386.exp: Run tlspie2.
    
    	* ld-i386/tlspie2.d: New.
    	* ld-i386/tlspie2.s: Likewise.

commit db470a5e1aa547fe715ef08d523ec0185b9628cf
Author: Paul Brook <paul@codesourcery.com>
Date:   Fri Apr 8 11:42:18 2011 +0000

    2011-04-07  Paul Carroll<pcarroll@codesourcery.com>
    
    	opcodes/
    	* arm-dis.c (print_insn): init vars moved into private_data structure.
    
    	binutils/testsuite/
    	* binutils-all/arm/simple.s: Demo issue with objdump with
    	multiple input files
    	* binutils-all/arm/objdump.exp: added new ARM test case code

commit 536aa3a0ee7b3b46843caf9c5b59562785675794
Author: Tristan Gingold <gingold@adacore.com>
Date:   Fri Apr 8 07:34:29 2011 +0000

    2011-04-08  Tristan Gingold  <gingold@adacore.com>
    
    	* Makefile.am (SOURCE_HFILES): Remove xcoff-target.h
    	* coff-pmac: Remove
    	* xcoff-target.h: Remove
    	* Makefile.in: Regenerate.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                         |   75 +++++++++++++-
 bfd/Makefile.am                       |    2 +-
 bfd/Makefile.in                       |    2 +-
 bfd/bfd-in.h                          |    8 +-
 bfd/bfd-in2.h                         |    8 +-
 bfd/coff-pmac.c                       |   34 ------
 bfd/coffcode.h                        |    4 +-
 bfd/compress.c                        |    8 +-
 bfd/elf-bfd.h                         |    6 +-
 bfd/elf.c                             |    4 +-
 bfd/elf32-arm.c                       |    5 +-
 bfd/elf32-i386.c                      |   17 ++-
 bfd/elf32-microblaze.c                |    4 +-
 bfd/elf32-ppc.c                       |    5 +-
 bfd/elf32-rx.c                        |    5 +-
 bfd/elf32-sparc.c                     |    5 +-
 bfd/elf64-ppc.c                       |    6 +-
 bfd/elf64-sparc.c                     |    5 +-
 bfd/elf64-x86-64.c                    |   15 ++-
 bfd/elfxx-ia64.c                      |   17 ++-
 bfd/elfxx-mips.c                      |   18 ++-
 bfd/hosts/x86-64linux.h               |   11 +-
 bfd/libbfd.c                          |   15 ++-
 bfd/peXXigen.c                        |   22 +++-
 bfd/section.c                         |    7 +-
 bfd/version.h                         |    2 +-
 bfd/xcoff-target.h                    |  194 ---------------------------------
 gdb/ChangeLog                         |   41 +++++++
 gdb/dwarf2read.c                      |  113 ++++++++++++++++---
 gdb/libunwind-frame.c                 |    1 +
 gdb/rx-tdep.c                         |    1 +
 gdb/symtab.c                          |   18 ++-
 gdb/symtab.h                          |    9 +-
 gdb/version.in                        |    2 +-
 libiberty/ChangeLog                   |    6 +
 libiberty/testsuite/test-expandargv.c |    2 +-
 opcodes/ChangeLog                     |    4 +
 opcodes/arm-dis.c                     |   41 ++++---
 sim/bfin/ChangeLog                    |   11 ++
 sim/bfin/dv-bfin_gpio.c               |    1 +
 sim/bfin/dv-bfin_sic.c                |   41 ++++---
 41 files changed, 429 insertions(+), 366 deletions(-)
 delete mode 100644 bfd/coff-pmac.c
 delete mode 100644 bfd/xcoff-target.h

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d61c115..ae399e6 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,9 +1,82 @@
+2011-04-11  Mark Wielaard  <mjw@redhat.com>
+
+	PR 10549
+	* elf-bfd.h (has_ifunc_symbols): Renamed to has_gnu_symbols.
+	(has_gnu_symbols): Renamed from has_ifunc_symbols.
+	* elf.c (_bfd_elf_set_osabi): Use new has_gnu_symbols name.
+	* elf32-arm.c (elf32_arm_add_symbol_hook): Set has_gnu_symbols
+	also if STB_GNU_UNIQUE symbol binding was seen.
+	* elf32-i386.c (elf_i386_add_symbol_hook): Likewise.
+	* elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise.
+	* elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise.
+	* elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise.
+	* elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise.
+	* elf64-x86-64.c (elf_x86_64_add_symbol_hook): Likewise.
+
+2011-04-11  Alan Modra  <amodra@gmail.com>
+
+	* bfd-in.h (bfd_get_section_limit): Don't use rawsize with output
+	sections.
+	* libbfd.c (_bfd_generic_get_section_contents): Likewise.
+	(_bfd_generic_get_section_contents_in_window): Likewise.
+	* section.c (bfd_get_section_contents): Likewise.
+	* compress.c (bfd_get_full_section_contents): Likewise.
+	* elf32-rx.c (rx_final_link): Ignore rawsize.
+	* elf32-microblaze.c (microblaze_elf_relocate_section): Use correct
+	bfd with bfd_get_section_limit.
+	* elfxx-ia64.c (elfNN_ia64_choose_gp): Add "final" parameter.  Use
+	os->size during final link.  Update callers.
+	* bfd-in2.h: Regenerate.
+
+2011-04-10  Richard Sandiford  <rdsandiford@googlemail.com>
+
+	PR ld/12637
+	* elfxx-mips.c (mips_elf_merge_got_with): Use arg->global_count
+	as the number of global entries when merging with the primary GOT.
+
+2011-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c: Update copyright year.
+	* elf64-x86-64.c: Likewise.
+
+2011-04-09  Kai Tietz  <ktietz@redhat.com>
+
+	* peXXigen.c (_bfd_XXi_final_link_postscripte): Sort pdata in temporary
+	buffer and use rawsize for sorting.
+	* coffcode.h (coff_compute_section_file_positions): Set rawsize
+	before doing alignment.
+
+2011-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_relocate_section): Return relocation
+	error on unsupported relocation.
+	* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
+
+2011-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR binutils/12657
+	* hosts/x86-64linux.h (elf_prstatus32): Replace __pid_t with
+	pid_t.
+
+2011-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/12654
+	* elf32-i386.c (elf_i386_relocate_section): Check !executable
+	instead of shared for R_386_TLS_LDO_32.
+
+2011-04-08  Tristan Gingold  <gingold@adacore.com>
+
+	* Makefile.am (SOURCE_HFILES): Remove xcoff-target.h
+	* coff-pmac: Remove
+	* xcoff-target.h: Remove
+	* Makefile.in: Regenerate.
+
 2011-04-07  Cary Coutant  <ccoutant@google.com>
 
 	* dwarf2.c (scan_unit_for_symbols): Check for DW_AT_specification.
 
 2011-04-07  Paul Brook  <paul@codesourcery.com>
- 
+
 	* elf32-tic6x.c (elf32_tic6x_howto_table): R_C6000_PREL31 is
 	pc-relative.
 	(elf32_tic6x_howto_table_rel): Ditto.
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index 9c454cc..c27c16d 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -711,7 +711,7 @@ SOURCE_HFILES = \
 	libnlm.h liboasys.h libpei.h libxcoff.h mach-o.h \
 	netbsd.h nlm-target.h nlmcode.h nlmswap.h ns32k.h \
 	pef.h pef-traceback.h peicode.h som.h version.h \
-	vms.h xcoff-target.h xsym.h
+	vms.h xsym.h
 
 ## ... and all .h files which are in the build tree.
 BUILD_HFILES = \
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 2cbf6a0..80b08af 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -1012,7 +1012,7 @@ SOURCE_HFILES = \
 	libnlm.h liboasys.h libpei.h libxcoff.h mach-o.h \
 	netbsd.h nlm-target.h nlmcode.h nlmswap.h ns32k.h \
 	pef.h pef-traceback.h peicode.h som.h version.h \
-	vms.h xcoff-target.h xsym.h
+	vms.h xsym.h
 
 BUILD_HFILES = \
 	bfdver.h elf32-target.h elf64-target.h targmatch.h bfd_stdint.h
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 63fcdc9..5f0f4b5 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -1,7 +1,7 @@
 /* Main header file for the bfd library -- portable access to object files.
 
-   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
    Free Software Foundation, Inc.
 
    Contributed by Cygnus Support.
@@ -291,8 +291,8 @@ typedef struct bfd_section *sec_ptr;
 #define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE)
 /* Find the address one past the end of SEC.  */
 #define bfd_get_section_limit(bfd, sec) \
-  (((sec)->rawsize ? (sec)->rawsize : (sec)->size) \
-   / bfd_octets_per_byte (bfd))
+  (((bfd)->direction != write_direction && (sec)->rawsize != 0	\
+    ? (sec)->rawsize : (sec)->size) / bfd_octets_per_byte (bfd))
 
 /* Return TRUE if input section SEC has been discarded.  */
 #define elf_discarded_section(sec)				\
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index a1ef1c1..e7c410d 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -7,8 +7,8 @@
 
 /* Main header file for the bfd library -- portable access to object files.
 
-   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
    Free Software Foundation, Inc.
 
    Contributed by Cygnus Support.
@@ -298,8 +298,8 @@ typedef struct bfd_section *sec_ptr;
 #define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE)
 /* Find the address one past the end of SEC.  */
 #define bfd_get_section_limit(bfd, sec) \
-  (((sec)->rawsize ? (sec)->rawsize : (sec)->size) \
-   / bfd_octets_per_byte (bfd))
+  (((bfd)->direction != write_direction && (sec)->rawsize != 0	\
+    ? (sec)->rawsize : (sec)->size) / bfd_octets_per_byte (bfd))
 
 /* Return TRUE if input section SEC has been discarded.  */
 #define elf_discarded_section(sec)				\
diff --git a/bfd/coff-pmac.c b/bfd/coff-pmac.c
deleted file mode 100644
index 2c548b5..0000000
--- a/bfd/coff-pmac.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/* BFD back-end for Apple et al PowerPC Mac "XCOFF" files.
-   Copyright 1995, 2000, 2001, 2005, 2007 Free Software Foundation, Inc.
-
-   This file is part of BFD, the Binary File Descriptor library.
-
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3 of the License, or
-   (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
-   MA 02110-1301, USA.  */
-
-/* Tweak coffcode.h based on this being a PowerMac instead of RS/6000.  */
-
-#define POWERMAC
-
-#define TARGET_SYM	pmac_xcoff_vec
-#define TARGET_NAME	"xcoff-powermac"
-
-#include "sysdep.h"
-#include "bfd.h"
-#include "libbfd.h"
-#include "coff/internal.h"
-#include "coff/rs6000.h"
-#include "libcoff.h"
-#include "xcoff-target.h"
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 6ee3db9..9db86b5 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -3297,6 +3297,8 @@ coff_compute_section_file_positions (bfd * abfd)
       if (!(current->flags & SEC_HAS_CONTENTS))
 	continue;
 
+      current->rawsize = current->size;
+
 #ifdef COFF_IMAGE_WITH_PE
       /* Make sure we skip empty sections in a PE image.  */
       if (current->size == 0)
@@ -3363,7 +3365,7 @@ coff_compute_section_file_positions (bfd * abfd)
 
 #ifdef COFF_IMAGE_WITH_PE
       /* Set the padded size.  */
-      current->size = (current->size + page_size -1) & -page_size;
+      current->size = (current->size + page_size - 1) & -page_size;
 #endif
 
       sofar += current->size;
diff --git a/bfd/compress.c b/bfd/compress.c
index 669033c..a82a8bc 100644
--- a/bfd/compress.c
+++ b/bfd/compress.c
@@ -1,5 +1,5 @@
 /* Compressed section support (intended for debug sections).
-   Copyright 2008, 2010
+   Copyright 2008, 2010, 2011
    Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -158,7 +158,7 @@ DESCRIPTION
 bfd_boolean
 bfd_get_full_section_contents (bfd *abfd, sec_ptr sec, bfd_byte **ptr)
 {
-  bfd_size_type sz = sec->rawsize ? sec->rawsize : sec->size;
+  bfd_size_type sz;
   bfd_byte *p = *ptr;
 #ifdef HAVE_ZLIB_H
   bfd_boolean ret;
@@ -169,6 +169,10 @@ bfd_get_full_section_contents (bfd *abfd, sec_ptr sec, bfd_byte **ptr)
   bfd_byte *uncompressed_buffer;
 #endif
 
+  if (abfd->direction != write_direction && sec->rawsize != 0)
+    sz = sec->rawsize;
+  else
+    sz = sec->size;
   if (sz == 0)
     return TRUE;
 
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 21ec38f..844610d 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -1634,9 +1634,9 @@ struct elf_obj_tdata
   bfd_byte *build_id;
 
   /* True if the bfd contains symbols that have the STT_GNU_IFUNC
-     symbol type.  Used to set the osabi field in the ELF header
-     structure.  */
-  bfd_boolean has_ifunc_symbols;
+     symbol type or STB_GNU_UNIQUE binding.  Used to set the osabi
+     field in the ELF header structure.  */
+  bfd_boolean has_gnu_symbols;
 
   /* An identifier used to distinguish different target
      specific extensions to this structure.  */
diff --git a/bfd/elf.c b/bfd/elf.c
index f69abf2..0bb0c5a 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -9506,9 +9506,9 @@ _bfd_elf_set_osabi (bfd * abfd,
 
   /* To make things simpler for the loader on Linux systems we set the
      osabi field to ELFOSABI_LINUX if the binary contains symbols of
-     the STT_GNU_IFUNC type.  */
+     the STT_GNU_IFUNC type or STB_GNU_UNIQUE binding.  */
   if (i_ehdrp->e_ident[EI_OSABI] == ELFOSABI_NONE
-      && elf_tdata (abfd)->has_ifunc_symbols)
+      && elf_tdata (abfd)->has_gnu_symbols)
     i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_LINUX;
 }
 
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 6b69fd6..035d584 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -15230,8 +15230,9 @@ elf32_arm_add_symbol_hook (bfd *abfd, struct bfd_link_info *info,
 			   flagword *flagsp, asection **secp, bfd_vma *valp)
 {
   if ((abfd->flags & DYNAMIC) == 0
-      && ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC)
-    elf_tdata (info->output_bfd)->has_ifunc_symbols = TRUE;
+      && (ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC
+	  || ELF_ST_BIND (sym->st_info) == STB_GNU_UNIQUE))
+    elf_tdata (info->output_bfd)->has_gnu_symbols = TRUE;
 
   if (elf32_arm_hash_table (info)->vxworks_p
       && !elf_vxworks_add_symbol_hook (abfd, info, sym, namep,
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index 693c8e8..1896881 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -1,6 +1,7 @@
 /* Intel 80386/80486-specific support for 32-bit ELF
    Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-   2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+   2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
+   Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -3451,7 +3452,11 @@ elf_i386_relocate_section (bfd *output_bfd,
 
 	      sreloc = elf_section_data (input_section)->sreloc;
 
-	      BFD_ASSERT (sreloc != NULL && sreloc->contents != NULL);
+	      if (sreloc == NULL || sreloc->contents == NULL)
+		{
+		  r = bfd_reloc_notsupported;
+		  goto check_relocation_error;
+		}
 
 	      loc = sreloc->contents;
 	      loc += sreloc->reloc_count++ * sizeof (Elf32_External_Rel);
@@ -4025,7 +4030,7 @@ elf_i386_relocate_section (bfd *output_bfd,
 	  break;
 
 	case R_386_TLS_LDO_32:
-	  if (info->shared || (input_section->flags & SEC_CODE) == 0)
+	  if (!info->executable || (input_section->flags & SEC_CODE) == 0)
 	    relocation -= elf_i386_dtpoff_base (info);
 	  else
 	    /* When converting LDO to LE, we must negate.  */
@@ -4096,6 +4101,7 @@ do_relocation:
 				    contents, rel->r_offset,
 				    relocation, 0);
 
+check_relocation_error:
       if (r != bfd_reloc_ok)
 	{
 	  const char *name;
@@ -4699,8 +4705,9 @@ elf_i386_add_symbol_hook (bfd * abfd,
 			  bfd_vma * valp ATTRIBUTE_UNUSED)
 {
   if ((abfd->flags & DYNAMIC) == 0
-      && ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC)
-    elf_tdata (info->output_bfd)->has_ifunc_symbols = TRUE;
+      && (ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC
+	  || ELF_ST_BIND (sym->st_info) == STB_GNU_UNIQUE))
+    elf_tdata (info->output_bfd)->has_gnu_symbols = TRUE;
 
   return TRUE;
 }
diff --git a/bfd/elf32-microblaze.c b/bfd/elf32-microblaze.c
index f32e06e..2d460ab 100644
--- a/bfd/elf32-microblaze.c
+++ b/bfd/elf32-microblaze.c
@@ -1,6 +1,6 @@
 /* Xilinx MicroBlaze-specific support for 32-bit ELF
 
-   Copyright 2009, 2010 Free Software Foundation, Inc.
+   Copyright 2009, 2010, 2011 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -824,7 +824,7 @@ microblaze_elf_relocate_section (bfd *output_bfd,
 	    }
 
 	  /* Sanity check the address.  */
-	  if (offset > bfd_get_section_limit (output_bfd, input_section))
+	  if (offset > bfd_get_section_limit (input_bfd, input_section))
 	    {
 	      r = bfd_reloc_outofrange;
 	      goto check_reloc;
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index 9e097ad..c736375 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -3113,8 +3113,9 @@ ppc_elf_add_symbol_hook (bfd *abfd,
     }
 
   if ((abfd->flags & DYNAMIC) == 0
-      && ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC)
-    elf_tdata (info->output_bfd)->has_ifunc_symbols = TRUE;
+      && (ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC
+	  || ELF_ST_BIND (sym->st_info) == STB_GNU_UNIQUE))
+    elf_tdata (info->output_bfd)->has_gnu_symbols = TRUE;
 
   return TRUE;
 }
diff --git a/bfd/elf32-rx.c b/bfd/elf32-rx.c
index 0a5e12c..55f2eaa 100644
--- a/bfd/elf32-rx.c
+++ b/bfd/elf32-rx.c
@@ -1,5 +1,5 @@
 /* Renesas RX specific support for 32-bit ELF.
-   Copyright (C) 2008, 2009, 2010
+   Copyright (C) 2008, 2009, 2010, 2011
    Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -3305,13 +3305,12 @@ rx_final_link (bfd * abfd, struct bfd_link_info * info)
 #endif
       if (o->flags & SEC_CODE
 	  && bfd_big_endian (abfd)
-	  && (o->size % 4 || o->rawsize % 4))
+	  && o->size % 4)
 	{
 #ifdef DJDEBUG
 	  fprintf (stderr, "adjusting...\n");
 #endif
 	  o->size += 4 - (o->size % 4);
-	  o->rawsize += 4 - (o->rawsize % 4);
 	}
     }
 
diff --git a/bfd/elf32-sparc.c b/bfd/elf32-sparc.c
index 187d466..2d9deab 100644
--- a/bfd/elf32-sparc.c
+++ b/bfd/elf32-sparc.c
@@ -180,8 +180,9 @@ elf32_sparc_add_symbol_hook (bfd * abfd,
 			     bfd_vma * valp ATTRIBUTE_UNUSED)
 {
   if ((abfd->flags & DYNAMIC) == 0
-      && ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC)
-    elf_tdata (info->output_bfd)->has_ifunc_symbols = TRUE;
+      && (ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC
+	  || ELF_ST_BIND (sym->st_info) == STB_GNU_UNIQUE))
+    elf_tdata (info->output_bfd)->has_gnu_symbols = TRUE;
   return TRUE;
 }
 
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 4cbd941..eb07b1f 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -4569,10 +4569,14 @@ ppc64_elf_add_symbol_hook (bfd *ibfd,
 			   asection **sec,
 			   bfd_vma *value ATTRIBUTE_UNUSED)
 {
+  if ((ibfd->flags & DYNAMIC) == 0
+      && ELF_ST_BIND (isym->st_info) == STB_GNU_UNIQUE)
+    elf_tdata (info->output_bfd)->has_gnu_symbols = TRUE;
+
   if (ELF_ST_TYPE (isym->st_info) == STT_GNU_IFUNC)
     {
       if ((ibfd->flags & DYNAMIC) == 0)
-	elf_tdata (info->output_bfd)->has_ifunc_symbols = TRUE;
+	elf_tdata (info->output_bfd)->has_gnu_symbols = TRUE;
     }
   else if (ELF_ST_TYPE (isym->st_info) == STT_FUNC)
     ;
diff --git a/bfd/elf64-sparc.c b/bfd/elf64-sparc.c
index 6bb2389..c4e97a7 100644
--- a/bfd/elf64-sparc.c
+++ b/bfd/elf64-sparc.c
@@ -426,8 +426,9 @@ elf64_sparc_add_symbol_hook (bfd *abfd, struct bfd_link_info *info,
   static const char *const stt_types[] = { "NOTYPE", "OBJECT", "FUNCTION" };
 
   if ((abfd->flags & DYNAMIC) == 0
-      && ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC)
-    elf_tdata (info->output_bfd)->has_ifunc_symbols = TRUE;
+      && (ELF_ST_TYPE (sym->st_info) == STT_GNU_IFUNC
+	  || ELF_ST_BIND (sym->st_info) == STB_GNU_UNIQUE))
+    elf_tdata (info->output_bfd)->has_gnu_symbols = TRUE;
 
   if (ELF_ST_TYPE (sym->st_info) == STT_REGISTER)
     {
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 927b3ed..84ee101 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -1,6 +1,7 @@
 /* X86-64 specific support for ELF
    Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
-   2010  Free Software Foundation, Inc.
+   2010, 2011
+   Free Software Foundation, Inc.
    Contributed by Jan Hubicka <jh@suse.cz>.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -3411,7 +3412,11 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 
 	      sreloc = elf_section_data (input_section)->sreloc;
 
-	      BFD_ASSERT (sreloc != NULL && sreloc->contents != NULL);
+	      if (sreloc == NULL || sreloc->contents == NULL)
+		{
+		  r = bfd_reloc_notsupported;
+		  goto check_relocation_error;
+		}


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-04-08  6:48 muller
  0 siblings, 0 replies; 45+ messages in thread
From: muller @ 2011-04-08  6:48 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  2c4617072e51d845d497499ebfe20a3d72e5cb04 (commit)
       via  9b901b98042d5d64ccdb3bec74a5f65ac20b6386 (commit)
       via  f2a5248fda8077d4d5f5ba0680f90a32f67cb8c2 (commit)
       via  f28626ee3d64a96e51fa1e8f27d58f6c99047056 (commit)
      from  d718e657bc13bbdd508244c754c0096eed0df213 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 2c4617072e51d845d497499ebfe20a3d72e5cb04
Merge: d718e65 9b901b9
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Fri Apr 8 08:47:56 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit 9b901b98042d5d64ccdb3bec74a5f65ac20b6386
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Apr 8 00:00:33 2011 +0000

    *** empty log message ***

commit f2a5248fda8077d4d5f5ba0680f90a32f67cb8c2
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Apr 8 00:00:05 2011 +0000

    daily update

commit f28626ee3d64a96e51fa1e8f27d58f6c99047056
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Thu Apr 7 23:59:59 2011 +0000

    	Remove support for old Cygwin 1.5 versions.
    	* win32-low.c (win32_create_inferior): Use new cygwin_path_list
    	function to avoid warning.
    	(win32_add_one_solib): Use cygwin_conv_path function to avoid
    	warning.

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h             |    2 +-
 gdb/gdbserver/ChangeLog   |    8 ++++++++
 gdb/gdbserver/win32-low.c |   12 +++++++-----
 gdb/version.in            |    2 +-
 4 files changed, 17 insertions(+), 7 deletions(-)

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 32d26d1..5da3ccd 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110407
+#define BFD_VERSION_DATE 20110408
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 33d080f..a633155 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,11 @@
+2011-04-07  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	Remove support for old Cygwin 1.5 versions.
+	* win32-low.c (win32_create_inferior): Use new cygwin_path_list
+	function to avoid warning.
+	(win32_add_one_solib): Use cygwin_conv_path function to avoid
+	warning.
+
 2011-03-18  Pierre Muller  <muller@ics.u-strasbg.fr>
 
 	* gdbserver/server.h (Macro _): Define it if not available.
diff --git a/gdb/gdbserver/win32-low.c b/gdb/gdbserver/win32-low.c
index b47081b..51bc1d6 100644
--- a/gdb/gdbserver/win32-low.c
+++ b/gdb/gdbserver/win32-low.c
@@ -536,13 +536,15 @@ win32_create_inferior (char *program, char **program_args)
   path_ptr = getenv ("PATH");
   if (path_ptr)
     {
+      int size = cygwin_conv_path_list (CCP_POSIX_TO_WIN_A, path_ptr, NULL, 0);
       orig_path = alloca (strlen (path_ptr) + 1);
-      new_path = alloca (cygwin_posix_to_win32_path_list_buf_size (path_ptr));
+      new_path = alloca (size);
       strcpy (orig_path, path_ptr);
-      cygwin_posix_to_win32_path_list (path_ptr, new_path);
+      cygwin_conv_path_list (CCP_POSIX_TO_WIN_A, path_ptr, new_path, size);
       setenv ("PATH", new_path, 1);
-    }
-  cygwin_conv_to_win32_path (program, real_path);
+     }
+  cygwin_conv_path (CCP_POSIX_TO_WIN_A, program, real_path,
+		    MAXPATHLEN);
   program = real_path;
 #endif
 
@@ -925,7 +927,7 @@ win32_add_one_solib (const char *name, CORE_ADDR load_addr)
 #endif
 
 #ifdef __CYGWIN__
-  cygwin_conv_to_posix_path (buf, buf2);
+  cygwin_conv_path (CCP_WIN_A_TO_POSIX, buf, buf2, sizeof (buf2));
 #else
   strcpy (buf2, buf);
 #endif
diff --git a/gdb/version.in b/gdb/version.in
index 3374987..e7aca6f 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-7.3.50.20110407-cvs
+7.3.50.20110408-cvs


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-04-07 22:52 muller
  0 siblings, 0 replies; 45+ messages in thread
From: muller @ 2011-04-07 22:52 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  d718e657bc13bbdd508244c754c0096eed0df213 (commit)
       via  ea5be49606051020d0c118f4b2dd1ea040332b79 (commit)
      from  9c38edb13ff76a2706db7b96bf1ee511a6a78b0e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit d718e657bc13bbdd508244c754c0096eed0df213
Merge: 9c38edb ea5be49
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Fri Apr 8 00:51:28 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit ea5be49606051020d0c118f4b2dd1ea040332b79
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Thu Apr 7 22:24:16 2011 +0000

    	Remove support for old Cygwin 1.5 versions.
    	* remote-fileio.c: Remove macros used to emulate new cygwin_conv_path
    	function on old Cygwin version.
    	* windows-nat.c: Remove cygwin version check and always define
    	__USEWIDE for Cygwin compilation.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog       |    8 ++++++++
 gdb/remote-fileio.c |   11 +----------
 gdb/windows-nat.c   |   17 -----------------
 3 files changed, 9 insertions(+), 27 deletions(-)

First 500 lines of diff:
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f6050a9..edb8b70 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,11 @@
+2011-04-07  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	Remove support for old Cygwin 1.5 versions.
+	* remote-fileio.c: Remove macros used to emulate new cygwin_conv_path
+	function on old Cygwin version.
+	* windows-nat.c: Remove cygwin version check and always define
+	__USEWIDE for Cygwin compilation.
+
 2011-04-07  Yao Qi  <yao@codesourcery.com>
 
 	* arm-linux-tdep.c (arm_linux_copy_svc): Remove parameters INSN
diff --git a/gdb/remote-fileio.c b/gdb/remote-fileio.c
index 68298e7..d840c56 100644
--- a/gdb/remote-fileio.c
+++ b/gdb/remote-fileio.c
@@ -36,16 +36,7 @@
 #include <fcntl.h>
 #include <sys/time.h>
 #ifdef __CYGWIN__
-#include <sys/cygwin.h>		/* For cygwin_conv_to_full_posix_path.  */
-#include <cygwin/version.h>
-#if CYGWIN_VERSION_DLL_MAKE_COMBINED(CYGWIN_VERSION_API_MAJOR,CYGWIN_VERSION_API_MINOR) < 181
-# define CCP_POSIX_TO_WIN_A 0
-# define CCP_WIN_A_TO_POSIX 2
-# define cygwin_conv_path(op, from, to, size)  \
-         (op == CCP_WIN_A_TO_POSIX) ? \
-         cygwin_conv_to_full_posix_path (from, to) : \
-         cygwin_conv_to_win32_path (from, to)
-#endif
+#include <sys/cygwin.h>		/* For cygwin_conv_path.  */
 #endif
 #include <signal.h>
 
diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c
index 4334755..350f8d8 100644
--- a/gdb/windows-nat.c
+++ b/gdb/windows-nat.c
@@ -41,7 +41,6 @@
 #include <psapi.h>
 #ifdef __CYGWIN__
 #include <sys/cygwin.h>
-#include <cygwin/version.h>
 #endif
 #include <signal.h>
 
@@ -112,7 +111,6 @@ static struct target_ops windows_ops;
 /* The starting and ending address of the cygwin1.dll text segment.  */
   static CORE_ADDR cygwin_load_start;
   static CORE_ADDR cygwin_load_end;
-# if CYGWIN_VERSION_DLL_MAKE_COMBINED(CYGWIN_VERSION_API_MAJOR,CYGWIN_VERSION_API_MINOR) >= 181
 #   define __USEWIDE
     typedef wchar_t cygwin_buf_t;
     static DWORD WINAPI (*GetModuleFileNameEx) (HANDLE, HMODULE,
@@ -121,21 +119,6 @@ static struct target_ops windows_ops;
 #   define CreateProcess CreateProcessW
 #   define GetModuleFileNameEx_name "GetModuleFileNameExW"
 #   define bad_GetModuleFileNameEx bad_GetModuleFileNameExW
-# else
-#   define CCP_POSIX_TO_WIN_W 1
-#   define CCP_WIN_W_TO_POSIX 3
-#   define cygwin_conv_path(op, from, to, size)  \
-         (op == CCP_WIN_W_TO_POSIX) ? \
-         cygwin_conv_to_full_posix_path (from, to) : \
-         cygwin_conv_to_win32_path (from, to)
-    typedef char cygwin_buf_t;
-    static DWORD WINAPI (*GetModuleFileNameEx) (HANDLE, HMODULE, LPSTR, DWORD);
-#   define STARTUPINFO STARTUPINFOA
-#   define CreateProcess CreateProcessA
-#   define GetModuleFileNameEx_name "GetModuleFileNameExA"
-#   define bad_GetModuleFileNameEx bad_GetModuleFileNameExA
-#   define CW_SET_DOS_FILE_WARNING -1	/* no-op this for older Cygwin */
-# endif
 #endif
 
 static int have_saved_context;	/* True if we've saved context from a


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-04-07 22:32 muller
  0 siblings, 0 replies; 45+ messages in thread
From: muller @ 2011-04-07 22:32 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  9c38edb13ff76a2706db7b96bf1ee511a6a78b0e (commit)
       via  9ec5746d35de931db7bd630ad5d7097dbaab70bf (commit)
       via  10e2d18f0899be4e572d224944bec04d44e77818 (commit)
       via  fbee4dd1eb1663acd1bd6a56c917e9cfa77dd0de (commit)
       via  f1b05c63d7ffe339a325c5d68902bad9c5f8397a (commit)
       via  01850584f99b8b7f78c5b1d6802d2df2b35da0fe (commit)
       via  71f7f3e73228515e4a11a0a137374f4413a4a12c (commit)
       via  6b8ae1cb9cf43edb299e3b5b03bef5187c1c8bd0 (commit)
       via  c37203a97cba50e890d25f3f3ea7a6653b173675 (commit)
       via  ec58b4dea96ae093743df0457eca7fff9000c2b4 (commit)
       via  f1348efc348e8f5b5de3c4f246a9faf0a55a621f (commit)
       via  3d5203bc24a93fca8e79e265fec43dacd7a3340d (commit)
       via  d64a6a62e95fc4342619fc0c4631185dac5c2c4a (commit)
       via  547261788ca7800a2a0519194af10127a2a83f09 (commit)
       via  8ce82e18d601894a9a4a32488e6f7b627a662167 (commit)
       via  f493d2b3ea081fe0de1c7c69a283b2b2049de08e (commit)
       via  c4455e4082fe5373178c3df4d2b4e2b357676feb (commit)
       via  eecdcdefd49b22784f4b1d0db5d3ca85b7938c43 (commit)
       via  329f7fb393a57742e88d2fa920a36d05260eaa9c (commit)
       via  7f71565092a430e0a7509868b7279497db6f7cbe (commit)
       via  aad8a4a6da24f2475672c9145ed7ec0aa1f6e1fc (commit)
       via  3405069491ed7249b28958123166f160d7fe7fcb (commit)
       via  726ecfa9724799f58d7ca2e4f1e4056ada26459a (commit)
       via  5b82e0bfdac55eb57fd25fb39804e594cb7b3b51 (commit)
       via  4b11999f6f77676a5913d772e3b29e04fa057047 (commit)
       via  5d40eb4446a16bb799d79b6a688924132558b0db (commit)
       via  bb1119f31940c26ea8847b67f6d0d1ae50712119 (commit)
       via  0d859768585b4c2db4b8b2c9f10d8a570865d10d (commit)
       via  9142aabd47fd21ec6c0073e6570bdf8c7f2b4d98 (commit)
       via  aac6386d29adcc5de1a8d7ce228eb1cf4873f48a (commit)
       via  c832324f9fd1ad64e96131ac2cd141d98737b5ec (commit)
       via  eaa3448219665a05f0575f044d53aaf95190af93 (commit)
       via  97cf887e13f14106042c7175bdde8853b0dc4a08 (commit)
       via  0ee9a5101d6a996d5cb8aab34ac90e9515faef58 (commit)
       via  0946a6c4c570b397e25048f38208d96c1b46a6c7 (commit)
       via  ae53f7074eb545f994701ed9afa36c8b0a92aaa9 (commit)
       via  5d93c17f2c02725b105c2aa00163cf92d06fa7bd (commit)
       via  19d59c935ab746cb4a3e3aa24fa4a32ed9d673a2 (commit)
       via  15715ce4d9bd657be2e00b57c80061929cd5d3eb (commit)
       via  d2b961aba3296deff699885ffbf56acfd5efd034 (commit)
       via  367907c752a4ac44ffcccc366b37f561fb59a0a0 (commit)
       via  764098bb20b9cf2b6b0a70fc457f1f89675df80f (commit)
       via  f7f2045cc6367f4649c175a078fedef4fd3c71d4 (commit)
       via  f98cb7f1ea3bde0982fad8bf22cc3d360e4596d4 (commit)
       via  6261f7a3e2bcf19b77ef98c9ca9899f355f045a4 (commit)
       via  7cd8c59cfcc957d5acf634273f555a57efd8e49e (commit)
       via  108f86840c09e3f7c6974c2ba572e8975994df1e (commit)
       via  05fbf2a14f81b90cce734fad62a49510b480defc (commit)
       via  e127a5a3d793c289742e9ab5c53fbef1119b7eee (commit)
       via  f630103a91d4fb3aad4e1b2aca6dae4dded1b8ba (commit)
       via  4370d34a6eea399b82017da7868a86f3cfe96b45 (commit)
       via  7c037eb62ae1e33acd235746fb32dca3513d4c09 (commit)
       via  a0a832c9e97e681a6bdd4bc03fa2b6cfe902b8ad (commit)
       via  eb706c8f92aa03ae30f09cb6a3007694c3cb466a (commit)
       via  c73dde705c3b163b5101ed4cc4506cef6cc58905 (commit)
       via  4914bcad48ce9954d04060c9ebee4913d9986402 (commit)
       via  21192aa39602417cda3955c84cbc907cbb4b92fe (commit)
       via  837e99b31775e6a75a593259738924bf050650d2 (commit)
       via  50ccabd1e18b52b76f4689f1cfc5ca4a45a44684 (commit)
       via  42ac289de899a434022493617ef60366b4669e53 (commit)
       via  cf3e165766ccc18f274ebb6333dd6978de6672ab (commit)
       via  fdf29c2fe62b1f842b39afafb0094674bc8c9232 (commit)
       via  6be74f3b359a6ef32f2793cbb5ff8f508e76c3f9 (commit)
       via  6ed71368ed1d5810d719698771dc5c311eefd347 (commit)
       via  7e6091ae1221d7c25408c714fcf0c8a2d1e13a0d (commit)
       via  495a23f22b2acfa6229375452c74bb8b26f80b78 (commit)
       via  0a52d8392d9e9108ce6c60ab274a0385f549f8ac (commit)
       via  c5087150a4d364df07815f6c6a64df4f480e5852 (commit)
       via  fd1db100cfd461a52ca4ca968e095b5e2662f029 (commit)
       via  9b876dcd8d8e6d206a6921b01bd043d8017297e0 (commit)
       via  221cec844b1bb20a7ff86d35daa313b79b6c8449 (commit)
       via  ba51018223ab3f1aba4a69516ed5141bcdb005b3 (commit)
       via  a1a5d13ca27815995ee9f931320c6656d8670146 (commit)
       via  fdf117869705c0e6744bab05fe92b70790da40ac (commit)
       via  9b9fa3798041fc8b358af973bdc4196eac88ebd6 (commit)
       via  900f0ecd1da20717845fd87bea5f24aded2be6bb (commit)
       via  bb118d5980f3eacbba72eb60d592cffdea214ab8 (commit)
       via  d6fbdd5927497cd45fe3d0330f0a4afc539c335b (commit)
       via  be177a22adad8cf0368274b5e39da0819daeaf1a (commit)
      from  bc0f4ad85f624c3761581a17b2fbf81401dccde8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 9c38edb13ff76a2706db7b96bf1ee511a6a78b0e
Merge: bc0f4ad 9ec5746
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Fri Apr 8 00:31:17 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit 9ec5746d35de931db7bd630ad5d7097dbaab70bf
Author: Cary Coutant <ccoutant@google.com>
Date:   Thu Apr 7 17:47:23 2011 +0000

    	* dwarf2.c (scan_unit_for_symbols): Check for DW_AT_specification.

commit 10e2d18f0899be4e572d224944bec04d44e77818
Author: Paul Brook <paul@codesourcery.com>
Date:   Thu Apr 7 11:38:43 2011 +0000

    2011-04-07  Paul Brook  <paul@codesourcery.com>
    
    	bfd/
    	* elf32-tic6x.c (elf32_tic6x_howto_table): R_C6000_PREL31 is
    	pc-relative.
    	(elf32_tic6x_howto_table_rel): Ditto.
    	(elf32_tic6x_relocate_section): Implement R_C6000_PREL31.
    	(elf32_tic6x_check_relocs): Ditto.

commit fbee4dd1eb1663acd1bd6a56c917e9cfa77dd0de
Author: qiyao <qiyao>
Date:   Thu Apr 7 04:18:01 2011 +0000

    2011-04-07  Yao Qi  <yao@codesourcery.com>
    
    	* arm-linux-tdep.c (arm_linux_copy_svc): Remove parameters INSN
    	and TO.
    	* arm-tdep.c (cleanup_svc): Handle variable instruction size.
    	(arm_copy_svc): Remove parameters INSN and TO.
    	(decode_svc_copro): Update caller.
    	* arm-tdep.h (struct displaced_step_closure): Remove parameters
    	from function pointer `copy_svc_os'.

commit f1b05c63d7ffe339a325c5d68902bad9c5f8397a
Author: qiyao <qiyao>
Date:   Thu Apr 7 03:42:50 2011 +0000

    	* arm-tdep.c (cleanup_branch): Set a correct return address in
    	LR for ARM and Thumb.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   95 +
 Makefile.def                                       |   79 +-
 Makefile.in                                        |52557 +++++++-------------
 Makefile.tpl                                       |    2 +-
 bfd/ChangeLog                                      |  109 +
 bfd/bfd-in2.h                                      |    4 +
 bfd/coffcode.h                                     |    5 +
 bfd/config.bfd                                     |   46 +-
 bfd/configure.com                                  |   11 +-
 bfd/dwarf2.c                                       |    1 +
 bfd/elf32-tic6x.c                                  | 1958 +-
 bfd/elf32-tic6x.h                                  |   11 +-
 bfd/elfxx-ia64.c                                   |    1 +
 bfd/libbfd.h                                       |    4 +
 bfd/libcoff-in.h                                   |    1 -
 bfd/libcoff.h                                      |    1 -
 bfd/makefile.vms                                   |    3 +-
 bfd/po/da.po                                       | 6502 ++-
 bfd/reloc.c                                        |   10 +-
 bfd/version.h                                      |    2 +-
 bfd/vms-alpha.c                                    |    6 +-
 config.sub                                         |    2 +
 configure                                          |  293 +-
 configure.ac                                       |  292 +-
 gdb/ChangeLog                                      |  355 +
 gdb/NEWS                                           |   10 +-
 gdb/ada-lang.c                                     |   93 +-
 gdb/arm-linux-tdep.c                               |   47 +-
 gdb/arm-tdep.c                                     |  144 +-
 gdb/arm-tdep.h                                     |    6 +-
 gdb/block.h                                        |    4 -
 gdb/breakpoint.c                                   |  736 +-
 gdb/breakpoint.h                                   |   36 +-
 gdb/buildsym.c                                     |   31 +-
 gdb/buildsym.h                                     |   14 +-
 gdb/cli/cli-cmds.c                                 |    8 +-
 gdb/cli/cli-interp.c                               |   26 +-
 gdb/cli/cli-script.c                               |   23 +-
 gdb/cp-namespace.c                                 |  287 +-
 gdb/cp-support.h                                   |    3 -
 gdb/defs.h                                         |   15 +
 gdb/dictionary.c                                   |    2 +-
 gdb/doc/ChangeLog                                  |   18 +-
 gdb/doc/gdb.texinfo                                |   26 +
 gdb/dwarf2read.c                                   |   54 +-
 gdb/elfread.c                                      |    5 +-
 gdb/exceptions.c                                   |   15 -
 gdb/exceptions.h                                   |   12 +-
 gdb/i386-tdep.c                                    |    5 +-
 gdb/jv-lang.c                                      |   50 +-
 gdb/linespec.c                                     |   71 +-
 gdb/linespec.h                                     |    2 +-
 gdb/macroexp.c                                     |    2 +-
 gdb/mdebugread.c                                   |   16 +-
 gdb/mi/mi-main.c                                   |   11 +-
 gdb/minsyms.c                                      |    4 +-
 gdb/objfiles.c                                     |   19 +-
 gdb/objfiles.h                                     |    7 -
 gdb/ppc-linux-nat.c                                |   72 +-
 gdb/psymtab.c                                      |    5 +-
 gdb/python/py-prettyprint.c                        |    2 +-
 gdb/python/python.c                                |    2 +-
 gdb/remote.c                                       |   42 +-
 gdb/source.c                                       |  109 +-
 gdb/symfile.c                                      |    1 -
 gdb/symfile.h                                      |    5 +-
 gdb/symmisc.c                                      |   40 -
 gdb/symtab.c                                       |   28 +-
 gdb/symtab.h                                       |   43 +-
 gdb/target.c                                       |   16 +
 gdb/target.h                                       |    6 +
 gdb/testsuite/ChangeLog                            |   31 +
 gdb/testsuite/gdb.ada/arrayptr.exp                 |    9 +
 gdb/testsuite/gdb.ada/arrayptr/foo.adb             |    7 +
 gdb/testsuite/gdb.ada/mi_catch_ex.exp              |  137 +
 .../gdb.ada/{arrayptr => mi_catch_ex}/foo.adb      |   35 +-
 .../testsuite/gdb.arch/thumb-singlestep.S          |   34 +-
 gdb/testsuite/gdb.arch/thumb-singlestep.exp        |   38 +
 gdb/testsuite/gdb.cp/cpexprs.exp                   |    7 +-
 gdb/testsuite/gdb.cp/maint.exp                     |    8 +-
 gdb/testsuite/gdb.python/py-mi.exp                 |    9 +
 gdb/testsuite/gdb.python/py-prettyprint.c          |    4 +-
 gdb/testsuite/gdb.python/py-prettyprint.py         |    5 +
 gdb/tracepoint.c                                   |    2 +-
 gdb/ui-out.c                                       |   19 +-
 gdb/utils.c                                        |   25 +-
 gdb/varobj.c                                       |   53 +-
 gdb/version.in                                     |    2 +-
 gdb/xcoffread.c                                    |    2 +-
 include/ChangeLog                                  |    4 +
 include/coff/ChangeLog                             |    4 +
 include/coff/internal.h                            |    2 +
 include/dwarf2.h                                   |    8 +
 include/elf/ChangeLog                              |   14 +
 include/elf/ia64.h                                 |   24 +
 include/elf/tic6x.h                                |   13 +-
 libiberty/ChangeLog                                |    4 +
 libiberty/makefile.vms                             |    2 +-
 sim/bfin/ChangeLog                                 |    5 +
 sim/bfin/dv-bfin_otp.c                             |    7 +
 sim/common/ChangeLog                               |   25 +
 sim/common/dv-glue.c                               |   41 +-
 sim/common/hw-alloc.c                              |    3 +-
 sim/common/hw-base.c                               |   30 +-
 sim/common/hw-device.h                             |    9 +-
 sim/common/hw-events.c                             |    6 +-
 sim/common/hw-handles.c                            |    6 +-
 sim/common/hw-instances.c                          |    3 +-
 sim/common/hw-instances.h                          |    3 +-
 sim/common/hw-main.h                               |    6 +-
 sim/common/hw-ports.c                              |    9 +-
 sim/common/hw-ports.h                              |    3 +-
 sim/common/hw-properties.c                         |    3 +-
 sim/common/hw-properties.h                         |   15 +-
 sim/common/hw-tree.c                               |  100 +-
 115 files changed, 27021 insertions(+), 38278 deletions(-)
 create mode 100644 gdb/testsuite/gdb.ada/mi_catch_ex.exp
 copy gdb/testsuite/gdb.ada/{arrayptr => mi_catch_ex}/foo.adb (61%)
 copy bfd/elf32-tic6x.h => gdb/testsuite/gdb.arch/thumb-singlestep.S (54%)
 create mode 100644 gdb/testsuite/gdb.arch/thumb-singlestep.exp

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 281c2a2..adbd25c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,98 @@
+2011-04-06  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac (build_tools): Remove build-byacc.
+	(host_libs): Remove mmalloc.
+	(host_tools): Remove byacc make patch prms send-pr ash bash bzip2
+	autoconf automake libtool diff rcs fileutils shellutils time
+	textutils wdiff find uudecode hello tar gzip indent recode release
+	sed perl gawk findutils gettext zip.
+	(libgcj): Remove target-qthreads.
+	(target_tools): Remove target-examples target-gperf.
+	(YACC): Don't handle building byacc.
+	* configure: Regenerate.
+	* Makefile.def (ash, autoconf, automake, bash, byacc, bzip2, diff,
+	dosutils, examples, fileutils, find, findutils, gawk, gettext,
+	gnuserv, gperf, gzip, hello, indent, libtool, make, mmalloc,
+	patch, perl, prms, qthreads, rcs, recode, release, sed, send-pr,
+	shellutils, tar, textutils, time, uudecode, wdiff, zip): Don't
+	handle building components.
+	* Makefile.in: Regenerate.
+
+2011-04-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* config.sub: Sync from upstream.
+
+2011-04-01  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac (avr-*-*): Add comment about why libssp is disabled.
+	(microblaze*): Don't disable libssp.
+	* configure: Regenerate.
+
+2011-04-01  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac: Remove code setting CONFIG_SHELL, config_shell and
+	moveifchange.
+	* configure: Regenerate.
+	* Makefile.tpl: Use @SHELL@ not @config_shell@.
+	* Makefile.in: Regenerate.
+
+2011-04-01  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac (*-*-sysv4*): Don't enable libgomp.
+	(alpha*-*-*vms*, i[[34567]]86-*-sco3.2v5*, mn10300-*-*,
+	powerpc-*-chorusos*, powerpc*-*-eabi*, powerpc*-*-sysv*,
+	powerpc*-*-kaos*, s390x-ibm-tpf*, sparc64-*-elf*, v850*-*-*,
+	xtensa*-*-elf*, *-*-beos*, *-*-elf*, *-*-netware*, *-*-rtems*,
+	*-*-sysv[[45]]*, *-*-vxworks*, *-wrs-windiss): Remove
+	md_exec_prefix cases.
+	* configure: Regenerate.
+
+2011-04-01  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac: Separate cases disabling target-libssp,
+	target-libiberty, target-libstdc++-v3 and Fortran from general
+	case over targets.
+	* configure: Regenerate.
+
+2011-04-01  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac (*-*-chorusos): Don't disable libgcj.
+	(*-*-freebsd[[12]] | *-*-freebsd[[12]].* | *-*-freebsd*aout*):
+	Remove case.
+	(*-*-kaos*): Don't disable GCC libraries, zlib or fastjar.
+	(arm-*-coff): Don't disable libgcj.
+	(arm*-*-linux-gnueabi): Remove useless assignment.
+	(arm-*-riscix*): Don't disable libgcj.
+	(bfin-*-*): Don't enable target-bsp and target-cygmon depending on
+	configuration.
+	(c4x-*-* | tic4x-*-*): Don't disable GCC libraries.
+	(c54x*-*-*): Remove case.
+	(tic54x-*-*): Don't disable GCC or GCC libraries.
+	(cris-*-* | crisv32-*-*): Don't handle *-*-aout.  Change *-*-elf
+	to *.
+	(d10v-*-*): Don't disable GCC libraries.
+	(d30v-*-*): Don't disable libgcj.
+	(h8500-*-*): Don't disable GCC libraries.
+	(i960-*-*): Don't disable libgcj.
+	(i[[3456789]]86-*-linux*): Don't handle *-*-*libc1*.
+	(i[[3456789]]86-*-sco3.2v5*, i[[3456789]]86-*-sco*,
+	i[[3456789]]86-*-sysv4*, i[[3456789]]86-*-beos*): Don't disable
+	libgcj.
+	(m68k-*-coff*): Remove case.
+	(mmix-*-*): Don't disable libgloss on host.
+	(mn10200-*-*, mn10300-*-*): Remove cases.
+	(powerpc*-*-winnt* | powerpc*-*-pe*, powerpcle-*-solaris*,
+	powerpc-*-beos*, m68k-apollo-*, mips*-*-irix5*, mips*-*-bsd*):
+	Don't disable libgcj.
+	(romp-*-*): Remove case.
+	(sparclite-*-*, sparc-*-sunos4*): Don't disable libgcj.
+	(sparc-*-solaris2.[[0-6]] | sparc-*-solaris2.[[0-6]].*): Remove
+	case.
+	(v810-*-*): Don't disable GCC libraries.
+	(v850*-*-*, vax-*-vms, xtensa*-*-*): Remove cases.
+	(ip2k-*-*): Don't disable GCC libraries.
+	* configure: Regenerate.
+
 2011-03-28  Joseph Myers  <joseph@codesourcery.com>
 
 	* configure.ac (i[[3456789]]86-*-msdosdjgpp*): Don't disable
diff --git a/Makefile.def b/Makefile.def
index d52466d..f499180 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -4,7 +4,7 @@ AutoGen definitions Makefile.tpl;
 // Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
 // This file was originally written by Nathanael Nerode.
 //
-//   Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+//   Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
 //   Free Software Foundation
 //
 // This file is free software; you can redistribute it and/or modify
@@ -27,39 +27,25 @@ AutoGen definitions Makefile.tpl;
 
 build_modules= { module= libiberty; };
 build_modules= { module= bison; };
-build_modules= { module= byacc; };
 build_modules= { module= flex; };
 build_modules= { module= m4; };
 build_modules= { module= texinfo; };
 build_modules= { module= fixincludes; };
 
-host_modules= { module= ash; };
-host_modules= { module= autoconf; };
-host_modules= { module= automake; };
-host_modules= { module= bash; };
 host_modules= { module= bfd; lib_path=.libs; bootstrap=true; };
 host_modules= { module= opcodes; lib_path=.libs; bootstrap=true; };
 host_modules= { module= binutils; bootstrap=true; };
 host_modules= { module= bison; no_check_cross= true; };
-host_modules= { module= byacc; no_check_cross= true; };
-host_modules= { module= bzip2; };
 host_modules= { module= cgen; };
 host_modules= { module= dejagnu; };
-host_modules= { module= diff; };
-host_modules= { module= dosutils; no_check= true; };
 host_modules= { module= etc; };
 host_modules= { module= fastjar; no_check_cross= true; };
-host_modules= { module= fileutils; };
-host_modules= { module= findutils; };
-host_modules= { module= find; };
 host_modules= { module= fixincludes;
 		missing= TAGS; };
 host_modules= { module= flex; no_check_cross= true; };
 host_modules= { module= gas; bootstrap=true; };
 host_modules= { module= gcc; bootstrap=true; 
 		extra_make_flags="$(EXTRA_GCC_FLAGS)"; };
-host_modules= { module= gawk; };
-host_modules= { module= gettext; };
 host_modules= { module= gmp; lib_path=.libs; bootstrap=true;
 		extra_configure_flags='--disable-shared';
 		no_install= true;
@@ -86,12 +72,8 @@ host_modules= { module= cloog; lib_path=.libs; bootstrap=true;
 host_modules= { module= libelf; lib_path=.libs; bootstrap=true;
 		extra_configure_flags='--disable-shared';
 		no_install= true; };
-host_modules= { module= gnuserv; };
 host_modules= { module= gold; bootstrap=true; };
 host_modules= { module= gprof; };
-host_modules= { module= gzip; };
-host_modules= { module= hello; };
-host_modules= { module= indent; };
 host_modules= { module= intl; bootstrap=true; };
 host_modules= { module= tcl;
                 missing=mostlyclean; };
@@ -110,29 +92,11 @@ host_modules= { module= libiconv;
 		missing= install-pdf;
 		missing= install-html;
 		missing= install-info; };
-host_modules= { module= libtool; };
 host_modules= { module= m4; };
-host_modules= { module= make; };
-host_modules= { module= mmalloc; no_check=true; };
-host_modules= { module= patch; };
-host_modules= { module= perl; };
-host_modules= { module= prms; };
-host_modules= { module= rcs; };
 host_modules= { module= readline; };
-host_modules= { module= release; no_install= true; no_check= true; };
-host_modules= { module= recode; };
-host_modules= { module= sed; };
-host_modules= { module= send-pr; };
-host_modules= { module= shellutils; };
 host_modules= { module= sid; };
 host_modules= { module= sim; };
-host_modules= { module= tar; };
 host_modules= { module= texinfo; no_install= true; };
-host_modules= { module= textutils; };
-host_modules= { module= time; };
-host_modules= { module= uudecode; };
-host_modules= { module= wdiff; };
-host_modules= { module= zip; no_check_cross=true; };
 host_modules= { module= zlib; no_install=true; no_check=true; bootstrap=true; };
 host_modules= { module= gdb; };
 host_modules= { module= expect; };
@@ -168,13 +132,10 @@ target_modules = { module= libtermcap; no_check=true;
 target_modules = { module= winsup; };
 target_modules = { module= libgloss; no_check=true; };
 target_modules = { module= libiberty; };
-target_modules = { module= gperf; };
-target_modules = { module= examples; no_check=true; no_install=true; };
 target_modules = { module= libffi; };
 target_modules = { module= libjava; raw_cxx=true; };
 target_modules = { module= zlib; };
 target_modules = { module= boehm-gc; };
-target_modules = { module= qthreads; };
 target_modules = { module= rda; };
 target_modules = { module= libada; };
 target_modules = { module= libgomp; bootstrap= true; lib_path=.libs; };
@@ -311,10 +272,8 @@ flags_to_pass = { flag= LEAN ; };
 
 // Build modules
 dependencies = { module=all-build-bison; on=all-build-texinfo; };
-dependencies = { module=all-build-byacc; on=all-build-texinfo; };
 dependencies = { module=all-build-flex; on=all-build-texinfo; };
 dependencies = { module=all-build-flex; on=all-build-bison; };
-dependencies = { module=all-build-flex; on=all-build-byacc; };
 dependencies = { module=all-build-flex; on=all-build-m4; };
 dependencies = { module=all-build-libiberty; on=all-build-texinfo; };
 dependencies = { module=all-build-m4; on=all-build-texinfo; };
@@ -337,7 +296,6 @@ dependencies = { module=all-gcc; on=all-ppl; };
 dependencies = { module=all-gcc; on=all-cloog; };
 dependencies = { module=all-gcc; on=all-build-texinfo; };
 dependencies = { module=all-gcc; on=all-build-bison; };
-dependencies = { module=all-gcc; on=all-build-byacc; };
 dependencies = { module=all-gcc; on=all-build-flex; };
 dependencies = { module=all-gcc; on=all-build-libiberty; };
 dependencies = { module=all-gcc; on=all-build-fixincludes; };
@@ -386,7 +344,6 @@ dependencies = { module=all-gdb; on=all-libiconv; };
 dependencies = { module=all-gdb; on=all-opcodes; };
 dependencies = { module=all-gdb; on=all-readline; };
 dependencies = { module=all-gdb; on=all-build-bison; };
-dependencies = { module=all-gdb; on=all-build-byacc; };
 dependencies = { module=all-gdb; on=all-sim; };
 dependencies = { module=all-gdb; on=all-libdecnumber; };
 dependencies = { module=all-gdb; on=all-libtermcap; };
@@ -411,7 +368,6 @@ dependencies = { module=all-binutils; on=all-opcodes; };
 dependencies = { module=all-binutils; on=all-bfd; };
 dependencies = { module=all-binutils; on=all-build-flex; };
 dependencies = { module=all-binutils; on=all-build-bison; };
-dependencies = { module=all-binutils; on=all-build-byacc; };
 dependencies = { module=all-binutils; on=all-intl; };
 
 // We put install-opcodes before install-binutils because the installed
@@ -439,7 +395,6 @@ dependencies = { module=all-ld; on=all-libiberty; };
 dependencies = { module=all-ld; on=all-bfd; };
 dependencies = { module=all-ld; on=all-opcodes; };
 dependencies = { module=all-ld; on=all-build-bison; };
-dependencies = { module=all-ld; on=all-build-byacc; };
 dependencies = { module=all-ld; on=all-build-flex; };
 dependencies = { module=all-ld; on=all-intl; };
 dependencies = { module=install-ld; on=install-gold; };
@@ -449,7 +404,6 @@ dependencies = { module=all-gold; on=all-libiberty; };
 dependencies = { module=all-gold; on=all-intl; };
 dependencies = { module=all-gold; on=all-bfd; };
 dependencies = { module=all-gold; on=all-build-bison; };
-dependencies = { module=all-gold; on=all-build-byacc; };
 dependencies = { module=check-gold; on=all-binutils; };
 dependencies = { module=check-gold; on=all-gas; };
 
@@ -503,44 +457,18 @@ dependencies = { module=all-fastjar; on=all-build-texinfo; };
 dependencies = { module=all-fastjar; on=all-libiberty; };
 
 // Warning, these are not well tested.
-dependencies = { module=all-autoconf; on=all-m4; };
-dependencies = { module=all-autoconf; on=all-build-texinfo; };
-dependencies = { module=all-automake; on=all-m4; };
-dependencies = { module=all-automake; on=all-build-texinfo; };
-dependencies = { module=all-automake; on=all-autoconf; };
 dependencies = { module=all-bison; on=all-intl; };
 dependencies = { module=all-bison; on=all-build-texinfo; };
-dependencies = { module=all-diff; on=all-intl; };
-dependencies = { module=all-diff; on=all-build-texinfo; };
-dependencies = { module=all-fileutils; on=all-intl; };
-dependencies = { module=all-fileutils; on=all-build-texinfo; };
 dependencies = { module=all-flex; on=all-build-bison; };
-dependencies = { module=all-flex; on=all-build-byacc; };
 dependencies = { module=all-flex; on=all-intl; };
 dependencies = { module=all-flex; on=all-m4; };
 dependencies = { module=all-flex; on=all-build-texinfo; };
-dependencies = { module=all-gzip; on=all-intl; };
-dependencies = { module=all-gzip; on=all-zlib; };
-dependencies = { module=all-gzip; on=all-build-texinfo; };
-dependencies = { module=all-hello; on=all-intl; };
-dependencies = { module=all-hello; on=all-build-texinfo; };
 dependencies = { module=all-m4; on=all-intl; };
 dependencies = { module=all-m4; on=all-build-texinfo; };
-dependencies = { module=all-make; on=all-intl; };
-dependencies = { module=all-make; on=all-build-texinfo; };
-dependencies = { module=all-patch; on=all-build-texinfo; };
-dependencies = { module=all-make; on=all-build-texinfo; };
-dependencies = { module=all-prms; on=all-libiberty; };
-dependencies = { module=all-recode; on=all-build-texinfo; };
-dependencies = { module=all-sed; on=all-build-texinfo; };
-dependencies = { module=all-send-pr; on=all-prms; };
-dependencies = { module=all-tar; on=all-build-texinfo; };
-dependencies = { module=all-uudecode; on=all-build-texinfo; };
 
 // Target modules.  These can also have dependencies on the language
 // environment (e.g. on libstdc++).  By default target modules depend
 // on libgcc and newlib/libgloss.
-lang_env_dependencies = { module=gperf; cxx=true; };
 lang_env_dependencies = { module=libjava; cxx=true; };
 lang_env_dependencies = { module=newlib; no_c=true; };
 lang_env_dependencies = { module=libgloss; no_c=true; };
@@ -550,7 +478,6 @@ lang_env_dependencies = { module=libgcc; no_gcc=true; no_c=true; };
 // a dependency on libgcc for native targets to configure.
 lang_env_dependencies = { module=libiberty; no_c=true; };
 
-dependencies = { module=configure-target-boehm-gc; on=configure-target-qthreads; };
 dependencies = { module=configure-target-boehm-gc; on=all-target-libstdc++-v3; };
 dependencies = { module=configure-target-fastjar; on=configure-target-zlib; };
 dependencies = { module=all-target-fastjar; on=all-target-zlib; };
@@ -560,12 +487,10 @@ dependencies = { module=configure-target-libgo; on=all-target-libstdc++-v3; };
 dependencies = { module=all-target-libgo; on=all-target-libffi; };
 dependencies = { module=configure-target-libjava; on=configure-target-zlib; };
 dependencies = { module=configure-target-libjava; on=configure-target-boehm-gc; };
-dependencies = { module=configure-target-libjava; on=configure-target-qthreads; };
 dependencies = { module=configure-target-libjava; on=configure-target-libffi; };
 dependencies = { module=all-target-libjava; on=all-fastjar; };
 dependencies = { module=all-target-libjava; on=all-target-zlib; };
 dependencies = { module=all-target-libjava; on=all-target-boehm-gc; };
-dependencies = { module=all-target-libjava; on=all-target-qthreads; };
 dependencies = { module=all-target-libjava; on=all-target-libffi; };
 dependencies = { module=configure-target-libobjc; on=configure-target-boehm-gc; };
 dependencies = { module=all-target-libobjc; on=all-target-libiberty; };
@@ -578,11 +503,9 @@ dependencies = { module=configure-target-libstdc++-v3; on=configure-target-libgo
 dependencies = { module=all-target-libstdc++-v3; on=configure-target-libgomp; };
 
 // Target modules in the 'src' repository.
-lang_env_dependencies = { module=examples; };
 lang_env_dependencies = { module=libtermcap; };
 lang_env_dependencies = { module=rda; };
 lang_env_dependencies = { module=winsup; };
-lang_env_dependencies = { module=qthreads; };
 
 dependencies = { module=all-target-libgloss; on=all-target-newlib; };
 dependencies = { module=all-target-winsup; on=all-target-libiberty; };
diff --git a/Makefile.in b/Makefile.in
index 128691f..5cc0356 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -320,7 +320,7 @@ HOST_LIBELFINC = @libelfinc@
 # Programs producing files for the BUILD machine
 # ----------------------------------------------
 
-SHELL = @config_shell@
+SHELL = @SHELL@
 
 # pwd command to use.  Allow user to override default by setting PWDCMD in
 # the environment to account for automounters.  The make variable must not
@@ -860,43 +860,26 @@ endif
 
 .PHONY: configure-host
 configure-host:  \
-    maybe-configure-ash \
-    maybe-configure-autoconf \
-    maybe-configure-automake \
-    maybe-configure-bash \
     maybe-configure-bfd \
     maybe-configure-opcodes \
     maybe-configure-binutils \
     maybe-configure-bison \
-    maybe-configure-byacc \
-    maybe-configure-bzip2 \
     maybe-configure-cgen \
     maybe-configure-dejagnu \
-    maybe-configure-diff \
-    maybe-configure-dosutils \
     maybe-configure-etc \
     maybe-configure-fastjar \
-    maybe-configure-fileutils \
-    maybe-configure-findutils \
-    maybe-configure-find \
     maybe-configure-fixincludes \
     maybe-configure-flex \
     maybe-configure-gas \
     maybe-configure-gcc \
-    maybe-configure-gawk \
-    maybe-configure-gettext \
     maybe-configure-gmp \
     maybe-configure-mpfr \
     maybe-configure-mpc \
     maybe-configure-ppl \
     maybe-configure-cloog \
     maybe-configure-libelf \
-    maybe-configure-gnuserv \
     maybe-configure-gold \
     maybe-configure-gprof \
-    maybe-configure-gzip \
-    maybe-configure-hello \
-    maybe-configure-indent \
     maybe-configure-intl \
     maybe-configure-tcl \
     maybe-configure-itcl \
@@ -906,29 +889,11 @@ configure-host:  \
     maybe-configure-libgui \
     maybe-configure-libiberty \
     maybe-configure-libiconv \
-    maybe-configure-libtool \
     maybe-configure-m4 \
-    maybe-configure-make \
-    maybe-configure-mmalloc \
-    maybe-configure-patch \
-    maybe-configure-perl \
-    maybe-configure-prms \
-    maybe-configure-rcs \
     maybe-configure-readline \
-    maybe-configure-release \
-    maybe-configure-recode \
-    maybe-configure-sed \
-    maybe-configure-send-pr \
-    maybe-configure-shellutils \
     maybe-configure-sid \
     maybe-configure-sim \
-    maybe-configure-tar \
     maybe-configure-texinfo \
-    maybe-configure-textutils \
-    maybe-configure-time \
-    maybe-configure-uudecode \
-    maybe-configure-wdiff \
-    maybe-configure-zip \
     maybe-configure-zlib \
     maybe-configure-gdb \
     maybe-configure-expect \
@@ -953,13 +918,10 @@ configure-target:  \
     maybe-configure-target-winsup \
     maybe-configure-target-libgloss \
     maybe-configure-target-libiberty \
-    maybe-configure-target-gperf \
-    maybe-configure-target-examples \
     maybe-configure-target-libffi \
     maybe-configure-target-libjava \
     maybe-configure-target-zlib \
     maybe-configure-target-boehm-gc \
-    maybe-configure-target-qthreads \
     maybe-configure-target-rda \
     maybe-configure-target-libada \
     maybe-configure-target-libgomp
@@ -993,7 +955,6 @@ all:
 
 all-build: maybe-all-build-libiberty
 all-build: maybe-all-build-bison
-all-build: maybe-all-build-byacc
 all-build: maybe-all-build-flex
 all-build: maybe-all-build-m4
 all-build: maybe-all-build-texinfo
@@ -1001,10 +962,6 @@ all-build: maybe-all-build-fixincludes
 
 .PHONY: all-host
 
-all-host: maybe-all-ash
-all-host: maybe-all-autoconf
-all-host: maybe-all-automake
-all-host: maybe-all-bash
 @if bfd-no-bootstrap
 all-host: maybe-all-bfd
 @endif bfd-no-bootstrap
@@ -1015,17 +972,10 @@ all-host: maybe-all-opcodes
 all-host: maybe-all-binutils
 @endif binutils-no-bootstrap
 all-host: maybe-all-bison
-all-host: maybe-all-byacc
-all-host: maybe-all-bzip2
 all-host: maybe-all-cgen
 all-host: maybe-all-dejagnu
-all-host: maybe-all-diff
-all-host: maybe-all-dosutils
 all-host: maybe-all-etc
 all-host: maybe-all-fastjar
-all-host: maybe-all-fileutils
-all-host: maybe-all-findutils
-all-host: maybe-all-find
 all-host: maybe-all-fixincludes
 all-host: maybe-all-flex
 @if gas-no-bootstrap
@@ -1034,8 +984,6 @@ all-host: maybe-all-gas
 @if gcc-no-bootstrap
 all-host: maybe-all-gcc
 @endif gcc-no-bootstrap
-all-host: maybe-all-gawk
-all-host: maybe-all-gettext
 @if gmp-no-bootstrap
 all-host: maybe-all-gmp
 @endif gmp-no-bootstrap
@@ -1054,14 +1002,10 @@ all-host: maybe-all-cloog
 @if libelf-no-bootstrap
 all-host: maybe-all-libelf
 @endif libelf-no-bootstrap
-all-host: maybe-all-gnuserv
 @if gold-no-bootstrap
 all-host: maybe-all-gold
 @endif gold-no-bootstrap
 all-host: maybe-all-gprof
-all-host: maybe-all-gzip
-all-host: maybe-all-hello


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-03-30 13:34 muller
  0 siblings, 0 replies; 45+ messages in thread
From: muller @ 2011-03-30 13:34 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  bc0f4ad85f624c3761581a17b2fbf81401dccde8 (commit)
       via  1796f3f8f7bfb229334ba0fdfdc52460b6a1fe44 (commit)
       via  5dc781f27f0b60eeaa9708550da85468c4ca555f (commit)
       via  6ca7b05525cfc99257d1e176df71218802f5e045 (commit)
       via  4e7850e84c4eae566fe46728f0e6b142e0b942b2 (commit)
       via  6ba5eb5df77405dd00ab23afd9730ebd517b3894 (commit)
       via  573f1965d26f0d23d5dff4a5e55a004418b328b7 (commit)
       via  2853cad470dff5b52d7c94e93e33da98bca10434 (commit)
       via  96bfe92de6c67763182b1492c24c8edea9e00e1b (commit)
       via  0ecf976175b6f125db5959c8eeeaca2f35299e6e (commit)
       via  4c462005aa957b25047076fba4d8cec2e16acc11 (commit)
       via  b7467f3e967dee490d66c25c3356bca48d54908a (commit)
       via  627e5e91c2e37cee6e6657b8a561abaadce03a99 (commit)
       via  de78bbdb6c79cf25c0fbc9b756fd35ff5964c517 (commit)
       via  7e744f02a86123c23e69e566616214b8c651bff1 (commit)
       via  48ccae6422ee8e4025e0ff4b35668672a58e0d53 (commit)
       via  b5f799550a4d17b2820b5f0b27dabe1833188564 (commit)
       via  e4ad4000154dfd6b4a4e1cacde400441ebca608f (commit)
       via  26d160eaebc737c1a45f07f99c80cce979874aac (commit)
       via  f10617c2cd5f8a2951fba9b3a256726f8e0dec8a (commit)
       via  be30267300397d0fef6ec261d91864f0d837124e (commit)
       via  e02d3cc0fc7e6e1ad50b49945c28620568f3f2f8 (commit)
       via  6e1991d4baf179528193e885bf0ae5a2034384fe (commit)
       via  18444b46717da61b1ef977891fa163ed74a94a88 (commit)
       via  628f295c973dfb00698e5593476cd46bcac5520a (commit)
      from  df0418c47f091ba31a21bf52cba9871663b696c8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit bc0f4ad85f624c3761581a17b2fbf81401dccde8
Merge: df0418c 1796f3f
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Wed Mar 30 15:33:54 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit 1796f3f8f7bfb229334ba0fdfdc52460b6a1fe44
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Wed Mar 30 06:55:35 2011 +0000

    	* Makefile.in (SFILES): Add missing C sources.
    	(HFILES_NO_SRCDIR): Remove gdbserver subdirectory headers.
    	Add missing headers.

commit 5dc781f27f0b60eeaa9708550da85468c4ca555f
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Mar 30 00:00:03 2011 +0000

    *** empty log message ***

commit 6ca7b05525cfc99257d1e176df71218802f5e045
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Mar 29 23:00:16 2011 +0000

    daily update

commit 4e7850e84c4eae566fe46728f0e6b142e0b942b2
Author: Richard Henderson <rth@redhat.com>
Date:   Tue Mar 29 21:18:15 2011 +0000

            * elf64-alpha.c (elf64_alpha_gc_mark_hook): New.
            (elf64_alpha_gc_sweep_hook): New.
            (elf_backend_gc_mark_hook, elf_backend_gc_sweep_hook): New.
            (elf_backend_can_gc_sections): New.

commit 6ba5eb5df77405dd00ab23afd9730ebd517b3894
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 29 18:39:51 2011 +0000

    sim: bfin: regen configure to include new cfi device

commit 573f1965d26f0d23d5dff4a5e55a004418b328b7
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 29 18:21:32 2011 +0000

    gdb: start a gitignore
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 2853cad470dff5b52d7c94e93e33da98bca10434
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 29 17:57:17 2011 +0000

    sim: cfi: new flash device simulation
    
    This simulates a CFI flash.  Its pretty configurable via the device
    tree.  For now, only basic read/write/erase operations are supported
    for the Intel command set, but it's easy enough to extend support.
    It's certainly enough to trick Das U-Boot into using it for probing,
    reading, writing, and erasing.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 96bfe92de6c67763182b1492c24c8edea9e00e1b
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Mar 29 17:04:27 2011 +0000

    gdb
    	* dwarf2read.c (fixup_partial_die): Handle linkage name on
    	otherwise anonymous types.
    	(dwarf2_name): Likewise.
    	* valops.c (value_struct_elt_for_reference): Refine artificial
    	type logic.  Call error if j==-1.
    gdb/testsuite
    	* gdb.cp/anon-struct.cc: New file.
    	* gdb.cp/anon-struct.exp: New file.

commit 0ecf976175b6f125db5959c8eeeaca2f35299e6e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Mar 29 16:21:16 2011 +0000

    gdb/
    	Fix false GCC warning.
    	* infcall.c (find_function_addr): Initialize funaddr.

commit 4c462005aa957b25047076fba4d8cec2e16acc11
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Tue Mar 29 15:49:50 2011 +0000

    	Fix mingw compilation with --enable-targets=all.
    	* remote-mips.c (gdb_usleep.h): Include header.
    	(mips_enter_debug): Use gdb_usleep instead of sleep.

commit b7467f3e967dee490d66c25c3356bca48d54908a
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 29 01:59:37 2011 +0000

    libdecnumber: start a gitignore

commit 627e5e91c2e37cee6e6657b8a561abaadce03a99
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 29 01:41:49 2011 +0000

    sim: bfin: fix sign extension with 16bit acc add insns
    
    The current implementation attempts to handle the 16bit sign extension
    itself.  Unfortunately, it gets it right in some cases.  So rather than
    fix that logic, just drop it in favor of using 16bit signed casts.  Now
    gcc will take care of getting the logic right.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit de78bbdb6c79cf25c0fbc9b756fd35ff5964c517
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Mar 29 00:00:03 2011 +0000

    *** empty log message ***

commit 7e744f02a86123c23e69e566616214b8c651bff1
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Mar 28 23:00:07 2011 +0000

    daily update

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                                |    7 +
 bfd/elf64-alpha.c                            |   93 +++-
 bfd/version.h                                |    2 +-
 gdb/.gitignore                               |   17 +
 gdb/ChangeLog                                |  168 ++++++
 gdb/Makefile.in                              |   27 +-
 gdb/NEWS                                     |    2 +
 gdb/blockframe.c                             |   35 +-
 gdb/breakpoint.c                             |  184 +++++--
 gdb/breakpoint.h                             |   16 +
 gdb/doc/ChangeLog                            |    4 +
 gdb/doc/gdb.texinfo                          |    2 +-
 gdb/dwarf2read.c                             |   61 ++-
 gdb/elfread.c                                |  496 ++++++++++++++++-
 gdb/eval.c                                   |    2 +
 gdb/gdbtypes.c                               |   16 +
 gdb/gdbtypes.h                               |   14 +
 gdb/infcall.c                                |   49 ++-
 gdb/minsyms.c                                |   72 +++-
 gdb/parse.c                                  |   24 +-
 gdb/remote-mips.c                            |    3 +-
 gdb/solib-svr4.c                             |    3 +-
 gdb/symmisc.c                                |    3 +
 gdb/symtab.c                                 |    2 +-
 gdb/symtab.h                                 |   37 ++
 gdb/testsuite/ChangeLog                      |   33 ++
 gdb/testsuite/gdb.ada/arrayparam.exp         |   11 +-
 gdb/testsuite/gdb.ada/str_ref_cmp.exp        |   13 +
 gdb/testsuite/gdb.ada/sym_print_name.exp     |   10 +-
 gdb/testsuite/gdb.ada/sym_print_name/foo.adb |    4 +-
 gdb/testsuite/gdb.ada/sym_print_name/pck.ads |    4 +-
 gdb/testsuite/gdb.base/gnu-ifunc-lib.c       |   33 ++
 gdb/testsuite/gdb.base/gnu-ifunc.c           |   61 ++
 gdb/testsuite/gdb.base/gnu-ifunc.exp         |  146 +++++
 gdb/testsuite/gdb.base/watchpoint-delete.c   |   33 ++
 gdb/testsuite/gdb.base/watchpoint-delete.exp |   38 ++
 gdb/testsuite/gdb.cp/anon-struct.cc          |   58 ++
 gdb/testsuite/gdb.cp/anon-struct.exp         |   31 +
 gdb/valops.c                                 |   19 +-
 gdb/version.in                               |    2 +-
 libdecnumber/.gitignore                      |    1 +
 libdecnumber/ChangeLog                       |    4 +
 sim/bfin/ChangeLog                           |   11 +
 sim/bfin/bfin-sim.c                          |   11 +-
 sim/bfin/configure                           |    2 +-
 sim/common/ChangeLog                         |    6 +
 sim/common/Make-common.in                    |    3 +
 sim/common/aclocal.m4                        |    2 +-
 sim/common/dv-cfi.c                          |  799 ++++++++++++++++++++++++++
 sim/common/dv-cfi.h                          |   60 ++
 50 files changed, 2622 insertions(+), 112 deletions(-)
 create mode 100644 gdb/.gitignore
 create mode 100644 gdb/testsuite/gdb.base/gnu-ifunc-lib.c
 create mode 100644 gdb/testsuite/gdb.base/gnu-ifunc.c
 create mode 100644 gdb/testsuite/gdb.base/gnu-ifunc.exp
 create mode 100644 gdb/testsuite/gdb.base/watchpoint-delete.c
 create mode 100644 gdb/testsuite/gdb.base/watchpoint-delete.exp
 create mode 100644 gdb/testsuite/gdb.cp/anon-struct.cc
 create mode 100644 gdb/testsuite/gdb.cp/anon-struct.exp
 create mode 100644 libdecnumber/.gitignore
 create mode 100644 sim/common/dv-cfi.c
 create mode 100644 sim/common/dv-cfi.h

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 80fa801..9f5d1b5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,10 @@
+2011-03-29  Richard Henderson  <rth@redhat.com>
+
+	* elf64-alpha.c (elf64_alpha_gc_mark_hook): New.
+	(elf64_alpha_gc_sweep_hook): New.
+	(elf_backend_gc_mark_hook, elf_backend_gc_sweep_hook): New.
+	(elf_backend_can_gc_sections): New.
+
 2011-03-26  John Marino  <binutils@marino.st>
 
 	* config.bfd: Add x86_64-*-dragonfly*, fix i386-*-dragonfly*.
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c
index aaa6e20..2b15a81 100644
--- a/bfd/elf64-alpha.c
+++ b/bfd/elf64-alpha.c
@@ -1,6 +1,6 @@
 /* Alpha specific support for 64-bit ELF
    Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-   2006, 2007, 2008, 2009, 2010  Free Software Foundation, Inc.
+   2006, 2007, 2008, 2009, 2010, 2011  Free Software Foundation, Inc.
    Contributed by Richard Henderson <rth@tamu.edu>.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -1988,6 +1988,93 @@ elf64_alpha_check_relocs (bfd *abfd, struct bfd_link_info *info,
   return TRUE;
 }
 
+/* Return the section that should be marked against GC for a given
+   relocation.  */
+
+static asection *
+elf64_alpha_gc_mark_hook (asection *sec, struct bfd_link_info *info,
+			  Elf_Internal_Rela *rel,
+			  struct elf_link_hash_entry *h, Elf_Internal_Sym *sym)
+{
+  /* These relocations don't really reference a symbol.  Instead we store
+     extra data in their addend slot.  Ignore the symbol.  */
+  switch (ELF64_R_TYPE (rel->r_info))
+    {
+    case R_ALPHA_LITUSE:
+    case R_ALPHA_GPDISP:
+    case R_ALPHA_HINT:
+      return NULL;
+    }
+
+  return _bfd_elf_gc_mark_hook (sec, info, rel, h, sym);
+}
+
+/* Update the got entry reference counts for the section being removed.  */
+
+static bfd_boolean
+elf64_alpha_gc_sweep_hook (bfd *abfd, struct bfd_link_info *info,
+			   asection *sec, const Elf_Internal_Rela *relocs)
+{
+  Elf_Internal_Shdr *symtab_hdr;
+  struct alpha_elf_link_hash_entry **sym_hashes;
+  const Elf_Internal_Rela *rel, *relend;
+
+  if (info->relocatable)
+    return TRUE;
+
+  symtab_hdr = &elf_symtab_hdr (abfd);
+  sym_hashes = alpha_elf_sym_hashes (abfd);
+
+  relend = relocs + sec->reloc_count;
+  for (rel = relocs; rel < relend; rel++)
+    {
+      unsigned long r_symndx, r_type;
+      struct alpha_elf_link_hash_entry *h = NULL;
+      struct alpha_elf_got_entry *gotent;
+
+      r_symndx = ELF64_R_SYM (rel->r_info);
+      if (r_symndx >= symtab_hdr->sh_info)
+	{
+	  h = sym_hashes[r_symndx - symtab_hdr->sh_info];
+	  while (h->root.root.type == bfd_link_hash_indirect
+		 || h->root.root.type == bfd_link_hash_warning)
+	    h = (struct alpha_elf_link_hash_entry *) h->root.root.u.i.link;
+	}
+
+      r_type = ELF64_R_TYPE (rel->r_info);
+      switch (r_type)
+	{
+	case R_ALPHA_LITERAL:
+	  /* ??? Ignore re-computation of gotent_flags.  We're not
+	     carrying a use-count for each bit in that mask.  */
+
+	case R_ALPHA_TLSGD:
+	case R_ALPHA_GOTDTPREL:
+	case R_ALPHA_GOTTPREL:
+	  /* Fetch the got entry from the tables.  */
+	  gotent = get_got_entry (abfd, h, r_type, r_symndx, rel->r_addend);
+
+	  /* The got entry *must* exist, since we should have created it
+	     before during check_relocs.  Also note that get_got_entry
+	     assumed this was going to be another use, and so incremented
+	     the use count again.  Thus the use count must be at least the
+	     one real use and the "use" we just added.  */
+	  if (gotent == NULL || gotent->use_count < 2)
+	    {
+	      abort ();
+	      return FALSE;
+	    }
+	  gotent->use_count -= 2;
+	  break;
+
+	default:
+	  break;
+	}
+    }
+
+  return TRUE;
+}
+
 /* Adjust a symbol defined by a dynamic object and referenced by a
    regular object.  The current definition is in some section of the
    dynamic object, but we're not including those sections.  We have to
@@ -5384,6 +5471,10 @@ static const struct elf_size_info alpha_elf_size_info =
 #define elf_backend_reloc_type_class \
   elf64_alpha_reloc_type_class
 
+#define elf_backend_can_gc_sections	1
+#define elf_backend_gc_mark_hook	elf64_alpha_gc_mark_hook
+#define elf_backend_gc_sweep_hook	elf64_alpha_gc_sweep_hook
+
 #define elf_backend_ecoff_debug_swap \
   &elf64_alpha_ecoff_debug_swap
 
diff --git a/bfd/version.h b/bfd/version.h
index db65447..2d7ba71 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110328
+#define BFD_VERSION_DATE 20110330
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/.gitignore b/gdb/.gitignore
new file mode 100644
index 0000000..ea3a4f9
--- /dev/null
+++ b/gdb/.gitignore
@@ -0,0 +1,17 @@
+/version.c
+/xml-builtin.c
+
+/ada-exp.c
+/ada-lex.c
+/c-exp.c
+/cp-name-parser.c
+/f-exp.c
+/gdb
+/gdbtui
+/init.c
+/jv-exp.c
+/m2-exp.c
+/objc-exp.c
+/observer.h
+/observer.inc
+/p-exp.c
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a21aa81..33435b8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,171 @@
+2011-03-29  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	* Makefile.in (SFILES): Add missing C sources.
+	(HFILES_NO_SRCDIR): Remove gdbserver subdirectory headers.
+	Add missing headers.
+
+2011-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+	* .gitignore: New file.
+
+2011-03-29  Mike Frysinger  <vapier@gentoo.org>
+
+	* NEWS: Mention new cfi device simulation.
+
+2011-03-29  Tom Tromey  <tromey@redhat.com>
+
+	* dwarf2read.c (fixup_partial_die): Handle linkage name on
+	otherwise anonymous types.
+	(dwarf2_name): Likewise.
+	* valops.c (value_struct_elt_for_reference): Refine artificial
+	type logic.  Call error if j==-1.
+
+2011-03-29  Andreas Tobler  <andreast-list@fgznet.ch>
+
+	Fix false GCC warning.
+	* infcall.c (find_function_addr): Initialize funaddr.
+
+2011-03-29  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	Fix mingw compilation with --enable-targets=all.
+	* remote-mips.c (gdb_usleep.h): Include header.
+	(mips_enter_debug): Use gdb_usleep instead of sleep.
+
+2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Support resolution of STT_GNU_IFUNC via breakpoints.
+	* breakpoint.c (print_it_typical): Support bp_gnu_ifunc_resolver and
+	bp_gnu_ifunc_resolver_return.
+	(bpstat_what): Rename parameter to bs_head, new variable bs, adjust
+	the loop.  Support bp_gnu_ifunc_resolver and
+	bp_gnu_ifunc_resolver_return.  New comment after the loop.  New loop
+	for bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return
+	breakpoints.
+	(bptype_string, print_one_breakpoint_location): Support
+	bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return.
+	(user_settable_breakpoint): Return true also for
+	bp_gnu_ifunc_resolver.
+	(allocate_bp_location): Support bp_gnu_ifunc_resolver and
+	bp_gnu_ifunc_resolver_return.
+	(set_breakpoint_location_function): New parameter explicit_loc,
+	describe it.  Call find_pc_partial_function_gnu_ifunc with new
+	variable IS_GNU_IFUNC and adjust the address for STT_GNU_IFUNC if
+	EXPLICIT_LOC is not set.
+	(set_raw_breakpoint): Set EXPLICIT_LOC for
+	set_breakpoint_location_function.
+	(clone_momentary_breakpoint): Use true for EXPLICIT_LOC of
+	set_breakpoint_location_function.
+	(mention): Support bp_gnu_ifunc_resolver and
+	bp_gnu_ifunc_resolver_return.
+	(add_location_to_breakpoint): Set EXPLICIT_LOC for
+	set_breakpoint_location_function.
+	(update_breakpoint_locations): Remove static.
+	(breakpoint_re_set_one): Support bp_gnu_ifunc_resolver and
+	bp_gnu_ifunc_resolver_return.
+	* breakpoint.h (enum bptype): New fields bp_gnu_ifunc_resolver and
+	bp_gnu_ifunc_resolver_return.
+	(update_breakpoint_locations): New declaration.
+	* elfread.c: Include gdbthread.h and regcache.h.
+	(elf_gnu_ifunc_resolver_stop, elf_gnu_ifunc_resolver_return_stop): New
+	functions.
+	(elf_gnu_ifunc_fns): Install them.
+	* minsyms.c (stub_gnu_ifunc_resolver_stop)
+	(stub_gnu_ifunc_resolver_return_stop): New functions.
+	(stub_gnu_ifunc_fns): Install them.
+	* symtab.h (struct gnu_ifunc_fns): New fields gnu_ifunc_resolver_stop
+	and gnu_ifunc_resolver_return_stop.
+	(gnu_ifunc_resolver_stop, gnu_ifunc_resolver_return_stop): New.
+
+2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	STT_GNU_IFUNC reader implementation.
+	* elfread.c: Include gdbtypes.h, value.h and infcall.h.
+	(SYMBOL_GOT_PLT_SUFFIX, elf_rel_plt_read)
+	(elf_objfile_gnu_ifunc_cache_data, struct elf_gnu_ifunc_cache)
+	(elf_gnu_ifunc_cache_hash, elf_gnu_ifunc_cache_eq)
+	(elf_gnu_ifunc_record_cache, elf_gnu_ifunc_resolve_by_cache)
+	(elf_gnu_ifunc_resolve_by_got, elf_gnu_ifunc_resolve_name)
+	(elf_gnu_ifunc_resolve_addr): New.
+	(elf_symfile_read): Call elf_rel_plt_read.
+	(elf_gnu_ifunc_fns): New.
+	(_initialize_elfread): Initialize elf_objfile_gnu_ifunc_cache_data.
+	Install elf_gnu_ifunc_fns.
+	* infcall.c (find_function_return_type): New function.
+	(find_function_addr): Resolve TYPE_GNU_IFUNC functions, if possible.
+	* minsyms.c (stub_gnu_ifunc_resolve_addr)
+	(stub_gnu_ifunc_resolve_name): New functions.
+	(stub_gnu_ifunc_fns, gnu_ifunc_fns_p): New variables.
+	* symtab.h (struct gnu_ifunc_fns, gnu_ifunc_resolve_addr)
+	(gnu_ifunc_resolve_name, gnu_ifunc_fns_p): New.
+
+2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Code cleanup for later STT_GNU_IFUNC support.
+	* infcall.c (find_function_addr): Remove variable code, use explicit
+	dereferences for it.  Move VALUE_TYPE initialization later.
+
+2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	GDB find_pc_partial_function support for STT_GNU_IFUNC.
+	* blockframe.c (cache_pc_function_is_gnu_ifunc): New variable.
+	(clear_pc_function_cache): Clear it.
+	(find_pc_partial_function): Rename to ...
+	(find_pc_partial_function_gnu_ifunc): ... this function.  New
+	parameter is_gnu_ifunc_p, describe it.  Set *IS_GNU_IFUNC_P.
+	(find_pc_partial_function): New wrapper for this function.
+	* symtab.h (find_pc_partial_function_gnu_ifunc): New declaration.
+
+2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	GDB internal type support for STT_GNU_IFUNC.
+	* elfread.c (record_minimal_symbol): Support mst_text_gnu_ifunc.
+	(elf_symtab_read): Set mst_text_gnu_ifunc for
+	BSF_GNU_INDIRECT_FUNCTION.
+	* eval.c (evaluate_subexp_standard): Support TYPE_GNU_IFUNC.
+	* gdbtypes.c (init_type): Support TYPE_FLAG_GNU_IFUNC,
+	builtin_func_func, nodebug_text_gnu_ifunc_symbol and
+	nodebug_got_plt_symbol.
+	* gdbtypes.h (enum type_flag_value): New entry TYPE_FLAG_GNU_IFUNC.
+	(TYPE_GNU_IFUNC): New.
+	(struct main_type): New field flag_gnu_ifunc.
+	(struct builtin_type): New field builtin_func_func.
+	(struct objfile_type): New fields nodebug_text_gnu_ifunc_symbol and
+	nodebug_got_plt_symbol.
+	* minsyms.c (lookup_minimal_symbol_text): Support mst_text_gnu_ifunc.
+	(in_gnu_ifunc_stub): New.
+	(prim_record_minimal_symbol, find_solib_trampoline_target): Support
+	mst_text_gnu_ifunc.
+	* parse.c (write_exp_msymbol): New variable ifunc_msym.  Detect and
+	support mst_text_gnu_ifunc.  Support mst_slot_got_plt.
+	* solib-svr4.c (svr4_in_dynsym_resolve_code): Return true also for
+	in_gnu_ifunc_stub.
+	* symmisc.c (dump_msymbols): Support mst_text_gnu_ifunc.
+	* symtab.c (search_symbols): Likewise.
+	* symtab.h (enum minimal_symbol_type): New fields mst_text_gnu_ifunc
+	and mst_slot_got_plt.
+	(in_gnu_ifunc_stub): New declaration.
+
+2011-03-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Support a ring of related breakpoints.
+	* breakpoint.c (watchpoint_del_at_next_stop): New, move here code from
+	other functions, add gdb_assert.
+	(update_watchpoint, watchpoint_check): Add gdb_assert.  Use
+	watchpoint_del_at_next_stop.
+	(bpstat_check_watchpoint): Use watchpoint_del_at_next_stop.
+	(bpstat_stop_status): Handle ring in related_breakpoint.
+	(set_raw_breakpoint_without_location): Initialize ring in
+	related_breakpoint.
+	(delete_breakpoint): Handle ring in related_breakpoint, use
+	watchpoint_del_at_next_stop.
+	(map_breakpoint_numbers): Handle ring in related_breakpoint.
+
+2011-03-28  Tom Tromey  <tromey@redhat.com>
+
+	PR symtab/12441:
+	* dwarf2read.c (prepare_one_comp_unit): Don't call set_cu_language
+	with `language_minimal'.
+
 2011-03-25  Ulrich Weigand  <ulrich.weigand@linaro.org>
 
 	* arm-tdep.c (arm_elf_make_msymbol_special): Use ARM_SYM_BRANCH_TYPE
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 489b1e9..6abd87a 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -235,13 +235,16 @@ SUBDIR_TUI_OBS = \
 	tui-io.o \
 	tui-layout.o \
 	tui-out.o \
+	tui-main.o \
 	tui-regs.o \
 	tui-source.o \
 	tui-stack.o \
 	tui-win.o \
 	tui-windata.o \
 	tui-wingeneral.o \
-	tui-winsource.o
+	tui-winsource.o \
+	tui.o
+
 SUBDIR_TUI_SRCS = \
 	tui/tui-command.c \
 	tui/tui-data.c \
@@ -251,6 +254,7 @@ SUBDIR_TUI_SRCS = \
 	tui/tui-interp.c \
 	tui/tui-io.c \
 	tui/tui-layout.c \
+	tui/tui-main.c \
 	tui/tui-out.c \
 	tui/tui-regs.c \
 	tui/tui-source.c \
@@ -260,6 +264,7 @@ SUBDIR_TUI_SRCS = \
 	tui/tui-wingeneral.c \
 	tui/tui-winsource.c \
 	tui/tui.c
+
 SUBDIR_TUI_DEPS =
 SUBDIR_TUI_LDFLAGS=
 SUBDIR_TUI_CFLAGS= \
@@ -732,6 +737,8 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \
 	record.c gcore.c \
 	jit.c \
 	xml-syscall.c \
+	annotate.c common/signals.c copying.c dfp.c gdb.c inf-child.c \
+	regset.c sol-thread.c windows-termcap.c
 
 LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c
 
@@ -758,11 +765,8 @@ c-lang.h d-lang.h frame.h event-loop.h block.h cli/cli-setshow.h	\
 cli/cli-decode.h cli/cli-cmds.h cli/cli-dump.h cli/cli-utils.h \
 cli/cli-script.h macrotab.h symtab.h version.h gnulib/wchar.in.h \
 gnulib/string.in.h gnulib/str-two-way.h \
-gnulib/stdint.in.h remote.h gdb.h sparc-nat.h gdbserver/win32-low.h \
-gdbserver/i387-fp.h gdbserver/server.h gdbserver/terminal.h \
-gdbserver/mem-break.h gdbserver/wincecompat.h gdbserver/target.h \
-gdbserver/linux-low.h gdbserver/gdb_proc_service.h \
-gdbserver/regcache.h gdbthread.h dwarf2-frame.h nbsd-nat.h dcache.h \
+gnulib/stdint.in.h remote.h gdb.h sparc-nat.h \
+gdbthread.h dwarf2-frame.h nbsd-nat.h dcache.h \
 amd64-nat.h s390-tdep.h arm-linux-tdep.h exceptions.h macroscope.h \
 gdbarch.h bsd-uthread.h gdb_thread_db.h gdb_stat.h memory-map.h	memrange.h \
 mdebugread.h m88k-tdep.h stabsread.h hppa-linux-offsets.h linux-fork.h \
@@ -801,7 +805,16 @@ annotate.h sim-regno.h dictionary.h dfp.h main.h frame-unwind.h	\
 remote-fileio.h i386-linux-tdep.h vax-tdep.h objc-lang.h \
 sentinel-frame.h bcache.h symfile.h windows-tdep.h linux-tdep.h \
 gdb_usleep.h jit.h xml-syscall.h microblaze-tdep.h \
-psymtab.h psympriv.h progspace.h bfin-tdep.h ia64-hpux-tdep.h
+psymtab.h psympriv.h progspace.h bfin-tdep.h ia64-hpux-tdep.h \
+amd64-darwin-tdep.h charset-list.h common/gdb_signals.h common/i386-xstate.h \
+config/djgpp/langinfo.h config/djgpp/nl_types.h darwin-nat.h \
+dicos-tdep.h filesystem.h gcore.h gdb_wchar.h hppabsd-tdep.h \
+i386-darwin-tdep.h i386-nat.h linux-record.h moxie-tdep.h \
+osdata.h procfs.h python/py-event.h python/py-events.h python/py-stopevent.h \
+python/python-internal.h python/python.h ravenscar-thread.h record.h \
+solib-darwin.h solib-ia64-hpux.h solib-spu.h windows-nat.h xcoffread.h \
+gnulib/extra/arg-nonnull.h gnulib/extra/c++defs.h gnulib/extra/warn-on-use.h \
+gnulib/stddef.in.h inline-frame.h
 
 # Header files that already have srcdir in them, or which are in objdir.
 
diff --git a/gdb/NEWS b/gdb/NEWS
index 2288497..a09395c 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -182,6 +182,8 @@ Analog Devices, Inc. Blackfin Processor	bfin-*
 
   ** The --map-info flag lists all known core mappings.
 
+  ** CFI flashes may be simulated via the "cfi" device.
+
 *** Changes in GDB 7.2
 
 * Shared library support for remote targets by default
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index 5bc5930..3b546a7 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -163,6 +163,7 @@ static CORE_ADDR cache_pc_function_low = 0;
 static CORE_ADDR cache_pc_function_high = 0;
 static char *cache_pc_function_name = 0;
 static struct obj_section *cache_pc_function_section = NULL;
+static int cache_pc_function_is_gnu_ifunc = 0;
 
 /* Clear cache, e.g. when symbol table is discarded.  */
 
@@ -173,6 +174,7 @@ clear_pc_function_cache (void)
   cache_pc_function_high = 0;
   cache_pc_function_name = (char *) 0;
   cache_pc_function_section = NULL;
+  cache_pc_function_is_gnu_ifunc = 0;
 }
 
 /* Finds the "function" (text symbol) that is smaller than PC but
@@ -180,17 +182,19 @@ clear_pc_function_cache (void)
    *NAME and/or *ADDRESS conditionally if that pointer is non-null.
    If ENDADDR is non-null, then set *ENDADDR to be the end of the
    function (exclusive), but passing ENDADDR as non-null means that
-   the function might cause symbols to be read.  This function either
-   succeeds or fails (not halfway succeeds).  If it succeeds, it sets
-   *NAME, *ADDRESS, and *ENDADDR to real information and returns 1.
-   If it fails, it sets *NAME, *ADDRESS, and *ENDADDR to zero and
-   returns 0.  */
+   the function might cause symbols to be read.  If IS_GNU_IFUNC_P is provided
+   *IS_GNU_IFUNC_P is set to 1 on return if the function is STT_GNU_IFUNC.
+   This function either succeeds or fails (not halfway succeeds).  If it
+   succeeds, it sets *NAME, *ADDRESS, and *ENDADDR to real information and
+   returns 1.  If it fails, it sets *NAME, *ADDRESS, *ENDADDR and
+   *IS_GNU_IFUNC_P to zero and returns 0.  */
 
 /* Backward compatibility, no section argument.  */
 
 int
-find_pc_partial_function (CORE_ADDR pc, char **name, CORE_ADDR *address,
-			  CORE_ADDR *endaddr)
+find_pc_partial_function_gnu_ifunc (CORE_ADDR pc, char **name,
+				    CORE_ADDR *address, CORE_ADDR *endaddr,
+				    int *is_gnu_ifunc_p)
 {
   struct obj_section *section;
   struct symbol *f;
@@ -240,6 +244,7 @@ find_pc_partial_function (CORE_ADDR pc, char **name, CORE_ADDR *address,
 	  cache_pc_function_high = BLOCK_END (SYMBOL_BLOCK_VALUE (f));
 	  cache_pc_function_name = SYMBOL_LINKAGE_NAME (f);
 	  cache_pc_function_section = section;
+	  cache_pc_function_is_gnu_ifunc = TYPE_GNU_IFUNC (SYMBOL_TYPE (f));
 	  goto return_cached_value;
 	}
     }
@@ -262,12 +267,15 @@ find_pc_partial_function (CORE_ADDR pc, char **name, CORE_ADDR *address,
 	*address = 0;
       if (endaddr != NULL)
 	*endaddr = 0;
+      if (is_gnu_ifunc_p != NULL)
+	*is_gnu_ifunc_p = 0;
       return 0;
     }
 
   cache_pc_function_low = SYMBOL_VALUE_ADDRESS (msymbol);
   cache_pc_function_name = SYMBOL_LINKAGE_NAME (msymbol);
   cache_pc_function_section = section;


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-03-28 16:11 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-03-28 16:11 UTC (permalink / raw)
  To: archer-commits

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

The branch, master has been updated
       via  df0418c47f091ba31a21bf52cba9871663b696c8 (commit)
       via  26ee6e1805891442324b2a5f2ce481afb40d4e5a (commit)
       via  e4afdf87ee33dae080fd4344d951a4ff7b188357 (commit)
       via  47a0d7768d7d483bde6e6cf57d5f9ba127e62886 (commit)
       via  542b1b5d9dd08643e932743b6488d92631b75b22 (commit)
       via  ef7343656127a01cccac15ed6a17ea0bc3764930 (commit)
       via  7736401bd3a5a48566a759af3f13d0e61af3e2d9 (commit)
       via  a8abdd3913777b64eeed6a19c444efaf96215fe0 (commit)
       via  b0bb2245951aea7ca9e804b8fc2b092181f03337 (commit)
       via  a7dc4517c3c9d4d3085f4f1faf36833172b151f7 (commit)
       via  b70ebbba8489551c283b80cabf6681a68e12e9aa (commit)
       via  3abf4434f5d89a89d73335c9e1a5b5898c29eaac (commit)
       via  aed8e7b39b71061ed39f4b50a2c342c566f43308 (commit)
       via  85cd304af826995b1b7889ee8f845975284f8f7e (commit)
       via  cf61c8e10a64157b27b9970f5c9759398032e3e7 (commit)
       via  f8947be5a674ce360bba7f212562645fc6f029aa (commit)
       via  af3b25625869d69c429eec6e9a009dee93d9a031 (commit)
       via  0d08d53105dc53fecc592d266ba3ed489890be81 (commit)
       via  f2e5f2bb2a3a8a5cc248abc5dfd1ec16f0c0fb7d (commit)
       via  de8d9735a34acf590603ab67b1aee71c979f80d4 (commit)
       via  f242623a6535f2f4af78835a43abafca07dc30b1 (commit)
       via  d212a57bf2d7dee1b5d1acaddb3724ebbfc5ce84 (commit)
       via  8683a8ddd22f3a8a1639b70bac391a9019dadd03 (commit)
       via  e05eb68e659694f3cf2a73a9a892c10942017977 (commit)
       via  e4f5ddc82370700a21be987179190953553ecbb2 (commit)
       via  cb9913332befd0d66560525c93e28c2d1e6b0ec1 (commit)
       via  2ceb3cd093bea0421a97c1c5a9910059d3c5bd6f (commit)
       via  3040293740fc9904ac37f1b55d8ac813e37d221f (commit)
       via  f13f2a04d162352bd77ddc379d03a9520f0f01f2 (commit)
       via  8c3696ab0fc0c65de192b04bab050d187f217df5 (commit)
       via  b02ebb9921532d41b00cc1341c46be6ab974086a (commit)
       via  83751839f11bd491cc8ba9e1037637e435750a62 (commit)
       via  b9aab2c77cfafa68ba46956685f74b5481ca95fd (commit)
       via  6fd457c9285c5fd2c5a08644161c1eb7a053a30f (commit)
       via  3cabe54fac4c6fdb8c37a65a012acb1e1b9f8015 (commit)
       via  dd7dd055702a0da4e17901b4485eb8f4682c3b7f (commit)
       via  f1910b21c58e408868fd65edebf0cd23208cc2fb (commit)
       via  0480bff9b25e2ac2ea6cf45cf0e902c536b90deb (commit)
       via  7c5461194396e7f34e6b512ccc38393fc46f8bff (commit)
       via  9c4bf6f3ddcba39cbc39ac9fb9373c5b1ba7987a (commit)
       via  54ad4062b17b7ca4a0f6d0039cb7da16ede1a60a (commit)
       via  df07a1aa5943d2aa4542ee08e0e3da6394fe2c5c (commit)
       via  47908a4e9f754df78e62179ea9ac7c327d23135e (commit)
       via  edcf0c425c5ee7ca005e59e5f94e882cb8694596 (commit)
       via  a92035e6bbd0465ad1bc6244f5bfaa1024257328 (commit)
       via  4694ed1f484865f5a57c6205b1b9f7077a10746e (commit)
       via  04d4f5e5f3897d88ee0477c4fb95716d6b4a8e53 (commit)
       via  1811a0e928f878a4df13ccf43f6cad097200e08f (commit)
       via  ca74d8fe462e33110a4691b5edfe7386b003d048 (commit)
       via  7cd4c27272654401e299ba273a316e5170e0216b (commit)
       via  fb9c8db76499efbda21282e3b69f886ef1a4ba09 (commit)
       via  87cc45a70641d7594706fdcf72aa4a60eb87fa5e (commit)
       via  b38a7e453019084f3088b188296eb7142914cc77 (commit)
       via  92ce4323b7e7572f87b27112987d2081f6107386 (commit)
       via  5ba787dbb0b27be2d6f09777af27519389276609 (commit)
       via  731828830b3c669af370cde62c158c7aeaa9f212 (commit)
       via  7b66dcedab3b3b792b4c463bf88c091948c46c4a (commit)
       via  44f884985bfd82218fd7c5d832e56d403d5d7751 (commit)
       via  e9f112fb54c101623e6541effac5b3eca98c2bcf (commit)
       via  6223dd85e3a1faa1be503f0b02c0e790b0353809 (commit)
       via  a82b3420df4772579b60a5a36a6d423fd3901ee7 (commit)
       via  0c3d6d4f860720b051962943e4f50af3f930648f (commit)
       via  dabcf5d609c7b6339dd375b2e245c3c4514b37ec (commit)
       via  211dfcf786b96c88a6ccbebc970029c27a79f73f (commit)
       via  404d635015936f1e54a6f12f59d1ef3d3df1b7ca (commit)
       via  feaf957b2f39e3fcada5695cd5e262c673875c0d (commit)
       via  f707bfed8dde39ec47365f4ec17c1ebdbee5e97c (commit)
       via  9d148461c2d61fd08f33ea850890f9315dad2ddf (commit)
       via  63dea4cbe57a3db38005526d797119f08d9fdb9a (commit)
       via  e1892ce44fe7de6ad0340b928d9bc06ff93b8c14 (commit)
       via  705097b05415f942aac987773691884cb445e496 (commit)
       via  b63278a6e679a5189ce2f3efd756412942a135f7 (commit)
       via  d08f3e4b6723ec861f1e086c576dde85f4f1814b (commit)
       via  81abf922426b1da3b57b5272a35c1dd4d3953b78 (commit)
       via  490bb6af4bb4aa30d050dd5209c259bc7a9b2af1 (commit)
       via  cf4d1d0ee238d4d851707edd0164e58b635dc59f (commit)
       via  6bdf5522e13b1338dd484126b8a7f054e9f89d1d (commit)
       via  937a1fe3814f540e3f203354fc2319798ada3b82 (commit)
       via  f2401554c94219582f3ec56ad15017fdf8dcaeb6 (commit)
       via  c0a66ca59735fa09eedf21a7a777272dfcda5883 (commit)
       via  011ec629157acbf6ca7613ad4eea583234e7786d (commit)
       via  baade176aaa38f938ac77f8a5605ccaa0409d324 (commit)
      from  5800a6edc38506522f26e9f497be27f03c6f2e2d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit df0418c47f091ba31a21bf52cba9871663b696c8
Merge: 5800a6e 26ee6e1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 28 18:11:19 2011 +0200

    Merge remote-tracking branch 'gdb/master'

commit 26ee6e1805891442324b2a5f2ce481afb40d4e5a
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Mon Mar 28 13:14:26 2011 +0000

    	* configure.ac (i[[3456789]]86-*-msdosdjgpp*): Don't disable
    	libffi on host.
    	(x86_64-*-mingw*, i[[3456789]]86-*-mingw32*): Don't disable newlib
    	on host.
    	(c54x*-*-* | tic54x-*-*): Don't disable newlib on host.
    	* configure: Regenerate.

commit e4afdf87ee33dae080fd4344d951a4ff7b188357
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Mar 28 11:18:20 2011 +0000

    Add support for DragonFlyBSD target.

commit 47a0d7768d7d483bde6e6cf57d5f9ba127e62886
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Mar 28 00:00:02 2011 +0000

    *** empty log message ***

commit 542b1b5d9dd08643e932743b6488d92631b75b22
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Mar 27 23:00:06 2011 +0000

    daily update

commit ef7343656127a01cccac15ed6a17ea0bc3764930
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sun Mar 27 04:03:05 2011 +0000

    sim: bfin: handle saturation with RND12 sub insns
    
    The current handling of the subtraction insn with the RND12 modifier
    works when saturation isn't involved.  So add handling for this edge
    case to match the hardware.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 7736401bd3a5a48566a759af3f13d0e61af3e2d9
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Mar 27 00:00:03 2011 +0000

    *** empty log message ***

commit a8abdd3913777b64eeed6a19c444efaf96215fe0
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Mar 26 23:00:05 2011 +0000

    daily update

commit b0bb2245951aea7ca9e804b8fc2b092181f03337
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sat Mar 26 06:02:41 2011 +0000

    sim: bfin: add missing VS set with add/sub insns
    
    The 16bit add/sub insns missed setting the VS bit in ASTAT whenever the
    V bit was also set.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit a7dc4517c3c9d4d3085f4f1faf36833172b151f7
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Mar 26 00:00:32 2011 +0000

    *** empty log message ***

commit b70ebbba8489551c283b80cabf6681a68e12e9aa
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Mar 25 23:00:05 2011 +0000

    daily update

commit 3abf4434f5d89a89d73335c9e1a5b5898c29eaac
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Fri Mar 25 21:05:22 2011 +0000

    	* arm-tdep.c (arm_elf_make_msymbol_special): Use ARM_SYM_BRANCH_TYPE
    	instead of checking for STT_ARM_TFUNC symbol type.

commit aed8e7b39b71061ed39f4b50a2c342c566f43308
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Mar 25 18:02:25 2011 +0000

    oops - fix typo

commit 85cd304af826995b1b7889ee8f845975284f8f7e
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Mar 25 17:13:10 2011 +0000

    	* linespec.c (symbol_found): Restore line-based result for
    	non-LOC_LABEL symbols.

commit cf61c8e10a64157b27b9970f5c9759398032e3e7
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Mar 25 17:06:52 2011 +0000

    	* coffcode.h (coff_set_alignment_hook): Check return of bfd_seek.

commit f8947be5a674ce360bba7f212562645fc6f029aa
Author: DJ Delorie <dj@delorie.com>
Date:   Fri Mar 25 16:38:27 2011 +0000

    merge from gcc

commit af3b25625869d69c429eec6e9a009dee93d9a031
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Mar 25 15:45:38 2011 +0000

    2011-03-24  Mark Wielaard  <mjw@redhat.com>
    
    	* dwarf2.h (dwarf_form): Remove deprecated DW_FORM_sig8 define.

commit 0d08d53105dc53fecc592d266ba3ed489890be81
Author: Tristan Gingold <gingold@adacore.com>
Date:   Fri Mar 25 15:39:03 2011 +0000

    2011-03-25  Tristan Gingold  <gingold@adacore.com>
    
    	* vms-alpha.c (_bfd_vms_find_nearest_dst_line): Allow the use
    	of find_nearest_line on object files.

commit f2e5f2bb2a3a8a5cc248abc5dfd1ec16f0c0fb7d
Author: Tristan Gingold <gingold@adacore.com>
Date:   Fri Mar 25 15:31:25 2011 +0000

    2011-03-25  Tristan Gingold  <gingold@adacore.com>
    
    	* vms-alpha.c (evax_section_flags): Make $CODE$ section read-only.
    	Minor reordering.
    	(alpha_vms_create_eisd_for_section): Make code sections read-only.

commit de8d9735a34acf590603ab67b1aee71c979f80d4
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Fri Mar 25 13:08:19 2011 +0000

    	* configure.ac (native_only): Remove.
    	(i[[3456789]]86-*-msdosdjgpp*): Don't disable expect dejagnu
    	send-pr uudecode guile gnuserv on host.
    	(x86_64-*-mingw*): Don't disable expect dejagnu autoconf automake
    	send-pr rcs guile perl texinfo libtool on host.
    	(i[[3456789]]86-*-mingw32*): Don't disable expect dejagnu autoconf
    	automake send-pr rcs guile perl texinfo libtool on host.
    	(*-*-cygwin*, *-*-netbsd*): Remove host cases.
    	(*-*-kaos*): Don't disable target-examples target-gperf on target.
    	(alpha*-dec-osf*): Don't disable fileutils on target.
    	(sh*-*-pe|mips*-*-pe|*arm-wince-pe): Don't disable target-examples
    	texinfo send-pr expect dejagnu on target.
    	(arm-*-elf* | arm*-*-eabi*, arm*-*-linux-gnueabi): Don't disable
    	target-qthreads on target.
    	(hppa*-hp-hpux11*, hppa*-*-*): Don't disable shellutils on target.
    	(ia64*-*-elf*, ia64*-*-*vms*): Don't disable mmalloc on target.
    	(i[[3456789]]86-w64-mingw*, i[[3456789]]86-*-mingw*,
    	x86_64-*-mingw*): Don't disable expect on target.
    	(*-*-cygwin*): Don't disable target-gperf on target.
    	(powerpc*-*-winnt* | powerpc*-*-pe*): Don't disable make expect
    	gnuserv on target.
    	(powerpcle-*-solaris*): Don't disable make expect gnuserv on
    	target.
    	* configure: Regenerate.

commit f242623a6535f2f4af78835a43abafca07dc30b1
Author: aburgess <aburgess>
Date:   Fri Mar 25 13:08:10 2011 +0000

    Move environment modifications into gdb_init so it's done just once per
    test, and clear the GREP_OPTIONS environment variable. See,
      http://sourceware.org/ml/gdb-patches/2011-03/msg00886.html

commit d212a57bf2d7dee1b5d1acaddb3724ebbfc5ce84
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Fri Mar 25 11:36:41 2011 +0000

    	* configure.ac (target_tools): Remove target-groff.
    	(native_only): Remove target-groff.
    	(hppa*64*-*-*): Don't disable byacc.
    	(i[[3456789]]86-*-mingw32*): Remove commented-out noconfigdirs
    	setting.
    	(*-*-kaos*): Don't skip target-librx and target-groff.
    	(*-*-netware*): Don't skip target-libmudflap.
    	(*-*-tpf*): Don't skip target-libmudflap.
    	(sh*-*-pe|mips*-*-pe|*arm-wince-pe): Don't condition configured
    	directories on the host.
    	(ia64*-*-*vms*): Don't skip tix.
    	(sh-*-* | sh64-*-*): Don't condition skipped directories on the
    	host.
    	* configure: Regenerate.

commit 8683a8ddd22f3a8a1639b70bac391a9019dadd03
Author: Kai Tietz <kai.tietz@onevision.com>
Date:   Fri Mar 25 09:57:35 2011 +0000

    2011-03-25  Kai Tietz  <ktietz@redhat.com>
    
            * tui/tui-source.c (tui_set_source_content): Use filename_cmp
            instead of strcmp for comparison.
            (tui_source_is_displayed): Likewise.
            * tui/tui-winsource.c (tui_update_breakpoint_info): Likewise.

commit e05eb68e659694f3cf2a73a9a892c10942017977
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Mar 25 00:13:57 2011 +0000

    sim: bfin: add hw tracing to gpio/sic port events
    
    Makes it a lot easier to find out what's going on with interrupt lines
    if the ports have tracing output.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit e4f5ddc82370700a21be987179190953553ecbb2
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Mar 25 00:13:23 2011 +0000

    sim: bfin: fix GPIO logic bugs when processing events
    
    We need the DIR bit cleared, not set, in order for the pin to be treated
    as an input.
    
    When looking up the data value, we need to shift the "level" value over by
    "my_port" rather than "bit" as the latter has already been shifted over.
    We also should normalize the "level" coming in from the outside worlds to
    the set of {0,1} since those are the only values that matter to GPIOs.
    
    We need the BOTH bit set, not cleared, in order for the pin to trigger
    on both edges.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit cb9913332befd0d66560525c93e28c2d1e6b0ec1
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Mar 25 00:12:47 2011 +0000

    sim: bfin: fix clear/set/toggle GPIO handling
    
    The clear/set/toggle MMRs aren't backed by "real" data; they implicitly
    perform bit operations on the associated data register.  So when we go
    to process writes to them, we need to adjust the pointer accordingly so
    that the actual backing data is modified.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 2ceb3cd093bea0421a97c1c5a9910059d3c5bd6f
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Mar 25 00:00:03 2011 +0000

    *** empty log message ***

commit 3040293740fc9904ac37f1b55d8ac813e37d221f
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Mar 24 23:00:06 2011 +0000

    daily update

commit f13f2a04d162352bd77ddc379d03a9520f0f01f2
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 24 20:35:08 2011 +0000

    2011-03-24  Mark Wielaard  <mjw@redhat.com>
    
            * dwarf2read.c (lookup_signatured_type): Use DW_FORM_ref_sig8 in
            complaint.
            (skip_one_die): Use DW_FORM_ref_sig8, not DW_FORM_sig8.
            (find_partial_die_in_comp_unit): Likewise in comment.
            (read_attribute_value): Likewise.
            (lookup_die_type): Likewise.
            (dwarf_form_name): Likewise.
            (dump_die_shallow): Likewise.
            (follow_die_ref_or_sig): Likewise.

commit 8c3696ab0fc0c65de192b04bab050d187f217df5
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 24 20:25:12 2011 +0000

    gdb
    	PR breakpoints/11816:
    	* linespec.c (decode_line_1): Parse `function:label' linespecs.
    	(decode_compound): Update.
    	(find_function_symbol): New function.
    	(decode_dollar): Update.
    	(decode_label): Add 'function_symbol' parameter.  Handle
    	function-relative labels.
    	(decode_variable): Update.
    	(symbol_found): Add 'function_symbol' parameter.  Use label's PC,
    	not its line.  Set `special_display' and canonical name for
    	labels.
    gdb/doc
    	* gdb.texinfo (Specify Location): Document `function:label'
    	linespec.
    gdb/testsuite
    	* gdb.base/label.exp: Use `main:there' linespec.  Add re-running
    	test.

commit b02ebb9921532d41b00cc1341c46be6ab974086a
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 24 19:47:16 2011 +0000

    	* linespec.h (struct linespec_result) <special_display>: New
    	field.
    	* breakpoint.h (struct breakpoint) <display_canonical>: New
    	field.
    	* breakpoint.c (print_breakpoint_location): Respect
    	display_canonical.
    	(create_breakpoint_sal): Add 'display_canonical' parameter.
    	(create_breakpoints_sal): Update.
    	(create_breakpoint): Update.

commit 83751839f11bd491cc8ba9e1037637e435750a62
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 24 19:39:46 2011 +0000

    	* symtab.c (decode_line_spec): Update.
    	* linespec.c (build_canonical_line_spec): Change type of
    	'canonical'.
    	(decode_line_2, decode_line_1, decode_objc, decode_compound)
    	(find_method, decode_all_digits, decode_dollar, decode_label)
    	(symbol_found): Likewise.
    	(init_linespec_result): New function.
    	* breakpoint.c (struct captured_parse_breakpoint_args)
    	<canonical_p>: New field, replaces addr_string_p.
    	(create_breakpoints_sal): Add 'canonical' parameter, replacing
    	'addr_string'.
    	(parse_breakpoint_sals): Likewise.
    	(do_captured_parse_breakpoint): Update.
    	(create_breakpoint): Use struct linespec_result.
    	(until_break_command): Update.
    	(breakpoint_re_set_one): Update.
    	(decode_line_spec_1): Update.
    	* linespec.h (struct linespec_result): New.
    	(init_linespec_result): Declare.

commit b9aab2c77cfafa68ba46956685f74b5481ca95fd
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Thu Mar 24 17:50:31 2011 +0000

    2011-03-24  Paolo Bonzini  <pbonzini@redhat.com>
    
            * configure.ac: Remove references to mt-mep, mt-netware,
            mt-wince.
            * Makefile.def: Add all-utils soft dependencies.
            * Makefile.tpl: Remove GDB_NLM_DEPS.
            * configure: Regenerate.
            * Makefile.in: Regenerate.
    
    config:
    2011-03-24  Paolo Bonzini  <pbonzini@redhat.com>
    
            * mt-mep: Remove, obsolete.
            * mt-netware: Remove, obsolete.
            * mt-wince: Remove, obsolete.
            * mt-v810: Remove, unused.

commit 6fd457c9285c5fd2c5a08644161c1eb7a053a30f
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Thu Mar 24 17:31:09 2011 +0000

    2011-03-24  Paolo Bonzini  <bonzini@gnu.org>
    
    	Sync from GCC:
    
    	2011-03-24  Paolo Bonzini  <bonzini@gnu.org>
    
    	* configure.ac: Remove empty cases.
    	* configure: Regenerate.
    
    	2011-03-24  Paolo Bonzini  <bonzini@gnu.org>
    
    	* Makefile.def: Add dependency from termcap to gdb.
    	* Makefile.in: Regenerate.
    
    	2011-03-24  Paolo Bonzini  <bonzini@gnu.org>
    
    	* configure.ac: Remove all mentions of mh-sysv4 and mh-solaris.
    	* configure: Regenerate.
    	* Makefile.def: Remove all mentions of X11_FLAGS_TO_PASS.
    	* Makefile.tpl: Likewise.
    	* Makefile.in: Regenerate.
    
    	2011-03-24  Paolo Bonzini  <bonzini@gnu.org>
    
    	* configure.ac: Remove all mentions of tentative_cc.
    	* configure: Regenerate.
    
    	2011-03-16  Jack Howarth  <howarth@bromo.med.uc.edu>
    
    	PR lto/48086
    	* configure.ac: Re-enable LTO on *-apple-darwin9.
    	* configure: Regenerate.
    
    config:
    2011-03-24  Paolo Bonzini  <bonzini@gnu.org>
    
    	Sync from GCC:
    
    	2011-03-24  Paolo Bonzini  <bonzini@gnu.org>
    
    	* mh-cygwin: Remove obsolete variables and dependencies.
    
    	2011-03-24  Paolo Bonzini  <bonzini@gnu.org>
    
    	* mh-sysv4: Remove.
    	* mh-solaris: Remove.
    
    	2011-03-24  Paolo Bonzini  <bonzini@gnu.org>
    
    	* mh-sysv4: Remove AR_CFLAGS.

commit 3cabe54fac4c6fdb8c37a65a012acb1e1b9f8015
Author: Paolo Bonzini <bonzini@gnu.org>
Date:   Thu Mar 24 16:55:10 2011 +0000

    2011-03-24  Paolo Bonzini  <bonzini@gnu.org>
    
    	* mh-sysv4: Remove AR_CFLAGS.

commit dd7dd055702a0da4e17901b4485eb8f4682c3b7f
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Thu Mar 24 16:52:09 2011 +0000

    	* configure.ac (i[[3456789]]86-*-vsta, i[[3456789]]86-*-go32*,
    	i[[3456789]]86-*-beos*, powerpc-*-beos*, m68k-hp-hpux*,
    	m68k-apollo-sysv*, m68k-apollo-bsd*, m88k-dg-dgux*,
    	m88k-harris-cxux*, m88k-motorola-sysv*, mips*-dec-ultrix*,
    	mips*-nec-sysv4*, mips*-sgi-irix4*, mips*-*-sysv4*, mips*-*-sysv*,
    	i370-ibm-opened*, i[[3456789]]86-*-sysv5*, i[[3456789]]86-*-dgux*,
    	i[[3456789]]86-ncr-sysv4.3*, i[[3456789]]86-ncr-sysv4*,
    	i[[3456789]]86-*-sco3.2v5*, i[[3456789]]86-*-sco*,
    	i[[3456789]]86-*-udk*, vax-*-ultrix2*, m68k-sun-sunos*,
    	hppa*-*-hiux*, *-*-hiux*, rs6000-*-lynxos*, *-*-sysv4*,
    	*-*-rhapsody*): Remove host cases.
    	* configure: Regenerate.
    
    config:
    	* mh-cxux, mh-decstation, mh-dgux386, mh-lynxrs6k, mh-ncr3000,
    	mh-necv4, mh-sco, mh-sysv5: Remove.

commit f1910b21c58e408868fd65edebf0cd23208cc2fb
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Thu Mar 24 13:25:45 2011 +0000

    	* configure.ac (ppc*-*-pe): Remove host case.
    	(strongarm-*-coff | xscale-*-coff, strongarm-*-elf* |
    	xscale-*-elf*, thumb-*-coff, thumb-*-elf, thumb-*-pe, ep9312-*-elf
    	| ep9312-*-coff, parisc*64*-*-linux*, ppc*-*-pe): Remove target
    	cases.
    	* configure: Regenerate.

commit 0480bff9b25e2ac2ea6cf45cf0e902c536b90deb
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Mar 24 11:22:00 2011 +0000

    	* regcache.c (regcache_raw_read): If the target didn't supply a
    	given raw register, mark it as unavailable.

commit 7c5461194396e7f34e6b512ccc38393fc46f8bff
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Thu Mar 24 11:13:32 2011 +0000

    	* config.sub: Update to version 2011-03-23.

commit 9c4bf6f3ddcba39cbc39ac9fb9373c5b1ba7987a
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Mar 24 05:27:38 2011 +0000

    opcodes: blackfin: ignore (M) on MAC0-only dsp mac funcs
    
    If the MAC1 part of the insn is disabled, then the (M) flag is ignored.
    Rather than include it in the decode, move the MM clearing to the MAC0
    portion of the code.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 54ad4062b17b7ca4a0f6d0039cb7da16ede1a60a
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Mar 24 03:18:17 2011 +0000

    sim: bfin: document SIC limitation
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit df07a1aa5943d2aa4542ee08e0e3da6394fe2c5c
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Mar 24 03:17:14 2011 +0000

    sim: bfin: fix inverted W1C logic
    
    When I originally wrote the w1c helper funcs, I used it in a few places.
    Then I forgot how it worked and when I later documented it, I described
    the 3rd arg in the exact opposite way it is actually used.  This error
    propagated to a bunch of devices registers that were not explicitly
    tested (a bunch of the devices are stubs which merely exist to say "no
    device is connected" to make device drivers happy).
    
    So once the documentation is unscrewed, fix all of the broken call sites.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 47908a4e9f754df78e62179ea9ac7c327d23135e
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Mar 24 03:16:50 2011 +0000

    sim: bfin: define more UART LSR bits
    
    We'll need these bits in an upcoming patch, so map out the whole
    LSR MMR now.
    
    Fix up indentation style while we're here.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit edcf0c425c5ee7ca005e59e5f94e882cb8694596
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Mar 24 03:16:22 2011 +0000

    sim: bfin: fix typo in TWI stat reg
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit a92035e6bbd0465ad1bc6244f5bfaa1024257328
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Mar 24 03:14:20 2011 +0000

    sim: bfin: update VIT_MAX behavior to match hardware when Acc.X bits are set
    
    The Blackfin PRM says that the top 8 bits of the accumulator must be
    cleared when using the VIT_MAX insn, so the sim has followed this spec.
    Matching the hardware behavior though when the high bits are not cleared
    is easy to do and doesn't break existing behavior, so go for it.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 4694ed1f484865f5a57c6205b1b9f7077a10746e
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Mar 24 03:13:32 2011 +0000

    sim: bfin: always do 16bit sign extension with the SEARCH insn
    
    The Blackfin PRM does not cover this case, but the hardware is clear: even
    if the search criteria is not met (and thus a new 16bit value is loaded up
    into the accumulator), the accumulator undergoes 16bit sign extension.  So
    simply reload the low signed 16bits in that case.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 04d4f5e5f3897d88ee0477c4fb95716d6b4a8e53
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Mar 24 03:12:16 2011 +0000

    sim: bfin: update AV and AC ASTAT bits with acc negation
    
    The Acc=-Acc insn can overflow or carry with edge values, so make sure
    we update the ASTAT bits accordingly to match the hardware.  Also fix
    a thinko where we always updated AC0 even when working with A1 regs.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 1811a0e928f878a4df13ccf43f6cad097200e08f
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Mar 24 03:11:08 2011 +0000

    sim: bfin: fix thinko in SIC pin encoding
    
    When encoding the SIC/pin info into unique input port ids, I used bases
    of 100 when I meant to use 0x100.  Rather than simply fix the decoding
    math in the different functions, create a few helper macros to simplify
    the SIC/pin encoding and decoding steps.  This makes the resulting tables
    nice & clear.
    
    And now that pins are clear, the 533 and 537 port_event handlers may
    easily be merged into one.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit ca74d8fe462e33110a4691b5edfe7386b003d048
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Mar 24 03:08:15 2011 +0000

    sim: bfin: allow byteop[123]p src regs to be the same
    
    The hardware allows the byteop[123]p insns to use the same src reg pair,
    so remove the combination check in the sim.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 7cd4c27272654401e299ba273a316e5170e0216b
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Mar 24 03:07:33 2011 +0000

    sim: bfin: fix thinko in bfin_gpio bus addresses
    
    The bus addresses have to be valid numbers, so 'g' and 'h' won't work.
    Oddly, the common code silently ignored this which is why I didn't notice
    in the first place.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit fb9c8db76499efbda21282e3b69f886ef1a4ba09
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Mar 24 00:00:03 2011 +0000

    *** empty log message ***

commit 87cc45a70641d7594706fdcf72aa4a60eb87fa5e
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Mar 23 23:00:05 2011 +0000

    daily update

commit b38a7e453019084f3088b188296eb7142914cc77
Author: Kai Tietz <kai.tietz@onevision.com>
Date:   Wed Mar 23 18:23:44 2011 +0000

    2011-03-23  Kai Tietz  <ktietz@redhat.com>
    
    	* breakpoint.c (clear_command): Use filename_cmp
    	instead of strcmp for comparison.
    	* buildsym.c (watch_main_source_file_lossage): Likewise.
    	(patch_subfile_names): Use IS_DIR_SEPARATOR instead of
    	checking just for slash.
    	* dbxread.c (read_dbx_symtab): Use lbasename instead of
    	strrchr and filename_cmp instead of strcmp for filenames.
    	(add_old_header_file): Use filename_cmp
    	instead of strcmp for comparison.
    	* exec.c (exec_set_section_address): Likewise.
    	* macrotab.c (macro_lookup_inclusion): Likewise.
    	(macro_lookup_inclusion): Likewise.
    	* elfread.c (_initialize_elfread): Likewise.
    	(elfstab_offset_sections): Likewise.
    	(elfstab_offset_sections): Use lbasename instead of
    	strrchr.
    	* mdebugread.c (parse_partial_symbols): Likewise.
    	(arse_partial_symbols): Use filename_(n)cmp instead of
    	str(n)cmp for comparison.
    	* minsyms.c (lookup_minimal_symbol): Likewise.
    	* psymtab.c (read_psymtabs_with_filename): Likewise.
    	* solib.c (solib_read_symbols): Likewise.
    	(reload_shared_libraries_1): Likewise.
    	* symmisc.c (maintenance_print_symbols): Likewise.
    	* symfile.c (separate_debug_file_exists): Likewise.
    	(reread_symbols): Likewise.
    	(find_separate_debug_file_by_debuglink): Likewise.
    	* remote-fileio.c (remote_fileio_func_rename): Likewise.
    	* source.c (add_path): Likewise.
    	* symtab.c (filename_seen): Likewise.
    	(file_matches): Likewise.
    	(print_symbol_info): Likewise.
    	(maybe_add_partial_symtab_filename): Likewise.
    	(make_source_files_completion_list): Likewise.
    	* xml-syscall.c (init_sysinfo): Likewise.
    	* windows-nat.c (_initialize_check_for_gdb_ini): Use
    	IS_DIR_SEPARATOR for checking for trailing path separator.

commit 92ce4323b7e7572f87b27112987d2081f6107386
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Mar 23 15:25:00 2011 +0000

    bfd/
    	* elf32-ppc.c (ppc_elf_tls_optimize): Catch more cases where
    	old-style __tls_get_addr calls without marker relocs don't match
    	their arg setup insn one for one.  If such mismatches are found
    	report the reloc and don't do any tls optimization.
    	* elf64-ppc.c (ppc64_elf_tls_optimize): Likewise.
    ld/testsuite/
    	* ld-powerpc/tlsmark.s: Delete non-optimizable section.
    	* ld-powerpc/tlsmark32.s: Likewise.
    	* ld-powerpc/tlsmark.d: Adjust to suit.
    	* ld-powerpc/tlsmark32.d: Likewise.
    	* ld-powerpc/tlsopt1.d, * ld-powerpc/tlsopt1.s: New.
    	* ld-powerpc/tlsopt2.d, * ld-powerpc/tlsopt2.s: New.
    	* ld-powerpc/tlsopt3.d, * ld-powerpc/tlsopt3.s: New.
    	* ld-powerpc/tlsopt4.d, * ld-powerpc/tlsopt4.s: New.
    	* ld-powerpc/tlsopt1_32.d, * ld-powerpc/tlsopt1_32.s: New.
    	* ld-powerpc/tlsopt2_32.d, * ld-powerpc/tlsopt2_32.s: New.
    	* ld-powerpc/tlsopt3_32.d, * ld-powerpc/tlsopt3_32.s: New.
    	* ld-powerpc/tlsopt4_32.d, * ld-powerpc/tlsopt4_32.s: New.
    	* ld-powerpc/powerpc.exp: Run new tests.

commit 5ba787dbb0b27be2d6f09777af27519389276609
Author: espindola <espindola>
Date:   Wed Mar 23 14:09:47 2011 +0000

    2010-03-23  Rafael Ávila de Espíndola <respindola@mozilla.com>
    
    	* plugin-api.h (ld_plugin_get_view): New.
    	(ld_plugin_tag): Add LDPT_GET_VIEW.
    	(ld_plugin_tv): Add tv_get_view.

commit 731828830b3c669af370cde62c158c7aeaa9f212
Author: espindola <espindola>
Date:   Wed Mar 23 14:09:47 2011 +0000

    2010-03-23  Rafael Ávila de Espíndola <respindola@mozilla.com>
    
    	* plugin-api.h (ld_plugin_get_view): New.
    	(ld_plugin_tag): Add LDPT_GET_VIEW.
    	(ld_plugin_tv): Add tv_get_view.

commit 7b66dcedab3b3b792b4c463bf88c091948c46c4a
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Mar 23 00:00:33 2011 +0000

    *** empty log message ***

commit 44f884985bfd82218fd7c5d832e56d403d5d7751
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Mar 22 23:00:06 2011 +0000

    daily update

commit e9f112fb54c101623e6541effac5b3eca98c2bcf
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Mar 22 21:06:29 2011 +0000

    gdb/
    	* dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_entry_value.  New
    	label abort_expression.
    	* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle
    	DWARF_VALUE_OPTIMIZED_OUT.
    
    gdb/testsuite/
    	* gdb.dwarf2/dw2-entry-value-main.c: New file.
    	* gdb.dwarf2/dw2-entry-value.S: New file.
    	* gdb.dwarf2/dw2-entry-value.exp: New file.

commit 6223dd85e3a1faa1be503f0b02c0e790b0353809
Author: Eric B. Weddington <eric.weddington@atmel.com>
Date:   Tue Mar 22 20:58:29 2011 +0000

    Regenerate bfd-in2.h.

commit a82b3420df4772579b60a5a36a6d423fd3901ee7
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Tue Mar 22 20:04:36 2011 +0000

    	* configure.ac (arm-semi-aof, crx-*-*, parisc*-*-linux*,
    	i370-*-opened*, i[[3456789]]86-moss-msdos | i[[3456789]]86-*-moss*
    	| i[[3456789]]86-*-uwin*, mcore-*-pe*): Remove empty cases.
    	* configure: Regenerate.

commit 0c3d6d4f860720b051962943e4f50af3f930648f
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Tue Mar 22 20:01:13 2011 +0000

    	* config-ml.in: Don't handle arc-*-elf*.
    	* configure.ac (arc-*-*, crx-*-*, i[[3456789]]86-*-pe,
    	m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, mcore-*-pe*): Don't
    	handle GCC libraries.
    	* configure: Regenerate.

commit dabcf5d609c7b6339dd375b2e245c3c4514b37ec
Author: Eric B. Weddington <eric.weddington@atmel.com>
Date:   Tue Mar 22 18:10:39 2011 +0000

    /bfd:
    2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>
    
    	* archures.c: Add AVR XMEGA architecture information.
    	* cpu-avr.c (arch_info_struct): Likewise.
    	* elf32-avr.c (bfd_elf_avr_final_write_processing): Likewise.
    	(elf32_avr_object_p): Likewise.
    
    /gas:
    2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>
    
    	* config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
    	(AVR_INSN): Change definition to match.
    	(avr_opcodes): Likewise, change to match.
    	(mcu_types): Add XMEGA architecture names and new XMEGA device names.
    	(md_show_usage): Add XMEGA architecture names.
    	(avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
    	Add support for SPM Z+ instruction.
    	* doc/c-avr.texi: Add documentation for XMEGA architectures and
    	devices.
    
    /include/opcode:
    2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>
    
    	* avr.h (AVR_ISA_SPMX,AVR_ISA_DES,AVR_ISA_M256,AVR_ISA_XMEGA):
    	New instruction set flags.
    	(AVR_INSN): Add new instructions for SPM Z+, DES for XMEGA.
    
    /ld:
    2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>
    
    	* Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
    	(eavrxmega?.c): Likewise.
    	* configure.tgt (targ_extra_emuls): Likewise.
    	* emulparams/avrxmega1.sh: New file.
    	* emulparams/avrxmega2.sh: Likewise.
    	* emulparams/avrxmega3.sh: Likewise.
    	* emulparams/avrxmega4.sh: Likewise.
    	* emulparams/avrxmega5.sh: Likewise.
    	* emulparams/avrxmega6.sh: Likewise.
    	* emulparams/avrxmega7.sh: Likewise.
    	* emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation):
    	Add avrxmega6, avrxmega7 to list of architectures for no stubs.
    
    /opcodes:
    2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>
    
    	* avr-dis.c (avr_operand): Add opcode_str parameter. Check for
    	post-increment to support LPM Z+ instruction. Add support for 'E'
    	constraint for DES instruction.
    	(print_insn_avr): Adjust calls to avr_operand. Rename variable.

commit 211dfcf786b96c88a6ccbebc970029c27a79f73f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Mar 22 17:35:20 2011 +0000

    gdb/
    	Code cleanup.
    	* c-typeprint.c (c_type_print_args): Change parameter show_artificial
    	to linkage_name.  Invert its value.  Update the function comment.
    	(c_type_print_varspec_suffix): Invert it at the caller.
    	* dwarf2read.c (dwarf2_compute_name): Invert it at the caller.

commit 404d635015936f1e54a6f12f59d1ef3d3df1b7ca
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Tue Mar 22 14:39:38 2011 +0000

    	* infcmd.c (post_create_inferior): Ignore NOT_AVAILABLE_ERROR
    	errors when reading the `stop_pc'.
    	* printcmd.c (pc_prefix): Use get_frame_pc_if_available instead of
    	get_frame_pc.

commit feaf957b2f39e3fcada5695cd5e262c673875c0d
Author: pmuldoon <pmuldoon>
Date:   Tue Mar 22 10:04:22 2011 +0000

    2011-03-22  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* NEWS: Document gdb.Write stream keyword.

commit f707bfed8dde39ec47365f4ec17c1ebdbee5e97c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Mar 22 09:50:41 2011 +0000

    gdb/
    	Revert:
    	2011-03-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
    	* dwarf2read.c (producer_is_gxx_lt_4_6): New function.
    	(dwarf2_add_field): Fix new_field->accessibility for
    	cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6.

commit 9d148461c2d61fd08f33ea850890f9315dad2ddf
Author: pmuldoon <pmuldoon>
Date:   Tue Mar 22 09:38:12 2011 +0000

    2011-03-21  Phil Muldoon  <pmuldoon@redhat.com>
    
            PR python/12183
    
    	* python/py-function.c (fnpy_call): Treat GdbErrors differently to
    	other error classes.  Do not print stack trace.
    
    2011-03-21  Phil Muldoon  <pmuldoon@redhat.com>
    
            PR python/12183
    
    	* gdb.python/py-function.exp: Add GdbError tests.

commit 63dea4cbe57a3db38005526d797119f08d9fdb9a
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Mar 22 00:00:03 2011 +0000

    *** empty log message ***

commit e1892ce44fe7de6ad0340b928d9bc06ff93b8c14
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Mar 21 23:00:06 2011 +0000

    daily update

commit 705097b05415f942aac987773691884cb445e496
Author: Kevin Buettner <kevinb@redhat.com>
Date:   Mon Mar 21 22:06:55 2011 +0000

    	* gennltvals.sh: Search sys/_default_fcntl.h, in addition to
    	fcntl.h and sys/fcntl.h, for constants.
    	* nltvals.def: Regenerate.
    	* sim-io.c (sim_io_stat, sim_io_fstat): New functions.
    	* sim-io.h (sys/types.h, sys/stat.h): Include.
    	(sim_io_stat, sim_io_fstat): Declare.

commit b63278a6e679a5189ce2f3efd756412942a135f7
Author: Kevin Buettner <kevinb@redhat.com>
Date:   Mon Mar 21 22:05:56 2011 +0000

    	* simops (OP_10007E0): Update errno handling as most traps
    	do not invoke the host's functionality directly.  Invoke
    	sim_io_stat() instead of stat() for implementing TARGET_SYS_stat.
    	Implement TARGET_SYS_fstat, TARGET_SYS_rename, and TARGET_SYS_unlink.

commit d08f3e4b6723ec861f1e086c576dde85f4f1814b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 21 20:07:06 2011 +0000

    gdb/
    	* dwarf2read.c (producer_is_gxx_lt_4_6): New function.
    	(dwarf2_add_field): Fix new_field->accessibility for
    	cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6.

commit 81abf922426b1da3b57b5272a35c1dd4d3953b78
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Mon Mar 21 17:28:04 2011 +0000

    	* arm-tdep.c (arm_analyze_prologue): Do not abort parsing when
    	encountering a load via a non-SP register.

commit 490bb6af4bb4aa30d050dd5209c259bc7a9b2af1
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Mon Mar 21 17:23:02 2011 +0000

    	* tramp-frame.c (tramp_frame_prepend_unwinder): Set stop_reason
    	field in returned unwinder.

commit cf4d1d0ee238d4d851707edd0164e58b635dc59f
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Mar 21 14:43:36 2011 +0000

    undefined newexpr->gdbarch field in ada-lang.c:replace_operator_with_call
    
    2011-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
            * ada-lang.c (replace_operator_with_call): Copy also GDBARCH.

commit 6bdf5522e13b1338dd484126b8a7f054e9f89d1d
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Mar 21 14:43:11 2011 +0000

    use xzalloc in ada-lang.c:replace_operator_with_call
    
    This is to make sure that we cannot have a field with an undefined
    value (currently, we are not setting the gdbarch).
    
    gdb/ChangeLog:
    
    	* ada-lang.c (replace_operator_with_call): Use xzalloc instead
    	of xmalloc.

commit 937a1fe3814f540e3f203354fc2319798ada3b82
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Mar 21 14:43:36 2011 +0000

    undefined newexpr->gdbarch field in ada-lang.c:replace_operator_with_call
    
    2011-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
            * ada-lang.c (replace_operator_with_call): Copy also GDBARCH.

commit f2401554c94219582f3ec56ad15017fdf8dcaeb6
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Mar 21 14:43:11 2011 +0000

    use xzalloc in ada-lang.c:replace_operator_with_call
    
    This is to make sure that we cannot have a field with an undefined
    value (currently, we are not setting the gdbarch).
    
    gdb/ChangeLog:
    
    	* ada-lang.c (replace_operator_with_call): Use xzalloc instead
    	of xmalloc.

commit c0a66ca59735fa09eedf21a7a777272dfcda5883
Author: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Date:   Mon Mar 21 13:03:33 2011 +0000

    	PR bootstrap/48120:
    	* configure.ac (pwllib): Use LIBS instead of LDFLAGS.
    	Add -lstdc++ -lm to LIBS.
    	* configure: Regenerate.

commit 011ec629157acbf6ca7613ad4eea583234e7786d
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Mar 21 00:00:33 2011 +0000

    *** empty log message ***

commit baade176aaa38f938ac77f8a5605ccaa0409d324
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Mar 20 23:00:06 2011 +0000

    daily update

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |  155 +++
 Makefile.def                                       |   11 +-
 Makefile.in                                        |  152 ++--
 Makefile.tpl                                       |   14 -
 bfd/ChangeLog                                      |   40 +
 bfd/archures.c                                     |    7 +
 bfd/bfd-in2.h                                      |    7 +
 bfd/coffcode.h                                     |    6 +-
 bfd/config.bfd                                     |   11 +-
 bfd/configure                                      |    2 -
 bfd/configure.in                                   |    2 -
 bfd/cpu-avr.c                                      |   24 +-
 bfd/elf32-avr.c                                    |   56 ++
 bfd/elf32-ppc.c                                    |   44 +-
 bfd/elf64-ppc.c                                    |  125 ++-
 bfd/libbfd.h                                       |    1 +
 bfd/version.h                                      |    2 +-
 bfd/vms-alpha.c                                    |   18 +-
 config-ml.in                                       |   15 +-
 config.sub                                         |   41 +-
 config/ChangeLog                                   |   29 +
 config/mh-cxux                                     |    5 -
 config/mh-cygwin                                   |    7 -
 config/mh-decstation                               |    3 -
 config/mh-dgux386                                  |    5 -
 config/mh-lynxrs6k                                 |    2 -
 config/mh-ncr3000                                  |    4 -
 config/mh-necv4                                    |    4 -
 config/mh-sco                                      |    4 -
 config/mh-solaris                                  |    2 -
 config/mh-sysv4                                    |    4 -
 config/mh-sysv5                                    |    4 -
 config/mh-x86omitfp                                |    2 -
 config/mt-mep                                      |    8 -
 config/mt-netware                                  |    1 -
 config/mt-v810                                     |    3 -
 config/mt-wince                                    |   10 -
 configure                                          |  324 +------
 configure.ac                                       |  326 +------
 gdb/ChangeLog                                      |  188 ++++
 gdb/NEWS                                           |    4 +
 gdb/ada-lang.c                                     |    3 +-
 gdb/arm-tdep.c                                     |   32 +-
 gdb/breakpoint.c                                   |   85 +-
 gdb/breakpoint.h                                   |    2 +
 gdb/buildsym.c                                     |    4 +-
 gdb/c-typeprint.c                                  |   22 +-
 gdb/dbxread.c                                      |   13 +-
 gdb/doc/ChangeLog                                  |    5 +
 gdb/doc/gdb.texinfo                                |    3 +
 gdb/dwarf2expr.c                                   |    8 +
 gdb/dwarf2loc.c                                    |    7 +-
 gdb/dwarf2read.c                                   |   22 +-
 gdb/elfread.c                                      |   10 +-
 gdb/exec.c                                         |    3 +-
 gdb/infcmd.c                                       |   14 +-
 gdb/linespec.c                                     |  204 ++++-
 gdb/linespec.h                                     |   25 +-
 gdb/macrotab.c                                     |   10 +-
 gdb/mdebugread.c                                   |   14 +-
 gdb/minsyms.c                                      |    3 +-
 gdb/printcmd.c                                     |    4 +-
 gdb/psymtab.c                                      |    4 +-
 gdb/python/py-function.c                           |   51 +-
 gdb/regcache.c                                     |   29 +-
 gdb/remote-fileio.c                                |    5 +-
 gdb/solib.c                                        |    8 +-
 gdb/source.c                                       |   11 +-
 gdb/symfile.c                                      |   12 +-
 gdb/symmisc.c                                      |    3 +-
 gdb/symtab.c                                       |   38 +-
 gdb/testsuite/ChangeLog                            |   24 +
 gdb/testsuite/gdb.base/label.exp                   |    8 +-
 .../gdb.dwarf2/dw2-entry-value-main.c}             |   31 +-
 gdb/testsuite/gdb.dwarf2/dw2-entry-value.S         |  104 ++
 gdb/testsuite/gdb.dwarf2/dw2-entry-value.exp       |   32 +
 gdb/testsuite/gdb.python/py-function.exp           |   26 +
 gdb/testsuite/lib/gdb.exp                          |   39 +-
 gdb/tramp-frame.c                                  |    1 +
 gdb/tui/tui-source.c                               |   15 +-
 gdb/tui/tui-winsource.c                            |    3 +-
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |    3 +-
 gdb/xml-syscall.c                                  |    2 +-
 include/ChangeLog                                  |   10 +
 include/dwarf2.h                                   |    1 -
 include/elf/avr.h                                  |    7 +
 include/opcode/ChangeLog                           |    6 +
 include/opcode/avr.h                               |   11 +-
 include/plugin-api.h                               |    8 +-
 libiberty/ChangeLog                                |    5 -
 libiberty/cplus-dem.c                              |    5 +-
 opcodes/ChangeLog                                  |   11 +
 opcodes/avr-dis.c                                  |   31 +-
 opcodes/bfin-dis.c                                 |    5 +-
 sim/bfin/ChangeLog                                 |  101 ++
 sim/bfin/TODO                                      |   24 +-
 sim/bfin/bfin-sim.c                                |   42 +-
 sim/bfin/devices.h                                 |    4 +-
 sim/bfin/dv-bfin_cec.c                             |    2 +-
 sim/bfin/dv-bfin_emac.c                            |    4 +-
 sim/bfin/dv-bfin_eppi.c                            |    2 +-
 sim/bfin/dv-bfin_gpio.c                            |   60 +-
 sim/bfin/dv-bfin_jtag.c                            |    2 +-
 sim/bfin/dv-bfin_nfc.c                             |    2 +-
 sim/bfin/dv-bfin_otp.c                             |    2 +-
 sim/bfin/dv-bfin_ppi.c                             |    2 +-
 sim/bfin/dv-bfin_rtc.c                             |    2 +-
 sim/bfin/dv-bfin_sic.c                             | 1031 ++++++++++----------
 sim/bfin/dv-bfin_spi.c                             |    2 +-
 sim/bfin/dv-bfin_twi.c                             |    4 +-
 sim/bfin/dv-bfin_twi.h                             |    2 +-
 sim/bfin/dv-bfin_uart.h                            |   19 +-
 sim/bfin/dv-bfin_uart2.c                           |    4 +-
 sim/bfin/machs.c                                   |   61 +-
 sim/common/ChangeLog                               |    9 +
 sim/common/gennltvals.sh                           |    2 +-
 sim/common/nltvals.def                             |  745 +++++++--------
 sim/common/sim-io.c                                |   12 +
 sim/common/sim-io.h                                |    6 +
 sim/v850/ChangeLog                                 |    7 +
 sim/v850/simops.c                                  |   84 ++-
 122 files changed, 2868 insertions(+), 2085 deletions(-)
 delete mode 100644 config/mh-cxux
 delete mode 100644 config/mh-decstation
 delete mode 100644 config/mh-dgux386
 delete mode 100644 config/mh-lynxrs6k
 delete mode 100644 config/mh-ncr3000
 delete mode 100644 config/mh-necv4
 delete mode 100644 config/mh-sco
 delete mode 100644 config/mh-solaris
 delete mode 100644 config/mh-sysv4
 delete mode 100644 config/mh-sysv5
 delete mode 100644 config/mh-x86omitfp
 delete mode 100644 config/mt-mep
 delete mode 100644 config/mt-netware
 delete mode 100644 config/mt-v810
 delete mode 100644 config/mt-wince
 copy gdb/{linespec.h => testsuite/gdb.dwarf2/dw2-entry-value-main.c} (61%)
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-entry-value.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-entry-value.exp

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index ee4c378..281c2a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,158 @@
+2011-03-28  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac (i[[3456789]]86-*-msdosdjgpp*): Don't disable
+	libffi on host.
+	(x86_64-*-mingw*, i[[3456789]]86-*-mingw32*): Don't disable newlib
+	on host.
+	(c54x*-*-* | tic54x-*-*): Don't disable newlib on host.
+	* configure: Regenerate.
+
+2011-03-26  John Marino  <binutils@marino.st>
+
+	* configure.ac: Add support for *-*-dragonfly*
+	* configure: Regenerate.
+
+2011-03-25  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac (native_only): Remove.
+	(i[[3456789]]86-*-msdosdjgpp*): Don't disable expect dejagnu
+	send-pr uudecode guile gnuserv on host.
+	(x86_64-*-mingw*): Don't disable expect dejagnu autoconf automake
+	send-pr rcs guile perl texinfo libtool on host.
+	(i[[3456789]]86-*-mingw32*): Don't disable expect dejagnu autoconf
+	automake send-pr rcs guile perl texinfo libtool on host.
+	(*-*-cygwin*, *-*-netbsd*): Remove host cases.
+	(*-*-kaos*): Don't disable target-examples target-gperf on target.
+	(alpha*-dec-osf*): Don't disable fileutils on target.
+	(sh*-*-pe|mips*-*-pe|*arm-wince-pe): Don't disable target-examples
+	texinfo send-pr expect dejagnu on target.
+	(arm-*-elf* | arm*-*-eabi*, arm*-*-linux-gnueabi): Don't disable
+	target-qthreads on target.
+	(hppa*-hp-hpux11*, hppa*-*-*): Don't disable shellutils on target.
+	(ia64*-*-elf*, ia64*-*-*vms*): Don't disable mmalloc on target.
+	(i[[3456789]]86-w64-mingw*, i[[3456789]]86-*-mingw*,
+	x86_64-*-mingw*): Don't disable expect on target.
+	(*-*-cygwin*): Don't disable target-gperf on target.
+	(powerpc*-*-winnt* | powerpc*-*-pe*): Don't disable make expect
+	gnuserv on target.
+	(powerpcle-*-solaris*): Don't disable make expect gnuserv on
+	target.
+	* configure: Regenerate.
+
+2011-03-25  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac (target_tools): Remove target-groff.
+	(native_only): Remove target-groff.
+	(hppa*64*-*-*): Don't disable byacc.
+	(i[[3456789]]86-*-mingw32*): Remove commented-out noconfigdirs
+	setting.
+	(*-*-kaos*): Don't skip target-librx and target-groff.
+	(*-*-netware*): Don't skip target-libmudflap.
+	(*-*-tpf*): Don't skip target-libmudflap.
+	(sh*-*-pe|mips*-*-pe|*arm-wince-pe): Don't condition configured
+	directories on the host.
+	(ia64*-*-*vms*): Don't skip tix.
+	(sh-*-* | sh64-*-*): Don't condition skipped directories on the
+	host.
+	* configure: Regenerate.
+
+2011-03-24  Paolo Bonzini  <pbonzini@redhat.com>
+
+	* configure.ac: Remove references to mt-mep, mt-netware,
+	mt-wince.
+	* Makefile.def: Add all-utils soft dependencies.
+	* Makefile.tpl: Remove GDB_NLM_DEPS.
+	* configure: Regenerate.
+	* Makefile.in: Regenerate.
+
+2011-03-24  Paolo Bonzini  <bonzini@gnu.org>
+
+	Sync from GCC:
+
+	2011-03-24  Paolo Bonzini  <bonzini@gnu.org>
+
+	* configure.ac: Do not include mh-x86omitfp.
+	* configure: Regenerate.
+
+	2011-03-24  Paolo Bonzini  <bonzini@gnu.org>
+
+	* configure.ac: Remove empty cases.
+	* configure: Regenerate.
+
+	2011-03-24  Paolo Bonzini  <bonzini@gnu.org>
+
+	* Makefile.def: Add dependency from termcap to gdb.
+	* Makefile.in: Regenerate.
+
+	2011-03-24  Paolo Bonzini  <bonzini@gnu.org>
+
+	* configure.ac: Remove all mentions of mh-sysv4 and mh-solaris.
+	* configure: Regenerate.
+	* Makefile.def: Remove all mentions of X11_FLAGS_TO_PASS.
+	* Makefile.tpl: Likewise.
+	* Makefile.in: Regenerate.
+
+	2011-03-24  Paolo Bonzini  <bonzini@gnu.org>
+
+	* configure.ac: Remove all mentions of tentative_cc.
+	* configure: Regenerate.
+
+	2011-03-16  Jack Howarth  <howarth@bromo.med.uc.edu>
+
+	PR lto/48086
+	* configure.ac: Re-enable LTO on *-apple-darwin9.
+	* configure: Regenerate.
+
+2011-03-24  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac (i[[3456789]]86-*-vsta, i[[3456789]]86-*-go32*,
+	i[[3456789]]86-*-beos*, powerpc-*-beos*, m68k-hp-hpux*,
+	m68k-apollo-sysv*, m68k-apollo-bsd*, m88k-dg-dgux*,
+	m88k-harris-cxux*, m88k-motorola-sysv*, mips*-dec-ultrix*,
+	mips*-nec-sysv4*, mips*-sgi-irix4*, mips*-*-sysv4*, mips*-*-sysv*,
+	i370-ibm-opened*, i[[3456789]]86-*-sysv5*, i[[3456789]]86-*-dgux*,
+	i[[3456789]]86-ncr-sysv4.3*, i[[3456789]]86-ncr-sysv4*,
+	i[[3456789]]86-*-sco3.2v5*, i[[3456789]]86-*-sco*,
+	i[[3456789]]86-*-udk*, vax-*-ultrix2*, m68k-sun-sunos*,
+	hppa*-*-hiux*, *-*-hiux*, rs6000-*-lynxos*, *-*-sysv4*,
+	*-*-rhapsody*): Remove host cases.
+	* configure: Regenerate.
+
+2011-03-24  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac (ppc*-*-pe): Remove host case.
+	(strongarm-*-coff | xscale-*-coff, strongarm-*-elf* |
+	xscale-*-elf*, thumb-*-coff, thumb-*-elf, thumb-*-pe, ep9312-*-elf
+	| ep9312-*-coff, parisc*64*-*-linux*, ppc*-*-pe): Remove target
+	cases.
+	* configure: Regenerate.
+
+2011-03-24  Joseph Myers  <joseph@codesourcery.com>
+
+	* config.sub: Update to version 2011-03-23.
+
+2011-03-22  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac (arm-semi-aof, crx-*-*, parisc*-*-linux*,
+	i370-*-opened*, i[[3456789]]86-moss-msdos | i[[3456789]]86-*-moss*
+	| i[[3456789]]86-*-uwin*, mcore-*-pe*): Remove empty cases.
+	* configure: Regenerate.
+
+2011-03-22  Joseph Myers  <joseph@codesourcery.com>
+
+	* config-ml.in: Don't handle arc-*-elf*.
+	* configure.ac (arc-*-*, crx-*-*, i[[3456789]]86-*-pe,
+	m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, mcore-*-pe*): Don't
+	handle GCC libraries.
+	* configure: Regenerate.
+
+2011-03-21  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+	PR bootstrap/48120:
+	* configure.ac (pwllib): Use LIBS instead of LDFLAGS.
+	Add -lstdc++ -lm to LIBS.
+	* configure: Regenerate.
+
 2011-03-18  David Edelsohn  <dje.gcc@gmail.com>
 
 	* config.guess: Update to version 2011-02-02
diff --git a/Makefile.def b/Makefile.def
index 85b582c..d52466d 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -134,10 +134,10 @@ host_modules= { module= uudecode; };
 host_modules= { module= wdiff; };
 host_modules= { module= zip; no_check_cross=true; };
 host_modules= { module= zlib; no_install=true; no_check=true; bootstrap=true; };
-host_modules= { module= gdb; extra_make_flags="$(X11_FLAGS_TO_PASS)"; };
-host_modules= { module= expect; extra_make_flags="$(X11_FLAGS_TO_PASS)"; };
-host_modules= { module= guile; extra_make_flags="$(X11_FLAGS_TO_PASS)"; };
-host_modules= { module= tk; extra_make_flags="$(X11_FLAGS_TO_PASS)"; };
+host_modules= { module= gdb; };
+host_modules= { module= expect; };
+host_modules= { module= guile; };
+host_modules= { module= tk; };
 host_modules= { module= libtermcap; no_check=true; 
                 missing=mostlyclean;
                 missing=clean;
@@ -366,6 +366,8 @@ dependencies = { module=all-gnattools; on=all-target-libada; };
 
 dependencies = { module=all-lto-plugin; on=all-libiberty; };
 
+dependencies = { module=all-utils; on=all-libiberty; };
+
 dependencies = { module=configure-mpfr; on=all-gmp; };
 dependencies = { module=configure-mpc; on=all-mpfr; };
 dependencies = { module=configure-ppl; on=all-gmp; };
@@ -387,6 +389,7 @@ dependencies = { module=all-gdb; on=all-build-bison; };
 dependencies = { module=all-gdb; on=all-build-byacc; };
 dependencies = { module=all-gdb; on=all-sim; };
 dependencies = { module=all-gdb; on=all-libdecnumber; };
+dependencies = { module=all-gdb; on=all-libtermcap; };
 
 dependencies = { module=configure-libgui; on=configure-tcl; };
 dependencies = { module=configure-libgui; on=configure-tk; };
diff --git a/Makefile.in b/Makefile.in
index 660f813..128691f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -100,8 +100,6 @@ TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
 tooldir = @tooldir@
 build_tooldir = @build_tooldir@
 
-GDB_NLM_DEPS = 
-
 # This is the name of the environment variable used for the path to
 # the libraries.
 RPATH_ENVVAR = @RPATH_ENVVAR@
@@ -796,18 +794,6 @@ EXTRA_HOST_FLAGS = \
 
 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
 
-# Flags that are concerned with the location of the X11 include files
-# and library files
-#
-# NOTE: until the top-level is getting the values via autoconf, it only
-# causes problems to have this top-level Makefile overriding the autoconf-set
-# values in child directories.  Only variables that don't conflict with
-# autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
-#
-X11_FLAGS_TO_PASS = \
-	'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
-	'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
-
 # Flags to pass to stage2 and later makes.
 
 POSTSTAGE1_FLAGS_TO_PASS = \
@@ -42263,7 +42249,7 @@ all-gdb: configure-gdb
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS)  \
 	(cd $(HOST_SUBDIR)/gdb && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)  \
 		$(TARGET-gdb))
 @endif gdb
 
@@ -42281,7 +42267,7 @@ check-gdb:
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
 	(cd $(HOST_SUBDIR)/gdb && \
-	  $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
+	  $(MAKE) $(FLAGS_TO_PASS)  check)
 
 @endif gdb
 
@@ -42296,7 +42282,7 @@ install-gdb: installdirs
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
 	(cd $(HOST_SUBDIR)/gdb && \
-	  $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
+	  $(MAKE) $(FLAGS_TO_PASS)  install)
 
 @endif gdb
 
@@ -42311,7 +42297,7 @@ install-strip-gdb: installdirs
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
 	(cd $(HOST_SUBDIR)/gdb && \
-	  $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install-strip)
+	  $(MAKE) $(FLAGS_TO_PASS)  install-strip)
 
 @endif gdb
 
@@ -42329,7 +42315,7 @@ info-gdb: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing info in gdb" ; \
@@ -42355,7 +42341,7 @@ dvi-gdb: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing dvi in gdb" ; \
@@ -42381,7 +42367,7 @@ pdf-gdb: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing pdf in gdb" ; \
@@ -42407,7 +42393,7 @@ html-gdb: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing html in gdb" ; \
@@ -42433,7 +42419,7 @@ TAGS-gdb: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing TAGS in gdb" ; \
@@ -42460,7 +42446,7 @@ install-info-gdb: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing install-info in gdb" ; \
@@ -42487,7 +42473,7 @@ install-pdf-gdb: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing install-pdf in gdb" ; \
@@ -42514,7 +42500,7 @@ install-html-gdb: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing install-html in gdb" ; \
@@ -42540,7 +42526,7 @@ installcheck-gdb: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing installcheck in gdb" ; \
@@ -42565,7 +42551,7 @@ mostlyclean-gdb:
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing mostlyclean in gdb" ; \
@@ -42590,7 +42576,7 @@ clean-gdb:
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing clean in gdb" ; \
@@ -42615,7 +42601,7 @@ distclean-gdb:
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing distclean in gdb" ; \
@@ -42640,7 +42626,7 @@ maintainer-clean-gdb:
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing maintainer-clean in gdb" ; \
@@ -42703,7 +42689,7 @@ all-expect: configure-expect
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS)  \
 	(cd $(HOST_SUBDIR)/expect && \
-	  $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS) \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)  \
 		$(TARGET-expect))
 @endif expect
 
@@ -42721,7 +42707,7 @@ check-expect:
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
 	(cd $(HOST_SUBDIR)/expect && \
-	  $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
+	  $(MAKE) $(FLAGS_TO_PASS)  check)
 
 @endif expect
 
@@ -42736,7 +42722,7 @@ install-expect: installdirs
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
 	(cd $(HOST_SUBDIR)/expect && \
-	  $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
+	  $(MAKE) $(FLAGS_TO_PASS)  install)
 
 @endif expect
 
@@ -42751,7 +42737,7 @@ install-strip-expect: installdirs
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
 	(cd $(HOST_SUBDIR)/expect && \
-	  $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install-strip)
+	  $(MAKE) $(FLAGS_TO_PASS)  install-strip)
 
 @endif expect
 
@@ -42769,7 +42755,7 @@ info-expect: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing info in expect" ; \
@@ -42795,7 +42781,7 @@ dvi-expect: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing dvi in expect" ; \
@@ -42821,7 +42807,7 @@ pdf-expect: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing pdf in expect" ; \
@@ -42847,7 +42833,7 @@ html-expect: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing html in expect" ; \
@@ -42873,7 +42859,7 @@ TAGS-expect: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing TAGS in expect" ; \
@@ -42900,7 +42886,7 @@ install-info-expect: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing install-info in expect" ; \
@@ -42927,7 +42913,7 @@ install-pdf-expect: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing install-pdf in expect" ; \
@@ -42954,7 +42940,7 @@ install-html-expect: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \
 	echo "Doing install-html in expect" ; \
@@ -42980,7 +42966,7 @@ installcheck-expect: \
 	r=`${PWD_COMMAND}`; export r; \
 	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
 	$(HOST_EXPORTS) \
-	for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
 	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
 	done; \


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-03-20 12:45 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-03-20 12:45 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  5800a6edc38506522f26e9f497be27f03c6f2e2d (commit)
       via  410b0400bbf712bb465eb32fd98fd6f2e57cb82f (commit)
       via  146ccbe9471ab00e4a8a183163ea7b02ad1eef20 (commit)
      from  c40415cfe4d602ded27d296c771006609596d5f4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 5800a6edc38506522f26e9f497be27f03c6f2e2d
Merge: c40415c 410b040
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Mar 20 13:45:17 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit 410b0400bbf712bb465eb32fd98fd6f2e57cb82f
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Mar 20 00:00:33 2011 +0000

    *** empty log message ***

commit 146ccbe9471ab00e4a8a183163ea7b02ad1eef20
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Mar 19 23:00:06 2011 +0000

    daily update

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h  |    2 +-
 gdb/version.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 8c54415..6b5223b 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110319
+#define BFD_VERSION_DATE 20110320
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/version.in b/gdb/version.in
index b6b6a85..cbd66f7 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-7.2.50.20110319-cvs
+7.2.50.20110320-cvs


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-03-19  8:35 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-03-19  8:35 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  cdf4dfaa567c4903b2fce0a16a2e5702e059932e (commit)
       via  b785f1698a0e79cd70616412c8b281f15eb55f16 (commit)
       via  630c9098db98fd90e77d828e4373b3c5d89923a0 (commit)
       via  e67dca4a095f4db1022fd0753ef0bda3873dc1bc (commit)
       via  661cfd57e3fe0db53f638ef5a2defcfa07657788 (commit)
       via  b1b780d5824443e4d4a0fb3ed6738d9908ef6782 (commit)
       via  54471ddd7cceafe5ecbea8a7d63c35a960c8d899 (commit)
       via  bf729a7b2ff73fdef8d5e1c21f6a3bba0cead5e6 (commit)
       via  2084af3287d9e272f3ef4c3ed940b9dd5daf6854 (commit)
       via  401e962372671eb2ff085a18254ea74a156c67e5 (commit)
       via  f86b56bf0dbd0ae8442aadc67aa63d3c78c57c1f (commit)
       via  50c1f7174d688df6a3e1590b666b14d17efc5000 (commit)
       via  4a8a3091dd993a919822dc434546f8959d16a22c (commit)
       via  ef749a8958424d7fde1db60719cdc6425831f9de (commit)
       via  b9dea663f5c79d3d7a9554da1554bb00a52e4b5e (commit)
       via  734db55da420a9ad1b8d73595f572c2daae04a6c (commit)
       via  9597e4d79bb5a4d999dc100cda756ac2e8e7cb54 (commit)
       via  d6b835049556290b1f4ce6306f0debe31cb82502 (commit)
       via  428ade676257e749ebefe65a7c2198998d2e41aa (commit)
       via  f9ccd4c7b9901c4c07909d43c0886d03a28e95a3 (commit)
       via  0448971e0af374d76fdd4a25d61440b375a10eb6 (commit)
       via  62a3a0794651dc8c15e89ec4b410f84d3fa56f03 (commit)
       via  ff8cf7f718552d36eed144ecd92334c02f8c20f8 (commit)
       via  fd9fc622e393ff0204446df3b92673fdc2a5cb08 (commit)
       via  181abcd871430c0a6e3346eda89e72d6645a0120 (commit)
       via  668b4b04f97211730132a59215b60849e9b803be (commit)
       via  dcc23d8511269c700b6812263ff1aaf19e1f8a1f (commit)
       via  a5c9b0e93e84cd8994d681c9cbeedf5db1b1c8f2 (commit)
       via  924877991d3262139bc3dfeeff72d9e3504e0f18 (commit)
      from  3480b2bc56ec0bb51c1f18584fd293fd8ef25dec (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit cdf4dfaa567c4903b2fce0a16a2e5702e059932e
Merge: 3480b2b b785f16
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Mar 19 09:34:36 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit b785f1698a0e79cd70616412c8b281f15eb55f16
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Mar 19 00:00:32 2011 +0000

    *** empty log message ***

commit 630c9098db98fd90e77d828e4373b3c5d89923a0
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Mar 18 23:00:06 2011 +0000

    daily update

commit e67dca4a095f4db1022fd0753ef0bda3873dc1bc
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Mar 18 18:52:28 2011 +0000

    	gdb/
    	* frame.c (frame_unwind_register): Throw an error if unwinding the
    	register failed.
    	* get_prev_frame_1 (get_prev_frame_1): Ask the unwinder if there's
    	an unwind stop reason.
    	(frame_stop_reason_string): Handle UNWIND_UNAVAILABLE.
    	* frame.h (enum unwind_stop_reason) <UNWIND_OUTERMOST,
    	UNWIND_UNAVAILABLE>: New.
    	* inline-frame.c (inline_frame_unwind): Install
    	default_frame_unwind_stop_reason.
    	* frame-unwind.c: Include "exceptions.h".
    	(frame_unwind_find_by_frame): Swallow NOT_AVAILABLE_ERROR errors.
    	(default_frame_unwind_stop_reason): New.
    	* frame-unwind.h (frame_unwind_stop_reason_ftype): New typedef.
    	(default_frame_unwind_stop_reason): Declare.
    	(struct frame_unwind) <stop_reason>: New function pointer.
    
    	* dummy-frame.c: Install default_frame_unwind_stop_reason.
    	* dwarf2-frame.c: Include exceptions.h.
    	(struct dwarf2_frame_cache) <unavailable_retaddr>: New field.
    	(dwarf2_frame_cache): Swallow NOT_AVAILABLE_ERROR errors when
    	computing the CFA.  If such an error was thrown, set
    	unavailable_retaddr.
    	(dwarf2_frame_unwind_stop_reason): New.
    	(dwarf2_frame_this_id): Don't build a frame id if the CFA was
    	unavailable.
    	(dwarf2_frame_unwind): Install dwarf2_frame_unwind_stop_reason.
    	(dwarf2_signal_frame_unwind): Ditto.
    
    	* amd64-tdep.c: Include "exceptions.h".
    	(struct amd64_frame_cache): New field "base_p".
    	(amd64_init_frame_cache): Clear it.
    	(amd64_frame_cache_1): New, factored out from amd64_frame_cache.
    	Avoid reading registers with functions that throw if the register
    	is not necessary to compute the frame base.
    	(amd64_frame_cache): Reimplement wrapping amd64_frame_cache_1, and
    	swallowing NOT_AVAILABLE_ERROR.
    	(amd64_frame_unwind_stop_reason): New.
    	(amd64_frame_this_id): Don't build a frame id if the frame base
    	was unavailable.
    	(amd64_frame_unwind): Install amd64_frame_unwind_stop_reason.
    	(amd64_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set
    	base_p if the frame base was computable.
    	(amd64_sigtramp_frame_unwind_stop_reason): New.
    	(amd64_sigtramp_frame_this_id): Don't build a frame id if the
    	frame base was unavailable.
    	(amd64_sigtramp_frame_unwind): Install
    	amd64_sigtramp_frame_unwind_stop_reason.
    	(amd64_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set
    	base_p if the frame base was computable.
    	(amd64_epilogue_frame_unwind_stop_reason): New.
    	(amd64_epilogue_frame_this_id): Don't build a frame id if the
    	frame base was unavailable.
    	(amd64_epilogue_frame_unwind): Install
    	amd64_epilogue_frame_unwind_stop_reason.
    	* i386-tdep.c: Include "exceptions.h".
    	(struct i386_frame_cache): New field "base_p".
    	(i386_init_frame_cache): Clear it.
    	(i386_frame_cache_1): New, factored out from amd64_frame_cache.
    	Avoid reading registers with functions that throw if the register
    	is not necessary to compute the frame base.
    	(i386_frame_cache): Reimplement wrapping amd64_frame_cache_1, and
    	swallowing NOT_AVAILABLE_ERROR.
    	(i386_frame_unwind_stop_reason): New.
    	(i386_frame_this_id): Don't build a frame id if the frame base was
    	unavailable.
    	(i386_frame_prev_register): Handle unavailable SP.
    	(i386_frame_unwind): Install i386_frame_unwind_stop_reason.
    	(i386_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set
    	base_p if the frame base was computable.
    	(i386_epilogue_frame_unwind_stop_reason): New.
    	(i386_epilogue_frame_this_id): Don't build a frame id if the frame
    	base was unavailable.
    	(i386_epilogue_frame_unwind): Install
    	i386_epilogue_frame_unwind_stop_reason.
    	(i386_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set
    	base_p if the frame base was computable.
    	(i386_sigtramp_frame_unwind_stop_reason): New.
    	(i386_sigtramp_frame_this_id): Don't build a frame id if the frame
    	base was unavailable.
    	(i386_sigtramp_frame_unwind): Install
    	i386_sigtramp_frame_unwind_stop_reason.
    	* sentinel-frame.c (sentinel_frame_prev_register): Use the value
    	type's size, not the register's.
    	(sentinel_frame_unwind): Install default_frame_unwind_stop_reason.
    
    	* alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind): Install
    	default_frame_unwind_stop_reason.
    	* alpha-tdep.c (alpha_sigtramp_frame_unwind)
    	(alpha_heuristic_frame_unwind): Ditto.
    	* amd64obsd-tdep.c (amd64obsd_trapframe_unwind): Ditto.
    	* arm-tdep.c (arm_prologue_unwind, arm_stub_unwind): Ditto.
    	* avr-tdep.c (avr_frame_unwind): Ditto.
    	* cris-tdep.c (cris_sigtramp_frame_unwind, cris_frame_unwind):
    	Ditto.
    	* frv-linux-tdep.c (frv_linux_sigtramp_frame_unwind): Ditto.
    	* frv-tdep.c (frv_frame_unwind): Ditto.
    	* h8300-tdep.c (h8300_frame_unwind): Ditto.
    	* hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind): Ditto.
    	* hppa-linux-tdep.c (hppa_linux_sigtramp_frame_unwind): Ditto.
    	* hppa-tdep.c (hppa_frame_unwind, hppa_fallback_frame_unwind)
    	(hppa_stub_frame_unwind): Ditto.
    	* i386obsd-tdep.c (i386obsd_trapframe_unwind): Ditto.
    	* ia64-tdep.c (ia64_frame_unwind, ia64_sigtramp_frame_unwind)
    	(ia64_libunwind_frame_unwind)
    	(ia64_libunwind_sigtramp_frame_unwind): Ditto.
    	* iq2000-tdep.c (iq2000_frame_unwind): Ditto.
    	* lm32-tdep.c (lm32_frame_unwind): Ditto.
    	* m32c-tdep.c (m32c_unwind): Ditto.
    	* m32r-linux-tdep.c (m32r_linux_sigtramp_frame_unwind): Ditto.
    	* m32r-tdep.c (m32r_frame_unwind): Ditto.
    	* m68hc11-tdep.c (m68hc11_frame_unwind): Ditto.
    	* m68k-tdep.c (m68k_frame_unwind): Ditto.
    	* m68klinux-tdep.c (m68k_linux_sigtramp_frame_unwind): Ditto.
    	* m88k-tdep.c (m88k_frame_unwind): Ditto.
    	* mep-tdep.c (mep_frame_unwind): Ditto.
    	* microblaze-tdep.c (microblaze_frame_unwind): Ditto.
    	* mips-tdep.c (mips_insn16_frame_unwind, mips_insn32_frame_unwind)
    	(mips_stub_frame_unwind): Ditto.
    	* mn10300-tdep.c (mn10300_frame_unwind): Ditto.
    	* moxie-tdep.c (moxie_frame_unwind): Ditto.
    	* mt-tdep.c (mt_frame_unwind): Ditto.
    	* ppc-linux-tdep.c (ppu2spu_unwind): Ditto.
    	* ppcobsd-tdep.c (ppcobsd_sigtramp_frame_unwind): Ditto.
    	* rs6000-tdep.c (rs6000_frame_unwind): Ditto.
    	* s390-tdep.c (s390_frame_unwind, s390_stub_frame_unwind)
    	(s390_sigtramp_frame_unwind): Ditto.
    	* score-tdep.c (score_prologue_unwind): Ditto.
    	* sh-tdep.c (sh_frame_unwind): Ditto.
    	* sh64-tdep.c (sh64_frame_unwind): Ditto.
    	* sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_unwind): Ditto.
    	* sparc-tdep.c (sparc32_frame_unwind): Ditto.
    	* sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind): Ditto.
    	* sparc64-tdep.c (sparc64_frame_unwind): Ditto.
    	* sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_unwind): Ditto.
    	* sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_unwind): Ditto.
    	* sparc64obsd-tdep.c (sparc64obsd_frame_unwind)
    	(sparc64obsd_trapframe_unwind): Ditto.
    	* sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_unwind): Ditto.
    	* sparcobsd-tdep.c (sparc32obsd_sigtramp_frame_unwind): Ditto.
    	* spu-tdep.c (spu_frame_unwind, spu2ppu_unwind): Ditto.
    	* v850-tdep.c (v850_frame_unwind): Ditto.
    	* vax-tdep.c (vax_frame_unwind): Ditto.
    	* vaxobsd-tdep.c (vaxobsd_sigtramp_frame_unwind): Ditto.
    	* xstormy16-tdep.c (frame_unwind xstormy16_frame_unwind): Ditto.
    	* xtensa-tdep.c (xtensa_unwind): Ditto.

commit 661cfd57e3fe0db53f638ef5a2defcfa07657788
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Mar 18 18:51:08 2011 +0000

    	gdb/testsuite/
    	* gdb.trace/unavailable.cc (args_test_func, local_test_func)
    	(reglocal_test_func, statlocal_test_func): New functions.
    	(globals_test_func): Call new functions.
    	* gdb.trace/unavailable.exp (gdb_collect_args_test)
    	(gdb_collect_locals_test): New procedure.
    	(gdb_trace_collection_test): Call new procedures.

commit b1b780d5824443e4d4a0fb3ed6738d9908ef6782
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Mar 18 18:50:19 2011 +0000

    	gdb/
    	* tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Assume
    	there's always a frame.  Use get_frame_pc_if_available instead of
    	get_frame_pc, and if there's no PC available, don't look up a
    	symtab.

commit 54471ddd7cceafe5ecbea8a7d63c35a960c8d899
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Mar 18 18:48:56 2011 +0000

    	gdb/
    	* stack.c (print_frame_local_vars, print_frame_arg_vars): Handle
    	unavailable PC.

commit bf729a7b2ff73fdef8d5e1c21f6a3bba0cead5e6
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Mar 18 18:47:56 2011 +0000

    	gdb/
    	* tracepoint.c (set_traceframe_context): Handle unavailable PC
    	gracefully.

commit 2084af3287d9e272f3ef4c3ed940b9dd5daf6854
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Mar 18 18:46:57 2011 +0000

    Whoops!  Actually put the ChangeLog entries in the correct file...
    
    2011-03-18  Pedro Alves  <pedro@codesourcery.com>
    
    	* frame.h (frame_unwind_caller_pc_if_available): Declare.
    	* frame.c (frame_unwind_caller_pc_if_available): New.
    	* stack.c (frame_info): Handle unavailable PC.
    
    2011-03-18  Pedro Alves  <pedro@codesourcery.com>
    
    	* frame.c (frame_unwind_pc): Rename to ...
    	(frame_unwind_pc_if_available): ... this.  New `pc' output
    	parameter.  Change return type to int.  Gracefully handle
    	gdbarch_unwind_pc throwing NOT_AVAILABLE_ERROR.  Return 0 if that
    	happened, or 1 otherwise.
    	(frame_unwind_pc): Reimplement on top of
    	frame_unwind_pc_if_available.
    	(get_frame_func): Rename to ...
    	(get_frame_func_if_available): New `pc' output parameter.  Change
    	return type to int.  Gracefully handle the PC not being available.
    	(get_frame_func): Reimplement on top of
    	get_frame_func_if_available.
    	(select_frame): Handle the PC being unavailable.
    	(get_prev_frame): Handle the PC being unavailable.
    	(get_frame_pc_if_available): New.
    	(get_frame_address_in_block_if_available): New.
    	(find_frame_sal): Handle the frame PC not being available.
    	* frame.h (get_frame_pc_if_available): Declare.
    	(get_frame_address_in_block_if_available): Declare.
    	(get_frame_func_if_available): Declare.
    	* stack.c (print_frame_info): Handle the PC being unavailable.
    	(find_frame_funname): Ditto.
    	(print_frame): Handle the PC being unavailable.
    	(get_frame_language): Ditto.
    	* blockframe.c (get_frame_block): Ditto.
    	* macroscope.c (default_macro_scope): Ditto.
    	* tui/tui-stack.c (tui_show_frame_info): Ditto.
    
    2011-03-18  Pedro Alves  <pedro@codesourcery.com>
    
    	* dwarf2loc.c (dwarf2_evaluate_loc_desc): Catch
    	NOT_AVAILABLE_ERROR when evaluating the location expression.
    
    2011-03-18  Pedro Alves  <pedro@codesourcery.com>
    
    	* dwarf2loc.c (read_pieced_value): Handle get_frame_register_bytes
    	returning that the register piece is unavailable/optimized out.
    	(write_pieced_value): Handle get_frame_register_bytes returning
    	that the register piece is unavailable/optimized out when doing a
    	read-modify write of a bitfield.
    	* findvar.c (value_from_register): Handle get_frame_register_bytes
    	returning that the register piece is unavailable/optimized out.
    	* frame.c (get_frame_register_bytes): New parameters `optimizedp'
    	and `unavailablep'.  Throw error on bad debug info.  Use
    	frame_register instead of frame_register_read, to fill in the new
    	arguments.
    	* frame.h (get_frame_register_bytes): New parameters `optimizedp'
    	and `unavailablep'.
    	* valops.c: (value_assign): Adjust, and handle
    	get_frame_register_bytes failing.
    	* spu-tdep.c: Include exceptions.h.
    	(spu_software_single_step): Adjust, and handle
    	get_frame_register_bytes failing.
    	(spu_get_longjmp_target): Ditto.
    	* gdbarch.sh (register_to_value): Change to return int.  New
    	parameters `optimizedp' and `unavailablep'.
    	* gdbarch.h, gdbarch.c: Regenerate.
    	* i386-tdep.c (i386_register_to_value): Adjust to new
    	gdbarch_register_to_value interface.
    	* i387-tdep.c (i387_register_to_value): Ditto.
    	* i387-tdep.h (i387_register_to_value): Ditto.
    	* alpha-tdep.c (alpha_register_to_value): Ditto.
    	* ia64-tdep.c (ia64_register_to_value): Ditto.
    	* m68k-tdep.c (m68k_register_to_value): Ditto.
    	* mips-tdep.c (mips_register_to_value): Ditto.
    	* rs6000-tdep.c (rs6000_register_to_value): Ditto.

commit 401e962372671eb2ff085a18254ea74a156c67e5
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Mar 18 18:45:30 2011 +0000

    	gdb/
    	* frame.h (frame_unwind_caller_pc_if_available): Declare.
    	* frame.c (frame_unwind_caller_pc_if_available): New.
    	* stack.c (frame_info): Handle unavailable PC.

commit f86b56bf0dbd0ae8442aadc67aa63d3c78c57c1f
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Mar 18 18:44:33 2011 +0000

    	gdb/
    	* frame.c (frame_unwind_pc): Rename to ...
    	(frame_unwind_pc_if_available): ... this.  New `pc' output
    	parameter.  Change return type to int.  Gracefully handle
    	gdbarch_unwind_pc throwing NOT_AVAILABLE_ERROR.  Return 0 if that
    	happened, or 1 otherwise.
    	(frame_unwind_pc): Reimplement on top of
    	frame_unwind_pc_if_available.
    	(get_frame_func): Rename to ...
    	(get_frame_func_if_available): New `pc' output parameter.  Change
    	return type to int.  Gracefully handle the PC not being available.
    	(get_frame_func): Reimplement on top of
    	get_frame_func_if_available.
    	(select_frame): Handle the PC being unavailable.
    	(get_prev_frame): Handle the PC being unavailable.
    	(get_frame_pc_if_available): New.
    	(get_frame_address_in_block_if_available): New.
    	(find_frame_sal): Handle the frame PC not being available.
    	* frame.h (get_frame_pc_if_available): Declare.
    	(get_frame_address_in_block_if_available): Declare.
    	(get_frame_func_if_available): Declare.
    	* stack.c (print_frame_info): Handle the PC being unavailable.
    	(find_frame_funname): Ditto.
    	(print_frame): Handle the PC being unavailable.
    	(get_frame_language): Ditto.
    	* blockframe.c (get_frame_block): Ditto.
    	* macroscope.c (default_macro_scope): Ditto.
    	* tui/tui-stack.c (tui_show_frame_info): Ditto.

commit 50c1f7174d688df6a3e1590b666b14d17efc5000
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Mar 18 18:43:32 2011 +0000

    	gdb/
    	* dwarf2loc.c (dwarf2_evaluate_loc_desc): Catch
    	NOT_AVAILABLE_ERROR when evaluating the location expression.

commit 4a8a3091dd993a919822dc434546f8959d16a22c
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Mar 18 18:42:40 2011 +0000

    	gdb/
    	* dwarf2loc.c (read_pieced_value): Handle get_frame_register_bytes
    	returning that the register piece is unavailable/optimized out.
    	(write_pieced_value): Handle get_frame_register_bytes returning
    	that the register piece is unavailable/optimized out when doing a
    	read-modify write of a bitfield.
    	* findvar.c (value_from_register): Handle get_frame_register_bytes
    	returning that the register piece is unavailable/optimized out.
    	* frame.c (get_frame_register_bytes): New parameters `optimizedp'
    	and `unavailablep'.  Throw error on bad debug info.  Use
    	frame_register instead of frame_register_read, to fill in the new
    	arguments.
    	* frame.h (get_frame_register_bytes): New parameters `optimizedp'
    	and `unavailablep'.
    	* valops.c: (value_assign): Adjust, and handle
    	get_frame_register_bytes failing.
    	* spu-tdep.c: Include exceptions.h.
    	(spu_software_single_step): Adjust, and handle
    	get_frame_register_bytes failing.
    	(spu_get_longjmp_target): Ditto.
    	* gdbarch.sh (register_to_value): Change to return int.  New
    	parameters `optimizedp' and `unavailablep'.
    	* gdbarch.h, gdbarch.c: Regenerate.
    	* i386-tdep.c (i386_register_to_value): Adjust to new
    	gdbarch_register_to_value interface.
    	* i387-tdep.c (i387_register_to_value): Ditto.
    	* i387-tdep.h (i387_register_to_value): Ditto.
    	* alpha-tdep.c (alpha_register_to_value): Ditto.
    	* ia64-tdep.c (ia64_register_to_value): Ditto.
    	* m68k-tdep.c (m68k_register_to_value): Ditto.
    	* mips-tdep.c (mips_register_to_value): Ditto.
    	* rs6000-tdep.c (rs6000_register_to_value): Ditto.

commit ef749a8958424d7fde1db60719cdc6425831f9de
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Mar 18 18:41:35 2011 +0000

    	gdb/
    	* findvar.c (value_of_register): Mark the value as unavailable, if
    	the register is unavailable.
    	* frame.h (frame_register_unwind): New `unavailablep' parameter.
    	(frame_register): New `unavailablep' parameter.
    	(frame_register_read): Update comment.
    	* frame.c (frame_register_unwind): New `unavailablep' parameter.
    	Set it if the register is unavailable.  If the register is
    	unavailable, clear the output buffer.
    	(frame_register): New `unavailablep' parameter.  Pass it down.
    	(frame_unwind_register): Adjust.
    	(put_frame_register): Adjust.
    	(frame_register_read): Adjust.  Also return false if the register
    	is not available.
    	(frame_register_unwind_location): Adjust.
    	* sentinel-frame.c (sentinel_frame_prev_register): If the register
    	is unavailable, mark the value accordingly.
    	* stack.c (frame_info): Handle unavailable registers.
    
    	gdb/testsuite/
    	* gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
    	(test_register, test_register_unavailable): New procedures.
    	(gdb_unavailable_registers_test): New procedure.
    	(gdb_trace_collection_test): Call it.

commit b9dea663f5c79d3d7a9554da1554bb00a52e4b5e
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Mar 18 18:40:05 2011 +0000

    	gdb/
    	* mi/mi-main.c (register_changed_p): Handle REG_UNAVAILABLE, and
    	simplify, using regcache_cooked_read.

commit 734db55da420a9ad1b8d73595f572c2daae04a6c
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Mar 18 18:38:38 2011 +0000

    	gdb/
    	* regcache.h (regcache_raw_read, regcache_raw_read_signed)
    	(regcache_raw_read_unsigned, regcache_raw_read_signed)
    	(regcache_raw_read_unsigned, regcache_raw_read_part)
    	(regcache_cooked_read, regcache_cooked_read_signed)
    	(regcache_cooked_read_unsigned, regcache_cooked_read_part)
    	(regcache_cooked_read_ftype): Change return to enum
    	register_status.
    	* regcache.c: Include exceptions.h
    	(regcache_save): Adjust to handle REG_UNAVAILABLE registers.
    	(do_cooked_read): Change return to enum register_status.  Always
    	forward to regcache_cooked_read.
    	(regcache_raw_read): Change return to enum register_status.  If
    	the register is not REG_VALID, memset the buffer.  Return the
    	register's status.
    	(regcache_raw_read_signed): Handle non-REG_VALID registers and
    	return the register's status.
    	(regcache_raw_read_unsigned): Ditto.
    	(regcache_cooked_read): Change return to enum register_status.
    	Assert that with read-only regcaches, the register's status must
    	be known.  If the regcache is read-only, and the register is not
    	REG_VALID, memset the buffer.  Return the register's status.
    	(regcache_cooked_read_signed): Change return to enum
    	register_status.  Handle non-REG_VALID registers and return the
    	register's status.
    	(regcache_cooked_read_unsigned): Change return to enum
    	register_status.  Handle non-REG_VALID registers and return the
    	register's status.
    	(regcache_xfer_part, regcache_raw_read_part)
    	(regcache_cooked_read_part): Change return to enum
    	register_status.  Return the register's status.
    	(regcache_read_pc): Throw NOT_AVAILABLE_ERROR if the register is
    	unavailable.
    	(regcache_dump): Handle unavailable cooked registers.
    	* frame.c (do_frame_register_read): Adjust interface to match
    	regcache_cooked_read_ftype.
    	* gdbarch.sh (pseudo_register_read): Change return to enum
    	register_status.
    	* gdbarch.h, gdbarch.c: Regenerate.
    
    	* i386-tdep.h (i386_pseudo_register_read): Change return to enum
    	register_status.
    	* i386-tdep.c (i386_pseudo_register_read): Change return to enum
    	register_status.  If reading a raw register indicates the raw
    	register is not valid, return the raw register's status,
    	otherwise, return REG_VALID.
    	* amd64-tdep.c (amd64_pseudo_register_read): Change return to enum
    	register_status.  Handle non-REG_VALID raw registers and return
    	the register's status.
    	* arm-tdep.c (arm_neon_quad_read)
    	(arm_pseudo_read): Change return to enum register_status.  Handle
    	non-REG_VALID raw registers and return the register's status.
    	* avr-tdep.c (avr_pseudo_register_read): Ditto.
    	* frv-tdep.c (frv_pseudo_register_read): Ditto.
    	* h8300-tdep.c (h8300_pseudo_register_read): Ditto.
    	* hppa-tdep.c (hppa_pseudo_register_read): Ditto.
    	* m32c-tdep.c (m32c_move_reg_t): Change return to enum
    	register_status.
    	(m32c_raw_read, m32c_raw_write, m32c_banked_read)
    	(m32c_banked_write, m32c_sb_read, m32c_sb_write, m32c_part_read)
    	(m32c_part_write, m32c_cat_read, m32c_cat_write)
    	(m32c_r3r2r1r0_read, m32c_r3r2r1r0_write)
    	(m32c_pseudo_register_read): Change return to enum
    	register_status.  Adjust.
    	* m68hc11-tdep.c (m68hc11_pseudo_register_read): Change return to
    	enum register_status.  Return the register's status.
    	* mep-tdep.c (mep_pseudo_cr32_read): Change return to enum
    	register_status.  Return the register's status.
    	(mep_pseudo_cr64_read, mep_pseudo_register_read): Ditto.
    	* mips-tdep.c (mips_pseudo_register_read): Ditto.
    	* mt-tdep.c (mt_pseudo_register_read): Ditto.
    	* rs6000-tdep.c (move_ev_register_func): New typedef.
    	(e500_move_ev_register): Use it.  Change return to enum
    	register_status.  Return the register's status.
    	(do_regcache_raw_read): New function.
    	(do_regcache_raw_write): New function.
    	(e500_pseudo_register_read): Change return to enum
    	register_status.  Return the register's status.  Use
    	do_regcache_raw_read.
    	(e500_pseudo_register_write): Adjust.  Use do_regcache_raw_write.
    	(dfp_pseudo_register_read): Change return to enum register_status.
    	Return the register's status.
    	(vsx_pseudo_register_read): Ditto.
    	(efpr_pseudo_register_read): Ditto.
    	(rs6000_pseudo_register_read): Ditto.
    	* s390-tdep.c (s390_pseudo_register_read): Change return to enum
    	register_status.  Return the register's status.
    	* sh64-tdep.c (pseudo_register_read_portions): New function.
    	(sh64_pseudo_register_read): Change return to enum
    	register_status.  Use pseudo_register_read_portions.  Return the
    	register's status.
    	* ia64-tdep.c (ia64_pseudo_register_read): Change return to enum
    	register_status.  Return the register's status.
    	* sh-tdep.c (pseudo_register_read_portions): New function.
    	(sh_pseudo_register_read): Change return to enum register_status.
    	Use pseudo_register_read_portions.  Return the register's status.
    	* sparc-tdep.c (sparc32_pseudo_register_read): Change return to
    	enum register_status.  Return the register's status.
    	* sparc64-tdep.c (sparc64_pseudo_register_read): Ditto.
    	* spu-tdep.c (spu_pseudo_register_read_spu)
    	(spu_pseudo_register_read): Ditto.
    	* xtensa-tdep.c (xtensa_register_read_masked)
    	(xtensa_pseudo_register_read): Ditto.
    	* bfin-tdep.c (bfin_pseudo_register_read): Ditto.

commit 9597e4d79bb5a4d999dc100cda756ac2e8e7cb54
Author: David Edelsohn <dje@watson.ibm.com>
Date:   Fri Mar 18 17:43:20 2011 +0000

            * config.guess: Update to version 2011-02-02
            * config.sub: Update to version 2011-02-24

commit d6b835049556290b1f4ce6306f0debe31cb82502
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Fri Mar 18 16:09:54 2011 +0000

    	* python/py-value.c (valpy_getitem): Fix formatting of error function
    	call.

commit 428ade676257e749ebefe65a7c2198998d2e41aa
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Fri Mar 18 14:22:29 2011 +0000

    	ARI fixes: Add missing internationalization markups throughout
    	C source files.
    	* darwin-nat-info.c: Ditto.
    	* record.c: Ditto.
    	* remote.c: Ditto.
    	* mi/mi-main.c: Ditto.

commit f9ccd4c7b9901c4c07909d43c0886d03a28e95a3
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Fri Mar 18 13:51:37 2011 +0000

    	ARI fixes: Add missing internationalization markups throughout
    	yacc files.
    	* c-exp.y: Ditto.
    	* cp-name-parser.y: Ditto.
    	* f-exp.y: Ditto.
    	* m2-exp.y: Ditto.
    	* objc-exp.y: Ditto.
    	* p-exp.y: Ditto.

commit 0448971e0af374d76fdd4a25d61440b375a10eb6
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Fri Mar 18 13:09:46 2011 +0000

    	ARI fixes: Messages should have no trailing new lines.
    	* darwin-nat.c (mach_check_error): Remove trailing new line from
    	warning function call message.
    	* record.c (bfdcore_read): Idem for error call.

commit 62a3a0794651dc8c15e89ec4b410f84d3fa56f03
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Fri Mar 18 13:08:47 2011 +0000

     Add missing ChangeLog entry

commit ff8cf7f718552d36eed144ecd92334c02f8c20f8
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Fri Mar 18 13:03:30 2011 +0000

    	* common/signals.c (target_signal_from_host): Add _ markup to error
    	function call message.
    	(target_signal_to_host): Add _ markup and remove trailing new line
    	from warning call message.
    	(target_signal_from_command): Add _ markup to error function call
    	message.
    	* gdbserver/server.h (Macro _): Define it if not available.

commit fd9fc622e393ff0204446df3b92673fdc2a5cb08
Author: pmuldoon <pmuldoon>
Date:   Fri Mar 18 08:44:44 2011 +0000

    2011-03-18  Phil Muldoon  <pmuldoon@redhat.com>
    
            PR python/12149
    
    	* python/python.c (gdbpy_write): Accept a stream argument and
    	operate to the appropriate stream.
    	(gdbpy_flush): Likewise.
    	(_initialize_python): Add stream constants.
    	(finish_python_initialization): Add GdbOutputErrorFile class.
    
    2011-03-18  Phil Muldoon  <pmuldoon@redhat.com>
    
            PR python/12149
    
    	* gdb.texinfo (Basic Python): Update gdb.write and flush text.
    
    
    2011-03-18  Phil Muldoon  <pmuldoon@redhat.com>
    
            PR python/12149
    
    	* gdb.python/python.exp: Add gdb.write tests.

commit 181abcd871430c0a6e3346eda89e72d6645a0120
Author: kcy <kcy>
Date:   Fri Mar 18 00:42:24 2011 +0000

    2011-03-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
    
    	* MAINTAINERS: Add myself as a write-after-approval maintainer.

commit 668b4b04f97211730132a59215b60849e9b803be
Author: kcy <kcy>
Date:   Fri Mar 18 00:27:47 2011 +0000

    Fix relocation of jump and call instructions (used when inserting fast
    tracepoints).
    
    2011-03-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
    
            * amd64-tdep.c (amd64_relocate_instruction): Fix ordering of arguments
            to store_signed_integer.  Add debug message when relocating CALL
            instructions.  Fix formatting of debug message.
            * i386-tdep.c (i386_relocate_instruction): Ditto.

commit dcc23d8511269c700b6812263ff1aaf19e1f8a1f
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Mar 18 00:00:33 2011 +0000

    *** empty log message ***

commit a5c9b0e93e84cd8994d681c9cbeedf5db1b1c8f2
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Mar 17 23:00:06 2011 +0000

    daily update

commit 924877991d3262139bc3dfeeff72d9e3504e0f18
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Thu Mar 17 19:03:30 2011 +0000

    sim: bfin: check for kill/pread
    
    If the host system (like Windows) doesn't support these functions,
    then make sure we don't use them.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                               |    5 +
 bfd/version.h                           |    2 +-
 config.guess                            |  215 ++++++++--------
 config.sub                              |   66 +++--
 gdb/ChangeLog                           |  433 +++++++++++++++++++++++++++++++
 gdb/MAINTAINERS                         |    1 +
 gdb/alpha-mdebug-tdep.c                 |    1 +
 gdb/alpha-tdep.c                        |   27 ++-
 gdb/amd64-tdep.c                        |  198 +++++++++++----
 gdb/amd64obsd-tdep.c                    |    1 +
 gdb/arm-tdep.c                          |   34 ++-
 gdb/avr-tdep.c                          |   10 +-
 gdb/bfin-tdep.c                         |   14 +-
 gdb/blockframe.c                        |    5 +-
 gdb/c-exp.y                             |   36 ++--
 gdb/common/signals.c                    |   10 +-
 gdb/cp-name-parser.y                    |   10 +-
 gdb/cris-tdep.c                         |    2 +
 gdb/darwin-nat-info.c                   |    2 +-
 gdb/darwin-nat.c                        |    2 +-
 gdb/doc/ChangeLog                       |    6 +
 gdb/doc/gdb.texinfo                     |   60 ++++-
 gdb/dummy-frame.c                       |    1 +
 gdb/dwarf2-frame.c                      |   81 +++++--
 gdb/dwarf2loc.c                         |   52 ++++-
 gdb/f-exp.y                             |   12 +-
 gdb/findvar.c                           |   34 ++-
 gdb/frame-unwind.c                      |   37 +++-
 gdb/frame-unwind.h                      |   11 +
 gdb/frame.c                             |  323 ++++++++++++++++++-----
 gdb/frame.h                             |   64 ++++-
 gdb/frv-linux-tdep.c                    |    1 +
 gdb/frv-tdep.c                          |   30 ++-
 gdb/gdbarch.c                           |   10 +-
 gdb/gdbarch.h                           |    8 +-
 gdb/gdbarch.sh                          |    4 +-
 gdb/gdbserver/ChangeLog                 |    4 +
 gdb/gdbserver/server.h                  |    6 +
 gdb/h8300-tdep.c                        |    9 +-
 gdb/hppa-hpux-tdep.c                    |    1 +
 gdb/hppa-linux-tdep.c                   |    1 +
 gdb/hppa-tdep.c                         |   22 +-
 gdb/i386-tdep.c                         |  264 ++++++++++++++-----
 gdb/i386-tdep.h                         |    7 +-
 gdb/i386obsd-tdep.c                     |    1 +
 gdb/i387-tdep.c                         |   15 +-
 gdb/i387-tdep.h                         |    5 +-
 gdb/ia64-tdep.c                         |   70 ++++-
 gdb/inline-frame.c                      |    1 +
 gdb/iq2000-tdep.c                       |    1 +
 gdb/lm32-tdep.c                         |    1 +
 gdb/m2-exp.y                            |   42 ++--
 gdb/m32c-tdep.c                         |   97 +++++---
 gdb/m32r-linux-tdep.c                   |    1 +
 gdb/m32r-tdep.c                         |    1 +
 gdb/m68hc11-tdep.c                      |   12 +-
 gdb/m68k-tdep.c                         |   18 +-
 gdb/m68klinux-tdep.c                    |    1 +
 gdb/m88k-tdep.c                         |    1 +
 gdb/macroscope.c                        |    7 +-
 gdb/mep-tdep.c                          |   28 ++-
 gdb/mi/mi-main.c                        |  110 ++++----
 gdb/microblaze-tdep.c                   |    1 +
 gdb/mips-tdep.c                         |   45 +++-
 gdb/mn10300-tdep.c                      |    1 +
 gdb/moxie-tdep.c                        |    1 +
 gdb/mt-tdep.c                           |   30 ++-
 gdb/objc-exp.y                          |   50 ++--
 gdb/p-exp.y                             |   36 ++--
 gdb/ppc-linux-tdep.c                    |    1 +
 gdb/ppcobsd-tdep.c                      |    1 +
 gdb/python/py-value.c                   |    2 +-
 gdb/python/python.c                     |   95 ++++++-
 gdb/record.c                            |   10 +-
 gdb/regcache.c                          |  183 ++++++++-----
 gdb/regcache.h                          |   62 +++--
 gdb/remote.c                            |    4 +-
 gdb/rs6000-tdep.c                       |  133 +++++++----
 gdb/s390-tdep.c                         |   57 +++--
 gdb/score-tdep.c                        |    1 +
 gdb/sentinel-frame.c                    |    9 +-
 gdb/sh-tdep.c                           |   64 ++++--
 gdb/sh64-tdep.c                         |  109 +++++---
 gdb/sparc-sol2-tdep.c                   |    1 +
 gdb/sparc-tdep.c                        |   11 +-
 gdb/sparc64-sol2-tdep.c                 |    1 +
 gdb/sparc64-tdep.c                      |   42 +++-
 gdb/sparc64fbsd-tdep.c                  |    1 +
 gdb/sparc64nbsd-tdep.c                  |    1 +
 gdb/sparc64obsd-tdep.c                  |    2 +
 gdb/sparcnbsd-tdep.c                    |    1 +
 gdb/sparcobsd-tdep.c                    |    1 +
 gdb/spu-tdep.c                          |   62 +++--
 gdb/stack.c                             |  111 ++++++--
 gdb/testsuite/ChangeLog                 |   22 ++
 gdb/testsuite/gdb.python/python.exp     |    8 +
 gdb/testsuite/gdb.trace/unavailable.cc  |  126 +++++++++
 gdb/testsuite/gdb.trace/unavailable.exp |  227 ++++++++++++++++
 gdb/tracepoint.c                        |   32 +--
 gdb/tui/tui-hooks.c                     |   38 ++--
 gdb/tui/tui-stack.c                     |   17 +-
 gdb/v850-tdep.c                         |    1 +
 gdb/valops.c                            |   12 +-
 gdb/vax-tdep.c                          |    1 +
 gdb/vaxobsd-tdep.c                      |    1 +
 gdb/version.in                          |    2 +-
 gdb/xstormy16-tdep.c                    |    1 +
 gdb/xtensa-tdep.c                       |   37 ++-
 sim/bfin/ChangeLog                      |    8 +
 sim/bfin/config.in                      |    6 +
 sim/bfin/configure                      |    2 +-
 sim/bfin/configure.ac                   |    2 +-
 sim/bfin/interp.c                       |    9 +
 113 files changed, 3172 insertions(+), 1043 deletions(-)

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 1f7648c..ee4c378 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-18  David Edelsohn  <dje.gcc@gmail.com>
+
+	* config.guess: Update to version 2011-02-02
+	* config.sub: Update to version 2011-02-24
+	
 2011-03-03  Sebastian Pop  <sebastian.pop@amd.com>
 
         * configure.ac: Adjust test of with_ppl.
diff --git a/bfd/version.h b/bfd/version.h
index aa6f296..8c54415 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110317
+#define BFD_VERSION_DATE 20110319
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/config.guess b/config.guess
index 115f944..187cd54 100755
--- a/config.guess
+++ b/config.guess
@@ -1,10 +1,10 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
-#   Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+#   2011 Free Software Foundation, Inc.
 
-timestamp='2010-04-03'
+timestamp='2011-02-02'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -57,7 +57,7 @@ GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
 Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
@@ -92,7 +92,7 @@ if test $# != 0; then
   exit 1
 fi
 
-trap 'exit 1' HUP INT TERM
+trap 'exit 1' 1 2 15
 
 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a
 # compiler to aid in system detection is discouraged as it requires
@@ -106,7 +106,7 @@ trap 'exit 1' HUP INT TERM
 
 set_cc_for_build='
 trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
-trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" HUP INT PIPE TERM ;
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
 : ${TMPDIR=/tmp} ;
  { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
  { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
@@ -181,7 +181,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 		fi
 		;;
 	    *)
-	        os=netbsd
+		os=netbsd
 		;;
 	esac
 	# The OS release
@@ -224,7 +224,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
 		;;
 	*5.*)
-	        UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
 		;;
 	esac
 	# According to Compaq, /usr/sbin/psrinfo has been available on
@@ -270,7 +270,10 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 	# A Xn.n version is an unreleased experimental baselevel.
 	# 1.2 uses "1.2" for uname -r.
 	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-	exit ;;
+	# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
+	exitcode=$?
+	trap '' 0
+	exit $exitcode ;;
     Alpha\ *:Windows_NT*:*)
 	# How do we know it's Interix rather than the generic POSIX subsystem?
 	# Should we change UNAME_MACHINE based on the output of uname instead
@@ -296,7 +299,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 	echo s390-ibm-zvmoe
 	exit ;;
     *:OS400:*:*)
-        echo powerpc-ibm-os400
+	echo powerpc-ibm-os400
 	exit ;;
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
 	echo arm-acorn-riscix${UNAME_RELEASE}
@@ -395,23 +398,23 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
     # MiNT.  But MiNT is downward compatible to TOS, so this should
     # be no problem.
     atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
-        echo m68k-atari-mint${UNAME_RELEASE}
+	echo m68k-atari-mint${UNAME_RELEASE}
 	exit ;;
     atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
 	echo m68k-atari-mint${UNAME_RELEASE}
-        exit ;;
+	exit ;;
     *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
-        echo m68k-atari-mint${UNAME_RELEASE}
+	echo m68k-atari-mint${UNAME_RELEASE}
 	exit ;;
     milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
-        echo m68k-milan-mint${UNAME_RELEASE}
-        exit ;;
+	echo m68k-milan-mint${UNAME_RELEASE}
+	exit ;;
     hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
-        echo m68k-hades-mint${UNAME_RELEASE}
-        exit ;;
+	echo m68k-hades-mint${UNAME_RELEASE}
+	exit ;;
     *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
-        echo m68k-unknown-mint${UNAME_RELEASE}
-        exit ;;
+	echo m68k-unknown-mint${UNAME_RELEASE}
+	exit ;;
     m68k:machten:*:*)
 	echo m68k-apple-machten${UNAME_RELEASE}
 	exit ;;
@@ -481,8 +484,8 @@ EOF
 	echo m88k-motorola-sysv3
 	exit ;;
     AViiON:dgux:*:*)
-        # DG/UX returns AViiON for all architectures
-        UNAME_PROCESSOR=`/usr/bin/uname -p`
+	# DG/UX returns AViiON for all architectures
+	UNAME_PROCESSOR=`/usr/bin/uname -p`
 	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
 	then
 	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
@@ -495,7 +498,7 @@ EOF
 	else
 	    echo i586-dg-dgux${UNAME_RELEASE}
 	fi
- 	exit ;;
+	exit ;;
     M88*:DolphinOS:*:*)	# DolphinOS (SVR3)
 	echo m88k-dolphin-sysv3
 	exit ;;
@@ -552,7 +555,7 @@ EOF
 		echo rs6000-ibm-aix3.2
 	fi
 	exit ;;
-    *:AIX:*:[456])
+    *:AIX:*:[4567])
 	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
 	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
 		IBM_ARCH=rs6000
@@ -595,52 +598,52 @@ EOF
 	    9000/[678][0-9][0-9])
 		if [ -x /usr/bin/getconf ]; then
 		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
-                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
-                    case "${sc_cpu_version}" in
-                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
-                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
-                      532)                      # CPU_PA_RISC2_0
-                        case "${sc_kernel_bits}" in
-                          32) HP_ARCH="hppa2.0n" ;;
-                          64) HP_ARCH="hppa2.0w" ;;
+		    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
+		    case "${sc_cpu_version}" in
+		      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
+		      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
+		      532)                      # CPU_PA_RISC2_0
+			case "${sc_kernel_bits}" in
+			  32) HP_ARCH="hppa2.0n" ;;
+			  64) HP_ARCH="hppa2.0w" ;;
 			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
-                        esac ;;
-                    esac
+			esac ;;
+		    esac
 		fi
 		if [ "${HP_ARCH}" = "" ]; then
 		    eval $set_cc_for_build
-		    sed 's/^              //' << EOF >$dummy.c
+		    sed 's/^		//' << EOF >$dummy.c
 
-              #define _HPUX_SOURCE
-              #include <stdlib.h>
-              #include <unistd.h>
+		#define _HPUX_SOURCE
+		#include <stdlib.h>
+		#include <unistd.h>
 
-              int main ()
-              {
-              #if defined(_SC_KERNEL_BITS)
-                  long bits = sysconf(_SC_KERNEL_BITS);
-              #endif
-                  long cpu  = sysconf (_SC_CPU_VERSION);
+		int main ()
+		{
+		#if defined(_SC_KERNEL_BITS)
+		    long bits = sysconf(_SC_KERNEL_BITS);
+		#endif
+		    long cpu  = sysconf (_SC_CPU_VERSION);
 
-                  switch (cpu)
-              	{
-              	case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
-              	case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
-              	case CPU_PA_RISC2_0:
-              #if defined(_SC_KERNEL_BITS)
-              	    switch (bits)
-              		{
-              		case 64: puts ("hppa2.0w"); break;
-              		case 32: puts ("hppa2.0n"); break;
-              		default: puts ("hppa2.0"); break;
-              		} break;
-              #else  /* !defined(_SC_KERNEL_BITS) */
-              	    puts ("hppa2.0"); break;
-              #endif
-              	default: puts ("hppa1.0"); break;
-              	}
-                  exit (0);
-              }
+		    switch (cpu)
+			{
+			case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
+			case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
+			case CPU_PA_RISC2_0:
+		#if defined(_SC_KERNEL_BITS)
+			    switch (bits)
+				{
+				case 64: puts ("hppa2.0w"); break;
+				case 32: puts ("hppa2.0n"); break;
+				default: puts ("hppa2.0"); break;
+				} break;
+		#else  /* !defined(_SC_KERNEL_BITS) */
+			    puts ("hppa2.0"); break;
+		#endif
+			default: puts ("hppa1.0"); break;
+			}
+		    exit (0);
+		}
 EOF
 		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
 		    test -z "$HP_ARCH" && HP_ARCH=hppa
@@ -731,22 +734,22 @@ EOF
 	exit ;;
     C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
 	echo c1-convex-bsd
-        exit ;;
+	exit ;;
     C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
 	if getsysinfo -f scalar_acc
 	then echo c32-convex-bsd
 	else echo c2-convex-bsd
 	fi
-        exit ;;
+	exit ;;
     C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
 	echo c34-convex-bsd
-        exit ;;
+	exit ;;
     C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
 	echo c38-convex-bsd
-        exit ;;
+	exit ;;
     C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
 	echo c4-convex-bsd
-        exit ;;
+	exit ;;
     CRAY*Y-MP:*:*:*)
 	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
 	exit ;;
@@ -770,14 +773,14 @@ EOF
 	exit ;;
     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
 	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
-        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
-        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
-        exit ;;
+	FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+	FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+	echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+	exit ;;
     5000:UNIX_System_V:4.*:*)
-        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
-        FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
-        echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+	FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+	FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
+	echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
 	exit ;;
     i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
@@ -805,14 +808,14 @@ EOF
 	echo ${UNAME_MACHINE}-pc-mingw32
 	exit ;;
     i*:windows32*:*)
-    	# uname -m includes "-pc" on this system.
-    	echo ${UNAME_MACHINE}-mingw32
+	# uname -m includes "-pc" on this system.
+	echo ${UNAME_MACHINE}-mingw32
 	exit ;;
     i*:PW*:*)
 	echo ${UNAME_MACHINE}-pc-pw32
 	exit ;;
     *:Interix*:*)
-    	case ${UNAME_MACHINE} in
+	case ${UNAME_MACHINE} in
 	    x86)
 		echo i586-pc-interix${UNAME_RELEASE}
 		exit ;;
@@ -867,7 +870,7 @@ EOF
 	  EV6)   UNAME_MACHINE=alphaev6 ;;
 	  EV67)  UNAME_MACHINE=alphaev67 ;;
 	  EV68*) UNAME_MACHINE=alphaev68 ;;
-        esac
+	esac
 	objdump --private-headers /bin/sh | grep -q ld.so.1
 	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
 	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
@@ -892,7 +895,7 @@ EOF
 	echo crisv32-axis-linux-gnu
 	exit ;;
     frv:Linux:*:*)
-    	echo frv-unknown-linux-gnu
+	echo frv-unknown-linux-gnu
 	exit ;;
     i*86:Linux:*:*)
 	LIBC=gnu
@@ -960,7 +963,7 @@ EOF
 	echo ${UNAME_MACHINE}-ibm-linux
 	exit ;;
     sh64*:Linux:*:*)
-    	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     sh*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
@@ -968,6 +971,9 @@ EOF
     sparc:Linux:*:* | sparc64:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
+    tile*:Linux:*:*)
+	echo ${UNAME_MACHINE}-tilera-linux-gnu
+	exit ;;
     vax:Linux:*:*)
 	echo ${UNAME_MACHINE}-dec-linux-gnu
 	exit ;;
@@ -975,7 +981,7 @@ EOF
 	echo x86_64-unknown-linux-gnu
 	exit ;;
     xtensa*:Linux:*:*)
-    	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
 	exit ;;
     i*86:DYNIX/ptx:4*:*)
 	# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
@@ -984,11 +990,11 @@ EOF
 	echo i386-sequent-sysv4
 	exit ;;
     i*86:UNIX_SV:4.2MP:2.*)
-        # Unixware is an offshoot of SVR4, but it has its own version
-        # number series starting with 2...
-        # I am not positive that other SVR4 systems won't match this,
+	# Unixware is an offshoot of SVR4, but it has its own version
+	# number series starting with 2...
+	# I am not positive that other SVR4 systems won't match this,
 	# I just have to hope.  -- rms.
-        # Use sysv4.2uw... so that sysv4* matches it.
+	# Use sysv4.2uw... so that sysv4* matches it.
 	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
 	exit ;;
     i*86:OS/2:*:*)
@@ -1020,7 +1026,7 @@ EOF
 	fi
 	exit ;;
     i*86:*:5:[678]*)
-    	# UnixWare 7.x, OpenUNIX and OpenServer 6.
+	# UnixWare 7.x, OpenUNIX and OpenServer 6.
 	case `/bin/uname -X | grep "^Machine"` in
 	    *486*)	     UNAME_MACHINE=i486 ;;
 	    *Pentium)	     UNAME_MACHINE=i586 ;;
@@ -1048,13 +1054,13 @@ EOF
 	exit ;;
     pc:*:*:*)
 	# Left here for compatibility:
-        # uname -m prints for DJGPP always 'pc', but it prints nothing about
-        # the processor, so we play safe by assuming i586.
+	# uname -m prints for DJGPP always 'pc', but it prints nothing about
+	# the processor, so we play safe by assuming i586.
 	# Note: whatever this is, it MUST be the same as what config.sub
 	# prints for the "djgpp" host, or else GDB configury will decide that
 	# this is a cross-build.
 	echo i586-pc-msdosdjgpp
-        exit ;;
+	exit ;;
     Intel:Mach:3*:*)
 	echo i386-pc-mach3
 	exit ;;
@@ -1089,8 +1095,8 @@ EOF
 	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
 	  && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
-        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
-          && { echo i486-ncr-sysv4; exit; } ;;
+	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+	  && { echo i486-ncr-sysv4; exit; } ;;
     NCR*:*:4.2:* | MPRAS*:*:4.2:*)
 	OS_REL='.3'
 	test -r /etc/.relid \
@@ -1133,10 +1139,10 @@ EOF
 		echo ns32k-sni-sysv
 	fi
 	exit ;;
-    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
-                      # says <Richard.M.Bartel@ccMail.Census.GOV>
-        echo i586-unisys-sysv4
-        exit ;;
+    PENTIUM:*:4.0*:*)	# Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+			# says <Richard.M.Bartel@ccMail.Census.GOV>
+	echo i586-unisys-sysv4
+	exit ;;
     *:UNIX_System_V:4*:FTX*)
 	# From Gerald Hewes <hewes@openmarket.com>.
 	# How about differentiating between stratus architectures? -djm
@@ -1162,11 +1168,11 @@ EOF
 	exit ;;
     R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
 	if [ -d /usr/nec ]; then
-	        echo mips-nec-sysv${UNAME_RELEASE}
+		echo mips-nec-sysv${UNAME_RELEASE}
 	else
-	        echo mips-unknown-sysv${UNAME_RELEASE}
+		echo mips-unknown-sysv${UNAME_RELEASE}
 	fi
-        exit ;;
+	exit ;;
     BeBox:BeOS:*:*)	# BeOS running on hardware made by Be, PPC only.
 	echo powerpc-be-beos
 	exit ;;
@@ -1231,6 +1237,9 @@ EOF
     *:QNX:*:4*)
 	echo i386-pc-qnx
 	exit ;;
+    NEO-?:NONSTOP_KERNEL:*:*)
+	echo neo-tandem-nsk${UNAME_RELEASE}
+	exit ;;
     NSE-?:NONSTOP_KERNEL:*:*)
 	echo nse-tandem-nsk${UNAME_RELEASE}
 	exit ;;
@@ -1276,13 +1285,13 @@ EOF
 	echo pdp10-unknown-its
 	exit ;;
     SEI:*:*:SEIUX)
-        echo mips-sei-seiux${UNAME_RELEASE}
+	echo mips-sei-seiux${UNAME_RELEASE}
 	exit ;;
     *:DragonFly:*:*)
 	echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
 	exit ;;
     *:*VMS:*:*)
-    	UNAME_MACHINE=`(uname -p) 2>/dev/null`
+	UNAME_MACHINE=`(uname -p) 2>/dev/null`
 	case "${UNAME_MACHINE}" in
 	    A*) echo alpha-dec-vms ; exit ;;
 	    I*) echo ia64-dec-vms ; exit ;;
@@ -1322,11 +1331,11 @@ main ()
 #include <sys/param.h>
   printf ("m68k-sony-newsos%s\n",
 #ifdef NEWSOS4
-          "4"
+	"4"
 #else
-	  ""
+	""
 #endif
-         ); exit (0);
+	); exit (0);
 #endif
 #endif
 
diff --git a/config.sub b/config.sub


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-03-17 15:12 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-03-17 15:12 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  3480b2bc56ec0bb51c1f18584fd293fd8ef25dec (commit)
       via  eb3e6936e0c1076e0b97e0bad55083503cf82d88 (commit)
       via  8cf9d7bc2daf04b1f2c826325a2dd45a12d34fe6 (commit)
       via  f240035c535706a46f27375e92907dea172d34ec (commit)
       via  59a9cd625a7a4e28ebca04e3c592b3f77c3a5948 (commit)
       via  7678cf17ece2148084514a258d3d71505d15ab79 (commit)
       via  9e2e8e2f9323fe17ceafb49d8eca9e3117947066 (commit)
       via  bb108bccb87a6e3b166a2ba74cc3aaf192c687ff (commit)
       via  1cb5481ade4ed3127e4a1c837809bed0341890f0 (commit)
       via  abf66c159a422b39b4e43b5bd76539ee6e3707a4 (commit)
       via  395670463fc6d90052fe345c4c09297192f71de2 (commit)
       via  d846e953e9c1955f38f58c1907a7ca04156ecd50 (commit)
      from  994eb44d6706f6fd03c26cf4ea53a3e59406da45 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 3480b2bc56ec0bb51c1f18584fd293fd8ef25dec
Merge: 994eb44 eb3e693
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Mar 17 16:11:49 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit eb3e6936e0c1076e0b97e0bad55083503cf82d88
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Mar 17 13:19:23 2011 +0000

    delete target_ops.to_lookup_symbol
    
    gdb/ChangeLog:
    
            * target.h (struct target_ops): Remove to_lookup_symbol field.
            (target_lookup_symbol): Delete macro.
            * target.c (nosymbol, debug_to_lookup_symbol): Delete.
            (update_current_target, setup_target_debug): Remove handling
            of to_lookup_symbol target_ops field.
            * ada-tasks.c (get_known_tasks_addr): Remove use of
            target_lookup_symbol.
            * coffread.c (coff_symtab_read): Likewise.
            * dbxread.c (read_dbx_symtab): Ditto.

commit 8cf9d7bc2daf04b1f2c826325a2dd45a12d34fe6
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Mar 17 13:19:07 2011 +0000

    Add 'getthrds' declaration check in configure for AIX
    
    On newer versions of AIX (6.x and later), this function is actually
    declared in procinfo.h, thus causing a compilation warning when we
    re-declare it ourselves. This patch adds a configure check for that
    function allowing us to declare the function only if the declaration
    isn't already present in one of procinfo system header.
    
    gdb/ChangeLog:
    
            PR gdb/12116:
            * configure.ac: Add getthrds declaration check.
            * configure, config.in: Regenerate.
            * aix-thread.c (getthrds): Declare only if not already declared
            in procinfo.h.  More declaration out of get_signaled_thread to
            global scope.

commit f240035c535706a46f27375e92907dea172d34ec
Author: pmuldoon <pmuldoon>
Date:   Thu Mar 17 09:36:14 2011 +0000

    2011-03-17  Phil Muldoon  <pmuldoon@redhat.com>
    
    	    * python/py-symtab.c: Populate symtab_object_methods,
    	    sal_object_methods.
    	    (stpy_is_valid): New function.
    	    (salpy_is_valid): Ditto.
    	    * python/py-symbol.c: Declare symbol_object_methods.
    	    Populate.
    	    (sympy_is_valid): New function.
    	    * python/py-objfile.c: Declare objfile_object_methods.
    	    Populate.
    	    (objfpy_is_valid): New function.
    	    * python/py-inferior.c: Populate inferior_object_methods.
    	    (infpy_is_valid): New function.
    	    * python/py-infthread.c: Populate thread_object_methods.
    	    (thpy_is_valid): New function.
    	    * python/py-block.c: Declare block_object_methods.
    	    Populate.  Declare
    	    block_iterator_object_methods.  Populate.
    	    (blpy_is_valid): New function.
    	    (blpy_iter_is_valid): Ditto.
    
    2010-03-17  Phil Muldoon  <pmuldoon@redhat.com>
    
    	    * gdb.python/Makefile.in: Add py-objfile.
    	    * gdb.python/py-objfile.exp: New file.
    	    * gdb.python/py-objfile.c: New file.
    	    * gdb.python/py-block.exp: Add is_valid tests.
    	    * gdb.python/py-inferior.exp: Ditto.
    	    * gdb.python/py-infthread.exp: Ditto.
    	    * gdb.python/py-symbol.exp: Ditto.
    	    * gdb.python/py-symtab.exp: Ditto.
    
    2011-03-17  Phil Muldoon  <pmuldoon@redhat.com>
    
    	    * gdb.texinfo (Blocks In Python): Add is_valid method
                  description.
    	      (Inferiors In Python): Likewise.
    	      (Threads In Python): Likewise.
    	      (Symbols In Python): Likewise.
    	      (Objfiles In Python): Likewise.
    	      (Symbol Tables In Python): Likewise.

commit 59a9cd625a7a4e28ebca04e3c592b3f77c3a5948
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Mar 17 00:00:33 2011 +0000

    *** empty log message ***

commit 7678cf17ece2148084514a258d3d71505d15ab79
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Mar 16 23:00:06 2011 +0000

    daily update

commit 9e2e8e2f9323fe17ceafb49d8eca9e3117947066
Author: Keith Seitz <keiths@redhat.com>
Date:   Wed Mar 16 21:12:11 2011 +0000

    	* linespec.c (find_methods): Canonicalize NAME before looking
    	up the symbol.
    	(name_end): New function.
    	(keep_name_info): New function.
    	(decode_line_1): Use keep_name_info.
    	(decode_compound): Likewise.
    	* cli/cli-utils.h (remove_trailing_whitespace): New function.
    	* cli/cli-utils.c (remove_trailing_whitespace): Likewise.
    
    	PR c++/12273
    	* linespec.c (locate_first_half): Keep overload information, too.
    	(decode_compound): Use a string to represent break characters
    	to escape the loop.
    	If P points to a break character, do not increment it.
    	For C++ and Java, keep overload information and relevant keywords.
    	If we cannot find a symbol, search the minimal symbols.
    
    	PR c++/11734
    	* linespec.c (decode_compound): Rename SAVED_ARG to
    	THE_REAL_SAVED_ARG.
    	Make a copy of THE_REAL_SAVED_ARG in SAVED_ARG and strip
    	single-quotes.
    	Pass a valid block to lookup_symbol.
    	(lookup_prefix_sym): Likewise.
    	(find_method): Construct search name based on SYM_CLASS instead
    	of SAVED_ARG.
    	* psymtab.c (lookup_partial_symbol): Add language parameter.
    	(lookup_symbol_aux_psymtabs): Likewise.
    	Don't assume that the psymtab we found was the right one. Search
    	for the desired symbol in the symtab to be certain.
    	(psymtab_search_name): New function.
    	(lookup_partial_symbol): Use psymtab_search_name.
    	Add language parameter.
    	(read_symtabs_for_function): Add language parameter and pass to
    	lookup_partial_symbol.
    	(find_symbol_file_from_partial): Likewise.

commit bb108bccb87a6e3b166a2ba74cc3aaf192c687ff
Author: Keith Seitz <keiths@redhat.com>
Date:   Wed Mar 16 21:08:56 2011 +0000

    	PR c++/12273
    	* gdb.cp/cmpd-minsyms.exp: New test.
    	* gdb.cp/cmpd-minsyms.cc: New file.
    
    	PR c++/11734
    	* gdb.cp/ovsrch.exp: New test.
    	* gdb.cp/ovsrch.h: New file.
    	* gdb.cp/ovsrch1.cc: New file.
    	* gdb.cp/ovsrch2.cc: New file.
    	* gdb.cp/ovsrch3.cc: New file.
    	* gdb.cp/ovsrch4.cc: New file.

commit 1cb5481ade4ed3127e4a1c837809bed0341890f0
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Wed Mar 16 18:15:10 2011 +0000

    ChangeLog:
    
    2011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
    
    	PR gdb/12528
    	* dwarf2read.c (noop_record_line): New function.
    	(dwarf_decode_lines): Ignore line tables for GCd functions.
    
    testsuite/ChangeLog:
    
    2011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
    
    	PR gdb/12528
    	* gdb.base/Makefile.in: Adjust EXECUTABLES.
    	* gdb.base/break-on-linker-gcd-function.exp: New test.
    	* gdb.base/break-on-linker-gcd-function.cc: New file.

commit abf66c159a422b39b4e43b5bd76539ee6e3707a4
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Wed Mar 16 17:58:59 2011 +0000

    	Fix ARI warnings about new lines at the end of messages, which
    	are unneeded as there is a new line added at the end of the message
    	automatically.
    	* darwin-nat.c (darwin_stop_inferior): Ditto.
    	* dec-thread.c (dec_thread_get_ada_task_ptid): Ditto.
    	* dfp.c (decimal_to_number): Ditto.
    	* exec.c (print_section_info): Ditto.
    	* i386-darwin-nat.c (darwin_set_sstep): Ditto.
    	* osdata.c (get_osdata): Ditto.
    	* record.c (bfdcore_write): Ditto.
    	* remote-mips.c (mips_readchar): Ditto.
    	* remote.c (read_ptid): Ditto.
    	* ser-mingw.c (ser_windows_raw): Ditto.
    	* tracepoint.c (add_local_symbols): Ditto.
    	* windows-nat.c (fake_create_process): Ditto.

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |  112 +++++++++++
 gdb/NEWS                                           |    9 +
 gdb/ada-tasks.c                                    |   12 +-
 gdb/aix-thread.c                                   |    8 +-
 gdb/cli/cli-utils.c                                |   11 +
 gdb/cli/cli-utils.h                                |    4 +
 gdb/coffread.c                                     |   24 +--
 gdb/config.in                                      |    4 +
 gdb/configure                                      |   16 ++
 gdb/configure.ac                                   |    5 +
 gdb/darwin-nat.c                                   |    2 +-
 gdb/dbxread.c                                      |   28 +--
 gdb/dec-thread.c                                   |    2 +-
 gdb/dfp.c                                          |    2 +-
 gdb/doc/ChangeLog                                  |   10 +-
 gdb/doc/gdb.texinfo                                |   75 ++++++++-
 gdb/dwarf2read.c                                   |   37 ++++-
 gdb/event-top.c                                    |    2 +-
 gdb/exec.c                                         |    2 +-
 gdb/i386-darwin-nat.c                              |    2 +-
 gdb/linespec.c                                     |  196 +++++++++++++++-----
 gdb/osdata.c                                       |    2 +-
 gdb/psymtab.c                                      |   79 ++++++++-
 gdb/python/py-block.c                              |   48 +++++-
 gdb/python/py-inferior.c                           |   17 ++
 gdb/python/py-infthread.c                          |   16 ++
 gdb/python/py-objfile.c                            |   25 +++-
 gdb/python/py-symbol.c                             |   24 +++-
 gdb/python/py-symtab.c                             |   42 ++++-
 gdb/record.c                                       |    2 +-
 gdb/remote-mips.c                                  |    2 +-
 gdb/remote.c                                       |    2 +-
 gdb/ser-mingw.c                                    |    2 +-
 gdb/target.c                                       |   27 ---
 gdb/target.h                                       |   12 --
 gdb/testsuite/ChangeLog                            |   32 ++++
 gdb/testsuite/gdb.base/Makefile.in                 |    3 +-
 .../gdb.base/break-on-linker-gcd-function.cc       |   32 ++++
 .../gdb.base/break-on-linker-gcd-function.exp      |   54 ++++++
 gdb/testsuite/gdb.cp/cmpd-minsyms.cc               |   37 ++++
 gdb/testsuite/gdb.cp/cmpd-minsyms.exp              |   50 +++++
 gdb/testsuite/gdb.cp/ovsrch.exp                    |  100 ++++++++++
 gdb/testsuite/gdb.cp/ovsrch.h                      |   39 ++++
 gdb/testsuite/gdb.cp/ovsrch1.cc                    |   41 ++++
 gdb/testsuite/gdb.cp/ovsrch2.cc                    |   28 +++
 gdb/testsuite/gdb.cp/ovsrch3.cc                    |   28 +++
 gdb/testsuite/gdb.cp/ovsrch4.cc                    |   28 +++
 gdb/testsuite/gdb.python/Makefile.in               |    2 +-
 gdb/testsuite/gdb.python/py-block.exp              |   17 ++
 gdb/testsuite/gdb.python/py-inferior.exp           |   20 ++
 gdb/testsuite/gdb.python/py-infthread.exp          |    7 +
 gdb/testsuite/gdb.python/py-objfile.c              |   23 +++
 gdb/testsuite/gdb.python/py-objfile.exp            |   51 +++++
 gdb/testsuite/gdb.python/py-symbol.exp             |   16 ++
 gdb/testsuite/gdb.python/py-symtab.exp             |    8 +
 gdb/tracepoint.c                                   |    4 +-
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |    2 +-
 59 files changed, 1324 insertions(+), 165 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/break-on-linker-gcd-function.cc
 create mode 100644 gdb/testsuite/gdb.base/break-on-linker-gcd-function.exp
 create mode 100644 gdb/testsuite/gdb.cp/cmpd-minsyms.cc
 create mode 100644 gdb/testsuite/gdb.cp/cmpd-minsyms.exp
 create mode 100644 gdb/testsuite/gdb.cp/ovsrch.exp
 create mode 100644 gdb/testsuite/gdb.cp/ovsrch.h
 create mode 100644 gdb/testsuite/gdb.cp/ovsrch1.cc
 create mode 100644 gdb/testsuite/gdb.cp/ovsrch2.cc
 create mode 100644 gdb/testsuite/gdb.cp/ovsrch3.cc
 create mode 100644 gdb/testsuite/gdb.cp/ovsrch4.cc
 create mode 100644 gdb/testsuite/gdb.python/py-objfile.c
 create mode 100644 gdb/testsuite/gdb.python/py-objfile.exp

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 8f2a14e..aa6f296 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110316
+#define BFD_VERSION_DATE 20110317
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 67bd507..68b31de 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,115 @@
+2011-03-17  Joel Brobecker  <brobecker@gnat.com>
+
+	* target.h (struct target_ops): Remove to_lookup_symbol field.
+	(target_lookup_symbol): Delete macro.
+	* target.c (nosymbol, debug_to_lookup_symbol): Delete.
+	(update_current_target, setup_target_debug): Remove handling
+	of to_lookup_symbol target_ops field.
+	* ada-tasks.c (get_known_tasks_addr): Remove use of
+	target_lookup_symbol.
+	* coffread.c (coff_symtab_read): Likewise.
+	* dbxread.c (read_dbx_symtab): Ditto.
+
+2011-03-17  Joel Brobecker  <brobecker@gnat.com>
+
+	PR gdb/12116:
+	* configure.ac: Add getthrds declaration check.
+	* configure, config.in: Regenerate.
+	* aix-thread.c (getthrds): Declare only if not already declared
+	in procinfo.h.  More declaration out of get_signaled_thread to
+	global scope.
+
+2011-03-17  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* python/py-symtab.c: Populate symtab_object_methods,
+	sal_object_methods.
+	(stpy_is_valid): New function.
+	(salpy_is_valid): Ditto.
+	* python/py-symbol.c: Declare symbol_object_methods.  Populate.
+	(sympy_is_valid): New function.
+	* python/py-objfile.c: Declare objfile_object_methods.  Populate.
+	(objfpy_is_valid): New function.
+	* python/py-inferior.c: Populate inferior_object_methods.
+	(infpy_is_valid): New function.
+	* python/py-infthread.c: Populate thread_object_methods.
+	(thpy_is_valid): New function.
+	* python/py-block.c: Declare block_object_methods.  Populate.  Declare
+	block_iterator_object_methods.  Populate.
+	(blpy_is_valid): New function.
+	(blpy_iter_is_valid): Ditto.
+
+2011-03-16  Keith Seitz  <keiths@redhat.com>
+
+	* linespec.c (find_methods): Canonicalize NAME before looking
+	up the symbol.
+	(name_end): New function.
+	(keep_name_info): New function.
+	(decode_line_1): Use keep_name_info.
+	(decode_compound): Likewise.
+	* cli/cli-utils.h (remove_trailing_whitespace): New function.
+	* cli/cli-utils.c (remove_trailing_whitespace): Likewise.
+
+	PR c++/12273
+	* linespec.c (locate_first_half): Keep overload information, too.
+	(decode_compound): Use a string to represent break characters
+	to escape the loop.
+	If P points to a break character, do not increment it.
+	For C++ and Java, keep overload information and relevant keywords.
+	If we cannot find a symbol, search the minimal symbols.
+
+	PR c++/11734
+	* linespec.c (decode_compound): Rename SAVED_ARG to
+	THE_REAL_SAVED_ARG.
+	Make a copy of THE_REAL_SAVED_ARG in SAVED_ARG and strip
+	single-quotes.
+	Pass a valid block to lookup_symbol.
+	(lookup_prefix_sym): Likewise.
+	(find_method): Construct search name based on SYM_CLASS instead
+	of SAVED_ARG.
+	* psymtab.c (lookup_partial_symbol): Add language parameter.
+	(lookup_symbol_aux_psymtabs): Likewise.
+	Don't assume that the psymtab we found was the right one. Search
+	for the desired symbol in the symtab to be certain.
+	(psymtab_search_name): New function.
+	(lookup_partial_symbol): Use psymtab_search_name.
+	Add language parameter.
+	(read_symtabs_for_function): Add language parameter and pass to
+	lookup_partial_symbol.
+	(find_symbol_file_from_partial): Likewise.
+
+2011-03-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+	PR gdb/12528
+	* dwarf2read.c (noop_record_line): New function.
+	(dwarf_decode_lines): Ignore line tables for GCd functions.
+
+2011-03-16  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	Fix ARI warnings about new lines at the end of messages, which
+	are unneeded as there is a new line added at the end of the message
+	automatically.
+	* darwin-nat.c (darwin_stop_inferior): Ditto.
+	* dec-thread.c (dec_thread_get_ada_task_ptid): Ditto.
+	* dfp.c (decimal_to_number): Ditto.
+	* exec.c (print_section_info): Ditto.
+	* i386-darwin-nat.c (darwin_set_sstep): Ditto.
+	* osdata.c (get_osdata): Ditto.
+	* record.c (bfdcore_write): Ditto.
+	* remote-mips.c (mips_readchar): Ditto.
+	* remote.c (read_ptid): Ditto.
+	* ser-mingw.c (ser_windows_raw): Ditto.
+	* tracepoint.c (add_local_symbols): Ditto.
+	* windows-nat.c (fake_create_process): Ditto.
+
+2011-03-16  Tom Tromey  <tromey@redhat.com>
+
+	* tracepoint.c (stop_tracing): Don't declare.
+	* event-top.c (after_char_processing_hook): Add `(void)'.
+
+2011-03-16  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* NEWS: Add Parameter sub-classing description.
+
 2011-03-16  Kai Tietz  <ktietz@redhat.com>
 
 	* MAINTAINERS: Update my e-mail address.
diff --git a/gdb/NEWS b/gdb/NEWS
index c602fbe..feebf61 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -38,6 +38,15 @@
 
 * Python scripting
 
+  ** Parameters can now be be sub-classed in Python, and in particular
+     you may implement the get_set_doc and get_show_doc functions.
+     This improves how Parameter set/show documentation is processed
+     and allows for more dynamic content.
+
+  ** Symbols, Symbol Table, Symbol Table and Line, Object Files,
+     Inferior, Inferior Thread, Blocks, and Block Iterator APIs now
+     have an is_valid method.
+
   ** Breakpoints can now be sub-classed in Python, and in particular
      you may implement a 'stop' function that is executed each time
      the inferior reaches that breakpoint.   
diff --git a/gdb/ada-tasks.c b/gdb/ada-tasks.c
index 216902a..2cf62b9 100644
--- a/gdb/ada-tasks.c
+++ b/gdb/ada-tasks.c
@@ -300,7 +300,7 @@ read_fat_string_value (char *dest, struct value *val, int max_len)
 }
 
 /* Return the address of the Known_Tasks array maintained in
-   the Ada Runtime.  Return NULL if the array could not be found,
+   the Ada Runtime.  Return zero if the array could not be found,
    meaning that the inferior program probably does not use tasking.
 
    In order to provide a fast response time, this function caches
@@ -317,13 +317,9 @@ get_known_tasks_addr (void)
       struct minimal_symbol *msym;
 
       msym = lookup_minimal_symbol (KNOWN_TASKS_NAME, NULL, NULL);
-      if (msym != NULL)
-        known_tasks_addr = SYMBOL_VALUE_ADDRESS (msym);
-      else
-        {
-          if (target_lookup_symbol (KNOWN_TASKS_NAME, &known_tasks_addr) != 0)
-            return 0;
-        }
+      if (msym == NULL)
+        return 0;
+      known_tasks_addr = SYMBOL_VALUE_ADDRESS (msym);
 
       /* FIXME: brobecker 2003-03-05: Here would be a much better place
          to attach the ada-tasks observers, instead of doing this
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index 37b798a..c5db262 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -58,6 +58,10 @@
 #include <sched.h>
 #include <sys/pthdebug.h>
 
+#if !HAVE_DECL_GETTHRDS
+extern int getthrds (pid_t, struct thrdsinfo64 *, int, pthdb_tid_t *, int);
+#endif
+
 /* Whether to emit debugging output.  */
 static int debug_aix_thread;
 
@@ -647,10 +651,6 @@ get_signaled_thread (void)
   pthdb_tid_t ktid = 0;
   int result = 0;
 
-  /* getthrds(3) isn't prototyped in any AIX 4.3.3 #include file.  */
-  extern int getthrds (pid_t, struct thrdsinfo64 *, 
-		       int, pthdb_tid_t *, int);
-
   while (1)
   {
     if (getthrds (PIDGET (inferior_ptid), &thrinf, 
diff --git a/gdb/cli/cli-utils.c b/gdb/cli/cli-utils.c
index 2cce068..62a2f12 100644
--- a/gdb/cli/cli-utils.c
+++ b/gdb/cli/cli-utils.c
@@ -234,3 +234,14 @@ skip_to_space (char *chp)
     chp++;
   return chp;
 }
+
+/* See documentation in cli-utils.h.  */
+
+char *
+remove_trailing_whitespace (const char *start, char *s)
+{
+  while (s > start && isspace (*(s - 1)))
+    --s;
+
+  return s;
+}
diff --git a/gdb/cli/cli-utils.h b/gdb/cli/cli-utils.h
index 2954c46..8a6e5b3 100644
--- a/gdb/cli/cli-utils.h
+++ b/gdb/cli/cli-utils.h
@@ -99,4 +99,8 @@ extern char *skip_spaces (char *inp);
 
 extern char *skip_to_space (char *inp);
 
+/* Reverse S to the last non-whitespace character without skipping past
+   START.  */
+
+extern char *remove_trailing_whitespace (const char *start, char *s);
 #endif /* CLI_UTILS_H */
diff --git a/gdb/coffread.c b/gdb/coffread.c
index 8ec87c1..b11dd73 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -902,22 +902,14 @@ coff_symtab_read (long symtab_offset, unsigned int nsyms,
 
 	    if (cs->c_secnum == N_UNDEF)
 	      {
-		/* This is a common symbol.  See if the target
-		   environment knows where it has been relocated to.  */
-		CORE_ADDR reladdr;
-
-		if (target_lookup_symbol (cs->c_name, &reladdr))
-		  {
-		    /* Error in lookup; ignore symbol.  */
-		    break;
-		  }
-		tmpaddr = reladdr;
-		/* The address has already been relocated; make sure that
-		   objfile_relocate doesn't relocate it again.  */
-		sec = -2;
-		ms_type = cs->c_sclass == C_EXT
-		  || cs->c_sclass == C_THUMBEXT ?
-		  mst_bss : mst_file_bss;
+		/* This is a common symbol.  We used to rely on
+		   the target to tell us whether it knows where
+		   the symbol has been relocated to, but none of
+		   the target implementations actually provided
+		   that operation.  So we just ignore the symbol,
+		   the same way we would do if we had a target-side
+		   symbol lookup which returned no match.  */
+		break;
 	      }
  	    else if (cs->c_secnum == N_ABS)
  	      {
diff --git a/gdb/config.in b/gdb/config.in
index ccceabf..01ba750 100644
--- a/gdb/config.in
+++ b/gdb/config.in
@@ -118,6 +118,10 @@
    */
 #undef HAVE_DECL_GETOPT
 
+/* Define to 1 if you have the declaration of `getthrds', and to 0 if you
+   don't. */
+#undef HAVE_DECL_GETTHRDS
+
 /* Define to 1 if you have the declaration of `malloc', and to 0 if you don't.
    */
 #undef HAVE_DECL_MALLOC
diff --git a/gdb/configure b/gdb/configure
index 5ee5ce6..92818a0 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -14487,6 +14487,22 @@ $as_echo "$gdb_cv_have_aix_thread_debug" >&6; }
          CONFIG_SRCS="${CONFIG_SRCS} aix-thread.c"
          CONFIG_OBS="${CONFIG_OBS} aix-thread.o"
          CONFIG_LDFLAGS="${CONFIG_LDFLAGS} -lpthdebug"
+
+         # Older versions of AIX do not provide the declaration for
+         # the getthrds function (it appears that it was introduced
+         # with AIX 6.x).
+         ac_fn_c_check_decl "$LINENO" "getthrds" "ac_cv_have_decl_getthrds" "#include <procinfo.h>
+"
+if test "x$ac_cv_have_decl_getthrds" = x""yes; then :
+  ac_have_decl=1
+else
+  ac_have_decl=0
+fi
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_GETTHRDS $ac_have_decl
+_ACEOF
+
       fi
       ;;
    esac
diff --git a/gdb/configure.ac b/gdb/configure.ac
index d2b75f6..96e0a7b 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -1593,6 +1593,11 @@ if test ${build} = ${host} -a ${host} = ${target} ; then
          CONFIG_SRCS="${CONFIG_SRCS} aix-thread.c"
          CONFIG_OBS="${CONFIG_OBS} aix-thread.o"
          CONFIG_LDFLAGS="${CONFIG_LDFLAGS} -lpthdebug"
+
+         # Older versions of AIX do not provide the declaration for
+         # the getthrds function (it appears that it was introduced
+         # with AIX 6.x).
+         AC_CHECK_DECLS(getthrds, [], [], [[#include <procinfo.h>]])
       fi
       ;;
    esac
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index b345aac..4e316bb 100644
--- a/gdb/darwin-nat.c
+++ b/gdb/darwin-nat.c
@@ -1236,7 +1236,7 @@ darwin_stop_inferior (struct inferior *inf)
 
   res = kill (inf->pid, SIGSTOP);
   if (res != 0)
-    warning (_("cannot kill: %s\n"), safe_strerror (errno));
+    warning (_("cannot kill: %s"), safe_strerror (errno));
 
   /* Wait until the process is really stopped.  */
   while (1)
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index 9f9317d..8242cf8 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -1401,24 +1401,16 @@ read_dbx_symtab (struct objfile *objfile)
 	  goto record_it;
 
 	case N_UNDF | N_EXT:
-	  if (nlist.n_value != 0)
-	    {
-	      /* This is a "Fortran COMMON" symbol.  See if the target
-		 environment knows where it has been relocated to.  */
-
-	      CORE_ADDR reladdr;
-
-	      namestring = set_namestring (objfile, &nlist);
-	      if (target_lookup_symbol (namestring, &reladdr))
-		{
-		  continue;	/* Error in lookup; ignore symbol for now.  */
-		}
-	      nlist.n_type ^= (N_BSS ^ N_UNDF);	/* Define it as a
-						   bss-symbol.  */
-	      nlist.n_value = reladdr;
-	      goto bss_ext_symbol;
-	    }
-	  continue;		/* Just undefined, not COMMON.  */
+	  /* The case (nlist.n_value != 0) is a "Fortran COMMON" symbol.
+	     We used to rely on the target to tell us whether it knows
+	     where the symbol has been relocated to, but none of the
+	     target implementations actually provided that operation.
+	     So we just ignore the symbol, the same way we would do if
+	     we had a target-side symbol lookup which returned no match.
+
+	     All other symbols (with nlist.n_value == 0), are really
+	     undefined, and so we ignore them too.  */
+	  continue;
 
 	case N_UNDF:
 	  if (processing_acc_compilation && nlist.n_strx == 1)
diff --git a/gdb/dec-thread.c b/gdb/dec-thread.c
index 650b86c..88e8a85 100644
--- a/gdb/dec-thread.c
+++ b/gdb/dec-thread.c
@@ -700,7 +700,7 @@ dec_thread_get_ada_task_ptid (long lwp, long thread)
     if (info->info.teb == (pthread_t) thread)
       return ptid_build_from_info (*info);
   
-  warning (_("Could not find thread id from THREAD = 0x%lx\n"), thread);
+  warning (_("Could not find thread id from THREAD = 0x%lx"), thread);
   return inferior_ptid;
 }
 
diff --git a/gdb/dfp.c b/gdb/dfp.c
index 41edae9..0ca1ed3 100644
--- a/gdb/dfp.c
+++ b/gdb/dfp.c
@@ -134,7 +134,7 @@ decimal_to_number (const gdb_byte *from, int len, decNumber *to)
 	decimal128ToNumber ((decimal128 *) from, to);
 	break;
       default:
-	error (_("Unknown decimal floating point type.\n"));
+	error (_("Unknown decimal floating point type."));
 	break;
     }
 }
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index b7f63eb..658325e 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,12 @@
+2011-03-17  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* gdb.texinfo (Blocks In Python): Add is_valid method description.
+	(Inferiors In Python): Likewise.
+	(Threads In Python): Likewise.
+	(Symbols In Python): Likewise.
+	(Objfiles In Python): Likewise.
+	(Symbol Tables In Python): Likewise.
+
 2011-03-15  Pedro Alves  <pedro@codesourcery.com>
 
 	* gdb.texinfo (Auto Display) <undisplay, enable display, disable
@@ -8,7 +17,6 @@
 	* gdb.texinfo (Breakpoints In Python): Add description and example
 	of Python stop function operation.
 
-
 2011-03-10  Phil Muldoon  <pmuldoon@redhat.com>
 
 	* gdb.texinfo (Parameters In Python): Document get_set_string and
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 0eeb38c..ea1e2f5 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -21870,6 +21870,14 @@ started by @value{GDBN} itself.
 A @code{gdb.Inferior} object has the following methods:
 
 @table @code
+@defmethod Inferior is_valid
+Returns @code{True} if the @code{gdb.Inferior} object is valid,
+@code{False} if not.  A @code{gdb.Inferior} object will become invalid
+if the inferior no longer exists within @value{GDBN}.  All other
+@code{gdb.Inferior} methods will throw an exception if it is invalid
+at the time the method is called.
+@end defmethod
+
 @defmethod Inferior threads
 This method returns a tuple holding all the threads which are valid
 when it is called.  If there are no valid threads, the method will
@@ -22069,6 +22077,14 @@ does not  use that identifier.
 A @code{gdb.InferiorThread} object has the following methods:
 
 @table @code
+@defmethod InferiorThread is_valid
+Returns @code{True} if the @code{gdb.InferiorThread} object is valid,
+@code{False} if not.  A @code{gdb.InferiorThread} object will become
+invalid if the thread exits, or the inferior that the thread belongs
+is deleted.  All other @code{gdb.InferiorThread} methods will throw an
+exception if it is invalid at the time the method is called.
+@end defmethod
+
 @defmethod InferiorThread switch
 This changes @value{GDBN}'s currently selected thread to the one represented
 by this object.
@@ -22662,6 +22678,16 @@ which is used to format the value.  @xref{Pretty Printing API}, for more
 information.
 @end defivar
 
+A @code{gdb.Objfile} object has the following methods:
+
+@defmethod Objfile is_valid
+Returns @code{True} if the @code{gdb.Objfile} object is valid,
+@code{False} if not.  A @code{gdb.Objfile} object can become invalid
+if the object file it refers to is not loaded in @value{GDBN} any
+longer.  All other @code{gdb.Objfile} methods will throw an exception
+if it is invalid at the time the method is called.
+@end defmethod
+
 @node Frames In Python
 @subsubsection Accessing inferior stack frames from Python.
 
@@ -22813,6 +22839,20 @@ block cannot be found for the @var{pc} value specified, the function
 will return @code{None}.
 @end defun
 
+A @code{gdb.Block} object has the following methods:
+
+@table @code
+@defmethod Block is_valid
+Returns @code{True} if the @code{gdb.Block} object is valid,
+@code{False} if not.  A block object can become invalid if the block it
+refers to doesn't exist anymore in the inferior.  All other
+@code{gdb.Block} methods will throw an exception if it is invalid at
+the time the method is called.  This method is also made available to
+the Python iterator object that @code{gdb.Block} provides in an iteration
+context and via the Python @code{iter} built-in function.


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-03-16  9:39 pmuldoon
  0 siblings, 0 replies; 45+ messages in thread
From: pmuldoon @ 2011-03-16  9:39 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  994eb44d6706f6fd03c26cf4ea53a3e59406da45 (commit)
       via  f8a14bb9b1a07a5b2ed498d53fc1f2b9e3877643 (commit)
       via  553322f596f0d94e47d54c185d3d58007dc5e3bc (commit)
      from  c695bf2d9e45077584c648925b2f213f40c87669 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 994eb44d6706f6fd03c26cf4ea53a3e59406da45
Merge: c695bf2 f8a14bb
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Wed Mar 16 09:38:36 2011 +0000

    Merge remote-tracking branch 'gdb/master'

commit f8a14bb9b1a07a5b2ed498d53fc1f2b9e3877643
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Wed Mar 16 08:48:47 2011 +0000

    	* dwarf2.h (DW_TAG_GNU_call_site, DW_TAG_GNU_call_site_parameter,
    	DW_AT_GNU_call_site_value, DW_AT_GNU_call_site_data_value,
    	DW_AT_GNU_call_site_target, DW_AT_GNU_call_site_target_clobbered,
    	DW_AT_GNU_tail_call, DW_AT_GNU_all_tail_call_sites,
    	DW_AT_GNU_all_call_sites,, DW_AT_GNU_all_source_call_sites,
    	DW_OP_GNU_entry_value): New.

commit 553322f596f0d94e47d54c185d3d58007dc5e3bc
Author: Kai Tietz <kai.tietz@onevision.com>
Date:   Wed Mar 16 08:20:04 2011 +0000

    2011-03-16  Kai Tietz  <ktietz@redhat.com>
    
            * MAINTAINERS: Update my e-mail address.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog     |    4 ++++
 gdb/MAINTAINERS   |    2 +-
 include/ChangeLog |    9 +++++++++
 include/dwarf2.h  |   23 ++++++++++++++++++++++-
 4 files changed, 36 insertions(+), 2 deletions(-)

First 500 lines of diff:
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3f4998e..67bd507 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-16  Kai Tietz  <ktietz@redhat.com>
+
+	* MAINTAINERS: Update my e-mail address.
+
 2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
 
 	* MAINTAINERS: Add myself for write after approval privileges.
diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS
index cb8ed65..286bbf6 100644
--- a/gdb/MAINTAINERS
+++ b/gdb/MAINTAINERS
@@ -610,7 +610,7 @@ Ian Lance Taylor				ian@airs.com
 Gary Thomas					gthomas@redhat.com
 Jason Thorpe					thorpej@netbsd.org
 Caroline Tice					ctice@apple.com
-Kai Tietz					kai.tietz@onevision.com
+Kai Tietz					ktietz@redhat.com
 Andreas Tobler					andreast@fgznet.ch
 Tom Tromey					tromey@redhat.com
 David Ung					davidu@mips.com
diff --git a/include/ChangeLog b/include/ChangeLog
index fa904c7..4f65257 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,12 @@
+2011-03-16  Jakub Jelinek  <jakub@redhat.com>
+
+	* dwarf2.h (DW_TAG_GNU_call_site, DW_TAG_GNU_call_site_parameter,
+	DW_AT_GNU_call_site_value, DW_AT_GNU_call_site_data_value,
+	DW_AT_GNU_call_site_target, DW_AT_GNU_call_site_target_clobbered,
+	DW_AT_GNU_tail_call, DW_AT_GNU_all_tail_call_sites,
+	DW_AT_GNU_all_call_sites,, DW_AT_GNU_all_source_call_sites,
+	DW_OP_GNU_entry_value): New.
+
 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
 
 	* filenames.h (filename_ncmp): New prototype.
diff --git a/include/dwarf2.h b/include/dwarf2.h
index 7d3f5e4..46f2291 100644
--- a/include/dwarf2.h
+++ b/include/dwarf2.h
@@ -1,7 +1,7 @@
 /* Declarations and definitions of codes relating to the DWARF2 and
    DWARF3 symbolic debugging information formats.
    Copyright (C) 1992, 1993, 1995, 1996, 1997, 1999, 2000, 2001, 2002,
-   2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+   2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
    Free Software Foundation, Inc.
 
    Written by Gary Funck (gary@intrepid.com) The Ada Joint Program
@@ -141,6 +141,12 @@ enum dwarf_tag
        are properly part of DWARF 5.  */
     DW_TAG_GNU_template_parameter_pack = 0x4107,
     DW_TAG_GNU_formal_parameter_pack = 0x4108,
+    /* The GNU call site extension, specified at
+       http://www.dwarfstd.org/ShowIssue.php?issue=100909.2&type=open .
+       The values of these two TAGS are in the DW_TAG_GNU_* space until the tags
+       are properly part of DWARF 5.  */
+    DW_TAG_GNU_call_site = 0x4109,
+    DW_TAG_GNU_call_site_parameter = 0x410a,
     /* Extensions for UPC.  See: http://upc.gwu.edu/~upc.  */
     DW_TAG_upc_shared_type = 0x8765,
     DW_TAG_upc_strict_type = 0x8766,
@@ -351,6 +357,16 @@ enum dwarf_attribute
     /* Template template argument name.
        See http://gcc.gnu.org/wiki/TemplateParmsDwarf .  */
     DW_AT_GNU_template_name = 0x2110,
+    /* The GNU call site extension.
+       See http://www.dwarfstd.org/ShowIssue.php?issue=100909.2&type=open .  */
+    DW_AT_GNU_call_site_value = 0x2111,
+    DW_AT_GNU_call_site_data_value = 0x2112,
+    DW_AT_GNU_call_site_target = 0x2113,
+    DW_AT_GNU_call_site_target_clobbered = 0x2114,
+    DW_AT_GNU_tail_call = 0x2115,
+    DW_AT_GNU_all_tail_call_sites = 0x2116,
+    DW_AT_GNU_all_call_sites = 0x2117,
+    DW_AT_GNU_all_source_call_sites = 0x2118,
     /* VMS extensions.  */
     DW_AT_VMS_rtnbeg_pd_address = 0x2201,
     /* GNAT extensions.  */
@@ -535,7 +551,12 @@ enum dwarf_location_atom
     /* The following is for marking variables that are uninitialized.  */
     DW_OP_GNU_uninit     = 0xf0,
     DW_OP_GNU_encoded_addr = 0xf1,
+    /* The GNU implicit pointer extension.
+       See http://www.dwarfstd.org/ShowIssue.php?issue=100831.1&type=open .  */
     DW_OP_GNU_implicit_pointer = 0xf2,
+    /* The GNU entry value extension.
+       See http://www.dwarfstd.org/ShowIssue.php?issue=100909.1&type=open .  */
+    DW_OP_GNU_entry_value = 0xf3,
     /* HP extensions.  */
     DW_OP_HP_unknown     = 0xe0, /* Ouch, the same as GNU_push_tls_address.  */
     DW_OP_HP_is_value    = 0xe1,


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-03-16  7:11 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-03-16  7:11 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  c695bf2d9e45077584c648925b2f213f40c87669 (commit)
       via  fb4c421cf68863046781cd9f70499b2c02c47fc0 (commit)
       via  3f7dcbfdae07840c89cd55e1a49348d1c6a187ea (commit)
       via  fe463b4c6e9c0a288ab586f84526b7a12f60806c (commit)
       via  2ee1ea9c534369870d4043bb3e8d4f81a594452d (commit)
       via  1c568374181fd7b1172561ce8d1a882d9fe0921c (commit)
       via  52c4c65117f334eaffd728d7652a66fc9c8ee763 (commit)
       via  7196c5630d1f71b9428ed1245dbb1fb4f7c4cbc1 (commit)
       via  894e4cb17dcec5279d6a634d4396194839aaa372 (commit)
       via  164fe3906c67abc7cd79f0f6840ba936be25c5c8 (commit)
       via  460390c42916c9e4615c308a28571377408b0de6 (commit)
       via  42ca845af2fa8a1f179d962f8d6b6f1eb1f785de (commit)
       via  47f7bb8721a67744f6c986221fdcdb5daab55465 (commit)
       via  7913e35d72358f84d0d8e77bac6d2c21e3eb4621 (commit)
       via  83e6f766ec3a2aa165aaf173b6487d1e0107ca2c (commit)
       via  80c402fb208e60fcffd08e109f7af198b50aaa0f (commit)
       via  c61443c395556911f937205e2c84ded4bb88322c (commit)
       via  226a5ce35f72865c694f56064842a6d57ac41012 (commit)
       via  feaab51570a27b7db02de928a3fe9031259e8c6e (commit)
       via  29b21c5eceb36bf1ae27f5f577f778e3363605cc (commit)
       via  ca69ef3f8024128be3533d8e3cf8239492073f5a (commit)
       via  455c3aca4b6b03f634056d3a16c187fc6e8c09e8 (commit)
      from  4f8d91f8d1fd48824ddb6bcfa99b56c19ce5ad15 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit c695bf2d9e45077584c648925b2f213f40c87669
Merge: 4f8d91f fb4c421
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Mar 16 08:10:51 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit fb4c421cf68863046781cd9f70499b2c02c47fc0
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Mar 16 00:00:32 2011 +0000

    *** empty log message ***

commit 3f7dcbfdae07840c89cd55e1a49348d1c6a187ea
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Mar 15 23:00:05 2011 +0000

    daily update

commit fe463b4c6e9c0a288ab586f84526b7a12f60806c
Author: andreast <andreast>
Date:   Tue Mar 15 21:03:42 2011 +0000

    2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
    
    	* gdb.base/jit-main.c: Define ElfW for non glibc elf targets.

commit 2ee1ea9c534369870d4043bb3e8d4f81a594452d
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 21:01:44 2011 +0000

    sim: bfin: add GPIO device simulation
    
    This takes care of the MMR interface and pushing up interrupts.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 1c568374181fd7b1172561ce8d1a882d9fe0921c
Author: andreast <andreast>
Date:   Tue Mar 15 21:01:37 2011 +0000

    2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
    
    	* MAINTAINERS: Add myself for write after approval privileges.

commit 52c4c65117f334eaffd728d7652a66fc9c8ee763
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 20:55:11 2011 +0000

    sim: bfin: fix brace style

commit 7196c5630d1f71b9428ed1245dbb1fb4f7c4cbc1
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 20:44:09 2011 +0000

    sim: bfin: fix brace style

commit 894e4cb17dcec5279d6a634d4396194839aaa372
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 20:55:11 2011 +0000

    sim: bfin: fix brace style

commit 164fe3906c67abc7cd79f0f6840ba936be25c5c8
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 20:44:09 2011 +0000

    sim: bfin: fix brace style

commit 460390c42916c9e4615c308a28571377408b0de6
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 20:10:40 2011 +0000

    sim: bfin: handle AZ updates with 16bit adds/subs
    
    We weren't updating AZ when doing a 16bit add or sub insn.  Implement it.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 42ca845af2fa8a1f179d962f8d6b6f1eb1f785de
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 20:10:12 2011 +0000

    sim: bfin: skip acc/ASTAT updates for moves
    
    No point in moving unchanged acc values to the acc regs, and avoid
    updating the acc ASTAT bits when only reading.  This fixes incorrect
    changing of the ASTAT bits when they're only being read.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 47f7bb8721a67744f6c986221fdcdb5daab55465
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 20:09:39 2011 +0000

    sim: bfin: handle AN (negative overflows) in dsp mult insns
    
    The current dsp mult handler does not take care of overflows which turn
    values negative (and thus set AN in ASTAT).  So implement it.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 7913e35d72358f84d0d8e77bac6d2c21e3eb4621
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 20:09:09 2011 +0000

    sim: bfin: handle V overflows in dsp mult insns
    
    The current dsp mult handler does not take care of overflows and updating
    the V ASTAT bit.  So implement it.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 83e6f766ec3a2aa165aaf173b6487d1e0107ca2c
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 20:08:27 2011 +0000

    sim: bfin: decode ASTAT on failure
    
    When testing ASTAT regs, specific bit differences carry a lot more meaning
    than when checking the value of a data register.  So automatically decode
    the bits of the two values and print things out so that people don't have
    to manually do it themselves every time.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 80c402fb208e60fcffd08e109f7af198b50aaa0f
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 20:04:04 2011 +0000

    sim: bfin: handle saturation with fract multiplications
    
    The saturation behavior with fract modes differs from non-fract modes.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit c61443c395556911f937205e2c84ded4bb88322c
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 20:10:40 2011 +0000

    sim: bfin: handle AZ updates with 16bit adds/subs
    
    We weren't updating AZ when doing a 16bit add or sub insn.  Implement it.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 226a5ce35f72865c694f56064842a6d57ac41012
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 20:10:12 2011 +0000

    sim: bfin: skip acc/ASTAT updates for moves
    
    No point in moving unchanged acc values to the acc regs, and avoid
    updating the acc ASTAT bits when only reading.  This fixes incorrect
    changing of the ASTAT bits when they're only being read.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit feaab51570a27b7db02de928a3fe9031259e8c6e
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 20:09:39 2011 +0000

    sim: bfin: handle AN (negative overflows) in dsp mult insns
    
    The current dsp mult handler does not take care of overflows which turn
    values negative (and thus set AN in ASTAT).  So implement it.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 29b21c5eceb36bf1ae27f5f577f778e3363605cc
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 20:09:09 2011 +0000

    sim: bfin: handle V overflows in dsp mult insns
    
    The current dsp mult handler does not take care of overflows and updating
    the V ASTAT bit.  So implement it.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit ca69ef3f8024128be3533d8e3cf8239492073f5a
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 20:08:27 2011 +0000

    sim: bfin: decode ASTAT on failure
    
    When testing ASTAT regs, specific bit differences carry a lot more meaning
    than when checking the value of a data register.  So automatically decode
    the bits of the two values and print things out so that people don't have
    to manually do it themselves every time.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 455c3aca4b6b03f634056d3a16c187fc6e8c09e8
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 20:04:04 2011 +0000

    sim: bfin: handle saturation with fract multiplications
    
    The saturation behavior with fract modes differs from non-fract modes.
    
    Signed-off-by: Robin Getz <robin.getz@analog.com>
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h                     |    2 +-
 gdb/ChangeLog                     |    4 +
 gdb/MAINTAINERS                   |    1 +
 gdb/testsuite/ChangeLog           |    4 +
 gdb/testsuite/gdb.base/jit-main.c |   13 ++
 gdb/version.in                    |    2 +-
 sim/bfin/ChangeLog                |   68 +++++++++
 sim/bfin/Makefile.in              |    4 +-
 sim/bfin/bfin-sim.c               |  177 ++++++++++++++++-------
 sim/bfin/bfroms/bf50x-0.0.h       |    3 +-
 sim/bfin/bfroms/bf51x-0.0.h       |    3 +-
 sim/bfin/bfroms/bf51x-0.1.h       |    3 +-
 sim/bfin/bfroms/bf51x-0.2.h       |    3 +-
 sim/bfin/bfroms/bf526-0.0.h       |    3 +-
 sim/bfin/bfroms/bf526-0.1.h       |    3 +-
 sim/bfin/bfroms/bf527-0.0.h       |    3 +-
 sim/bfin/bfroms/bf527-0.1.h       |    3 +-
 sim/bfin/bfroms/bf527-0.2.h       |    3 +-
 sim/bfin/bfroms/bf533-0.1.h       |    3 +-
 sim/bfin/bfroms/bf533-0.2.h       |    3 +-
 sim/bfin/bfroms/bf533-0.3.h       |    3 +-
 sim/bfin/bfroms/bf537-0.0.h       |    3 +-
 sim/bfin/bfroms/bf537-0.1.h       |    3 +-
 sim/bfin/bfroms/bf537-0.3.h       |    3 +-
 sim/bfin/bfroms/bf538-0.0.h       |    3 +-
 sim/bfin/bfroms/bf54x-0.0.h       |    3 +-
 sim/bfin/bfroms/bf54x-0.1.h       |    3 +-
 sim/bfin/bfroms/bf54x-0.2.h       |    3 +-
 sim/bfin/bfroms/bf54x_l1-0.0.h    |    3 +-
 sim/bfin/bfroms/bf54x_l1-0.1.h    |    3 +-
 sim/bfin/bfroms/bf54x_l1-0.2.h    |    3 +-
 sim/bfin/bfroms/bf561-0.5.h       |    3 +-
 sim/bfin/bfroms/bf59x-0.0.h       |    3 +-
 sim/bfin/bfroms/bf59x_l1-0.1.h    |    3 +-
 sim/bfin/configure                |    1 +
 sim/bfin/configure.ac             |    1 +
 sim/bfin/dv-bfin_cec.c            |   12 +-
 sim/bfin/dv-bfin_ctimer.c         |    9 +-
 sim/bfin/dv-bfin_dma.c            |    9 +-
 sim/bfin/dv-bfin_dmac.c           |   75 +++++++----
 sim/bfin/dv-bfin_ebiu_amc.c       |   12 +-
 sim/bfin/dv-bfin_ebiu_ddrc.c      |    6 +-
 sim/bfin/dv-bfin_ebiu_sdc.c       |    6 +-
 sim/bfin/dv-bfin_emac.c           |    9 +-
 sim/bfin/dv-bfin_eppi.c           |    9 +-
 sim/bfin/dv-bfin_evt.c            |    6 +-
 sim/bfin/dv-bfin_gpio.c           |  287 +++++++++++++++++++++++++++++++++++++
 sim/bfin/dv-bfin_gpio.h           |   27 ++++
 sim/bfin/dv-bfin_gptimer.c        |    9 +-
 sim/bfin/dv-bfin_jtag.c           |    6 +-
 sim/bfin/dv-bfin_mmu.c            |    6 +-
 sim/bfin/dv-bfin_nfc.c            |    9 +-
 sim/bfin/dv-bfin_otp.c            |    6 +-
 sim/bfin/dv-bfin_pll.c            |    9 +-
 sim/bfin/dv-bfin_ppi.c            |    9 +-
 sim/bfin/dv-bfin_rtc.c            |    9 +-
 sim/bfin/dv-bfin_sic.c            |   42 ++++--
 sim/bfin/dv-bfin_spi.c            |    9 +-
 sim/bfin/dv-bfin_trace.c          |    6 +-
 sim/bfin/dv-bfin_twi.c            |    9 +-
 sim/bfin/dv-bfin_uart.c           |    9 +-
 sim/bfin/dv-bfin_uart2.c          |    9 +-
 sim/bfin/dv-bfin_wdog.c           |    9 +-
 sim/bfin/dv-bfin_wp.c             |    6 +-
 sim/bfin/dv-eth_phy.c             |    6 +-
 sim/bfin/gui.c                    |   18 ++-
 sim/bfin/linux-fixed-code.h       |    3 +-
 sim/bfin/linux-targ-map.h         |   12 +-
 sim/bfin/machs.c                  |  197 ++++++++++++++++---------
 69 files changed, 944 insertions(+), 273 deletions(-)
 create mode 100644 sim/bfin/dv-bfin_gpio.c
 create mode 100644 sim/bfin/dv-bfin_gpio.h

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 05c4cc6..8f2a14e 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110315
+#define BFD_VERSION_DATE 20110316
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index dc48a2a..3f4998e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
+
+	* MAINTAINERS: Add myself for write after approval privileges.
+
 2011-03-15  Michael Snyder  <msnyder@vmware.com>
 
 	* frame.c (find_frame_sal): Assert sym is not null.
diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS
index 3f5c696..cb8ed65 100644
--- a/gdb/MAINTAINERS
+++ b/gdb/MAINTAINERS
@@ -611,6 +611,7 @@ Gary Thomas					gthomas@redhat.com
 Jason Thorpe					thorpej@netbsd.org
 Caroline Tice					ctice@apple.com
 Kai Tietz					kai.tietz@onevision.com
+Andreas Tobler					andreast@fgznet.ch
 Tom Tromey					tromey@redhat.com
 David Ung					davidu@mips.com
 D Venkatasubramanian				dvenkat@noida.hcltech.com
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5f0cb6c..df52132 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-15  Andreas Tobler  <andreast@fgznet.ch>
+
+	* gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
+
 2011-03-15  Phil Muldoon  <pmuldoon@redhat.com>
 
 	* lib/gdb.exp (gdb_unload): Add another termination case.
diff --git a/gdb/testsuite/gdb.base/jit-main.c b/gdb/testsuite/gdb.base/jit-main.c
index 07ff198..b20c516 100644
--- a/gdb/testsuite/gdb.base/jit-main.c
+++ b/gdb/testsuite/gdb.base/jit-main.c
@@ -29,6 +29,19 @@
 #include <sys/mman.h>
 #include <sys/stat.h>
 
+/* ElfW is coming from linux. On other platforms it does not exist.
+   Let us define it here. */
+#ifndef ElfW
+# if (defined  (_LP64) || defined (__LP64__)) 
+#   define WORDSIZE 64
+# else
+#   define WORDSIZE 32
+# endif /* _LP64 || __LP64__  */
+#define ElfW(type)      _ElfW (Elf, WORDSIZE, type)
+#define _ElfW(e,w,t)    _ElfW_1 (e, w, _##t)
+#define _ElfW_1(e,w,t)  e##w##t
+#endif /* !ElfW  */
+
 typedef enum
 {
   JIT_NOACTION = 0,
diff --git a/gdb/version.in b/gdb/version.in
index 2905266..6c5c062 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-7.2.50.20110315-cvs
+7.2.50.20110316-cvs
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index 8065fad..1dea111 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,3 +1,71 @@
+2011-03-15  Mike Frysinger  <vapier@gentoo.org>
+
+	* Makefile.in (dv-bfin_gpio.o): New target.
+	* configure.ac (SIM_AC_OPTION_HARDWARE): Add bfin_gpio.
+	* configure: Regenerate.
+	* dv-bfin_gpio.c, dv-bfin_gpio.h: New files.
+	* machs.c: Include dv-bfin_gpio.h.
+	(bf50x_mem, bf51x_mem, bf52x_mem, bf531_mem, bf532_mem, bf533_mem,
+	bf534_mem, bf536_mem, bf537_mem, bf538_mem, bf561_mem, bf592_mem):
+	Delete GPIO memory stubs.
+	(bf50x_dev, bf512_dev, bf516_dev, bf522_dev, bf526_dev, bf533_dev,
+	bf534_dev, bf537_dev, bf538_dev, bf561_dev, bf592_dev): Add GPIO
+	peripheral devices.
+	(bfin_model_hw_tree_init): Hook up GPIO interrupts to SIC.
+
+2011-03-15  Mike Frysinger  <vapier@gentoo.org>
+
+	* bfroms/bf50x-0.0.h, bfroms/bf51x-0.0.h, bfroms/bf51x-0.1.h,
+	bfroms/bf51x-0.2.h, bfroms/bf526-0.0.h, bfroms/bf526-0.1.h,
+	bfroms/bf527-0.0.h, bfroms/bf527-0.1.h, bfroms/bf527-0.2.h,
+	bfroms/bf533-0.1.h, bfroms/bf533-0.2.h, bfroms/bf533-0.3.h,
+	bfroms/bf537-0.0.h, bfroms/bf537-0.1.h, bfroms/bf537-0.3.h,
+	bfroms/bf538-0.0.h, bfroms/bf54x-0.0.h, bfroms/bf54x-0.1.h,
+	bfroms/bf54x-0.2.h, bfroms/bf54x_l1-0.0.h, bfroms/bf54x_l1-0.1.h,
+	bfroms/bf54x_l1-0.2.h, bfroms/bf561-0.5.h, bfroms/bf59x-0.0.h,
+	bfroms/bf59x_l1-0.1.h, dv-bfin_cec.c, dv-bfin_ctimer.c,
+	dv-bfin_dma.c, dv-bfin_dmac.c, dv-bfin_ebiu_amc.c,
+	dv-bfin_ebiu_ddrc.c, dv-bfin_ebiu_sdc.c, dv-bfin_emac.c,
+	dv-bfin_eppi.c, dv-bfin_evt.c, dv-bfin_gptimer.c, dv-bfin_jtag.c,
+	dv-bfin_mmu.c, dv-bfin_nfc.c, dv-bfin_otp.c, dv-bfin_pll.c,
+	dv-bfin_ppi.c, dv-bfin_rtc.c, dv-bfin_sic.c, dv-bfin_spi.c,
+	dv-bfin_trace.c, dv-bfin_twi.c, dv-bfin_uart.c, dv-bfin_uart2.c,
+	dv-bfin_wdog.c, dv-bfin_wp.c, dv-eth_phy.c, gui.c,
+	linux-fixed-code.h, linux-targ-map.h, machs.c, Makefile.in: Fix style.
+
+2011-03-15  Robin Getz  <robin.getz@analog.com>
+
+	* bfin-sim.c (decode_dsp32alu_0): Set AZ based on val for 16bit adds
+	and subs.
+
+2011-03-15  Robin Getz  <robin.getz@analog.com>
+
+	* bfin-sim.c (decode_macfunc): Move acc STOREs behind op != 3 check.
+
+2011-03-15  Robin Getz  <robin.getz@analog.com>
+
+	* bfin-sim.c (decode_macfunc): New neg parameter.  Set when the
+	high bit is set after extract_mult.
+	(decode_dsp32mac_0): Declare n_1 and n_0.  Pass to the decode_macfunc
+	functions.  Use these to update the AN bit.
+
+2011-03-15  Robin Getz  <robin.getz@analog.com>
+
+	* bfin-sim.c (decode_dsp32mult_0): Declare v_i0 and v_i1.  Pass to
+	the extract_mult functions.  Include these when updating the V, VS,
+	and V_COPY bits.
+
+2011-03-15  Robin Getz  <robin.getz@analog.com>
+
+	* bfin-sim.c (astat_names): New global bit array.
+	(decode_CC2stat_0): Delete local astat_name and astat_names.
+	(decode_psedodbg_assert_0): Move hardcoded offset into a variable.
+	Print out ASTAT bit values when checking an ASTAT register.
+
+2010-03-15  Robin Getz  <robin.getz@analog.com>
+
+	* bfin-sim.c (extract_mult): Handle M_IU.
+
 2011-03-05  Mike Frysinger  <vapier@gentoo.org>
 
 	* Makefile.in, TODO, aclocal.m4, bfin-sim.c, bfin-sim.h,
diff --git a/sim/bfin/Makefile.in b/sim/bfin/Makefile.in
index 64f26d3..2276c52 100644
--- a/sim/bfin/Makefile.in
+++ b/sim/bfin/Makefile.in
@@ -53,7 +53,8 @@ $(srcdir)/linux-fixed-code.h: $(srcdir)/linux-fixed-code.s Makefile.in
 	$(AS_FOR_TARGET) $< -o linux-fixed-code.o
 	(	set -e; \
 		echo "/* DO NOT EDIT: Autogenerated from linux-fixed-code.s.  */"; \
-		echo "static const unsigned char bfin_linux_fixed_code[] = {"; \
+		echo "static const unsigned char bfin_linux_fixed_code[] ="; \
+		echo "{"; \
 		$(OBJDUMP_FOR_TARGET) -d -z linux-fixed-code.o > $@.dis; \
 		sed -n $@.dis \
 			-e 's:^[^	]*	:0x:' \
@@ -78,6 +79,7 @@ dv-bfin_ebiu_sdc.o: dv-bfin_ebiu_sdc.c devices.h $(INCLUDE)
 dv-bfin_emac.o: dv-bfin_emac.c devices.h $(INCLUDE)
 dv-bfin_eppi.o: dv-bfin_eppi.c devices.h $(INCLUDE)
 dv-bfin_evt.o: dv-bfin_evt.c devices.h $(INCLUDE)
+dv-bfin_gpio.o: dv-bfin_gpio.c devices.h $(INCLUDE)
 dv-bfin_gptimer.o: dv-bfin_gptimer.c devices.h $(INCLUDE)
 dv-bfin_jtag.o: dv-bfin_jtag.c devices.h $(INCLUDE)
 dv-bfin_mmu.o: dv-bfin_mmu.c devices.h $(INCLUDE)
diff --git a/sim/bfin/bfin-sim.c b/sim/bfin/bfin-sim.c
index 6d9361e..6415388 100644
--- a/sim/bfin/bfin-sim.c
+++ b/sim/bfin/bfin-sim.c
@@ -75,6 +75,42 @@ unhandled_instruction (SIM_CPU *cpu, const char *insn)
   illegal_instruction (cpu);
 }
 
+static const char * const astat_names[] =
+{
+  [ 0] = "AZ",
+  [ 1] = "AN",
+  [ 2] = "AC0_COPY",
+  [ 3] = "V_COPY",
+  [ 4] = "ASTAT_4",
+  [ 5] = "CC",
+  [ 6] = "AQ",
+  [ 7] = "ASTAT_7",
+  [ 8] = "RND_MOD",
+  [ 9] = "ASTAT_9",
+  [10] = "ASTAT_10",
+  [11] = "ASTAT_11",
+  [12] = "AC0",
+  [13] = "AC1",
+  [14] = "ASTAT_14",
+  [15] = "ASTAT_15",
+  [16] = "AV0",
+  [17] = "AV0S",
+  [18] = "AV1",
+  [19] = "AV1S",
+  [20] = "ASTAT_20",
+  [21] = "ASTAT_21",
+  [22] = "ASTAT_22",
+  [23] = "ASTAT_23",
+  [24] = "V",
+  [25] = "VS",
+  [26] = "ASTAT_26",
+  [27] = "ASTAT_27",
+  [28] = "ASTAT_28",
+  [29] = "ASTAT_29",
+  [30] = "ASTAT_30",
+  [31] = "ASTAT_31",
+};
+
 typedef enum
 {
   c_0, c_1, c_4, c_2, c_uimm2, c_uimm3, c_imm3, c_pcrel4,
@@ -1479,6 +1515,8 @@ extract_mult (SIM_CPU *cpu, bu64 res, int mmod, int MM,
       case 0:
       case M_IS:
 	return saturate_s32 (res, overflow);
+      case M_IU:
+	return saturate_u32 (res, overflow);
       case M_FU:
 	if (MM)
 	  return saturate_s32 (res, overflow);
@@ -1524,10 +1562,11 @@ extract_mult (SIM_CPU *cpu, bu64 res, int mmod, int MM,
 
 static bu32
 decode_macfunc (SIM_CPU *cpu, int which, int op, int h0, int h1, int src0,
-		int src1, int mmod, int MM, int fullword, bu32 *overflow)
+		int src1, int mmod, int MM, int fullword, bu32 *overflow,
+		bu32 *neg)
 {
   bu64 acc;
-  bu32 sat = 0, tsat;
+  bu32 sat = 0, tsat, ret;
 
   /* Sign extend accumulator if necessary, otherwise unsigned.  */
   if (mmod == 0 || mmod == M_T || mmod == M_IS || mmod == M_ISS2
@@ -1620,15 +1659,31 @@ decode_macfunc (SIM_CPU *cpu, int which, int op, int h0, int h1, int src0,
 	default:
 	  illegal_instruction (cpu);
 	}
+
+      if (acc & 0x8000000000ull)
+	*neg = 1;
+
+      STORE (AXREG (which), (acc >> 32) & 0xff);
+      STORE (AWREG (which), acc & 0xffffffff);
+      STORE (ASTATREG (av[which]), sat);
+      if (sat)
+	STORE (ASTATREG (avs[which]), sat);
     }
 
-  STORE (AXREG (which), (acc >> 32) & 0xff);
-  STORE (AWREG (which), acc & 0xffffffff);
-  STORE (ASTATREG (av[which]), sat);
-  if (sat)
-    STORE (ASTATREG (avs[which]), sat);
+  ret = extract_mult (cpu, acc, mmod, MM, fullword, overflow);
+
+  if (!fullword)
+    {
+      if (ret & 0x8000)
+	*neg = 1;
+    }
+  else
+    {
+      if (ret & 0x80000000)
+	*neg = 1;
+    }
 
-  return extract_mult (cpu, acc, mmod, MM, fullword, overflow);
+  return ret;
 }
 
 bu32
@@ -2278,37 +2333,12 @@ decode_CC2stat_0 (SIM_CPU *cpu, bu16 iw0)
   bu32 pval;
 
   const char * const op_names[] = { "", "|", "&", "^" } ;
-  const char *astat_name;
-  const char * const astat_names[32] = {
-    [ 0] = "AZ",
-    [ 1] = "AN",
-    [ 2] = "AC0_COPY",
-    [ 3] = "V_COPY",
-    [ 5] = "CC",
-    [ 6] = "AQ",
-    [ 8] = "RND_MOD",
-    [12] = "AC0",
-    [13] = "AC1",
-    [16] = "AV0",
-    [17] = "AV0S",
-    [18] = "AV1",
-    [19] = "AV1S",
-    [24] = "V",
-    [25] = "VS",
-  };
-  astat_name = astat_names[cbit];
-  if (!astat_name)
-    {
-      static char astat_bit[12];
-      sprintf (astat_bit, "ASTAT[%i]", cbit);
-      astat_name = astat_bit;
-    }
 
   PROFILE_COUNT_INSN (cpu, pc, BFIN_INSN_CC2stat);
   TRACE_EXTRACT (cpu, "%s: D:%i op:%i cbit:%i", __func__, D, op, cbit);
 
-  TRACE_INSN (cpu, "%s %s= %s;", D ? astat_name : "CC",
-	      op_names[op], D ? "CC" : astat_name);
+  TRACE_INSN (cpu, "%s %s= %s;", D ? astat_names[cbit] : "CC",
+	      op_names[op], D ? "CC" : astat_names[cbit]);
 
   /* CC = CC; is invalid.  */
   if (cbit == 5)
@@ -2335,10 +2365,7 @@ decode_CC2stat_0 (SIM_CPU *cpu, bu16 iw0)
 	case 2: pval &= CCREG; break;
 	case 3: pval ^= CCREG; break;
 	}
-      if (astat_names[cbit])
-	TRACE_REGISTER (cpu, "wrote ASTAT[%s] = %i", astat_name, pval);
-      else
-	TRACE_REGISTER (cpu, "wrote %s = %i", astat_name, pval);
+      TRACE_REGISTER (cpu, "wrote ASTAT[%s] = %i", astat_names[cbit], pval);
       SET_ASTAT ((ASTAT & ~(1 << cbit)) | (pval << cbit));
     }
 }
@@ -3692,7 +3719,7 @@ decode_dsp32mac_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
   int h01  = ((iw1 >> DSP32Mac_h01_bits) & DSP32Mac_h01_mask);
 
   bu32 res = DREG (dst);
-  bu32 v_i = 0, zero = 0;
+  bu32 v_i = 0, zero = 0, n_1 = 0, n_0 = 0;
 
   static const char * const ops[] = { "=", "+=", "-=" };
   char _buf[128], *buf = _buf;
@@ -3717,7 +3744,7 @@ decode_dsp32mac_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
   if (w1 == 1 || op1 != 3)
     {
       bu32 res1 = decode_macfunc (cpu, 1, op1, h01, h11, src0,
-				  src1, mmod, MM, P, &v_i);
+				  src1, mmod, MM, P, &v_i, &n_1);
 
       if (w1)
 	buf += sprintf (buf, P ? "R%i" : "R%i.H", dst + P);
@@ -3763,7 +3790,7 @@ decode_dsp32mac_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
   if (w0 == 1 || op0 != 3)
     {
       bu32 res0 = decode_macfunc (cpu, 0, op0, h00, h10, src0,
-				  src1, mmod, 0, P, &v_i);
+				  src1, mmod, 0, P, &v_i, &n_0);
 
       if (w0)
 	buf += sprintf (buf, P ? "R%i" : "R%i.L", dst);
@@ -3812,8 +3839,16 @@ decode_dsp32mac_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
       if (v_i)
 	SET_ASTATREG (vs, v_i);
     }
-  if (op0 == 3 || op1 == 3)
-    SET_ASTATREG (az, zero);
+
+  if ((w0 == 1 && op0 == 3) || (w1 == 1 && op1 == 3))
+    {
+      SET_ASTATREG (az, zero);
+      if (!(w0 == 1 && op0 == 3))
+	n_0 = 0;
+      if (!(w1 == 1 && op1 == 3))
+	n_1 = 0;
+      SET_ASTATREG (an, n_1 | n_0);
+    }
 }
 
 static void
@@ -3841,7 +3876,7 @@ decode_dsp32mult_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
   int h01  = ((iw1 >> DSP32Mac_h01_bits) & DSP32Mac_h01_mask);
 
   bu32 res = DREG (dst);
-  bu32 sat0 = 0, sat1 = 0;
+  bu32 sat0 = 0, sat1 = 0, v_i0 = 0, v_i1 = 0;
   char _buf[128], *buf = _buf;
   int _MM = MM;
 
@@ -3864,7 +3899,7 @@ decode_dsp32mult_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
   if (w1)
     {
       bu64 r = decode_multfunc (cpu, h01, h11, src0, src1, mmod, MM, &sat1);
-      bu32 res1 = extract_mult (cpu, r, mmod, MM, P, NULL);
+      bu32 res1 = extract_mult (cpu, r, mmod, MM, P, &v_i1);
 
       buf += sprintf (buf, P ? "R%i" : "R%i.H", dst + P);
       buf += sprintf (buf, " = R%i.%c * R%i.%c",
@@ -3892,7 +3927,7 @@ decode_dsp32mult_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
   if (w0)
     {
       bu64 r = decode_multfunc (cpu, h00, h10, src0, src1, mmod, 0, &sat0);
-      bu32 res0 = extract_mult (cpu, r, mmod, 0, P, NULL);
+      bu32 res0 = extract_mult (cpu, r, mmod, 0, P, &v_i0);
 
       buf += sprintf (buf, P ? "R%i" : "R%i.L", dst);
       buf += sprintf (buf, " = R%i.%c * R%i.%c",
@@ -3916,10 +3951,12 @@ decode_dsp32mult_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
 
   if (w0 || w1)
     {
-      STORE (ASTATREG (v), sat0 | sat1);
-      STORE (ASTATREG (v_copy), sat0 | sat1);
-      if (sat0 | sat1)
-	STORE (ASTATREG (vs), 1);
+      bu32 v = sat0 | sat1 | v_i0 | v_i1;
+
+      STORE (ASTATREG (v), v);
+      STORE (ASTATREG (v_copy), v);
+      if (v)
+	STORE (ASTATREG (vs), v);
     }
 }
 
@@ -4091,7 +4128,7 @@ decode_dsp32alu_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1)
 	SET_DREG_L (dst0, val);
 
       SET_ASTATREG (an, val & 0x8000);
-
+      SET_ASTATREG (az, val == 0);
     }
   else if ((aop == 0 || aop == 2) && aopcde == 9 && s == 1)
     {
@@ -5897,6 +5934,7 @@ decode_psedodbg_assert_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1, bu32 pc)
   int dbgop    = ((iw0 >> (PseudoDbg_Assert_dbgop_bits - 16)) & PseudoDbg_Assert_dbgop_mask);
   int grp      = ((iw0 >> (PseudoDbg_Assert_grp_bits - 16)) & PseudoDbg_Assert_grp_mask);
   int regtest  = ((iw0 >> (PseudoDbg_Assert_regtest_bits - 16)) & PseudoDbg_Assert_regtest_mask);
+  int offset;
   bu16 actual;
   bu32 val = reg_read (cpu, grp, regtest);
   const char *reg_name = get_allreg_name (grp, regtest);
@@ -5910,22 +5948,51 @@ decode_psedodbg_assert_0 (SIM_CPU *cpu, bu16 iw0, bu16 iw1, bu32 pc)
     {
       dbg_name = dbgop == 0 ? "DBGA" : "DBGAL";
       dbg_appd = dbgop == 0 ? ".L" : "";
-      actual = val;
+      offset = 0;
     }
   else if (dbgop == 1 || dbgop == 3)
     {
       dbg_name = dbgop == 1 ? "DBGA" : "DBGAH";
       dbg_appd = dbgop == 1 ? ".H" : "";
-      actual = val >> 16;
+      offset = 16;
     }
   else
     illegal_instruction (cpu);
 
+  actual = val >> offset;
+
   TRACE_INSN (cpu, "%s (%s%s, 0x%x);", dbg_name, reg_name, dbg_appd, expected);
   if (actual != expected)
     {
-      sim_io_printf (sd, "FAIL at %#x: %s (%s%s, 0x%04x), actual value %#x\n",
+      sim_io_printf (sd, "FAIL at %#x: %s (%s%s, 0x%04x); actual value %#x\n",
 		     pc, dbg_name, reg_name, dbg_appd, expected, actual);
+
+      /* Decode the actual ASTAT bits that are different.  */
+      if (grp == 4 && regtest == 6)
+	{
+	  int i;
+
+	  sim_io_printf (sd, "Expected ASTAT:\n");
+	  for (i = 0; i < 16; ++i)
+	    sim_io_printf (sd, " %8s%c%i%s",
+			   astat_names[i + offset],
+			   (((expected >> i) & 1) != ((actual >> i) & 1))
+				? '!' : ' ',
+			   (expected >> i) & 1,
+			   i == 7 ? "\n" : "");
+	  sim_io_printf (sd, "\n");
+
+	  sim_io_printf (sd, "Actual ASTAT:\n");
+	  for (i = 0; i < 16; ++i)
+	    sim_io_printf (sd, " %8s%c%i%s",
+			   astat_names[i + offset],
+			   (((expected >> i) & 1) != ((actual >> i) & 1))
+				? '!' : ' ',
+			   (actual >> i) & 1,
+			   i == 7 ? "\n" : "");
+	  sim_io_printf (sd, "\n");
+	}
+
       cec_exception (cpu, VEC_SIM_DBGA);
       SET_DREG (0, 1);
     }
diff --git a/sim/bfin/bfroms/bf50x-0.0.h b/sim/bfin/bfroms/bf50x-0.0.h
index 00dcc10..c5dfcda 100644
--- a/sim/bfin/bfroms/bf50x-0.0.h


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-03-15 20:19 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-03-15 20:19 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  4f8d91f8d1fd48824ddb6bcfa99b56c19ce5ad15 (commit)
       via  e5f750ae15043bf77b43f97e671d5040727b62c9 (commit)
       via  41fdb83804a11830e523ed560848cc055b4c5d24 (commit)
       via  672e9778c4d126b3f1ea2f4887a9058b8247c53f (commit)
       via  047b8af30d3ee8ce5b3dd71614c890ed838c6d90 (commit)
       via  18d6612f9ede60d9005d376cf8863a79d6a4927d (commit)
       via  905780afb93a580aa026db6f175bfc35a368ebf7 (commit)
       via  57da298c38bfd8b645dc1c00d3ec4cd3f69771f8 (commit)
       via  033b423fc13651dbe731e940a75625f110b6f1af (commit)
       via  72110da1991252e2d5c932a4ab7e759bf217a840 (commit)
       via  4f7d3c58b92b745b134af53ab6f407eabf05ee09 (commit)
       via  2fcd95c2f73b1164222c883425bfaa9e2133e27b (commit)
       via  4e7c740caea25377077e2abac519b2218504a061 (commit)
       via  e7599069219ebd317796e0a9be4ffb9a99022c9d (commit)
       via  08a0cf0bb898103012c7f7e28614479ef718c467 (commit)
       via  7618068ba04d961d651a43a827e4a60a5a34f6ea (commit)
       via  53e61d086c25aed0625b1927ae8d48351b6d7a54 (commit)
       via  ba5bc1a44b71a09bc3f0e62db71364d186cfccd2 (commit)
       via  deb989899834b7e0e9e6911b5f25f60cfd46def3 (commit)
       via  b676ed482aa8b0010297535f542ea9bfd0118660 (commit)
       via  0ca05af73ed3e5aa9e1ca541d068c75a251aaa56 (commit)
       via  4dd51a525ac7a42f9773a24206ffb0fb0b286365 (commit)
       via  3435a0f49e351017f9034e78795d0337f832ac01 (commit)
      from  072aee2013b4b0c72047dc4d1d2a15d62c8b01d1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 4f8d91f8d1fd48824ddb6bcfa99b56c19ce5ad15
Merge: 072aee2 e5f750a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Mar 15 21:19:30 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit e5f750ae15043bf77b43f97e671d5040727b62c9
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 15 19:28:56 2011 +0000

    2011-03-15  Michael Snyder  <msnyder@vmware.com>
    
    	* frame.c (find_frame_sal): Assert sym is not null.

commit 41fdb83804a11830e523ed560848cc055b4c5d24
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 15 19:03:48 2011 +0000

    2011-03-04  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
    
    	* dbxread.c (process_one_symbol): Assert 'name' is not null.

commit 672e9778c4d126b3f1ea2f4887a9058b8247c53f
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 15 18:07:28 2011 +0000

    2011-03-04  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
    
    	* objc-lang.c (selectors_info): Check strchr for null result.

commit 047b8af30d3ee8ce5b3dd71614c890ed838c6d90
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 15 17:54:24 2011 +0000

    2011-03-04  Michael Snyder  <msnyder@vmware.com>
    
    	* stabsread.c (define_symbol): Guard against bad stabstring input.

commit 18d6612f9ede60d9005d376cf8863a79d6a4927d
Author: pmuldoon <pmuldoon>
Date:   Tue Mar 15 16:41:41 2011 +0000

    2011-03-15  Phil Muldoon  <pmuldoon@redhat.com>
    
    	    * lib/gdb.exp (gdb_unload): Add another termination case.

commit 905780afb93a580aa026db6f175bfc35a368ebf7
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Tue Mar 15 16:00:54 2011 +0000

    	Remove trailing spaces and tabulations from pascal language
    	support sources.
    	p-exp.y: Ditto.
    	p-lang.c: Ditto.
    	p-lang.h: Ditto.
    	p-valprint.c: Ditto.

commit 57da298c38bfd8b645dc1c00d3ec4cd3f69771f8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Mar 15 15:57:09 2011 +0000

    gdb/
    	* dwarf2read.c (dwarf2_get_pc_bounds): Require HIGH strictly higher
    	than LOW.  Comment it.
    	(read_partial_die): Call complaint for inappropriate zero LOWPC or
    	HIGHPC not strictly higher than LOWPC.
    
    gdb/testsuite/
    	* gdb.dwarf2/dw2-empty-pc-range.S: New file.
    	* gdb.dwarf2/dw2-empty-pc-range.exp: New file.
    	* gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
    	Provide a stub byte there.
    	(DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
    	DW_AT_entry_pc.
    	(dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.

commit 033b423fc13651dbe731e940a75625f110b6f1af
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Tue Mar 15 15:52:02 2011 +0000

    	Fix formatting of function declarations returning a pointer in
    	previous commit.
    	* varobj.c (varobj_add_child): Ditto.
    	* hppa-tdep.h (hppa_init_objfile_priv_data): Ditto.
    	* inferior.h (get_displaced_step_closure_by_addr): Ditto.

commit 72110da1991252e2d5c932a4ab7e759bf217a840
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Tue Mar 15 14:42:31 2011 +0000

    gdb/
    	* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Add support
    	for the "generic" vector ABI used with GCC 4.3 and later.
    	(ppc64_sysv_abi_return_value): Likewise.
    
    gdb/testsuite:
    	* gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
    	using a GCC 4.1 or 4.2 compiler.  Add an additional test variant
    	"generic ABI, auto".
    	(altivec_abi_tests): Accept vectors returned by reference.

commit 4f7d3c58b92b745b134af53ab6f407eabf05ee09
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Tue Mar 15 14:40:18 2011 +0000

    	* infcall.c (call_function_by_hand): Function return value is
    	always a non_lval, even when using struct_return.

commit 2fcd95c2f73b1164222c883425bfaa9e2133e27b
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Tue Mar 15 14:05:36 2011 +0000

    	gdb/
    	* printcmd.c (ALL_DISPLAYS_SAFE): New.
    	(map_display_numbers): New.
    	(do_delete_display): New.
    	(undisplay_command): Use map_display_numbers.
    	(do_enable_disable_display): New.
    	(enable_disable_display_command): New function.
    	(enable_display): Delete.
    	(enable_display_command): New.
    	(disable_display_command): Reimplement.
    	(_initialize_printcmd): Adjust "enable display" command to use
    	`enable_display_command' as callback.
    
    	gdb/doc/
    	* gdb.texinfo (Auto Display) <undisplay, enable display, disable
    	display>: Explain that the commands accept number ranges.

commit 4e7c740caea25377077e2abac519b2218504a061
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Mar 15 03:16:16 2011 +0000

    sim: common: trim trailing whitespace

commit e7599069219ebd317796e0a9be4ffb9a99022c9d
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Mar 15 00:00:03 2011 +0000

    *** empty log message ***

commit 08a0cf0bb898103012c7f7e28614479ef718c467
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Mar 14 23:00:07 2011 +0000

    daily update

commit 7618068ba04d961d651a43a827e4a60a5a34f6ea
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon Mar 14 22:24:30 2011 +0000

    sim: bfin: forgot to cvs add the changelog

commit 53e61d086c25aed0625b1927ae8d48351b6d7a54
Author: pmuldoon <pmuldoon>
Date:   Mon Mar 14 21:45:21 2011 +0000

    2011-03-14  Phil Muldoon  <pmuldoon@redhat.com>
    
    	    * NEWS: Add Python breakpoint 'stop' operation.

commit ba5bc1a44b71a09bc3f0e62db71364d186cfccd2
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Mar 14 21:33:20 2011 +0000

    Fix earlier changelog errors.

commit deb989899834b7e0e9e6911b5f25f60cfd46def3
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Mar 14 21:26:24 2011 +0000

    2011-03-14  Michael Snyder  <msnyder@vmware.com>
    
    	* gdbserver/hostio.c (handle_close): Remove unnecessary null test.

commit b676ed482aa8b0010297535f542ea9bfd0118660
Author: pmuldoon <pmuldoon>
Date:   Mon Mar 14 17:48:49 2011 +0000

    2011-03-14  Phil Muldoon  <pmuldoon@redhat.com>
    
    	    * NEWS: Delete duplicate entry. Fix typo.

commit 0ca05af73ed3e5aa9e1ca541d068c75a251aaa56
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Mon Mar 14 16:54:56 2011 +0000

    	Fix ARI warning about function names in first column.
    	Put prototype declaration on same line as return type.
    	* objc-exp.y: Ditto.
    	* p-exp.y: Ditto.
    	* python/py-stopevent.h: Ditto.
    	For long function names, split parameters to allow function name
    	on same line as return type.
    	* solib-pa64.c: Ditto.
    	* varobj.c: Ditto.
    	* varobj.h: Ditto.
    	For long function declaration, use single line.
    	* hppa-tdep.h: Ditto.
    	* inferior.h: Ditto.

commit 4dd51a525ac7a42f9773a24206ffb0fb0b286365
Author: pmuldoon <pmuldoon>
Date:   Mon Mar 14 16:09:52 2011 +0000

    2011-03-14  Phil Muldoon  <pmuldoon@redhat.com>
    
    	    * gdb.texinfo (Breakpoints In Python): Add description and
                  example
    	      of Python stop function operation.
    
    2010-03-14  Phil Muldoon  <pmuldoon@redhat.com>
    
    	    * gdb.python/py-breakpoint.exp: Add Python stop operations
                  tests.
    
    2011-03-14  Phil Muldoon  <pmuldoon@redhat.com>
    
    	    * python/python.h: Declare gdbpy_should_stop and
    	    gdbpy_breakpoint_has_py_cond.
    	    * python/python.c: Add python.h to includes.  Remove
    	    python.h from
    	    HAVE_PYTHON definition
    	    (gdbpy_should_stop): New dummy function.
    	    (gdbpy_breakpoint_has_py_cond): New dummy function.
    	    * python/py-breakpoint.c (bppy_init): Rewrite to allow
    	    sub-classing capabilities.
    	    (gdbpy_should_stop): New function.
    	    (gdbpy_breakpoint_has_py_cond): New function.
    	    (local_setattro): New function.
    	    * breakpoint.c (condition_command): Add check for Python
    	    'stop'
    	    operation.
    	    (bpstat_check_breakpoint_conditions): Execute Python
    	    'stop'
    	    operation function as part of stop/continue tests.

commit 3435a0f49e351017f9034e78795d0337f832ac01
Author: Richard Sandiford <rsandifo@nildram.co.uk>
Date:   Mon Mar 14 16:04:03 2011 +0000

    include/elf/
    	* arm.h (R_ARM_IRELATIVE): New relocation.
    
    bfd/
    	* reloc.c (BFD_RELOC_ARM_IRELATIVE): New relocation.
    	* bfd-in2.h: Regenerate.
    	* elf32-arm.c (elf32_arm_howto_table_2): Rename existing definition
    	to elf32_arm_howto_table_3 and replace with a single R_ARM_IRELATIVE
    	entry.
    	(elf32_arm_howto_from_type): Update accordingly.
    	(elf32_arm_reloc_map): Map BFD_RELOC_ARM_IRELATIVE to R_ARM_IRELATIVE.
    	(elf32_arm_reloc_name_lookup): Handle elf32_arm_howto_table_3.
    	(arm_plt_info): New structure, split out from elf32_arm_link_hash_entry
    	with an extra noncall_refcount field.
    	(arm_local_iplt_info): New structure.
    	(elf_arm_obj_tdata): Add local_iplt.
    	(elf32_arm_local_iplt): New accessor macro.
    	(elf32_arm_link_hash_entry): Replace plt_thumb_refcount,
    	plt_maybe_thumb_refcount and plt_got_offset with an arm_plt_info.
    	Change tls_type to a bitfield and add is_iplt.
    	(elf32_arm_link_hash_newfunc): Update accordingly.
    	(elf32_arm_allocate_local_sym_info): New function.
    	(elf32_arm_create_local_iplt): Likewise.
    	(elf32_arm_get_plt_info): Likewise.
    	(elf32_arm_plt_needs_thumb_stub_p): Likewise.
    	(elf32_arm_get_local_dynreloc_list): Likewise.
    	(create_ifunc_sections): Likewise.
    	(elf32_arm_copy_indirect_symbol): Update after the changes to
    	elf32_arm_link_hash_entry.  Assert the is_iplt has not yet been set.
    	(arm_type_of_stub): Add an st_type argument.  Use elf32_arm_get_plt_info
    	to get PLT information.  Assert that all STT_GNU_IFUNC references
    	are turned into PLT references.
    	(arm_build_one_stub): Pass the symbol type to
    	elf32_arm_final_link_relocate.
    	(elf32_arm_size_stubs): Pass the symbol type to arm_type_of_stub.
    	(elf32_arm_allocate_irelocs): New function.
    	(elf32_arm_add_dynreloc): In static objects, use .rel.iplt for
    	all R_ARM_IRELATIVE.
    	(elf32_arm_allocate_plt_entry): New function.
    	(elf32_arm_populate_plt_entry): Likewise.
    	(elf32_arm_final_link_relocate): Add an st_type parameter.
    	Set srelgot to null for static objects.  Use separate variables
    	to record which st_value and st_type should be used when generating
    	a dynamic relocation.  Use elf32_arm_get_plt_info to find the
    	symbol's PLT information, setting has_iplt_entry, splt,
    	plt_offset and gotplt_offset accordingly.  Check whether
    	STT_GNU_IFUNC symbols should resolve to an .iplt entry, and change
    	the relocation target accordingly.  Broaden assert to include
    	.iplts.  Don't set sreloc for static relocations.  Assert that
    	we only generate dynamic R_ARM_RELATIVE relocations for R_ARM_ABS32
    	and R_ARM_ABS32_NOI.  Generate R_ARM_IRELATIVE relocations instead
    	of R_ARM_RELATIVE relocations if the target is an STT_GNU_IFUNC
    	symbol.  Pass the symbol type to arm_type_of_stub.  Conditionally
    	resolve GOT references to the .igot.plt entry.
    	(elf32_arm_relocate_section): Update the call to
    	elf32_arm_final_link_relocate.
    	(elf32_arm_gc_sweep_hook): Use elf32_arm_get_plt_info to get PLT
    	information.  Treat R_ARM_REL32 and R_ARM_REL32_NOI as call
    	relocations in shared libraries and relocatable executables.
    	Count non-call PLT references.  Use elf32_arm_get_local_dynreloc_list
    	to get the list of dynamic relocations for a local symbol.
    	(elf32_arm_check_relocs): Always create ifunc sections.  Set isym
    	at the same time as setting h.  Use elf32_arm_allocate_local_sym_info
    	to allocate local symbol information.  Treat R_ARM_REL32 and
    	R_ARM_REL32_NOI as call relocations in shared libraries and
    	relocatable executables.  Record PLT information for local
    	STT_GNU_IFUNC functions as well as global functions.   Count
    	non-call PLT references.  Use elf32_arm_get_local_dynreloc_list
    	to get the list of dynamic relocations for a local symbol.
    	(elf32_arm_adjust_dynamic_symbol): Handle STT_GNU_IFUNC symbols.
    	Don't remove STT_GNU_IFUNC PLTs unless all references have been
    	removed.  Update after the changes to elf32_arm_link_hash_entry.
    	(allocate_dynrelocs_for_symbol): Decide whether STT_GNU_IFUNC PLT
    	entries should live in .plt or .iplt.  Check whether the .igot.plt
    	and .got entries can be combined.  Use elf32_arm_allocate_plt_entry
    	to allocate .plt and .(i)got.plt entries.  Detect which .got
    	entries will need R_ARM_IRELATIVE relocations and use
    	elf32_arm_allocate_irelocs to allocate them.  Likewise other
    	non-.got dynamic relocations.
    	(elf32_arm_size_dynamic_sections): Allocate .iplt, .igot.plt
    	and dynamic relocations for local STT_GNU_IFUNC symbols.
    	Check whether the .igot.plt and .got entries can be combined.
    	Detect which .got entries will need R_ARM_IRELATIVE relocations
    	and use elf32_arm_allocate_irelocs to allocate them.  Use stashed
    	section pointers intead of strcmp checks.  Handle iplt and igotplt.
    	(elf32_arm_finish_dynamic_symbol): Use elf32_arm_populate_plt_entry
    	to fill in .plt, .got.plt and .rel(a).plt entries.  Point
    	STT_GNU_IFUNC symbols at an .iplt entry if non-call relocations
    	resolve to it.
    	(elf32_arm_output_plt_map_1): New function, split out from
    	elf32_arm_output_plt_map.  Handle .iplt entries.  Use
    	elf32_arm_plt_needs_thumb_stub_p.
    	(elf32_arm_output_plt_map): Call it.
    	(elf32_arm_output_arch_local_syms): Add mapping symbols for
    	local .iplt entries.
    	(elf32_arm_swap_symbol_in): Handle Thumb STT_GNU_IFUNC symbols.
    	(elf32_arm_swap_symbol_out): Likewise.
    	(elf32_arm_add_symbol_hook): New function.
    	(elf_backend_add_symbol_hook): Define for all targets.
    
    opcodes/
    	* arm-dis.c (get_sym_code_type): Treat STT_GNU_IFUNCs as code.
    
    gas/
    	* config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
    	determine whether a relocation is needed.
    	(md_apply_fix, arm_apply_sym_value): Likewise.
    
    ld/testsuite/
    	* ld-arm/ifunc-1.s, ld-arm/ifunc-1.dd, ld-arm/ifunc-1.gd,
    	ld-arm/ifunc-1.rd, ld-arm/ifunc-2.s, ld-arm/ifunc-2.dd,
    	ld-arm/ifunc-2.gd, ld-arm/ifunc-2.rd, ld-arm/ifunc-3.s,
    	ld-arm/ifunc-3.dd, ld-arm/ifunc-3.gd, ld-arm/ifunc-3.rd,
    	ld-arm/ifunc-4.s, ld-arm/ifunc-4.dd, ld-arm/ifunc-4.gd,
    	ld-arm/ifunc-4.rd, ld-arm/ifunc-5.s, ld-arm/ifunc-5.dd,
    	ld-arm/ifunc-5.gd, ld-arm/ifunc-5.rd, ld-arm/ifunc-6.s,
    	ld-arm/ifunc-6.dd, ld-arm/ifunc-6.gd, ld-arm/ifunc-6.rd,
    	ld-arm/ifunc-7.s, ld-arm/ifunc-7.dd, ld-arm/ifunc-7.gd,
    	ld-arm/ifunc-7.rd, ld-arm/ifunc-8.s, ld-arm/ifunc-8.dd,
    	ld-arm/ifunc-8.gd, ld-arm/ifunc-8.rd, ld-arm/ifunc-9.s,
    	ld-arm/ifunc-9.dd, ld-arm/ifunc-9.gd, ld-arm/ifunc-9.rd,
    	ld-arm/ifunc-10.s, ld-arm/ifunc-10.dd, ld-arm/ifunc-10.gd,
    	ld-arm/ifunc-10.rd, ld-arm/ifunc-11.s, ld-arm/ifunc-11.dd,
    	ld-arm/ifunc-11.gd, ld-arm/ifunc-11.rd, ld-arm/ifunc-12.s,
    	ld-arm/ifunc-12.dd, ld-arm/ifunc-12.gd, ld-arm/ifunc-12.rd,
    	ld-arm/ifunc-13.s, ld-arm/ifunc-13.dd, ld-arm/ifunc-13.gd,
    	ld-arm/ifunc-13.rd, ld-arm/ifunc-14.s, ld-arm/ifunc-14.dd,
    	ld-arm/ifunc-14.gd, ld-arm/ifunc-14.rd, ld-arm/ifunc-15.s,
    	ld-arm/ifunc-15.dd, ld-arm/ifunc-15.gd, ld-arm/ifunc-15.rd,
    	ld-arm/ifunc-16.s, ld-arm/ifunc-16.dd, ld-arm/ifunc-16.gd,
    	ld-arm/ifunc-16.rd, ld-arm/ifunc-dynamic.ld,
    	ld-arm/ifunc-static.ld: New tests.
    	* ld-arm/farcall-group.d, ld-arm/farcall-group-size2.d,
    	ld-arm/farcall-mixed-lib-v4t.d, ld-arm/farcall-mixed-lib.d: Update
    	for new stub hashes.
    	* ld-arm/arm-elf.exp: Run them.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                                   |   98 ++
 bfd/bfd-in2.h                                   |    3 +
 bfd/elf32-arm.c                                 | 1593 ++++++++++++++++-------
 bfd/reloc.c                                     |    5 +
 bfd/version.h                                   |    2 +-
 gdb/ChangeLog                                   |  112 ++-
 gdb/NEWS                                        |   14 +-
 gdb/breakpoint.c                                |   14 +
 gdb/dbxread.c                                   |    1 +
 gdb/doc/ChangeLog                               |   11 +
 gdb/doc/gdb.texinfo                             |   44 +-
 gdb/dwarf2read.c                                |   51 +-
 gdb/frame.c                                     |    2 +
 gdb/gdbserver/ChangeLog                         |   23 +
 gdb/gdbserver/hostio.c                          |    3 +-
 gdb/hppa-tdep.h                                 |    3 +-
 gdb/infcall.c                                   |   16 +-
 gdb/inferior.h                                  |    3 +-
 gdb/objc-exp.y                                  |   12 +-
 gdb/objc-lang.c                                 |    7 +
 gdb/p-exp.y                                     |   97 +-
 gdb/p-lang.c                                    |    6 +-
 gdb/p-lang.h                                    |    2 +-
 gdb/p-valprint.c                                |    6 +-
 gdb/ppc-sysv-tdep.c                             |   56 +-
 gdb/printcmd.c                                  |  148 ++-
 gdb/python/py-breakpoint.c                      |  140 ++-
 gdb/python/py-stopevent.h                       |    6 +-
 gdb/python/python.c                             |   18 +-
 gdb/python/python.h                             |    6 +
 gdb/solib-pa64.c                                |    4 +-
 gdb/stabsread.c                                 |    6 +
 gdb/testsuite/ChangeLog                         |   25 +
 gdb/testsuite/gdb.arch/altivec-abi.exp          |   27 +-
 gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.S   |   82 ++
 gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.exp |   40 +
 gdb/testsuite/gdb.dwarf2/pr11465.S              |   17 +-
 gdb/testsuite/gdb.python/py-breakpoint.exp      |   98 ++
 gdb/testsuite/lib/gdb.exp                       |    5 +-
 gdb/varobj.c                                    |    5 +-
 gdb/varobj.h                                    |    4 +-
 gdb/version.in                                  |    2 +-
 include/elf/ChangeLog                           |    4 +
 include/elf/arm.h                               |    2 +
 opcodes/ChangeLog                               |    4 +
 opcodes/arm-dis.c                               |    2 +-
 sim/bfin/ChangeLog                              |   29 +
 sim/common/ChangeLog                            |   12 +
 sim/common/callback.c                           |   38 +-
 sim/common/cgen-engine.h                        |    4 +-
 sim/common/dv-core.c                            |    6 +-
 sim/common/dv-glue.c                            |   24 +-
 sim/common/dv-pal.c                             |   18 +-
 sim/common/hw-base.c                            |    8 +-
 sim/common/hw-device.c                          |    2 +-
 sim/common/hw-device.h                          |    2 +-
 sim/common/hw-handles.c                         |    6 +-
 sim/common/hw-instances.c                       |    2 +-
 sim/common/hw-ports.c                           |    2 +-
 sim/common/hw-ports.h                           |    6 +-
 sim/common/hw-properties.c                      |   60 +-
 sim/common/hw-tree.c                            |   98 +-
 sim/common/nrun.c                               |   20 +-
 sim/common/run-sim.h                            |    2 +-
 sim/common/run.c                                |    2 +-
 sim/common/sim-alu.h                            |   18 +-
 sim/common/sim-assert.h                         |    2 +-
 sim/common/sim-base.h                           |    2 +-
 sim/common/sim-basics.h                         |    2 +-
 sim/common/sim-config.c                         |   26 +-
 sim/common/sim-core.c                           |   18 +-
 sim/common/sim-core.h                           |    2 +-
 sim/common/sim-engine.h                         |    2 +-
 sim/common/sim-events.c                         |   34 +-
 sim/common/sim-events.h                         |    2 +-
 sim/common/sim-fpu.c                            |   58 +-
 sim/common/sim-hw.c                             |   12 +-
 sim/common/sim-inline.h                         |    6 +-
 sim/common/sim-load.c                           |    8 +-
 sim/common/sim-memopt.c                         |    8 +-
 sim/common/sim-n-core.h                         |    4 +-
 sim/common/sim-options.c                        |   10 +-
 sim/common/sim-profile.c                        |    8 +-
 sim/common/sim-signal.c                         |    2 +-
 sim/common/sim-trace.c                          |   26 +-
 sim/common/sim-trace.h                          |    6 +-
 sim/common/sim-utils.c                          |    6 +-
 sim/common/sim-watch.c                          |   16 +-
 sim/common/syscall.c                            |    2 +-
 89 files changed, 2451 insertions(+), 999 deletions(-)
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-empty-pc-range.exp
 create mode 100644 sim/bfin/ChangeLog

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0bdc2ad..a1131c8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,103 @@
 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
 
+	* reloc.c (BFD_RELOC_ARM_IRELATIVE): New relocation.
+	* bfd-in2.h: Regenerate.
+	* elf32-arm.c (elf32_arm_howto_table_2): Rename existing definition
+	to elf32_arm_howto_table_3 and replace with a single R_ARM_IRELATIVE
+	entry.
+	(elf32_arm_howto_from_type): Update accordingly.
+	(elf32_arm_reloc_map): Map BFD_RELOC_ARM_IRELATIVE to R_ARM_IRELATIVE.
+	(elf32_arm_reloc_name_lookup): Handle elf32_arm_howto_table_3.
+	(arm_plt_info): New structure, split out from elf32_arm_link_hash_entry
+	with an extra noncall_refcount field.
+	(arm_local_iplt_info): New structure.
+	(elf_arm_obj_tdata): Add local_iplt.
+	(elf32_arm_local_iplt): New accessor macro.
+	(elf32_arm_link_hash_entry): Replace plt_thumb_refcount,
+	plt_maybe_thumb_refcount and plt_got_offset with an arm_plt_info.
+	Change tls_type to a bitfield and add is_iplt.
+	(elf32_arm_link_hash_newfunc): Update accordingly.
+	(elf32_arm_allocate_local_sym_info): New function.
+	(elf32_arm_create_local_iplt): Likewise.
+	(elf32_arm_get_plt_info): Likewise.
+	(elf32_arm_plt_needs_thumb_stub_p): Likewise.
+	(elf32_arm_get_local_dynreloc_list): Likewise.
+	(create_ifunc_sections): Likewise.
+	(elf32_arm_copy_indirect_symbol): Update after the changes to
+	elf32_arm_link_hash_entry.  Assert the is_iplt has not yet been set.
+	(arm_type_of_stub): Add an st_type argument.  Use elf32_arm_get_plt_info
+	to get PLT information.  Assert that all STT_GNU_IFUNC references
+	are turned into PLT references.
+	(arm_build_one_stub): Pass the symbol type to
+	elf32_arm_final_link_relocate.
+	(elf32_arm_size_stubs): Pass the symbol type to arm_type_of_stub.
+	(elf32_arm_allocate_irelocs): New function.
+	(elf32_arm_add_dynreloc): In static objects, use .rel.iplt for
+	all R_ARM_IRELATIVE.
+	(elf32_arm_allocate_plt_entry): New function.
+	(elf32_arm_populate_plt_entry): Likewise.
+	(elf32_arm_final_link_relocate): Add an st_type parameter.
+	Set srelgot to null for static objects.  Use separate variables
+	to record which st_value and st_type should be used when generating
+	a dynamic relocation.  Use elf32_arm_get_plt_info to find the
+	symbol's PLT information, setting has_iplt_entry, splt,
+	plt_offset and gotplt_offset accordingly.  Check whether
+	STT_GNU_IFUNC symbols should resolve to an .iplt entry, and change
+	the relocation target accordingly.  Broaden assert to include
+	.iplts.  Don't set sreloc for static relocations.  Assert that
+	we only generate dynamic R_ARM_RELATIVE relocations for R_ARM_ABS32
+	and R_ARM_ABS32_NOI.  Generate R_ARM_IRELATIVE relocations instead
+	of R_ARM_RELATIVE relocations if the target is an STT_GNU_IFUNC
+	symbol.  Pass the symbol type to arm_type_of_stub.  Conditionally
+	resolve GOT references to the .igot.plt entry.
+	(elf32_arm_relocate_section): Update the call to
+	elf32_arm_final_link_relocate.
+	(elf32_arm_gc_sweep_hook): Use elf32_arm_get_plt_info to get PLT
+	information.  Treat R_ARM_REL32 and R_ARM_REL32_NOI as call
+	relocations in shared libraries and relocatable executables.
+	Count non-call PLT references.  Use elf32_arm_get_local_dynreloc_list
+	to get the list of dynamic relocations for a local symbol.
+	(elf32_arm_check_relocs): Always create ifunc sections.  Set isym
+	at the same time as setting h.  Use elf32_arm_allocate_local_sym_info
+	to allocate local symbol information.  Treat R_ARM_REL32 and
+	R_ARM_REL32_NOI as call relocations in shared libraries and
+	relocatable executables.  Record PLT information for local
+	STT_GNU_IFUNC functions as well as global functions.   Count
+	non-call PLT references.  Use elf32_arm_get_local_dynreloc_list
+	to get the list of dynamic relocations for a local symbol.
+	(elf32_arm_adjust_dynamic_symbol): Handle STT_GNU_IFUNC symbols.
+	Don't remove STT_GNU_IFUNC PLTs unless all references have been
+	removed.  Update after the changes to elf32_arm_link_hash_entry.
+	(allocate_dynrelocs_for_symbol): Decide whether STT_GNU_IFUNC PLT
+	entries should live in .plt or .iplt.  Check whether the .igot.plt
+	and .got entries can be combined.  Use elf32_arm_allocate_plt_entry
+	to allocate .plt and .(i)got.plt entries.  Detect which .got
+	entries will need R_ARM_IRELATIVE relocations and use
+	elf32_arm_allocate_irelocs to allocate them.  Likewise other
+	non-.got dynamic relocations.
+	(elf32_arm_size_dynamic_sections): Allocate .iplt, .igot.plt
+	and dynamic relocations for local STT_GNU_IFUNC symbols.
+	Check whether the .igot.plt and .got entries can be combined.
+	Detect which .got entries will need R_ARM_IRELATIVE relocations
+	and use elf32_arm_allocate_irelocs to allocate them.  Use stashed
+	section pointers intead of strcmp checks.  Handle iplt and igotplt.
+	(elf32_arm_finish_dynamic_symbol): Use elf32_arm_populate_plt_entry
+	to fill in .plt, .got.plt and .rel(a).plt entries.  Point
+	STT_GNU_IFUNC symbols at an .iplt entry if non-call relocations
+	resolve to it.
+	(elf32_arm_output_plt_map_1): New function, split out from
+	elf32_arm_output_plt_map.  Handle .iplt entries.  Use
+	elf32_arm_plt_needs_thumb_stub_p.
+	(elf32_arm_output_plt_map): Call it.
+	(elf32_arm_output_arch_local_syms): Add mapping symbols for
+	local .iplt entries.
+	(elf32_arm_swap_symbol_in): Handle Thumb STT_GNU_IFUNC symbols.
+	(elf32_arm_swap_symbol_out): Likewise.
+	(elf32_arm_add_symbol_hook): New function.
+	(elf_backend_add_symbol_hook): Define for all targets.
+
+2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
+
 	* elf-bfd.h (elf_link_hash_entry): Add target_internal.
 	* elf.c (swap_out_syms): Set st_target_internal for each
 	Elf_Internal_Sym.
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 84fc75d..5f3a31f 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -3186,6 +3186,9 @@ pc-relative or some form of GOT-indirect relocation.  */
 /* Annotation of BX instructions.  */
   BFD_RELOC_ARM_V4BX,
 
+/* ARM support for STT_GNU_IFUNC.  */
+  BFD_RELOC_ARM_IRELATIVE,
+
 /* These relocs are only used within the ARM assembler.  They are not
 (at present) written to any object files.  */
   BFD_RELOC_ARM_IMMEDIATE,
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 9f2b696..6b69fd6 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -1651,6 +1651,7 @@ static reloc_howto_type elf32_arm_howto_table_1[] =
 	 0x00000fff,		/* dst_mask */
 	 FALSE),		/* pcrel_offset */
 
+  /* 112-127 private relocations.  */
   EMPTY_HOWTO (112),
   EMPTY_HOWTO (113),
   EMPTY_HOWTO (114),
@@ -1667,6 +1668,8 @@ static reloc_howto_type elf32_arm_howto_table_1[] =
   EMPTY_HOWTO (125),
   EMPTY_HOWTO (126),
   EMPTY_HOWTO (127),
+
+  /* R_ARM_ME_TOO, obsolete.  */
   EMPTY_HOWTO (128),
 
   HOWTO (R_ARM_THM_TLS_DESCSEQ,	/* type */
@@ -1684,13 +1687,26 @@ static reloc_howto_type elf32_arm_howto_table_1[] =
 	 FALSE),		/* pcrel_offset */
 };
 
-/* 112-127 private relocations
-   128 R_ARM_ME_TOO, obsolete
-   129-255 unallocated in AAELF.
-
-   249-255 extended, currently unused, relocations:  */
+/* 160 onwards: */
+static reloc_howto_type elf32_arm_howto_table_2[1] =
+{
+  HOWTO (R_ARM_IRELATIVE,	/* type */
+         0,                     /* rightshift */
+         2,                     /* size (0 = byte, 1 = short, 2 = long) */
+         32,                    /* bitsize */
+         FALSE,                 /* pc_relative */
+         0,                     /* bitpos */
+         complain_overflow_bitfield,/* complain_on_overflow */
+         bfd_elf_generic_reloc, /* special_function */
+         "R_ARM_IRELATIVE",	/* name */
+         TRUE,			/* partial_inplace */
+         0xffffffff,		/* src_mask */
+         0xffffffff,		/* dst_mask */
+         FALSE)			/* pcrel_offset */
+};
 
-static reloc_howto_type elf32_arm_howto_table_2[4] =
+/* 249-255 extended, currently unused, relocations:  */
+static reloc_howto_type elf32_arm_howto_table_3[4] =
 {
   HOWTO (R_ARM_RREL32,		/* type */
 	 0,			/* rightshift */
@@ -1755,9 +1771,12 @@ elf32_arm_howto_from_type (unsigned int r_type)
   if (r_type < ARRAY_SIZE (elf32_arm_howto_table_1))
     return &elf32_arm_howto_table_1[r_type];
 
+  if (r_type == R_ARM_IRELATIVE)
+    return &elf32_arm_howto_table_2[r_type - R_ARM_IRELATIVE];
+
   if (r_type >= R_ARM_RREL32
-      && r_type < R_ARM_RREL32 + ARRAY_SIZE (elf32_arm_howto_table_2))
-    return &elf32_arm_howto_table_2[r_type - R_ARM_RREL32];
+      && r_type < R_ARM_RREL32 + ARRAY_SIZE (elf32_arm_howto_table_3))
+    return &elf32_arm_howto_table_3[r_type - R_ARM_RREL32];
 
   return NULL;
 }
@@ -1827,6 +1846,7 @@ static const struct elf32_arm_reloc_map elf32_arm_reloc_map[] =
     {BFD_RELOC_ARM_TLS_TPOFF32,      R_ARM_TLS_TPOFF32},
     {BFD_RELOC_ARM_TLS_IE32,         R_ARM_TLS_IE32},
     {BFD_RELOC_ARM_TLS_LE32,         R_ARM_TLS_LE32},
+    {BFD_RELOC_ARM_IRELATIVE,        R_ARM_IRELATIVE},
     {BFD_RELOC_VTABLE_INHERIT,	     R_ARM_GNU_VTINHERIT},
     {BFD_RELOC_VTABLE_ENTRY,	     R_ARM_GNU_VTENTRY},
     {BFD_RELOC_ARM_MOVW,	     R_ARM_MOVW_ABS_NC},
@@ -1897,6 +1917,11 @@ elf32_arm_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED,
 	&& strcasecmp (elf32_arm_howto_table_2[i].name, r_name) == 0)
       return &elf32_arm_howto_table_2[i];
 
+  for (i = 0; i < ARRAY_SIZE (elf32_arm_howto_table_3); i++)
+    if (elf32_arm_howto_table_3[i].name != NULL
+	&& strcasecmp (elf32_arm_howto_table_3[i].name, r_name) == 0)
+      return &elf32_arm_howto_table_3[i];
+
   return NULL;
 }
 
@@ -2550,6 +2575,44 @@ struct a8_erratum_reloc {
 /* The size of the thread control block.  */
 #define TCB_SIZE	8
 
+/* ARM-specific information about a PLT entry, over and above the usual
+   gotplt_union.  */
+struct arm_plt_info {
+  /* We reference count Thumb references to a PLT entry separately,
+     so that we can emit the Thumb trampoline only if needed.  */
+  bfd_signed_vma thumb_refcount;
+
+  /* Some references from Thumb code may be eliminated by BL->BLX
+     conversion, so record them separately.  */
+  bfd_signed_vma maybe_thumb_refcount;
+
+  /* How many of the recorded PLT accesses were from non-call relocations.
+     This information is useful when deciding whether anything takes the
+     address of an STT_GNU_IFUNC PLT.  A value of 0 means that all
+     non-call references to the function should resolve directly to the
+     real runtime target.  */
+  unsigned int noncall_refcount;
+
+  /* Since PLT entries have variable size if the Thumb prologue is
+     used, we need to record the index into .got.plt instead of
+     recomputing it from the PLT offset.  */
+  bfd_signed_vma got_offset;
+};
+
+/* Information about an .iplt entry for a local STT_GNU_IFUNC symbol.  */
+struct arm_local_iplt_info {
+  /* The information that is usually found in the generic ELF part of
+     the hash table entry.  */
+  union gotplt_union root;
+
+  /* The information that is usually found in the ARM-specific part of
+     the hash table entry.  */
+  struct arm_plt_info arm;
+
+  /* A list of all potential dynamic relocations against this symbol.  */
+  struct elf_dyn_relocs *dyn_relocs;
+};
+
 struct elf_arm_obj_tdata
 {
   struct elf_obj_tdata root;
@@ -2560,6 +2623,9 @@ struct elf_arm_obj_tdata
   /* GOTPLT entries for TLS descriptors.  */
   bfd_vma *local_tlsdesc_gotent;
 
+  /* Information for local symbols that need entries in .iplt.  */
+  struct arm_local_iplt_info **local_iplt;
+
   /* Zero to warn when linking objects with incompatible enum sizes.  */
   int no_enum_size_warning;
 
@@ -2576,6 +2642,9 @@ struct elf_arm_obj_tdata
 #define elf32_arm_local_tlsdesc_gotent(bfd) \
   (elf_arm_tdata (bfd)->local_tlsdesc_gotent)
 
+#define elf32_arm_local_iplt(bfd) \
+  (elf_arm_tdata (bfd)->local_iplt)
+
 #define is_arm_elf(bfd) \
   (bfd_get_flavour (bfd) == bfd_target_elf_flavour \
    && elf_tdata (bfd) != NULL \
@@ -2598,18 +2667,8 @@ struct elf32_arm_link_hash_entry
     /* Track dynamic relocs copied for this symbol.  */
     struct elf_dyn_relocs *dyn_relocs;
 
-    /* We reference count Thumb references to a PLT entry separately,
-       so that we can emit the Thumb trampoline only if needed.  */
-    bfd_signed_vma plt_thumb_refcount;
-
-    /* Some references from Thumb code may be eliminated by BL->BLX
-       conversion, so record them separately.  */
-    bfd_signed_vma plt_maybe_thumb_refcount;
-
-    /* Since PLT entries have variable size if the Thumb prologue is
-       used, we need to record the index into .got.plt instead of
-       recomputing it from the PLT offset.  */
-    bfd_signed_vma plt_got_offset;
+    /* ARM-specific PLT information.  */
+    struct arm_plt_info plt;
 
 #define GOT_UNKNOWN	0
 #define GOT_NORMAL	1
@@ -2617,7 +2676,12 @@ struct elf32_arm_link_hash_entry
 #define GOT_TLS_IE	4
 #define GOT_TLS_GDESC	8
 #define GOT_TLS_GD_ANY_P(type)	((type & GOT_TLS_GD) || (type & GOT_TLS_GDESC))
-    unsigned char tls_type;
+    unsigned int tls_type : 8;
+
+    /* True if the symbol's PLT entry is in .iplt rather than .plt.  */
+    unsigned int is_iplt : 1;
+
+    unsigned int unused : 23;
 
     /* Offset of the GOTPLT entry reserved for the TLS descriptor,
        starting at the end of the jump table.  */
@@ -2833,9 +2897,11 @@ elf32_arm_link_hash_newfunc (struct bfd_hash_entry * entry,
       ret->dyn_relocs = NULL;
       ret->tls_type = GOT_UNKNOWN;
       ret->tlsdesc_got = (bfd_vma) -1;
-      ret->plt_thumb_refcount = 0;
-      ret->plt_maybe_thumb_refcount = 0;
-      ret->plt_got_offset = -1;
+      ret->plt.thumb_refcount = 0;
+      ret->plt.maybe_thumb_refcount = 0;
+      ret->plt.noncall_refcount = 0;
+      ret->plt.got_offset = -1;
+      ret->is_iplt = FALSE;
       ret->export_glue = NULL;
 
       ret->stub_cache = NULL;
@@ -2844,6 +2910,142 @@ elf32_arm_link_hash_newfunc (struct bfd_hash_entry * entry,
   return (struct bfd_hash_entry *) ret;
 }
 
+/* Ensure that we have allocated bookkeeping structures for ABFD's local
+   symbols.  */
+
+static bfd_boolean
+elf32_arm_allocate_local_sym_info (bfd *abfd)
+{
+  if (elf_local_got_refcounts (abfd) == NULL)
+    {
+      bfd_size_type num_syms;
+      bfd_size_type size;
+      char *data;
+
+      num_syms = elf_tdata (abfd)->symtab_hdr.sh_info;
+      size = num_syms * (sizeof (bfd_signed_vma)
+			 + sizeof (struct arm_local_iplt_info *)
+			 + sizeof (bfd_vma)
+			 + sizeof (char));
+      data = bfd_zalloc (abfd, size);
+      if (data == NULL)
+	return FALSE;
+
+      elf_local_got_refcounts (abfd) = (bfd_signed_vma *) data;
+      data += num_syms * sizeof (bfd_signed_vma);
+
+      elf32_arm_local_iplt (abfd) = (struct arm_local_iplt_info **) data;
+      data += num_syms * sizeof (struct arm_local_iplt_info *);
+
+      elf32_arm_local_tlsdesc_gotent (abfd) = (bfd_vma *) data;
+      data += num_syms * sizeof (bfd_vma);
+
+      elf32_arm_local_got_tls_type (abfd) = data;
+    }
+  return TRUE;
+}
+
+/* Return the .iplt information for local symbol R_SYMNDX, which belongs
+   to input bfd ABFD.  Create the information if it doesn't already exist.
+   Return null if an allocation fails.  */
+
+static struct arm_local_iplt_info *
+elf32_arm_create_local_iplt (bfd *abfd, unsigned long r_symndx)
+{
+  struct arm_local_iplt_info **ptr;
+
+  if (!elf32_arm_allocate_local_sym_info (abfd))
+    return NULL;
+
+  BFD_ASSERT (r_symndx < elf_tdata (abfd)->symtab_hdr.sh_info);
+  ptr = &elf32_arm_local_iplt (abfd)[r_symndx];
+  if (*ptr == NULL)
+    *ptr = bfd_zalloc (abfd, sizeof (**ptr));
+  return *ptr;
+}
+
+/* Try to obtain PLT information for the symbol with index R_SYMNDX
+   in ABFD's symbol table.  If the symbol is global, H points to its
+   hash table entry, otherwise H is null.
+
+   Return true if the symbol does have PLT information.  When returning
+   true, point *ROOT_PLT at the target-independent reference count/offset
+   union and *ARM_PLT at the ARM-specific information.  */
+
+static bfd_boolean
+elf32_arm_get_plt_info (bfd *abfd, struct elf32_arm_link_hash_entry *h,
+			unsigned long r_symndx, union gotplt_union **root_plt,
+			struct arm_plt_info **arm_plt)
+{
+  struct arm_local_iplt_info *local_iplt;
+
+  if (h != NULL)
+    {
+      *root_plt = &h->root.plt;
+      *arm_plt = &h->plt;
+      return TRUE;
+    }
+
+  if (elf32_arm_local_iplt (abfd) == NULL)
+    return FALSE;
+
+  local_iplt = elf32_arm_local_iplt (abfd)[r_symndx];
+  if (local_iplt == NULL)
+    return FALSE;
+
+  *root_plt = &local_iplt->root;
+  *arm_plt = &local_iplt->arm;
+  return TRUE;
+}
+
+/* Return true if the PLT described by ARM_PLT requires a Thumb stub
+   before it.  */
+
+static bfd_boolean
+elf32_arm_plt_needs_thumb_stub_p (struct bfd_link_info *info,
+				  struct arm_plt_info *arm_plt)
+{
+  struct elf32_arm_link_hash_table *htab;
+
+  htab = elf32_arm_hash_table (info);
+  return (arm_plt->thumb_refcount != 0
+	  || (!htab->use_blx && arm_plt->maybe_thumb_refcount != 0));
+}
+
+/* Return a pointer to the head of the dynamic reloc list that should
+   be used for local symbol ISYM, which is symbol number R_SYMNDX in
+   ABFD's symbol table.  Return null if an error occurs.  */
+
+static struct elf_dyn_relocs **
+elf32_arm_get_local_dynreloc_list (bfd *abfd, unsigned long r_symndx,
+				   Elf_Internal_Sym *isym)
+{
+  if (ELF32_ST_TYPE (isym->st_info) == STT_GNU_IFUNC)
+    {
+      struct arm_local_iplt_info *local_iplt;
+
+      local_iplt = elf32_arm_create_local_iplt (abfd, r_symndx);
+      if (local_iplt == NULL)
+	return NULL;
+      return &local_iplt->dyn_relocs;
+    }
+  else
+    {
+      /* Track dynamic relocs needed for local syms too.
+	 We really need local syms available to do this
+	 easily.  Oh well.  */
+      asection *s;
+      void *vpp;
+
+      s = bfd_section_from_elf_index (abfd, isym->st_shndx);
+      if (s == NULL)
+	abort ();
+
+      vpp = &elf_section_data (s)->local_dynrel;
+      return (struct elf_dyn_relocs **) vpp;
+    }
+}
+
 /* Initialize an entry in the stub hash table.  */
 
 static struct bfd_hash_entry *
@@ -2909,6 +3111,53 @@ create_got_section (bfd *dynobj, struct bfd_link_info *info)
   return TRUE;
 }
 
+/* Create the .iplt, .rel(a).iplt and .igot.plt sections.  */
+
+static bfd_boolean
+create_ifunc_sections (struct bfd_link_info *info)
+{
+  struct elf32_arm_link_hash_table *htab;
+  const struct elf_backend_data *bed;
+  bfd *dynobj;
+  asection *s;
+  flagword flags;
+  
+  htab = elf32_arm_hash_table (info);
+  dynobj = htab->root.dynobj;
+  bed = get_elf_backend_data (dynobj);
+  flags = bed->dynamic_sec_flags;
+
+  if (htab->root.iplt == NULL)
+    {
+      s = bfd_make_section_with_flags (dynobj, ".iplt",
+				       flags | SEC_READONLY | SEC_CODE);
+      if (s == NULL
+	  || !bfd_set_section_alignment (abfd, s, bed->plt_alignment))
+	return FALSE;
+      htab->root.iplt = s;
+    }
+
+  if (htab->root.irelplt == NULL)


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-03-14 16:49 pmuldoon
  0 siblings, 0 replies; 45+ messages in thread
From: pmuldoon @ 2011-03-14 16:49 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  072aee2013b4b0c72047dc4d1d2a15d62c8b01d1 (commit)
       via  5821c335682e0d2fa54ae0caeb7b0001b4353e54 (commit)
       via  fe2a89c8c8934dd8e69345053ae00f44a4876744 (commit)
       via  c6aa8396030636997caf33b25ab2bb4451dd78bb (commit)
       via  9c52908f1c8ae744c247a31c8c0e1196b566ddb4 (commit)
       via  92ba12591c77e99ba23ced5e7f103d4ea99d12fa (commit)
       via  68dc42288e8d645a377264a43ca769224654cc86 (commit)
       via  b1be39511668ba28a7508c470b4c6c1283bd3b4f (commit)
       via  fbc5c4d1360aac0959fbb6627cf4c32647773047 (commit)
       via  3a6388ddbc1d9128e7ae59f189de81417a9567af (commit)
      from  305a094f4235b6d99d5ce442a9bd188b2b89e075 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 072aee2013b4b0c72047dc4d1d2a15d62c8b01d1
Merge: 305a094 5821c33
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Mon Mar 14 16:49:10 2011 +0000

    Merge remote-tracking branch 'gdb/master'

commit 5821c335682e0d2fa54ae0caeb7b0001b4353e54
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Mar 14 15:58:54 2011 +0000

    	PR gdb/12576:
    	* dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'.
    	(needs_frame_dwarf_call): Likewise.

commit fe2a89c8c8934dd8e69345053ae00f44a4876744
Author: Richard Sandiford <rsandifo@nildram.co.uk>
Date:   Mon Mar 14 15:54:57 2011 +0000

    include/elf/
    	* internal.h (elf_internal_sym): Add st_target_internal.
    	* arm.h (arm_st_branch_type): New enum.
    	(ARM_SYM_BRANCH_TYPE): New macro.
    
    bfd/
    	* elf-bfd.h (elf_link_hash_entry): Add target_internal.
    	* elf.c (swap_out_syms): Set st_target_internal for each
    	Elf_Internal_Sym.
    	* elfcode.h (elf_swap_symbol_in): Likewise.
    	* elf32-i370.c (i370_elf_finish_dynamic_sections): Likewise.
    	* elf32-sh-symbian.c (sh_symbian_relocate_section): Likewise.
    	* elf64-sparc.c (elf64_sparc_output_arch_syms): Likewise.
    	* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Likewise.
    	* elflink.c (elf_link_output_extsym): Likewise.
    	(bfd_elf_final_link): Likewise.
    	(elf_link_add_object_symbols): Copy st_target_internal
    	to the hash table if we see a definition.
    	(_bfd_elf_copy_link_hash_symbol_type): Copy target_internal.
    	* elf32-arm.c (elf32_arm_stub_hash_entry): Replace st_type with
    	a branch_type field.
    	(a8_erratum_fix, a8_erratum_reloc): Likewise.
    	(arm_type_of_stub): Replace actual_st_type with an
    	actual_branch_type parameter.
    	(arm_build_one_stub): Use branch types rather than st_types to
    	determine the type of branch.
    	(cortex_a8_erratum_scan): Likewise.
    	(elf32_arm_size_stubs): Likewise.
    	(bfd_elf32_arm_process_before_allocation): Likewise.
    	(allocate_dynrelocs_for_symbol): Likewise.
    	(elf32_arm_finish_dynamic_sections): Likewise.
    	(elf32_arm_final_link_relocate): Replace sym_flags parameter with
    	a branch_type parameter.
    	(elf32_arm_relocate_section): Update call accordingly.
    	(elf32_arm_adjust_dynamic_symbol): Don't check STT_ARM_TFUNC.
    	(elf32_arm_output_map_sym): Initialize st_target_internal.
    	(elf32_arm_output_stub_sym): Likewise.
    	(elf32_arm_symbol_processing): Delete.
    	(elf32_arm_swap_symbol_in): Convert STT_ARM_TFUNCs into STT_FUNCs.
    	Use st_target_internal to record the branch type.
    	(elf32_arm_swap_symbol_out): Use st_target_internal to test for
    	Thumb functions.
    	(elf32_arm_is_function_type): Delete.
    	(elf_backend_symbol_processing): Likewise.
    	(elf_backend_is_function_type): Likewise.
    
    gas/
    	* config/tc-arm.c (arm_adjust_symtab): Set the branch type
    	for Thumb symbols.
    
    ld/
    	* emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
    	eh->target_internal.
    
    opcodes/
    	* arm-dis.c (get_sym_code_type): Don't check for STT_ARM_TFUNC.
    	Use branch types instead.
    	(print_insn): Likewise.

commit c6aa8396030636997caf33b25ab2bb4451dd78bb
Author: Richard Sandiford <rsandifo@nildram.co.uk>
Date:   Mon Mar 14 15:53:57 2011 +0000

    bfd/
    	* elf32-arm.c (elf32_arm_check_relocs): Always assign a dynobj.
    	(elf32_arm_finish_dynamic_sections): Move sgot != NULL assertion
    	into the PLT block.
    
    ld/
    	* emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
    	instead of dynamic_sections_created.

commit 9c52908f1c8ae744c247a31c8c0e1196b566ddb4
Author: Richard Sandiford <rsandifo@nildram.co.uk>
Date:   Mon Mar 14 15:53:32 2011 +0000

    bfd/
    	* elf32-arm.c (elf32_arm_check_relocs): Use call_reloc_p,
    	may_need_local_target_p and may_become_dynamic_p to classify
    	the relocation type.  Don't check info->symbolic or h->def_regular
    	when deciding whether to record a potential dynamic reloc.
    	Don't treat potential dynamic relocs as PLT references.
    	(elf32_arm_gc_sweep_hook): Update to match.  Assert that we don't
    	try to make the PLT reference count go negative.
    
    ld/testsuite/
    	* ld-arm/arm-lib-plt-2a.s, ld-arm/arm-lib-plt-2b.s,
    	ld-arm/arm-lib-plt-2.dd, ld-arm/arm-lib-plt-2.rd: New tests.
    	* ld-arm/arm-elf.exp: Run them.

commit 92ba12591c77e99ba23ced5e7f103d4ea99d12fa
Author: Richard Sandiford <rsandifo@nildram.co.uk>
Date:   Mon Mar 14 15:52:51 2011 +0000

    bfd/
    	* elf32-arm.c (elf32_arm_final_link_relocate): Always fill in the
    	GOT entry here, rather than leaving it to finish_dynamic_symbol.
    	Only create a dynamic relocation for local references if
    	info->shared.
    	(allocate_dynrelocs_for_symbol): Update dynamic relocation
    	allocation accordingly.
    	(elf32_arm_finish_dynamic_symbol): Don't initialise the GOT entry here.
    
    ld/testsuite/
    	* ld-arm/exec-got-1a.s, ld-arm/exec-got-1b.s, ld-arm/exec-got-1.d,
    	ld-arm/unresolved-1.s, ld-arm/unresolved-1.d,
    	ld-arm/unresolved-1-dyn.d: New tests.
    	* ld-arm/arm-elf.exp: Run them.

commit 68dc42288e8d645a377264a43ca769224654cc86
Author: Richard Sandiford <rsandifo@nildram.co.uk>
Date:   Mon Mar 14 15:52:05 2011 +0000

    bfd/
    	* elf32-arm.c (elf32_arm_allocate_dynrelocs): New function.
    	(elf32_arm_add_dynreloc): Likewise.
    	(elf32_arm_adjust_dynamic_symbol): Use elf32_arm_allocate_dynrelocs
    	to allocate dynamic relocations.
    	(elf32_arm_size_dynamic_sections): Likewise.
    	(allocate_dynrelocs): Likewise.  Rename to
    	allocate_dynrelocs_for_symbol.
    	(elf32_arm_final_link_relocate): Use elf32_arm_add_dynreloc to
    	create dynamic relocations.
    	(elf32_arm_finish_dynamic_symbol): Likewise.

commit b1be39511668ba28a7508c470b4c6c1283bd3b4f
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Mon Mar 14 15:43:48 2011 +0000

    	Fix ARI warning about functions without parameters that do not
    	use (void).
    	* breakpoint.c (all_tracepoints): Replace () by (void).
    	* f-exp.y (match_string_literal): Ditto.
    	(yylex): Ditto.
    	* m2-exp.y (yylex): Ditto.
    	* mep-tdep.c (current_me_module): Ditto.
    	(current_options): Ditto.
    	(current_cop_data_bus_width): Ditto.
    	(current_cr_names): Ditto.
    	(current_cr_is_float): Ditto.
    	(current_ccr_names): Ditto.
    	* objc-exp.y (yylex): Ditto.
    	* p-exp.y (yylex): Ditto.
    	* remote.c (send_interrupt_sequence): Ditto.
    	* tracepoint.c (current_trace_status): Ditto.
    	* python/py-evts.c (gdbpy_initialize_py_events): Ditto.
    	* python/py-prettyprint.c (push_dummy_python_frame): Ditto.

commit fbc5c4d1360aac0959fbb6627cf4c32647773047
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Mar 14 00:01:03 2011 +0000

    *** empty log message ***

commit 3a6388ddbc1d9128e7ae59f189de81417a9567af
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Mar 13 23:00:05 2011 +0000

    daily update

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog               |   81 +++++
 bfd/elf-bfd.h               |    3 +
 bfd/elf.c                   |   12 +-
 bfd/elf32-arm.c             |  808 ++++++++++++++++++++++---------------------
 bfd/elf32-i370.c            |    1 +
 bfd/elf32-sh-symbian.c      |    1 +
 bfd/elf64-sparc.c           |    1 +
 bfd/elfcode.h               |    1 +
 bfd/elflink.c               |    8 +
 bfd/elfxx-sparc.c           |    1 +
 bfd/version.h               |    2 +-
 gdb/ChangeLog               |   27 ++
 gdb/breakpoint.c            |    2 +-
 gdb/dwarf2loc.c             |    8 +-
 gdb/f-exp.y                 |    4 +-
 gdb/m2-exp.y                |    2 +-
 gdb/mep-tdep.c              |   12 +-
 gdb/objc-exp.y              |    2 +-
 gdb/p-exp.y                 |    2 +-
 gdb/python/py-evts.c        |    2 +-
 gdb/python/py-prettyprint.c |    2 +-
 gdb/remote.c                |    2 +-
 gdb/tracepoint.c            |    2 +-
 gdb/version.in              |    2 +-
 include/elf/ChangeLog       |    6 +
 include/elf/arm.h           |    9 +
 include/elf/internal.h      |    1 +
 opcodes/ChangeLog           |    6 +
 opcodes/arm-dis.c           |   11 +-
 29 files changed, 594 insertions(+), 427 deletions(-)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b2b65b8..0bdc2ad 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,84 @@
+2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
+
+	* elf-bfd.h (elf_link_hash_entry): Add target_internal.
+	* elf.c (swap_out_syms): Set st_target_internal for each
+	Elf_Internal_Sym.
+	* elfcode.h (elf_swap_symbol_in): Likewise.
+	* elf32-i370.c (i370_elf_finish_dynamic_sections): Likewise.
+	* elf32-sh-symbian.c (sh_symbian_relocate_section): Likewise.
+	* elf64-sparc.c (elf64_sparc_output_arch_syms): Likewise.
+	* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Likewise.
+	* elflink.c (elf_link_output_extsym): Likewise.
+	(bfd_elf_final_link): Likewise.
+	(elf_link_add_object_symbols): Copy st_target_internal
+	to the hash table if we see a definition.
+	(_bfd_elf_copy_link_hash_symbol_type): Copy target_internal.
+	* elf32-arm.c (elf32_arm_stub_hash_entry): Replace st_type with
+	a branch_type field.
+	(a8_erratum_fix, a8_erratum_reloc): Likewise.
+	(arm_type_of_stub): Replace actual_st_type with an
+	actual_branch_type parameter.
+	(arm_build_one_stub): Use branch types rather than st_types to
+	determine the type of branch.
+	(cortex_a8_erratum_scan): Likewise.
+	(elf32_arm_size_stubs): Likewise.
+	(bfd_elf32_arm_process_before_allocation): Likewise.
+	(allocate_dynrelocs_for_symbol): Likewise.
+	(elf32_arm_finish_dynamic_sections): Likewise.
+	(elf32_arm_final_link_relocate): Replace sym_flags parameter with
+	a branch_type parameter.
+	(elf32_arm_relocate_section): Update call accordingly.
+	(elf32_arm_adjust_dynamic_symbol): Don't check STT_ARM_TFUNC.
+	(elf32_arm_output_map_sym): Initialize st_target_internal.
+	(elf32_arm_output_stub_sym): Likewise.
+	(elf32_arm_symbol_processing): Delete.
+	(elf32_arm_swap_symbol_in): Convert STT_ARM_TFUNCs into STT_FUNCs.
+	Use st_target_internal to record the branch type.
+	(elf32_arm_swap_symbol_out): Use st_target_internal to test for
+	Thumb functions.
+	(elf32_arm_is_function_type): Delete.
+	(elf_backend_symbol_processing): Likewise.
+	(elf_backend_is_function_type): Likewise.
+
+2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
+
+	* elf32-arm.c (elf32_arm_check_relocs): Always assign a dynobj.
+	(elf32_arm_finish_dynamic_sections): Move sgot != NULL assertion
+	into the PLT block.
+
+2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
+
+	* elf32-arm.c (elf32_arm_check_relocs): Use call_reloc_p,
+	may_need_local_target_p and may_become_dynamic_p to classify
+	the relocation type.  Don't check info->symbolic or h->def_regular
+	when deciding whether to record a potential dynamic reloc.
+	Don't treat potential dynamic relocs as PLT references.
+	(elf32_arm_gc_sweep_hook): Update to match.  Assert that we don't
+	try to make the PLT reference count go negative.
+
+2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
+
+	* elf32-arm.c (elf32_arm_final_link_relocate): Always fill in the
+	GOT entry here, rather than leaving it to finish_dynamic_symbol.
+	Only create a dynamic relocation for local references if
+	info->shared.
+	(allocate_dynrelocs_for_symbol): Update dynamic relocation
+	allocation accordingly.
+	(elf32_arm_finish_dynamic_symbol): Don't initialise the GOT entry here.
+
+2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
+
+	* elf32-arm.c (elf32_arm_allocate_dynrelocs): New function.
+	(elf32_arm_add_dynreloc): Likewise.
+	(elf32_arm_adjust_dynamic_symbol): Use elf32_arm_allocate_dynrelocs
+	to allocate dynamic relocations.
+	(elf32_arm_size_dynamic_sections): Likewise.
+	(allocate_dynrelocs): Likewise.  Rename to
+	allocate_dynrelocs_for_symbol.
+	(elf32_arm_final_link_relocate): Use elf32_arm_add_dynreloc to
+	create dynamic relocations.
+	(elf32_arm_finish_dynamic_symbol): Likewise.
+
 2011-03-12  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index cc83588..21ec38f 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -153,6 +153,9 @@ struct elf_link_hash_entry
   /* Symbol st_other value, symbol visibility.  */
   unsigned int other : 8;
 
+  /* The symbol's st_target_internal value (see Elf_Internal_Sym).  */
+  unsigned int target_internal : 8;
+
   /* Symbol is referenced by a non-shared object (other than the object
      in which it is defined).  */
   unsigned int ref_regular : 1;
diff --git a/bfd/elf.c b/bfd/elf.c
index c77dced..f69abf2 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -6542,6 +6542,7 @@ swap_out_syms (bfd *abfd,
     sym.st_info = 0;
     sym.st_other = 0;
     sym.st_shndx = SHN_UNDEF;
+    sym.st_target_internal = 0;
     bed->s->swap_symbol_out (abfd, &sym, outbound_syms, outbound_shndx);
     outbound_syms += bed->s->sizeof_sym;
     if (outbound_shndx != NULL)
@@ -6741,9 +6742,16 @@ Unable to find equivalent output section for symbol '%s' from section '%s'"),
 	}
 
       if (type_ptr != NULL)
-	sym.st_other = type_ptr->internal_elf_sym.st_other;
+	{
+	  sym.st_other = type_ptr->internal_elf_sym.st_other;
+	  sym.st_target_internal
+	    = type_ptr->internal_elf_sym.st_target_internal;
+	}
       else
-	sym.st_other = 0;
+	{
+	  sym.st_other = 0;
+	  sym.st_target_internal = 0;
+	}
 
       bed->s->swap_symbol_out (abfd, &sym, outbound_syms, outbound_shndx);
       outbound_syms += bed->s->sizeof_sym;
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 54001a3..9f2b696 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -2410,8 +2410,8 @@ struct elf32_arm_stub_hash_entry
   /* The symbol table entry, if any, that this was derived from.  */
   struct elf32_arm_link_hash_entry *h;
 
-  /* Destination symbol type (STT_ARM_TFUNC, ...) */
-  unsigned char st_type;
+  /* Type of branch.  */
+  enum arm_st_branch_type branch_type;
 
   /* Where this stub is being called from, or, in the case of combined
      stub sections, the first input section in the group.  */
@@ -2531,7 +2531,7 @@ struct a8_erratum_fix {
   unsigned long orig_insn;
   char *stub_name;
   enum elf32_arm_stub_type stub_type;
-  int st_type;
+  enum arm_st_branch_type branch_type;
 };
 
 /* A table of relocs applied to branches which might trigger Cortex-A8
@@ -2543,7 +2543,7 @@ struct a8_erratum_reloc {
   struct elf32_arm_link_hash_entry *hash;
   const char *sym_name;
   unsigned int r_type;
-  unsigned char st_type;
+  enum arm_st_branch_type branch_type;
   bfd_boolean non_a8_stub;
 };
 
@@ -3189,7 +3189,7 @@ static enum elf32_arm_stub_type
 arm_type_of_stub (struct bfd_link_info *info,
 		  asection *input_sec,
 		  const Elf_Internal_Rela *rel,
-		  int *actual_st_type,
+		  enum arm_st_branch_type *actual_branch_type,
 		  struct elf32_arm_link_hash_entry *hash,
 		  bfd_vma destination,
 		  asection *sym_sec,
@@ -3204,11 +3204,9 @@ arm_type_of_stub (struct bfd_link_info *info,
   int thumb_only;
   enum elf32_arm_stub_type stub_type = arm_stub_none;
   int use_plt = 0;
-  int st_type = *actual_st_type;
+  enum arm_st_branch_type branch_type = *actual_branch_type;
 
-  /* We don't know the actual type of destination in case it is of
-     type STT_SECTION: give up.  */
-  if (st_type == STT_SECTION)
+  if (branch_type == ST_BRANCH_LONG)
     return stub_type;
 
   globals = elf32_arm_hash_table (info);
@@ -3245,7 +3243,7 @@ arm_type_of_stub (struct bfd_link_info *info,
       destination = (globals->root.splt->output_section->vma
 		     + globals->root.splt->output_offset
 		     + hash->root.plt.offset);
-      st_type = STT_FUNC;
+      branch_type = ST_BRANCH_TO_ARM;
     }
 
   branch_offset = (bfd_signed_vma)(destination - location);
@@ -3267,13 +3265,13 @@ arm_type_of_stub (struct bfd_link_info *info,
 	  || (thumb2
 	      && (branch_offset > THM2_MAX_FWD_BRANCH_OFFSET
 		  || (branch_offset < THM2_MAX_BWD_BRANCH_OFFSET)))
-	  || ((st_type != STT_ARM_TFUNC)
+	  || (branch_type == ST_BRANCH_TO_ARM
 	      && (((r_type == R_ARM_THM_CALL
 		    || r_type == R_ARM_THM_TLS_CALL) && !globals->use_blx)
 		  || (r_type == R_ARM_THM_JUMP24))
 	      && !use_plt))
 	{
-	  if (st_type == STT_ARM_TFUNC)
+	  if (branch_type == ST_BRANCH_TO_THUMB)
 	    {
 	      /* Thumb to thumb.  */
 	      if (!thumb_only)
@@ -3353,7 +3351,7 @@ arm_type_of_stub (struct bfd_link_info *info,
 	   || r_type == R_ARM_PLT32
 	   || r_type == R_ARM_TLS_CALL)
     {
-      if (st_type == STT_ARM_TFUNC)
+      if (branch_type == ST_BRANCH_TO_THUMB)
 	{
 	  /* Arm to thumb.  */
 
@@ -3412,7 +3410,7 @@ arm_type_of_stub (struct bfd_link_info *info,
 
   /* If a stub is needed, record the actual destination type.  */
   if (stub_type != arm_stub_none)
-    *actual_st_type = st_type;
+    *actual_branch_type = branch_type;
 
   return stub_type;
 }
@@ -3642,7 +3640,8 @@ elf32_arm_tls_transition (struct bfd_link_info *info, int r_type,
 static bfd_reloc_status_type elf32_arm_final_link_relocate
   (reloc_howto_type *, bfd *, bfd *, asection *, bfd_byte *,
    Elf_Internal_Rela *, bfd_vma, struct bfd_link_info *, asection *,
-   const char *, int, struct elf_link_hash_entry *, bfd_boolean *, char **);
+   const char *, enum arm_st_branch_type, struct elf_link_hash_entry *,
+   bfd_boolean *, char **);
 
 static unsigned int
 arm_stub_required_alignment (enum elf32_arm_stub_type stub_type)
@@ -3793,7 +3792,7 @@ arm_build_one_stub (struct bfd_hash_entry *gen_entry,
   BFD_ASSERT (size == stub_entry->stub_size);
 
   /* Destination is Thumb. Force bit 0 to 1 to reflect this.  */
-  if (stub_entry->st_type == STT_ARM_TFUNC)
+  if (stub_entry->branch_type == ST_BRANCH_TO_THUMB)
     sym_value |= 1;
 
   /* Assume there is at least one and at most MAXRELOCS entries to relocate
@@ -3809,9 +3808,9 @@ arm_build_one_stub (struct bfd_hash_entry *gen_entry,
 	Elf_Internal_Rela rel;
 	bfd_boolean unresolved_reloc;
 	char *error_message;
-	int sym_flags
-	  = (template_sequence[stub_reloc_idx[i]].r_type != R_ARM_THM_XPC22)
-	    ? STT_ARM_TFUNC : 0;
+	enum arm_st_branch_type branch_type
+	  = (template_sequence[stub_reloc_idx[i]].r_type != R_ARM_THM_XPC22
+	     ? ST_BRANCH_TO_THUMB : ST_BRANCH_TO_ARM);
 	bfd_vma points_to = sym_value + stub_entry->target_addend;
 
 	rel.r_offset = stub_entry->stub_offset + stub_reloc_offset[i];
@@ -3835,7 +3834,7 @@ arm_build_one_stub (struct bfd_hash_entry *gen_entry,
 	elf32_arm_final_link_relocate (elf32_arm_howto_from_type
 	    (template_sequence[stub_reloc_idx[i]].r_type),
 	  stub_bfd, info->output_bfd, stub_sec, stub_sec->contents, &rel,
-	  points_to, info, stub_entry->target_section, "", sym_flags,
+	  points_to, info, stub_entry->target_section, "", branch_type,
 	  (struct elf_link_hash_entry *) stub_entry->h, &unresolved_reloc,
 	  &error_message);
       }
@@ -3855,7 +3854,8 @@ arm_build_one_stub (struct bfd_hash_entry *gen_entry,
 	elf32_arm_final_link_relocate (elf32_arm_howto_from_type
 	    (template_sequence[stub_reloc_idx[i]].r_type),
 	  stub_bfd, info->output_bfd, stub_sec, stub_sec->contents, &rel,
-	  points_to, info, stub_entry->target_section, "", stub_entry->st_type,
+	  points_to, info, stub_entry->target_section, "",
+	  stub_entry->branch_type,
 	  (struct elf_link_hash_entry *) stub_entry->h, &unresolved_reloc,
 	  &error_message);
       }
@@ -4311,7 +4311,8 @@ cortex_a8_erratum_scan (bfd *input_bfd,
 
 		      if (found->r_type == R_ARM_THM_CALL)
 			{
-			  if (found->st_type != STT_ARM_TFUNC || use_plt)
+			  if (found->branch_type == ST_BRANCH_TO_ARM
+			      || use_plt)
 			    force_target_arm = TRUE;
 			  else
 			    force_target_thumb = TRUE;
@@ -4448,8 +4449,8 @@ cortex_a8_erratum_scan (bfd *input_bfd,
                           a8_fixes[num_a8_fixes].orig_insn = insn;
                           a8_fixes[num_a8_fixes].stub_name = stub_name;
                           a8_fixes[num_a8_fixes].stub_type = stub_type;
-                          a8_fixes[num_a8_fixes].st_type =
-			    is_blx ? STT_FUNC : STT_ARM_TFUNC;
+                          a8_fixes[num_a8_fixes].branch_type =
+			    is_blx ? ST_BRANCH_TO_ARM : ST_BRANCH_TO_THUMB;
 
                           num_a8_fixes++;
                         }
@@ -4620,7 +4621,7 @@ elf32_arm_size_stubs (bfd *output_bfd,
 		  const char *sym_name;
 		  char *stub_name;
 		  const asection *id_sec;
-		  int st_type;
+		  enum arm_st_branch_type branch_type;
 		  bfd_boolean created_stub = FALSE;
 
 		  r_type = ELF32_R_TYPE (irela->r_info);
@@ -4677,7 +4678,7 @@ elf32_arm_size_stubs (bfd *output_bfd,
 		      sym_sec = htab->root.splt;
 		      sym_value = htab->tls_trampoline;
 		      hash = 0;
-		      st_type = STT_FUNC;
+		      branch_type = ST_BRANCH_TO_ARM;
 		    }
 		  else if (!hash)
 		    {
@@ -4718,7 +4719,7 @@ elf32_arm_size_stubs (bfd *output_bfd,
 		      destination = (sym_value + irela->r_addend
 				     + sym_sec->output_offset
 				     + sym_sec->output_section->vma);
-		      st_type = ELF_ST_TYPE (sym->st_info);
+		      branch_type = ARM_SYM_BRANCH_TYPE (sym);
 		      sym_name
 			= bfd_elf_string_from_elf_section (input_bfd,
 							   symtab_hdr->sh_link,
@@ -4792,7 +4793,7 @@ elf32_arm_size_stubs (bfd *output_bfd,
 			  bfd_set_error (bfd_error_bad_value);
 			  goto error_ret_free_internal;
 			}
-		      st_type = ELF_ST_TYPE (hash->root.type);
+		      branch_type = hash->root.target_internal;
 		      sym_name = hash->root.root.root.string;
 		    }
 
@@ -4800,7 +4801,7 @@ elf32_arm_size_stubs (bfd *output_bfd,
 		    {
 		      /* Determine what (if any) linker stub is needed.  */
 		      stub_type = arm_type_of_stub (info, section, irela,
-						    &st_type, hash,
+						    &branch_type, hash,
 						    destination, sym_sec,
 						    input_bfd, sym_name);
 		      if (stub_type == arm_stub_none)
@@ -4842,7 +4843,7 @@ elf32_arm_size_stubs (bfd *output_bfd,
                       stub_entry->target_section = sym_sec;
                       stub_entry->stub_type = stub_type;
                       stub_entry->h = hash;
-                      stub_entry->st_type = st_type;
+                      stub_entry->branch_type = branch_type;
 
                       if (sym_name == NULL)
                 	sym_name = "unnamed";
@@ -4858,14 +4859,14 @@ elf32_arm_size_stubs (bfd *output_bfd,
 
                       /* For historical reasons, use the existing names for
                 	 ARM-to-Thumb and Thumb-to-ARM stubs.  */
-                      if ( ((r_type == (unsigned int) R_ARM_THM_CALL)
-                            || (r_type == (unsigned int) R_ARM_THM_JUMP24))
-                           && st_type != STT_ARM_TFUNC)
+                      if ((r_type == (unsigned int) R_ARM_THM_CALL
+			   || r_type == (unsigned int) R_ARM_THM_JUMP24)
+			  && branch_type == ST_BRANCH_TO_ARM)
                 	sprintf (stub_entry->output_name,
                         	 THUMB2ARM_GLUE_ENTRY_NAME, sym_name);
-                      else if ( ((r_type == (unsigned int) R_ARM_CALL)
-                        	 || (r_type == (unsigned int) R_ARM_JUMP24))
-                               && st_type == STT_ARM_TFUNC)
+                      else if ((r_type == (unsigned int) R_ARM_CALL
+			       || r_type == (unsigned int) R_ARM_JUMP24)
+			       && branch_type == ST_BRANCH_TO_THUMB)
                 	sprintf (stub_entry->output_name,
                         	 ARM2THUMB_GLUE_ENTRY_NAME, sym_name);
                       else
@@ -4907,7 +4908,7 @@ elf32_arm_size_stubs (bfd *output_bfd,
                           a8_relocs[num_a8_relocs].from = from;
                           a8_relocs[num_a8_relocs].destination = destination;
                           a8_relocs[num_a8_relocs].r_type = r_type;
-                          a8_relocs[num_a8_relocs].st_type = st_type;
+                          a8_relocs[num_a8_relocs].branch_type = branch_type;
                           a8_relocs[num_a8_relocs].sym_name = sym_name;
                           a8_relocs[num_a8_relocs].non_a8_stub = created_stub;
                           a8_relocs[num_a8_relocs].hash = hash;
@@ -5012,7 +5013,7 @@ elf32_arm_size_stubs (bfd *output_bfd,
           stub_entry->target_value = a8_fixes[i].offset;
           stub_entry->target_addend = a8_fixes[i].addend;
           stub_entry->orig_insn = a8_fixes[i].orig_insn;
-	  stub_entry->st_type = a8_fixes[i].st_type;
+	  stub_entry->branch_type = a8_fixes[i].branch_type;
 
           size = find_stub_size_and_template (a8_fixes[i].stub_type,
                                               &template_sequence,
@@ -5777,7 +5778,7 @@ bfd_elf32_arm_process_before_allocation (bfd *abfd,
 	      /* This one is a call from arm code.  We need to look up
 	         the target of the call.  If it is a thumb target, we
 	         insert glue.  */
-	      if (ELF_ST_TYPE (h->type) == STT_ARM_TFUNC)
+	      if (h->target_internal == ST_BRANCH_TO_THUMB)
 		record_arm_to_thumb_glue (link_info, h);
 	      break;
 
@@ -6913,6 +6914,41 @@ elf32_arm_begin_write_processing (bfd *abfd ATTRIBUTE_UNUSED,
 			  link_info);
 }
 
+/* Reserve space for COUNT dynamic relocations in relocation selection
+   SRELOC.  */
+
+static void
+elf32_arm_allocate_dynrelocs (struct bfd_link_info *info, asection *sreloc,
+			      bfd_size_type count)
+{
+  struct elf32_arm_link_hash_table *htab;
+
+  htab = elf32_arm_hash_table (info);
+  BFD_ASSERT (htab->root.dynamic_sections_created);
+  if (sreloc == NULL)
+    abort ();
+  sreloc->size += RELOC_SIZE (htab) * count;
+}
+
+/* Add relocation REL to the end of relocation section SRELOC.  */
+
+static void
+elf32_arm_add_dynreloc (bfd *output_bfd, struct bfd_link_info *info,
+			asection *sreloc, Elf_Internal_Rela *rel)
+{
+  bfd_byte *loc;
+  struct elf32_arm_link_hash_table *htab;
+
+  htab = elf32_arm_hash_table (info);
+  if (sreloc == NULL)
+    abort ();
+  loc = sreloc->contents;
+  loc += sreloc->reloc_count++ * RELOC_SIZE (htab);
+  if (sreloc->reloc_count * RELOC_SIZE (htab) > sreloc->size)
+    abort ();
+  SWAP_RELOC_OUT (htab) (output_bfd, rel, loc);
+}
+
 /* Some relocations map to different relocations depending on the
    target.  Return the real relocation.  */
 
@@ -7206,7 +7242,7 @@ elf32_arm_final_link_relocate (reloc_howto_type *           howto,
 			       struct bfd_link_info *       info,
 			       asection *                   sym_sec,
 			       const char *                 sym_name,
-			       int		            sym_flags,
+			       enum arm_st_branch_type     branch_type,
 			       struct elf_link_hash_entry * h,
 			       bfd_boolean *                unresolved_reloc_p,
 			       char **                      error_message)
@@ -7348,7 +7384,6 @@ elf32_arm_final_link_relocate (reloc_howto_type *           howto,
 	  && r_type != R_ARM_PLT32)
 	{
 	  Elf_Internal_Rela outrel;
-	  bfd_byte *loc;
 	  bfd_boolean skip, relocate;
 
 	  *unresolved_reloc_p = FALSE;
@@ -7389,7 +7424,7 @@ elf32_arm_final_link_relocate (reloc_howto_type *           howto,
 	      int symbol;
 
 	      /* This symbol is local, or marked to become local.  */
-	      if (sym_flags == STT_ARM_TFUNC)
+	      if (branch_type == ST_BRANCH_TO_THUMB)
 		value |= 1;
 	      if (globals->symbian_p)
 		{
@@ -7437,9 +7472,7 @@ elf32_arm_final_link_relocate (reloc_howto_type *           howto,
 		outrel.r_addend += value;
 	    }
 
-	  loc = sreloc->contents;
-	  loc += sreloc->reloc_count++ * RELOC_SIZE (globals);
-	  SWAP_RELOC_OUT (globals) (output_bfd, &outrel, loc);
+	  elf32_arm_add_dynreloc (output_bfd, info, sreloc, &outrel);
 
 	  /* If this reloc is against an external symbol, we do not want to
 	     fiddle with the addend.  Otherwise, we need to include the symbol
@@ -7469,7 +7502,7 @@ elf32_arm_final_link_relocate (reloc_howto_type *           howto,
 	      /* Check for Arm calling Arm function.  */
 	      /* FIXME: Should we translate the instruction into a BL
 		 instruction instead ?  */
-	      if (sym_flags != STT_ARM_TFUNC)
+	      if (branch_type != ST_BRANCH_TO_THUMB)
 		(*_bfd_error_handler)
 		  (_("\%B: Warning: Arm BLX instruction targets Arm function '%s'."),
 		   input_bfd,
@@ -7478,7 +7511,7 @@ elf32_arm_final_link_relocate (reloc_howto_type *           howto,
 	  else if (r_type == R_ARM_PC24)
 	    {
 	      /* Check for Arm calling Thumb function.  */
-	      if (sym_flags == STT_ARM_TFUNC)


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-03-09 22:49 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-03-09 22:49 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  eda758390ec0bfb07d0bef4d1908d1d98ad75eb9 (commit)
       via  9862d4c58573fd4246b37695c67dc2c5b8193ec5 (commit)
       via  2e53e44e0cb91ff00728269ad125a3418605ee62 (commit)
       via  ab6369b0d22d96562d1f15b9755485f31d3a9222 (commit)
       via  d19a50e0bcc1bf4316e0df63d5f2ca1c2ea97c46 (commit)
       via  d14b65ef095e070c19a028facf85c4db75c4b667 (commit)
       via  029fb512f2fd983b7084a7278d2b1a3ff35c054e (commit)
       via  142db50201b1b1c69ebdc2dcdb1181cde1db3b08 (commit)
       via  7403e6b3f0f7d4c4f80703486f602ee5e2c9a3dd (commit)
      from  ced522c57802f46649858b0806fa92ff1707388a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit eda758390ec0bfb07d0bef4d1908d1d98ad75eb9
Merge: ced522c 9862d4c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Mar 9 23:49:39 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit 9862d4c58573fd4246b37695c67dc2c5b8193ec5
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Mar 9 20:31:48 2011 +0000

    2011-03-09  Michael Snyder  <msnyder@vmware.com>
    
    	* mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak.

commit 2e53e44e0cb91ff00728269ad125a3418605ee62
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Mar 9 18:41:30 2011 +0000

    	* gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
    	gdb_continue_to_end.

commit ab6369b0d22d96562d1f15b9755485f31d3a9222
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Wed Mar 9 16:54:50 2011 +0000

    * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
    tabs.

commit d19a50e0bcc1bf4316e0df63d5f2ca1c2ea97c46
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Mar 9 15:59:12 2011 +0000

    2011-03-09  Michael Snyder  <msnyder@vmware.com>
    
    	* gdbserver/tracepoint.c: Fix small comment typo.

commit d14b65ef095e070c19a028facf85c4db75c4b667
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Wed Mar 9 15:01:34 2011 +0000

    	gdb/
    	* nto-tdep.c (nto_find_and_open_solib): Constify local `base'.

commit 029fb512f2fd983b7084a7278d2b1a3ff35c054e
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Mar 9 14:22:06 2011 +0000

    	* thread.c (restore_selected_frame): Handle frame_level == -1.
    	(make_cleanup_restore_current_thread): Use
    	get_selected_frame_if_set.
    	* frame.h (get_selected_frame_if_set): Declare.
    	* frame.c (get_selected_frame_if_set): New function.

commit 142db50201b1b1c69ebdc2dcdb1181cde1db3b08
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Mar 9 14:17:04 2011 +0000

    	* lib/gdb.exp (inferior_exited_re): Match. leading `['.  Wrap in
    	parentheses.
    	(gdb_continue_to_end): Add "allow_extra" parameter.  Use
    	$command.
    	* gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
    	argument to gdb_continue_to_end.
    	* gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
    	argument to gdb_continue_to_end.
    	* gdb.cp/annota3.exp: Fix regex.
    	* gdb.cp/annota2.exp: Fix regex.
    	* gdb.base/shlib-call.exp: Pass "allow_extra" argument to
    	gdb_continue_to_end.
    	* gdb.base/call-signal-resume.exp: Revert earlier patch.
    	* gdb.ada/tasks.exp: Pass "allow_extra" argument to
    	gdb_continue_to_end.

commit 7403e6b3f0f7d4c4f80703486f602ee5e2c9a3dd
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Wed Mar 9 12:48:53 2011 +0000

    	* cli/cli-cmds.c (shell_escape): Use lbasename.
    	* coffread.c (coff_start_symtab): Constify parameter.
    	(complete_symtab): Constify `name' parameter.
    	(coff_symtab_read): Constify `filestring' local.
    	(coff_getfilename): Constify return and `result' local.
    	Use lbasename.
    	* fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename.
    	* linux-fork.c (info_checkpoints_command): Use lbasename.
    	* linux-nat.c (linux_nat_make_corefile_notes): Use lbasename.
    	* minsyms.c (lookup_minimal_symbol): Use lbasename.
    	* nto-tdep.c (nto_find_and_open_solib): Use lbasename.
    	* procfs.c (procfs_make_note_section): Use lbasename.
    	* tui/tui-io.c (printable_part): Constity return and parameter.
    	Use lbasename.
    	(print_filename): Constify parameters, and local `s'.
    	(tui_rl_display_match_list): Constify local `temp'.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog                                      |   35 +++++++++
 gdb/cli/cli-cmds.c                                 |    7 +-
 gdb/coffread.c                                     |   15 ++--
 gdb/fbsd-nat.c                                     |    2 +-
 gdb/frame.c                                        |    8 ++
 gdb/frame.h                                        |    3 +
 gdb/gdbserver/tracepoint.c                         |    2 +-
 gdb/linux-fork.c                                   |    9 +--
 gdb/linux-nat.c                                    |    2 +-
 gdb/mi/mi-cmd-disas.c                              |    4 +
 gdb/minsyms.c                                      |    7 +--
 gdb/nto-tdep.c                                     |   11 +--
 gdb/procfs.c                                       |    2 +-
 gdb/testsuite/ChangeLog                            |   28 +++++++
 gdb/testsuite/gdb.ada/catch_ex.exp                 |    4 +-
 gdb/testsuite/gdb.ada/tasks.exp                    |    3 +-
 gdb/testsuite/gdb.base/call-signal-resume.exp      |    3 +-
 gdb/testsuite/gdb.base/memattr.exp                 |   80 ++++++++++----------
 gdb/testsuite/gdb.base/shlib-call.exp              |    4 +-
 gdb/testsuite/gdb.cp/annota2.exp                   |    2 +-
 gdb/testsuite/gdb.cp/annota3.exp                   |    7 +-
 .../gdb.threads/interrupted-hand-call.exp          |    2 +-
 .../gdb.threads/thread-unwindonsignal.exp          |    2 +-
 gdb/testsuite/lib/gdb.exp                          |   19 ++++-
 gdb/thread.c                                       |   16 ++++-
 gdb/tui/tui-io.c                                   |   22 ++----
 26 files changed, 185 insertions(+), 114 deletions(-)

First 500 lines of diff:
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4154649..c6472e8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,38 @@
+2011-03-09  Michael Snyder  <msnyder@vmware.com>
+
+	* mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak.
+
+2011-03-09  Pedro Alves  <pedro@codesourcery.com>
+
+	* nto-tdep.c (nto_find_and_open_solib): Constify local `base'.
+
+2011-03-09  Tom Tromey  <tromey@redhat.com>
+
+	* thread.c (restore_selected_frame): Handle frame_level == -1.
+	(make_cleanup_restore_current_thread): Use
+	get_selected_frame_if_set.
+	* frame.h (get_selected_frame_if_set): Declare.
+	* frame.c (get_selected_frame_if_set): New function.
+
+2011-03-09  Pedro Alves  <pedro@codesourcery.com>
+
+	* cli/cli-cmds.c (shell_escape): Use lbasename.
+	* coffread.c (coff_start_symtab): Constify parameter.
+	(complete_symtab): Constify `name' parameter.
+	(coff_symtab_read): Constify `filestring' local.
+	(coff_getfilename): Constify return and `result' local.
+	Use lbasename.
+	* fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename.
+	* linux-fork.c (info_checkpoints_command): Use lbasename.
+	* linux-nat.c (linux_nat_make_corefile_notes): Use lbasename.
+	* minsyms.c (lookup_minimal_symbol): Use lbasename.
+	* nto-tdep.c (nto_find_and_open_solib): Use lbasename.
+	* procfs.c (procfs_make_note_section): Use lbasename.
+	* tui/tui-io.c (printable_part): Constity return and parameter.
+	Use lbasename.
+	(print_filename): Constify parameters, and local `s'.
+	(tui_rl_display_match_list): Constify local `temp'.
+
 2011-03-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	Revert:
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index e3cccdf..0fc5efc 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -730,16 +730,13 @@ shell_escape (char *arg, int from_tty)
 
   if ((pid = vfork ()) == 0)
     {
-      char *p, *user_shell;
+      const char *p, *user_shell;
 
       if ((user_shell = (char *) getenv ("SHELL")) == NULL)
 	user_shell = "/bin/sh";
 
       /* Get the name of the shell for arg0.  */
-      if ((p = strrchr (user_shell, '/')) == NULL)
-	p = user_shell;
-      else
-	p++;			/* Get past '/' */
+      p = lbasename (user_shell);
 
       if (!arg)
 	execl (user_shell, p, (char *) 0);
diff --git a/gdb/coffread.c b/gdb/coffread.c
index 85a5553..8ec87c1 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -178,7 +178,7 @@ static int init_lineno (bfd *, long, int);
 
 static char *getsymname (struct internal_syment *);
 
-static char *coff_getfilename (union internal_auxent *);
+static const char *coff_getfilename (union internal_auxent *);
 
 static void free_stringtab (void);
 
@@ -366,7 +366,7 @@ coff_alloc_type (int index)
    it indicates the start of data for one original source file.  */
 
 static void
-coff_start_symtab (char *name)
+coff_start_symtab (const char *name)
 {
   start_symtab (
   /* We fill in the filename later.  start_symtab puts this pointer
@@ -388,7 +388,7 @@ coff_start_symtab (char *name)
    text.  */
 
 static void
-complete_symtab (char *name, CORE_ADDR start_addr, unsigned int size)
+complete_symtab (const char *name, CORE_ADDR start_addr, unsigned int size)
 {
   if (last_source_file != NULL)
     xfree (last_source_file);
@@ -713,7 +713,7 @@ coff_symtab_read (long symtab_offset, unsigned int nsyms,
   int in_source_file = 0;
   int next_file_symnum = -1;
   /* Name of the current file.  */
-  char *filestring = "";
+  const char *filestring = "";
   int depth = 0;
   int fcn_first_line = 0;
   CORE_ADDR fcn_first_line_addr = 0;
@@ -1308,12 +1308,12 @@ getsymname (struct internal_syment *symbol_entry)
    Return only the last component of the name.  Result is in static
    storage and is only good for temporary use.  */
 
-static char *
+static const char *
 coff_getfilename (union internal_auxent *aux_entry)
 {
   static char buffer[BUFSIZ];
   char *temp;
-  char *result;
+  const char *result;
 
   if (aux_entry->x_file.x_n.x_zeroes == 0)
     {
@@ -1331,8 +1331,7 @@ coff_getfilename (union internal_auxent *aux_entry)
   /* FIXME: We should not be throwing away the information about what
      directory.  It should go into dirname of the symtab, or some such
      place.  */
-  if ((temp = strrchr (result, '/')) != NULL)
-    result = temp + 1;
+  result = lbasename (result);
   return (result);
 }
 \f
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c
index 2072e0e..6b775a9 100644
--- a/gdb/fbsd-nat.c
+++ b/gdb/fbsd-nat.c
@@ -202,7 +202,7 @@ fbsd_make_corefile_notes (bfd *obfd, int *note_size)
 
   if (get_exec_file (0))
     {
-      char *fname = strrchr (get_exec_file (0), '/') + 1;
+      char *fname = lbasename (get_exec_file (0));
       char *psargs = xstrdup (fname);
 
       if (get_inferior_args ())
diff --git a/gdb/frame.c b/gdb/frame.c
index 36fcefe..bf3ce77 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -1247,6 +1247,14 @@ get_selected_frame (const char *message)
   return selected_frame;
 }
 
+/* If there is a selected frame, return it.  Otherwise, return NULL.  */
+
+struct frame_info *
+get_selected_frame_if_set (void)
+{
+  return selected_frame;
+}
+
 /* This is a variant of get_selected_frame() which can be called when
    the inferior does not have a frame; in that case it will return
    NULL instead of calling error().  */
diff --git a/gdb/frame.h b/gdb/frame.h
index 2c5276e..252b75e 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -260,6 +260,9 @@ extern void reinit_frame_cache (void);
    and then return that thread's previously selected frame.  */
 extern struct frame_info *get_selected_frame (const char *message);
 
+/* If there is a selected frame, return it.  Otherwise, return NULL.  */
+extern struct frame_info *get_selected_frame_if_set (void);
+
 /* Select a specific frame.  NULL, apparently implies re-select the
    inner most frame.  */
 extern void select_frame (struct frame_info *);
diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c
index 8d99c94..c0e4cac 100644
--- a/gdb/gdbserver/tracepoint.c
+++ b/gdb/gdbserver/tracepoint.c
@@ -26,7 +26,7 @@
 #include <stdint.h>
 #endif
 
-/* This file is built for both both GDBserver, and the in-process
+/* This file is built for both GDBserver, and the in-process
    agent (IPA), a shared library that includes a tracing agent that is
    loaded by the inferior to support fast tracepoints.  Fast
    tracepoints (or more accurately, jump based tracepoints) are
diff --git a/gdb/linux-fork.c b/gdb/linux-fork.c
index a60975c..7f654af 100644
--- a/gdb/linux-fork.c
+++ b/gdb/linux-fork.c
@@ -584,14 +584,7 @@ info_checkpoints_command (char *arg, int from_tty)
 
       sal = find_pc_line (pc, 0);
       if (sal.symtab)
-	{
-	  char *tmp = strrchr (sal.symtab->filename, '/');
-
-	  if (tmp)
-	    printf_filtered (_(", file %s"), tmp + 1);
-	  else
-	    printf_filtered (_(", file %s"), sal.symtab->filename);
-	}
+	printf_filtered (_(", file %s"), lbasename (sal.symtab->filename));
       if (sal.line)
 	printf_filtered (_(", line %d"), sal.line);
       if (!sal.symtab && !sal.line)
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 922a2cf..732812d 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -4491,7 +4491,7 @@ linux_nat_make_corefile_notes (bfd *obfd, int *note_size)
 
   if (get_exec_file (0))
     {
-      strncpy (fname, strrchr (get_exec_file (0), '/') + 1, sizeof (fname));
+      strncpy (fname, lbasename (get_exec_file (0)), sizeof (fname));
       strncpy (psargs, get_exec_file (0), sizeof (psargs));
       if (get_inferior_args ())
 	{
diff --git a/gdb/mi/mi-cmd-disas.c b/gdb/mi/mi-cmd-disas.c
index bfe1769..28e84f6 100644
--- a/gdb/mi/mi-cmd-disas.c
+++ b/gdb/mi/mi-cmd-disas.c
@@ -73,6 +73,7 @@ mi_cmd_disassemble (char *command, char **argv, int argc)
   int how_many = -1;
   CORE_ADDR low = 0;
   CORE_ADDR high = 0;
+  struct cleanup *cleanups = make_cleanup (null_cleanup, NULL);
 
   /* Options processing stuff. */
   int optind = 0;
@@ -103,6 +104,7 @@ mi_cmd_disassemble (char *command, char **argv, int argc)
 	case FILE_OPT:
 	  file_string = xstrdup (optarg);
 	  file_seen = 1;
+	  make_cleanup (xfree, file_string);
 	  break;
 	case LINE_OPT:
 	  line_num = atoi (optarg);
@@ -169,4 +171,6 @@ mi_cmd_disassemble (char *command, char **argv, int argc)
   		   file_string,
   		   disasm_flags,
 		   how_many, low, high);
+
+  do_cleanups (cleanups);
 }
diff --git a/gdb/minsyms.c b/gdb/minsyms.c
index 8497991..4ae7f27 100644
--- a/gdb/minsyms.c
+++ b/gdb/minsyms.c
@@ -198,12 +198,7 @@ lookup_minimal_symbol (const char *name, const char *sfile,
   const char *modified_name;
 
   if (sfile != NULL)
-    {
-      char *p = strrchr (sfile, '/');
-
-      if (p != NULL)
-	sfile = p + 1;
-    }
+    sfile = lbasename (sfile);
 
   /* For C++, canonicalize the input name.  */
   modified_name = name;
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c
index 5858dc2..1db123d 100644
--- a/gdb/nto-tdep.c
+++ b/gdb/nto-tdep.c
@@ -89,7 +89,8 @@ nto_map_arch_to_cputype (const char *arch)
 int
 nto_find_and_open_solib (char *solib, unsigned o_flags, char **temp_pathname)
 {
-  char *buf, *arch_path, *nto_root, *endian, *base;
+  char *buf, *arch_path, *nto_root, *endian;
+  const char *base;
   const char *arch;
   int ret;
 #define PATH_FMT \
@@ -127,13 +128,7 @@ nto_find_and_open_solib (char *solib, unsigned o_flags, char **temp_pathname)
   sprintf (buf, PATH_FMT, arch_path, arch_path, arch_path, arch_path,
 	   arch_path);
 
-  /* Don't assume basename() isn't destructive.  */
-  base = strrchr (solib, '/');
-  if (!base)
-    base = solib;
-  else
-    base++;			/* Skip over '/'.  */
-
+  base = lbasename (solib);
   ret = openp (buf, 1, base, o_flags, temp_pathname);
   if (ret < 0 && base != solib)
     {
diff --git a/gdb/procfs.c b/gdb/procfs.c
index af0fbaa..5d7cb23 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -5734,7 +5734,7 @@ procfs_make_note_section (bfd *obfd, int *note_size)
 
   if (get_exec_file (0))
     {
-      strncpy (fname, strrchr (get_exec_file (0), '/') + 1, sizeof (fname));
+      strncpy (fname, lbasename (get_exec_file (0)), sizeof (fname));
       strncpy (psargs, get_exec_file (0),
 	       sizeof (psargs));
 
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 6ff5c10..86b03cc 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,31 @@
+2011-03-09  Tom Tromey  <tromey@redhat.com>
+
+	* gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
+	gdb_continue_to_end.
+
+2011-03-09  Mark Kettenis  <kettenis@gnu.org>
+
+	* gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
+	tabs.
+
+2011-03-09  Tom Tromey  <tromey@redhat.com>
+
+	* lib/gdb.exp (inferior_exited_re): Match. leading `['.  Wrap in
+	parentheses.
+	(gdb_continue_to_end): Add "allow_extra" parameter.  Use
+	$command.
+	* gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
+	argument to gdb_continue_to_end.
+	* gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
+	argument to gdb_continue_to_end.
+	* gdb.cp/annota3.exp: Fix regex.
+	* gdb.cp/annota2.exp: Fix regex.
+	* gdb.base/shlib-call.exp: Pass "allow_extra" argument to
+	gdb_continue_to_end.
+	* gdb.base/call-signal-resume.exp: Revert earlier patch.
+	* gdb.ada/tasks.exp: Pass "allow_extra" argument to
+	gdb_continue_to_end.
+
 2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	* gdb.server/ext-run.exp
diff --git a/gdb/testsuite/gdb.ada/catch_ex.exp b/gdb/testsuite/gdb.ada/catch_ex.exp
index 6a98089..7fc2895 100644
--- a/gdb/testsuite/gdb.ada/catch_ex.exp
+++ b/gdb/testsuite/gdb.ada/catch_ex.exp
@@ -141,6 +141,8 @@ gdb_test "continue" \
          "Continuing\.$eol$catchpoint_msg$eol.*SPOT4" \
          "continuing to unhandled exception"
 
-gdb_continue_to_end 
+gdb_test "continue" \
+         "Continuing\..*$inferior_exited_re.*" \
+         "continuing to program completion"
 
 
diff --git a/gdb/testsuite/gdb.ada/tasks.exp b/gdb/testsuite/gdb.ada/tasks.exp
index aa8bf46..1ba1bb8 100644
--- a/gdb/testsuite/gdb.ada/tasks.exp
+++ b/gdb/testsuite/gdb.ada/tasks.exp
@@ -70,5 +70,4 @@ gdb_test "info tasks" \
 # Now, resume the execution and make sure that GDB does not stop when
 # task 4 hits the breakpoint. Continuing thus results in our program
 # running to completion.
-gdb_continue_to_end
-
+gdb_continue_to_end "" continue 1
diff --git a/gdb/testsuite/gdb.base/call-signal-resume.exp b/gdb/testsuite/gdb.base/call-signal-resume.exp
index c8ca941..cf39b96 100644
--- a/gdb/testsuite/gdb.base/call-signal-resume.exp
+++ b/gdb/testsuite/gdb.base/call-signal-resume.exp
@@ -146,6 +146,7 @@ gdb_test "continue" "Breakpoint \[0-9\]*, handle_signal.*" \
 
 # Continue one last time, the program should exit normally.
 
-gdb_continue_to_end
+gdb_test "continue" "$inferior_exited_re normally." \
+    "continue to program exit"
 
 return 0
diff --git a/gdb/testsuite/gdb.base/memattr.exp b/gdb/testsuite/gdb.base/memattr.exp
index 65bc49c..bac5edb 100644
--- a/gdb/testsuite/gdb.base/memattr.exp
+++ b/gdb/testsuite/gdb.base/memattr.exp
@@ -117,23 +117,23 @@ set see4 0
 set see5 0
 
 gdb_test_multiple "info mem" "info mem(1)" {
-    -re "1   y  \t$hex $hex wo nocache \[^\r\n\]*" {
+    -re "1   y  \[ \t\]+$hex $hex wo nocache \[^\r\n\]*" {
 	set see1 1
 	exp_continue
     }
-    -re "2   y  \t$hex $hex ro nocache \[^\r\n\]*" {
+    -re "2   y  \[ \t\]+$hex $hex ro nocache \[^\r\n\]*" {
 	set see2 1
 	exp_continue
     }
-    -re "3   y  \t$hex $hex rw nocache \[^\r\n\]*" {
+    -re "3   y  \[ \t\]+$hex $hex rw nocache \[^\r\n\]*" {
 	set see3 1
 	exp_continue
     }
-    -re "4   y  \t$hex $hex rw nocache \[^\r\n\]*" {
+    -re "4   y  \[ \t\]+$hex $hex rw nocache \[^\r\n\]*" {
 	set see4 1
 	exp_continue
     }
-    -re "5   y  \t$hex $hex rw nocache .\[^\r\n\]*" {
+    -re "5   y  \[ \t\]+$hex $hex rw nocache .\[^\r\n\]*" {
 	set see5 1
 	exp_continue
     }
@@ -187,23 +187,23 @@ set see4 0
 set see5 0
 
 gdb_test_multiple "info mem" "mem 2 and 4 were disabled" {
-    -re "1   y  \t$hex $hex wo nocache \[^\r\n\]*" {
+    -re "1   y  \[ \t\]+$hex $hex wo nocache \[^\r\n\]*" {
 	set see1 1
 	exp_continue
     }
-    -re "2   n  \t$hex $hex ro nocache \[^\r\n\]*" {
+    -re "2   n  \[ \t\]+$hex $hex ro nocache \[^\r\n\]*" {
 	set see2 1
 	exp_continue
     }
-    -re "3   y  \t$hex $hex rw nocache \[^\r\n\]*" {
+    -re "3   y  \[ \t\]+$hex $hex rw nocache \[^\r\n\]*" {
 	set see3 1
 	exp_continue
     }
-    -re "4   n  \t$hex $hex rw nocache \[^\r\n\]*" {
+    -re "4   n  \[ \t\]+$hex $hex rw nocache \[^\r\n\]*" {
 	set see4 1
 	exp_continue
     }
-    -re "5   y  \t$hex $hex rw nocache .\[^\r\n\]*" {
+    -re "5   y  \[ \t\]+$hex $hex rw nocache .\[^\r\n\]*" {
 	set see5 1
 	exp_continue
     }
@@ -225,23 +225,23 @@ set see4 0
 set see5 0
 
 gdb_test_multiple "info mem" "mem 2-4 were enabled" {
-    -re "1   y  \t$hex $hex wo nocache \[^\r\n\]*" {
+    -re "1   y  \[ \t\]+$hex $hex wo nocache \[^\r\n\]*" {
 	set see1 1
 	exp_continue
     }
-    -re "2   y  \t$hex $hex ro nocache \[^\r\n\]*" {
+    -re "2   y  \[ \t\]+$hex $hex ro nocache \[^\r\n\]*" {
 	set see2 1
 	exp_continue
     }
-    -re "3   y  \t$hex $hex rw nocache \[^\r\n\]*" {
+    -re "3   y  \[ \t\]+$hex $hex rw nocache \[^\r\n\]*" {
 	set see3 1
 	exp_continue
     }
-    -re "4   y  \t$hex $hex rw nocache \[^\r\n\]*" {
+    -re "4   y  \[ \t\]+$hex $hex rw nocache \[^\r\n\]*" {
 	set see4 1
 	exp_continue
     }
-    -re "5   y  \t$hex $hex rw nocache .\[^\r\n\]*" {
+    -re "5   y  \[ \t\]+$hex $hex rw nocache .\[^\r\n\]*" {
 	set see5 1
 	exp_continue
     }
@@ -263,23 +263,23 @@ set see4 0
 set see5 0
 
 gdb_test_multiple "info mem" "mem 1 to 5 were disabled" {
-    -re "1   n  \t$hex $hex wo nocache \[^\r\n\]*" {
+    -re "1   n  \[ \t\]+$hex $hex wo nocache \[^\r\n\]*" {
 	set see1 1
 	exp_continue
     }
-    -re "2   n  \t$hex $hex ro nocache \[^\r\n\]*" {
+    -re "2   n  \[ \t\]+$hex $hex ro nocache \[^\r\n\]*" {
 	set see2 1
 	exp_continue
     }
-    -re "3   n  \t$hex $hex rw nocache \[^\r\n\]*" {
+    -re "3   n  \[ \t\]+$hex $hex rw nocache \[^\r\n\]*" {
 	set see3 1
 	exp_continue
     }
-    -re "4   n  \t$hex $hex rw nocache \[^\r\n\]*" {
+    -re "4   n  \[ \t\]+$hex $hex rw nocache \[^\r\n\]*" {
 	set see4 1
 	exp_continue
     }
-    -re "5   n  \t$hex $hex rw nocache .\[^\r\n\]*" {


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-03-09 10:57 muller
  0 siblings, 0 replies; 45+ messages in thread
From: muller @ 2011-03-09 10:57 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  ced522c57802f46649858b0806fa92ff1707388a (commit)
       via  7c12a511f3c4438048a30e6349422c48a4d805a1 (commit)
       via  c605b1f257af096a6c70d339d4eac095da31d466 (commit)
       via  09754d64667f5ec959f76ca7db3de7a4e8446bd4 (commit)
       via  f9bde0f4211bd630d4d0aa196b1cb7f59679e9c6 (commit)
       via  21d4b6aaf60b144cccbd4be1d90f739f1e7c1491 (commit)
       via  727034a49af27bfc02ad16fff45dd246780da779 (commit)
       via  74b5d5fa3979c6484694cecc2110ec241362a80d (commit)
       via  63fad560276d7cf2d64b9b39d92d91d888f6d9b7 (commit)
       via  dd42de82161332ffe79d44f74c951f4c2b8988e6 (commit)
       via  3235fb4a49d2ca8b7bb8e87766c75464ef9f60e1 (commit)
       via  9e77697f31fb2d3c177875a37b441fef46f02fe1 (commit)
       via  137ec8749ab129f4e1986f4f7cd22094705f20da (commit)
       via  c6d83c5f92852cbc86baf79e4d0a400de5cafad7 (commit)
       via  91abe80f701d38f24eb9fb4118bd842c315605f9 (commit)
       via  ad726b2e37bf67fc1545b496310c62dab216fa86 (commit)
      from  ce7aa233c596554237c08fdb4667563908c28685 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit ced522c57802f46649858b0806fa92ff1707388a
Merge: ce7aa23 7c12a51
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Wed Mar 9 11:56:44 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit 7c12a511f3c4438048a30e6349422c48a4d805a1
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Mar 9 07:07:53 2011 +0000

    gdb/
    	Revert:
    	2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
    	Fix DWARF-3+ DW_AT_accessibility default assumption.
    	* dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
    	cu->header.version >= 3.

commit c605b1f257af096a6c70d339d4eac095da31d466
Author: qiyao <qiyao>
Date:   Wed Mar 9 06:24:05 2011 +0000

    gdb/
    2011-03-09  Yao Qi  <yao@codesourcery.com>
    
    	* common/Makefile.in: Remove.
    	* common/configure: Remove.
    	* common/configure.ac: Remove.

commit 09754d64667f5ec959f76ca7db3de7a4e8446bd4
Author: qiyao <qiyao>
Date:   Wed Mar 9 06:10:36 2011 +0000

    gdb/
    2011-03-09  Yao Qi  <yao@codesourcery.com>
    
    	Revert:
    	2011-02-11  Yao Qi  <yao@codesourcery.com>
    
    	* common/Makefile.in: Add copyright header.
    
    	2011-02-11  Yao Qi  <yao@codesourcery.com>
    
    	* Makefile.in: Remove signals.o from COMMON_OBS.  Link
    	libcommon.a.
    	* configure.ac: Add common to sub dir.
    	* configure: Regenerate.
    
    gdb/gdbserver/
    2011-03-09  Yao Qi  <yao@codesourcery.com>
    
    	Revert:
    	2011-03-04  Yao Qi  <yao@codesourcery.com>
    
    	* Makefile.in: Remove GNU make feature --directory.
    
    	2011-03-05  Yao Qi  <yao@codesourcery.com>
    
    	* Makefile.in (CLEANDIRS, REQUIRED_SUBDIRS): New variable.
    	(subdir_do): New make target.  Copied from gdb/Makefile.
    	(maintainer-clean, realclean, distclean, clean): Call corresponding
    	make targets in common/Makefile.
    
    	2011-02-11  Yao Qi  <yao@codesourcery.com>
    
    	* configure.ac: Call AC_PROG_RANLIB.
    	* Makefile.in: Remove signals.o from OBS.  Link libcommon.a.
    	* configure: Regenerate.

commit f9bde0f4211bd630d4d0aa196b1cb7f59679e9c6
Author: Maxim Grigoriev <maxim2405@gmail.com>
Date:   Wed Mar 9 03:28:36 2011 +0000

    2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
    
    	* xtensa-tdep.c (call0_ret): New function.
    	(xtensa_skip_prologue): Speed up analysis.

commit 21d4b6aaf60b144cccbd4be1d90f739f1e7c1491
Author: Maxim Grigoriev <maxim2405@gmail.com>
Date:   Wed Mar 9 02:56:23 2011 +0000

    2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
    
    	* xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers
    	while executing MI command -data-list-changed-registers.

commit 727034a49af27bfc02ad16fff45dd246780da779
Author: Maxim Grigoriev <maxim2405@gmail.com>
Date:   Wed Mar 9 02:25:10 2011 +0000

    2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
    
    	* xtensa-tdep.c (xtensa_read_register): New function.
    	(xtensa_write_register): New function.
    	(xtensa_find_register_by_name): New function.
    	(xtensa_windowed_frame_cache): Update comments in type description.
    	(xtensa_frame_cache): Likewise.
    	(xtensa_window_interrupt_insn): New function.
    	(xtensa_frame_cache): Add analysis for Xtensa Window Exception frames.
    	(xtensa_insn_kind): Add new instructions.
    	(rwx_special_register): New function.
    	(call0_classify_opcode): Add new instructions to the analysis.
    	(a0_saved, a7_saved, a11_saved): New variables.
    	(a0_was_saved, a7_was_saved, a11_was_saved): New variables.
    	(execute_l32e): New function.
    	(execute_s32e): New function.
    	(xtensa_exception_handler_t): New type.
    	(execute_code): New function.
    	(xtensa_window_interrupt_frame_cache): New function to conduct frame
    	analysis for Xtensa Window Exception handlers.

commit 74b5d5fa3979c6484694cecc2110ec241362a80d
Author: Maxim Grigoriev <maxim2405@gmail.com>
Date:   Wed Mar 9 00:55:07 2011 +0000

    2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
    
    	* xtensa-tdep.c (TX_PS): New.
    	(windowing_enabled): Update to count for Call0 ABI.
    	(xtensa_hextochar): New.
    	(xtensa_init_reggroups): Make algorithm generic.
    	(xtensa_frame_cache): Use TX_PS on Tiny Xtensa.

commit 63fad560276d7cf2d64b9b39d92d91d888f6d9b7
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Mar 9 00:00:32 2011 +0000

    *** empty log message ***

commit dd42de82161332ffe79d44f74c951f4c2b8988e6
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 8 23:08:54 2011 +0000

    2011-03-08  Michael Snyder  <msnyder@vmware.com>
    
    	* i386-tdep.c (i386_follow_jump): Check return value of
    	target_read_memory.
    	(i386_analyze_struct_return): Ditto.
    	(i386_skip_probe): Ditto.
    	(i386_match_insn): Ditto.
    	(i386_skip_noop): Ditto.
    	(i386_analyze_frame_setup): Ditto.
    	(i386_analyze_register_saves): Ditto.
    	(i386_skip_prologue): Ditto.
    	(i386_skip_main_prologue): Ditto.

commit 3235fb4a49d2ca8b7bb8e87766c75464ef9f60e1
Author: Maxim Grigoriev <maxim2405@gmail.com>
Date:   Tue Mar 8 23:04:05 2011 +0000

    2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
    
    	    * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR) Update.

commit 9e77697f31fb2d3c177875a37b441fef46f02fe1
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Mar 8 23:00:06 2011 +0000

    daily update

commit 137ec8749ab129f4e1986f4f7cd22094705f20da
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 8 18:58:52 2011 +0000

    2011-02-27  Michael Snyder  <msnyder@vmware.com>
    
    	* target.c (read_whatever_is_readable): Fix memory leak.

commit c6d83c5f92852cbc86baf79e4d0a400de5cafad7
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 8 18:49:12 2011 +0000

    2011-03-02  Michael Snyder  <msnyder@vmware.com>
    
    	* i386-tdep.c (i386_process_record): Document fall through.

commit 91abe80f701d38f24eb9fb4118bd842c315605f9
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Mar 8 17:54:39 2011 +0000

    gdb/
    	Fix DWARF-3+ DW_AT_accessibility default assumption.
    	* dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
    	cu->header.version >= 3.

commit ad726b2e37bf67fc1545b496310c62dab216fa86
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Tue Mar 8 12:46:50 2011 +0000

    gdb/
    2011-03-08  Pedro Alves  <pedro@codesourcery.com>
    
    	* remote.c (remote_check_symbols): Skip if the target has no
    	execution.
    
    gdb/testsuite/
    2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	* gdb.server/ext-run.exp
    	(load new file without any gdbserver inferior): New test.

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h                        |    2 +-
 gdb/ChangeLog                        |  101 +-
 gdb/Makefile.in                      |   27 +-
 gdb/common/Makefile.in               |  115 -
 gdb/common/configure                 | 4115 ----------------------------------
 gdb/common/configure.ac              |   74 -
 gdb/configure                        |    3 -
 gdb/configure.ac                     |    1 -
 gdb/gdbserver/ChangeLog              |   20 +
 gdb/gdbserver/Makefile.in            |   61 +-
 gdb/gdbserver/configure              |   93 -
 gdb/gdbserver/configure.ac           |    1 -
 gdb/i386-tdep.c                      |   62 +-
 gdb/remote.c                         |   11 +-
 gdb/target.c                         |    6 +-
 gdb/testsuite/ChangeLog              |    5 +
 gdb/testsuite/gdb.server/ext-run.exp |    5 +
 gdb/version.in                       |    2 +-
 gdb/xtensa-tdep.c                    |  552 +++++-
 gdb/xtensa-tdep.h                    |    2 +-
 20 files changed, 714 insertions(+), 4544 deletions(-)
 delete mode 100644 gdb/common/Makefile.in
 delete mode 100755 gdb/common/configure
 delete mode 100644 gdb/common/configure.ac

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 901c240..fa3bbd0 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110308
+#define BFD_VERSION_DATE 20110309
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 135a161..4154649 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,102 @@
+2011-03-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Revert:
+	2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+	Fix DWARF-3+ DW_AT_accessibility default assumption.
+	* dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
+	cu->header.version >= 3.
+
+2011-03-09  Yao Qi  <yao@codesourcery.com>
+
+	* common/Makefile.in: Remove.
+	* common/configure: Remove.
+	* common/configure.ac: Remove.
+
+2011-03-09  Yao Qi  <yao@codesourcery.com>
+
+	Revert:
+	2011-02-11  Yao Qi  <yao@codesourcery.com>
+
+	* common/Makefile.in: Add copyright header.
+
+	2011-02-11  Yao Qi  <yao@codesourcery.com>
+
+	* Makefile.in: Remove signals.o from COMMON_OBS.  Link
+	libcommon.a.
+	* configure.ac: Add common to sub dir.
+	* configure: Regenerate.
+
+2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.c (call0_ret): New function.
+	(xtensa_skip_prologue): Speed up analysis.
+
+2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers
+	while executing MI command -data-list-changed-registers.
+
+2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.c (xtensa_read_register): New function.
+	(xtensa_write_register): New function.
+	(xtensa_find_register_by_name): New function.
+	(xtensa_windowed_frame_cache): Update comments in type description.
+	(xtensa_frame_cache): Likewise.
+	(xtensa_window_interrupt_insn): New function.
+	(xtensa_frame_cache): Add analysis for Xtensa Window Exception frames.
+	(xtensa_insn_kind): Add new instructions.
+	(rwx_special_register): New function.
+	(call0_classify_opcode): Add new instructions to the analysis.
+	(a0_saved, a7_saved, a11_saved): New variables.
+	(a0_was_saved, a7_was_saved, a11_was_saved): New variables.
+	(execute_l32e): New function.
+	(execute_s32e): New function.
+	(xtensa_exception_handler_t): New type.
+	(execute_code): New function.
+	(xtensa_window_interrupt_frame_cache): New function to conduct frame
+	analysis for Xtensa Window Exception handlers.
+
+2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.c (TX_PS): New.
+	(windowing_enabled): Update to count for Call0 ABI.
+	(xtensa_hextochar): New.
+	(xtensa_init_reggroups): Make algorithm generic.
+	(xtensa_frame_cache): Use TX_PS on Tiny Xtensa.
+
+2011-03-08  Maxim Grigoriev  <maxim2405@gmail.com>
+
+	* xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): Update.
+
+2011-03-08  Michael Snyder  <msnyder@vmware.com>
+
+	* i386-tdep.c (i386_follow_jump): Check return value of
+	target_read_memory.
+	(i386_analyze_struct_return): Ditto.
+	(i386_skip_probe): Ditto.
+	(i386_match_insn): Ditto.
+	(i386_skip_noop): Ditto.
+	(i386_analyze_frame_setup): Ditto.
+	(i386_analyze_register_saves): Ditto.
+	(i386_skip_prologue): Ditto.
+	(i386_skip_main_prologue): Ditto.
+
+	* target.c (read_whatever_is_readable): Fix memory leak.
+
+	* i386-tdep.c (i386_process_record): Document fall through.
+
+2011-03-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Fix DWARF-3+ DW_AT_accessibility default assumption.
+	* dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for
+	cu->header.version >= 3.
+
+2011-03-08  Pedro Alves  <pedro@codesourcery.com>
+
+	* remote.c (remote_check_symbols): Skip if the target has no
+	execution.
+
 2011-03-08  Joel Brobecker  <brobecker@adacore.com>
 
 	* target.c (read_whatever_is_readable): Reformat comment,
@@ -21,7 +120,7 @@
 	(arm_catch_kernel_helper_return): Likewise.
 	* gdb/arm-tdep.h : Update function declarations.
 
-2011-03-06  Michael Snyder  <msnyder@vmware.com>
+2011-03-07  Michael Snyder  <msnyder@vmware.com>
 
 	* dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null.
 
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index db69d97..489b1e9 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -88,8 +88,6 @@ DEPMODE = @CCDEPMODE@
 DEPDIR = @DEPDIR@
 depcomp = $(SHELL) $(srcdir)/../depcomp
 
-PWD_COMMAND = $${PWDCMD-pwd}
-
 # Note that these are overridden by GNU make-specific code below if
 # GNU make is used.  The overrides implement dependency tracking.
 COMPILE.pre = $(CC)
@@ -142,10 +140,6 @@ LIBDECNUMBER = $(LIBDECNUMBER_DIR)/libdecnumber.a
 LIBDECNUMBER_SRC = $(srcdir)/$(LIBDECNUMBER_DIR)
 LIBDECNUMBER_CFLAGS = -I$(LIBDECNUMBER_DIR) -I$(LIBDECNUMBER_SRC)
 
-LIBCOMMON_DIR = common
-LIBCOMMON = $(LIBCOMMON_DIR)/libcommon.a
-LIBCOMMON_SRC = $(srcdir)/$(LIBCOMMON_DIR)
-
 # Where is the READLINE library?  Typically in ../readline.
 READLINE_DIR = ../readline
 READLINE_SRC = $(srcdir)/$(READLINE_DIR)
@@ -473,10 +467,9 @@ INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(MH_LDFLAGS) $(LDFLAGS) $(CONFIG_
 CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(INTL) $(LIBIBERTY) $(LIBDECNUMBER) \
 	$(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ @PYTHON_LIBS@ \
 	$(LIBEXPAT) \
-	$(LIBIBERTY) $(WIN32LIBS) $(LIBGNU) $(LIBCOMMON)
+	$(LIBIBERTY) $(WIN32LIBS) $(LIBGNU)
 CDEPS = $(XM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) \
-	$(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU) \
-        $(LIBCOMMON)
+	$(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU)
 
 ADD_FILES = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
 ADD_DEPS = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
@@ -861,6 +854,7 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
 	memattr.o mem-break.o target.o parse.o language.o buildsym.o \
 	findcmd.o \
 	std-regs.o \
+	signals.o \
 	exec.o reverse.o \
 	bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o \
 	dbxread.o coffread.o coff-pe-read.o \
@@ -903,7 +897,7 @@ CLEANDIRS = $(SUBDIRS) gnulib
 # This is used to force build failures in existing trees when
 # a new directory is added.
 # The format here is for the `case' shell command.
-REQUIRED_SUBDIRS = doc | testsuite | gnulib | data-directory | common
+REQUIRED_SUBDIRS = doc | testsuite | gnulib | data-directory
 
 # For now, shortcut the "configure GDB for fewer languages" stuff.
 YYFILES = c-exp.c \
@@ -1170,10 +1164,6 @@ all-lib: gnulib/Makefile
 	@$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=gnulib subdir_do
 .PHONY: all-lib
 
-# 
-$(LIBCOMMON): $(LIBCOMMON_DIR)/Makefile
-	@$(MAKE) $(FLAGS_TO_PASS) DO=all DODIRS=common subdir_do
-
 # Convenience rule to handle recursion.
 .PHONY: all-data-directory
 all-data-directory: data-directory/Makefile
@@ -1912,6 +1902,15 @@ mi-common.o: $(srcdir)/mi/mi-common.c
 	$(COMPILE) $(srcdir)/mi/mi-common.c
 	$(POSTCOMPILE)
 
+# gdb/common/ dependencies
+#
+# Need to explicitly specify the compile rule as make will do nothing
+# or try to compile the object file into the sub-directory.
+
+signals.o: $(srcdir)/common/signals.c
+	$(COMPILE) $(srcdir)/common/signals.c
+	$(POSTCOMPILE)
+
 #
 # gdb/tui/ dependencies
 #
diff --git a/gdb/common/Makefile.in b/gdb/common/Makefile.in
deleted file mode 100644
index 9230b87..0000000
--- a/gdb/common/Makefile.in
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright (C) 2011
-# Free Software Foundation, Inc.
-#
-# This file is part of GDB.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-srcdir = @srcdir@
-ACLOCAL = @ACLOCAL@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-RANLIB = @RANLIB@
-COMMON_CPU_OBJ = @COMMON_CPU_OBJ@
-
-# CFLAGS is specifically reserved for setting from the command line
-# when running make.  I.E.  "make CFLAGS=-Wmissing-prototypes".
-CFLAGS = @CFLAGS@
-
-BFD_DIR = ../../bfd
-BFD_SRC = $(srcdir)/$(BFD_DIR)
-BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
-
-INCLUDES = -I. -I../ -I$(srcdir) -I$(srcdir)/../../include @GDB_INCLUDE@
-
-libcommon_a_OBJS = signals.o $(COMMON_CPU_OBJ)
-libcommon_a_SOURCES = signals.c $(COMMON_CPU_SRC)
-
-all: libcommon.a
-
-signals.o: $(srcdir)/signals.c
-	$(COMPILE) $(srcdir)/signals.c
-
-COMPILE = source='$<' object='$@' libtool=no $(CC) $(DEFS) $(INCLUDES) \
-	@GDB_FLAGS@ $(CPPFLAGS) $(ALL_CFLAGS) $(CFLAGS) -c
-
-# Implicit rules
-
-.c.o:
-	$(COMPILE) $(srcdir)/$<
-
-
-.SUFFIXES:
-.SUFFIXES: .c .o .obj
-
-libcommon.a: $(libcommon_a_OBJS)
-	-rm -f $@
-	$(AR) $(ARFLAGS) $@ $(libcommon_a_OBJS)
-	$(RANLIB) $@
-
-# Rules to rebuild the configuration
-
-Makefile: $(srcdir)/Makefile.in config.status
-	$(SHELL) ./config.status Makefile
-
-config.status: $(srcdir)/configure
-	$(SHELL) ./config.status --recheck
-
-$(srcdir)/configure: $(srcdir)/aclocal.m4
-	cd $(srcdir) && $(AUTOCONF)
-
-aclocal_deps = \
-	$(srcdir)/../../config/stdint.m4 \
-	$(srcdir)/../../config/warnings.m4 \
-	$(srcdir)/../../config/override.m4 \
-	$(srcdir)/configure.ac
-
-$(srcdir)/aclocal.m4: $(aclocal_deps)
-	cd $(srcdir) && $(ACLOCAL) -I ../config
-
-config.h: stamp-h1
-	test -f config.h || (rm -f stamp-h1 && $(MAKE) stamp-h1)
-
-stamp-h1: $(srcdir)/config.in config.status
-	-rm -f stamp-h1
-	$(SHELL) ./config.status config.h
-
-$(srcdir)/config.in: $(srcdir)/configure
-	cd $(srcdir) && $(AUTOHEADER)
-	-rm -f stamp-h1
-
-clean mostlyclean:
-	-rm -f *~ *.o a.out
-	-rm libcommon.a
-
-distclean maintainer-clean realclean: clean
-	-rm -f *~
-	-rm -f Makefile config.status config.log
-
-.PHONY: install
-install: all
-
-.PHONY: install-only
-install-only:
-
-.PHONY: uninstall
-uninstall: 
-
-.PHONY: check installcheck info dvi pdf html
-.PHONY: install-info install-pdf install-html clean-info
-check installcheck:
-info dvi pdf html:
-install-info install-pdf install-html:
-clean-info:
-
diff --git a/gdb/common/configure b/gdb/common/configure
deleted file mode 100755
index 957dcc3..0000000
--- a/gdb/common/configure
+++ /dev/null
@@ -1,4115 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.64.
-#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
-# Foundation, Inc.
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
-  emulate sh
-  NULLCMD=:
-  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+"$@"}'='"$@"'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2>/dev/null` in #(
-  *posix*) :
-    set -o posix ;; #(
-  *) :
-     ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
-    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
-  as_echo='print -r --'
-  as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
-  as_echo='printf %s\n'
-  as_echo_n='printf %s'
-else
-  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
-    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
-    as_echo_n='/usr/ucb/echo -n'
-  else
-    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
-    as_echo_n_body='eval
-      arg=$1;
-      case $arg in #(
-      *"$as_nl"*)
-	expr "X$arg" : "X\\(.*\\)$as_nl";
-	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
-      esac;
-      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
-    '
-    export as_echo_n_body
-    as_echo_n='sh -c $as_echo_n_body as_echo'
-  fi
-  export as_echo_body
-  as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  PATH_SEPARATOR=:
-  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
-    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
-      PATH_SEPARATOR=';'
-  }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order.  Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" ""	$as_nl"
-
-# Find who we are.  Look in the path if we contain no directory separator.
-case $0 in #((
-  *[\\/]* ) as_myself=$0 ;;
-  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-  done
-IFS=$as_save_IFS
-
-     ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
-  as_myself=$0
-fi
-if test ! -f "$as_myself"; then
-  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
-  exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there.  '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
-  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-if test "x$CONFIG_SHELL" = x; then
-  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
-  emulate sh
-  NULLCMD=:
-  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '\${1+\"\$@\"}'='\"\$@\"'
-  setopt NO_GLOB_SUBST
-else
-  case \`(set -o) 2>/dev/null\` in #(
-  *posix*) :
-    set -o posix ;; #(
-  *) :
-     ;;
-esac
-fi
-"
-  as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
-  exitcode=1; echo positional parameters were not saved.
-fi


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-03-08  8:16 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-03-08  8:16 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  ce7aa233c596554237c08fdb4667563908c28685 (commit)
       via  a8a24381ad7d678a1407c5aac0119fe6f2bb44d5 (commit)
       via  26beb4ff92e886ed8f3b7e72a9578d97861cce6c (commit)
       via  2493a1c3a1d73b5f38205f65ece3fa27ab25932e (commit)
       via  e195a4ceb1ab452b27fc9564338fccc20f878bf1 (commit)
       via  c6e18bb82bf2c38c32a676961cd318dd92def2e9 (commit)
       via  7e5e52fb6509b772d8e8d9ffb18c91f7b9e9c0ac (commit)
       via  fb4eb6f59b41b325cc55c79ef7f621832d404b96 (commit)
       via  4a8232486713495005ddb6a5a55852ef700d75c6 (commit)
       via  e3e944cf879ee5f1b73091d21f1519b0f29bc15c (commit)
       via  1e487dd491198f245f53f4a912fe09293d7cc50c (commit)
       via  c102e38a31fbf19b82193e5da19f05136c67f2ba (commit)
       via  e519d312866adab5a38c2ddf6cd6c19a9c8e9025 (commit)
       via  86eea50bade7cf59f53b9b9b44c928962e8c3c33 (commit)
       via  865acd2c34063108064d99db373473e8f6d83ce4 (commit)
       via  a175fb966a6b301b97b11f5906ec0e52a1c4baf7 (commit)
       via  67f954c319369009fa2f4262ec07bca10589f964 (commit)
       via  ee34b00175d8e9ba4d2f5fd3c92e9759bb4458b9 (commit)
       via  528e3f0dd8575f77fd686822ca9762a68b792da6 (commit)
       via  9a5782ef78308aca91b7cb1629aa10189c1fc52d (commit)
       via  1c84b4e7ca1cf3aedc94dd3a0d20184691f32fa9 (commit)
       via  128551d755e7bf034db311e280d88f3e8a042769 (commit)
       via  197423bc2e1280911452b2066ed7acf35e6a0c71 (commit)
      from  990ed04e24edcb0c508fb6343eed8421c3fed988 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit ce7aa233c596554237c08fdb4667563908c28685
Merge: 990ed04 a8a2438
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Mar 8 09:16:19 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit a8a24381ad7d678a1407c5aac0119fe6f2bb44d5
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue Mar 8 04:53:32 2011 +0000

    minor reformatting for target.c:read_whatever_is_readable
    
    gdb/ChangeLog:
    
            * target.c (read_whatever_is_readable): Reformat comment,
            with a minor typo fix. Minor reformatting of the code.

commit 26beb4ff92e886ed8f3b7e72a9578d97861cce6c
Author: qiyao <qiyao>
Date:   Tue Mar 8 01:04:33 2011 +0000

    2011-03-08  Yao Qi  <yao@codesourcery.com>
    
    	* arm-tdep.c: Remove prototype declaration displaced_in_arm_mode.
    	(displaced_read_reg): Add `dsc' parameter, remove `from' parameter.
    	Use cached result instead of calling displaced_in_arm_mode again.
    	(branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter.
    	(displaced_write_reg, copy_preload, copy_preload_reg): Callers update.
    	(cleanup_copro_load_store, copy_copro_load_store): Likewise.
    	(cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise.
    	(cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise.
    	(copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise.
    	(copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise.
    	(cleanup_block_load_all, cleanup_block_store_pc): Likewise.
    	(cleanup_block_load_pc, copy_block_xfer): Likewise.
    	* arm-linux-tdep.c (arm_linux_copy_svc): Callers update.
    	(arm_catch_kernel_helper_return): Likewise.
    	* gdb/arm-tdep.h : Update function declarations.

commit 2493a1c3a1d73b5f38205f65ece3fa27ab25932e
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Mar 8 00:00:03 2011 +0000

    *** empty log message ***

commit e195a4ceb1ab452b27fc9564338fccc20f878bf1
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Mar 7 23:00:05 2011 +0000

    daily update

commit c6e18bb82bf2c38c32a676961cd318dd92def2e9
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Mar 7 22:02:45 2011 +0000

    	* Makefile.in (TAGS): Rewrite.

commit 7e5e52fb6509b772d8e8d9ffb18c91f7b9e9c0ac
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 7 20:25:57 2011 +0000

    gdb/testsuite/
    	* gdb.trace/report.exp (12.1: trace report #1): New match for the
    	initial commands echo.  New match for `Found trace'.  Anchor all the
    	other matches.  Anchor and match for `No trace frame found' the final
    	match.

commit fb4eb6f59b41b325cc55c79ef7f621832d404b96
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 7 20:15:12 2011 +0000

    gdb/gdbserver/
    	* remote-utils.c (putpkt_binary_1): Calculate BUF2 size dynamically.

commit 4a8232486713495005ddb6a5a55852ef700d75c6
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Mar 7 20:06:11 2011 +0000

    2011-03-04  Michael Snyder  <msnyder@vmware.com>
    
    	* dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null.

commit e3e944cf879ee5f1b73091d21f1519b0f29bc15c
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Mar 7 19:53:32 2011 +0000

    2011-03-05  Michael Snyder  <msnyder@vmware.com>
    
    	* ser-unix.c (hardwire_get_tty_state): Stop memory leak.

commit 1e487dd491198f245f53f4a912fe09293d7cc50c
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Mar 7 19:50:22 2011 +0000

    2011-03-05  Michael Snyder  <msnyder@vmware.com>
    
    	* mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment.

commit c102e38a31fbf19b82193e5da19f05136c67f2ba
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Mar 7 19:44:18 2011 +0000

    2011-03-05  Michael Snyder  <msnyder@vmware.com>
    
    	* elfread.c (elf_symtab_read): Stop memory leak.

commit e519d312866adab5a38c2ddf6cd6c19a9c8e9025
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Mar 7 18:34:30 2011 +0000

    2011-03-06  Michael Snyder  <msnyder@vmware.com>
    
    	* main.c (captured_main): Fix memory leak.

commit 86eea50bade7cf59f53b9b9b44c928962e8c3c33
Author: Andreas Schwab <schwab@suse.de>
Date:   Mon Mar 7 18:29:12 2011 +0000

    * ada-lang.c (compare_names): Call is_name_suffix with string1
    instead of string2.

commit 865acd2c34063108064d99db373473e8f6d83ce4
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Mar 7 17:03:51 2011 +0000

    	* Makefile.in (TAGS): New target.

commit a175fb966a6b301b97b11f5906ec0e52a1c4baf7
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Mar 7 16:17:25 2011 +0000

    	* xcoffread.c (xcoff_sym_fns): Update.
    	* symfile.h (struct sym_fns) <sym_read_psymbols>: New field.
    	(enum symfile_add_flags) <SYMFILE_NO_READ>: New constant.
    	* symfile.c (syms_from_objfile): Handle SYMFILE_NO_READ.
    	(symbol_file_add_with_addrs_or_offsets): Likewise.
    	(reread_symbols): Handle OBJF_PSYMTABS_READ.
    	* somread.c (som_sym_fns): Update.
    	* psymtab.h (require_partial_symbols): Declare.
    	* psymtab.c (require_partial_symbols): New function.
    	(ALL_OBJFILE_PSYMTABS_REQUIRED): New macro.
    	(ALL_OBJFILE_PSYMTABS): Undef.
    	(ALL_PSYMTABS): Move from psympriv.h.
    	(lookup_partial_symtab, find_pc_sect_psymtab)
    	(lookup_symbol_aux_psymtabs, relocate_psymtabs)
    	(find_last_source_symtab_from_partial)
    	(forget_cached_source_info_partial)
    	(print_psymtab_stats_for_objfile, read_symtabs_for_function)
    	(expand_partial_symbol_tables, read_psymtabs_with_filename)
    	(map_symbol_names_psymtab, map_symbol_filenames_psymtab)
    	(find_symbol_file_from_partial, map_matching_symbols_psymtab)
    	(expand_symtabs_matching_via_partial, maintenance_info_psymtabs):
    	Use ALL_OBJFILE_PSYMTABS_REQUIRED.
    	* psympriv.h (ALL_PSYMTABS): Move to psymtab.c.
    	* objfiles.h (OBJF_PSYMTABS_READ): New macro.
    	* objfiles.c (objfile_has_partial_symbols): Handle lazily-read
    	psymtabs.
    	* mipsread.c (ecoff_sym_fns): Update.
    	* machoread.c (macho_sym_fns): Update.
    	* elfread.c (elf_symfile_read): Set up for lazy psymtab reading.
    	(read_psyms): New function.
    	(elf_sym_fns, elf_sym_fns_gdb_index): Update.
    	(elf_sym_fns_lazy_psyms): New global.
    	* dwarf2read.c (dwarf2_initialize_objfile): Don't call
    	dwarf2_build_psymtabs.
    	* dbxread.c (aout_sym_fns): Update.
    	* coffread.c (coff_sym_fns): Update.

commit 67f954c319369009fa2f4262ec07bca10589f964
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Mar 7 16:02:58 2011 +0000

    gdb
    	* infrun.c (print_exited_reason): Include inferior id and pid in
    	message.
    gdb/testsuite
    	* lib/opencl.exp (skip_opencl_tests): Update for exit message
    	change.
    	* lib/mi-support.exp (mi_gdb_test): Update for exit message
    	change.
    	* lib/gdb.exp (gdb_test_multiple): Update comment.  Update for
    	exit message change.
    	(skip_altivec_tests): Update for exit message change.
    	(skip_vsx_tests): Likewise.
    	(gdb_continue_to_end): Likewise.  Add 'command' argument.
    	* lib/cell.exp (skip_cell_tests): Update for exit message change.
    	* gdb.threads/tls.exp: Update for exit message change.
    	* gdb.threads/thread-unwindonsignal.exp: Use
    	gdb_continue_to_end.
    	* gdb.threads/step.exp (step_it): Update for exit message change.
    	(continue_all): Likewise.
    	* gdb.threads/print-threads.exp (test_all_threads): Update for
    	exit message change.
    	* gdb.threads/interrupted-hand-call.exp: Use
    	gdb_continue_to_end.
    	* gdb.threads/execl.exp: Use gdb_continue_to_end.
    	* gdb.python/py-prettyprint.exp (run_lang_tests): Use
    	gdb_continue_to_end.
    	* gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
    	* gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
    	* gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
    	* gdb.cp/method.exp: Update for exit message change.
    	* gdb.cp/mb-templates.exp: Update for exit message change.
    	* gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
    	* gdb.cp/annota3.exp: Update for exit message change.
    	* gdb.cp/annota2.exp: Update for exit message change.
    	* gdb.cell/fork.exp: Use gdb_continue_to_end.
    	* gdb.base/term.exp: Update for exit message change.
    	* gdb.base/step-test.exp (test_i): Update for exit message change.
    	* gdb.base/sigstep.exp (advance): Update for exit message change.
    	(advancei): Likewise.
    	* gdb.base/siginfo.exp: Update for exit message change.
    	* gdb.base/shlib-call.exp: Use gdb_continue_to_end.
    	* gdb.base/reread.exp: Use gdb_continue_to_end.
    	* gdb.base/langs.exp: Use gdb_continue_to_end.
    	* gdb.base/interrupt.exp: Update for exit message change.
    	* gdb.base/gdb1555.exp: Update for exit message change.
    	* gdb.base/exe-lock.exp: Use gdb_continue_to_end.
    	* gdb.base/ending-run.exp: Update for exit message change.
    	* gdb.base/chng-syms.exp: Update for exit message change.
    	* gdb.base/checkpoint.exp: Update for exit message change.
    	* gdb.base/catch-syscall.exp (check_for_program_end): Use
    	gdb_continue_to_end.
    	(test_catch_syscall_with_wrong_args): Likewise.
    	* gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
    	* gdb.base/break-interp.exp (test_ld): Update for exit message
    	change.
    	* gdb.base/bang.exp: Update for exit message change.
    	* gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
    	(do_call_attach_tests): Likewise.
    	* gdb.base/a2-run.exp: Update for exit message change.
    	* gdb.arch/ppc-dfp.exp: Update for exit message change.
    	* gdb.ada/tasks.exp: Use gdb_continue_to_end.
    	* gdb.ada/catch_ex.exp: Use gdb_continue_to_end.

commit ee34b00175d8e9ba4d2f5fd3c92e9759bb4458b9
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Mar 7 15:58:12 2011 +0000

    	* target.h (struct target_ops) <to_has_execution>: Add ptid_t
    	parameter.
    	(target_has_execution_1): Update.
    	(target_has_execution_current): Declare.
    	(target_has_execution): Call target_has_execution_current.
    	(default_child_has_execution): Update.
    	* target.c (default_child_has_execution): Add 'the_ptid'
    	parameter.
    	(target_has_execution_1): Likewise.
    	(target_has_execution_current): New function.
    	(add_target): Update.
    	(init_dummy_target): Update.
    	* remote-m32r-sdi.c (m32r_has_execution): New function.
    	(init_m32r_ops): Use it.
    	* record.c (record_core_has_execution): Now static.  Add
    	'the_ptid' parameter.
    	* inferior.c (have_live_inferiors): Don't save current thread.
    	Use target_has_execution_1.

commit 528e3f0dd8575f77fd686822ca9762a68b792da6
Author: qiyao <qiyao>
Date:   Mon Mar 7 11:42:53 2011 +0000

    2011-03-07  Yao Qi  <yao@codesourcery.com>
    
    	* Makefile.in (aclocal_m4_deps): Remove gnulib/m4/memcmp.m4.

commit 9a5782ef78308aca91b7cb1629aa10189c1fc52d
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Mar 7 11:13:07 2011 +0000

    Minor reformatting in elfread.c:elf_symtab_read
    
    gdb/ChangeLog:
    
            * elfread.c (elf_symtab_read): Minor reformatting.

commit 1c84b4e7ca1cf3aedc94dd3a0d20184691f32fa9
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Mar 7 10:41:34 2011 +0000

    minor reformatting in objc-lang.c:selectors_info
    
    gdb/ChangeLog:
    
            * objc-lang.c (selectors_info): Minor reformatting.

commit 128551d755e7bf034db311e280d88f3e8a042769
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Mar 7 10:05:18 2011 +0000

    add FALLTHROUGH comment in ada-lang.c:compare_names
    
    gdb/ChangeLog:
    
    	* ada-lang.c (compare_names): Add FALLTHROUGH comment.

commit 197423bc2e1280911452b2066ed7acf35e6a0c71
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Mar 7 08:57:08 2011 +0000

    simplify ada-valprint.c:ada_val_print_array
    
    Two things:
      - Move the declaration of a couple of variables inside the block
        where they are actually used;
      - Remove some code that checks against NULL/zero, because the
        condition should always be false. Add some gdb_asserts to
        make sure we never fail those assumptions.
    
    gdb/ChangeLog:
    
            * ada-valprint.c (ada_val_print_array): Move the declaration of
            "byte_order" and "elttype" inside the block where these variables
            are actually used.  Remove some special handling for the case
            where "elttype" and "eltlen" are null.  Replace by a comment
            and a couple of assertion checks.

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |  130 ++++++++++++++++
 gdb/Makefile.in                                    |    1 -
 gdb/ada-lang.c                                     |    3 +-
 gdb/ada-valprint.c                                 |   20 ++--
 gdb/arm-linux-tdep.c                               |    5 +-
 gdb/arm-tdep.c                                     |  162 +++++++++-----------
 gdb/arm-tdep.h                                     |    3 +-
 gdb/coffread.c                                     |    1 +
 gdb/dbxread.c                                      |    1 +
 gdb/dwarf2loc.c                                    |    1 +
 gdb/dwarf2read.c                                   |    1 -
 gdb/elfread.c                                      |   56 ++++++-
 gdb/gdbserver/ChangeLog                            |    4 +
 gdb/gdbserver/remote-utils.c                       |    2 +-
 gdb/inferior.c                                     |   14 +--
 gdb/infrun.c                                       |   17 ++-
 gdb/machoread.c                                    |    1 +
 gdb/main.c                                         |   13 +-
 gdb/mi/mi-cmd-env.c                                |    1 +
 gdb/mipsread.c                                     |    1 +
 gdb/objc-lang.c                                    |   10 +-
 gdb/objfiles.c                                     |    9 +-
 gdb/objfiles.h                                     |    5 +
 gdb/psympriv.h                                     |    6 -
 gdb/psymtab.c                                      |   88 +++++++++--
 gdb/psymtab.h                                      |    8 +
 gdb/record.c                                       |    4 +-
 gdb/remote-m32r-sdi.c                              |   10 +-
 gdb/ser-unix.c                                     |    5 +-
 gdb/somread.c                                      |    1 +
 gdb/symfile.c                                      |   26 +++-
 gdb/symfile.h                                      |   13 ++-
 gdb/target.c                                       |   60 ++++---
 gdb/target.h                                       |   14 ++-
 gdb/testsuite/ChangeLog                            |   76 +++++++++
 gdb/testsuite/Makefile.in                          |    4 +
 gdb/testsuite/gdb.ada/catch_ex.exp                 |    4 +-
 gdb/testsuite/gdb.ada/tasks.exp                    |    4 +-
 gdb/testsuite/gdb.arch/ppc-dfp.exp                 |    2 +-
 gdb/testsuite/gdb.base/a2-run.exp                  |   18 +-
 gdb/testsuite/gdb.base/attach.exp                  |    4 +-
 gdb/testsuite/gdb.base/bang.exp                    |    2 +-
 gdb/testsuite/gdb.base/break-interp.exp            |    4 +-
 gdb/testsuite/gdb.base/call-signal-resume.exp      |    3 +-
 gdb/testsuite/gdb.base/catch-syscall.exp           |    5 +-
 gdb/testsuite/gdb.base/checkpoint.exp              |   10 +-
 gdb/testsuite/gdb.base/chng-syms.exp               |    2 +-
 gdb/testsuite/gdb.base/ending-run.exp              |    8 +-
 gdb/testsuite/gdb.base/exe-lock.exp                |    4 +-
 gdb/testsuite/gdb.base/gdb1555.exp                 |    2 +-
 gdb/testsuite/gdb.base/interrupt.exp               |    2 +-
 gdb/testsuite/gdb.base/langs.exp                   |    8 +-
 gdb/testsuite/gdb.base/reread.exp                  |    3 +-
 gdb/testsuite/gdb.base/shlib-call.exp              |    4 +-
 gdb/testsuite/gdb.base/siginfo.exp                 |    2 +-
 gdb/testsuite/gdb.base/sigstep.exp                 |   10 +-
 gdb/testsuite/gdb.base/step-test.exp               |    2 +-
 gdb/testsuite/gdb.base/term.exp                    |    2 +-
 gdb/testsuite/gdb.cell/fork.exp                    |    3 +-
 gdb/testsuite/gdb.cp/annota2.exp                   |    2 +-
 gdb/testsuite/gdb.cp/annota3.exp                   |    3 +-
 gdb/testsuite/gdb.cp/mb-inline.exp                 |    4 +-
 gdb/testsuite/gdb.cp/mb-templates.exp              |    2 +-
 gdb/testsuite/gdb.cp/method.exp                    |    4 +-
 gdb/testsuite/gdb.hp/gdb.defects/solib-d.exp       |    4 +-
 gdb/testsuite/gdb.hp/gdb.objdbg/objdbg01.exp       |    4 +-
 gdb/testsuite/gdb.hp/gdb.objdbg/objdbg02.exp       |    4 +-
 gdb/testsuite/gdb.python/py-prettyprint.exp        |    2 +-
 gdb/testsuite/gdb.threads/execl.exp                |    3 +-
 .../gdb.threads/interrupted-hand-call.exp          |    3 +-
 gdb/testsuite/gdb.threads/print-threads.exp        |    4 +-
 gdb/testsuite/gdb.threads/step.exp                 |    6 +-
 .../gdb.threads/thread-unwindonsignal.exp          |    3 +-
 gdb/testsuite/gdb.threads/tls.exp                  |    2 +-
 gdb/testsuite/gdb.trace/report.exp                 |   20 ++-
 gdb/testsuite/lib/cell.exp                         |    6 +-
 gdb/testsuite/lib/gdb.exp                          |   37 +++--
 gdb/testsuite/lib/mi-support.exp                   |    3 +-
 gdb/testsuite/lib/opencl.exp                       |    5 +-
 gdb/version.in                                     |    2 +-
 gdb/xcoffread.c                                    |    1 +
 82 files changed, 690 insertions(+), 320 deletions(-)

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 6765a93..901c240 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110307
+#define BFD_VERSION_DATE 20110308
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4887026..135a161 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,133 @@
+2011-03-08  Joel Brobecker  <brobecker@adacore.com>
+
+	* target.c (read_whatever_is_readable): Reformat comment,
+	with a minor typo fix. Minor reformatting of the code.
+
+2011-03-08  Yao Qi  <yao@codesourcery.com>
+
+	* arm-tdep.c: Remove prototype declaration displaced_in_arm_mode.
+	(displaced_read_reg): Add `dsc' parameter, remove `from' parameter.
+	Use cached result instead of calling displaced_in_arm_mode again.
+	(branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter.
+	(displaced_write_reg, copy_preload, copy_preload_reg): Callers update.
+	(cleanup_copro_load_store, copy_copro_load_store): Likewise.
+	(cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise.
+	(cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise.
+	(copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise.
+	(copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise.
+	(cleanup_block_load_all, cleanup_block_store_pc): Likewise.
+	(cleanup_block_load_pc, copy_block_xfer): Likewise.
+	* arm-linux-tdep.c (arm_linux_copy_svc): Callers update.
+	(arm_catch_kernel_helper_return): Likewise.
+	* gdb/arm-tdep.h : Update function declarations.
+
+2011-03-06  Michael Snyder  <msnyder@vmware.com>
+
+	* dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null.
+
+	* ser-unix.c (hardwire_get_tty_state): Stop memory leak.
+
+	* mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment.
+
+	* elfread.c (elf_symtab_read): Stop memory leak.
+
+	* main.c (captured_main): Fix memory leak.
+
+2011-03-07  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* ada-lang.c (compare_names): Call is_name_suffix with string1
+	instead of string2.
+
+2011-03-07  Tom Tromey  <tromey@redhat.com>
+
+	* xcoffread.c (xcoff_sym_fns): Update.
+	* symfile.h (struct sym_fns) <sym_read_psymbols>: New field.
+	(enum symfile_add_flags) <SYMFILE_NO_READ>: New constant.
+	* symfile.c (syms_from_objfile): Handle SYMFILE_NO_READ.
+	(symbol_file_add_with_addrs_or_offsets): Likewise.
+	(reread_symbols): Handle OBJF_PSYMTABS_READ.
+	* somread.c (som_sym_fns): Update.
+	* psymtab.h (require_partial_symbols): Declare.
+	* psymtab.c (require_partial_symbols): New function.
+	(ALL_OBJFILE_PSYMTABS_REQUIRED): New macro.
+	(ALL_OBJFILE_PSYMTABS): Undef.
+	(ALL_PSYMTABS): Move from psympriv.h.
+	(lookup_partial_symtab, find_pc_sect_psymtab)
+	(lookup_symbol_aux_psymtabs, relocate_psymtabs)
+	(find_last_source_symtab_from_partial)
+	(forget_cached_source_info_partial)
+	(print_psymtab_stats_for_objfile, read_symtabs_for_function)
+	(expand_partial_symbol_tables, read_psymtabs_with_filename)
+	(map_symbol_names_psymtab, map_symbol_filenames_psymtab)
+	(find_symbol_file_from_partial, map_matching_symbols_psymtab)
+	(expand_symtabs_matching_via_partial, maintenance_info_psymtabs):
+	Use ALL_OBJFILE_PSYMTABS_REQUIRED.
+	* psympriv.h (ALL_PSYMTABS): Move to psymtab.c.
+	* objfiles.h (OBJF_PSYMTABS_READ): New macro.
+	* objfiles.c (objfile_has_partial_symbols): Handle lazily-read
+	psymtabs.
+	* mipsread.c (ecoff_sym_fns): Update.
+	* machoread.c (macho_sym_fns): Update.
+	* elfread.c (elf_symfile_read): Set up for lazy psymtab reading.
+	(read_psyms): New function.
+	(elf_sym_fns, elf_sym_fns_gdb_index): Update.
+	(elf_sym_fns_lazy_psyms): New global.
+	* dwarf2read.c (dwarf2_initialize_objfile): Don't call
+	dwarf2_build_psymtabs.
+	* dbxread.c (aout_sym_fns): Update.
+	* coffread.c (coff_sym_fns): Update.
+
+2011-03-07  Tom Tromey  <tromey@redhat.com>
+
+	* infrun.c (print_exited_reason): Include inferior id and pid in
+	message.
+
+2011-03-07  Tom Tromey  <tromey@redhat.com>
+
+	* target.h (struct target_ops) <to_has_execution>: Add ptid_t
+	parameter.
+	(target_has_execution_1): Update.
+	(target_has_execution_current): Declare.
+	(target_has_execution): Call target_has_execution_current.
+	(default_child_has_execution): Update.
+	* target.c (default_child_has_execution): Add 'the_ptid'
+	parameter.
+	(target_has_execution_1): Likewise.
+	(target_has_execution_current): New function.
+	(add_target): Update.
+	(init_dummy_target): Update.
+	* remote-m32r-sdi.c (m32r_has_execution): New function.
+	(init_m32r_ops): Use it.
+	* record.c (record_core_has_execution): Now static.  Add
+	'the_ptid' parameter.
+	* inferior.c (have_live_inferiors): Don't save current thread.
+	Use target_has_execution_1.
+
+2011-03-07  Yao Qi  <yao@codesourcery.com>
+
+	* Makefile.in (aclocal_m4_deps): Remove gnulib/m4/memcmp.m4.
+
+2011-03-07  Joel Brobecker  <brobecker@adacore.com>
+
+	* elfread.c (elf_symtab_read): Minor reformatting.
+
+2011-03-07  Joel Brobecker  <brobecker@adacore.com>
+
+	* objc-lang.c (selectors_info): Minor reformatting.
+
+2011-03-07  Joel Brobecker  <brobecker@adacore.com>
+
+	* ada-lang.c (compare_names): Add FALLTHROUGH comment.
+
+2011-03-07  Joel Brobecker  <brobecker@adacore.com>
+	    Michael Snyder  <msnyder@vmware.com>
+
+	* ada-valprint.c (ada_val_print_array): Move the declaration of
+	"byte_order" and "elttype" inside the block where these variables
+	are actually used.  Remove some special handling for the case
+	where "elttype" and "eltlen" are null.  Replace by a comment
+	and a couple of assertion checks.
+
 2011-03-05  Michael Snyder  <msnyder@vmware.com>
 
 	* source.c (add_path): Replace semicolon at end of block.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 00d624f..db69d97 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1330,7 +1330,6 @@ aclocal_m4_deps = \
 	gnulib/m4/include_next.m4 \
 	gnulib/m4/longlong.m4 \
 	gnulib/m4/memchr.m4 \
-	gnulib/m4/memcmp.m4 \
 	gnulib/m4/memmem.m4 \
 	gnulib/m4/onceonly_2_57.m4 \
 	gnulib/m4/stdint.m4 \
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index d0a1014..ed51ab0 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -4757,11 +4757,12 @@ compare_names (const char *string1, const char *string2)
     case '_':
       if (*string2 == '\0')
 	{
-	  if (is_name_suffix (string2))
+	  if (is_name_suffix (string1))
 	    return 0;
 	  else
 	    return -1;
 	}
+      /* FALLTHROUGH */
     default:
       if (*string2 == '(')
 	return strcmp_iw_ordered (string1, string2);
diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c
index 9381ecc..09266ce 100644
--- a/gdb/ada-valprint.c
+++ b/gdb/ada-valprint.c
@@ -605,25 +605,25 @@ ada_val_print_array (struct type *type, const gdb_byte *valaddr,
 		     const struct value *val,
 		     const struct value_print_options *options)
 {
-  enum bfd_endian byte_order = gdbarch_byte_order (get_type_arch (type));
-  struct type *elttype = TYPE_TARGET_TYPE (type);
   int result = 0;
 
   /* For an array of chars, print with string syntax.  */
   if (ada_is_string_type (type)
       && (options->format == 0 || options->format == 's'))
     {
+      enum bfd_endian byte_order = gdbarch_byte_order (get_type_arch (type));
+      struct type *elttype = TYPE_TARGET_TYPE (type);
       unsigned int eltlen;
       unsigned int len;
 
-      if (elttype == NULL)
-        eltlen = 0;
-      else
-        eltlen = TYPE_LENGTH (elttype);
-      if (eltlen == 0)
-        len = 0;
-      else
-        len = TYPE_LENGTH (type) / eltlen;
+      /* We know that ELTTYPE cannot possibly be null, because we found
+	 that TYPE is a string-like type.  Similarly, the size of ELTTYPE
+	 should also be non-null, since it's a character-like type.  */
+      gdb_assert (elttype != NULL);
+      gdb_assert (TYPE_LENGTH (elttype) != 0);
+
+      eltlen = TYPE_LENGTH (elttype);
+      len = TYPE_LENGTH (type) / eltlen;
 
       if (options->prettyprint_arrays)
         print_spaces_filtered (2 + 2 * recurse, stream);
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c
index f60ecc3..2f3109c 100644
--- a/gdb/arm-linux-tdep.c
+++ b/gdb/arm-linux-tdep.c
@@ -801,11 +801,10 @@ static int
 arm_linux_copy_svc (struct gdbarch *gdbarch, uint32_t insn, CORE_ADDR to,
 		    struct regcache *regs, struct displaced_step_closure *dsc)
 {
-  CORE_ADDR from = dsc->insn_addr;
   CORE_ADDR return_to = 0;
 
   struct frame_info *frame;
-  unsigned int svc_number = displaced_read_reg (regs, from, 7);
+  unsigned int svc_number = displaced_read_reg (regs, dsc, 7);
   int is_sigreturn = 0;
 
   if (debug_displaced)
@@ -918,7 +917,7 @@ arm_catch_kernel_helper_return (struct gdbarch *gdbarch, CORE_ADDR from,
      Insn: ldr pc, [r14, #4]
      Cleanup: r14 <- tmp[0], pc <- tmp[0].  */
 
-  dsc->tmp[0] = displaced_read_reg (regs, from, ARM_LR_REGNUM);
+  dsc->tmp[0] = displaced_read_reg (regs, dsc, ARM_LR_REGNUM);
   displaced_write_reg (regs, dsc, ARM_LR_REGNUM, (ULONGEST) to + 4,
 		       CANNOT_WRITE_PC);
   write_memory_unsigned_integer (to + 8, 4, byte_order, from);
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 2cf2eec..7796176 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -5111,16 +5111,16 @@ arm_adjust_breakpoint_address (struct gdbarch *gdbarch, CORE_ADDR bpaddr)
 /* NOP instruction (mov r0, r0).  */
 #define ARM_NOP				0xe1a00000
 
-static int displaced_in_arm_mode (struct regcache *regs);
-
 /* Helper for register reads for displaced stepping.  In particular, this
    returns the PC as it would be seen by the instruction at its original
    location.  */
 
 ULONGEST
-displaced_read_reg (struct regcache *regs, CORE_ADDR from, int regno)
+displaced_read_reg (struct regcache *regs, struct displaced_step_closure *dsc,
+		    int regno)
 {
   ULONGEST ret;
+  CORE_ADDR from = dsc->insn_addr;
 
   if (regno == ARM_PC_REGNUM)
     {
@@ -5130,7 +5130,7 @@ displaced_read_reg (struct regcache *regs, CORE_ADDR from, int regno)
 	 - When executing a Thumb instruction, PC reads as the address of the
 	 current instruction plus 4.  */
 
-      if (displaced_in_arm_mode (regs))
+      if (!dsc->is_thumb)
 	from += 8;
       else
 	from += 4;
@@ -5164,9 +5164,10 @@ displaced_in_arm_mode (struct regcache *regs)
 /* Write to the PC as from a branch instruction.  */
 
 static void
-branch_write_pc (struct regcache *regs, ULONGEST val)
+branch_write_pc (struct regcache *regs, struct displaced_step_closure *dsc,
+		 ULONGEST val)
 {
-  if (displaced_in_arm_mode (regs))
+  if (!dsc->is_thumb)
     /* Note: If bits 0/1 are set, this branch would be unpredictable for
        architecture versions < 6.  */
     regcache_cooked_write_unsigned (regs, ARM_PC_REGNUM,
@@ -5209,23 +5210,25 @@ bx_write_pc (struct regcache *regs, ULONGEST val)
 /* Write to the PC as if from a load instruction.  */
 
 static void
-load_write_pc (struct regcache *regs, ULONGEST val)
+load_write_pc (struct regcache *regs, struct displaced_step_closure *dsc,
+	       ULONGEST val)
 {
   if (DISPLACED_STEPPING_ARCH_VERSION >= 5)
     bx_write_pc (regs, val);
   else
-    branch_write_pc (regs, val);
+    branch_write_pc (regs, dsc, val);
 }
 
 /* Write to the PC as if from an ALU instruction.  */
 
 static void
-alu_write_pc (struct regcache *regs, ULONGEST val)
+alu_write_pc (struct regcache *regs, struct displaced_step_closure *dsc,
+	      ULONGEST val)
 {
-  if (DISPLACED_STEPPING_ARCH_VERSION >= 7 && displaced_in_arm_mode (regs))
+  if (DISPLACED_STEPPING_ARCH_VERSION >= 7 && !dsc->is_thumb)
     bx_write_pc (regs, val);
   else
-    branch_write_pc (regs, val);
+    branch_write_pc (regs, dsc, val);
 }
 
 /* Helper for writing to registers for displaced stepping.  Writing to the PC
@@ -5244,7 +5247,7 @@ displaced_write_reg (struct regcache *regs, struct displaced_step_closure *dsc,
       switch (write_pc)
 	{
 	case BRANCH_WRITE_PC:
-	  branch_write_pc (regs, val);
+	  branch_write_pc (regs, dsc, val);
 	  break;
 
 	case BX_WRITE_PC:
@@ -5252,11 +5255,11 @@ displaced_write_reg (struct regcache *regs, struct displaced_step_closure *dsc,
   	  break;
 
 	case LOAD_WRITE_PC:
-	  load_write_pc (regs, val);
+	  load_write_pc (regs, dsc, val);
   	  break;
 
 	case ALU_WRITE_PC:
-	  alu_write_pc (regs, val);
+	  alu_write_pc (regs, dsc, val);
   	  break;
 
 	case CANNOT_WRITE_PC:
@@ -5346,7 +5349,6 @@ copy_preload (struct gdbarch *gdbarch, uint32_t insn, struct regcache *regs,
 {
   unsigned int rn = bits (insn, 16, 19);
   ULONGEST rn_val;
-  CORE_ADDR from = dsc->insn_addr;
 
   if (!insn_references_pc (insn, 0x000f0000ul))
     return copy_unmodified (gdbarch, insn, "preload", dsc);
@@ -5361,8 +5363,8 @@ copy_preload (struct gdbarch *gdbarch, uint32_t insn, struct regcache *regs,
      ->
      {pli/pld} [r0, #+/-imm].  */
 
-  dsc->tmp[0] = displaced_read_reg (regs, from, 0);
-  rn_val = displaced_read_reg (regs, from, rn);
+  dsc->tmp[0] = displaced_read_reg (regs, dsc, 0);
+  rn_val = displaced_read_reg (regs, dsc, rn);
   displaced_write_reg (regs, dsc, 0, rn_val, CANNOT_WRITE_PC);
 
   dsc->u.preload.immed = 1;
@@ -5384,7 +5386,6 @@ copy_preload_reg (struct gdbarch *gdbarch, uint32_t insn,
   unsigned int rn = bits (insn, 16, 19);
   unsigned int rm = bits (insn, 0, 3);
   ULONGEST rn_val, rm_val;
-  CORE_ADDR from = dsc->insn_addr;
 
   if (!insn_references_pc (insn, 0x000f000ful))
     return copy_unmodified (gdbarch, insn, "preload reg", dsc);
@@ -5399,10 +5400,10 @@ copy_preload_reg (struct gdbarch *gdbarch, uint32_t insn,
      ->
      {pli/pld} [r0, r1 {, shift}].  */
 
-  dsc->tmp[0] = displaced_read_reg (regs, from, 0);
-  dsc->tmp[1] = displaced_read_reg (regs, from, 1);
-  rn_val = displaced_read_reg (regs, from, rn);
-  rm_val = displaced_read_reg (regs, from, rm);
+  dsc->tmp[0] = displaced_read_reg (regs, dsc, 0);
+  dsc->tmp[1] = displaced_read_reg (regs, dsc, 1);
+  rn_val = displaced_read_reg (regs, dsc, rn);
+  rm_val = displaced_read_reg (regs, dsc, rm);
   displaced_write_reg (regs, dsc, 0, rn_val, CANNOT_WRITE_PC);
   displaced_write_reg (regs, dsc, 1, rm_val, CANNOT_WRITE_PC);
 
@@ -5422,7 +5423,7 @@ cleanup_copro_load_store (struct gdbarch *gdbarch,
 			  struct regcache *regs,
 			  struct displaced_step_closure *dsc)
 {
-  ULONGEST rn_val = displaced_read_reg (regs, dsc->insn_addr, 0);
+  ULONGEST rn_val = displaced_read_reg (regs, dsc, 0);
 
   displaced_write_reg (regs, dsc, 0, dsc->tmp[0], CANNOT_WRITE_PC);
 
@@ -5437,7 +5438,6 @@ copy_copro_load_store (struct gdbarch *gdbarch, uint32_t insn,
 {
   unsigned int rn = bits (insn, 16, 19);
   ULONGEST rn_val;
-  CORE_ADDR from = dsc->insn_addr;
 
   if (!insn_references_pc (insn, 0x000f0000ul))
     return copy_unmodified (gdbarch, insn, "copro load/store", dsc);
@@ -5454,8 +5454,8 @@ copy_copro_load_store (struct gdbarch *gdbarch, uint32_t insn,
 
      ldc/ldc2 are handled identically.  */
 
-  dsc->tmp[0] = displaced_read_reg (regs, from, 0);
-  rn_val = displaced_read_reg (regs, from, rn);
+  dsc->tmp[0] = displaced_read_reg (regs, dsc, 0);
+  rn_val = displaced_read_reg (regs, dsc, rn);
   displaced_write_reg (regs, dsc, 0, rn_val, CANNOT_WRITE_PC);
 
   dsc->u.ldst.writeback = bit (insn, 25);
@@ -5475,8 +5475,7 @@ static void
 cleanup_branch (struct gdbarch *gdbarch, struct regcache *regs,
 		struct displaced_step_closure *dsc)
 {
-  ULONGEST from = dsc->insn_addr;
-  uint32_t status = displaced_read_reg (regs, from, ARM_PS_REGNUM);
+  uint32_t status = displaced_read_reg (regs, dsc, ARM_PS_REGNUM);
   int branch_taken = condition_true (dsc->u.branch.cond, status);
   enum pc_write_style write_pc = dsc->u.branch.exchange
 				 ? BX_WRITE_PC : BRANCH_WRITE_PC;
@@ -5486,7 +5485,7 @@ cleanup_branch (struct gdbarch *gdbarch, struct regcache *regs,
 
   if (dsc->u.branch.link)
     {
-      ULONGEST pc = displaced_read_reg (regs, from, ARM_PC_REGNUM);
+      ULONGEST pc = displaced_read_reg (regs, dsc, ARM_PC_REGNUM);
       displaced_write_reg (regs, dsc, ARM_LR_REGNUM, pc - 4, CANNOT_WRITE_PC);
     }
 
@@ -5551,7 +5550,6 @@ copy_bx_blx_reg (struct gdbarch *gdbarch, uint32_t insn,
      BLX: x12xxx3x.  */
   int link = bit (insn, 5);
   unsigned int rm = bits (insn, 0, 3);
-  CORE_ADDR from = dsc->insn_addr;
 
   if (debug_displaced)
     fprintf_unfiltered (gdb_stdlog, "displaced: copying %s register insn "
@@ -5566,7 +5564,7 @@ copy_bx_blx_reg (struct gdbarch *gdbarch, uint32_t insn,
 
      Don't set r14 in cleanup for BX.  */
 
-  dsc->u.branch.dest = displaced_read_reg (regs, from, rm);
+  dsc->u.branch.dest = displaced_read_reg (regs, dsc, rm);
 
   dsc->u.branch.cond = cond;
   dsc->u.branch.link = link;
@@ -5585,7 +5583,7 @@ static void
 cleanup_alu_imm (struct gdbarch *gdbarch,
 		 struct regcache *regs, struct displaced_step_closure *dsc)
 {
-  ULONGEST rd_val = displaced_read_reg (regs, dsc->insn_addr, 0);
+  ULONGEST rd_val = displaced_read_reg (regs, dsc, 0);
   displaced_write_reg (regs, dsc, 0, dsc->tmp[0], CANNOT_WRITE_PC);
   displaced_write_reg (regs, dsc, 1, dsc->tmp[1], CANNOT_WRITE_PC);
   displaced_write_reg (regs, dsc, dsc->rd, rd_val, ALU_WRITE_PC);
@@ -5600,7 +5598,6 @@ copy_alu_imm (struct gdbarch *gdbarch, uint32_t insn, struct regcache *regs,
   unsigned int op = bits (insn, 21, 24);
   int is_mov = (op == 0xd);
   ULONGEST rd_val, rn_val;
-  CORE_ADDR from = dsc->insn_addr;
 
   if (!insn_references_pc (insn, 0x000ff000ul))
     return copy_unmodified (gdbarch, insn, "ALU immediate", dsc);
@@ -5622,10 +5619,10 @@ copy_alu_imm (struct gdbarch *gdbarch, uint32_t insn, struct regcache *regs,
      Cleanup: rd <- r0; r0 <- tmp1; r1 <- tmp2
   */
 
-  dsc->tmp[0] = displaced_read_reg (regs, from, 0);
-  dsc->tmp[1] = displaced_read_reg (regs, from, 1);
-  rn_val = displaced_read_reg (regs, from, rn);
-  rd_val = displaced_read_reg (regs, from, rd);
+  dsc->tmp[0] = displaced_read_reg (regs, dsc, 0);
+  dsc->tmp[1] = displaced_read_reg (regs, dsc, 1);
+  rn_val = displaced_read_reg (regs, dsc, rn);
+  rd_val = displaced_read_reg (regs, dsc, rd);
   displaced_write_reg (regs, dsc, 0, rd_val, CANNOT_WRITE_PC);
   displaced_write_reg (regs, dsc, 1, rn_val, CANNOT_WRITE_PC);
   dsc->rd = rd;
@@ -5649,7 +5646,7 @@ cleanup_alu_reg (struct gdbarch *gdbarch,
   ULONGEST rd_val;
   int i;
 
-  rd_val = displaced_read_reg (regs, dsc->insn_addr, 0);
+  rd_val = displaced_read_reg (regs, dsc, 0);
 
   for (i = 0; i < 3; i++)
     displaced_write_reg (regs, dsc, i, dsc->tmp[i], CANNOT_WRITE_PC);
@@ -5667,7 +5664,6 @@ copy_alu_reg (struct gdbarch *gdbarch, uint32_t insn, struct regcache *regs,
   unsigned int op = bits (insn, 21, 24);
   int is_mov = (op == 0xd);
   ULONGEST rd_val, rn_val, rm_val;
-  CORE_ADDR from = dsc->insn_addr;
 
   if (!insn_references_pc (insn, 0x000ff00ful))
     return copy_unmodified (gdbarch, insn, "ALU reg", dsc);
@@ -5688,12 +5684,12 @@ copy_alu_reg (struct gdbarch *gdbarch, uint32_t insn, struct regcache *regs,


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-03-07  8:47 pmuldoon
  0 siblings, 0 replies; 45+ messages in thread
From: pmuldoon @ 2011-03-07  8:47 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  990ed04e24edcb0c508fb6343eed8421c3fed988 (commit)
       via  34ea7968ce196d8b967e0b6f5ac75f043bb5d3db (commit)
       via  a5236f47cb82e12f4d1e5a4e7b219d75d5c7a916 (commit)
       via  6163b7829ab7403041ad4e4b0a2f0791dca1602e (commit)
       via  64cfa2f8a5b9c9b0e93034e358e3b4c364fb7fd8 (commit)
       via  dbf8a94cf0b4e1874969be8436b9474ccc3cba0f (commit)
       via  f8b0f11294d7f8d5cf7d1e494b46eadb55191c59 (commit)
       via  3a956f99ebac41f4066f6f238dbfc78483a211ed (commit)
       via  09848fc001acdf0661b735a6b8ab2772da8ec4e9 (commit)
       via  274454609d032a0a5ef054e2e61e0fd8805df295 (commit)
       via  b530550b8c6dde9a01b54832e393f63efbbe6051 (commit)
       via  cf1feff15b48fb9d83aa22317e18a5759c1f734b (commit)
       via  7d8a7543f4b30578d967c8e32b490ad25cfb38b8 (commit)
       via  895f6fcbf7bcce233840c5f1f262cd6e6ef5af57 (commit)
       via  73eb00f5435c4d7289c40f5ac19820b2099701e0 (commit)
       via  19d40f47fbfcfa70eb2658b5857b82725a3fb7aa (commit)
      from  a7a4525a6e65b4b75c879867600e5a639fb00cd3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 990ed04e24edcb0c508fb6343eed8421c3fed988
Merge: a7a4525 34ea796
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Mon Mar 7 08:47:17 2011 +0000

    Merge remote-tracking branch 'gdb/master'

commit 34ea7968ce196d8b967e0b6f5ac75f043bb5d3db
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Mar 7 00:00:03 2011 +0000

    *** empty log message ***

commit a5236f47cb82e12f4d1e5a4e7b219d75d5c7a916
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Mar 6 23:00:05 2011 +0000

    daily update

commit 6163b7829ab7403041ad4e4b0a2f0791dca1602e
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Mar 6 18:37:07 2011 +0000

    2011-03-05  Michael Snyder  <msnyder@vmware.com>
    
    	* compress.c (bfd_compress_section_contents): Check for out of mem.

commit 64cfa2f8a5b9c9b0e93034e358e3b4c364fb7fd8
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Mar 6 18:27:03 2011 +0000

    2011-03-06  Michael Snyder  <msnyder@vmware.com>
    
    	* elf64-x86-64.c (elf_x86_64_relocate_section): Document
    	that case statement falls through intentionally.

commit dbf8a94cf0b4e1874969be8436b9474ccc3cba0f
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Mar 6 18:22:36 2011 +0000

    2011-03-06  Michael Snyder  <msnyder@vmware.com>
    
    	* elf32-i386.c (elf_i386_relocate_section): Document fall through.

commit f8b0f11294d7f8d5cf7d1e494b46eadb55191c59
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Sun Mar 6 07:40:52 2011 +0000

    gdbserver: configure + make clean fails (no 'common' subdir)
    
    This problem was noticed during the nightly snapshot build,
    but can be reduced to:
    
            % /path/to/gdb/gdbserver/configure
            % make clean
    
    The "make clean" fails, because it tries to do a "make clean"
    in the common/ subdirectory.  But the problem is that this
    common/ subdirectory is NOT created during the configure phase,
    but rather during the build phase.  The error is fatal because
    we had put the common subdirectory in the list of REQUIRED_SUBDIRS.
    
    This fixes the problem by removing it from the REQUIRED_SUBDIRS
    list.
    
    gdb/gdbserver/ChangeLog:
    
            * Makefile.in (REQUIRED_SUBDIRS): Remove $(LIBCOMMON_DIR).

commit 3a956f99ebac41f4066f6f238dbfc78483a211ed
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Mar 6 01:32:46 2011 +0000

    2011-03-05  Michael Snyder  <msnyder@vmware.com>
    
    	* source.c (add_path): Replace semicolon at end of block.
    	* dwarf2expr.c (execute_stack_op): Ditto.

commit 09848fc001acdf0661b735a6b8ab2772da8ec4e9
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sun Mar 6 00:22:36 2011 +0000

    gdb: blackfin: enable simulator support
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 274454609d032a0a5ef054e2e61e0fd8805df295
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sun Mar 6 00:20:16 2011 +0000

    sim: bfin: new port
    
    This can boot Das U-Boot and a Linux kernel.  It also supports Linux
    userspace FLAT and FDPIC (dynamic and static) ELFs.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit b530550b8c6dde9a01b54832e393f63efbbe6051
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Mar 6 00:00:03 2011 +0000

    *** empty log message ***

commit cf1feff15b48fb9d83aa22317e18a5759c1f734b
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Mar 5 23:00:06 2011 +0000

    daily update

commit 7d8a7543f4b30578d967c8e32b490ad25cfb38b8
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Mar 5 22:02:47 2011 +0000

    2011-03-05  Michael Snyder  <msnyder@vmware.com>
    
    	* dwarf2expr.c (execute_stack_op): Delete superfluous semicolon.
    	* mdebugread.c (parse_symbol): Ditto.
    	* parse.c (parse_exp_in_context): Ditto.
    	* source.c (add_path): Ditto.
    	* utils.c (gnu_debuglink_crc32): Ditto.
    	* varobj.c (variable_language): Ditto.

commit 895f6fcbf7bcce233840c5f1f262cd6e6ef5af57
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Mar 5 21:21:31 2011 +0000

    2011-03-05  Michael Snyder  <msnyder@vmware.com>
    
    	* linux-tdep.c (linux_get_siginfo_type): Stop memory leak.

commit 73eb00f5435c4d7289c40f5ac19820b2099701e0
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Mar 5 13:15:01 2011 +0000

    	* gdb.base/help.exp (help thread find): Fix one forgotten quote.

commit 19d40f47fbfcfa70eb2658b5857b82725a3fb7aa
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Mar 5 07:33:13 2011 +0000

    Guard against M4 versions with a buggy strstr.
    
    config/:
    	* override.m4: Error out if a buggy M4 was detected, to
    	avoid spurious diffs in generated files.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                   |    9 +
 bfd/compress.c                  |    3 +
 bfd/elf32-i386.c                |    2 +-
 bfd/elf64-x86-64.c              |    3 +-
 bfd/version.h                   |    2 +-
 config/ChangeLog                |    6 +
 config/override.m4              |    6 +
 gdb/ChangeLog                   |   22 +
 gdb/bfin-tdep.c                 |    2 +
 gdb/configure.tgt               |    2 +
 gdb/dwarf2expr.c                |    3 +-
 gdb/gdbserver/ChangeLog         |    4 +
 gdb/gdbserver/Makefile.in       |    2 +-
 gdb/linux-tdep.c                |   12 +-
 gdb/mdebugread.c                |    2 +-
 gdb/parse.c                     |    2 +-
 gdb/source.c                    |    3 +-
 gdb/testsuite/ChangeLog         |    4 +
 gdb/testsuite/gdb.base/help.exp |    2 +-
 gdb/utils.c                     |    2 +-
 gdb/varobj.c                    |    2 +-
 gdb/version.in                  |    2 +-
 include/gdb/ChangeLog           |    4 +
 include/gdb/sim-bfin.h          |   82 +
 sim/ChangeLog                   |    6 +
 sim/MAINTAINERS                 |    1 +
 sim/bfin/Makefile.in            |   97 +
 sim/bfin/TODO                   |   28 +
 sim/bfin/aclocal.m4             |  171 ++
 sim/bfin/bfin-sim.c             | 6099 +++++++++++++++++++++++++++++++++++++++
 sim/bfin/bfin-sim.h             |  350 +++
 sim/bfin/bfroms/all.h           |   43 +
 sim/bfin/bfroms/bf50x-0.0.h     |    3 +
 sim/bfin/bfroms/bf51x-0.0.h     |    3 +
 sim/bfin/bfroms/bf51x-0.1.h     |    3 +
 sim/bfin/bfroms/bf51x-0.2.h     |    3 +
 sim/bfin/bfroms/bf526-0.0.h     |    3 +
 sim/bfin/bfroms/bf526-0.1.h     |    3 +
 sim/bfin/bfroms/bf527-0.0.h     |    3 +
 sim/bfin/bfroms/bf527-0.1.h     |    3 +
 sim/bfin/bfroms/bf527-0.2.h     |    3 +
 sim/bfin/bfroms/bf533-0.1.h     |    3 +
 sim/bfin/bfroms/bf533-0.2.h     |    3 +
 sim/bfin/bfroms/bf533-0.3.h     |    3 +
 sim/bfin/bfroms/bf537-0.0.h     |    3 +
 sim/bfin/bfroms/bf537-0.1.h     |    3 +
 sim/bfin/bfroms/bf537-0.3.h     |    3 +
 sim/bfin/bfroms/bf538-0.0.h     |    3 +
 sim/bfin/bfroms/bf54x-0.0.h     |    3 +
 sim/bfin/bfroms/bf54x-0.1.h     |    3 +
 sim/bfin/bfroms/bf54x-0.2.h     |    3 +
 sim/bfin/bfroms/bf54x_l1-0.0.h  |    3 +
 sim/bfin/bfroms/bf54x_l1-0.1.h  |    3 +
 sim/bfin/bfroms/bf54x_l1-0.2.h  |    3 +
 sim/bfin/bfroms/bf561-0.5.h     |    3 +
 sim/bfin/bfroms/bf59x-0.0.h     |    3 +
 sim/bfin/bfroms/bf59x_l1-0.1.h  |    3 +
 sim/bfin/config.in              |  176 ++
 sim/{ => bfin}/configure        | 5315 ++++++++++++++++++++++------------
 sim/bfin/configure.ac           |   75 +
 sim/bfin/devices.c              |  163 ++
 sim/bfin/devices.h              |  156 +
 sim/bfin/dv-bfin_cec.c          |  807 ++++++
 sim/bfin/dv-bfin_cec.h          |  139 +
 sim/bfin/dv-bfin_ctimer.c       |  267 ++
 sim/bfin/dv-bfin_ctimer.h       |   33 +
 sim/bfin/dv-bfin_dma.c          |  553 ++++
 sim/bfin/dv-bfin_dma.h          |   65 +
 sim/bfin/dv-bfin_dmac.c         |  469 +++
 sim/bfin/dv-bfin_dmac.h         |   32 +
 sim/bfin/dv-bfin_ebiu_amc.c     |  456 +++
 sim/bfin/dv-bfin_ebiu_amc.h     |   31 +
 sim/bfin/dv-bfin_ebiu_ddrc.c    |  184 ++
 sim/bfin/dv-bfin_ebiu_ddrc.h    |   26 +
 sim/bfin/dv-bfin_ebiu_sdc.c     |  201 ++
 sim/bfin/dv-bfin_ebiu_sdc.h     |   39 +
 sim/bfin/dv-bfin_emac.c         |  603 ++++
 sim/bfin/dv-bfin_emac.h         |   61 +
 sim/bfin/dv-bfin_eppi.c         |  271 ++
 sim/bfin/dv-bfin_eppi.h         |   30 +
 sim/bfin/dv-bfin_evt.c          |  153 +
 sim/bfin/dv-bfin_evt.h          |   31 +
 sim/bfin/dv-bfin_gptimer.c      |  183 ++
 sim/bfin/dv-bfin_gptimer.h      |   27 +
 sim/bfin/dv-bfin_jtag.c         |  157 +
 sim/bfin/dv-bfin_jtag.h         |   27 +
 sim/bfin/dv-bfin_mmu.c          |  574 ++++
 sim/bfin/dv-bfin_mmu.h          |   94 +
 sim/bfin/dv-bfin_nfc.c          |  241 ++
 sim/bfin/dv-bfin_nfc.h          |   41 +
 sim/bfin/dv-bfin_otp.c          |  307 ++
 sim/bfin/dv-bfin_otp.h          |  100 +
 sim/bfin/dv-bfin_pll.c          |  187 ++
 sim/bfin/dv-bfin_pll.h          |   27 +
 sim/bfin/dv-bfin_ppi.c          |  231 ++
 sim/bfin/dv-bfin_ppi.h          |   32 +
 sim/bfin/dv-bfin_rtc.c          |  194 ++
 sim/bfin/dv-bfin_rtc.h          |   26 +
 sim/bfin/dv-bfin_sic.c          | 1439 +++++++++
 sim/bfin/dv-bfin_sic.h          |   27 +
 sim/bfin/dv-bfin_spi.c          |  229 ++
 sim/bfin/dv-bfin_spi.h          |   54 +
 sim/bfin/dv-bfin_trace.c        |  285 ++
 sim/bfin/dv-bfin_trace.h        |   37 +
 sim/bfin/dv-bfin_twi.c          |  227 ++
 sim/bfin/dv-bfin_twi.h          |   38 +
 sim/bfin/dv-bfin_uart.c         |  437 +++
 sim/bfin/dv-bfin_uart.h         |   49 +
 sim/bfin/dv-bfin_uart2.c        |  258 ++
 sim/bfin/dv-bfin_uart2.h        |   33 +
 sim/bfin/dv-bfin_wdog.c         |  206 ++
 sim/bfin/dv-bfin_wdog.h         |   36 +
 sim/bfin/dv-bfin_wp.c           |  188 ++
 sim/bfin/dv-bfin_wp.h           |   27 +
 sim/bfin/dv-eth_phy.c           |  206 ++
 sim/bfin/gui.c                  |  286 ++
 sim/bfin/gui.h                  |   50 +
 sim/bfin/insn_list.def          |   62 +
 sim/bfin/interp.c               | 1241 ++++++++
 sim/bfin/linux-fixed-code.h     |   74 +
 sim/bfin/linux-fixed-code.s     |   85 +
 sim/bfin/linux-targ-map.h       | 1992 +++++++++++++
 sim/bfin/machs.c                | 1287 +++++++++
 sim/bfin/machs.h                |   56 +
 sim/bfin/proc_list.def          |   50 +
 sim/bfin/sim-main.h             |  117 +
 sim/bfin/tconfig.in             |   27 +
 sim/common/ChangeLog            |    5 +
 sim/common/gennltvals.sh        |    4 +
 sim/common/nltvals.def          |   30 +
 sim/configure                   |    8 +
 sim/configure.tgt               |    3 +
 132 files changed, 27146 insertions(+), 1844 deletions(-)
 create mode 100644 include/gdb/sim-bfin.h
 create mode 100644 sim/bfin/Makefile.in
 create mode 100644 sim/bfin/TODO
 create mode 100644 sim/bfin/aclocal.m4
 create mode 100644 sim/bfin/bfin-sim.c
 create mode 100644 sim/bfin/bfin-sim.h
 create mode 100644 sim/bfin/bfroms/all.h
 create mode 100644 sim/bfin/bfroms/bf50x-0.0.h
 create mode 100644 sim/bfin/bfroms/bf51x-0.0.h
 create mode 100644 sim/bfin/bfroms/bf51x-0.1.h
 create mode 100644 sim/bfin/bfroms/bf51x-0.2.h
 create mode 100644 sim/bfin/bfroms/bf526-0.0.h
 create mode 100644 sim/bfin/bfroms/bf526-0.1.h
 create mode 100644 sim/bfin/bfroms/bf527-0.0.h
 create mode 100644 sim/bfin/bfroms/bf527-0.1.h
 create mode 100644 sim/bfin/bfroms/bf527-0.2.h
 create mode 100644 sim/bfin/bfroms/bf533-0.1.h
 create mode 100644 sim/bfin/bfroms/bf533-0.2.h
 create mode 100644 sim/bfin/bfroms/bf533-0.3.h
 create mode 100644 sim/bfin/bfroms/bf537-0.0.h
 create mode 100644 sim/bfin/bfroms/bf537-0.1.h
 create mode 100644 sim/bfin/bfroms/bf537-0.3.h
 create mode 100644 sim/bfin/bfroms/bf538-0.0.h
 create mode 100644 sim/bfin/bfroms/bf54x-0.0.h
 create mode 100644 sim/bfin/bfroms/bf54x-0.1.h
 create mode 100644 sim/bfin/bfroms/bf54x-0.2.h
 create mode 100644 sim/bfin/bfroms/bf54x_l1-0.0.h
 create mode 100644 sim/bfin/bfroms/bf54x_l1-0.1.h
 create mode 100644 sim/bfin/bfroms/bf54x_l1-0.2.h
 create mode 100644 sim/bfin/bfroms/bf561-0.5.h
 create mode 100644 sim/bfin/bfroms/bf59x-0.0.h
 create mode 100644 sim/bfin/bfroms/bf59x_l1-0.1.h
 create mode 100644 sim/bfin/config.in
 copy sim/{ => bfin}/configure (62%)
 create mode 100644 sim/bfin/configure.ac
 create mode 100644 sim/bfin/devices.c
 create mode 100644 sim/bfin/devices.h
 create mode 100644 sim/bfin/dv-bfin_cec.c
 create mode 100644 sim/bfin/dv-bfin_cec.h
 create mode 100644 sim/bfin/dv-bfin_ctimer.c
 create mode 100644 sim/bfin/dv-bfin_ctimer.h
 create mode 100644 sim/bfin/dv-bfin_dma.c
 create mode 100644 sim/bfin/dv-bfin_dma.h
 create mode 100644 sim/bfin/dv-bfin_dmac.c
 create mode 100644 sim/bfin/dv-bfin_dmac.h
 create mode 100644 sim/bfin/dv-bfin_ebiu_amc.c
 create mode 100644 sim/bfin/dv-bfin_ebiu_amc.h
 create mode 100644 sim/bfin/dv-bfin_ebiu_ddrc.c
 create mode 100644 sim/bfin/dv-bfin_ebiu_ddrc.h
 create mode 100644 sim/bfin/dv-bfin_ebiu_sdc.c
 create mode 100644 sim/bfin/dv-bfin_ebiu_sdc.h
 create mode 100644 sim/bfin/dv-bfin_emac.c
 create mode 100644 sim/bfin/dv-bfin_emac.h
 create mode 100644 sim/bfin/dv-bfin_eppi.c
 create mode 100644 sim/bfin/dv-bfin_eppi.h
 create mode 100644 sim/bfin/dv-bfin_evt.c
 create mode 100644 sim/bfin/dv-bfin_evt.h
 create mode 100644 sim/bfin/dv-bfin_gptimer.c
 create mode 100644 sim/bfin/dv-bfin_gptimer.h
 create mode 100644 sim/bfin/dv-bfin_jtag.c
 create mode 100644 sim/bfin/dv-bfin_jtag.h
 create mode 100644 sim/bfin/dv-bfin_mmu.c
 create mode 100644 sim/bfin/dv-bfin_mmu.h
 create mode 100644 sim/bfin/dv-bfin_nfc.c
 create mode 100644 sim/bfin/dv-bfin_nfc.h
 create mode 100644 sim/bfin/dv-bfin_otp.c
 create mode 100644 sim/bfin/dv-bfin_otp.h
 create mode 100644 sim/bfin/dv-bfin_pll.c
 create mode 100644 sim/bfin/dv-bfin_pll.h
 create mode 100644 sim/bfin/dv-bfin_ppi.c
 create mode 100644 sim/bfin/dv-bfin_ppi.h
 create mode 100644 sim/bfin/dv-bfin_rtc.c
 create mode 100644 sim/bfin/dv-bfin_rtc.h
 create mode 100644 sim/bfin/dv-bfin_sic.c
 create mode 100644 sim/bfin/dv-bfin_sic.h
 create mode 100644 sim/bfin/dv-bfin_spi.c
 create mode 100644 sim/bfin/dv-bfin_spi.h
 create mode 100644 sim/bfin/dv-bfin_trace.c
 create mode 100644 sim/bfin/dv-bfin_trace.h
 create mode 100644 sim/bfin/dv-bfin_twi.c
 create mode 100644 sim/bfin/dv-bfin_twi.h
 create mode 100644 sim/bfin/dv-bfin_uart.c
 create mode 100644 sim/bfin/dv-bfin_uart.h
 create mode 100644 sim/bfin/dv-bfin_uart2.c
 create mode 100644 sim/bfin/dv-bfin_uart2.h
 create mode 100644 sim/bfin/dv-bfin_wdog.c
 create mode 100644 sim/bfin/dv-bfin_wdog.h
 create mode 100644 sim/bfin/dv-bfin_wp.c
 create mode 100644 sim/bfin/dv-bfin_wp.h
 create mode 100644 sim/bfin/dv-eth_phy.c
 create mode 100644 sim/bfin/gui.c
 create mode 100644 sim/bfin/gui.h
 create mode 100644 sim/bfin/insn_list.def
 create mode 100644 sim/bfin/interp.c
 create mode 100644 sim/bfin/linux-fixed-code.h
 create mode 100644 sim/bfin/linux-fixed-code.s
 create mode 100644 sim/bfin/linux-targ-map.h
 create mode 100644 sim/bfin/machs.c
 create mode 100644 sim/bfin/machs.h
 create mode 100644 sim/bfin/proc_list.def
 create mode 100644 sim/bfin/sim-main.h
 create mode 100644 sim/bfin/tconfig.in

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 95166a3..31613e8 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,12 @@
+2011-03-06  Michael Snyder  <msnyder@vmware.com>
+
+	* compress.c (bfd_compress_section_contents): Check for out of mem.
+
+	* elf64-x86-64.c (elf_x86_64_relocate_section): Document
+	that case statement falls through intentionally.
+
+	* elf32-i386.c (elf_i386_relocate_section): Document fall through.
+
 2011-03-04  Alan Modra  <amodra@gmail.com>
 
 	* archive.c (bsd_write_armap): Don't call stat in deterministic
diff --git a/bfd/compress.c b/bfd/compress.c
index a526ea9..669033c 100644
--- a/bfd/compress.c
+++ b/bfd/compress.c
@@ -100,6 +100,9 @@ bfd_compress_section_contents (bfd *abfd ATTRIBUTE_UNUSED,
   compressed_size = compressBound (uncompressed_size) + 12;
   compressed_buffer = (bfd_byte *) bfd_malloc (compressed_size);
 
+  if (compressed_buffer == NULL)
+    return FALSE;
+
   if (compress ((Bytef*) compressed_buffer + 12,
 		&compressed_size,
 		(const Bytef*) uncompressed_buffer,
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index e9b3933..693c8e8 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -3128,7 +3128,7 @@ elf_i386_relocate_section (bfd *output_bfd,
 		     internal symbol, we have updated addend.  */
 		  continue;
 		}
-
+	      /* FALLTHROUGH */
 	    case R_386_PC32:
 	    case R_386_PLT32:
 	      goto do_relocation;
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index ad2a1f3..c26c40b 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -2887,6 +2887,7 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 	    case R_X86_64_32:
 	      if (ABI_64_P (output_bfd))
 		goto do_relocation;
+	      /* FALLTHROUGH */
 	    case R_X86_64_64: 
 	      if (rel->r_addend != 0)
 		{
@@ -2950,7 +2951,7 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 		     internal symbol, we have updated addend.  */
 		  continue;
 		}
-
+	      /* FALLTHROUGH */
 	    case R_X86_64_PC32:
 	    case R_X86_64_PC64:
 	    case R_X86_64_PLT32:
diff --git a/bfd/version.h b/bfd/version.h
index dabbce2..6765a93 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110305
+#define BFD_VERSION_DATE 20110307
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/config/ChangeLog b/config/ChangeLog
index ee4c699..2d8d573 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,9 @@
+2011-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+	    Eric Blake  <eblake@redhat.com>
+
+	* override.m4: Error out if a buggy M4 was detected, to
+	avoid spurious diffs in generated files.
+
 2011-01-25  Jakub Jelinek  <jakub@redhat.com>
 
 	* cloog.m4 (CLOOG_REQUESTED): Use $2 if --without-cloog.
diff --git a/config/override.m4 b/config/override.m4
index fc2d527..52bd1c3 100644
--- a/config/override.m4
+++ b/config/override.m4
@@ -48,6 +48,12 @@ _GCC_AUTOCONF_VERSION_CHECK
 ])
 
 
+dnl Ensure we do not use a buggy M4.
+m4_if(m4_index([..wi.d.], [.d.]), [-1],
+  [m4_fatal(m4_do([m4 with buggy strstr detected.  Please install
+GNU M4 1.4.16 or newer and set the M4 environment variable]))])
+
+
 dnl Fix 2.64 cross compile detection for AVR and RTEMS
 dnl by not trying to compile fopen.
 m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.64],
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8d6a878..4887026 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,25 @@
+2011-03-05  Michael Snyder  <msnyder@vmware.com>
+
+	* source.c (add_path): Replace semicolon at end of block.
+	* dwarf2expr.c (execute_stack_op): Ditto.
+
+2011-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+	* bfin-tdep.c: Include sim-regno.h and gdb/sim-bfin.h.
+	* configure.tgt (bfin-*-*linux*): Define gdb_sim.
+	(bfin-*-*): Likewise.
+
+2011-03-05  Michael Snyder  <msnyder@vmware.com>
+
+	* dwarf2expr.c (execute_stack_op): Delete superfluous semicolon.
+	* mdebugread.c (parse_symbol): Ditto.
+	* parse.c (parse_exp_in_context): Ditto.
+	* source.c (add_path): Ditto.
+	* utils.c (gnu_debuglink_crc32): Ditto.
+	* varobj.c (variable_language): Ditto.
+
+	* linux-tdep.c (linux_get_siginfo_type): Stop memory leak.
+
 2011-03-04  Michael Snyder  <msnyder@vmware.com>
 
 	* linux-fork.c (inferior_call_waitptid): Fix copy/paste error.
diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c
index 21213ab..7de0b1b 100644
--- a/gdb/bfin-tdep.c
+++ b/gdb/bfin-tdep.c
@@ -32,6 +32,8 @@
 #include "trad-frame.h"
 #include "dis-asm.h"
 #include "gdb_assert.h"
+#include "sim-regno.h"
+#include "gdb/sim-bfin.h"
 #include "dwarf2-frame.h"
 #include "symtab.h"
 #include "elf-bfd.h"
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 7d017a9..5ab1554 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -109,11 +109,13 @@ avr-*-*)
 bfin-*-*linux*)
 	# Target: Blackfin Linux
 	gdb_target_obs="bfin-tdep.o bfin-linux-tdep.o linux-tdep.o"
+	gdb_sim=../sim/bfin/libsim.a
 	build_gdbserver=yes
 	;;
 bfin-*-*)
 	# Target: Blackfin processor
 	gdb_target_obs="bfin-tdep.o"
+	gdb_sim=../sim/bfin/libsim.a
 	;;
 
 cris*)
diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c
index afe6dde..8d1810e 100644
--- a/gdb/dwarf2expr.c
+++ b/gdb/dwarf2expr.c
@@ -911,7 +911,8 @@ execute_stack_op (struct dwarf_expr_context *ctx,
 
       /* Most things push a result value.  */
       dwarf_expr_push (ctx, result, in_stack_memory);
-    no_push:;
+    no_push:
+      ;
     }
 
   /* To simplify our main caller, if the result is an implicit
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 7fa2e15..577a14b 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-06  Yao Qi  <yao@codesourcery.com>
+
+	* Makefile.in (REQUIRED_SUBDIRS): Remove $(LIBCOMMON_DIR).
+
 2011-03-05  Yao Qi  <yao@codesourcery.com>
 
 	* Makefile.in (CLEANDIRS, REQUIRED_SUBDIRS): New variable.
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
index 50d468e..81cf25a 100644
--- a/gdb/gdbserver/Makefile.in
+++ b/gdb/gdbserver/Makefile.in
@@ -137,7 +137,7 @@ LIBCOMMON = $(LIBCOMMON_DIR)/libcommon.a
 LIBCOMMON_SRC = $(srcdir)/$(LIBCOMMON_DIR)
 
 CLEANDIRS = $(LIBCOMMON_DIR)
-REQUIRED_SUBDIRS = $(LIBCOMMON_DIR)
+REQUIRED_SUBDIRS = no-required-subdir-yet
 
 SOURCES = $(SFILES)
 TAGFILES = $(SOURCES) ${HFILES} ${ALLPARAM} ${POSSLIBS}
diff --git a/gdb/linux-tdep.c b/gdb/linux-tdep.c
index c09d6e8..d5a15d5 100644
--- a/gdb/linux-tdep.c
+++ b/gdb/linux-tdep.c
@@ -76,20 +76,20 @@ linux_get_siginfo_type (struct gdbarch *gdbarch)
   append_composite_type_field (sigval_type, "sival_ptr", void_ptr_type);
 
   /* __pid_t */
-  pid_type = arch_type (gdbarch, TYPE_CODE_TYPEDEF, TYPE_LENGTH (int_type),
-			xstrdup ("__pid_t"));
+  pid_type = arch_type (gdbarch, TYPE_CODE_TYPEDEF,
+			TYPE_LENGTH (int_type), "__pid_t");
   TYPE_TARGET_TYPE (pid_type) = int_type;
   TYPE_TARGET_STUB (pid_type) = 1;
 
   /* __uid_t */
-  uid_type = arch_type (gdbarch, TYPE_CODE_TYPEDEF, TYPE_LENGTH (uint_type),
-			xstrdup ("__uid_t"));
+  uid_type = arch_type (gdbarch, TYPE_CODE_TYPEDEF,
+			TYPE_LENGTH (uint_type), "__uid_t");
   TYPE_TARGET_TYPE (uid_type) = uint_type;
   TYPE_TARGET_STUB (uid_type) = 1;
 
   /* __clock_t */
-  clock_type = arch_type (gdbarch, TYPE_CODE_TYPEDEF, TYPE_LENGTH (long_type),
-			  xstrdup ("__clock_t"));
+  clock_type = arch_type (gdbarch, TYPE_CODE_TYPEDEF,
+			  TYPE_LENGTH (long_type), "__clock_t");
   TYPE_TARGET_TYPE (clock_type) = long_type;
   TYPE_TARGET_STUB (clock_type) = 1;
 
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c
index 1c65609..d99ad16 100644
--- a/gdb/mdebugread.c
+++ b/gdb/mdebugread.c
@@ -943,7 +943,7 @@ parse_symbol (SYMR *sh, union aux_ext *ax, char *ext_sh, int bigend,
 			   tsym.st);
 	      }
 	  }
-      end_of_fields:;
+      end_of_fields:
 
 	/* In an stBlock, there is no way to distinguish structs,
 	   unions, and enums at this point.  This is a bug in the
diff --git a/gdb/parse.c b/gdb/parse.c
index 856c24d..02a7d89 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -1160,7 +1160,7 @@ parse_exp_in_context (char **stringptr, struct block *block, int comma,
   expout->nelts = expout_ptr;
   expout = (struct expression *)
     xrealloc ((char *) expout,
-	      sizeof (struct expression) + EXP_ELEM_TO_BYTES (expout_ptr));;
+	      sizeof (struct expression) + EXP_ELEM_TO_BYTES (expout_ptr));
 
   /* Convert expression from postfix form as generated by yacc
      parser, to a prefix form.  */
diff --git a/gdb/source.c b/gdb/source.c
index a14a802..391c9c2 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -625,7 +625,8 @@ add_path (char *dirname, char **which_path, int parse_separators)
 	    old = *which_path;
 	  }
       }
-    skip_dup:;
+    skip_dup:
+      ;
     }
   while (arg != NULL);
 }
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 588c34e..fb954bd 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* gdb.base/help.exp (help thread find): Fix one forgotten quote.
+
 2011-03-03  Tom Tromey  <tromey@redhat.com>
 
 	* gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
diff --git a/gdb/testsuite/gdb.base/help.exp b/gdb/testsuite/gdb.base/help.exp
index be0d783..a97ec88 100644
--- a/gdb/testsuite/gdb.base/help.exp
+++ b/gdb/testsuite/gdb.base/help.exp
@@ -655,7 +655,7 @@ gdb_test "help thread" "Use this command to switch between threads.*" "help thre
 # test help thread apply
 gdb_test "help thread apply" "Apply a command to a list of threads.*" "help thread apply"
 # test help thread find
-gdb_test "help thread find" "Find threads that match a regular.*" help thread find"
+gdb_test "help thread find" "Find threads that match a regular.*" "help thread find"
 # test help thread name
 gdb_test "help thread name" "Set the current thread's name.*" "help thread name"
 # test help tty
diff --git a/gdb/utils.c b/gdb/utils.c
index 91e6af4..e688d19 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -3733,7 +3733,7 @@ gnu_debuglink_crc32 (unsigned long crc, unsigned char *buf, size_t len)
   crc = ~crc & 0xffffffff;
   for (end = buf + len; buf < end; ++buf)
     crc = crc32_table[(crc ^ *buf) & 0xff] ^ (crc >> 8);
-  return ~crc & 0xffffffff;;
+  return ~crc & 0xffffffff;
 }
 
 ULONGEST
diff --git a/gdb/varobj.c b/gdb/varobj.c
index 08a1af3..12b0b16 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -2358,7 +2358,7 @@ variable_language (struct varobj *var)
 static int
 number_of_children (struct varobj *var)
 {
-  return (*var->root->lang->number_of_children) (var);;
+  return (*var->root->lang->number_of_children) (var);
 }
 
 /* What is the expression for the root varobj VAR? Returns a malloc'd
diff --git a/gdb/version.in b/gdb/version.in
index 69fe017..9d001ed 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-7.2.50.20110305-cvs
+7.2.50.20110307-cvs
diff --git a/include/gdb/ChangeLog b/include/gdb/ChangeLog
index 19509e2..8b31e11 100644
--- a/include/gdb/ChangeLog
+++ b/include/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+	* sim-bfin.h: New file.
+
 2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
 
 	* remote-sim.h (sim_store_register): Update the API
diff --git a/include/gdb/sim-bfin.h b/include/gdb/sim-bfin.h
new file mode 100644
index 0000000..3a006b8
--- /dev/null
+++ b/include/gdb/sim-bfin.h
@@ -0,0 +1,82 @@
+/* This file defines the interface between the Blackfin simulator and GDB.
+
+   Copyright (C) 2005-2011 Free Software Foundation, Inc.
+   Contributed by Analog Devices.
+
+   This file is part of GDB.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+enum sim_bfin_regnum {
+  SIM_BFIN_R0_REGNUM = 0,
+  SIM_BFIN_R1_REGNUM,
+  SIM_BFIN_R2_REGNUM,
+  SIM_BFIN_R3_REGNUM,
+  SIM_BFIN_R4_REGNUM,
+  SIM_BFIN_R5_REGNUM,
+  SIM_BFIN_R6_REGNUM,
+  SIM_BFIN_R7_REGNUM,
+  SIM_BFIN_P0_REGNUM,
+  SIM_BFIN_P1_REGNUM,
+  SIM_BFIN_P2_REGNUM,
+  SIM_BFIN_P3_REGNUM,
+  SIM_BFIN_P4_REGNUM,
+  SIM_BFIN_P5_REGNUM,
+  SIM_BFIN_SP_REGNUM,
+  SIM_BFIN_FP_REGNUM,
+  SIM_BFIN_I0_REGNUM,
+  SIM_BFIN_I1_REGNUM,
+  SIM_BFIN_I2_REGNUM,
+  SIM_BFIN_I3_REGNUM,
+  SIM_BFIN_M0_REGNUM,
+  SIM_BFIN_M1_REGNUM,
+  SIM_BFIN_M2_REGNUM,
+  SIM_BFIN_M3_REGNUM,
+  SIM_BFIN_B0_REGNUM,
+  SIM_BFIN_B1_REGNUM,
+  SIM_BFIN_B2_REGNUM,
+  SIM_BFIN_B3_REGNUM,
+  SIM_BFIN_L0_REGNUM,
+  SIM_BFIN_L1_REGNUM,
+  SIM_BFIN_L2_REGNUM,
+  SIM_BFIN_L3_REGNUM,
+  SIM_BFIN_A0_DOT_X_REGNUM,
+  SIM_BFIN_A0_DOT_W_REGNUM,
+  SIM_BFIN_A1_DOT_X_REGNUM,
+  SIM_BFIN_A1_DOT_W_REGNUM,
+  SIM_BFIN_ASTAT_REGNUM,
+  SIM_BFIN_RETS_REGNUM,
+  SIM_BFIN_LC0_REGNUM,
+  SIM_BFIN_LT0_REGNUM,
+  SIM_BFIN_LB0_REGNUM,
+  SIM_BFIN_LC1_REGNUM,
+  SIM_BFIN_LT1_REGNUM,
+  SIM_BFIN_LB1_REGNUM,
+  SIM_BFIN_CYCLES_REGNUM,
+  SIM_BFIN_CYCLES2_REGNUM,
+  SIM_BFIN_USP_REGNUM,
+  SIM_BFIN_SEQSTAT_REGNUM,
+  SIM_BFIN_SYSCFG_REGNUM,
+  SIM_BFIN_RETI_REGNUM,
+  SIM_BFIN_RETX_REGNUM,
+  SIM_BFIN_RETN_REGNUM,
+  SIM_BFIN_RETE_REGNUM,
+  SIM_BFIN_PC_REGNUM,
+  SIM_BFIN_CC_REGNUM,
+  SIM_BFIN_TEXT_ADDR,
+  SIM_BFIN_TEXT_END_ADDR,
+  SIM_BFIN_DATA_ADDR,
+  SIM_BFIN_IPEND_REGNUM
+};
+
diff --git a/sim/ChangeLog b/sim/ChangeLog
index debebb2..7227992 100644
--- a/sim/ChangeLog
+++ b/sim/ChangeLog
@@ -1,3 +1,9 @@
+2011-03-05  Mike Frysinger  <vapier@gentoo.org>
+
+	* MAINTAINERS: Add bfin entry.
+	* configure.tgt (bfin-*-*): Handle bfin targets.
+	* configure: Regenerate.
+
 2011-01-05  Mike Frysinger  <vapier@gentoo.org>
 
 	* .gitignore: Add /*/hw-config.h.
diff --git a/sim/MAINTAINERS b/sim/MAINTAINERS
index 1e0f2ce..d273002 100644
--- a/sim/MAINTAINERS
+++ b/sim/MAINTAINERS
@@ -10,6 +10,7 @@ gdb-patches@sources.redhat.com
 	Maintainers for particular sims:
 
 arm	        Nick Clifton <nickc@redhat.com>
+bfin		Mike Frysinger <vapier@gentoo.org>
 cr16	        M R Swami Reddy <MR.Swami.Reddy@nsc.com>
 frv		Dave Brolley <brolley@redhat.com>
 igen		(igen simulators)
diff --git a/sim/bfin/Makefile.in b/sim/bfin/Makefile.in
new file mode 100644
index 0000000..64f26d3
--- /dev/null
+++ b/sim/bfin/Makefile.in
@@ -0,0 +1,97 @@
+#    Makefile template for Configure for the Blackfin simulator.
+#    Copyright (C) 2005-2011 Free Software Foundation, Inc.
+#    Written by Analog Devices, Inc.
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+# This selects the bfin newlib/libgloss syscall definitions.
+NL_TARGET = -DNL_TARGET_bfin
+
+## COMMON_PRE_CONFIG_FRAG
+
+# List of main object files for `run'.
+SIM_RUN_OBJS = nrun.o
+
+SIM_OBJS = \
+	$(SIM_NEW_COMMON_OBJS) \
+	bfin-sim.o \
+	devices.o \
+	gui.o \
+	interp.o \
+	machs.o \
+	sim-cpu.o \


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-03-05  7:15 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-03-05  7:15 UTC (permalink / raw)
  To: archer-commits

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

The branch, master has been updated
       via  a7a4525a6e65b4b75c879867600e5a639fb00cd3 (commit)
       via  76968cd942941b6020bffc90bb3f2318932c29a8 (commit)
       via  b37a4146f4df237f2231e091ef9d8111a4905518 (commit)
       via  c9b457b27759bcdb9fecd960957345d0d3c86064 (commit)
       via  a87a7f2c898ba901ffa25e6abd809f4397b60d1d (commit)
       via  ebd43e11859d3fee7f5b124798dc871c9a099825 (commit)
       via  12eaf82ccac1f4aa0d6c97c5d9b4773331153eb9 (commit)
       via  0cca6cb4318a8c65c6ab32dcb9f61ef6fbf71248 (commit)
       via  b6adc4bf9a851f22a3a848183d544233a1bb199a (commit)
       via  77c866e72368ad166cb9e9036346188741e274bd (commit)
       via  4434566b2eabcac263365d9a6cc8235f17301d2d (commit)
       via  13506d14f7186a874f6ac100dc89a98ade3ac0bb (commit)
       via  567449a00c676854c62ce5a729ba1437238c8357 (commit)
       via  f033fcb9b2e57511919fc0987fb3b7dd2662610e (commit)
       via  0fe72a953243d7f1b1f1c2d665936a7ffaad76d2 (commit)
       via  90e7e2bd6153028219b189bc2d9b8e862af8137e (commit)
       via  20348fce11f4efd2d177ac2c1e562deb8246bf37 (commit)
       via  daa59a3ec50fe82c2e8a51745c9e64f2e2424c29 (commit)
       via  df80e5624b8f6034af9686dedc52b576c4d8bd1f (commit)
       via  50ef7a70871caa838fe6fa4575fe931ced2e3cb2 (commit)
       via  efeda4c13365b964de92123df193723fa26e02c1 (commit)
       via  dbece6b30e561cf136d7505469315ba9489fbeab (commit)
       via  c2a77d08fbd7ad51be0c9c3bc8d3dee9ca9d62a5 (commit)
       via  55070178fae932e723555605f8bb07e530fb438e (commit)
       via  7b1eead1edd8cf6f2f0b6a063e1b208624c3f78c (commit)
       via  e216df5fdeb79ed3023629ec4ec113f2a376f67b (commit)
       via  ce67cacef161be2bfb564d30102895970c8fecbf (commit)
       via  d6cf8083cd1b9f34c4a4b0acb140a82e420c2858 (commit)
       via  7ae2da53bda15b472eac647d746de6809dde2750 (commit)
       via  b98f2737fc7aa43ea5a1e82805e488df2eb9c76f (commit)
       via  9fd44d9cc54a215430d02501df91cb26aeee0422 (commit)
       via  5dc548a3814fc4a197a52a1d5db98a2a13ad4304 (commit)
       via  236d899d77e6d8450f316d3e79b036870903ef86 (commit)
       via  35ae39fa95c12c2372e93001e1f17fb89cbef9dc (commit)
       via  ea9b5567eac6f8776ba55424b1cbac1cbec8b720 (commit)
       via  77704734b8d87e4aeaeb89740678ccf5789b6f66 (commit)
       via  7873ed2ce9db6a489626449d53fc45a10dadc0f6 (commit)
       via  d1703457aecbebcd9b3f93c99d7fc4600e55ee27 (commit)
       via  1711a09102f66a5af0f9694677034cecc2ea1694 (commit)
       via  232c22877d7bf70641ec15521bddb5ebcc7b6355 (commit)
       via  938e179b4dcd4169f1d382484b8d843447c045aa (commit)
       via  b3f7901d7fb661b8320af5fbdc60c9a25f451b22 (commit)
       via  8591831e402c0f1ff9b5ae3366b7cb3201d64762 (commit)
       via  904b297d1e06a0730bd85388658b72ef9641d91e (commit)
       via  7cf66615213dc3e66b97adbc783a84bdc494f329 (commit)
       via  027945ee45479b3a1df469981fe4c5d58bbb2ba0 (commit)
       via  56f50d1a90674128b17d952c5580ec2acce7f77b (commit)
       via  5c10c19b1ea641c512cf7c2ab7650f083b8c7501 (commit)
       via  40ceea553f50717898292ba68b9630978aa49147 (commit)
       via  d3290ce50f7f9ce0a391d88d1f2cbc992397e91c (commit)
       via  e2d44e19f97ffa06c7a7332ec2bcc860ef23e673 (commit)
       via  8712f6b3a7ed51bbbd99f0e820f566ac4528e7e6 (commit)
       via  2dba2ad3a38a563e8a7d28a4d1296dfab4955994 (commit)
       via  e4a866e5deacf2bf6cafcd462d41667e6fa032ca (commit)
       via  a3e4477602283c0e534ca49af0bf09b256a50bf0 (commit)
       via  8147ac0f74fb888fe6b66729c812c151307c7d5e (commit)
       via  27c6a7ace80352e27afa0fee7341809766a13d2e (commit)
       via  76fbea1ea7d8e78d12159d29415ffe1c1f70df62 (commit)
       via  896c70ff4495c636f6a8d5ec62532171fc995f35 (commit)
       via  9c4c7281a984ab95019192d462f864b123a2ad1c (commit)
       via  714ad9e033af3d06d35ef6ce937dabe55dfa968e (commit)
       via  0bfb840a31a370ce586953c254baaca97b9f46d9 (commit)
       via  b163c9501437a4f6632da009f33d8a2197918898 (commit)
       via  185d8b9ecf6ad00878a9e5bd147b88bd257da666 (commit)
       via  bc2fb752d086693dac4cf5ad0ec0ddb20fb0a173 (commit)
       via  083ad2b6bbab3514f395cddbabec2cd78a1d97da (commit)
       via  851ad17489934b63a1bd2f7e853362b9c452c60b (commit)
       via  b99e17372d6ff13344989ae6ca42018f3f841b69 (commit)
       via  599a69da541fa51f8aa370bb4b3c23fd57df3f9a (commit)
       via  ee92d7522f5402094ef0bd00adb12e1a48383e0a (commit)
       via  1620f3d8a92f0560deb3152d491f82e5020ac6ca (commit)
       via  9f251d2cc1260a969d74bb5af7c8da9ac88a7fc6 (commit)
       via  7fe4036ca49d8b56e20dca06b549fc172e988622 (commit)
       via  a48c58eda29c4f3883e31abef174d07fe438ffa6 (commit)
       via  75dd2c60feb420ddded746cf0a474116f71e3933 (commit)
       via  1f78c5a06d3028c9ec35d0b4694e5637f4dac492 (commit)
       via  8dd6af5bbf0050da8252ca047b1fb83e009f3aa7 (commit)
       via  2df9e44b5cbf60749dc200a3fd08c198602b84f0 (commit)
       via  0bf07cb790909a1eac146b28c7533aeeb389a64f (commit)
       via  a9fd35627defc77e0864835ebaa95785c0cb70b0 (commit)
       via  32ae5aedbc0a47689187febe7c5f40d660f91a59 (commit)
       via  7995dce02b043621f47a0c66f59736ec7680f5e7 (commit)
       via  afa6b8c846e6a3db1ca18c42a26d7ced07a10d7f (commit)
       via  6a0d06588da416c7f04a7ad1c2c54d0fa6274827 (commit)
       via  35986752ec17df5f88b1a123e8fe0047beb7ca31 (commit)
       via  eb68b71cf4c568b194f79acb2ab9fc0c1733b008 (commit)
       via  5e1f4fb9c743a46027bfa63c6fa3f92d0a087956 (commit)
       via  03819d4bd4ff37d538aa0a928d32570ddaad0d97 (commit)
       via  2a703092846f7572742e6bf7c8427e3aa9fe0bf7 (commit)
       via  e0677154001c5bba64fe988c4aca1c3bdc670949 (commit)
       via  736fab2e600de4c6b0956bc350bf9c6e52c4e549 (commit)
       via  e1805d140a1c3713beef932ae123a22fbe490feb (commit)
       via  e2e74595b709330baff98857221caafbea3bd4a8 (commit)
       via  1fa24e9d8a432c7b03ee53f21eec3397977dac5a (commit)
       via  33753101fec26b9e24032a1dc353c0cfe4fc2ed6 (commit)
       via  e81c6b73f804398744e85017b64808293d92bfca (commit)
       via  f9bbbacaf84c07c92a2a508c0d5a8874ab9f5264 (commit)
       via  04b9c732a99a2b716432a3016a8b52e81dba179a (commit)
       via  66328c61d23f35f5738ba1baa945e4cad9235828 (commit)
       via  a7920b13f9205c02b6439ad421d18c0349cac60b (commit)
       via  241480d8d37124c87d214ff03804422101d9e73e (commit)
       via  f53409968e3e2589da115cebb7beb6e51f69fe23 (commit)
       via  52c20dc91c671a38e2ab9162902d390108998f28 (commit)
       via  eb1a99a5e0ddc33ff30d899f9769e526ffe191e1 (commit)
       via  ea3a017f48b1df31039fc19db01d75ec18ce5ece (commit)
       via  1551b89a191ccb6be85ed229986aab13b0b2c29f (commit)
       via  9aa0d28f79691469c12aaf151b99911211317fac (commit)
       via  a8a0b9ac2053664cf98b67513644abafbedbd8ae (commit)
       via  b9b4fa36ec41efd5efea38d53173a52af9b9bb9a (commit)
       via  996fac49cd48aa95477dbff6af6628901820cc73 (commit)
       via  8669d7b6833e0fef879ceb8d609e7b4212ebb78c (commit)
       via  3087ad20ead8e985a76a47687e578f1d21cdb1d5 (commit)
       via  3ad6f2a23fb6bca83a15620b5be699ed31a1bab4 (commit)
       via  cc5fc8d50694b4777521c3e7a11a85273a3c5975 (commit)
       via  d9ff58d313f33045ae8b1f21c7bc0d96c97a1a22 (commit)
       via  3586cd62d53a78ecbb688fb56810775561d4a5a2 (commit)
       via  13f4062e5e1ee615ff47e374a838719d56a0cef6 (commit)
       via  6a15a69c81244da2c6f8fd5f4ffc7e87a184bfe5 (commit)
       via  d052d8d33df04414db151c7a56855753bdf05599 (commit)
       via  47d7480b3973a5a77fa506a90a3272bb0bc5fc5a (commit)
       via  d14717728494bff5a5a36a32a3f16220bb6a908e (commit)
       via  d6d4afc5c9848b575ed0f61793e38658a26079ce (commit)
       via  8163e682004e5283fb8960ebf25cd6920380bf81 (commit)
       via  136a659a10fc923b13f7777ef4f90efe477001bb (commit)
       via  bf15b55fc96fcb532198008ed6b7c418baf9551a (commit)
       via  f35e3245a84b118eed55accff8af8d0ccbc875d8 (commit)
       via  34f69fb21fdceec180c2d99de8497f98c0a3e265 (commit)
       via  67bcfd2d976bc3376ebd54a8fdee8b20a9327e4a (commit)
       via  619a112d11a2bedc255b476c68a0d84afdf90b1f (commit)
       via  fe18f823cbbd4fb90b5d2925210049f454e72f7c (commit)
       via  46025c82d31f8005411e7c76aeba604aa2cea79d (commit)
       via  36485ab775bc9a758b40b8e3e77e0690f79d49e0 (commit)
       via  925f5671e74998e94cd128e02179d48204b060dc (commit)
       via  5b39881a981dd133b652510eb58d9b1bbf246eab (commit)
       via  9bfdf5ff8abcbc5f783afab13370386b93efb870 (commit)
       via  8373e02d8e40d4891a9e72becc05025315a96353 (commit)
       via  96eade91d3a3f6078b077b1e7708ff21d2716e7c (commit)
       via  7c3bf4874f7876a006ab8960934a219535013776 (commit)
       via  79f30d2b834c4451e97d105b342dc6d666de7e3b (commit)
       via  eed62ddc2c7e01a344d7527ebd474cfaa6d96068 (commit)
       via  fa9d55580873e7ec9ceb6a2790d483aabb589564 (commit)
       via  9b8b1216a728746dbe6acc04a303b43e3d041a67 (commit)
       via  563f9f6b154c1835c701d8d3c62f39fa1a3c97ed (commit)
       via  8626115a2d9b6376c07a1612f2d3fe9b767154c0 (commit)
       via  a3646fa8681721a4ba45d63edddfe9c7c54c8da5 (commit)
       via  20a97700b7405ea6d02dcb8d177a32d0fbf0018f (commit)
       via  fcb8f7c2a37606c91ddc9d7d9e3d4aae5c013475 (commit)
       via  7de7ee7de60cb8acf6d169d9de07bbaa7e521b3b (commit)
       via  727b3aaa6c744f9a47c06ad1bb209a277d6eef8f (commit)
       via  7100bf93e68783adfd2acfb3ef08d790a184a1e5 (commit)
       via  50e29c8989697976181cce3f6553c989754c9558 (commit)
       via  18685360b67b7650126479b4d706d0d754ba55d7 (commit)
       via  c0b28a21dceb5456c7013edc02e241297c030376 (commit)
       via  6aadda0137bb63162fc19707fe498957396abdcb (commit)
       via  07cbcaf14a327d41054620c8585fe72d153bb963 (commit)
       via  e95a0a9bf0afe088816b1e49b66d952e9835c543 (commit)
       via  62daee5c00c23719d0a44763cdff443dca513724 (commit)
       via  909a65aeb53bbe576c8abfbdb8742a27f3b8667b (commit)
       via  d5fedb173c8c363032965b7cb775b63a26c428da (commit)
       via  cdeba9189bff3df4d9960272c6c1ba7bca8af10f (commit)
       via  cb10834ff424afe024318c1c52e815aed12a291f (commit)
       via  ab14e648ba43e1217e5d498d3bef6d74ce12a1fa (commit)
       via  fafaf13337f94d6ce6f7715e09f4962c5a82df8e (commit)
      from  1900c52efc5aaf6cfa6add566739e19f8ea751c0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit a7a4525a6e65b4b75c879867600e5a639fb00cd3
Merge: 1900c52 76968cd
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Mar 5 08:14:50 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit 76968cd942941b6020bffc90bb3f2318932c29a8
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Sat Mar 5 03:45:26 2011 +0000

    fix make clean doesn't run in gdbserver/common
    
            011-03-05  Yao Qi  <yao@codesourcery.com>
            * Makefile.in (CLEANDIRS, REQUIRED_SUBDIRS): New variable.
            (subdir_do): New make target.  Copied from gdb/Makefile.
            (maintainer-clean, realclean, distclean, clean): Call corresponding
            make targets in common/Makefile.

commit b37a4146f4df237f2231e091ef9d8111a4905518
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Mar 5 01:12:05 2011 +0000

    2011-03-04  Michael Snyder  <msnyder@vmware.com>
    
    	* linux-fork.c (inferior_call_waitptid): Fix copy/paste error.

commit c9b457b27759bcdb9fecd960957345d0d3c86064
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Mar 5 00:52:40 2011 +0000

    2011-03-04  Michael Snyder  <msnyder@vmware.com>
    
    	* symfile.c (simple_overlay_update): Check for null return value
    	from lookup_minimal_symbol.

commit a87a7f2c898ba901ffa25e6abd809f4397b60d1d
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Mar 5 00:21:08 2011 +0000

    2011-03-04  Michael Snyder  <msnyder@vmware.com>
    
    	* gdbserver/server.c (queue_stop_reply): Call xmalloc not malloc.

commit ebd43e11859d3fee7f5b124798dc871c9a099825
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Mar 5 00:00:33 2011 +0000

    *** empty log message ***

commit 12eaf82ccac1f4aa0d6c97c5d9b4773331153eb9
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Mar 4 23:00:17 2011 +0000

    daily update

commit 0cca6cb4318a8c65c6ab32dcb9f61ef6fbf71248
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Mar 4 21:55:42 2011 +0000

    2011-03-04  Michael Snyder  <msnyder@vmware.com>
    
    	* xml-syscall.c (syscall_start_syscall): Assert name is non null.

commit b6adc4bf9a851f22a3a848183d544233a1bb199a
Author: Thiago Jung Bauermann <bauerman@br.ibm.com>
Date:   Fri Mar 4 20:07:21 2011 +0000

    	* eval.c (parse_and_eval_address_1): Remove function.
    	* linespec.c (decode_indirect): Call parse_to_comma_and_eval
    	instead of parse_and_eval_address_1.
    	* value.h (parse_and_eval_address_1): Remove prototype.

commit 77c866e72368ad166cb9e9036346188741e274bd
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Mar 4 20:02:50 2011 +0000

    2011-03-04  Michael Snyder  <msnyder@vmware.com>
    
    	* remote.c (putpkt_binary): Document that case stmt falls through.

commit 4434566b2eabcac263365d9a6cc8235f17301d2d
Author: Thiago Jung Bauermann <bauerman@br.ibm.com>
Date:   Fri Mar 4 20:00:34 2011 +0000

    	* breakpointc (print_it_typical): Move NULL check from here...
    	(print_bp_stop_message): ... to here.

commit 13506d14f7186a874f6ac100dc89a98ade3ac0bb
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Mar 4 19:57:30 2011 +0000

    2011-03-04  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
    
    	* breakpoint.c (enable_command): Use break instead of continue,
    	and fill in a missing break.
    	(disable_command): Ditto.

commit 567449a00c676854c62ce5a729ba1437238c8357
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Fri Mar 4 19:23:42 2011 +0000

    	* inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate.
    	(terminal_save_ours): Remove misleading comment.
    	(inflow_inferior_data_cleanup): Free ttystate.
    	(inflow_inferior_exit): Likewise.
    	(copy_terminal_info): Copy ttystate.
    
    	* serial.c (serial_copy_tty_state): New function.
    	* serial.h (serial_copy_tty_state): Add prototype.
    	(struct serial_ops): Add copy_tty_state callback.
    	* ser-base.c (ser_base_copy_tty_state): New function.
    	* ser-base.h (ser_base_copy_tty_state): Add prototype.
    	* ser-go32.c (dos_copy_tty_state): New function.
    	(dos_ops): Install copy_tty_state callback.
    	* ser-mingw.c (_initialize_ser_windows): Likewise.
    	* ser-pipe.c (_initialize_ser_pipe): Likewise.
    	* ser-unix.c (hardwire_copy_tty_state): New function.
    	(_initialize_ser_hardwire): Install it.

commit f033fcb9b2e57511919fc0987fb3b7dd2662610e
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Mar 4 18:58:21 2011 +0000

    2011-03-04  Michael Snyder  <msnyder@vmware.com>
    
    	* breakpoint.c (create_breakpoint): Add missing break statement.

commit 0fe72a953243d7f1b1f1c2d665936a7ffaad76d2
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Mar 4 18:31:22 2011 +0000

    2011-03-04  Michael Snyder  <msnyder@vmware.com>
    
    	Reverting this patch:
    	* infcall.c (call_function_by_hand): Add break statements for lint.

commit 90e7e2bd6153028219b189bc2d9b8e862af8137e
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Mar 4 18:25:32 2011 +0000

    2011-03-04  Michael Snyder  <msnyder@vmware.com>
    
    	* cplus-dem.c (ada_demangle): Stop memory leak.
    	Also fix a one line indent problem.

commit 20348fce11f4efd2d177ac2c1e562deb8246bf37
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Mar 4 18:20:39 2011 +0000

    2011-03-04  Michael Snyder  <msnyder@vmware.com>
    
    	Reverting this patch:
    	* cli/cli-script.c (script_from_file): Add break for lint.

commit daa59a3ec50fe82c2e8a51745c9e64f2e2424c29
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Mar 4 18:12:47 2011 +0000

    2011-03-04  Michael Snyder  <msnyder@vmware.com>
    
    	* bind.c (rl_function_dumper): Free allocated memory.

commit df80e5624b8f6034af9686dedc52b576c4d8bd1f
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Mar 4 18:02:49 2011 +0000

    2011-03-04  Michael Snyder  <msnyder@vmware.com>
    
    	* solib.c (reload_shared_libraries_1): Close memory leak.

commit 50ef7a70871caa838fe6fa4575fe931ced2e3cb2
Author: qiyao <qiyao>
Date:   Fri Mar 4 06:31:54 2011 +0000

    2011-03-04  Yao Qi  <yao@codesourcery.com>
    
    	* Makefile.in: Remove GNU make feature --directory.

commit efeda4c13365b964de92123df193723fa26e02c1
Author: spop <spop>
Date:   Fri Mar 4 04:21:33 2011 +0000

    Adjust test of with_ppl.
    
    2011-03-03  Sebastian Pop  <sebastian.pop@amd.com>
    
            * configure.ac: Adjust test of with_ppl.
            * configure: Regenerated.

commit dbece6b30e561cf136d7505469315ba9489fbeab
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Mar 4 01:43:23 2011 +0000

    	* archive.c (bsd_write_armap): Don't call stat in deterministic
    	mode, and don't use st_mtime if stat returns error.

commit c2a77d08fbd7ad51be0c9c3bc8d3dee9ca9d62a5
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Mar 4 00:38:29 2011 +0000

    2011-03-03  Michael Snyder  <msnyder@vmware.com>
    
    	* elf64-x86-64.c (elf_x86_64_relocate_section): Remove dead code.

commit 55070178fae932e723555605f8bb07e530fb438e
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Mar 4 00:00:32 2011 +0000

    *** empty log message ***

commit 7b1eead1edd8cf6f2f0b6a063e1b208624c3f78c
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Mar 3 23:49:21 2011 +0000

    2011-03-03  Michael Snyder  <msnyder@vmware.com>
    
    	* coff-x86_64.c (coff_amd64_rtype_to_howto): Fencepost error.

commit e216df5fdeb79ed3023629ec4ec113f2a376f67b
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Mar 3 23:47:21 2011 +0000

    2011-03-03  Michael Snyder  <msnyder@vmware.com>
    
    	* aoutx.h (aout_final_link): Use sizeof int not sizeof int*.
    	(aout_link_write_other_symbol): Missing break statement.

commit ce67cacef161be2bfb564d30102895970c8fecbf
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Mar 3 23:43:07 2011 +0000

    2011-03-03  Michael Snyder  <msnyder@vmware.com>
    
    	* dwarf2.c (scan_unit_for_symbols): Stop memory leak.

commit d6cf8083cd1b9f34c4a4b0acb140a82e420c2858
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Mar 3 23:41:21 2011 +0000

    2011-03-03  Michael Snyder  <msnyder@vmware.com>
    
    	* archive.c (_bfd_slurp_extended_name_table): Fail if bfd_seek fails.

commit 7ae2da53bda15b472eac647d746de6809dde2750
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Mar 3 23:00:05 2011 +0000

    daily update

commit b98f2737fc7aa43ea5a1e82805e488df2eb9c76f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Mar 3 22:11:30 2011 +0000

    Supprt TLS x32 IE->LE transition.
    
    bfd/
    
    2011-03-03  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
    	x32 IE->LE transition.
    	(elf_x86_64_relocate_section): Likewise.
    
    ld/testsuite/
    
    2011-03-03  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* ld-x86-64/tlsie4.dd: New.
    	* ld-x86-64/tlsie4.s: Likewise.
    
    	* ld-x86-64/x86-64.exp (x86_64tests): Add tlsie4.

commit 9fd44d9cc54a215430d02501df91cb26aeee0422
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Mar 3 18:35:31 2011 +0000

    2011-03-03  Michael Snyder  <msnyder@vmware.com>
    
    	* remote-fileio.c (remote_fileio_func_fstat): Initialize all
    	fields of struct 'st' to zero.

commit 5dc548a3814fc4a197a52a1d5db98a2a13ad4304
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 3 17:33:38 2011 +0000

    	PR gdb/12538:
    	* dwarf2read.c (process_psymtab_comp_unit): Handle case where
    	DW_STRING is NULL.

commit 236d899d77e6d8450f316d3e79b036870903ef86
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Mar 3 17:28:43 2011 +0000

    2011-03-03  Michael Snyder  <msnyder@vmware.com>
    
    	* tui/tui-winsource.c (tui_update_source_window_as_is): Initialize
    	sal.pspace before calling set_current_source_symtab_and_line.

commit 35ae39fa95c12c2372e93001e1f17fb89cbef9dc
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Mar 3 16:57:54 2011 +0000

    	* gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
    	* gdb.hp/gdb.aCC/configure (Makefile): Remove.
    	* gdb.hp/gdb.aCC/configure.ac: Remove.
    	* gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
    	* gdb.hp/gdb.base-hp/configure (Makefile): Remove.
    	* gdb.hp/gdb.base-hp/configure.ac: Remove.
    	* gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
    	* gdb.hp/gdb.compat/configure (Makefile): Remove.
    	* gdb.hp/gdb.compat/configure.ac: Remove.
    	* gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
    	* gdb.hp/gdb.defects/configure (Makefile): Remove.
    	* gdb.hp/gdb.defects/configure.ac: Remove.
    	* gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
    	* gdb.hp/gdb.objdbg/configure (Makefile): Remove.
    	* gdb.hp/gdb.objdbg/configure.ac: Remove.
    	* gdb.hp/configure.ac: Remove.
    	* gdb.hp/configure: Remove.
    	* gdb.hp/Makefile.in (SUBDIRS): No longer a configure
    	substitution.
    	(Makefile): Remove rule.
    	* gdb.cell/configure.ac: Remove.
    	* gdb.cell/configure: Remove.
    	* gdb.stabs/Makefile.in (Makefile): Remove.
    	(distclean): Don't remove config.status or config.log.
    	* gdb.stabs/configure (Makefile): Remove.
    	* gdb.stabs/configure.ac: Remove.
    	* configure: Rebuild.
    	* configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
    	Remove stabs- and cell-specific logic.  Test for existence of
    	../gdbtk before configuring gdb.gdbtk.  Build Makefiles in gdb.hp
    	subdirectories, gdb.cell, and and gdb.stabs.
    	* Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.

commit ea9b5567eac6f8776ba55424b1cbac1cbec8b720
Author: qiyao <qiyao>
Date:   Thu Mar 3 04:16:32 2011 +0000

    2011-03-03  Yao Qi  <yao@codesourcery.com>
    
    	* Makefile.in (configure-common): Remove.  Let Makefile
    	in dir common to rebuild itself.
    	(common/Makefile): Likewise.

commit 77704734b8d87e4aeaeb89740678ccf5789b6f66
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Mar 3 03:55:31 2011 +0000

    py-inferior.exp: Avoid searching pattern beyond buffer
    
    gdb/testsuite/ChangeLog:
    
            * gdb.python/py-inferior.exp: Avoid searching pattern beyond
            end of buffer.

commit 7873ed2ce9db6a489626449d53fc45a10dadc0f6
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Mar 3 03:51:27 2011 +0000

    add i18n markup in error message (utils.c:parse_escape)
    
    gdb/ChangeLog:
    
           * utils.c (parse_escape): Add i18n markup in error message.

commit d1703457aecbebcd9b3f93c99d7fc4600e55ee27
Author: qiyao <qiyao>
Date:   Thu Mar 3 02:18:24 2011 +0000

    2011-03-03  Yao Qi  <yao@codesourcery.com>
    
    	* gdb/arm-tdep.c (shifted_reg_val): Replace magic number 15 with
    	ARM_PC_REGNUM.
    	(thumb_get_next_pc_raw, arm_get_next_pc_raw): Likewise.
    	(displaced_write_reg, displaced_read_reg): Likewise.
    	(copy_ldr_str_ldrb_strb, cleanup_block_load_all): Likewise.
    	(cleanup_block_load_pc, copy_block_xfer): Likewise.
    	(cleanup_branch): Replace magic number 14 and 15 with
    	ARM_LR_REGNUM and ARM_PC_REGNUM respectively.

commit 1711a09102f66a5af0f9694677034cecc2ea1694
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Mar 3 01:15:45 2011 +0000

    2011-03-02  Michael Snyder  <msnyder@vmware.com>
    
    	* maint.c (maintenance_do_deprecate): No need to check for NULL.

commit 232c22877d7bf70641ec15521bddb5ebcc7b6355
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Mar 3 00:13:59 2011 +0000

    2011-03-02  Michael Snyder  <msnyder@vmware.com>
    
    	* cli/cli-script.c (script_from_file): Add break for lint.

commit 938e179b4dcd4169f1d382484b8d843447c045aa
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Mar 3 00:00:03 2011 +0000

    *** empty log message ***

commit b3f7901d7fb661b8320af5fbdc60c9a25f451b22
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Mar 2 23:54:15 2011 +0000

    2011-03-02  Michael Snyder  <msnyder@vmware.com>
    
    	* mdebugread.c (parse_partial_symbols): Fix indent.

commit 8591831e402c0f1ff9b5ae3366b7cb3201d64762
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Mar 2 23:40:41 2011 +0000

    2011-03-02  Michael Snyder  <msnyder@vmware.com>
    
    	* gdbserver/linux-arm-low.c (arm_arch_setup): Replace malloc
    	with xmalloc.

commit 904b297d1e06a0730bd85388658b72ef9641d91e
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Mar 2 23:14:31 2011 +0000

    2011-03-02  Michael Snyder  <msnyder@vmware.com>
    
    	* target-descriptions.c (tdesc_gdb_type): No need to call
    	xstrdup, callee saves a copy.

commit 7cf66615213dc3e66b97adbc783a84bdc494f329
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Mar 2 23:00:07 2011 +0000

    daily update

commit 027945ee45479b3a1df469981fe4c5d58bbb2ba0
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Mar 2 22:56:44 2011 +0000

    2011-03-02  Michael Snyder  <msnyder@vmware.com>
    
    	* printcmd.c (print_scalar_formatted): Use strncpy for safety.

commit 56f50d1a90674128b17d952c5580ec2acce7f77b
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Mar 2 22:21:45 2011 +0000

    2011-03-02  Michael Snyder  <msnyder@vmware.com>
    
    	* infcall.c (call_function_by_hand): Add break statements for lint.

commit 5c10c19b1ea641c512cf7c2ab7650f083b8c7501
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Mar 2 22:11:26 2011 +0000

    2011-03-02  Michael Snyder  <msnyder@vmware.com>
    
    	* utils.c (parse_escape): Escape the escape char.

commit 40ceea553f50717898292ba68b9630978aa49147
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Mar 2 21:19:53 2011 +0000

    2011-03-02  Michael Snyder  <msnyder@vmware.com>
    
    	* python/py-inferior.c (build_inferior_list): Error out if
    	PyList_Append fails.
    	(gdbpy_inferiors): Error out if build_inferior_list fails.

commit d3290ce50f7f9ce0a391d88d1f2cbc992397e91c
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Mar 2 18:27:41 2011 +0000

    2011-03-02  Michael Snyder  <msnyder@vmware.com>
    
    	* linux-nat.c (linux_nat_xfer_partial): Preserve errno around
    	a function call.

commit e2d44e19f97ffa06c7a7332ec2bcc860ef23e673
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Mar 2 18:09:11 2011 +0000

    2011-03-02  Michael Snyder  <msnyder@vmware.com>
    
    	* record.c (record_restore): Move printf to before error return.

commit 8712f6b3a7ed51bbbd99f0e820f566ac4528e7e6
Author: Bernd Schmidt <bernd.schmidt@analog.com>
Date:   Wed Mar 2 17:07:02 2011 +0000

    	* elflink.c (is_reloc_section): Remove function.
    	(get_dynamic_reloc_section_name): Construct string manually.

commit 2dba2ad3a38a563e8a7d28a4d1296dfab4955994
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Mar 2 15:17:00 2011 +0000

    use gdb_test_no_output in gdb.python/py-inferior.exp
    
    gdb/testsuite/ChangeLog:
    
            * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
            gdb_test when running a test where we expected no output back.

commit e4a866e5deacf2bf6cafcd462d41667e6fa032ca
Author: qiyao <qiyao>
Date:   Wed Mar 2 05:33:35 2011 +0000

    2011-03-02  Yao Qi  <yao@codesourcery.com>
    
    	* arm-tdep.h (struct displaced_step_closure): Add two new fields
    	is_thumb and insn_size.
    	* arm-tdep.c (displaced_read_reg): Adjust correct pipeline offset
    	on both ARM and Thumb mode.
    	(arm_process_displaced_insn): Set is_thumb and insn_size.
    	(arm_displaced_init_closure): Handle both 16-bit and 32-bit.
    	(arm_displaced_step_fixup): Likewise.

commit a3e4477602283c0e534ca49af0bf09b256a50bf0
Author: spop <spop>
Date:   Wed Mar 2 03:49:37 2011 +0000

    Add -lpwl to ppllibs, and -lisl to clooglibs.
    
    2011-03-02  Sebastian Pop  <sebastian.pop@amd.com>
    
    	* configure.ac: Add -lpwl to ppllibs.
    	* config/cloog.m4: Add -lisl to clooglibs.
    	* configure: Regenerated.

commit 8147ac0f74fb888fe6b66729c812c151307c7d5e
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Mar 2 01:09:51 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* cli/cli-dump.c (dump_bfd_file): Check error return and warn.

commit 27c6a7ace80352e27afa0fee7341809766a13d2e
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Mar 2 00:42:53 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* jv-lang.c (evaluate_subexp_java): Conditional can't be true.

commit 76fbea1ea7d8e78d12159d29415ffe1c1f70df62
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Mar 2 00:37:28 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* dwarf2read.c (dwarf2_compute_name): NAME cannot be null here.

commit 896c70ff4495c636f6a8d5ec62532171fc995f35
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Mar 2 00:00:02 2011 +0000

    *** empty log message ***

commit 9c4c7281a984ab95019192d462f864b123a2ad1c
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 23:42:44 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* cli/cli-dump.c (restore_binary_file): Validate ftell return value.

commit 714ad9e033af3d06d35ef6ce937dabe55dfa968e
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 23:07:40 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* ada-lang.c (ada_make_symbol_completion_list): Replace malloc
    	with xmalloc.

commit 0bfb840a31a370ce586953c254baaca97b9f46d9
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Mar 1 23:00:06 2011 +0000

    daily update

commit b163c9501437a4f6632da009f33d8a2197918898
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 22:42:32 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* ada-lang.c (aggregate_assign_others): Rename inner scope variable
    	which shadows function parameter.

commit 185d8b9ecf6ad00878a9e5bd147b88bd257da666
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 22:24:30 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* tracepoint.c (create_tsv_from_upload): Superfluous call
    	to xstrdup.  Callee already calls xstrdup.

commit bc2fb752d086693dac4cf5ad0ec0ddb20fb0a173
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 22:16:40 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* linespec.c (decode_line_1): Remove unnecessary null check.

commit 083ad2b6bbab3514f395cddbabec2cd78a1d97da
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 22:13:47 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* tracepoint.c (scope_info): Fix mem leak, remove underused
    	variable.

commit 851ad17489934b63a1bd2f7e853362b9c452c60b
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 21:54:52 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
    
    	* python/py-prettyprint.c (apply_val_pretty_printer): Remove
    	superfluous null check.

commit b99e17372d6ff13344989ae6ca42018f3f841b69
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 21:51:33 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null.
    	(value_of_builtin_frame_fp_reg): Ditto.

commit 599a69da541fa51f8aa370bb4b3c23fd57df3f9a
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 21:46:41 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null.

commit ee92d7522f5402094ef0bd00adb12e1a48383e0a
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 21:12:26 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* event-top.c (display_gdb_prompt): Remove superfluous null check.

commit 1620f3d8a92f0560deb3152d491f82e5020ac6ca
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 21:03:22 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* python/py-prettyprint.c (apply_val_pretty_printer): VAL may
    	be null.

commit 9f251d2cc1260a969d74bb5af7c8da9ac88a7fc6
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 20:57:51 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* linespec.c (decode_line_1): Check for null before dereference.

commit 7fe4036ca49d8b56e20dca06b549fc172e988622
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 20:24:47 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* reverse.c (record_restore): Move null-check to before pointer
    	dereference.

commit a48c58eda29c4f3883e31abef174d07fe438ffa6
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 19:00:13 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* python/py-utils.c (gdbpy_obj_to_string): Delete unused variable.

commit 75dd2c60feb420ddded746cf0a474116f71e3933
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 18:51:05 2011 +0000

    2011-03-01  Michael Snyder  <msnyder@vmware.com>
    
    	* objc-lang.c (selectors_info): Add explanitory comment.
    	(classes_info): Ditto.

commit 1f78c5a06d3028c9ec35d0b4694e5637f4dac492
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Tue Mar 1 18:20:23 2011 +0000

    	* arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define.
    	(arm_linux_restart_syscall_init): Handle both on-stack and in-kernel
    	versions of the trampoline.  Handle Thumb vs. ARM addresses.
    	(arm_kernel_linux_restart_syscall_tramp_frame): New global.
    	(arm_linux_init_abi): Install it.
    	* arm-tdep.c (arm_psr_thumb_bit): Make global.
    	* arm-tdep.c (arm_psr_thumb_bit): Add prototype.

commit 8dd6af5bbf0050da8252ca047b1fb83e009f3aa7
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 02:31:26 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* ui-out.c (ui_out_field_core_addr): Make local char buffer
    	a little bigger, to avoid possibility of an overflow.

commit 2df9e44b5cbf60749dc200a3fd08c198602b84f0
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 02:16:55 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* breakpoint.c (breakpoint_adjustment_warning): Make local char
    	buffers a little bigger, to avoid possibility of an overflow.

commit 0bf07cb790909a1eac146b28c7533aeeb389a64f
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 01:58:32 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* coffread.c (coff_getfilename): Add check to avoid overflow.

commit a9fd35627defc77e0864835ebaa95785c0cb70b0
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 01:44:22 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* objc-lang.c (selectors_info): Add a small safety margin to
    	avoid overflow.
    	(classes_info): Error out on too long REGEXP.

commit 32ae5aedbc0a47689187febe7c5f40d660f91a59
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 01:00:31 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* infrun.c (handle_inferior_event): Remove unused function call.

commit 7995dce02b043621f47a0c66f59736ec7680f5e7
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 00:52:18 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* fork-child.c (fork_inferior): Remove ifdef'd code and
    	unused variable.

commit afa6b8c846e6a3db1ca18c42a26d7ced07a10d7f
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 00:46:08 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* linux-thread-db.c (attach_thread): Discard unused value.

commit 6a0d06588da416c7f04a7ad1c2c54d0fa6274827
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 00:40:22 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* linux-nat.c (linux_handle_extended_wait): Delete unused variable.

commit 35986752ec17df5f88b1a123e8fe0047beb7ca31
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 00:34:27 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* remote.c (remote_get_noisy_reply): Discard unused value.
    	(remote_vcont_resume): Ditto.
    	(remote_stop_ns): Ditto.

commit eb68b71cf4c568b194f79acb2ab9fc0c1733b008
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 00:26:14 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* linespec.c (decode_objc): Delete unused variable.

commit 5e1f4fb9c743a46027bfa63c6fa3f92d0a087956
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 00:11:03 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* tui/tui-regs.c (tui_register_format): Delete unused variable.

commit 03819d4bd4ff37d538aa0a928d32570ddaad0d97
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Mar 1 00:07:18 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* dwarf2read.c (add_partial_symbol): Discard unused values.
    	(read_base_type): Delete unused variable.

commit 2a703092846f7572742e6bf7c8427e3aa9fe0bf7
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Mar 1 00:00:02 2011 +0000

    *** empty log message ***

commit e0677154001c5bba64fe988c4aca1c3bdc670949
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 23:55:18 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* dbxread.c (read_dbx_symtab): Discard unused value.

commit 736fab2e600de4c6b0956bc350bf9c6e52c4e549
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 23:47:38 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* eval.c (evaluate_subexp_standard): Delete unused variable,
    	and discard unused values.

commit e1805d140a1c3713beef932ae123a22fbe490feb
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 23:37:07 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* infcmd.c (_initialize_infcmd): Discard unused values.

commit e2e74595b709330baff98857221caafbea3bd4a8
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 23:32:26 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* stabsread.c (rs6000_builtin_type): Missing break statement.

commit 1fa24e9d8a432c7b03ee53f21eec3397977dac5a
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 23:23:04 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* dbxread.c (process_one_symbol): Discard unused value.

commit 33753101fec26b9e24032a1dc353c0cfe4fc2ed6
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 23:17:06 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* coffread.c (coff_end_symtab): Delete unused variable.

commit e81c6b73f804398744e85017b64808293d92bfca
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 23:12:56 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* dwarf2read.c (dw2_get_file_names): Discard unused value.
    	(dwarf2_add_typedef): Delete unused variable.
    	(read_namespace): Ditto.
    	(dwarf_decode_macros): Ditto.

commit f9bbbacaf84c07c92a2a508c0d5a8874ab9f5264
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Feb 28 23:00:05 2011 +0000

    daily update

commit 04b9c732a99a2b716432a3016a8b52e81dba179a
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 22:55:05 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* m2-lang.c (evaluate_subexp_modula2): Discard unused variable.

commit 66328c61d23f35f5738ba1baa945e4cad9235828
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 22:49:57 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* opencl-lang.c (evaluate_subexp_opencl): Discard unused value.

commit a7920b13f9205c02b6439ad421d18c0349cac60b
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 22:45:15 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* p-valprint.c (pascal_val_print): Discard unused value.

commit 241480d8d37124c87d214ff03804422101d9e73e
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 22:20:04 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* utils.c (nquery): Call va_end before return;
    	(yquery): Ditto.
    	(query): Ditto.

commit f53409968e3e2589da115cebb7beb6e51f69fe23
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 22:10:58 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* proc-service.c (ps_plog): Call va_end before return.

commit 52c20dc91c671a38e2ab9162902d390108998f28
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 22:00:44 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* utils.c (decimal2str): Initialize 'width' to nine, then
    	don't mess with it.

commit eb1a99a5e0ddc33ff30d899f9769e526ffe191e1
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Feb 28 19:38:33 2011 +0000

    	* python/python.c (gdbpy_value_cst): New global.
    	(_initialize_python): Initialize it.
    	* python/python-internal.h (gdbpy_value_cst): Declare.
    	* python/py-value.c (convert_value_from_python): Use
    	gdbpy_value_cst.

commit ea3a017f48b1df31039fc19db01d75ec18ce5ece
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 19:00:51 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.cp/overload.cc: Change initializer value to integer.

commit 1551b89a191ccb6be85ed229986aab13b0b2c29f
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 18:55:22 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* python/py-cmd.c (cmdpy_init): Fix memory leak.

commit 9aa0d28f79691469c12aaf151b99911211317fac
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 18:48:18 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* breakpoint.c (catch_syscall_completer): Free malloced list.

commit a8a0b9ac2053664cf98b67513644abafbedbd8ae
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 18:43:25 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* jv-lang.c (java_primitive_type_from_name): Add missing break.

commit b9b4fa36ec41efd5efea38d53173a52af9b9bb9a
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 18:40:30 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* opencl-lang.c (lval_func_check_validity): Rename inner variables.
    	(lval_func_check_synthetic_pointer): Ditto.

commit 996fac49cd48aa95477dbff6af6628901820cc73
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 18:31:35 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* opencl-lang.c (lval_func_free_closure): Fix use-after-free.

commit 8669d7b6833e0fef879ceb8d609e7b4212ebb78c
Author: Kai Tietz <kai.tietz@onevision.com>
Date:   Mon Feb 28 18:30:14 2011 +0000

    ChangeLog libiberty/
    2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
    
    	* filename_cmp.c (filename_ncmp): New function.
    	* functions.texi: Regenerated.
    
    ChangeLog include/
    2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
    
    	* filenames.h (filename_ncmp): New prototype.
    
    ChangeLog bfd/
    2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
    
    	* archive.c (_bfd_find_nested_archive): Use filename_(n)cmp.
    	(adjust_relative_path): Likewise.
    	(_bfd_construct_extended_name_table): Likewise.
    	* corefile.c (generic_core_file_matches_executable_p): Likewise.
    	* elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
    	* elf32-frv.c (elf32_frv_relocate_section): Likewise.
    	* elf32-spu.c (sort_bfds): Likewise.
    	(spu_elf_auto_overlay): Likewise.
    	* syms.c (_bfd_stab_section_find_nearest_line): Likewise.
    	* xcofflink.c (xcoff_set_import_path): Likewise.
    	* xtensa-isa.c (xtensa_regfile_lookup): Likewise.
    	(xtensa_regfile_lookup_shortname): Likewise.

commit 3087ad20ead8e985a76a47687e578f1d21cdb1d5
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 18:28:19 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* python/py-param.c (set_parameter_value): Add missing
    	break statement.

commit 3ad6f2a23fb6bca83a15620b5be699ed31a1bab4
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Feb 28 18:16:58 2011 +0000

    	* psymtab.c (expand_partial_symbol_tables): Use
    	ALL_OBJFILE_PSYMTABS.

commit cc5fc8d50694b4777521c3e7a11a85273a3c5975
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Feb 28 18:14:33 2011 +0000

    gdb/
    	* objc-lang.c (selectors_info): Error on too long REGEXP.

commit d9ff58d313f33045ae8b1f21c7bc0d96c97a1a22
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 18:10:28 2011 +0000

    2011-02-28  Michael Snyder  <msnyder@vmware.com>
    
    	* linux-record.c (record_linux_system_call): Add missing
    	break statement.

commit 3586cd62d53a78ecbb688fb56810775561d4a5a2
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date:   Mon Feb 28 16:34:38 2011 +0000

    	opcodes/
    	* mips-opc.c (mips_builtin_opcodes): Correct register use
    	annotation of "alnv.ps".
    
    	gas/testsuite/
    	* gas/mips/alnv_ps-swap.d: New test for ALNV.PS instruction
    	branch swapping.
    	* gas/mips/alnv_ps-swap.s: Source for the new test.
    	* gas/mips/mips.exp: Run the new test.

commit 13f4062e5e1ee615ff47e374a838719d56a0cef6
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Mon Feb 28 16:20:14 2011 +0000

    	* breakpoint.c (print_one_breakpoint_location): Remove unused
    	argument PRINT_ADDRESS_BITS.  Update callers.
    	(print_one_breakpoint): Likewise.

commit 6a15a69c81244da2c6f8fd5f4ffc7e87a184bfe5
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date:   Mon Feb 28 16:06:51 2011 +0000

    	gas/
    	* config/tc-mips.c (macro): Handle M_PREF_AB.
    
    	include/opcode/
    	* mips.h (M_PREF_AB): New enum value.
    
    	opcodes/
    	* mips-opc.c (mips_builtin_opcodes): Add "pref" macro.

commit d052d8d33df04414db151c7a56855753bdf05599
Author: Maciej W. Rozycki <macro@linux-mips.org>
Date:   Mon Feb 28 16:03:38 2011 +0000

    Swap ChangeLog entries.

commit 47d7480b3973a5a77fa506a90a3272bb0bc5fc5a
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Mon Feb 28 15:55:07 2011 +0000

    	* hostio.c (require_data): Free *data, not data.

commit d14717728494bff5a5a36a32a3f16220bb6a908e
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Mon Feb 28 15:21:20 2011 +0000

    	* breakpoint.c (wrap_indent_at_field): New function.
    	(print_breakpoint_location): Use it instead of WRAP_INDENT argument.
    	Allocate ui_stream locally instead of using STB argument.
    	(print_one_breakpoint_location): Update call.
    	* ui-out.c (ui_out_query_field): New function.
    	* ui-out.h (ui_out_query_field): Add prototype.

commit d6d4afc5c9848b575ed0f61793e38658a26079ce
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Feb 28 09:28:21 2011 +0000

    gdb/doc/
    	* gdb.texinfo (Starting and Stopping Trace Experiments): Fix
    	circular-trace-buffer name.

commit 8163e682004e5283fb8960ebf25cd6920380bf81
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Feb 28 09:07:46 2011 +0000

    gdb/doc/
    	* gdb.texinfo (Tracepoint Conditions): Fix missing parenthesis.

commit 136a659a10fc923b13f7777ef4f90efe477001bb
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Feb 28 07:46:36 2011 +0000

    	PR 12513
    	* archive.c (bfd_slurp_bsd_armap_f2): Sanity check parsed_size and
    	stringsize.  Properly sanity check symdef_count.  Remove redundant
    	bfd_release.

commit bf15b55fc96fcb532198008ed6b7c418baf9551a
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Feb 28 04:33:24 2011 +0000

    add FALLTHROUGH comment in ada-exp.y:write_object_renaming
    
    gdb/ChangeLog:
    
     	From Michael Snyder  <msnyder@vmware.com>
     	* ada-exp.y (write_object_renaming): Add FALLTHROUGH comment.

commit f35e3245a84b118eed55accff8af8d0ccbc875d8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Feb 28 04:20:29 2011 +0000

    gdb/gdbserver/
    	* hostio.c (require_data): Use free, not xfree.

commit 34f69fb21fdceec180c2d99de8497f98c0a3e265
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Feb 28 04:08:51 2011 +0000

    fix small error in gdb.texinfo (Inferiors and Programs)
    
    I noticed this error because the nightly snapshot script failed...
    
    gdb/doc/ChangeLog:
    
    	* gdb.texinfo (Inferiors and Programs): Fix small error introduced
    	in the previous change.

commit 67bcfd2d976bc3376ebd54a8fdee8b20a9327e4a
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 02:14:46 2011 +0000

    2011-02-27  Michael Snyder  <msnyder@vmware.com>
    
    	* objc-lang.c (selectors_info): Prevent string overrun.

commit 619a112d11a2bedc255b476c68a0d84afdf90b1f
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 01:46:50 2011 +0000

    2011-02-27  Michael Snyder  <msnyder@vmware.com>
    
    	* server.c (handle_query): Discard unused value.

commit fe18f823cbbd4fb90b5d2925210049f454e72f7c
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 28 00:20:44 2011 +0000

    2011-02-27  Michael Snyder  <msnyder@vmware.com>
    
    	* tui/tui-stack.c (tui_get_function_from_frame): Fix off by one
    	error in strncpy.

commit 46025c82d31f8005411e7c76aeba604aa2cea79d
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Feb 28 00:00:03 2011 +0000

    *** empty log message ***

commit 36485ab775bc9a758b40b8e3e77e0690f79d49e0
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Feb 27 23:32:04 2011 +0000

    2011-02-27  Michael Snyder  <msnyder@vmware.com>
    
    	* hostio.c (require_data): Free malloc memory before returning
    	error.

commit 925f5671e74998e94cd128e02179d48204b060dc
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Feb 27 23:00:05 2011 +0000

    daily update

commit 5b39881a981dd133b652510eb58d9b1bbf246eab
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Feb 27 22:11:06 2011 +0000

    2011-02-27  Michael Snyder  <msnyder@vmware.com>
    
    	* symtab.c (rbreak_command): Move variable 'file_name' to
    	outer scope.

commit 9bfdf5ff8abcbc5f783afab13370386b93efb870
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Feb 27 21:41:25 2011 +0000

    2011-02-26  Michael Snyder  <msnyder@vmware.com>
    
    	* linux-low.c (list_threads): Call closedir for dirent.

commit 8373e02d8e40d4891a9e72becc05025315a96353
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Feb 27 21:33:10 2011 +0000

    2011-02-27  Michael Snyder  <msnyder@vmware.com>
    
    	* i386-low.c (i386-length_and_rw_bits): Comment the fact that
    	a case statement falls through.

commit 96eade91d3a3f6078b077b1e7708ff21d2716e7c
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Feb 27 21:24:26 2011 +0000

    2011-02-27  Michael Snyder  <msnyder@vmware.com>
    
    	* d-valprint.c (dynamic_array_type): Avoid shadowing a function
    	param with a local variable of the same name.

commit 7c3bf4874f7876a006ab8960934a219535013776
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Feb 27 21:20:06 2011 +0000

    2011-02-26  Michael Snyder  <msnyder@vmware.com>
    
    	* linux-low.c (linux_xfer_siginfo): Fix fencepost error.

commit 79f30d2b834c4451e97d105b342dc6d666de7e3b
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Feb 27 21:18:14 2011 +0000

    2011-02-26  Michael Snyder  <msnyder@vmware.com>
    
    	* linux-amd64-ipa.c (gdb_agent_get_raw_reg): Fix fencepost error
    	in comparison.

commit eed62ddc2c7e01a344d7527ebd474cfaa6d96068
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Feb 27 20:57:14 2011 +0000

    2011-02-24  Michael Snyder  <msnyder@vmware.com>
    
    	* value.c (value_from_history_ref): New function.
    	* value.h (value_from_history_ref): Export.
    	* cli/cli-utils.c (get_number_trailer): Use value_from_history_ref
    	to parse value history references.
    	* cli/cli-utils.h (get_number_trailer): Update comment.
    
    2011-02-24  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.base/break.exp: Add tests for delete breakpoints using
    	convenience variables and value history references.

commit fa9d55580873e7ec9ceb6a2790d483aabb589564
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Feb 27 20:49:24 2011 +0000

    2011-02-25  Michael Snyder  <msnyder@vmware.com>
    
    	* inferior.c (detach_inferior_command): Use get_number_or_range.
    	(kill_inferior_command): Ditto.
    	(remove_inferior_command): Ditto.
    	(initialize_inferiors): Make command names plural.
    	Update help strings.
    
    2011-02-25  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.texinfo (Inferiors and Programs): Update commands to show
    	that they can accept multiple arguments.
    
    2011-02-25  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.multi/base.exp: Add test for remove-inferiors.

commit 9b8b1216a728746dbe6acc04a303b43e3d041a67
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Feb 27 16:25:37 2011 +0000

    2011-02-27  Michael Snyder  <msnyder@vmware.com>
    
    	* darwin-nat-info.c: Fix comment typo.
    	* dwarf2expr.h: Ditto.
    	* fbsd-nat.c: Ditto.
    	* fbsd-nat.h: Ditto.
    	* frame-unwind.h: Ditto.
    	* frame.h: Ditto.
    	* hppa-hpux-tdep.c: Ditto.
    	* i386-linux-nat.c: Ditto.
    	* linux-nat.c: Ditto.
    	* nbsd-nat.c: Ditto.
    	* nbsd-nat.h: Ditto.
    	* ppc-linux-tdep.c: Ditto.
    	* serial.c: Ditto.
    	* ui-file.h: Ditto.
    	* tui/tui-winsource.c: Ditto.

commit 563f9f6b154c1835c701d8d3c62f39fa1a3c97ed
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Feb 27 01:54:30 2011 +0000

    2011-02-26  Michael Snyder  <msnyder@vmware.com>
    
    	* breakpoint.c (reattach_breakpoints): Avoid resource leak (ui_file).

commit 8626115a2d9b6376c07a1612f2d3fe9b767154c0
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Feb 27 00:59:04 2011 +0000

    2011-02-26  Michael Snyder  <msnyder@vmware.com>
    
    	* maint.c (maintenance_do_deprecate): Plug a memory leak.

commit a3646fa8681721a4ba45d63edddfe9c7c54c8da5
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Feb 27 00:01:12 2011 +0000

    2011-02-26  Michael Snyder  <msnyder@vmware.com>
    
    	* dwarf2loc.c (insert_bits): Avoid shadowing a function param
    	with a local variable of the same name.

commit 20a97700b7405ea6d02dcb8d177a32d0fbf0018f
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Feb 27 00:00:02 2011 +0000

    *** empty log message ***

commit fcb8f7c2a37606c91ddc9d7d9e3d4aae5c013475
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Feb 26 23:49:19 2011 +0000

    2011-02-26  Michael Snyder  <msnyder@vmware.com>
    
    	* i387-tdep.c (i387_supply_fxsave): Avoid shadowing a function
    	param with a local variable of the same name.

commit 7de7ee7de60cb8acf6d169d9de07bbaa7e521b3b
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Feb 26 23:45:01 2011 +0000

    2011-02-26  Michael Snyder  <msnyder@vmware.com>
    
    	* i387-tdep.c (i387_supply_xsave): Avoid shadowing a function
    	param with a local variable of the same name.

commit 727b3aaa6c744f9a47c06ad1bb209a277d6eef8f
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Feb 26 23:34:42 2011 +0000

    2011-02-26  Michael Snyder  <msnyder@vmware.com>
    
    	* linux-low.c (linux_nat_xfer_osdata): Rename local variable so
    	that it does not shadow a function parameter.

commit 7100bf93e68783adfd2acfb3ef08d790a184a1e5
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Feb 26 23:00:05 2011 +0000

    daily update

commit 50e29c8989697976181cce3f6553c989754c9558
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Feb 26 22:04:50 2011 +0000

    2011-02-26  Michael Snyder  <msnyder@vmware.com>
    
    	* i386-nat.c (i386_length_and_rw_bits): Document that case
    	statement is meant to fall through.

commit 18685360b67b7650126479b4d706d0d754ba55d7
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Feb 26 21:50:41 2011 +0000

    2011-02-26  Michael Snyder  <msnyder@vmware.com>
    
    	* expprint.c (dump_subexp_body_standard): Document that case
    	statement is meant to fall through.

commit c0b28a21dceb5456c7013edc02e241297c030376
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Feb 26 19:41:34 2011 +0000

    2011-02-26  Michael Snyder  <msnyder@vmware.com>
    
    	* amd64-linux-tdep.c (amd64_linux_syscall_record): Delete
    	dead if statement.  Condition can't be false.

commit 6aadda0137bb63162fc19707fe498957396abdcb
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Feb 26 18:53:43 2011 +0000

    2011-02-26  Michael Snyder  <msnyder@vmware.com>
    
    	* utils.c (decimal2str): Eliminate dead code and dead param.
    	(pulongest): Drop dead param from call to decimal2str.
    	(plongest): Ditto.

commit 07cbcaf14a327d41054620c8585fe72d153bb963
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Sat Feb 26 14:06:27 2011 +0000

    use prepare_for_testing in gdb.python/py-frame.exp
    
    gdb/testsuite/ChangeLog:
    
            * gdb.python/py-frame.exp: Simplify the initialization phase
            using prepare_for_testing.

commit e95a0a9bf0afe088816b1e49b66d952e9835c543
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Feb 26 02:07:06 2011 +0000

    2011-02-25  Michael Snyder  <msnyder@vmware.com>
    
    	* arm-tdep.c: Fix typos in comments.
    	* bsd-uthread.c: Ditto.
    	* completer.c: Ditto.
    	* corelow.c: Ditto.
    	* cp-namespace.c: Ditto.
    	* cp-support.c: Ditto.
    	* cris-tdep.c: Ditto.
    	* dbxread.c: Ditto.
    	* dwarf2read.c: Ditto.
    	* frame.h: Ditto.
    	* gdbtypes.h: Ditto.
    	* inferior.h: Ditto.
    	* mdebugread.c: Ditto.
    	* mips-tdep.c: Ditto.
    	* ppc-linux-nat.c: Ditto.
    	* ppc-linux-tdep.c: Ditto.
    	* printcmd.c: Ditto.
    	* sol-thread.c: Ditto.
    	* solib-frv.c: Ditto.
    	* solist.h: Ditto.
    	* sparc64-tdep.c: Ditto.
    	* spu-tdep.c: Ditto.
    	* stabsread.c: Ditto.
    	* symfile.c: Ditto.
    	* valops.c: Ditto.
    	* varobj.c: Ditto.
    	* vax-nat.c: Ditto.
    	* python/py-block.c: Ditto.
    	* python/py-symbol.c: Ditto.
    	* python/py-symtab.c: Ditto.
    	* python/py-value.c: Ditto.
    	* tui/tui-win.c: Ditto.

commit 62daee5c00c23719d0a44763cdff443dca513724
Author: espindola <espindola>
Date:   Sat Feb 26 00:03:08 2011 +0000

    2011-02-25  Rafael Ávila de Espíndola <respindola@mozilla.com>
    
    	* plugin.c (bfd_plugin_object_p): Correctly set the filesize
    	and handle claim_file seeking. Only try to load the plugin once.

commit 909a65aeb53bbe576c8abfbdb8742a27f3b8667b
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Feb 26 00:00:04 2011 +0000

    *** empty log message ***

commit d5fedb173c8c363032965b7cb775b63a26c428da
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Feb 25 23:00:06 2011 +0000

    daily update

commit cdeba9189bff3df4d9960272c6c1ba7bca8af10f
Author: Kevin Buettner <kevinb@redhat.com>
Date:   Fri Feb 25 22:28:57 2011 +0000

    	* callback.c (fdbad): Return EBADF rather than EINVAL for bad
    	file descriptors.

commit cb10834ff424afe024318c1c52e815aed12a291f
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Feb 25 19:19:24 2011 +0000

    2011-02-25  Michael Snyder  <msnyder@vmware.com>
    
    	* inferior.c (print_inferior): Accept a string instead of an int
    	for requested_inferiors, and use get_number_or_range to parse it.
    	(info_inferiors_command): Pass args string to print_inferior.
    	(initialize_inferiors): Change help string for info inferiors.
    	* inferior.h (print_inferior): Export prototype change.
    
    2011-02-25  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.multi/base.exp: Add tests for info inferiors with args.

commit ab14e648ba43e1217e5d498d3bef6d74ce12a1fa
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Feb 25 14:20:59 2011 +0000

    	* common/ax.def (invalid2): Set to 0x31.

commit fafaf13337f94d6ce6f7715e09f4962c5a82df8e
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Feb 25 12:33:53 2011 +0000

    fix pr number

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                     |   11 +
 bfd/ChangeLog                                 |   56 +
 bfd/aoutx.h                                   |    3 +-
 bfd/archive.c                                 |   75 +-
 bfd/coff-x86_64.c                             |    2 +-
 bfd/corefile.c                                |    2 +-
 bfd/dwarf2.c                                  |    2 +-
 bfd/elf32-bfin.c                              |    6 +-
 bfd/elf32-frv.c                               |    6 +-
 bfd/elf32-spu.c                               |    4 +-
 bfd/elf64-x86-64.c                            |   50 +-
 bfd/elflink.c                                 |   37 +-
 bfd/plugin.c                                  |   22 +-
 bfd/syms.c                                    |    4 +-
 bfd/version.h                                 |    2 +-
 bfd/xcofflink.c                               |    6 +-
 bfd/xtensa-isa.c                              |    4 +-
 config/cloog.m4                               |    2 +-
 configure                                     |  110 +-
 configure.ac                                  |   73 +-
 gdb/ChangeLog                                 |  436 ++++
 gdb/Makefile.in                               |   23 -
 gdb/ada-exp.y                                 |    1 +
 gdb/ada-lang.c                                |   10 +-
 gdb/amd64-linux-tdep.c                        |   37 +-
 gdb/arm-linux-tdep.c                          |   44 +-
 gdb/arm-tdep.c                                |  111 +-
 gdb/arm-tdep.h                                |   14 +
 gdb/breakpoint.c                              |  113 +-
 gdb/bsd-uthread.c                             |    2 +-
 gdb/cli/cli-dump.c                            |   10 +-
 gdb/cli/cli-utils.c                           |   52 +-
 gdb/cli/cli-utils.h                           |    4 +-
 gdb/coffread.c                                |   12 +-
 gdb/common/ax.def                             |    2 +-
 gdb/completer.c                               |    8 +-
 gdb/corelow.c                                 |    2 +-
 gdb/cp-namespace.c                            |    9 +-
 gdb/cp-support.c                              |    2 +-
 gdb/cris-tdep.c                               |    4 +-
 gdb/d-valprint.c                              |   10 +-
 gdb/darwin-nat-info.c                         |    2 +-
 gdb/dbxread.c                                 |    7 +-
 gdb/doc/ChangeLog                             |   17 +
 gdb/doc/gdb.texinfo                           |   48 +-
 gdb/dwarf2expr.h                              |    2 +-
 gdb/dwarf2loc.c                               |    8 +-
 gdb/dwarf2read.c                              |   84 +-
 gdb/eval.c                                    |   27 +-
 gdb/event-top.c                               |    4 +-
 gdb/expprint.c                                |    2 +
 gdb/fbsd-nat.c                                |    2 +-
 gdb/fbsd-nat.h                                |    2 +-
 gdb/fork-child.c                              |    7 +-
 gdb/frame-unwind.h                            |    2 +-
 gdb/frame.h                                   |    4 +-
 gdb/gdbserver/ChangeLog                       |   51 +
 gdb/gdbserver/Makefile.in                     |   23 +-
 gdb/gdbserver/hostio.c                        |    5 +-
 gdb/gdbserver/i386-low.c                      |    1 +
 gdb/gdbserver/linux-amd64-ipa.c               |    2 +-
 gdb/gdbserver/linux-arm-low.c                 |    2 +-
 gdb/gdbserver/linux-low.c                     |    3 +-
 gdb/gdbserver/server.c                        |    4 +-
 gdb/gdbserver/utils.c                         |   16 +-
 gdb/gdbtypes.h                                |    2 +-
 gdb/hppa-hpux-tdep.c                          |    2 +-
 gdb/i386-linux-nat.c                          |    2 +-
 gdb/i386-nat.c                                |    1 +
 gdb/i387-tdep.c                               |   10 +-
 gdb/infcmd.c                                  |    6 +-
 gdb/inferior.c                                |  137 +-
 gdb/inferior.h                                |    8 +-
 gdb/inflow.c                                  |   18 +-
 gdb/infrun.c                                  |    1 -
 gdb/jv-lang.c                                 |    3 +-
 gdb/linespec.c                                |   14 +-
 gdb/linux-fork.c                              |    2 +-
 gdb/linux-nat.c                               |   23 +-
 gdb/linux-record.c                            |    2 +
 gdb/linux-thread-db.c                         |    2 +-
 gdb/m2-lang.c                                 |    2 +-
 gdb/maint.c                                   |    1 +
 gdb/mdebugread.c                              |    4 +-
 gdb/mips-tdep.c                               |   20 +-
 gdb/nbsd-nat.c                                |    2 +-
 gdb/nbsd-nat.h                                |    2 +-
 gdb/objc-lang.c                               |    6 +
 gdb/opencl-lang.c                             |   20 +-
 gdb/p-valprint.c                              |    2 +-
 gdb/ppc-linux-nat.c                           |    4 +-
 gdb/ppc-linux-tdep.c                          |    4 +-
 gdb/printcmd.c                                |    6 +-
 gdb/proc-service.c                            |    1 +
 gdb/psymtab.c                                 |    4 +-
 gdb/python/py-block.c                         |    2 +-
 gdb/python/py-cmd.c                           |    3 +
 gdb/python/py-inferior.c                      |   10 +-
 gdb/python/py-param.c                         |    3 +-
 gdb/python/py-prettyprint.c                   |   18 +-
 gdb/python/py-symbol.c                        |    2 +-
 gdb/python/py-symtab.c                        |   14 +-
 gdb/python/py-utils.c                         |    1 -
 gdb/python/py-value.c                         |    5 +-
 gdb/python/python-internal.h                  |    1 +
 gdb/python/python.c                           |    2 +
 gdb/record.c                                  |    2 +-
 gdb/remote-fileio.c                           |    7 +-
 gdb/remote.c                                  |   11 +-
 gdb/ser-base.c                                |    7 +
 gdb/ser-base.h                                |    2 +
 gdb/ser-go32.c                                |   12 +
 gdb/ser-mingw.c                               |    4 +
 gdb/ser-pipe.c                                |    1 +
 gdb/ser-tcp.c                                 |    1 +
 gdb/ser-unix.c                                |   12 +
 gdb/serial.c                                  |    8 +-
 gdb/serial.h                                  |    7 +
 gdb/sol-thread.c                              |    2 +-
 gdb/solib-frv.c                               |    2 +-
 gdb/solib.c                                   |    1 +
 gdb/solist.h                                  |    4 +-
 gdb/sparc64-tdep.c                            |    2 +-
 gdb/spu-tdep.c                                |    2 +-
 gdb/stabsread.c                               |    3 +-
 gdb/std-regs.c                                |   14 +-
 gdb/symfile.c                                 |   30 +-
 gdb/symtab.c                                  |    3 +-
 gdb/target-descriptions.c                     |    2 +-
 gdb/testsuite/ChangeLog                       |   67 +
 gdb/testsuite/Makefile.in                     |    5 +-
 gdb/testsuite/configure                       |   87 +-
 gdb/testsuite/configure.ac                    |   59 +-
 gdb/testsuite/gdb.base/break.exp              |  123 +
 gdb/testsuite/gdb.cell/configure              | 2922 -----------------------
 gdb/testsuite/gdb.cell/configure.ac           |   15 -
 gdb/testsuite/gdb.cp/overload.cc              |    2 +-
 gdb/testsuite/gdb.hp/Makefile.in              |    5 +-
 gdb/testsuite/gdb.hp/configure                | 3074 -------------------------
 gdb/testsuite/gdb.hp/configure.ac             |   17 -
 gdb/testsuite/gdb.hp/gdb.aCC/Makefile.in      |    3 -
 gdb/testsuite/gdb.hp/gdb.aCC/configure        | 2922 -----------------------
 gdb/testsuite/gdb.hp/gdb.aCC/configure.ac     |   15 -
 gdb/testsuite/gdb.hp/gdb.base-hp/Makefile.in  |    3 -
 gdb/testsuite/gdb.hp/gdb.base-hp/configure    | 2922 -----------------------
 gdb/testsuite/gdb.hp/gdb.base-hp/configure.ac |   15 -
 gdb/testsuite/gdb.hp/gdb.compat/Makefile.in   |    3 -
 gdb/testsuite/gdb.hp/gdb.compat/configure     | 2922 -----------------------
 gdb/testsuite/gdb.hp/gdb.compat/configure.ac  |   15 -
 gdb/testsuite/gdb.hp/gdb.defects/Makefile.in  |    3 -
 gdb/testsuite/gdb.hp/gdb.defects/configure    | 2922 -----------------------
 gdb/testsuite/gdb.hp/gdb.defects/configure.ac |   15 -
 gdb/testsuite/gdb.hp/gdb.objdbg/Makefile.in   |    3 -
 gdb/testsuite/gdb.hp/gdb.objdbg/configure     | 3073 ------------------------
 gdb/testsuite/gdb.hp/gdb.objdbg/configure.ac  |   16 -
 gdb/testsuite/gdb.multi/base.exp              |   85 +
 gdb/testsuite/gdb.python/py-frame.exp         |   11 +-
 gdb/testsuite/gdb.python/py-inferior.exp      |   80 +-
 gdb/testsuite/gdb.stabs/Makefile.in           |    5 +-
 gdb/testsuite/gdb.stabs/configure             | 2922 -----------------------
 gdb/testsuite/gdb.stabs/configure.ac          |   15 -
 gdb/tracepoint.c                              |    6 +-
 gdb/tui/tui-regs.c                            |    1 -
 gdb/tui/tui-stack.c                           |    2 +-
 gdb/tui/tui-win.c                             |    4 +-
 gdb/tui/tui-winsource.c                       |    6 +-
 gdb/ui-file.h                                 |    2 +-
 gdb/ui-out.c                                  |   26 +-
 gdb/ui-out.h                                  |    3 +
 gdb/utils.c                                   |   19 +-
 gdb/valops.c                                  |   14 +-
 gdb/value.c                                   |   55 +-
 gdb/value.h                                   |    3 +-
 gdb/varobj.c                                  |    2 +-
 gdb/vax-nat.c                                 |    2 +-
 gdb/version.in                                |    2 +-
 gdb/xml-syscall.c                             |    1 +
 include/ChangeLog                             |    4 +
 include/elf/ChangeLog                         |    2 +-
 include/filenames.h                           |    3 +
 include/opcode/ChangeLog                      |    9 +-
 include/opcode/mips.h                         |    1 +
 libiberty/ChangeLog                           |   10 +
 libiberty/cplus-dem.c                         |    5 +-
 libiberty/filename_cmp.c                      |   49 +
 libiberty/functions.texi                      |   18 +
 opcodes/ChangeLog                             |   14 +-
 opcodes/mips-opc.c                            |    3 +-
 readline/ChangeLog.gdb                        |    4 +
 readline/bind.c                               |    1 +
 sim/common/ChangeLog                          |    5 +
 sim/common/callback.c                         |    2 +-
 192 files changed, 2125 insertions(+), 24718 deletions(-)
 delete mode 100644 gdb/testsuite/gdb.cell/configure
 delete mode 100644 gdb/testsuite/gdb.cell/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/configure
 delete mode 100644 gdb/testsuite/gdb.hp/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.aCC/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.aCC/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.base-hp/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.base-hp/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.compat/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.compat/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.defects/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.defects/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.objdbg/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.objdbg/configure.ac
 delete mode 100755 gdb/testsuite/gdb.stabs/configure
 delete mode 100644 gdb/testsuite/gdb.stabs/configure.ac

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 9f4591d..1f7648c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2011-03-03  Sebastian Pop  <sebastian.pop@amd.com>
+
+        * configure.ac: Adjust test of with_ppl.
+        * configure: Regenerated.
+
+2011-03-02  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* configure.ac: Add -lpwl to ppllibs.
+	* config/cloog.m4: Add -lisl to clooglibs.
+	* configure: Regenerated.
+
 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Import from Libtool and gnulib:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a8907a0..95166a3 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,59 @@
+2011-03-04  Alan Modra  <amodra@gmail.com>
+
+	* archive.c (bsd_write_armap): Don't call stat in deterministic
+	mode, and don't use st_mtime if stat returns error.
+
+2011-03-03  Michael Snyder  <msnyder@vmware.com>
+
+	* elf64-x86-64.c (elf_x86_64_relocate_section): Remove dead code.
+
+	* coff-x86_64.c (coff_amd64_rtype_to_howto): Fencepost error.
+
+	* aoutx.h (aout_final_link): Use sizeof int not sizeof int*.
+	(aout_link_write_other_symbol): Missing break statement.
+
+	* dwarf2.c (scan_unit_for_symbols): Stop memory leak.
+
+	* archive.c (_bfd_slurp_extended_name_table): Fail if bfd_seek fails.
+
+2011-03-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
+	x32 IE->LE transition.
+	(elf_x86_64_relocate_section): Likewise.
+
+2011-03-02  Bernd Schmidt  <bernds@codesourcery.com>
+
+        * elflink.c (is_reloc_section): Remove function.
+        (get_dynamic_reloc_section_name): Construct string manually.
+
+2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
+
+	* archive.c (_bfd_find_nested_archive): Use filename_(n)cmp.
+	(adjust_relative_path): Likewise.
+	(_bfd_construct_extended_name_table): Likewise.
+	* corefile.c (generic_core_file_matches_executable_p): Likewise.
+	* elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
+	* elf32-frv.c (elf32_frv_relocate_section): Likewise.
+	* elf32-spu.c (sort_bfds): Likewise.
+	(spu_elf_auto_overlay): Likewise.
+	* syms.c (_bfd_stab_section_find_nearest_line): Likewise.
+	* xcofflink.c (xcoff_set_import_path): Likewise.
+	* xtensa-isa.c (xtensa_regfile_lookup): Likewise.
+	(xtensa_regfile_lookup_shortname): Likewise.
+
+2011-02-28  Alan Modra  <amodra@gmail.com>
+
+	PR 12513
+	* archive.c (bfd_slurp_bsd_armap_f2): Sanity check parsed_size and
+	stringsize.  Properly sanity check symdef_count.  Remove redundant
+	bfd_release.
+
+2011-02-25  Rafael Ávila de Espíndola <respindola@mozilla.com>
+
+	* plugin.c (bfd_plugin_object_p): Correctly set the filesize
+	and handle claim_file seeking. Only try to load the plugin once.
+
 2011-02-22  Andreas Schwab  <schwab@redhat.com>
 
 	* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): For a TLS_GD
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index 7ca221e..ec0bdf0 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -3637,6 +3637,7 @@ aout_link_write_other_symbol (struct aout_link_hash_entry *h, void * data)
     case bfd_link_hash_undefweak:
       type = N_WEAKU;
       val = 0;
+      break;
     case bfd_link_hash_indirect:
       /* We ignore these symbols, since the indirected symbol is
 	 already in the hash table.  */
@@ -5448,7 +5449,7 @@ NAME (aout, final_link) (bfd *abfd,
   /* Allocate buffers to hold section contents and relocs.  */
   aout_info.contents = (bfd_byte *) bfd_malloc (max_contents_size);
   aout_info.relocs = bfd_malloc (max_relocs_size);
-  aout_info.symbol_map = (int *) bfd_malloc (max_sym_count * sizeof (int *));
+  aout_info.symbol_map = (int *) bfd_malloc (max_sym_count * sizeof (int));
   aout_info.output_syms = (struct external_nlist *)
       bfd_malloc ((max_sym_count + 1) * sizeof (struct external_nlist));
   if ((aout_info.contents == NULL && max_contents_size != 0)
diff --git a/bfd/archive.c b/bfd/archive.c
index 258c8d9..86d07e9 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -1,6 +1,6 @@
 /* BFD back-end for archive files (libraries).
    Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
    Free Software Foundation, Inc.
    Written by Cygnus Support.  Mostly Gumby Henkel-Wallace's fault.
 
@@ -348,7 +348,7 @@ _bfd_find_nested_archive (bfd *arch_bfd, const char *filename)
        abfd != NULL;
        abfd = abfd->archive_next)
     {
-      if (strcmp (filename, abfd->filename) == 0)
+      if (filename_cmp (filename, abfd->filename) == 0)
         return abfd;
     }
   abfd = bfd_openr (filename, NULL);
@@ -1109,6 +1109,7 @@ bfd_slurp_bsd_armap_f2 (bfd *abfd)
   struct artdata *ardata = bfd_ardata (abfd);
   char *stringbase;
   unsigned int stringsize;
+  unsigned int left;
   bfd_size_type amt;
   carsym *set;
   int i = bfd_bread (nextname, 16, abfd);
@@ -1136,43 +1137,46 @@ bfd_slurp_bsd_armap_f2 (bfd *abfd)
   if (mapdata == NULL)
     return FALSE;
 
-  amt = mapdata->parsed_size;
-  raw_armap = (bfd_byte *) bfd_zalloc (abfd, amt);
-  if (raw_armap == NULL)
+  if (mapdata->parsed_size < HPUX_SYMDEF_COUNT_SIZE + BSD_STRING_COUNT_SIZE)
     {
+    wrong_format:
+      bfd_set_error (bfd_error_wrong_format);
     byebye:
       bfd_release (abfd, mapdata);
       return FALSE;
     }
+  left = mapdata->parsed_size - HPUX_SYMDEF_COUNT_SIZE - BSD_STRING_COUNT_SIZE;
+
+  amt = mapdata->parsed_size;
+  raw_armap = (bfd_byte *) bfd_zalloc (abfd, amt);
+  if (raw_armap == NULL)
+    goto byebye;
 
   if (bfd_bread (raw_armap, amt, abfd) != amt)
     {
       if (bfd_get_error () != bfd_error_system_call)
 	bfd_set_error (bfd_error_malformed_archive);
-    byebyebye:
-      bfd_release (abfd, raw_armap);
       goto byebye;
     }
 
   ardata->symdef_count = H_GET_16 (abfd, raw_armap);
 
-  if (ardata->symdef_count * BSD_SYMDEF_SIZE
-      > mapdata->parsed_size - HPUX_SYMDEF_COUNT_SIZE)
-    {
-      /* Probably we're using the wrong byte ordering.  */
-      bfd_set_error (bfd_error_wrong_format);
-      goto byebyebye;
-    }
-
   ardata->cache = 0;
 
   stringsize = H_GET_32 (abfd, raw_armap + HPUX_SYMDEF_COUNT_SIZE);
+  if (stringsize > left)
+    goto wrong_format;
+  left -= stringsize;
+
   /* Skip sym count and string sz.  */
   stringbase = ((char *) raw_armap
 		+ HPUX_SYMDEF_COUNT_SIZE
 		+ BSD_STRING_COUNT_SIZE);
   rbase = (bfd_byte *) stringbase + stringsize;
   amt = ardata->symdef_count * BSD_SYMDEF_SIZE;
+  if (amt > left)
+    goto wrong_format;
+
   ardata->symdefs = (struct carsym *) bfd_alloc (abfd, amt);
   if (!ardata->symdefs)
     return FALSE;
@@ -1216,7 +1220,9 @@ _bfd_slurp_extended_name_table (bfd *abfd)
 
   /* FIXME:  Formatting sucks here, and in case of failure of BFD_READ,
      we probably don't want to return TRUE.  */
-  bfd_seek (abfd, bfd_ardata (abfd)->first_file_filepos, SEEK_SET);
+  if (bfd_seek (abfd, bfd_ardata (abfd)->first_file_filepos, SEEK_SET) != 0)
+    return FALSE;
+
   if (bfd_bread (nextname, 16, abfd) == 16)
     {
       if (bfd_seek (abfd, (file_ptr) -16, SEEK_CUR) != 0)
@@ -1355,7 +1361,7 @@ adjust_relative_path (const char * path, const char * ref_path)
       while (*e2 && ! IS_DIR_SEPARATOR (*e2))
 	++e2;
       if (*e1 == '\0' || *e2 == '\0' || e1 - pathp != e2 - refp
-	  || strncmp (pathp, refp, e1 - pathp) != 0)
+	  || filename_ncmp (pathp, refp, e1 - pathp) != 0)
 	break;
       pathp = e1 + 1;
       refp = e2 + 1;
@@ -1460,7 +1466,7 @@ _bfd_construct_extended_name_table (bfd *abfd,
           /* If the path is the same as the previous path seen,
              reuse it.  This can happen when flattening a thin
              archive that contains other archives.  */
-          if (last_filename && strcmp (last_filename, filename) == 0)
+          if (last_filename && filename_cmp (last_filename, filename) == 0)
             continue;
 
           last_filename = filename;
@@ -1506,7 +1512,7 @@ _bfd_construct_extended_name_table (bfd *abfd,
       else
 	{
 	  struct ar_hdr *hdr = arch_hdr (current);
-	  if (strncmp (normal, hdr->ar_name, thislen) != 0
+	  if (filename_ncmp (normal, hdr->ar_name, thislen) != 0
 	      || (thislen < sizeof hdr->ar_name
 		  && hdr->ar_name[thislen] != ar_padchar (current)))
 	    {
@@ -1554,7 +1560,7 @@ _bfd_construct_extended_name_table (bfd *abfd,
              archive that contains other archives.
              If the path is relative, adjust it relative to
              the containing archive.  */
-          if (last_filename && strcmp (last_filename, filename) == 0)
+          if (last_filename && filename_cmp (last_filename, filename) == 0)
             normal = last_filename;
           else if (! IS_ABSOLUTE_PATH (filename)
                    && ! IS_ABSOLUTE_PATH (abfd->filename))
@@ -2295,31 +2301,28 @@ bsd_write_armap (bfd *arch,
   bfd_byte temp[4];
   unsigned int count;
   struct ar_hdr hdr;
-  struct stat statbuf;
   long uid, gid;
 
   firstreal = mapsize + elength + sizeof (struct ar_hdr) + SARMAG;
 
-  stat (arch->filename, &statbuf);
+  /* If deterministic, we use 0 as the timestamp in the map.
+     Some linkers may require that the archive filesystem modification
+     time is less than (or near to) the archive map timestamp.  Those
+     linkers should not be used with deterministic mode.  (GNU ld and
+     Gold do not have this restriction.)  */
+  bfd_ardata (arch)->armap_timestamp = 0;
+  uid = 0;
+  gid = 0;
   if ((arch->flags & BFD_DETERMINISTIC_OUTPUT) == 0)
     {
-      /* Remember the timestamp, to keep it holy.  But fudge it a little.  */
-      bfd_ardata (arch)->armap_timestamp = (statbuf.st_mtime
-                                            + ARMAP_TIME_OFFSET);
+      struct stat statbuf;
+
+      if (stat (arch->filename, &statbuf) == 0)
+	bfd_ardata (arch)->armap_timestamp = (statbuf.st_mtime
+					      + ARMAP_TIME_OFFSET);
       uid = getuid();
       gid = getgid();
     }
-  else
-    {
-      /* If deterministic, we use 0 as the timestamp in the map.
-         Some linkers may require that the archive filesystem modification
-         time is less than (or near to) the archive map timestamp.  Those
-         linkers should not be used with deterministic mode.  (GNU ld and
-         Gold do not have this restriction.)  */
-      bfd_ardata (arch)->armap_timestamp = 0;
-      uid = 0;
-      gid = 0;
-    }
 
   memset (&hdr, ' ', sizeof (struct ar_hdr));
   memcpy (hdr.ar_name, RANLIBMAG, strlen (RANLIBMAG));
diff --git a/bfd/coff-x86_64.c b/bfd/coff-x86_64.c
index 8083d97..c739d69 100644
--- a/bfd/coff-x86_64.c
+++ b/bfd/coff-x86_64.c
@@ -546,7 +546,7 @@ coff_amd64_rtype_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
 {
   reloc_howto_type *howto;
 
-  if (rel->r_type > ARRAY_SIZE (howto_table))
+  if (rel->r_type >= ARRAY_SIZE (howto_table))
     {
       bfd_set_error (bfd_error_bad_value);
       return NULL;
diff --git a/bfd/corefile.c b/bfd/corefile.c
index 605be8d..bba0d1c 100644
--- a/bfd/corefile.c
+++ b/bfd/corefile.c
@@ -186,6 +186,6 @@ generic_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd)
   if (last_slash != NULL)
     exec = last_slash + 1;
   
-  return strcmp (exec, core) == 0;
+  return filename_cmp (exec, core) == 0;
 }
 
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index e5d0103..3826856 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -2148,7 +2148,7 @@ scan_unit_for_symbols (struct comp_unit *unit)
 	{
 	  info_ptr = read_attribute (&attr, &abbrev->attrs[i], unit, info_ptr);
 	  if (info_ptr == NULL)
-	    return FALSE;
+	    goto fail;
 
 	  if (func)
 	    {
diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c
index 8aba7ed..40c2c04 100644
--- a/bfd/elf32-bfin.c
+++ b/bfd/elf32-bfin.c
@@ -3103,10 +3103,10 @@ bfinfdpic_relocate_section (bfd * output_bfd,
 	  if (silence_segment_error == 1)
 	    silence_segment_error =
 	      (strlen (input_bfd->filename) == 6
-	       && strcmp (input_bfd->filename, "crt0.o") == 0)
+	       && filename_cmp (input_bfd->filename, "crt0.o") == 0)
 	      || (strlen (input_bfd->filename) > 6
-		  && strcmp (input_bfd->filename
-			     + strlen (input_bfd->filename) - 7,
+		  && filename_cmp (input_bfd->filename
+				   + strlen (input_bfd->filename) - 7,
 			     "/crt0.o") == 0)
 	      ? -1 : 0;
 #endif
diff --git a/bfd/elf32-frv.c b/bfd/elf32-frv.c
index bce0540..8cd26f1 100644
--- a/bfd/elf32-frv.c
+++ b/bfd/elf32-frv.c
@@ -3957,10 +3957,10 @@ elf32_frv_relocate_section (output_bfd, info, input_bfd, input_section,
 	  if (silence_segment_error == 1)
 	    silence_segment_error =
 	      (strlen (input_bfd->filename) == 6
-	       && strcmp (input_bfd->filename, "crt0.o") == 0)
+	       && filename_cmp (input_bfd->filename, "crt0.o") == 0)
 	      || (strlen (input_bfd->filename) > 6
-		  && strcmp (input_bfd->filename
-			     + strlen (input_bfd->filename) - 7,
+		  && filename_cmp (input_bfd->filename
+				   + strlen (input_bfd->filename) - 7,
 			     "/crt0.o") == 0)
 	      ? -1 : 0;
 	  if (!silence_segment_error
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c
index bcee155..ae3ed10 100644
--- a/bfd/elf32-spu.c
+++ b/bfd/elf32-spu.c
@@ -4067,7 +4067,7 @@ sort_bfds (const void *a, const void *b)
   bfd *const *abfd1 = a;
   bfd *const *abfd2 = b;
 
-  return strcmp ((*abfd1)->filename, (*abfd2)->filename);
+  return filename_cmp ((*abfd1)->filename, (*abfd2)->filename);
 }
 
 static unsigned int
@@ -4299,7 +4299,7 @@ spu_elf_auto_overlay (struct bfd_link_info *info)
 
       qsort (bfd_arr, bfd_count, sizeof (*bfd_arr), sort_bfds);
       for (i = 1; i < bfd_count; ++i)
-	if (strcmp (bfd_arr[i - 1]->filename, bfd_arr[i]->filename) == 0)
+	if (filename_cmp (bfd_arr[i - 1]->filename, bfd_arr[i]->filename) == 0)
 	  {
 	    if (bfd_arr[i - 1]->my_archive == bfd_arr[i]->my_archive)
 	      {
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 343abce..ad2a1f3 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -913,16 +913,29 @@ elf_x86_64_check_tls_transition (bfd *abfd,
 
     case R_X86_64_GOTTPOFF:
       /* Check transition from IE access model:
-		movq foo@gottpoff(%rip), %reg
-		addq foo@gottpoff(%rip), %reg
+		mov foo@gottpoff(%rip), %reg
+		add foo@gottpoff(%rip), %reg
        */
 
-      if (offset < 3 || (offset + 4) > sec->size)
-	return FALSE;
-
-      val = bfd_get_8 (abfd, contents + offset - 3);
-      if (val != 0x48 && val != 0x4c)
-	return FALSE;
+      /* Check REX prefix first.  */
+      if (offset >= 3 && (offset + 4) <= sec->size)
+	{
+	  val = bfd_get_8 (abfd, contents + offset - 3);
+	  if (val != 0x48 && val != 0x4c)
+	    {
+	      /* X32 may have 0x44 REX prefix or no REX prefix.  */
+	      if (ABI_64_P (abfd))
+		return FALSE;
+	    }
+	}
+      else
+	{
+	  /* X32 may not have any REX prefix.  */
+	  if (ABI_64_P (abfd))
+	    return FALSE;
+	  if (offset < 2 || (offset + 3) > sec->size)
+	    return FALSE;
+	}
 
       val = bfd_get_8 (abfd, contents + offset - 2);
       if (val != 0x8b && val != 0x03)
@@ -2999,18 +3012,6 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 	      relocation = (base_got->output_section->vma
 			    + base_got->output_offset + off);
 
-	      if (r_type != R_X86_64_GOTPCREL
-		  && r_type != R_X86_64_GOTPCREL64)
-		{
-		  asection *gotplt;
-		  if (htab->elf.splt != NULL)
-		    gotplt = htab->elf.sgotplt;
-		  else
-		    gotplt = htab->elf.igotplt;
-		  relocation -= (gotplt->output_section->vma
-				 - gotplt->output_offset);
-		}
-
 	      goto do_relocation;
 	    }
 	}
@@ -3505,6 +3506,9 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 		      if (val == 0x4c)
 			bfd_put_8 (output_bfd, 0x49,
 				   contents + roff - 3);
+		      else if (!ABI_64_P (output_bfd) && val == 0x44)
+			bfd_put_8 (output_bfd, 0x41,
+				   contents + roff - 3);
 		      bfd_put_8 (output_bfd, 0xc7,
 				 contents + roff - 2);
 		      bfd_put_8 (output_bfd, 0xc0 | reg,
@@ -3517,6 +3521,9 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 		      if (val == 0x4c)
 			bfd_put_8 (output_bfd, 0x49,
 				   contents + roff - 3);
+		      else if (!ABI_64_P (output_bfd) && val == 0x44)
+			bfd_put_8 (output_bfd, 0x41,
+				   contents + roff - 3);
 		      bfd_put_8 (output_bfd, 0x81,
 				 contents + roff - 2);
 		      bfd_put_8 (output_bfd, 0xc0 | reg,
@@ -3528,6 +3535,9 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 		      if (val == 0x4c)
 			bfd_put_8 (output_bfd, 0x4d,
 				   contents + roff - 3);
+		      else if (!ABI_64_P (output_bfd) && val == 0x44)
+			bfd_put_8 (output_bfd, 0x45,
+				   contents + roff - 3);
 		      bfd_put_8 (output_bfd, 0x8d,
 				 contents + roff - 2);
 		      bfd_put_8 (output_bfd, 0x80 | reg | (reg << 3),
diff --git a/bfd/elflink.c b/bfd/elflink.c
index dffe0ae..983d5e0 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -12597,20 +12597,6 @@ _bfd_elf_default_got_elt_size (bfd *abfd,
 
 /* Routines to support the creation of dynamic relocs.  */
 
-/* Return true if NAME is a name of a relocation
-   section associated with section S.  */
-
-static bfd_boolean
-is_reloc_section (bfd_boolean rela, const char * name, asection * s)
-{
-  if (rela)
-    return CONST_STRNEQ (name, ".rela")
-      && strcmp (bfd_get_section_name (NULL, s), name + 5) == 0;
-
-  return CONST_STRNEQ (name, ".rel")
-    && strcmp (bfd_get_section_name (NULL, s), name + 4) == 0;
-}
-
 /* Returns the name of the dynamic reloc section associated with SEC.  */
 
 static const char *
@@ -12618,26 +12604,15 @@ get_dynamic_reloc_section_name (bfd *       abfd,
 				asection *  sec,
 				bfd_boolean is_rela)


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-02-25 10:51 muller
  0 siblings, 0 replies; 45+ messages in thread
From: muller @ 2011-02-25 10:51 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  1900c52efc5aaf6cfa6add566739e19f8ea751c0 (commit)
       via  a57264517ef09fb62650b948e01aa713d48c3910 (commit)
       via  8bd2ba073a541ead833dd6592f9ec48392e506a9 (commit)
       via  a22de9cabf43402474aff50ce67ae3a1c2e0302d (commit)
       via  1f60f2400bfb83a9137c2f44257a52e47b7a905d (commit)
       via  2aedcc54cddbb33428affc714fb8a51d4416edf6 (commit)
       via  a08216b23ef31e26a30d3f9e3d4070efda1ced41 (commit)
       via  4ef85c9f86bef0f0b5f50cb9e9a56aba6f168c21 (commit)
      from  164e31cf9dd1a90500f6199c06e31f788e1c3b79 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 1900c52efc5aaf6cfa6add566739e19f8ea751c0
Merge: 164e31c a572645
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Fri Feb 25 11:47:03 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit a57264517ef09fb62650b948e01aa713d48c3910
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Feb 25 08:35:35 2011 +0000

    gdb/
    	* dwarf2loc.c (disassemble_dwarf_expression) <DW_OP_breg[0-9]+>: Use
    	L and plongest.
    	(disassemble_dwarf_expression) <DW_OP_bregx>: Drop variable offset,
    	use L and plongest.
    	(disassemble_dwarf_expression) <DW_OP_fbreg>: Use L and plongest.

commit 8bd2ba073a541ead833dd6592f9ec48392e506a9
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Feb 25 08:28:06 2011 +0000

    gdb/testsuite/
    	* gdb.dwarf2/dw2-ranges.S: Rename to ...
    	* gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
    	* gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
    	Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
    	asmfile3.  Comment the STABS (#3) file compilation.  Compile
    	everything through assembler.  Provide KFAIL for symtab/12497.
    	* gdb.dwarf2/dw2-ranges2.S: Rename to ...
    	* gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
    	* gdb.dwarf2/dw2-ranges3.S: Rename to ...
    	* gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.

commit a22de9cabf43402474aff50ce67ae3a1c2e0302d
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Feb 25 07:48:51 2011 +0000

    	PR 12519
    	* internal.h (ELF_SECTION_IN_SEGMENT_1): Don't match zero size
    	sections at start or end of PT_DYNAMIC.

commit 1f60f2400bfb83a9137c2f44257a52e47b7a905d
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Feb 25 00:00:33 2011 +0000

    *** empty log message ***

commit 2aedcc54cddbb33428affc714fb8a51d4416edf6
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Feb 24 23:00:05 2011 +0000

    daily update

commit a08216b23ef31e26a30d3f9e3d4070efda1ced41
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Feb 24 18:37:13 2011 +0000

    2011-02-24  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.base/break.exp: Remove debugging 'printf' accidentally
    	left behind in previous check-in.

commit 4ef85c9f86bef0f0b5f50cb9e9a56aba6f168c21
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Feb 24 18:09:50 2011 +0000

    2011-02-24  Michael Snyder  <msnyder@vmware.com>
    
    	* Makefile.in (clean): Make clean should remove generated files
    	observer.h and observer.inc.

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |   13 ++++++
 gdb/Makefile.in                                    |    2 +-
 gdb/dwarf2loc.c                                    |   24 ++++------
 gdb/testsuite/ChangeLog                            |   18 ++++++++
 gdb/testsuite/gdb.base/break.exp                   |    2 -
 gdb/testsuite/gdb.dwarf2/dw2-ranges.S              |   46 --------------------
 .../gdb.dwarf2/{dw2-ranges3.S => dw2-ranges.c}     |   24 +++++------
 gdb/testsuite/gdb.dwarf2/dw2-ranges.exp            |   46 +++++++++++++++++---
 .../gdb.dwarf2/{dw2-ranges2.S => dw2-ranges2.c}    |   33 ++++----------
 gdb/testsuite/gdb.dwarf2/dw2-ranges3.c             |   21 +++++++++
 gdb/version.in                                     |    2 +-
 include/elf/ChangeLog                              |    6 +++
 include/elf/internal.h                             |   20 +++++++-
 14 files changed, 148 insertions(+), 111 deletions(-)
 delete mode 100644 gdb/testsuite/gdb.dwarf2/dw2-ranges.S
 rename gdb/testsuite/gdb.dwarf2/{dw2-ranges3.S => dw2-ranges.c} (70%)
 rename gdb/testsuite/gdb.dwarf2/{dw2-ranges2.S => dw2-ranges2.c} (59%)
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-ranges3.c

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 716679a..951f0ff 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110224
+#define BFD_VERSION_DATE 20110225
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0b03569..93a2c33 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,16 @@
+2011-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* dwarf2loc.c (disassemble_dwarf_expression) <DW_OP_breg[0-9]+>: Use
+	L and plongest.
+	(disassemble_dwarf_expression) <DW_OP_bregx>: Drop variable offset,
+	use L and plongest.
+	(disassemble_dwarf_expression) <DW_OP_fbreg>: Use L and plongest.
+
+2011-02-24  Michael Snyder  <msnyder@vmware.com>
+
+	* Makefile.in (clean): Make clean should remove generated files
+	observer.h and observer.inc.
+
 2011-02-24  Joel Brobecker  <brobecker@adacore.com>
 
 	Revert the following patch (not approved yet):
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index fae43b2..8c13e53 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1237,7 +1237,7 @@ tags: TAGS
 clean mostlyclean: $(CONFIG_CLEAN)
 	@$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(CLEANDIRS)" subdir_do
 	rm -f *.o *.a $(ADD_FILES) *~ init.c-tmp init.l-tmp version.c-tmp
-	rm -f init.c version.c
+	rm -f init.c version.c observer.h observer.inc
 	rm -f gdb$(EXEEXT) core make.log
 	rm -f gdb[0-9]$(EXEEXT)
 	rm -f test-cp-name-parser$(EXEEXT)
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c
index a439f72..cac9b55 100644
--- a/gdb/dwarf2loc.c
+++ b/gdb/dwarf2loc.c
@@ -2430,27 +2430,23 @@ disassemble_dwarf_expression (struct ui_file *stream,
 	case DW_OP_breg29:
 	case DW_OP_breg30:
 	case DW_OP_breg31:
-	  data = read_sleb128 (data, end, &ul);
-	  fprintf_filtered (stream, " %s [$%s]", pulongest (ul),
+	  data = read_sleb128 (data, end, &l);
+	  fprintf_filtered (stream, " %s [$%s]", plongest (l),
 			    gdbarch_register_name (arch, op - DW_OP_breg0));
 	  break;
 
 	case DW_OP_bregx:
-	  {
-	    ULONGEST offset;
-
-	    data = read_uleb128 (data, end, &ul);
-	    data = read_sleb128 (data, end, &offset);
-	    fprintf_filtered (stream, " register %s [$%s] offset %s",
-			      pulongest (ul),
-			      gdbarch_register_name (arch, (int) ul),
-			      pulongest (offset));
-	  }
+	  data = read_uleb128 (data, end, &ul);
+	  data = read_sleb128 (data, end, &l);
+	  fprintf_filtered (stream, " register %s [$%s] offset %s",
+			    pulongest (ul),
+			    gdbarch_register_name (arch, (int) ul),
+			    plongest (l));
 	  break;
 
 	case DW_OP_fbreg:
-	  data = read_sleb128 (data, end, &ul);
-	  fprintf_filtered (stream, " %s", pulongest (ul));
+	  data = read_sleb128 (data, end, &l);
+	  fprintf_filtered (stream, " %s", plongest (l));
 	  break;
 
 	case DW_OP_xderef_size:
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 1855f7a..deedcd9 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,21 @@
+2011-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* gdb.dwarf2/dw2-ranges.S: Rename to ...
+	* gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
+	* gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
+	Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
+	asmfile3.  Comment the STABS (#3) file compilation.  Compile
+	everything through assembler.  Provide KFAIL for symtab/12497.
+	* gdb.dwarf2/dw2-ranges2.S: Rename to ...
+	* gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
+	* gdb.dwarf2/dw2-ranges3.S: Rename to ...
+	* gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
+
+2011-02-24  Michael Snyder  <msnyder@vmware.com>
+
+	* gdb.base/break.exp: Remove debugging 'printf' accidentally
+	left behind in previous check-in.
+
 2011-02-23  Michael Snyder  <msnyder@vmware.com>
 
 	* gdb.base/break.exp: Add tests for "info break" with arguments.
diff --git a/gdb/testsuite/gdb.base/break.exp b/gdb/testsuite/gdb.base/break.exp
index c02b437..6e14a47 100644
--- a/gdb/testsuite/gdb.base/break.exp
+++ b/gdb/testsuite/gdb.base/break.exp
@@ -236,8 +236,6 @@ gdb_test_multiple "info break 3-5" "info break 3-5" {
     }
 }
 
-gdb_test "print !$see1 && !$see2 && $see3 && $see4 && $see5 && !$see6" "" ""
-
 # FIXME: The rest of this test doesn't work with anything that can't
 # handle arguments.
 # Huh? There doesn't *appear* to be anything that passes arguments
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ranges.S b/gdb/testsuite/gdb.dwarf2/dw2-ranges.S
deleted file mode 100644
index f87e289..0000000
--- a/gdb/testsuite/gdb.dwarf2/dw2-ranges.S
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
-   Copyright 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
-   
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3 of the License, or
-   (at your option) any later version.
-   
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-   
-   You should have received a copy of the GNU General Public License
-   along with this program.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-/* Despite the sections below will be adjacent the assembler has to produce
-   DW_AT_ranges as the linker could place both sections at arbitrary locations.
-   */
-
-	/* Such directive is required by GAS for builds without `-g'.  */
-	.file	1 "dw2-ranges.S"
-
-	/* Without this directive GAS will not emit DWARF2 unless we provide an
-	   instruction to assemble.  We want to avoid any instructions to
-	   remain architecture independent.  */
-	.loc_mark_labels	1
-
-	.text
-
-	.globl	main
-	.func	main
-main:	.int	0
-	.endfunc
-	.size	main, . - main
-
-	/* `.fini' section is here to make sure `dw2-ranges.S'
-	   vs. `dw2-ranges2.S' overlap their DW_AT_ranges with each other.  */
-	.section	.fini, "ax", @progbits
-
-	.globl	func
-	.func	func
-func:	.int	0
-	.endfunc
-	.size	func, . - func
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ranges3.S b/gdb/testsuite/gdb.dwarf2/dw2-ranges.c
similarity index 70%
rename from gdb/testsuite/gdb.dwarf2/dw2-ranges3.S
rename to gdb/testsuite/gdb.dwarf2/dw2-ranges.c
index e1539ce..3572645 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-ranges3.S
+++ b/gdb/testsuite/gdb.dwarf2/dw2-ranges.c
@@ -19,18 +19,16 @@
    DW_AT_ranges as the linker could place both sections at arbitrary locations.
    */
 
-	/* Such directive is required by GAS for builds without `-g'.  */
-	.file	1 "dw2-ranges3.S"
+/* `.fini' section is here to make sure `dw2-ranges.c'
+   vs. `dw2-ranges2.c' overlap their DW_AT_ranges with each other.  */
 
-	/* Without this directive GAS will not emit DWARF2 unless we provide an
-	   instruction to assemble.  We want to avoid any instructions to
-	   remain architecture independent.  */
-	.loc_mark_labels	1
+void __attribute__ ((section (".fini")))
+func (void)
+{
+}
 
-	.text
-
-	.globl	main3
-	.func	main3
-main3:	.int	0
-	.endfunc
-	.size	main3, . - main3
+int
+main (void)
+{
+  return 0;
+}
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp b/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp
index d3b8fe5..39fb21e 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-ranges.exp
@@ -23,24 +23,47 @@ if {![dwarf2_support]} {
     return 0  
 }
 
+# The .c files use __attribute__.
+if [get_compiler_info unused] {
+    return -1;
+}
+if !$gcc_compiled {
+    verbose "Skipping DW_AT_ranges test."
+    return 0  
+}
+
 set testfile "dw2-ranges"
-set srcfile ${testfile}.S
-set srcfile2 ${testfile}2.S
-set srcfile3 ${testfile}3.S
+set srcfile ${testfile}.c
+set srcfile2 ${testfile}2.c
+set srcfile3 ${testfile}3.c
+set asmfile ${objdir}/${subdir}/${testfile}.s
+set asmfile2 ${objdir}/${subdir}/${testfile}2.s
+set asmfile3 ${objdir}/${subdir}/${testfile}3.s
 set objfile ${objdir}/${subdir}/${testfile}.o
 set objfile2 ${objdir}/${subdir}/${testfile}2.o
 set objfile3 ${objdir}/${subdir}/${testfile}3.o
 set binfile ${objdir}/${subdir}/${testfile}
 
-if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${objfile}" object {additional_flags=-gdwarf-2}] != "" } {
+# Generate .s without debug info but provide debug info by the assembler.
+# This way we get DW_TAG_compile_unit DIE and only that DIE.
+
+if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${asmfile}" assembly {}] != ""
+    || [gdb_compile "${asmfile}" "${objfile}" object {additional_flags=-gdwarf-2}] != "" } {
     return -1
 }
-if {[gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${objfile2}" object {additional_flags=-gdwarf-2}] != "" } {
+if {[gdb_compile "${srcdir}/${subdir}/${srcfile2}" "${asmfile2}" assembly {}] != ""
+    || [gdb_compile "${asmfile2}" "${objfile2}" object {additional_flags=-gdwarf-2}] != "" } {
     return -1
 }
-if {[gdb_compile "${srcdir}/${subdir}/${srcfile3}" "${objfile3}" object {additional_flags=-gstabs}] != "" } {
+
+# STABS compilation is intentional as it tests the STABS lookup where is no
+# partial_symtab->psymtabs_addrmap supported for that CU (Compilation Unit) in
+# a file containing psymtabs_addrmap-supporting DWARF CUs.
+if {[gdb_compile "${srcdir}/${subdir}/${srcfile3}" "${asmfile3}" assembly {}] != ""
+    || [gdb_compile "${asmfile3}" "${objfile3}" object {additional_flags=-gstabs}] != "" } {
     return -1
 }
+
 if {[gdb_compile "${objfile} ${objfile2} ${objfile3}" "${binfile}" executable {}] != "" } {
     return -1
 }
@@ -62,4 +85,13 @@ gdb_test "info line main" "Line \[0-9\]* of .* starts at address .* and ends at
 gdb_test "info line func" "Line \[0-9\]* of .* starts at address .* and ends at .*"
 gdb_test "info line main2" "Line \[0-9\]* of .* starts at address .* and ends at .*"
 gdb_test "info line func2" "Line \[0-9\]* of .* starts at address .* and ends at .*"
-gdb_test "info line main3" "Line \[0-9\]* of .* starts at address .* and ends at .*"
+
+set test "info line main3"
+gdb_test_multiple $test $test {
+    -re "Line \[0-9\]* of .* starts at address .* and ends at .*\r\n$gdb_prompt $" {
+	pass $test
+    }
+    -re "Line \[0-9\]* of .* is at address .* but contains no code\\.\r\n$gdb_prompt $" {
+	kfail symtab/12497 $test
+    }
+}
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ranges2.S b/gdb/testsuite/gdb.dwarf2/dw2-ranges2.c
similarity index 59%
rename from gdb/testsuite/gdb.dwarf2/dw2-ranges2.S
rename to gdb/testsuite/gdb.dwarf2/dw2-ranges2.c
index e41e5b3..538dbe5 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-ranges2.S
+++ b/gdb/testsuite/gdb.dwarf2/dw2-ranges2.c
@@ -19,28 +19,15 @@
    DW_AT_ranges as the linker could place both sections at arbitrary locations.
    */
 
-	/* Such directive is required by GAS for builds without `-g'.  */
-	.file	1 "dw2-ranges2.S"
+/* `.fini' section is here to make sure `dw2-ranges.c'
+   vs. `dw2-ranges2.c' overlap their DW_AT_ranges with each other.  */
 
-	/* Without this directive GAS will not emit DWARF2 unless we provide an
-	   instruction to assemble.  We want to avoid any instructions to
-	   remain architecture independent.  */
-	.loc_mark_labels	1
+void __attribute__ ((section (".fini")))
+func2 (void)
+{
+}
 
-	.text
-
-	.globl	main2
-	.func	main2
-main2:	.int	0
-	.endfunc
-	.size	main2, . - main2
-
-	/* `.fini' section is here to make sure `dw2-ranges.S'
-	   vs. `dw2-ranges2.S' overlap their DW_AT_ranges with each other.  */
-	.section	.fini, "ax", @progbits
-
-	.globl	func2
-	.func	func2
-func2:	.int	0
-	.endfunc
-	.size	func2, . - func2
+void
+main2 (void)
+{
+}
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ranges3.c b/gdb/testsuite/gdb.dwarf2/dw2-ranges3.c
new file mode 100644
index 0000000..b42a98d
--- /dev/null
+++ b/gdb/testsuite/gdb.dwarf2/dw2-ranges3.c
@@ -0,0 +1,21 @@
+/*
+   Copyright 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+   
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+   
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+   
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+void
+main3 (void)
+{
+}
diff --git a/gdb/version.in b/gdb/version.in
index 616fdbd..c37a846 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-7.2.50.20110224-cvs
+7.2.50.20110225-cvs
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index d178b64..399344d 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,9 @@
+2011-02-25  Alan Modra  <amodra@gmail.com>
+
+	PR 12519
+	* internal.h (ELF_SECTION_IN_SEGMENT_1): Don't match zero size
+	sections at start or end of PT_DYNAMIC.
+
 2011-01-10  Nathan Sidwell  <nathan@codesourcery.com>
 	    Glauber de Oliveira Costa  <glommer@gmail.com>
 
diff --git a/include/elf/internal.h b/include/elf/internal.h
index 6998ae0..c6e5721 100644
--- a/include/elf/internal.h
+++ b/include/elf/internal.h
@@ -1,6 +1,6 @@
 /* ELF support for BFD.
    Copyright 1991, 1992, 1993, 1994, 1995, 1997, 1998, 2000, 2001, 2002,
-   2003, 2006, 2007, 2008, 2010 Free Software Foundation, Inc.
+   2003, 2006, 2007, 2008, 2010, 2011 Free Software Foundation, Inc.
 
    Written by Fred Fish @ Cygnus Support, from information published
    in "UNIX System V Release 4, Programmers Guide: ANSI C and
@@ -302,7 +302,9 @@ struct elf_segment_map
 /* Decide if the section SEC_HDR is in SEGMENT.  If CHECK_VMA, then
    VMAs are checked for alloc sections.  If STRICT, then a zero size
    section won't match at the end of a segment, unless the segment
-   is also zero size.  */
+   is also zero size.  Regardless of STRICT and CHECK_VMA, zero size
+   sections won't match at the start or end of PT_DYNAMIC, unless
+   PT_DYNAMIC is itself zero sized.  */
 #define ELF_SECTION_IN_SEGMENT_1(sec_hdr, segment, check_vma, strict)	\
   ((/* Only PT_LOAD, PT_GNU_RELRO and PT_TLS segments can contain	\
        SHF_TLS sections.  */						\
@@ -334,7 +336,19 @@ struct elf_segment_map
 		   <= (segment)->p_memsz - 1))				\
 	   && (((sec_hdr)->sh_addr - (segment)->p_vaddr			\
 		+ ELF_SECTION_SIZE(sec_hdr, segment))			\
-	       <= (segment)->p_memsz))))
+	       <= (segment)->p_memsz)))					\
+   /* No zero size sections at start or end of PT_DYNAMIC.  */		\
+   && ((segment)->p_type != PT_DYNAMIC					\
+       || (sec_hdr)->sh_size != 0					\
+       || (segment)->p_memsz == 0					\
+       || (((sec_hdr)->sh_type == SHT_NOBITS				\
+	    || ((bfd_vma) (sec_hdr)->sh_offset > (segment)->p_offset	\
+	        && ((sec_hdr)->sh_offset - (segment)->p_offset		\
+		    < (segment)->p_filesz)))				\
+	   && (((sec_hdr)->sh_flags & SHF_ALLOC) == 0			\
+	       || ((sec_hdr)->sh_addr > (segment)->p_vaddr		\
+		   && ((sec_hdr)->sh_addr - (segment)->p_vaddr		\
+		       < (segment)->p_memsz))))))
 
 #define ELF_SECTION_IN_SEGMENT(sec_hdr, segment)			\
   (ELF_SECTION_IN_SEGMENT_1 (sec_hdr, segment, 1, 0))


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-02-24 10:06 muller
  0 siblings, 0 replies; 45+ messages in thread
From: muller @ 2011-02-24 10:06 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  164e31cf9dd1a90500f6199c06e31f788e1c3b79 (commit)
       via  dbc21176c80d4354e66be0fd9a2c492738748db9 (commit)
       via  74e82dd2d59e83f897823ddc27386e7b6e87d49c (commit)
       via  6a68075223aa5f972c828b58e2426540b4bfb6cc (commit)
       via  9760e7fbdb9421e66f92fa2bee8c733138434c0c (commit)
       via  59a865cca319154f174699f0f8092143ef8dcbce (commit)
      from  35f19dab587ce780030a45bdd3f6f764ebe37a35 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 164e31cf9dd1a90500f6199c06e31f788e1c3b79
Merge: dbc2117 74e82dd
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Thu Feb 24 11:03:45 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit dbc21176c80d4354e66be0fd9a2c492738748db9
Merge: 59a865c 35f19da
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Thu Feb 24 10:56:21 2011 +0100

    Merge branch 'master' of ssh://sourceware.org/git/archer

commit 74e82dd2d59e83f897823ddc27386e7b6e87d49c
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Feb 24 07:39:46 2011 +0000

    Revert the following change (not approved yet):
    
    	2011-02-21  Hui Zhu  <teawater@gmail.com>
    	* Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h.
    	* ax-gdb.c (gen_printf_expr_callback): New function.
    	* ax-gdb.h (gen_printf_expr_callback): Forward declare.
    	* ax-general.c (ax_memcpy): New function.
    	(ax_print): Handle "printf".
    	(ax_reqs): Ditto.
    	* ax.h (ax_memcpy): Forward declare.
    	* common/ax.def (invalid2): Removed.
    	(printf): New entry.
    	* printcmd.c (printcmd.h): New include.
    	(string_printf): New function.
    	(ui_printf): Removed.
    	(printf_command): Remove static.  Call string_printf.
    	(eval_command): Call string_printf.
    	* printcmd.h: New file.
    	* tracepoint.c (validate_actionline,
    	encode_actions_1): handle printf_command.

commit 6a68075223aa5f972c828b58e2426540b4bfb6cc
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Feb 24 07:38:42 2011 +0000

    Revert the following patch (printf tracepoint op) (not approved yet)
    
            2011-02-21  Hui Zhu  <teawater@gmail.com>
            * tracepoint.c (tp_printf): New function.
            (eval_agent_expr): Handle gdb_agent_op_printf.

commit 9760e7fbdb9421e66f92fa2bee8c733138434c0c
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Feb 24 07:37:59 2011 +0000

    Revert the following patch (code patch was not approved):
    
            2011-02-21  Hui Zhu  <teawater@gmail.com>
            * agentexpr.texi (bytecode descriptions): add printf.
            * gdb.texinfo (tracepoint action lists): add printf.

commit 59a865cca319154f174699f0f8092143ef8dcbce
Merge: d937037 b4f1a6c
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Wed Feb 23 12:28:00 2011 +0100

    Merge remote-tracking branch 'gdb/master'

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog              |   22 ++++++++++++++++
 gdb/Makefile.in            |    2 +-
 gdb/ax-gdb.c               |   59 --------------------------------------------
 gdb/ax-gdb.h               |    2 -
 gdb/ax-general.c           |   53 +++++----------------------------------
 gdb/ax.h                   |    2 -
 gdb/common/ax.def          |    6 +++-
 gdb/doc/ChangeLog          |    7 +++++
 gdb/doc/agentexpr.texi     |    7 -----
 gdb/doc/gdb.texinfo        |    6 ----
 gdb/gdbserver/ChangeLog    |    7 +++++
 gdb/gdbserver/tracepoint.c |   44 --------------------------------
 gdb/printcmd.c             |   38 ++++++---------------------
 gdb/printcmd.h             |   30 ----------------------
 gdb/tracepoint.c           |   39 -----------------------------
 15 files changed, 58 insertions(+), 266 deletions(-)
 delete mode 100644 gdb/printcmd.h

First 500 lines of diff:
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bc358a0..0b03569 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,25 @@
+2011-02-24  Joel Brobecker  <brobecker@adacore.com>
+
+	Revert the following patch (not approved yet):
+	2011-02-21  Hui Zhu  <teawater@gmail.com>
+	* Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h.
+	* ax-gdb.c (gen_printf_expr_callback): New function.
+	* ax-gdb.h (gen_printf_expr_callback): Forward declare.
+	* ax-general.c (ax_memcpy): New function.
+	(ax_print): Handle "printf".
+	(ax_reqs): Ditto.
+	* ax.h (ax_memcpy): Forward declare.
+	* common/ax.def (invalid2): Removed.
+	(printf): New entry.
+	* printcmd.c (printcmd.h): New include.
+	(string_printf): New function.
+	(ui_printf): Removed.
+	(printf_command): Remove static.  Call string_printf.
+	(eval_command): Call string_printf.
+	* printcmd.h: New file.
+	* tracepoint.c (validate_actionline,
+	encode_actions_1): handle printf_command.
+
 2011-02-23  Tom Tromey  <tromey@redhat.com>
 
 	* ax-general.c (ax_pick): Add missing newline.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 6363773..fae43b2 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -808,7 +808,7 @@ annotate.h sim-regno.h dictionary.h dfp.h main.h frame-unwind.h	\
 remote-fileio.h i386-linux-tdep.h vax-tdep.h objc-lang.h \
 sentinel-frame.h bcache.h symfile.h windows-tdep.h linux-tdep.h \
 gdb_usleep.h jit.h xml-syscall.h microblaze-tdep.h \
-psymtab.h psympriv.h progspace.h bfin-tdep.h ia64-hpux-tdep.h printcmd.h
+psymtab.h psympriv.h progspace.h bfin-tdep.h ia64-hpux-tdep.h
 
 # Header files that already have srcdir in them, or which are in objdir.
 
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c
index d995d87..d1736e1 100644
--- a/gdb/ax-gdb.c
+++ b/gdb/ax-gdb.c
@@ -2445,65 +2445,6 @@ gen_eval_for_expr (CORE_ADDR scope, struct expression *expr)
   return ax;
 }
 
-void
-gen_printf_expr_callback (char *fbuf, char **expp, void *loc_v, void *aexpr_v)
-{
-  struct bp_location	*loc = loc_v;
-  struct agent_expr	*aexpr = aexpr_v;
-
-  if (expp)
-    {
-      struct cleanup *old_chain = NULL;
-      struct expression *expr = NULL;
-      union exp_element *pc;
-      struct axs_value value;
-
-      expr = parse_exp_1 (expp, block_for_pc (loc->address), 1);
-      old_chain = make_cleanup (free_current_contents, &expr);
-
-      pc = expr->elts;
-      trace_kludge = 0;
-      value.optimized_out = 0;
-      gen_expr (expr, &pc, aexpr, &value);
-
-      if (value.optimized_out)
-        error (_("value has been optimized out"));
-      switch (value.kind)
-        {
-	case axs_lvalue_memory:
-	  if (TYPE_CODE (value.type) != TYPE_CODE_ARRAY)
-	    {
-	      int length = TYPE_LENGTH (check_typedef (value.type));
-	      switch (length)
-		{
-		case 4:
-		  ax_simple (aexpr, aop_ref32);
-		  break;
-		case 8:
-		  ax_simple (aexpr, aop_ref64);
-		  break;
-		default:
-		  error (_("Size of value is not OK."));
-		  break;
-		}
-	    }
-	  break;
-	case axs_lvalue_register:
-	  ax_reg (aexpr, value.u.reg);
-	  break;
-        }
-
-      do_cleanups (old_chain);
-    }
-
-  ax_simple (aexpr, aop_printf);
-  if (expp)
-    ax_simple (aexpr, 1);
-  else
-    ax_simple (aexpr, 0);
-  ax_memcpy (aexpr, fbuf, strlen (fbuf) + 1);
-}
-
 static void
 agent_command (char *exp, int from_tty)
 {
diff --git a/gdb/ax-gdb.h b/gdb/ax-gdb.h
index 9b15230..a2367a6 100644
--- a/gdb/ax-gdb.h
+++ b/gdb/ax-gdb.h
@@ -108,8 +108,6 @@ extern struct agent_expr *gen_trace_for_var (CORE_ADDR, struct gdbarch *,
 
 extern struct agent_expr *gen_eval_for_expr (CORE_ADDR, struct expression *);
 
-extern void gen_printf_expr_callback (char *, char **, void *, void *);
-
 extern int trace_kludge;
 
 #endif /* AX_GDB_H */
diff --git a/gdb/ax-general.c b/gdb/ax-general.c
index 62c382c..889fac9 100644
--- a/gdb/ax-general.c
+++ b/gdb/ax-general.c
@@ -331,14 +331,6 @@ ax_tsv (struct agent_expr *x, enum agent_op op, int num)
   x->buf[x->len + 2] = (num) & 0xff;
   x->len += 3;
 }
-
-void
-ax_memcpy (struct agent_expr *x, const void *src, size_t n)
-{
-  grow_expr (x, n);
-  memcpy (x->buf + x->len, src, n);
-  x->len += n;
-}
 \f
 
 
@@ -377,7 +369,6 @@ ax_print (struct ui_file *f, struct agent_expr *x)
   for (i = 0; i < x->len;)
     {
       enum agent_op op = x->buf[i];
-      int op_size;
 
       if (op >= (sizeof (aop_map) / sizeof (aop_map[0]))
 	  || !aop_map[op].name)
@@ -386,19 +377,7 @@ ax_print (struct ui_file *f, struct agent_expr *x)
 	  i++;
 	  continue;
 	}
-      if (op == aop_printf)
-        {
-	  if (i + 2 >= x->len)
-	    {
-	      fprintf_filtered (f, _("%3d  <bad opcode %02x>\n"), i, op);
-	      i++;
-	      continue;
-	    }
-	  op_size = 1 + strlen (x->buf + i + 2) + 1;
-	}
-      else
-	op_size = aop_map[op].op_size;
-      if (i + 1 + op_size > x->len)
+      if (i + 1 + aop_map[op].op_size > x->len)
 	{
 	  fprintf_filtered (f, _("%3d  <incomplete opcode %s>\n"),
 			    i, aop_map[op].name);
@@ -406,15 +385,15 @@ ax_print (struct ui_file *f, struct agent_expr *x)
 	}
 
       fprintf_filtered (f, "%3d  %s", i, aop_map[op].name);
-      if (op_size > 0)
+      if (aop_map[op].op_size > 0)
 	{
 	  fputs_filtered (" ", f);
 
 	  print_longest (f, 'd', 0,
-			 read_const (x, i + 1, op_size));
+			 read_const (x, i + 1, aop_map[op].op_size));
 	}
       fprintf_filtered (f, "\n");
-      i += 1 + op_size;
+      i += 1 + aop_map[op].op_size;
 
       is_float = (op == aop_float);
     }
@@ -482,8 +461,6 @@ ax_reqs (struct agent_expr *ax)
   /* Pointer to a description of the present op.  */
   struct aop_map *op;
 
-  int op_size = 0, consumed = 0;
-
   memset (targets, 0, ax->len * sizeof (targets[0]));
   memset (boundary, 0, ax->len * sizeof (boundary[0]));
 
@@ -491,7 +468,7 @@ ax_reqs (struct agent_expr *ax)
   ax->flaw = agent_flaw_none;
   ax->max_data_size = 0;
 
-  for (i = 0; i < ax->len; i += 1 + op_size)
+  for (i = 0; i < ax->len; i += 1 + op->op_size)
     {
       if (ax->buf[i] > (sizeof (aop_map) / sizeof (aop_map[0])))
 	{
@@ -507,23 +484,7 @@ ax_reqs (struct agent_expr *ax)
 	  return;
 	}
 
-      if (ax->buf[i] == aop_printf)
-        {
-	  if (i + 2 >= ax->len)
-	    {
-	      ax->flaw = agent_flaw_incomplete_instruction;
-	      return;
-	    }
-	  consumed = ax->buf[i + 1];
-	  op_size = 1 + strlen (ax->buf + i + 2) + 1;
-	}
-      else
-        {
-	  op_size = op->op_size;
-	  consumed = op->consumed;
-        }
-
-      if (i + 1 + op_size > ax->len)
+      if (i + 1 + op->op_size > ax->len)
 	{
 	  ax->flaw = agent_flaw_incomplete_instruction;
 	  return;
@@ -541,7 +502,7 @@ ax_reqs (struct agent_expr *ax)
       boundary[i] = 1;
       heights[i] = height;
 
-      height -= consumed;
+      height -= op->consumed;
       if (height < ax->min_height)
 	ax->min_height = height;
       height += op->produced;
diff --git a/gdb/ax.h b/gdb/ax.h
index 05dc6a1..a124575 100644
--- a/gdb/ax.h
+++ b/gdb/ax.h
@@ -213,8 +213,6 @@ extern void ax_reg_mask (struct agent_expr *ax, int reg);
 
 /* Assemble code to operate on a trace state variable.  */
 extern void ax_tsv (struct agent_expr *expr, enum agent_op op, int num);
-
-extern void ax_memcpy (struct agent_expr *x, const void *src, size_t n);
 \f
 
 /* Functions for printing out expressions, and otherwise debugging
diff --git a/gdb/common/ax.def b/gdb/common/ax.def
index f1be688..56ddd4a 100644
--- a/gdb/common/ax.def
+++ b/gdb/common/ax.def
@@ -86,8 +86,12 @@ DEFOP (swap, 0, 0, 2, 2, 0x2b)
 DEFOP (getv, 2, 0, 0, 1, 0x2c)
 DEFOP (setv, 2, 0, 0, 1, 0x2d)
 DEFOP (tracev, 2, 0, 0, 1, 0x2e)
+/* We need something here just to make the tables come out ok.  */
 DEFOP (invalid, 0, 0, 0, 0, 0x2f)
 DEFOP (trace16, 2, 0, 1, 1, 0x30)
-DEFOP (printf, 0, 0, 0, 0, 0x31)
+/* We need something here just to make the tables come out ok.  */
+DEFOP (invalid2, 0, 0, 0, 0, 0x2f)
+/* The "consumed" number for pick is wrong, but there's no way to
+   express the right thing.  */
 DEFOP (pick, 1, 0, 0, 1, 0x32)
 DEFOP (rot, 0, 0, 3, 3, 0x33)
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 3f91321..59cf1e4 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,10 @@
+2011-02-24  Joel Brobecker  <brobecker@adacore.com>
+
+	Revert the following patch (code patch was not approved):
+	2011-02-21  Hui Zhu  <teawater@gmail.com>
+	* agentexpr.texi (bytecode descriptions): add printf.
+	* gdb.texinfo (tracepoint action lists): add printf.
+
 2011-02-23  Doug Evans  <dje@google.com>
 
 	* gdb.texinfo (Symbols In Python): Fix mention of C++, use C@t{++}.
diff --git a/gdb/doc/agentexpr.texi b/gdb/doc/agentexpr.texi
index 5a360df..f2d51b7 100644
--- a/gdb/doc/agentexpr.texi
+++ b/gdb/doc/agentexpr.texi
@@ -489,13 +489,6 @@ named @code{trace_quick16}, for consistency.
 Record the value of trace state variable number @var{n} in the trace
 buffer.  The handling of @var{n} is as described for @code{getv}.
 
-@item @code{printf} (0x31) @var{n} @var{template}: @result{}
-Print the values in the stack under the control of the string template.
-The end of @var{template} is 0x00.
-If @var{n} is 0, just output the string template.
-If @var{n} is 1, pop a value from the stack and print it under the control
-of the string template.
-
 @item @code{end} (0x27): @result{}
 Stop executing bytecode; the result should be the top element of the
 stack.  If the purpose of the expression was to compute an lvalue or a
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 32d9b44..c727dc8 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -10242,12 +10242,6 @@ state variables (@pxref{Trace State Variables}) without adding those
 values to the trace buffer, as would be the case if the @code{collect}
 action were used.
 
-@kindex printf
-@item printf @var{template}, @var{expressions}@dots{}
-Print the values of one or more @var{expressions} under the control of
-the string @var{template} in @code{gdbserver} part.
-The command format is with simple @code{printf} (@pxref{Output, printf}).
-
 @kindex while-stepping @r{(tracepoints)}
 @item while-stepping @var{n}
 Perform @var{n} single-step instruction traces after the tracepoint,
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 0f7655f..1f42a8e 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,10 @@
+2011-02-24  Joel Brobecker  <brobecker@adacore.com>
+
+	Revert the following patch (not approved yet):
+	2011-02-21  Hui Zhu  <teawater@gmail.com>
+	* tracepoint.c (tp_printf): New function.
+	(eval_agent_expr): Handle gdb_agent_op_printf.
+
 2011-02-21  Hui Zhu  <teawater@gmail.com>
 
 	* tracepoint.c (tp_printf): New function.
diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c
index d897728..8d99c94 100644
--- a/gdb/gdbserver/tracepoint.c
+++ b/gdb/gdbserver/tracepoint.c
@@ -4214,16 +4214,6 @@ gdb_agent_op_name (int op)
   return gdb_agent_op_names[op];
 }
 
-int
-tp_printf (const char *format, ...)
-{
-  va_list ap;
-  va_start (ap, format);
-  vprintf (format, ap);
-  va_end (ap);
-  return 0;
-}
-
 /* The agent expression evaluator, as specified by the GDB docs. It
    returns 0 if everything went OK, and a nonzero error code
    otherwise.  */
@@ -4583,40 +4573,6 @@ eval_agent_expr (struct tracepoint_hit_ctx *ctx,
 	  agent_tsv_read (tframe, arg);
 	  break;
 
-	case gdb_agent_op_printf:
-	  {
-	    void *argv;
-	    arg = aexpr->bytes[pc++];
-	    argv = (void *) (unsigned long) top;
-	    if (--sp >= 0)
-	      top = stack[sp];
-
-	    if (arg)
-	      {
-		if (strstr ((char *) (aexpr->bytes + pc), "%s"))
-		  {
-		    int			i;
-		    unsigned char	buf[100];
-
-		    for (i = 0; i < 100; i++)
-		      {
-			agent_mem_read (tframe, buf + i,
-					(CORE_ADDR) ((unsigned long)argv + i),
-					1);
-			if (!buf[i])
-			  break;
-		      }
-		    tp_printf ((char *) (aexpr->bytes + pc), buf);
-		  }
-		else
-	          tp_printf ((char *) (aexpr->bytes + pc), argv);
-	      }
-	    else
-	      tp_printf ((char *) (aexpr->bytes + pc));
-	    pc += strlen ((char *) aexpr->bytes + pc) + 1;
-	  }
-	  break;
-
 	  /* GDB never (currently) generates any of these ops.  */
 	case gdb_agent_op_float:
 	case gdb_agent_op_ref_float:
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index ebca5a3..39ac8a8 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -49,7 +49,6 @@
 #include "parser-defs.h"
 #include "charset.h"
 #include "arch-utils.h"
-#include "printcmd.h"
 #include "cli/cli-utils.h"
 
 #ifdef TUI
@@ -1962,9 +1961,10 @@ print_variable_and_value (const char *name, struct symbol *var,
   fprintf_filtered (stream, "\n");
 }
 
-void
-string_printf (char *arg, struct ui_file *stream, printf_callback callback,
-	       void *loc_v, void *aexpr_v)
+/* printf "printf format string" ARG to STREAM.  */
+
+static void
+ui_printf (char *arg, struct ui_file *stream)
 {
   char *f = NULL;
   char *s = arg;
@@ -1975,8 +1975,6 @@ string_printf (char *arg, struct ui_file *stream, printf_callback callback,
   int nargs = 0;
   int allocated_args = 20;
   struct cleanup *old_cleanups;
-  struct bp_location *loc = loc_v;
-  struct agent_expr *aexpr = aexpr_v;
 
   val_args = xmalloc (allocated_args * sizeof (struct value *));
   old_cleanups = make_cleanup (free_current_contents, &val_args);
@@ -2295,42 +2293,26 @@ string_printf (char *arg, struct ui_file *stream, printf_callback callback,
     /* Now, parse all arguments and evaluate them.
        Store the VALUEs in VAL_ARGS.  */
 
-    if (callback)
-      current_substring = substrings;
     while (*s != '\0')
       {
 	char *s1;
 
-	s1 = s;
 	if (nargs == allocated_args)
 	  val_args = (struct value **) xrealloc ((char *) val_args,
 						 (allocated_args *= 2)
 						 * sizeof (struct value *));
-	if (callback)
-	  {
-	    if (nargs >= nargs_wanted)
-	      error (_("Wrong number of arguments for specified "
-		       "format-string"));
-	    callback (current_substring, &s1, loc, aexpr);
-	    current_substring += strlen (current_substring) + 1;
-	  }
-	else
-	  val_args[nargs] = parse_to_comma_and_eval (&s1);
+	s1 = s;
+	val_args[nargs] = parse_to_comma_and_eval (&s1);
 
 	nargs++;
 	s = s1;
 	if (*s == ',')
 	  s++;
       }
-    if (callback)
-      callback (last_arg, NULL, loc, aexpr);
 
     if (nargs != nargs_wanted)
       error (_("Wrong number of arguments for specified format-string"));
 
-    if (!stream)
-      goto after_print;
-
     /* Now actually print them.  */
     current_substring = substrings;
     for (i = 0; i < nargs; i++)
@@ -2685,17 +2667,15 @@ string_printf (char *arg, struct ui_file *stream, printf_callback callback,
        by default, which will warn here if there is no argument.  */
     fprintf_filtered (stream, last_arg, 0);
   }
-
-after_print:
   do_cleanups (old_cleanups);
 }
 
 /* Implement the "printf" command.  */
 
-void
+static void
 printf_command (char *arg, int from_tty)
 {
-  string_printf (arg, gdb_stdout, NULL, NULL, NULL);
+  ui_printf (arg, gdb_stdout);


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-02-24  1:29 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-02-24  1:29 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  35f19dab587ce780030a45bdd3f6f764ebe37a35 (commit)
       via  26053571995689ef0f9e52a0c7ab4eae6c8a54a4 (commit)
       via  1ee55999132376109286fac48d0ec22104707f59 (commit)
       via  5925580b02ae1688b69e332e3f78a67613ea5acf (commit)
       via  cc2f895000bfeeaec30512259b5476d59df65483 (commit)
       via  6190a1a50580965521964916a5b8b78ae2a8f118 (commit)
       via  4591fad33019e7455166b61b933de3372ed079cd (commit)
       via  39db203b0ea39da014d2507a9687befecc5e7292 (commit)
       via  b4f1a6c2346e5326d310f3c50ef387ca5864557c (commit)
       via  7df6e4924ef035feff403e53ae46ecabef869af3 (commit)
       via  e20a9657c7974065308e491db26b45f18544a219 (commit)
      from  d937037301e40716bd65b32d0296d91824874bbd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 35f19dab587ce780030a45bdd3f6f764ebe37a35
Merge: d937037 2605357
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Feb 24 02:29:20 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit 26053571995689ef0f9e52a0c7ab4eae6c8a54a4
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Feb 24 00:00:32 2011 +0000

    *** empty log message ***

commit 1ee55999132376109286fac48d0ec22104707f59
Author: Doug Evans <dje@google.com>
Date:   Wed Feb 23 23:33:12 2011 +0000

    	* gdb.texinfo (Symbols In Python): Fix mention of C++, use C@t{++}.

commit 5925580b02ae1688b69e332e3f78a67613ea5acf
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Feb 23 23:00:06 2011 +0000

    daily update

commit cc2f895000bfeeaec30512259b5476d59df65483
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Feb 23 21:02:44 2011 +0000

    	* ax-general.c (ax_pick): Add missing newline.

commit 6190a1a50580965521964916a5b8b78ae2a8f118
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Feb 23 19:20:37 2011 +0000

    2011-02-21  Michael Snyder  <msnyder@vmware.com>
    
    	* breakpoint.c (breakpoint_1): Change first argument from an int
    	to a char pointer, so that the function now accepts a list of
    	breakpoints rather than just one.  Use new function
    	'number_is_in_list' to implement.
    	(breakpoints_info): Pass char * instead of int to breakpoint_1.
    	(watchpoints_info): Ditto.
    	(tracepoints_info): Ditto.
    	(maintenance_info_breakpoints): Ditto.
    	(_initialize_breakpoint): Update help strings to reflect the fact
    	that these functions can now take more than one argument.
    	* cli/cli-utils.c (number_is_in_list): New function.
    	* cli/cli-utils.h (number_is_in_list): Export.
    
    2011-02-21  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.texinfo (Set Breaks): Add @dots{} to arguments of info break.
    	(Set Watchpoints): Add @dots{} to argument of info watchpoints.
    	(Listing Tracepoints): Add @dots{} to argument of info tracepoints.
    
    2011-02-21  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.base/break.exp: Add tests for "info break" with arguments.
    	* gdb.trace/infotrace.exp: Update patterns for error and help.
    	* gdb.base/completion.exp: Update pattern.
    	* gdb.base/ena-dis-br.exp: Update pattern.
    	* gdb.base/help.exp: Update patterns.

commit 4591fad33019e7455166b61b933de3372ed079cd
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Feb 23 18:30:19 2011 +0000

    2011-02-22  Michael Snyder  <msnyder@vmware.com>
    
    	* memattr.c (mem_enable_command): Use get_number_or_range.
    	(mem_disable_command): Ditto.
    	(mem_delete_command): Ditto.
    	(_initialize_mem): Tweak usage message to reflect multiple
    	arguments.
    
    2011-02-22  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.base/memattr.exp: New test.
    	* gdb.base/memattr.c: Test load for memattr.exp.

commit 39db203b0ea39da014d2507a9687befecc5e7292
Author: Kai Tietz <kai.tietz@onevision.com>
Date:   Wed Feb 23 08:52:33 2011 +0000

    ChangeLog include/
    
    2011-02-23  Kai Tietz  <kai.tietz@onevision.com>
    
    	* dwarf2.h (_ELF_DWARF2_H): Renamed to
    	_DWARF2_H.
    	(DWARF2_External_LineInfo, DWARF2_Internal_LineInfo,
    	DWARF2_External_PubNames, DWARF2_Internal_PubNames,
    	DWARF2_External_CompUnit, DWARF2_Internal_CompUnit,
    	DWARF2_External_ARange, DWARF2_Internal_ARange): Removed.
    
    
    ChangeLog binutils/
    
    2011-02-23  Kai Tietz  <kai.tietz@onevision.com>
    
    	* dwarf.c (read_leb128): Use bfd_vma instead of
    	long type.
    	(dwarf_vmatoa): New helper routine.
    	(process_extended_line_op): Use for adr bfd_vma
    	type and print those typed values via BFD_VMA_FMT
    	or via dwarf_vmatoa for localized prints.
    	(fetch_indirect_string): Adjust offset's type.
    	(decode_location_expression): Adjust argument types
    	and uvalue type.
    	(read_and_display_attr_value): Likewise.
    	(read_and_display_attr): Likewise.
    	(decode_location_expression): Adjust printf format.
    	(process_debug_info): Likewise.
    	(display_debug_lines_raw): Likewise.
    	(display_debug_lines_decoded): Likewise.
    	(display_debug_pubnames): Likewise.
    	(display_debug_loc): Likewise.
    	(display_debug_aranges): Likewise.
    	* dwarf.h (DWARF2_External_LineInfo,
    	DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
    	DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
    	DWARF2_Internal_CompUnit, DWARF2_External_ARange,
    	DWARF2_Internal_ARange): Added..
    	(read_leb128): Adjust return type.

commit b4f1a6c2346e5326d310f3c50ef387ca5864557c
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Feb 23 00:00:33 2011 +0000

    *** empty log message ***

commit 7df6e4924ef035feff403e53ae46ecabef869af3
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Feb 22 23:00:06 2011 +0000

    daily update

commit e20a9657c7974065308e491db26b45f18544a219
Author: Doug Evans <dje@google.com>
Date:   Tue Feb 22 22:48:02 2011 +0000

    	Add gdb.lookup_global_symbol python function.
    	* NEWS: Add entry.
    	* python/py-symbol.c (gdbpy_lookup_global_symbol): New function.
    	* python/python-internal.h (gdbpy_lookup_global_symbol): Declare it.
    	* python/python.c (GdbMethods): Add entry for lookup_global_symbol.
    
    	doc/
    	* gdb.texinfo (Symbols In Python): Document lookup_global_symbol.
    	Clarify behaviour of lookup_symbol when `block' argument is omitted,
    	add description of result, fix @defun formatting.
    
    	testsuite/
    	* gdb.python/py-symbol.exp: Test lookup_global_symbol.

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h                          |    2 +-
 gdb/ChangeLog                          |   35 +++
 gdb/NEWS                               |    2 +
 gdb/ax-general.c                       |    1 +
 gdb/breakpoint.c                       |  173 ++++++------
 gdb/doc/ChangeLog                      |   16 ++
 gdb/doc/gdb.texinfo                    |   45 +++-
 gdb/memattr.c                          |   63 +----
 gdb/python/py-symbol.c                 |   34 +++
 gdb/python/python-internal.h           |    2 +
 gdb/python/python.c                    |    4 +
 gdb/testsuite/ChangeLog                |   17 ++
 gdb/testsuite/gdb.base/break.exp       |   88 ++++++
 gdb/testsuite/gdb.base/completion.exp  |    2 +-
 gdb/testsuite/gdb.base/ena-dis-br.exp  |    2 +-
 gdb/testsuite/gdb.base/help.exp        |    8 +-
 gdb/testsuite/gdb.base/memattr.c       |   28 ++
 gdb/testsuite/gdb.base/memattr.exp     |  455 ++++++++++++++++++++++++++++++++
 gdb/testsuite/gdb.python/py-symbol.exp |    7 +
 gdb/testsuite/gdb.trace/infotrace.exp  |    4 +-
 gdb/version.in                         |    2 +-
 include/ChangeLog                      |    9 +
 include/dwarf2.h                       |   93 +-------
 23 files changed, 848 insertions(+), 244 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/memattr.c
 create mode 100644 gdb/testsuite/gdb.base/memattr.exp

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 8301ca0..716679a 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110222
+#define BFD_VERSION_DATE 20110224
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 79fd478..bc358a0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,38 @@
+2011-02-23  Tom Tromey  <tromey@redhat.com>
+
+	* ax-general.c (ax_pick): Add missing newline.
+
+2011-02-23  Michael Snyder  <msnyder@vmware.com>
+
+	* breakpoint.c (breakpoint_1): Change first argument from an int
+	to a char pointer, so that the function now accepts a list of
+	breakpoints rather than just one.  Use new function 
+	'number_is_in_list' to implement.
+	(breakpoints_info): Pass char * instead of int to breakpoint_1.
+	(watchpoints_info): Ditto.
+	(tracepoints_info): Ditto.
+	(maintenance_info_breakpoints): Ditto.
+	(_initialize_breakpoint): Update help strings to reflect the fact
+	that these functions can now take more than one argument.
+	* cli/cli-utils.c (number_is_in_list): New function.
+	* cli/cli-utils.h (number_is_in_list): Export.
+
+2011-02-23  Michael Snyder  <msnyder@vmware.com>
+
+	* memattr.c (mem_enable_command): Use get_number_or_range.
+	(mem_disable_command): Ditto.
+	(mem_delete_command): Ditto.
+	(_initialize_mem): Tweak usage message to reflect multiple
+	arguments.
+
+2011-02-22  Doug Evans  <dje@google.com>
+
+	Add gdb.lookup_global_symbol python function.
+	* NEWS: Add entry.
+	* python/py-symbol.c (gdbpy_lookup_global_symbol): New function.
+	* python/python-internal.h (gdbpy_lookup_global_symbol): Declare it.
+	* python/python.c (GdbMethods): Add entry for lookup_global_symbol.
+
 2011-02-22  Tom Tromey  <tromey@redhat.com>
 
 	* language.c (language_class_name_from_physname): Rename
diff --git a/gdb/NEWS b/gdb/NEWS
index a07d32d..fb36383 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -38,6 +38,8 @@
 
 * Python scripting
 
+  ** New function gdb.lookup_global_symbol looks up a global symbol.
+
   ** GDB values in Python are now callable if the value represents a
      function.  For example, if 'some_value' represents a function that
      takes two integer parameters and returns a value, you can call
diff --git a/gdb/ax-general.c b/gdb/ax-general.c
index 95092e6..62c382c 100644
--- a/gdb/ax-general.c
+++ b/gdb/ax-general.c
@@ -145,6 +145,7 @@ ax_simple (struct agent_expr *x, enum agent_op op)
 
 /* Append a pick operator to EXPR.  DEPTH is the stack item to pick,
    with 0 being top of stack.  */
+
 void
 ax_pick (struct agent_expr *x, int depth)
 {
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 623effa..484a831 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -133,7 +133,8 @@ static void breakpoints_info (char *, int);
 
 static void watchpoints_info (char *, int);
 
-static int breakpoint_1 (int, int, int (*) (const struct breakpoint *));
+static int breakpoint_1 (char *, int, 
+			 int (*) (const struct breakpoint *));
 
 static int breakpoint_cond_eval (void *);
 
@@ -5102,7 +5103,7 @@ user_breakpoint_p (struct breakpoint *b)
    breakpoints listed.  */
 
 static int
-breakpoint_1 (int bnum, int allflag, 
+breakpoint_1 (char *args, int allflag, 
 	      int (*filter) (const struct breakpoint *))
 {
   struct breakpoint *b;
@@ -5119,28 +5120,36 @@ breakpoint_1 (int bnum, int allflag,
      required for address fields.  */
   nr_printable_breakpoints = 0;
   ALL_BREAKPOINTS (b)
-    if (bnum == -1
-	|| bnum == b->number)
-      {
-	/* If we have a filter, only list the breakpoints it accepts.  */
-	if (filter && !filter (b))
-	  continue;
-	
-	if (allflag || user_breakpoint_p (b))
-	  {
-	    int addr_bit, type_len;
+    {
+      /* If we have a filter, only list the breakpoints it accepts.  */
+      if (filter && !filter (b))
+	continue;
+
+      /* If we have an "args" string, it is a list of breakpoints to 
+	 accept.  Skip the others.  */
+      if (args != NULL && *args != '\0')
+	{
+	  if (allflag && parse_and_eval_long (args) != b->number)
+	    continue;
+	  if (!allflag && !number_is_in_list (args, b->number))
+	    continue;
+	}
 
-	    addr_bit = breakpoint_address_bits (b);
-	    if (addr_bit > print_address_bits)
-	      print_address_bits = addr_bit;
+      if (allflag || user_breakpoint_p (b))
+	{
+	  int addr_bit, type_len;
 
-	    type_len = strlen (bptype_string (b->type));
-	    if (type_len > print_type_col_width)
-	      print_type_col_width = type_len;
+	  addr_bit = breakpoint_address_bits (b);
+	  if (addr_bit > print_address_bits)
+	    print_address_bits = addr_bit;
 
-	    nr_printable_breakpoints++;
-	  }
-      }
+	  type_len = strlen (bptype_string (b->type));
+	  if (type_len > print_type_col_width)
+	    print_type_col_width = type_len;
+
+	  nr_printable_breakpoints++;
+	}
+    }
 
   if (opts.addressprint)
     bkpttbl_chain 
@@ -5169,16 +5178,16 @@ breakpoint_1 (int bnum, int allflag,
     annotate_field (3);
   ui_out_table_header (uiout, 3, ui_left, "enabled", "Enb");	/* 4 */
   if (opts.addressprint)
-	{
-	  if (nr_printable_breakpoints > 0)
-	    annotate_field (4);
-	  if (print_address_bits <= 32)
-	    ui_out_table_header (uiout, 10, ui_left, 
-				 "addr", "Address");		/* 5 */
-	  else
-	    ui_out_table_header (uiout, 18, ui_left, 
-				 "addr", "Address");		/* 5 */
-	}
+    {
+      if (nr_printable_breakpoints > 0)
+	annotate_field (4);
+      if (print_address_bits <= 32)
+	ui_out_table_header (uiout, 10, ui_left, 
+			     "addr", "Address");		/* 5 */
+      else
+	ui_out_table_header (uiout, 18, ui_left, 
+			     "addr", "Address");		/* 5 */
+    }
   if (nr_printable_breakpoints > 0)
     annotate_field (5);
   ui_out_table_header (uiout, 40, ui_noalign, "what", "What");	/* 6 */
@@ -5187,22 +5196,34 @@ breakpoint_1 (int bnum, int allflag,
     annotate_breakpoints_table ();
 
   ALL_BREAKPOINTS (b)
-  {
-    QUIT;
-    if (bnum == -1
-	|| bnum == b->number)
-      {
-	/* If we have a filter, only list the breakpoints it accepts.  */
-	if (filter && !filter (b))
-	  continue;
-	
-	/* We only print out user settable breakpoints unless the
-	   allflag is set.  */
-	if (allflag || user_breakpoint_p (b))
-	  print_one_breakpoint (b, &last_loc, print_address_bits, allflag);
-      }
-  }
-  
+    {
+      QUIT;
+      /* If we have a filter, only list the breakpoints it accepts.  */
+      if (filter && !filter (b))
+	continue;
+
+      /* If we have an "args" string, it is a list of breakpoints to 
+	 accept.  Skip the others.  */
+
+      if (args != NULL && *args != '\0')
+	{
+	  if (allflag)	/* maintenance info breakpoint */
+	    {
+	      if (parse_and_eval_long (args) != b->number)
+		continue;
+	    }
+	  else		/* all others */
+	    {
+	      if (!number_is_in_list (args, b->number))
+		continue;
+	    }
+	}
+      /* We only print out user settable breakpoints unless the
+	 allflag is set.  */
+      if (allflag || user_breakpoint_p (b))
+	print_one_breakpoint (b, &last_loc, print_address_bits, allflag);
+    }
+
   do_cleanups (bkpttbl_chain);
 
   if (nr_printable_breakpoints == 0)
@@ -5211,12 +5232,12 @@ breakpoint_1 (int bnum, int allflag,
 	 empty list.  */
       if (!filter)
 	{
-	  if (bnum == -1)
+	  if (args == NULL || *args == '\0')
 	    ui_out_message (uiout, 0, "No breakpoints or watchpoints.\n");
 	  else
 	    ui_out_message (uiout, 0, 
-			    "No breakpoint or watchpoint number %d.\n",
-			    bnum);
+			    "No breakpoint or watchpoint matching '%s'.\n",
+			    args);
 	}
     }
   else
@@ -5252,46 +5273,31 @@ default_collect_info (void)
 }
   
 static void
-breakpoints_info (char *bnum_exp, int from_tty)
+breakpoints_info (char *args, int from_tty)
 {
-  int bnum = -1;
-
-  if (bnum_exp)
-    bnum = parse_and_eval_long (bnum_exp);
-
-  breakpoint_1 (bnum, 0, NULL);
+  breakpoint_1 (args, 0, NULL);
 
   default_collect_info ();
 }
 
 static void
-watchpoints_info (char *wpnum_exp, int from_tty)
+watchpoints_info (char *args, int from_tty)
 {
-  int wpnum = -1, num_printed;
-
-  if (wpnum_exp)
-    wpnum = parse_and_eval_long (wpnum_exp);
-
-  num_printed = breakpoint_1 (wpnum, 0, is_watchpoint);
+  int num_printed = breakpoint_1 (args, 0, is_watchpoint);
 
   if (num_printed == 0)
     {
-      if (wpnum == -1)
+      if (args == NULL || *args == '\0')
 	ui_out_message (uiout, 0, "No watchpoints.\n");
       else
-	ui_out_message (uiout, 0, "No watchpoint number %d.\n", wpnum);
+	ui_out_message (uiout, 0, "No watchpoint matching '%s'.\n", args);
     }
 }
 
 static void
-maintenance_info_breakpoints (char *bnum_exp, int from_tty)
+maintenance_info_breakpoints (char *args, int from_tty)
 {
-  int bnum = -1;
-
-  if (bnum_exp)
-    bnum = parse_and_eval_long (bnum_exp);
-
-  breakpoint_1 (bnum, 1, NULL);
+  breakpoint_1 (args, 1, NULL);
 
   default_collect_info ();
 }
@@ -11510,21 +11516,18 @@ create_tracepoint_from_upload (struct uploaded_tp *utp)
    omitted.  */
 
 static void
-tracepoints_info (char *tpnum_exp, int from_tty)
+tracepoints_info (char *args, int from_tty)
 {
-  int tpnum = -1, num_printed;
-
-  if (tpnum_exp)
-    tpnum = parse_and_eval_long (tpnum_exp);
+  int num_printed;
 
-  num_printed = breakpoint_1 (tpnum, 0, is_tracepoint);
+  num_printed = breakpoint_1 (args, 0, is_tracepoint);
 
   if (num_printed == 0)
     {
-      if (tpnum == -1)
+      if (args == NULL || *args == '\0')
 	ui_out_message (uiout, 0, "No tracepoints.\n");
       else
-	ui_out_message (uiout, 0, "No tracepoint number %d.\n", tpnum);
+	ui_out_message (uiout, 0, "No tracepoint matching '%s'.\n", args);
     }
 
   default_collect_info ();
@@ -12214,7 +12217,7 @@ breakpoint set."));
     }
 
   add_info ("breakpoints", breakpoints_info, _("\
-Status of user-settable breakpoints, or breakpoint number NUMBER.\n\
+Status of specified breakpoints (all user-settable breakpoints if no argument).\n\
 The \"Type\" column indicates one of:\n\
 \tbreakpoint     - normal breakpoint\n\
 \twatchpoint     - watchpoint\n\
@@ -12362,9 +12365,7 @@ the memory to which it refers."));
   set_cmd_completer (c, expression_completer);
 
   add_info ("watchpoints", watchpoints_info, _("\
-Status of watchpoints, or watchpoint number NUMBER."));
-
-
+Status of specified watchpoints (all watchpoints if no argument)."));
 
   /* XXX: cagney/2005-02-23: This should be a boolean, and should
      respond to changes - contrary to the description.  */
@@ -12430,7 +12431,7 @@ Do \"help tracepoints\" for info on other tracepoint commands."));
   set_cmd_completer (c, location_completer);
 
   add_info ("tracepoints", tracepoints_info, _("\
-Status of tracepoints, or tracepoint number NUMBER.\n\
+Status of specified tracepoints (all tracepoints if no argument).\n\
 Convenience variable \"$tpnum\" contains the number of the\n\
 last tracepoint set."));
 
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index ee9a63f..3f91321 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,19 @@
+2011-02-23  Doug Evans  <dje@google.com>
+
+	* gdb.texinfo (Symbols In Python): Fix mention of C++, use C@t{++}.
+
+2011-02-23  Michael Snyder  <msnyder@vmware.com>
+
+	* gdb.texinfo (Set Breaks): Add @dots{} to arguments of info break.
+	(Set Watchpoints): Add @dots{} to argument of info watchpoints.
+	(Listing Tracepoints): Add @dots{} to argument of info tracepoints.
+
+2011-02-22  Doug Evans  <dje@google.com>
+
+	* gdb.texinfo (Symbols In Python): Document lookup_global_symbol.
+	Clarify behaviour of lookup_symbol when `block' argument is omitted,
+	add description of result, fix @defun formatting.
+
 2011-02-21  Hui Zhu  <teawater@gmail.com>
 
 	* agentexpr.texi (Bytecode Descriptions): Add printf.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index f8b7e2d..32d9b44 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -3438,12 +3438,12 @@ optionally be surrounded by spaces.
 
 @kindex info breakpoints
 @cindex @code{$_} and @code{info breakpoints}
-@item info breakpoints @r{[}@var{n}@r{]}
-@itemx info break @r{[}@var{n}@r{]}
+@item info breakpoints @r{[}@var{n}@dots{}@r{]}
+@itemx info break @r{[}@var{n}@dots{}@r{]}
 Print a table of all breakpoints, watchpoints, and catchpoints set and
 not deleted.  Optional argument @var{n} means print information only
-about the specified breakpoint (or watchpoint or catchpoint).  For
-each breakpoint, following columns are printed:
+about the specified breakpoint(s) (or watchpoint(s) or catchpoint(s)).
+For each breakpoint, following columns are printed:
 
 @table @emph
 @item Breakpoint Numbers
@@ -3763,8 +3763,8 @@ by the program.
 Set a watchpoint that will break when @var{expr} is either read from
 or written into by the program.
 
-@kindex info watchpoints @r{[}@var{n}@r{]}
-@item info watchpoints
+@kindex info watchpoints @r{[}@var{n}@dots{}@r{]}
+@item info watchpoints @r{[}@var{n}@dots{}@r{]}
 This command prints a list of watchpoints, using the same format as
 @code{info break} (@pxref{Set Breaks}).
 @end table
@@ -10289,10 +10289,10 @@ tracepoint hit.
 @subsection Listing Tracepoints
 
 @table @code
-@kindex info tracepoints
-@kindex info tp
+@kindex info tracepoints @r{[}@var{n}@dots{}@r{]}
+@kindex info tp @r{[}@var{n}@dots{}@r{]}
 @cindex information about tracepoints
-@item info tracepoints @r{[}@var{num}@r{]}
+@item info tracepoints @r{[}@var{num}@dots{}@r{]}
 Display information about the tracepoint @var{num}.  If you don't
 specify a tracepoint number, displays information about all the
 tracepoints defined so far.  The format is similar to that used for
@@ -22829,7 +22829,7 @@ The following symbol-related functions are available in the @code{gdb}
 module:
 
 @findex gdb.lookup_symbol
-@defun lookup_symbol name [block] [domain]
+@defun lookup_symbol name @r{[}block@r{]} @r{[}domain@r{]}
 This function searches for a symbol by name.  The search scope can be
 restricted to the parameters defined in the optional domain and block
 arguments.
@@ -22837,10 +22837,33 @@ arguments.
 @var{name} is the name of the symbol.  It must be a string.  The
 optional @var{block} argument restricts the search to symbols visible
 in that @var{block}.  The @var{block} argument must be a
-@code{gdb.Block} object.  The optional @var{domain} argument restricts
+@code{gdb.Block} object.  If omitted, the block for the current frame
+is used.  The optional @var{domain} argument restricts
 the search to the domain type.  The @var{domain} argument must be a
 domain constant defined in the @code{gdb} module and described later
 in this chapter.
+
+The result is a tuple of two elements.
+The first element is a @code{gdb.Symbol} object or @code{None} if the symbol
+is not found.
+If the symbol is found, the second element is @code{True} if the symbol
+is a field of a method's object (e.g., @code{this} in C@t{++}),
+otherwise it is @code{False}.
+If the symbol is not found, the second element is @code{False}.
+@end defun
+
+@findex gdb.lookup_global_symbol
+@defun lookup_global_symbol name @r{[}domain@r{]}
+This function searches for a global symbol by name.
+The search scope can be restricted to by the domain argument.
+
+@var{name} is the name of the symbol.  It must be a string.
+The optional @var{domain} argument restricts the search to the domain type.
+The @var{domain} argument must be a domain constant defined in the @code{gdb}
+module and described later in this chapter.
+
+The result is a @code{gdb.Symbol} object or @code{None} if the symbol
+is not found.
 @end defun
 
 A @code{gdb.Symbol} object has the following attributes:
diff --git a/gdb/memattr.c b/gdb/memattr.c
index abf1d00..1a2be8f 100644
--- a/gdb/memattr.c
+++ b/gdb/memattr.c
@@ -27,6 +27,7 @@
 #include "language.h"
 #include "vec.h"
 #include "gdb_string.h"
+#include "breakpoint.h"
 
 const struct mem_attrib default_mem_attrib =
 {
@@ -562,8 +563,6 @@ mem_enable (int num)
 static void
 mem_enable_command (char *args, int from_tty)
 {
-  char *p = args;
-  char *p1;
   int num;
   struct mem_region *m;
   int ix;
@@ -572,26 +571,16 @@ mem_enable_command (char *args, int from_tty)
 
   target_dcache_invalidate ();


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-02-22 22:54 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-02-22 22:54 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  d937037301e40716bd65b32d0296d91824874bbd (commit)
       via  e6401d52cc93dad698d924a430ebdc1295851fba (commit)
       via  9edef16cec41bc434dbae109ddba50c4bebe1ff4 (commit)
       via  6eea50e56d1513d7bd3ce4b6fcef7b04655865d9 (commit)
       via  365d63b832aa8b2453ae06f0d683abb1cb41afa9 (commit)
       via  ffe0466834c4e5186560451ed14f8f8ce5d2b4b3 (commit)
       via  49001b4fddfcffcce7479969494f421af203fe6c (commit)
       via  8cbcaaf7074652836d7180d09a672217b8c7f830 (commit)
       via  7970371c5937ee3eba41b8fc72cde55bb5dab216 (commit)
       via  3aaec028253ae8efaab36e9d25cb1cd33aaf9ec3 (commit)
       via  fcbfed09c4cf9172c609ba576004ceccf6fb4240 (commit)
       via  f8328c019fa3d1289cba7638622f23f6a243ecb5 (commit)
       via  fee1c4201a04318909d343e5494a1d2be0537789 (commit)
       via  2e7b883f5e066072662904d0c17a6297655f3033 (commit)
       via  51663a8310713580f59e3a222bfe73e6096236dc (commit)
       via  8c12a273d73786c32a8a0dd2a3f8f352f8b687a6 (commit)
       via  f49c3f2f3973e0f6b0c639efff4120799ef4f647 (commit)
       via  745bf96b0bd2b2dc7dc6526e938de3713d4ae093 (commit)
      from  e19abaa89e01e07b3cb0cc16b822f232e39e415c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit d937037301e40716bd65b32d0296d91824874bbd
Merge: e19abaa e6401d5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 22 23:54:19 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit e6401d52cc93dad698d924a430ebdc1295851fba
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Feb 22 20:52:45 2011 +0000

    2011-02-22  Michael Snyder  <msnyder@vmware.com>
    
    	* Makefile.in: Make more clean.
    	* gdb.ada/Makefile.in: Ditto.
    	* gdb.arch/Makefile.in: Ditto.
    	* gdb.asm/Makefile.in: Ditto.
    	* gdb.base/Makefile.in: Ditto.
    	* gdb.cp/Makefile.in: Ditto.
    	* gdb.dwarf2/Makefile.in: Ditto.
    	* gdb.java/Makefile.in: Ditto.
    	* gdb.mi/Makefile.in: Ditto.
    	* gdb.modula2/Makefile.in: Ditto.
    	* gdb.python/Makefile.in: Ditto.
    	* gdb.server/Makefile.in: Ditto.
    	* gdb.stabs/Makefile.in: Ditto.
    	* gdb.threads/Makefile.in: Ditto.
    	* gdb.trace/Makefile.in: Ditto.

commit 9edef16cec41bc434dbae109ddba50c4bebe1ff4
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Feb 22 20:52:31 2011 +0000

    opcodes: blackfin: drop null/nul checks in OUTS
    
    Parts of the disassembler rely on the disasm info never being NULL (such
    as being able to read memory to disassemble in the first place).  So drop
    useless null checks in the OUTS helper.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 6eea50e56d1513d7bd3ce4b6fcef7b04655865d9
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Feb 22 20:51:42 2011 +0000

    opcodes: blackfin: use OUTS helper
    
    We have an OUTS helper to handle outf fprintf_func logic, so conver the
    few places not using it over.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 365d63b832aa8b2453ae06f0d683abb1cb41afa9
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Feb 22 18:53:45 2011 +0000

    	* language.c (language_class_name_from_physname): Rename
    	'curr_language' argument to 'lang'; use in body.

commit ffe0466834c4e5186560451ed14f8f8ce5d2b4b3
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Feb 22 18:51:27 2011 +0000

    2011-02-22  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.threads/thread-find.exp: Add tests for bad input to
    	info threads.

commit 49001b4fddfcffcce7479969494f421af203fe6c
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Feb 22 18:45:04 2011 +0000

    2011-02-22  Michael Snyder  <msnyder@vmware.com>
    
    	* cli/cli-utils.c (number_is_in_list): Check for zero return.

commit 8cbcaaf7074652836d7180d09a672217b8c7f830
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Tue Feb 22 17:51:23 2011 +0000

    	gdb/
    	* frame-unwind.h: Fix comment to mention the this frame, not the
    	next.

commit 7970371c5937ee3eba41b8fc72cde55bb5dab216
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue Feb 22 16:39:55 2011 +0000

    allow py-breakpoint.exp to work with software watchpoints
    
    I noticed that the last "maint info breakpoints" test expects the
    output to contain:
    
            .*hw watchpoint.*
    
    But some platforms do not have hw watchpoints (for instance, the
    sim on erc32 doesn't).  So I changed the expected output to accept
    either.
    
    gdb/testsuite/ChangeLog:
    
            * gdb.python/py-breakpoint.exp: Fix the expected output of
            one of the "maint info breakpoints" tests to accept the output
            generated on platforms that do not have hardware watchpoints.

commit 3aaec028253ae8efaab36e9d25cb1cd33aaf9ec3
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue Feb 22 16:39:09 2011 +0000

    small py-breakpoint.exp cleanups
    
    gdb/testsuite/ChangeLog:
    
            * gdb.python/py-breakpoint.exp: Remove unnecessary call to
            clean_restart.  Be a little stricter in the expected output
            for one of the tests.  Fix a typo in one of the comments.

commit fcbfed09c4cf9172c609ba576004ceccf6fb4240
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Feb 22 15:58:33 2011 +0000

    	* symfile.c (auto_solib_limit): Remove.
    	* symfile.h (auto_solib_limit): Remove.

commit f8328c019fa3d1289cba7638622f23f6a243ecb5
Author: Andreas Schwab <schwab@suse.de>
Date:   Tue Feb 22 15:46:11 2011 +0000

    * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): For a TLS_GD
    relocation read the value from the second GOT slot.

commit fee1c4201a04318909d343e5494a1d2be0537789
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue Feb 22 08:01:15 2011 +0000

    minor adjustments in gdb.python/py-block.exp
    
    gdb/testsuite/ChangeLog:
    
            * gdb.python/py-block.exp: Simplify using prepare_for_testing.
            Delete variable binfile, no longer use.  Add or modify test
            comments to make them unique.

commit 2e7b883f5e066072662904d0c17a6297655f3033
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue Feb 22 08:00:23 2011 +0000

    Delete Makefile.in:INSTALLED_LIBS (unused)
    
    gdb/ChangeLog:
    
            * Makefile.in (INSTALLED_LIBS): Delete.  Update comment.

commit 51663a8310713580f59e3a222bfe73e6096236dc
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Feb 22 03:23:17 2011 +0000

    2011-02-21  Michael Snyder  <msnyder@vmware.com>
    
    	* Makefile.in: Update for make clean.
    	* gdb.ada/Makefile.in: Ditto.
    	* gdb.arch/Makefile.in: Ditto.
    	* gdb.asm/Makefile.in: Ditto.
    	* gdb.base/Makefile.in: Ditto.
    	* gdb.cp/Makefile.in: Ditto.
    	* gdb.dwarf2/Makefile.in: Ditto.
    	* gdb.java/Makefile.in: Ditto.
    	* gdb.mi/Makefile.in: Ditto.
    	* gdb.modula2/Makefile.in: Ditto.
    	* gdb.python/Makefile.in: Ditto.
    	* gdb.server/Makefile.in: Ditto.
    	* gdb.stabs/Makefile.in: Ditto.
    	* gdb.threads/Makefile.in: Ditto.
    	* gdb.trace/Makefile.in: Ditto.

commit 8c12a273d73786c32a8a0dd2a3f8f352f8b687a6
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Feb 22 00:00:03 2011 +0000

    *** empty log message ***

commit f49c3f2f3973e0f6b0c639efff4120799ef4f647
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 21 23:40:45 2011 +0000

    2011-02-21  Michael Snyder  <msnyder@vmware.com>
    
    	* gdbthread.h (print_thread_info): Change prototype.
    	* thread.c (print_thread_info): Accept char* instead of int for
    	requested_threads argument.  Use new function number_is_in_list
    	to determine which threads to list.
    	(info_threads_command): Pass char* to print_thread_info.
    	* cli/cli-utils.c (number_is_in_list): New function.
    	* cli/cli-utils.h (number_is_in_list): Export.
    	* mi/mi-main.c (mi_cmd_thread_info): Pass char* to
    	print_thread_info.
    	(print_one_inferior): Ditto.
    	(mi_cmd_list_thread_groups): Ditto.
    
    2011-02-21  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.threads/thread-find.exp: Update patterns for changes in
    	output of "info threads" command.

commit 745bf96b0bd2b2dc7dc6526e938de3713d4ae093
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Feb 21 23:00:05 2011 +0000

    daily update

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                              |    5 ++
 bfd/elf32-m68k.c                           |    7 +++-
 bfd/version.h                              |    2 +-
 gdb/ChangeLog                              |   37 ++++++++++++++++
 gdb/Makefile.in                            |    7 +---
 gdb/cli/cli-utils.c                        |   26 +++++++++++
 gdb/cli/cli-utils.h                        |   10 ++++
 gdb/frame-unwind.h                         |    4 +-
 gdb/gdbthread.h                            |    2 +-
 gdb/language.c                             |    7 +--
 gdb/mi/mi-main.c                           |   11 +---
 gdb/symfile.c                              |   10 ----
 gdb/symfile.h                              |    9 ----
 gdb/testsuite/ChangeLog                    |   64 +++++++++++++++++++++++++++
 gdb/testsuite/Makefile.in                  |   12 +++---
 gdb/testsuite/gdb.ada/Makefile.in          |    3 +-
 gdb/testsuite/gdb.arch/Makefile.in         |    8 ++-
 gdb/testsuite/gdb.asm/Makefile.in          |    4 +-
 gdb/testsuite/gdb.base/Makefile.in         |   65 +++++++++++++++++++++-------
 gdb/testsuite/gdb.cell/Makefile.in         |    2 +-
 gdb/testsuite/gdb.cp/Makefile.in           |   17 ++++++--
 gdb/testsuite/gdb.disasm/Makefile.in       |    2 +-
 gdb/testsuite/gdb.dwarf2/Makefile.in       |    5 +-
 gdb/testsuite/gdb.fortran/Makefile.in      |    2 +-
 gdb/testsuite/gdb.hp/Makefile.in           |    2 +-
 gdb/testsuite/gdb.java/Makefile.in         |    4 +-
 gdb/testsuite/gdb.mi/Makefile.in           |   17 ++++++-
 gdb/testsuite/gdb.modula2/Makefile.in      |    4 +-
 gdb/testsuite/gdb.multi/Makefile.in        |    2 +-
 gdb/testsuite/gdb.objc/Makefile.in         |    2 +-
 gdb/testsuite/gdb.opencl/Makefile.in       |    2 +-
 gdb/testsuite/gdb.opt/Makefile.in          |    2 +-
 gdb/testsuite/gdb.pascal/Makefile.in       |    2 +-
 gdb/testsuite/gdb.python/Makefile.in       |    7 ++-
 gdb/testsuite/gdb.python/py-block.exp      |   20 +++------
 gdb/testsuite/gdb.python/py-breakpoint.exp |    9 +---
 gdb/testsuite/gdb.reverse/Makefile.in      |    2 +-
 gdb/testsuite/gdb.server/Makefile.in       |    4 +-
 gdb/testsuite/gdb.stabs/Makefile.in        |    4 +-
 gdb/testsuite/gdb.threads/Makefile.in      |   15 +++++-
 gdb/testsuite/gdb.threads/thread-find.exp  |   57 ++++++++++++++----------
 gdb/testsuite/gdb.trace/Makefile.in        |    8 +++-
 gdb/testsuite/gdb.xml/Makefile.in          |    2 +-
 gdb/thread.c                               |   36 +++++-----------
 gdb/version.in                             |    2 +-
 opcodes/ChangeLog                          |    8 +++
 opcodes/bfin-dis.c                         |   10 ++--
 47 files changed, 362 insertions(+), 180 deletions(-)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1ab968c..a8907a0 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-22  Andreas Schwab  <schwab@redhat.com>
+
+	* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): For a TLS_GD
+	relocation read the value from the second GOT slot.
+
 2011-02-15  Tristan Gingold  <gingold@adacore.com>
 
 	* vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index 1d9d6a4..b4f7bc2 100644
--- a/bfd/elf32-m68k.c
+++ b/bfd/elf32-m68k.c
@@ -1,6 +1,6 @@
 /* Motorola 68k series support for 32-bit ELF
    Copyright 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
-   2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+   2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -4390,6 +4390,11 @@ elf_m68k_finish_dynamic_symbol (output_bfd, info, h, sym)
 		  break;
 
 		case R_68K_TLS_GD32:
+		  /* The value for this relocation is actually put in
+		     the second GOT slot.  */
+		  relocation = bfd_get_signed_32 (output_bfd,
+						  (sgot->contents
+						   + got_entry_offset + 4));
 		  relocation += dtpoff_base (info);
 		  break;
 
diff --git a/bfd/version.h b/bfd/version.h
index 765f220..8301ca0 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110221
+#define BFD_VERSION_DATE 20110222
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bd4667e..79fd478 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,40 @@
+2011-02-22  Tom Tromey  <tromey@redhat.com>
+
+	* language.c (language_class_name_from_physname): Rename
+	'curr_language' argument to 'lang'; use in body.
+
+2011-02-22  Michael Snyder  <msnyder@vmware.com>
+
+	* cli/cli-utils.c (number_is_in_list): Check for zero return.
+
+2011-02-22  Pedro Alves  <pedro@codesourcery.com>
+
+	* frame-unwind.h: Fix comment to mention the this frame, not the
+	next.
+
+2011-02-22  Tom Tromey  <tromey@redhat.com>
+
+	* symfile.c (auto_solib_limit): Remove.
+	* symfile.h (auto_solib_limit): Remove.
+
+2011-02-22  Joel Brobecker  <brobecker@adacore.com>
+
+	* Makefile.in (INSTALLED_LIBS): Delete.  Update comment.
+
+2011-02-21  Michael Snyder  <msnyder@vmware.com>
+
+	* gdbthread.h (print_thread_info): Change prototype.
+	* thread.c (print_thread_info): Accept char* instead of int for
+	requested_threads argument.  Use new function number_is_in_list
+	to determine which threads to list.
+	(info_threads_command): Pass char* to print_thread_info.
+	* cli/cli-utils.c (number_is_in_list): New function.
+	* cli/cli-utils.h (number_is_in_list): Export.
+	* mi/mi-main.c (mi_cmd_thread_info): Pass char* to 
+	print_thread_info.
+	(print_one_inferior): Ditto.
+	(mi_cmd_list_thread_groups): Ditto.
+
 2011-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	* common/Makefile.in (CFLAGS): New.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index ee79a14..6363773 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -468,13 +468,8 @@ INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(MH_LDFLAGS) $(LDFLAGS) $(CONFIG_
 # it doesn't work, then refer to libiberty.
 
 # Libraries and corresponding dependencies for compiling gdb.
-# {X,T}M_CLIBS, defined in *config files, have host- and target-dependent libs.
+# XM_CLIBS, defined in *config files, have host-dependent libs.
 # LIBIBERTY appears twice on purpose.
-# If you have the Cygnus libraries installed,
-# you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
-INSTALLED_LIBS=-lbfd -lreadline -lopcodes -liberty -ldecnumber \
-	$(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ @PYTHON_LIBS@ \
-	-lintl -liberty $(LIBGNU)
 CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(INTL) $(LIBIBERTY) $(LIBDECNUMBER) \
 	$(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ @PYTHON_LIBS@ \
 	$(LIBEXPAT) \
diff --git a/gdb/cli/cli-utils.c b/gdb/cli/cli-utils.c
index 0c98ca9..34c368b 100644
--- a/gdb/cli/cli-utils.c
+++ b/gdb/cli/cli-utils.c
@@ -161,6 +161,32 @@ get_number_or_range (char **pp)
   return last_retval;
 }
 
+/* Accept a number and a string-form list of numbers such as is 
+   accepted by get_number_or_range.  Return TRUE if the number is
+   in the list.
+
+   By definition, an empty list includes all numbers.  This is to 
+   be interpreted as typing a command such as "delete break" with 
+   no arguments.  */
+
+int
+number_is_in_list (char *list, int number)
+{
+  if (list == NULL || *list == '\0')
+    return 1;
+
+  while (*list != '\0')
+    {
+      int gotnum = get_number_or_range (&list);
+
+      if (gotnum == 0)
+	error (_("Args must be numbers or '$' variables."));
+      if (gotnum == number)
+	return 1;
+    }
+  return 0;
+}
+
 /* See documentation in cli-utils.h.  */
 
 char *
diff --git a/gdb/cli/cli-utils.h b/gdb/cli/cli-utils.h
index e79b82e..6158999 100644
--- a/gdb/cli/cli-utils.h
+++ b/gdb/cli/cli-utils.h
@@ -45,6 +45,16 @@ extern int get_number (char **);
 
 extern int get_number_or_range (char **);
 
+/* Accept a number and a string-form list of numbers such as is 
+   accepted by get_number_or_range.  Return TRUE if the number is
+   in the list.
+
+   By definition, an empty list includes all numbers.  This is to 
+   be interpreted as typing a command such as "delete break" with 
+   no arguments.  */
+
+extern int number_is_in_list (char *list, int number);
+
 /* Skip leading whitespace characters in INP, returning an updated
    pointer.  If INP is NULL, return NULL.  */
 
diff --git a/gdb/frame-unwind.h b/gdb/frame-unwind.h
index 3fe31f0..2bd8046 100644
--- a/gdb/frame-unwind.h
+++ b/gdb/frame-unwind.h
@@ -33,8 +33,8 @@ struct value;
 
 /* The following unwind functions assume a chain of frames forming the
    sequence: (outer) prev <-> this <-> next (inner).  All the
-   functions are called with the next frame's `struct frame_info'
-   and this frame's prologue cache.
+   functions are called with this frame's `struct frame_info' and
+   prologue cache.
 
    THIS frame's register values can be obtained by unwinding NEXT
    frame's registers (a recursive operation).
diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h
index ddb7b0f..43db95a 100644
--- a/gdb/gdbthread.h
+++ b/gdb/gdbthread.h
@@ -377,7 +377,7 @@ extern struct cmd_list_element *thread_cmd_list;
    `set print thread-events'.  */
 extern int print_thread_events;
 
-extern void print_thread_info (struct ui_out *uiout, int thread,
+extern void print_thread_info (struct ui_out *uiout, char *threads,
 			       int pid);
 
 extern struct cleanup *make_cleanup_restore_current_thread (void);
diff --git a/gdb/language.c b/gdb/language.c
index 2ff77f5..825c02d 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -1014,12 +1014,11 @@ language_demangle (const struct language_defn *current_language,
 
 /* Return class name from physname or NULL.  */
 char *
-language_class_name_from_physname (const struct language_defn *curr_language,
+language_class_name_from_physname (const struct language_defn *lang,
 				   const char *physname)
 {
-  if (current_language != NULL
-      && current_language->la_class_name_from_physname)
-    return current_language->la_class_name_from_physname (physname);
+  if (lang != NULL && lang->la_class_name_from_physname)
+    return lang->la_class_name_from_physname (physname);
   return NULL;
 }
 
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 1f1b712..6ffe207 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -503,15 +503,10 @@ mi_cmd_thread_list_ids (char *command, char **argv, int argc)
 void
 mi_cmd_thread_info (char *command, char **argv, int argc)
 {
-  int thread = -1;
-  
   if (argc != 0 && argc != 1)
     error ("Invalid MI command");
 
-  if (argc == 1)
-    thread = atoi (argv[0]);
-
-  print_thread_info (uiout, thread, -1);
+  print_thread_info (uiout, argv[0], -1);
 }
 
 struct collect_cores_data
@@ -607,7 +602,7 @@ print_one_inferior (struct inferior *inferior, void *xdata)
 	}
 
       if (top_data->recurse)
-	print_thread_info (uiout, -1, inferior->pid);
+	print_thread_info (uiout, NULL, inferior->pid);
 
       do_cleanups (back_to);
     }
@@ -872,7 +867,7 @@ mi_cmd_list_thread_groups (char *command, char **argv, int argc)
       if (!inf)
 	error ("Non-existent thread group id '%d'", id);
       
-      print_thread_info (uiout, -1, inf->pid);
+      print_thread_info (uiout, NULL, inf->pid);
     }
   else
     {
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 9ebe050..579aaa4 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -176,16 +176,6 @@ show_symbol_reloading (struct ui_file *file, int from_tty,
    report all the functions that are actually present.  */
 
 int auto_solib_add = 1;
-
-/* For systems that support it, a threshold size in megabytes.  If
-   automatically adding a new library's symbol table to those already
-   known to the debugger would cause the total shared library symbol
-   size to exceed this threshhold, then the shlib's symbols are not
-   added.  The threshold is ignored if the user explicitly asks for a
-   shlib to be added, such as when using the "sharedlibrary"
-   command.  */
-
-int auto_solib_limit;
 \f
 
 /* Make a null terminated copy of the string at PTR with SIZE characters in
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 1e8c7ab..4d56341 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -475,15 +475,6 @@ extern char *obconcat (struct obstack *obstackp, ...) ATTRIBUTE_SENTINEL;
 
 extern int auto_solib_add;
 
-/* For systems that support it, a threshold size in megabytes.  If
-   automatically adding a new library's symbol table to those already
-   known to the debugger would cause the total shared library symbol
-   size to exceed this threshhold, then the shlib's symbols are not
-   added.  The threshold is ignored if the user explicitly asks for a
-   shlib to be added, such as when using the "sharedlibrary" command.  */
-
-extern int auto_solib_limit;
-
 /* From symfile.c */
 
 extern void set_initial_language (void);
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index b498f4b..86a176c 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,67 @@
+2011-02-22  Michael Snyder  <msnyder@vmware.com>
+
+	* Makefile.in: Make more clean.
+	* gdb.ada/Makefile.in: Ditto.
+	* gdb.arch/Makefile.in: Ditto.
+	* gdb.asm/Makefile.in: Ditto.
+	* gdb.base/Makefile.in: Ditto.
+	* gdb.cp/Makefile.in: Ditto.
+	* gdb.dwarf2/Makefile.in: Ditto.
+	* gdb.java/Makefile.in: Ditto.
+	* gdb.mi/Makefile.in: Ditto.
+	* gdb.modula2/Makefile.in: Ditto.
+	* gdb.python/Makefile.in: Ditto.
+	* gdb.server/Makefile.in: Ditto.
+	* gdb.stabs/Makefile.in: Ditto.
+	* gdb.threads/Makefile.in: Ditto.
+	* gdb.trace/Makefile.in: Ditto.
+
+2011-02-22  Michael Snyder  <msnyder@vmware.com>
+
+	* gdb.threads/thread-find.exp: Add tests for bad input to 
+	info threads.
+
+2011-02-22  Joel Brobecker  <brobecker@adacore.com>
+
+	* gdb.python/py-breakpoint.exp: Fix the expected output of
+	one of the "maint info breakpoints" tests to accept the output
+	generated on platforms that do not have hardware watchpoints.
+
+2011-02-22  Joel Brobecker  <brobecker@adacore.com>
+
+	* gdb.python/py-breakpoint.exp: Remove unnecessary call to
+	clean_restart.  Be a little stricter in the expected output
+	for one of the tests.  Fix a typo in one of the comments.
+
+2011-02-22  Joel Brobecker  <brobecker@adacore.com>
+
+	* gdb.python/py-block.exp: Simplify using prepare_for_testing.
+	Delete variable binfile, no longer use.  Add or modify test
+	comments to make them unique.
+
+2011-02-21  Michael Snyder  <msnyder@vmware.com>
+
+	* Makefile.in: Update for make clean.
+	* gdb.ada/Makefile.in: Ditto.
+	* gdb.arch/Makefile.in: Ditto.
+	* gdb.asm/Makefile.in: Ditto.
+	* gdb.base/Makefile.in: Ditto.
+	* gdb.cp/Makefile.in: Ditto.
+	* gdb.dwarf2/Makefile.in: Ditto.
+	* gdb.java/Makefile.in: Ditto.
+	* gdb.mi/Makefile.in: Ditto.
+	* gdb.modula2/Makefile.in: Ditto.
+	* gdb.python/Makefile.in: Ditto.
+	* gdb.server/Makefile.in: Ditto.
+	* gdb.stabs/Makefile.in: Ditto.
+	* gdb.threads/Makefile.in: Ditto.
+	* gdb.trace/Makefile.in: Ditto.
+
+2011-02-21  Michael Snyder  <msnyder@vmware.com>
+
+	* gdb.threads/thread-find.exp: Update patterns for changes in
+	output of "info threads" command.
+
 2011-02-21  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
 	    Ulrich Weigand  <uweigand@de.ibm.com>
 
diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in
index c1356c5..17d0b1a 100644
--- a/gdb/testsuite/Makefile.in
+++ b/gdb/testsuite/Makefile.in
@@ -33,11 +33,10 @@ SHELL = @SHELL@
 EXEEXT = @EXEEXT@
 SUBDIRS = @subdirs@
 RPATH_ENVVAR = @RPATH_ENVVAR@
-ALL_SUBDIRS = gdb.ada gdb.arch gdb.asm gdb.base gdb.cp gdb.disasm \
-	gdb.dwarf2 \
-	gdb.fortran gdb.server gdb.java gdb.mi gdb.multi \
-	gdb.objc gdb.opencl gdb.opt gdb.pascal gdb.python gdb.threads \
-	gdb.trace gdb.xml \
+ALL_SUBDIRS = gdb.ada gdb.arch gdb.asm gdb.base gdb.cell gdb.cp gdb.disasm \
+	gdb.dwarf2 gdb.fortran gdb.gdb gdb.java gdb.mi gdb.modula2 gdb.multi \
+	gdb.objc gdb.opencl gdb.opt gdb.pascal gdb.python gdb.server \
+	gdb.reverse gdb.threads gdb.trace gdb.xml \
 	$(SUBDIRS)
 
 EXPECT = `if [ -f $${rootme}/../../expect/expect ] ; then \
@@ -212,7 +211,8 @@ subdirs:
 	done
 
 clean mostlyclean:
-	-rm -f *~ core *.o a.out xgdb *.x *.grt
+	-rm -f *~ core *.o a.out xgdb *.x *.grt bigcore.corefile .gdb_history
+	-rm -f core.* *.tf *.cl *.py tracecommandsscript copy1.txt zzz-gdbscript
 	if [ x"${ALL_SUBDIRS}" != x ] ; then \
 	    for dir in ${ALL_SUBDIRS}; \
 	    do \
diff --git a/gdb/testsuite/gdb.ada/Makefile.in b/gdb/testsuite/gdb.ada/Makefile.in
index 80d6d94..9b8a417 100644
--- a/gdb/testsuite/gdb.ada/Makefile.in
+++ b/gdb/testsuite/gdb.ada/Makefile.in
@@ -24,6 +24,7 @@ EXECUTABLES = \
   fun_in_declare/foo \
   funcall_param/foo \
   homonym/homonym_main \
+  info_types \
   interface/foo \
   lang_switch/lang_switch \
   nested/hello \
@@ -59,5 +60,5 @@ clean mostlyclean:
 distclean maintainer-clean realclean: clean
 	-rm -f *~ core
 	-rm -f Makefile config.status config.log
-	-rm -f *-init.exp
+	-rm -f *-init.exp gdb.log gdb.sum
 	-rm -fr *.log summary detail *.plog *.sum *.psum site.*
diff --git a/gdb/testsuite/gdb.arch/Makefile.in b/gdb/testsuite/gdb.arch/Makefile.in
index 4c47272..b30af2b 100644
--- a/gdb/testsuite/gdb.arch/Makefile.in
+++ b/gdb/testsuite/gdb.arch/Makefile.in
@@ -1,17 +1,19 @@
 VPATH = @srcdir@
 srcdir = @srcdir@
 
-EXECUTABLES = altivec-abi altivec-regs
+EXECUTABLES = altivec-abi altivec-regs amd64-byte amd64-disp-step \
+	amd64-dword amd64-i386-address amd64-word i386-permbkpt \
+	i386-signal i386-sse
 
 all info install-info dvi install uninstall installcheck check:
 	@echo "Nothing to be done for $@..."
 
 clean mostlyclean:
-	-rm -f *~ *.o a.out *.x *.ci *.tmp
+	-rm -f *~ *.o a.out *.x *.ci *.tmp gcore.test system-gcore
 	-rm -f core core.coremaker coremaker.core corefile $(EXECUTABLES)
 
 distclean maintainer-clean realclean: clean
 	-rm -f *~ core
 	-rm -f Makefile config.status config.log
-	-rm -f *-init.exp
+	-rm -f *-init.exp gdb.log gdb.sum
 	-rm -fr *.log summary detail *.plog *.sum *.psum site.*
diff --git a/gdb/testsuite/gdb.asm/Makefile.in b/gdb/testsuite/gdb.asm/Makefile.in
index d1c71b4..3e2162d 100644
--- a/gdb/testsuite/gdb.asm/Makefile.in
+++ b/gdb/testsuite/gdb.asm/Makefile.in
@@ -1,7 +1,7 @@
 VPATH = @srcdir@
 srcdir = @srcdir@
 
-EXECUTABLES =
+EXECUTABLES = asm-source
 MISCELLANEOUS = arch.inc
 
 all info install-info dvi install uninstall installcheck check:
@@ -15,5 +15,5 @@ clean mostlyclean:
 distclean maintainer-clean realclean: clean
 	-rm -f *~ core
 	-rm -f Makefile config.status config.log
-	-rm -f *-init.exp
+	-rm -f *-init.exp gdb.log gdb.sum
 	-rm -fr *.log summary detail *.plog *.sum *.psum site.*
diff --git a/gdb/testsuite/gdb.base/Makefile.in b/gdb/testsuite/gdb.base/Makefile.in
index 57fc572..e80209a 100644
--- a/gdb/testsuite/gdb.base/Makefile.in
+++ b/gdb/testsuite/gdb.base/Makefile.in
@@ -1,22 +1,55 @@
 VPATH = @srcdir@
 srcdir = @srcdir@
 
-EXECUTABLES = all-types annota1 bitfields break \
-	call-ar-st call-rt-st call-strs callfuncs callfwmall \
-	chng-syms commands compiler condbreak constvars coremaker \
-	dbx-test display ending-run execd-prog exprs \
-	foll-exec foll-fork foll-vfork funcargs int-type interrupt jump \
-	langs list long_long mips_pro miscexprs nodebug opaque overlays \
-	pointers pointers2 printcmds ptype \
-	recurse reread reread1 restore return run \
-	scope section_command setshow setvar shmain sigall signals \
-	solib solib_sl so-impl-ld so-indr-cl \
-	step-line step-test structs structs2 \
-	twice-tmp varargs vforked-prog watchpoint whatis catch-syscall \
+EXECUTABLES = a2-run advance all-types annota1 annota1-watch_thread_num \
+	annota3 anon args arrayidx async attach attach-pie-misread \
+	attach2 auxv bang\! bfp-test bigcore bitfields bitfields2 \
+	break break-always break-entry break-interp-test breako2 \
+	breakpoint-shadow call-ar-st call-rt-st call-sc-t* call-signals \
+	call-strs callexit callfuncs callfwmall charset checkpoint \
+	chng-syms code_elim1 code_elim2 commands compiler complex \
+	condbreak consecutive constvars coremaker cursal cvexpr \
+	dbx-test del disasm-end-cu display dump dup-sect dup-sect.debug \
+	dup-sect.stripped ending-run execd-prog expand-psymtabs exprs \
+	fileio find finish fixsection float foll-exec foll-fork foll-vfork \
+	frame-args freebpcmd fullname funcargs gcore \
+	gcore-buffer-overflow-012* \
+	gdb1090 gdb11530 gdb11531 gdb1250 gdb1555-main gdb1821 gdbvars \
+	hashline1 hashline2 hashline3 hbreak hook-stop-continue \


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-02-21 21:35 muller
  0 siblings, 0 replies; 45+ messages in thread
From: muller @ 2011-02-21 21:35 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  e19abaa89e01e07b3cb0cc16b822f232e39e415c (commit)
       via  30aedc58ccd6255776ad3831284f1e5b19d4e01b (commit)
       via  dd3f1356fc2e6ddae18b8b6546f1917044d69869 (commit)
       via  0c45489a6b7c9326056f264e12f9492e126ea51f (commit)
       via  4d92d16206a7d0b937a99e411f4736211b721170 (commit)
       via  a952e3efc0bfe5a411d1ab1d5cd9cd4481a018e3 (commit)
       via  516f41a9b45b2e850451281b99845e7d8715eb51 (commit)
       via  c2a331df48eb76888a60c8598ec85396089eed73 (commit)
       via  2b9e872152e4d85fd7a8dd15cd8375ada410c5d8 (commit)
       via  0bc3930dd359f4e7d15ef37e806d84719529a108 (commit)
       via  0b0b05ff3863e6c52f28c6d1a7ee29d49349eddd (commit)
       via  8124578162a4eb352cc0e837b7f62e0297a99b33 (commit)
      from  09363f5ea451879d3bc391b32385a58c58021ebb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit e19abaa89e01e07b3cb0cc16b822f232e39e415c
Merge: 09363f5 30aedc5
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Mon Feb 21 22:33:26 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit 30aedc58ccd6255776ad3831284f1e5b19d4e01b
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Feb 21 20:04:24 2011 +0000

    gdb/
    	* common/Makefile.in (CFLAGS): New.
    	(COMPILE): Add $(CFLAGS).

commit dd3f1356fc2e6ddae18b8b6546f1917044d69869
Author: Jim Meyering <meyering@redhat.com>
Date:   Mon Feb 21 19:33:31 2011 +0000

    maint: remove stray Insight files per request:
    
    See this thread for details:
    http://thread.gmane.org/gmane.comp.gdb.patches/61489/focus=63536
    
    * gdb/testsuite/gdb.gdbtk/ChangeLog: Remove file.
    * gdb/testsuite/gdb.gdbtk/browser.exp: Likewise.
    * gdb/testsuite/gdb.gdbtk/c_variable.exp: Likewise.
    * gdb/testsuite/gdb.gdbtk/console.exp: Likewise.
    * gdb/testsuite/gdb.gdbtk/cpp_variable.exp: Likewise.
    * gdb/testsuite/gdb.gdbtk/srcwin.exp: Likewise.
    * gdb/testsuite/gdb.gdbtk/windows.exp: Likewise.

commit 0c45489a6b7c9326056f264e12f9492e126ea51f
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Feb 21 18:40:07 2011 +0000

    	* breakpoint.c (catch_syscall_command_1): Fix typo.

commit 4d92d16206a7d0b937a99e411f4736211b721170
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon Feb 21 18:13:15 2011 +0000

    	* reverse.c: Include cli-utils.h.
    	* printcmd.c: Include cli-utils.h.
    	(string_printf): Use skip_spaces.
    	* cli/cli-utils.h: New file.
    	* cli/cli-utils.c: New file.
    	* cli/cli-dump.h (skip_spaces): Move to cli-utils.h.
    	* cli/cli-dump.c (skip_spaces): Move to cli-utils.c.
    	* breakpoint.h (get_number, get_number_or_range): Move to
    	cli-utils.h.
    	* breakpoint.c: Include cli-utils.h.
    	(get_number_trailer, get_number, get_number_or_range)
    	(ep_skip_leading_whitespace): Move to cli-utils.c.
    	(create_breakpoint_sal, find_condition_and_thread)
    	(decode_static_tracepoint_spec, watch_command_1)
    	(watch_maybe_just_location, ep_parse_optional_if_clause)
    	(catch_fork_command_1, catch_exec_command_1)
    	(catch_syscall_command_1): Use skip_spaces, skip_to_space.
    	* Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o.
    	(SUBDIR_CLI_SRCS): Add cli-utils.c.
    	(HFILES_NO_SRCDIR): Add cli-utils.h.
    	(cli-utils.o): New target.

commit a952e3efc0bfe5a411d1ab1d5cd9cd4481a018e3
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Mon Feb 21 15:56:16 2011 +0000

    	* remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID
    	before calling discard_all_inferiors.

commit 516f41a9b45b2e850451281b99845e7d8715eb51
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Mon Feb 21 15:53:09 2011 +0000

    	* opencl-lang.c (STRUCT_OCL_TYPE): Remove.
    	(struct builtin_opencl_type): Remove.
    	(builtin_opencl_type): Change return type to "struct type **".
    	(lookup_opencl_vector_type): Update caller.
    	(opencl_language_arch_info): Copy primitive type vector from gdbarch.
    	(build_opencl_types): Install plain array of "struct type *"
    	instead of "struct builtin_opencl_type".

commit c2a331df48eb76888a60c8598ec85396089eed73
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Mon Feb 21 15:03:37 2011 +0000

    ChangeLog:
    
    	* arm-linux-nat.c: Include "observer.h" and "gdbthread.h".
    	(PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define.
    	(struct arm_linux_hwbp_cap): New type.
    	(arm_linux_get_hwbp_cap): New function.
    	(arm_linux_get_hw_breakpoint_count): Likewise.
    	(arm_linux_get_hw_watchpoint_count): Likewise.
    	(arm_linux_can_use_hw_breakpoint): Likewise.
    	(arm_hwbp_type): New type.
    	(arm_hwbp_control_t): Likewise.
    	(struct arm_linux_hw_breakpoint): Likewise.
    	(struct arm_linux_thread_points): Likewise.
    	(arm_threads): New global variable.
    	(arm_linux_find_breakpoints_by_tid): New function.
    	(arm_hwbp_control_initialize): Likewise.
    	(arm_hwbp_control_is_enabled): Likewise.
    	(arm_hwbp_control_disable): Likewise.
    	(arm_linux_hw_breakpoint_initialize): Likewise.
    	(arm_linux_get_hwbp_type): Likewise.
    	(arm_linux_hw_watchpoint_initialize): Likewise.
    	(arm_linux_hw_breakpoint_equal): Likewise.
    	(arm_linux_insert_hw_breakpoint1): Likewise.
    	(arm_linux_remove_hw_breakpoint1): Likewise.
    	(arm_linux_insert_hw_breakpoint): Likewise.
    	(arm_linux_remove_hw_breakpoint): Likewise.
    	(arm_linux_region_ok_for_hw_watchpoint): Likewise.
    	(arm_linux_insert_watchpoint): Likewise.
    	(arm_linux_remove_watchpoint): Likewise.
    	(arm_linux_stopped_data_address): Likewise.
    	(arm_linux_stopped_by_watchpoint): Likewise.
    	(arm_linux_watchpoint_addr_within_range): Likewise.
    	(arm_linux_new_thread): Likewise.
    	(arm_linux_thread_exit): Likewise.
    	(_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint
    	related target callbacks.  Register arm_linux_new_thread and
    	arm_linux_thread_exit.
    	* arm-tdep.h (arm_pc_is_thumb): Add prototype.
    	* arm-tdep.c (arm_pc_is_thumb): Make global.
    	(arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint.
    
    testsuite/ChangeLog:
    
    	* lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
    	(skip_hw_watchpoint_tests): Likewise.
    	(skip_hw_watchpoint_multi_tests): Likewise.

commit 2b9e872152e4d85fd7a8dd15cd8375ada410c5d8
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Mon Feb 21 14:59:31 2011 +0000

    	* breakpoint.c (update_watchpoint): Do not attempt to recreate
    	per-frame locations while within a function epilogue.

commit 0bc3930dd359f4e7d15ef37e806d84719529a108
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Mon Feb 21 14:57:37 2011 +0000

    	* lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
    	(skip_hw_watchpoint_tests): Likewise.
    	(skip_hw_watchpoint_multi_tests): Likewise.
    	(skip_hw_watchpoint_access_tests): Likewise.
    
    	* gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
    	* gdb.base/pr11022.exp: Likewise.
    	* gdb.base/watch-read.exp: Likewise.
    	* gdb.base/watch_thread_num.exp: Likewise.
    	* gdb.base/watchpoint-hw-hit-once.exp: Likewise.
    	* gdb.base/watchpoint-hw.exp: Likewise.
    	* gdb.base/watchpoint.exp: Likewise.
    	* gdb.threads/local-watch-wrong-thread.exp: Likewise.
    	* gdb.threads/watchthreads-reorder.exp: Likewise.
    	* gdb.threads/watchthreads.exp: Likewise.
    	* gdb.threads/watchthreads2.exp: Likewise.

commit 0b0b05ff3863e6c52f28c6d1a7ee29d49349eddd
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Mon Feb 21 13:40:31 2011 +0000

    	* ser-mingw.c (ser_windows_close): Reformat comment to better conform
    	to GNU coding standards.

commit 8124578162a4eb352cc0e837b7f62e0297a99b33
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Mon Feb 21 11:47:10 2011 +0000

    	Allow use of mingw native on Windows 95 OS.
    	* src/gdb/ser-mingw.c (CancelIo): New macro for dynamically loaded
    	DLL entry.
    	(ser_windows_close): Only call CancelIo if function exists.
    	(_initialize_ser_windows): Use LoadLirary/GetProcAddress
    	to check for existence of CancelIo function in kernel32 DLL.

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog                                      |  108 ++++
 gdb/Makefile.in                                    |   10 +-
 gdb/arm-linux-nat.c                                |  580 ++++++++++++++++++++
 gdb/arm-tdep.c                                     |    5 +-
 gdb/arm-tdep.h                                     |    4 +
 gdb/breakpoint.c                                   |  232 +-------
 gdb/breakpoint.h                                   |    4 -
 gdb/cli/cli-dump.c                                 |   11 +-
 gdb/cli/cli-dump.h                                 |    2 -
 gdb/cli/cli-utils.c                                |  186 +++++++
 gdb/cli/cli-utils.h                                |   58 ++
 gdb/common/Makefile.in                             |    7 +-
 gdb/opencl-lang.c                                  |  186 ++-----
 gdb/printcmd.c                                     |   11 +-
 gdb/remote.c                                       |    6 +-
 gdb/reverse.c                                      |    1 +
 gdb/ser-mingw.c                                    |   26 +-
 gdb/testsuite/ChangeLog                            |   26 +
 gdb/testsuite/gdb.base/hbreak.exp                  |    8 +-
 gdb/testsuite/gdb.base/pr11022.exp                 |    6 +-
 gdb/testsuite/gdb.base/watch-read.exp              |    5 +-
 gdb/testsuite/gdb.base/watch_thread_num.exp        |    4 +-
 gdb/testsuite/gdb.base/watchpoint-hw-hit-once.exp  |    8 +-
 gdb/testsuite/gdb.base/watchpoint-hw.exp           |    9 +-
 gdb/testsuite/gdb.base/watchpoint.exp              |    8 +-
 gdb/testsuite/gdb.gdbtk/ChangeLog                  |  367 -------------
 gdb/testsuite/gdb.gdbtk/browser.exp                |   39 --
 gdb/testsuite/gdb.gdbtk/c_variable.exp             |   40 --
 gdb/testsuite/gdb.gdbtk/console.exp                |   40 --
 gdb/testsuite/gdb.gdbtk/cpp_variable.exp           |   46 --
 gdb/testsuite/gdb.gdbtk/srcwin.exp                 |   69 ---
 gdb/testsuite/gdb.gdbtk/windows.exp                |   39 --
 .../gdb.threads/local-watch-wrong-thread.exp       |    4 +-
 gdb/testsuite/gdb.threads/watchthreads-reorder.exp |    5 +-
 gdb/testsuite/gdb.threads/watchthreads.exp         |    4 +-
 gdb/testsuite/gdb.threads/watchthreads2.exp        |    4 +-
 gdb/testsuite/lib/gdb.exp                          |   73 +++
 37 files changed, 1192 insertions(+), 1049 deletions(-)
 create mode 100644 gdb/cli/cli-utils.c
 create mode 100644 gdb/cli/cli-utils.h
 delete mode 100644 gdb/testsuite/gdb.gdbtk/ChangeLog
 delete mode 100644 gdb/testsuite/gdb.gdbtk/browser.exp
 delete mode 100644 gdb/testsuite/gdb.gdbtk/c_variable.exp
 delete mode 100644 gdb/testsuite/gdb.gdbtk/console.exp
 delete mode 100644 gdb/testsuite/gdb.gdbtk/cpp_variable.exp
 delete mode 100644 gdb/testsuite/gdb.gdbtk/srcwin.exp
 delete mode 100644 gdb/testsuite/gdb.gdbtk/windows.exp

First 500 lines of diff:
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 84256b9..bd4667e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,111 @@
+2011-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* common/Makefile.in (CFLAGS): New.
+	(COMPILE): Add $(CFLAGS).
+
+2011-02-21  Tom Tromey  <tromey@redhat.com>
+
+	* breakpoint.c (catch_syscall_command_1): Fix typo.
+
+2011-02-21  Tom Tromey  <tromey@redhat.com>
+
+	* reverse.c: Include cli-utils.h.
+	* printcmd.c: Include cli-utils.h.
+	(string_printf): Use skip_spaces.
+	* cli/cli-utils.h: New file.
+	* cli/cli-utils.c: New file.
+	* cli/cli-dump.h (skip_spaces): Move to cli-utils.h.
+	* cli/cli-dump.c (skip_spaces): Move to cli-utils.c.
+	* breakpoint.h (get_number, get_number_or_range): Move to
+	cli-utils.h.
+	* breakpoint.c: Include cli-utils.h.
+	(get_number_trailer, get_number, get_number_or_range)
+	(ep_skip_leading_whitespace): Move to cli-utils.c.
+	(create_breakpoint_sal, find_condition_and_thread)
+	(decode_static_tracepoint_spec, watch_command_1)
+	(watch_maybe_just_location, ep_parse_optional_if_clause)
+	(catch_fork_command_1, catch_exec_command_1)
+	(catch_syscall_command_1): Use skip_spaces, skip_to_space.
+	* Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o.
+	(SUBDIR_CLI_SRCS): Add cli-utils.c.
+	(HFILES_NO_SRCDIR): Add cli-utils.h.
+	(cli-utils.o): New target.
+
+2011-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	* remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID
+	before calling discard_all_inferiors.
+
+2011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* opencl-lang.c (STRUCT_OCL_TYPE): Remove.
+	(struct builtin_opencl_type): Remove.
+	(builtin_opencl_type): Change return type to "struct type **".
+	(lookup_opencl_vector_type): Update caller.
+	(opencl_language_arch_info): Copy primitive type vector from gdbarch.
+	(build_opencl_types): Install plain array of "struct type *"
+	instead of "struct builtin_opencl_type".
+
+2011-02-21  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
+	    Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* arm-linux-nat.c: Include "observer.h" and "gdbthread.h".
+	(PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define.
+	(struct arm_linux_hwbp_cap): New type.
+	(arm_linux_get_hwbp_cap): New function.
+	(arm_linux_get_hw_breakpoint_count): Likewise.
+	(arm_linux_get_hw_watchpoint_count): Likewise.
+	(arm_linux_can_use_hw_breakpoint): Likewise.
+	(arm_hwbp_type): New type.
+	(arm_hwbp_control_t): Likewise.
+	(struct arm_linux_hw_breakpoint): Likewise.
+	(struct arm_linux_thread_points): Likewise.
+	(arm_threads): New global variable.
+	(arm_linux_find_breakpoints_by_tid): New function.
+	(arm_hwbp_control_initialize): Likewise.
+	(arm_hwbp_control_is_enabled): Likewise.
+	(arm_hwbp_control_disable): Likewise.
+	(arm_linux_hw_breakpoint_initialize): Likewise.
+	(arm_linux_get_hwbp_type): Likewise.
+	(arm_linux_hw_watchpoint_initialize): Likewise.
+	(arm_linux_hw_breakpoint_equal): Likewise.
+	(arm_linux_insert_hw_breakpoint1): Likewise.
+	(arm_linux_remove_hw_breakpoint1): Likewise.
+	(arm_linux_insert_hw_breakpoint): Likewise.
+	(arm_linux_remove_hw_breakpoint): Likewise.
+	(arm_linux_region_ok_for_hw_watchpoint): Likewise.
+	(arm_linux_insert_watchpoint): Likewise.
+	(arm_linux_remove_watchpoint): Likewise.
+	(arm_linux_stopped_data_address): Likewise.
+	(arm_linux_stopped_by_watchpoint): Likewise.
+	(arm_linux_watchpoint_addr_within_range): Likewise.
+	(arm_linux_new_thread): Likewise.
+	(arm_linux_thread_exit): Likewise.
+	(_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint
+	related target callbacks.  Register arm_linux_new_thread and
+	arm_linux_thread_exit.
+	* arm-tdep.h (arm_pc_is_thumb): Add prototype.
+	* arm-tdep.c (arm_pc_is_thumb): Make global.
+	(arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint.
+
+2011-02-21  Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* breakpoint.c (update_watchpoint): Do not attempt to recreate
+	per-frame locations while within a function epilogue.
+
+2011-02-21  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	* ser-mingw.c (ser_windows_close): Reformat comment to better conform
+	to GNU coding standards.
+
+2011-02-21  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	Allow use of mingw native on Windows 95 OS.
+	* ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry.
+	(ser_windows_close): Only call CancelIo if function exists.
+	(_initialize_ser_windows): Use LoadLirary/GetProcAddress
+	to check for existence of CancelIo function in kernel32 DLL.
+
 2011-02-21  Hui Zhu  <teawater@gmail.com>
 
 	* Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 8d1cc26..ee79a14 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -193,12 +193,12 @@ SUBDIR_CLI_OBS = \
 	cli-dump.o \
 	cli-decode.o cli-script.o cli-cmds.o cli-setshow.o \
 	cli-logging.o \
-	cli-interp.o
+	cli-interp.o cli-utils.o
 SUBDIR_CLI_SRCS = \
 	cli/cli-dump.c \
 	cli/cli-decode.c cli/cli-script.c cli/cli-cmds.c cli/cli-setshow.c \
 	cli/cli-logging.c \
-	cli/cli-interp.c
+	cli/cli-interp.c cli/cli-utils.c
 SUBDIR_CLI_DEPS =
 SUBDIR_CLI_LDFLAGS=
 SUBDIR_CLI_CFLAGS=
@@ -767,7 +767,7 @@ exec.h m32r-tdep.h osabi.h gdbcore.h solib-som.h \
 i386bsd-nat.h xml-support.h xml-tdesc.h alphabsd-tdep.h gdb_obstack.h \
 ia64-tdep.h ada-lang.h varobj.h frv-tdep.h nto-tdep.h serial.h \
 c-lang.h d-lang.h frame.h event-loop.h block.h cli/cli-setshow.h	\
-cli/cli-decode.h cli/cli-cmds.h cli/cli-dump.h \
+cli/cli-decode.h cli/cli-cmds.h cli/cli-dump.h cli/cli-utils.h \
 cli/cli-script.h macrotab.h symtab.h version.h gnulib/wchar.in.h \
 gnulib/string.in.h gnulib/str-two-way.h \
 gnulib/stdint.in.h remote.h gdb.h sparc-nat.h gdbserver/win32-low.h \
@@ -1756,6 +1756,10 @@ cli-setshow.o: $(srcdir)/cli/cli-setshow.c
 	$(COMPILE) $(srcdir)/cli/cli-setshow.c
 	$(POSTCOMPILE)
 
+cli-utils.o: $(srcdir)/cli/cli-utils.c
+	$(COMPILE) $(srcdir)/cli/cli-utils.c
+	$(POSTCOMPILE)
+
 
 #
 # GDBTK sub-directory
diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c
index e501882..43f4fde 100644
--- a/gdb/arm-linux-nat.c
+++ b/gdb/arm-linux-nat.c
@@ -26,6 +26,8 @@
 #include "linux-nat.h"
 #include "target-descriptions.h"
 #include "auxv.h"
+#include "observer.h"
+#include "gdbthread.h"
 
 #include "arm-tdep.h"
 #include "arm-linux-tdep.h"
@@ -61,6 +63,11 @@
 #define PTRACE_SETVFPREGS 28
 #endif
 
+#ifndef PTRACE_GETHBPREGS
+#define PTRACE_GETHBPREGS 29
+#define PTRACE_SETHBPREGS 30
+#endif
+
 /* These are in <asm/elf.h> in current kernels.  */
 #define HWCAP_VFP       64
 #define HWCAP_IWMMXT    512
@@ -739,6 +746,564 @@ arm_linux_read_description (struct target_ops *ops)
   return NULL;
 }
 
+/* Information describing the hardware breakpoint capabilities.  */
+struct arm_linux_hwbp_cap
+{
+  gdb_byte arch;
+  gdb_byte max_wp_length;
+  gdb_byte wp_count;
+  gdb_byte bp_count;
+};
+
+/* Get hold of the Hardware Breakpoint information for the target we are
+   attached to.  Returns NULL if the kernel doesn't support Hardware 
+   breakpoints at all, or a pointer to the information structure.  */
+static const struct arm_linux_hwbp_cap *
+arm_linux_get_hwbp_cap (void)
+{
+  /* The info structure we return.  */
+  static struct arm_linux_hwbp_cap info;
+
+  /* Is INFO in a good state?  -1 means that no attempt has been made to
+     initialize INFO; 0 means an attempt has been made, but it failed; 1
+     means INFO is in an initialized state.  */
+  static int available = -1;
+
+  if (available == -1)
+    {
+      int tid;
+      unsigned int val;
+
+      tid = GET_THREAD_ID (inferior_ptid);
+      if (ptrace (PTRACE_GETHBPREGS, tid, 0, &val) < 0)
+	available = 0;
+      else
+	{
+	  info.arch = (gdb_byte)((val >> 24) & 0xff);
+	  info.max_wp_length = (gdb_byte)((val >> 16) & 0xff);
+	  info.wp_count = (gdb_byte)((val >> 8) & 0xff);
+	  info.bp_count = (gdb_byte)(val & 0xff);
+	  available = (info.arch != 0);
+	}
+    }
+
+  return available == 1 ? &info : NULL;
+}
+
+/* How many hardware breakpoints are available?  */
+static int
+arm_linux_get_hw_breakpoint_count (void)
+{
+  const struct arm_linux_hwbp_cap *cap = arm_linux_get_hwbp_cap ();
+  return cap != NULL ? cap->bp_count : 0;
+}
+
+/* How many hardware watchpoints are available?  */
+static int
+arm_linux_get_hw_watchpoint_count (void)
+{
+  const struct arm_linux_hwbp_cap *cap = arm_linux_get_hwbp_cap ();
+  return cap != NULL ? cap->wp_count : 0;
+}
+
+/* Have we got a free break-/watch-point available for use?  Returns -1 if
+   there is not an appropriate resource available, otherwise returns 1.  */
+static int
+arm_linux_can_use_hw_breakpoint (int type, int cnt, int ot)
+{
+  if (type == bp_hardware_watchpoint || type == bp_read_watchpoint
+      || type == bp_access_watchpoint || type == bp_watchpoint)
+    {
+      if (cnt + ot > arm_linux_get_hw_watchpoint_count ())
+	return -1;
+    }
+  else if (type == bp_hardware_breakpoint)
+    {
+      if (cnt > arm_linux_get_hw_breakpoint_count ())
+	return -1;
+    }
+  else
+    gdb_assert (FALSE);
+
+  return 1;
+}
+
+/* Enum describing the different types of ARM hardware break-/watch-points.  */
+typedef enum
+{
+  arm_hwbp_break = 0,
+  arm_hwbp_load = 1,
+  arm_hwbp_store = 2,
+  arm_hwbp_access = 3
+} arm_hwbp_type;
+
+/* Type describing an ARM Hardware Breakpoint Control register value.  */
+typedef unsigned int arm_hwbp_control_t;
+
+/* Structure used to keep track of hardware break-/watch-points.  */
+struct arm_linux_hw_breakpoint
+{
+  /* Address to break on, or being watched.  */
+  unsigned int address;
+  /* Control register for break-/watch- point.  */
+  arm_hwbp_control_t control;
+};
+
+/* Structure containing arrays of the break and watch points which are have
+   active in each thread.
+
+   The Linux ptrace interface to hardware break-/watch-points presents the 
+   values in a vector centred around 0 (which is used fo generic information).
+   Positive indicies refer to breakpoint addresses/control registers, negative
+   indices to watchpoint addresses/control registers.
+
+   The Linux vector is indexed as follows:
+      -((i << 1) + 2): Control register for watchpoint i.
+      -((i << 1) + 1): Address register for watchpoint i.
+                    0: Information register.
+       ((i << 1) + 1): Address register for breakpoint i.
+       ((i << 1) + 2): Control register for breakpoint i.
+
+   This structure is used as a per-thread cache of the state stored by the 
+   kernel, so that we don't need to keep calling into the kernel to find a 
+   free breakpoint.
+
+   We treat break-/watch-points with their enable bit clear as being deleted.
+   */
+typedef struct arm_linux_thread_points
+{
+  /* Thread ID.  */
+  int tid;
+  /* Breakpoints for thread.  */
+  struct arm_linux_hw_breakpoint *bpts;
+  /* Watchpoint for threads.  */
+  struct arm_linux_hw_breakpoint *wpts;
+} *arm_linux_thread_points_p;
+DEF_VEC_P (arm_linux_thread_points_p);
+
+/* Vector of hardware breakpoints for each thread.  */
+VEC(arm_linux_thread_points_p) *arm_threads = NULL;
+
+/* Find the list of hardware break-/watch-points for a thread with id TID.
+   If no list exists for TID we return NULL if ALLOC_NEW is 0, otherwise we
+   create a new list and return that.  */
+static struct arm_linux_thread_points *
+arm_linux_find_breakpoints_by_tid (int tid, int alloc_new)
+{
+  int i;
+  struct arm_linux_thread_points *t;
+
+  for (i = 0; VEC_iterate (arm_linux_thread_points_p, arm_threads, i, t); ++i)
+    {
+      if (t->tid == tid)
+	return t;
+    }
+
+  t = NULL;
+
+  if (alloc_new)
+    {
+      t = xmalloc (sizeof (struct arm_linux_thread_points));
+      t->tid = tid;
+      t->bpts = xzalloc (arm_linux_get_hw_breakpoint_count ()
+			 * sizeof (struct arm_linux_hw_breakpoint));
+      t->wpts = xzalloc (arm_linux_get_hw_watchpoint_count ()
+			 * sizeof (struct arm_linux_hw_breakpoint));
+      VEC_safe_push (arm_linux_thread_points_p, arm_threads, t);
+    }
+
+  return t;
+}
+
+/* Initialize an ARM hardware break-/watch-point control register value.
+   BYTE_ADDRESS_SELECT is the mask of bytes to trigger on; HWBP_TYPE is the 
+   type of break-/watch-point; ENABLE indicates whether the point is enabled.
+   */
+static arm_hwbp_control_t 
+arm_hwbp_control_initialize (unsigned byte_address_select,
+			     arm_hwbp_type hwbp_type,
+			     int enable)
+{
+  gdb_assert ((byte_address_select & ~0xffU) == 0);
+  gdb_assert (hwbp_type != arm_hwbp_break 
+	      || ((byte_address_select & 0xfU) != 0));
+
+  return (byte_address_select << 5) | (hwbp_type << 3) | (3 << 1) | enable;
+}
+
+/* Does the breakpoint control value CONTROL have the enable bit set?  */
+static int
+arm_hwbp_control_is_enabled (arm_hwbp_control_t control)
+{
+  return control & 0x1;
+}
+
+/* Change a breakpoint control word so that it is in the disabled state.  */
+static arm_hwbp_control_t
+arm_hwbp_control_disable (arm_hwbp_control_t control)
+{
+  return control & ~0x1;
+}
+
+/* Initialise the hardware breakpoint structure P.  The breakpoint will be
+   enabled, and will point to the placed address of BP_TGT.  */
+static void
+arm_linux_hw_breakpoint_initialize (struct gdbarch *gdbarch,
+				    struct bp_target_info *bp_tgt,
+				    struct arm_linux_hw_breakpoint *p)
+{
+  unsigned mask;
+  CORE_ADDR address = bp_tgt->placed_address;
+
+  /* We have to create a mask for the control register which says which bits
+     of the word pointed to by address to break on.  */
+  if (arm_pc_is_thumb (gdbarch, address))
+    mask = 0x3 << (address & 2);
+  else
+    mask = 0xf;
+
+  p->address = (unsigned int) (address & ~3);
+  p->control = arm_hwbp_control_initialize (mask, arm_hwbp_break, 1);
+}
+
+/* Get the ARM hardware breakpoint type from the RW value we're given when
+   asked to set a watchpoint.  */
+static arm_hwbp_type 
+arm_linux_get_hwbp_type (int rw)
+{
+  if (rw == hw_read)
+    return arm_hwbp_load;
+  else if (rw == hw_write)
+    return arm_hwbp_store;
+  else
+    return arm_hwbp_access;
+}
+
+/* Initialize the hardware breakpoint structure P for a watchpoint at ADDR
+   to LEN.  The type of watchpoint is given in RW.  */
+static void
+arm_linux_hw_watchpoint_initialize (CORE_ADDR addr, int len, int rw,
+				    struct arm_linux_hw_breakpoint *p)
+{
+  const struct arm_linux_hwbp_cap *cap = arm_linux_get_hwbp_cap ();
+  unsigned mask;
+
+  gdb_assert (cap != NULL);
+  gdb_assert (cap->max_wp_length != 0);
+
+  mask = (1 << len) - 1;
+
+  p->address = (unsigned int) addr;
+  p->control = arm_hwbp_control_initialize (mask, 
+					    arm_linux_get_hwbp_type (rw), 1);
+}
+
+/* Are two break-/watch-points equal?  */
+static int
+arm_linux_hw_breakpoint_equal (const struct arm_linux_hw_breakpoint *p1,
+			       const struct arm_linux_hw_breakpoint *p2)
+{
+  return p1->address == p2->address && p1->control == p2->control;
+}
+
+/* Insert the hardware breakpoint (WATCHPOINT = 0) or watchpoint (WATCHPOINT
+   =1) BPT for thread TID.  */
+static void
+arm_linux_insert_hw_breakpoint1 (const struct arm_linux_hw_breakpoint* bpt, 
+				int tid, int watchpoint)
+{
+  struct arm_linux_thread_points *t = arm_linux_find_breakpoints_by_tid (tid, 1);
+  gdb_byte count, i;
+  struct arm_linux_hw_breakpoint* bpts;
+  int dir;
+
+  gdb_assert (t != NULL);
+
+  if (watchpoint)
+    {
+      count = arm_linux_get_hw_watchpoint_count ();
+      bpts = t->wpts;
+      dir = -1;
+    }
+  else
+    {
+      count = arm_linux_get_hw_breakpoint_count ();
+      bpts = t->bpts;
+      dir = 1;
+    }
+
+  for (i = 0; i < count; ++i)
+    if (!arm_hwbp_control_is_enabled (bpts[i].control))
+      {
+	errno = 0;
+	if (ptrace (PTRACE_SETHBPREGS, tid, dir * ((i << 1) + 1), 
+		    &bpt->address) < 0)
+	  perror_with_name (_("Unexpected error setting breakpoint address"));
+	if (ptrace (PTRACE_SETHBPREGS, tid, dir * ((i << 1) + 2), 
+		    &bpt->control) < 0)
+	  perror_with_name (_("Unexpected error setting breakpoint"));
+
+	memcpy (bpts + i, bpt, sizeof (struct arm_linux_hw_breakpoint));
+	break;
+      }
+
+  gdb_assert (i != count);
+}
+
+/* Remove the hardware breakpoint (WATCHPOINT = 0) or watchpoint
+   (WATCHPOINT = 1) BPT for thread TID.  */
+static void
+arm_linux_remove_hw_breakpoint1 (const struct arm_linux_hw_breakpoint *bpt, 
+				 int tid, int watchpoint)
+{
+  struct arm_linux_thread_points *t = arm_linux_find_breakpoints_by_tid (tid, 0);
+  gdb_byte count, i;
+  struct arm_linux_hw_breakpoint *bpts;
+  int dir;
+
+  gdb_assert (t != NULL);


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-02-21 10:54 pmuldoon
  0 siblings, 0 replies; 45+ messages in thread
From: pmuldoon @ 2011-02-21 10:54 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  09363f5ea451879d3bc391b32385a58c58021ebb (commit)
       via  268d2c044a1e1bbde23724f91236b275bb811956 (commit)
       via  88ca8b945d57e4df2c44ca3539de319183bb878a (commit)
       via  ecee1943ae80a7c215f0d5d481608af688e94838 (commit)
       via  831a4c272727ced21904659824e78d549ba1f222 (commit)
       via  9132aac991426fff40ff1fbed0f5d7e64f94d016 (commit)
       via  9cbfaabf390f34dcfdb38d7595d532596765ed41 (commit)
       via  a6dfc450b0461cca9f6ca98a325b6d6a0aecf4b1 (commit)
       via  a9b923be818b16b33ce92cdbf4a8cd2a1e4f759d (commit)
       via  1f0a29fbeaaf2fa576ed85db8c510975eb3edbaa (commit)
      from  5747263b3bfb67dc5dee5206d222c0411b85676a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 09363f5ea451879d3bc391b32385a58c58021ebb
Merge: 5747263 268d2c0
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Mon Feb 21 10:54:21 2011 +0000

    Merge remote-tracking branch 'gdb/master'

commit 268d2c044a1e1bbde23724f91236b275bb811956
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Feb 21 10:12:13 2011 +0000

    add xfail for "print u_var" test in gdb.ada/packed_array.exp
    
    gdb/testsuite/ChangeLog:
    
            * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
            the debugger is unable to find the array bounds.

commit 88ca8b945d57e4df2c44ca3539de319183bb878a
Author: Hui Zhu <teawater@gmail.com>
Date:   Mon Feb 21 08:40:27 2011 +0000

    2011-02-21  Hui Zhu  <teawater@gmail.com>
    
    	* agentexpr.texi (Bytecode Descriptions): Add printf.
    	* gdb.texinfo (Tracepoint Action Lists): Add printf.

commit ecee1943ae80a7c215f0d5d481608af688e94838
Author: Hui Zhu <teawater@gmail.com>
Date:   Mon Feb 21 08:39:14 2011 +0000

    2011-02-21  Hui Zhu  <teawater@gmail.com>
    
    	* tracepoint.c (tp_printf): New function.
    	(eval_agent_expr): Handle gdb_agent_op_printf.

commit 831a4c272727ced21904659824e78d549ba1f222
Author: Hui Zhu <teawater@gmail.com>
Date:   Mon Feb 21 08:38:09 2011 +0000

    2011-02-21  Hui Zhu  <teawater@gmail.com>
    
    	* Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h.
    	* ax-gdb.c (gen_printf_expr_callback): New function.
    	* ax-gdb.h (gen_printf_expr_callback): Forward declare.
    	* ax-general.c (ax_memcpy): New function.
    	(ax_print): Handle "printf".
    	(ax_reqs): Ditto.
    	* ax.h (ax_memcpy): Forward declare.
    	* common/ax.def (invalid2): Removed.
    	(printf): New entry.
    	* printcmd.c (printcmd.h): New include.
    	(string_printf): New function.
    	(ui_printf): Removed.
    	(printf_command): Remove static.  Call string_printf.
    	(eval_command): Call string_printf.
    	* printcmd.h: New file.
    	* tracepoint.c (validate_actionline,
    	encode_actions_1): handle printf_command.

commit 9132aac991426fff40ff1fbed0f5d7e64f94d016
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Feb 21 00:00:32 2011 +0000

    *** empty log message ***

commit 9cbfaabf390f34dcfdb38d7595d532596765ed41
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Feb 20 23:00:06 2011 +0000

    daily update

commit a6dfc450b0461cca9f6ca98a325b6d6a0aecf4b1
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sun Feb 20 01:26:13 2011 +0000

    opcodes: blackfin: clean up saved_state
    
    Mark the state static, punt unused members, unify indexable register
    lookups, and abort when there is a register lookup failure.  Otherwise
    we return NULL and the calling code assumes a valid pointer is returned.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit a9b923be818b16b33ce92cdbf4a8cd2a1e4f759d
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Feb 20 00:00:33 2011 +0000

    *** empty log message ***

commit 1f0a29fbeaaf2fa576ed85db8c510975eb3edbaa
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Feb 19 23:00:06 2011 +0000

    daily update

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h                          |    2 +-
 gdb/ChangeLog                          |   20 +++++++++
 gdb/Makefile.in                        |    2 +-
 gdb/ax-gdb.c                           |   59 +++++++++++++++++++++++++
 gdb/ax-gdb.h                           |    2 +
 gdb/ax-general.c                       |   53 ++++++++++++++++++++---
 gdb/ax.h                               |    2 +
 gdb/common/ax.def                      |    6 +--
 gdb/doc/ChangeLog                      |    5 ++
 gdb/doc/agentexpr.texi                 |    7 +++
 gdb/doc/gdb.texinfo                    |    6 +++
 gdb/gdbserver/ChangeLog                |    5 ++
 gdb/gdbserver/tracepoint.c             |   44 +++++++++++++++++++
 gdb/printcmd.c                         |   38 ++++++++++++----
 gdb/printcmd.h                         |   30 +++++++++++++
 gdb/testsuite/ChangeLog                |    5 ++
 gdb/testsuite/gdb.ada/packed_array.exp |   14 +++++-
 gdb/tracepoint.c                       |   39 +++++++++++++++++
 gdb/version.in                         |    2 +-
 opcodes/ChangeLog                      |   11 +++++
 opcodes/bfin-dis.c                     |   74 +++++++++++--------------------
 21 files changed, 352 insertions(+), 74 deletions(-)
 create mode 100644 gdb/printcmd.h

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index fe2926e..765f220 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110219
+#define BFD_VERSION_DATE 20110221
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ca5ae81..84256b9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,23 @@
+2011-02-21  Hui Zhu  <teawater@gmail.com>
+
+	* Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h.
+	* ax-gdb.c (gen_printf_expr_callback): New function.
+	* ax-gdb.h (gen_printf_expr_callback): Forward declare.
+	* ax-general.c (ax_memcpy): New function.
+	(ax_print): Handle "printf".
+	(ax_reqs): Ditto.
+	* ax.h (ax_memcpy): Forward declare.
+	* common/ax.def (invalid2): Removed.
+	(printf): New entry.
+	* printcmd.c (printcmd.h): New include.
+	(string_printf): New function.
+	(ui_printf): Removed.
+	(printf_command): Remove static.  Call string_printf.
+	(eval_command): Call string_printf.
+	* printcmd.h: New file.
+	* tracepoint.c (validate_actionline,
+	encode_actions_1): handle printf_command.
+
 2011-02-19  Michael Snyder  <msnyder@vmware.com>
 
 	* reverse.c (delete_one_bookmark): Argument is now bookmark
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 8824b31..8d1cc26 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -813,7 +813,7 @@ annotate.h sim-regno.h dictionary.h dfp.h main.h frame-unwind.h	\
 remote-fileio.h i386-linux-tdep.h vax-tdep.h objc-lang.h \
 sentinel-frame.h bcache.h symfile.h windows-tdep.h linux-tdep.h \
 gdb_usleep.h jit.h xml-syscall.h microblaze-tdep.h \
-psymtab.h psympriv.h progspace.h bfin-tdep.h ia64-hpux-tdep.h
+psymtab.h psympriv.h progspace.h bfin-tdep.h ia64-hpux-tdep.h printcmd.h
 
 # Header files that already have srcdir in them, or which are in objdir.
 
diff --git a/gdb/ax-gdb.c b/gdb/ax-gdb.c
index d1736e1..d995d87 100644
--- a/gdb/ax-gdb.c
+++ b/gdb/ax-gdb.c
@@ -2445,6 +2445,65 @@ gen_eval_for_expr (CORE_ADDR scope, struct expression *expr)
   return ax;
 }
 
+void
+gen_printf_expr_callback (char *fbuf, char **expp, void *loc_v, void *aexpr_v)
+{
+  struct bp_location	*loc = loc_v;
+  struct agent_expr	*aexpr = aexpr_v;
+
+  if (expp)
+    {
+      struct cleanup *old_chain = NULL;
+      struct expression *expr = NULL;
+      union exp_element *pc;
+      struct axs_value value;
+
+      expr = parse_exp_1 (expp, block_for_pc (loc->address), 1);
+      old_chain = make_cleanup (free_current_contents, &expr);
+
+      pc = expr->elts;
+      trace_kludge = 0;
+      value.optimized_out = 0;
+      gen_expr (expr, &pc, aexpr, &value);
+
+      if (value.optimized_out)
+        error (_("value has been optimized out"));
+      switch (value.kind)
+        {
+	case axs_lvalue_memory:
+	  if (TYPE_CODE (value.type) != TYPE_CODE_ARRAY)
+	    {
+	      int length = TYPE_LENGTH (check_typedef (value.type));
+	      switch (length)
+		{
+		case 4:
+		  ax_simple (aexpr, aop_ref32);
+		  break;
+		case 8:
+		  ax_simple (aexpr, aop_ref64);
+		  break;
+		default:
+		  error (_("Size of value is not OK."));
+		  break;
+		}
+	    }
+	  break;
+	case axs_lvalue_register:
+	  ax_reg (aexpr, value.u.reg);
+	  break;
+        }
+
+      do_cleanups (old_chain);
+    }
+
+  ax_simple (aexpr, aop_printf);
+  if (expp)
+    ax_simple (aexpr, 1);
+  else
+    ax_simple (aexpr, 0);
+  ax_memcpy (aexpr, fbuf, strlen (fbuf) + 1);
+}
+
 static void
 agent_command (char *exp, int from_tty)
 {
diff --git a/gdb/ax-gdb.h b/gdb/ax-gdb.h
index a2367a6..9b15230 100644
--- a/gdb/ax-gdb.h
+++ b/gdb/ax-gdb.h
@@ -108,6 +108,8 @@ extern struct agent_expr *gen_trace_for_var (CORE_ADDR, struct gdbarch *,
 
 extern struct agent_expr *gen_eval_for_expr (CORE_ADDR, struct expression *);
 
+extern void gen_printf_expr_callback (char *, char **, void *, void *);
+
 extern int trace_kludge;
 
 #endif /* AX_GDB_H */
diff --git a/gdb/ax-general.c b/gdb/ax-general.c
index edab4dc..95092e6 100644
--- a/gdb/ax-general.c
+++ b/gdb/ax-general.c
@@ -330,6 +330,14 @@ ax_tsv (struct agent_expr *x, enum agent_op op, int num)
   x->buf[x->len + 2] = (num) & 0xff;
   x->len += 3;
 }
+
+void
+ax_memcpy (struct agent_expr *x, const void *src, size_t n)
+{
+  grow_expr (x, n);
+  memcpy (x->buf + x->len, src, n);
+  x->len += n;
+}
 \f
 
 
@@ -368,6 +376,7 @@ ax_print (struct ui_file *f, struct agent_expr *x)
   for (i = 0; i < x->len;)
     {
       enum agent_op op = x->buf[i];
+      int op_size;
 
       if (op >= (sizeof (aop_map) / sizeof (aop_map[0]))
 	  || !aop_map[op].name)
@@ -376,7 +385,19 @@ ax_print (struct ui_file *f, struct agent_expr *x)
 	  i++;
 	  continue;
 	}
-      if (i + 1 + aop_map[op].op_size > x->len)
+      if (op == aop_printf)
+        {
+	  if (i + 2 >= x->len)
+	    {
+	      fprintf_filtered (f, _("%3d  <bad opcode %02x>\n"), i, op);
+	      i++;
+	      continue;
+	    }
+	  op_size = 1 + strlen (x->buf + i + 2) + 1;
+	}
+      else
+	op_size = aop_map[op].op_size;
+      if (i + 1 + op_size > x->len)
 	{
 	  fprintf_filtered (f, _("%3d  <incomplete opcode %s>\n"),
 			    i, aop_map[op].name);
@@ -384,15 +405,15 @@ ax_print (struct ui_file *f, struct agent_expr *x)
 	}
 
       fprintf_filtered (f, "%3d  %s", i, aop_map[op].name);
-      if (aop_map[op].op_size > 0)
+      if (op_size > 0)
 	{
 	  fputs_filtered (" ", f);
 
 	  print_longest (f, 'd', 0,
-			 read_const (x, i + 1, aop_map[op].op_size));
+			 read_const (x, i + 1, op_size));
 	}
       fprintf_filtered (f, "\n");
-      i += 1 + aop_map[op].op_size;
+      i += 1 + op_size;
 
       is_float = (op == aop_float);
     }
@@ -460,6 +481,8 @@ ax_reqs (struct agent_expr *ax)
   /* Pointer to a description of the present op.  */
   struct aop_map *op;
 
+  int op_size = 0, consumed = 0;
+
   memset (targets, 0, ax->len * sizeof (targets[0]));
   memset (boundary, 0, ax->len * sizeof (boundary[0]));
 
@@ -467,7 +490,7 @@ ax_reqs (struct agent_expr *ax)
   ax->flaw = agent_flaw_none;
   ax->max_data_size = 0;
 
-  for (i = 0; i < ax->len; i += 1 + op->op_size)
+  for (i = 0; i < ax->len; i += 1 + op_size)
     {
       if (ax->buf[i] > (sizeof (aop_map) / sizeof (aop_map[0])))
 	{
@@ -483,7 +506,23 @@ ax_reqs (struct agent_expr *ax)
 	  return;
 	}
 
-      if (i + 1 + op->op_size > ax->len)
+      if (ax->buf[i] == aop_printf)
+        {
+	  if (i + 2 >= ax->len)
+	    {
+	      ax->flaw = agent_flaw_incomplete_instruction;
+	      return;
+	    }
+	  consumed = ax->buf[i + 1];
+	  op_size = 1 + strlen (ax->buf + i + 2) + 1;
+	}
+      else
+        {
+	  op_size = op->op_size;
+	  consumed = op->consumed;
+        }
+
+      if (i + 1 + op_size > ax->len)
 	{
 	  ax->flaw = agent_flaw_incomplete_instruction;
 	  return;
@@ -501,7 +540,7 @@ ax_reqs (struct agent_expr *ax)
       boundary[i] = 1;
       heights[i] = height;
 
-      height -= op->consumed;
+      height -= consumed;
       if (height < ax->min_height)
 	ax->min_height = height;
       height += op->produced;
diff --git a/gdb/ax.h b/gdb/ax.h
index a124575..05dc6a1 100644
--- a/gdb/ax.h
+++ b/gdb/ax.h
@@ -213,6 +213,8 @@ extern void ax_reg_mask (struct agent_expr *ax, int reg);
 
 /* Assemble code to operate on a trace state variable.  */
 extern void ax_tsv (struct agent_expr *expr, enum agent_op op, int num);
+
+extern void ax_memcpy (struct agent_expr *x, const void *src, size_t n);
 \f
 
 /* Functions for printing out expressions, and otherwise debugging
diff --git a/gdb/common/ax.def b/gdb/common/ax.def
index 56ddd4a..f1be688 100644
--- a/gdb/common/ax.def
+++ b/gdb/common/ax.def
@@ -86,12 +86,8 @@ DEFOP (swap, 0, 0, 2, 2, 0x2b)
 DEFOP (getv, 2, 0, 0, 1, 0x2c)
 DEFOP (setv, 2, 0, 0, 1, 0x2d)
 DEFOP (tracev, 2, 0, 0, 1, 0x2e)
-/* We need something here just to make the tables come out ok.  */
 DEFOP (invalid, 0, 0, 0, 0, 0x2f)
 DEFOP (trace16, 2, 0, 1, 1, 0x30)
-/* We need something here just to make the tables come out ok.  */
-DEFOP (invalid2, 0, 0, 0, 0, 0x2f)
-/* The "consumed" number for pick is wrong, but there's no way to
-   express the right thing.  */
+DEFOP (printf, 0, 0, 0, 0, 0x31)
 DEFOP (pick, 1, 0, 0, 1, 0x32)
 DEFOP (rot, 0, 0, 3, 3, 0x33)
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 58f2814..ee9a63f 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-21  Hui Zhu  <teawater@gmail.com>
+
+	* agentexpr.texi (Bytecode Descriptions): Add printf.
+	* gdb.texinfo (Tracepoint Action Lists): Add printf.
+
 2011-02-18  Tom Tromey  <tromey@redhat.com>
 
 	* agentexpr.texi (Bytecode Descriptions): Document pick and rot.
diff --git a/gdb/doc/agentexpr.texi b/gdb/doc/agentexpr.texi
index f2d51b7..5a360df 100644
--- a/gdb/doc/agentexpr.texi
+++ b/gdb/doc/agentexpr.texi
@@ -489,6 +489,13 @@ named @code{trace_quick16}, for consistency.
 Record the value of trace state variable number @var{n} in the trace
 buffer.  The handling of @var{n} is as described for @code{getv}.
 
+@item @code{printf} (0x31) @var{n} @var{template}: @result{}
+Print the values in the stack under the control of the string template.
+The end of @var{template} is 0x00.
+If @var{n} is 0, just output the string template.
+If @var{n} is 1, pop a value from the stack and print it under the control
+of the string template.
+
 @item @code{end} (0x27): @result{}
 Stop executing bytecode; the result should be the top element of the
 stack.  If the purpose of the expression was to compute an lvalue or a
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index e16065b..f8b7e2d 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -10242,6 +10242,12 @@ state variables (@pxref{Trace State Variables}) without adding those
 values to the trace buffer, as would be the case if the @code{collect}
 action were used.
 
+@kindex printf
+@item printf @var{template}, @var{expressions}@dots{}
+Print the values of one or more @var{expressions} under the control of
+the string @var{template} in @code{gdbserver} part.
+The command format is with simple @code{printf} (@pxref{Output, printf}).
+
 @kindex while-stepping @r{(tracepoints)}
 @item while-stepping @var{n}
 Perform @var{n} single-step instruction traces after the tracepoint,
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 4d54d97..0f7655f 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-21  Hui Zhu  <teawater@gmail.com>
+
+	* tracepoint.c (tp_printf): New function.
+	(eval_agent_expr): Handle gdb_agent_op_printf.
+
 2011-02-18  Tom Tromey  <tromey@redhat.com>
 
 	* Makefile.in (tracepoint-ipa.o): Depend on ax.def.
diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c
index 8d99c94..d897728 100644
--- a/gdb/gdbserver/tracepoint.c
+++ b/gdb/gdbserver/tracepoint.c
@@ -4214,6 +4214,16 @@ gdb_agent_op_name (int op)
   return gdb_agent_op_names[op];
 }
 
+int
+tp_printf (const char *format, ...)
+{
+  va_list ap;
+  va_start (ap, format);
+  vprintf (format, ap);
+  va_end (ap);
+  return 0;
+}
+
 /* The agent expression evaluator, as specified by the GDB docs. It
    returns 0 if everything went OK, and a nonzero error code
    otherwise.  */
@@ -4573,6 +4583,40 @@ eval_agent_expr (struct tracepoint_hit_ctx *ctx,
 	  agent_tsv_read (tframe, arg);
 	  break;
 
+	case gdb_agent_op_printf:
+	  {
+	    void *argv;
+	    arg = aexpr->bytes[pc++];
+	    argv = (void *) (unsigned long) top;
+	    if (--sp >= 0)
+	      top = stack[sp];
+
+	    if (arg)
+	      {
+		if (strstr ((char *) (aexpr->bytes + pc), "%s"))
+		  {
+		    int			i;
+		    unsigned char	buf[100];
+
+		    for (i = 0; i < 100; i++)
+		      {
+			agent_mem_read (tframe, buf + i,
+					(CORE_ADDR) ((unsigned long)argv + i),
+					1);
+			if (!buf[i])
+			  break;
+		      }
+		    tp_printf ((char *) (aexpr->bytes + pc), buf);
+		  }
+		else
+	          tp_printf ((char *) (aexpr->bytes + pc), argv);
+	      }
+	    else
+	      tp_printf ((char *) (aexpr->bytes + pc));
+	    pc += strlen ((char *) aexpr->bytes + pc) + 1;
+	  }
+	  break;
+
 	  /* GDB never (currently) generates any of these ops.  */
 	case gdb_agent_op_float:
 	case gdb_agent_op_ref_float:
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 6576dce..d89004b 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -49,6 +49,7 @@
 #include "parser-defs.h"
 #include "charset.h"
 #include "arch-utils.h"
+#include "printcmd.h"
 
 #ifdef TUI
 #include "tui/tui.h"		/* For tui_active et al.   */
@@ -1960,10 +1961,9 @@ print_variable_and_value (const char *name, struct symbol *var,
   fprintf_filtered (stream, "\n");
 }
 
-/* printf "printf format string" ARG to STREAM.  */
-
-static void
-ui_printf (char *arg, struct ui_file *stream)
+void
+string_printf (char *arg, struct ui_file *stream, printf_callback callback,
+	       void *loc_v, void *aexpr_v)
 {
   char *f = NULL;
   char *s = arg;
@@ -1974,6 +1974,8 @@ ui_printf (char *arg, struct ui_file *stream)
   int nargs = 0;
   int allocated_args = 20;
   struct cleanup *old_cleanups;
+  struct bp_location *loc = loc_v;
+  struct agent_expr *aexpr = aexpr_v;
 
   val_args = xmalloc (allocated_args * sizeof (struct value *));
   old_cleanups = make_cleanup (free_current_contents, &val_args);
@@ -2296,26 +2298,42 @@ ui_printf (char *arg, struct ui_file *stream)
     /* Now, parse all arguments and evaluate them.
        Store the VALUEs in VAL_ARGS.  */
 
+    if (callback)
+      current_substring = substrings;
     while (*s != '\0')
       {
 	char *s1;
 
+	s1 = s;
 	if (nargs == allocated_args)
 	  val_args = (struct value **) xrealloc ((char *) val_args,
 						 (allocated_args *= 2)
 						 * sizeof (struct value *));
-	s1 = s;
-	val_args[nargs] = parse_to_comma_and_eval (&s1);
+	if (callback)
+	  {
+	    if (nargs >= nargs_wanted)
+	      error (_("Wrong number of arguments for specified "
+		       "format-string"));
+	    callback (current_substring, &s1, loc, aexpr);
+	    current_substring += strlen (current_substring) + 1;
+	  }
+	else
+	  val_args[nargs] = parse_to_comma_and_eval (&s1);
 
 	nargs++;
 	s = s1;
 	if (*s == ',')
 	  s++;
       }
+    if (callback)
+      callback (last_arg, NULL, loc, aexpr);
 
     if (nargs != nargs_wanted)
       error (_("Wrong number of arguments for specified format-string"));
 
+    if (!stream)
+      goto after_print;
+
     /* Now actually print them.  */
     current_substring = substrings;
     for (i = 0; i < nargs; i++)
@@ -2670,15 +2688,17 @@ ui_printf (char *arg, struct ui_file *stream)
        by default, which will warn here if there is no argument.  */
     fprintf_filtered (stream, last_arg, 0);
   }
+
+after_print:
   do_cleanups (old_cleanups);
 }
 
 /* Implement the "printf" command.  */
 
-static void
+void


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-02-19 20:17 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-02-19 20:17 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  5747263b3bfb67dc5dee5206d222c0411b85676a (commit)
       via  ccc6aa8f21f40a05896c8e811a62a024348300e2 (commit)
       via  b0ee80ffd78aaf4e8ab72de38bc5c98dcabaa78c (commit)
       via  d62706551da523c98e6936b77f84255d307afd9a (commit)
       via  6a65203d0660bc79b23917d5a8c0f9b08d433077 (commit)
       via  3202d6bde91167e1e4ae489f5bc373ce15c36f3f (commit)
       via  24b95a2196232300295b011167df4c0ac0d876ab (commit)
       via  d4d5a807ff23674ea8b4a4a8d214bd3af2f97007 (commit)
       via  1aec1a5a0e339ec0d67056ac95ea1a2b5a2ee20d (commit)
       via  5a9b0f85beaea772578661c6ce9f4b9684ad303f (commit)
       via  eaad3106d6f1785d4dbf13d6b0b265a8c79a7a8c (commit)
       via  a74d7e323498f3235ad3fe84b9ae5e5547f26f8e (commit)
       via  b928c0d60394697b23e0f5fc8d1bd62c0fe69060 (commit)
       via  f7673a7c0b56aec74cddcbaeff55f296c24696a4 (commit)
       via  8460985beb6e1828416d4b9e066fa065c8e323f1 (commit)
       via  fa9bddafa6b5632f2b4a50974e6a37172aea6767 (commit)
      from  faa1dd91269f2445b7ef3a618342b2d0f2524042 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 5747263b3bfb67dc5dee5206d222c0411b85676a
Merge: faa1dd9 ccc6aa8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Feb 19 21:17:09 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit ccc6aa8f21f40a05896c8e811a62a024348300e2
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Feb 19 19:10:46 2011 +0000

    2011-02-19  Michael Snyder  <msnyder@vmware.com>
    
    	* reverse.c (delete_one_bookmark): Argument is now bookmark
    	id rather than pointer to bookmark struct.
    	(delete_bookmark_command): Use get_number_or_range.
    	(goto_bookmark_command): Parse with get_number instead of strtoul.
    	(bookmark_1): New function.  Print info for one bookmark.
    	(bookmarks_info): Use get_number_or_range and bookmark_1.

commit b0ee80ffd78aaf4e8ab72de38bc5c98dcabaa78c
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Feb 19 01:24:54 2011 +0000

    2011-02-18  Michael Snyder  <msnyder@vmware.com>
    
    	* thread.c (thread_apply_command): Re-implement using
    	get_number_or_range.

commit d62706551da523c98e6936b77f84255d307afd9a
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Feb 19 01:02:52 2011 +0000

    2011-02-18  Michael Snyder  <msnyder@vmware.com>
    
    	* thread.c (info_threads_command): Re-implement using
    	get_number_or_range.

commit 6a65203d0660bc79b23917d5a8c0f9b08d433077
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Feb 19 00:00:33 2011 +0000

    *** empty log message ***

commit 3202d6bde91167e1e4ae489f5bc373ce15c36f3f
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Feb 18 23:00:06 2011 +0000

    daily update

commit 24b95a2196232300295b011167df4c0ac0d876ab
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Feb 18 21:12:06 2011 +0000

    gdb
    	* common/ax.def: New file.
    	* ax.h (enum agent_op): Use ax.def.
    	* ax-general.c (aop_map): Use ax.def.
    gdbserver
    	* Makefile.in (tracepoint-ipa.o): Depend on ax.def.
    	(tracepoint.o): Likewise.
    	* tracepoint.c (enum gdb_agent_op): Use ax.def.
    	(gdb_agent_op_names): Likewise.

commit d4d5a807ff23674ea8b4a4a8d214bd3af2f97007
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Feb 18 20:55:42 2011 +0000

    gdb
    	* ax-general.c (aop_map): Add pick and rot.
    	* dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement.
    	<DW_OP_rot>: Implement.
    	* ax.h (enum agent_op) <aop_pick, aop_rot>: New constants.
    	(ax_pick): Declare.
    	* ax-general.c (ax_pick): New function.
    doc
    	* agentexpr.texi (Bytecode Descriptions): Document pick and rot.
    gdbserver
    	* tracepoint.c (enum gdb_agent_op) <gdb_agent_op_pick,
    	gdb_agent_op_rot>: New constants.
    	(gdb_agent_op_names): Add pick and roll.
    	(eval_agent_expr) <gdb_agent_op_pick, gdb_agent_op_rot>: New
    	cases.

commit 1aec1a5a0e339ec0d67056ac95ea1a2b5a2ee20d
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Feb 18 20:31:16 2011 +0000

    	* Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc.

commit 5a9b0f85beaea772578661c6ce9f4b9684ad303f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Feb 18 19:10:44 2011 +0000

    gdb/
    	* cp-support.c (make_symbol_overload_list_namespace): Do not call
    	make_symbol_overload_list_block with NULL BLOCK.
    	* valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF.
    
    gdb/testsuite/
    	* gdb.cp/typedef-operator.exp: New file.
    	* gdb.cp/typedef-operator.cc: New file.

commit eaad3106d6f1785d4dbf13d6b0b265a8c79a7a8c
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Feb 18 16:43:50 2011 +0000

    	* breakpoint.c (get_number_trailer): No longer accept a NULL PP.
    	* breakpoint.h (get_number_or_range): Declare.
    	* printcmd.c (ALL_DISPLAYS): Declare.
    	(delete_display): Reimplement taking a display pointer.
    	(undisplay_command): Accept a range of displays to delete, using
    	get_number_or_range.

commit a74d7e323498f3235ad3fe84b9ae5e5547f26f8e
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Fri Feb 18 14:17:37 2011 +0000

    	* c-valprint.c (c_val_print): Add embedded_offset to address
    	for arrays of unspecified length.
    	* p-valprint.c (pascal_val_print): Likewise.

commit b928c0d60394697b23e0f5fc8d1bd62c0fe69060
Author: qiyao <qiyao>
Date:   Fri Feb 18 05:01:51 2011 +0000

    2011-02-18  Yao Qi  <yao@codesourcery.com>
    
    	* gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ...
    	(arm_process_displaced_insn): .. here. Remove parameter INSN.
    	(thumb_process_displaced_insn): New.
    	* gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update
    	call to arm_process_displaced_insn.
    	* gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn.

commit f7673a7c0b56aec74cddcbaeff55f296c24696a4
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Feb 18 00:00:33 2011 +0000

    *** empty log message ***

commit 8460985beb6e1828416d4b9e066fa065c8e323f1
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Feb 17 23:00:05 2011 +0000

    daily update

commit fa9bddafa6b5632f2b4a50974e6a37172aea6767
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Feb 17 22:08:12 2011 +0000

    2011-02-17  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.threads/thread-find.exp: Fix regular expressions.

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h                             |    2 +-
 gdb/ChangeLog                             |   65 ++++++++++++++
 gdb/Makefile.in                           |    2 +-
 gdb/arm-linux-tdep.c                      |   10 +--
 gdb/arm-tdep.c                            |   37 +++++---
 gdb/arm-tdep.h                            |    5 +-
 gdb/ax-general.c                          |   65 ++++----------
 gdb/ax.h                                  |   65 ++------------
 gdb/breakpoint.c                          |    9 +--
 gdb/breakpoint.h                          |    2 +
 gdb/c-valprint.c                          |    2 +-
 gdb/common/ax.def                         |   97 ++++++++++++++++++++
 gdb/cp-support.c                          |    6 +-
 gdb/doc/ChangeLog                         |    4 +
 gdb/doc/agentexpr.texi                    |   10 ++
 gdb/dwarf2loc.c                           |   26 +-----
 gdb/gdbserver/ChangeLog                   |   15 +++
 gdb/gdbserver/Makefile.in                 |    4 +-
 gdb/gdbserver/tracepoint.c                |  137 ++++++++---------------------
 gdb/p-valprint.c                          |    2 +-
 gdb/printcmd.c                            |   62 +++++++------
 gdb/reverse.c                             |   85 +++++++++++-------
 gdb/testsuite/ChangeLog                   |    9 ++
 gdb/testsuite/gdb.cp/typedef-operator.cc  |   31 +++++++
 gdb/testsuite/gdb.cp/typedef-operator.exp |   33 +++++++
 gdb/testsuite/gdb.threads/thread-find.exp |   64 +++++++-------
 gdb/thread.c                              |   81 ++++-------------
 gdb/valarith.c                            |   12 +--
 gdb/version.in                            |    2 +-
 29 files changed, 508 insertions(+), 436 deletions(-)
 create mode 100644 gdb/common/ax.def
 create mode 100644 gdb/testsuite/gdb.cp/typedef-operator.cc
 create mode 100644 gdb/testsuite/gdb.cp/typedef-operator.exp

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index de1fd68..fe2926e 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110217
+#define BFD_VERSION_DATE 20110219
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 42f77a8..ca5ae81 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,68 @@
+2011-02-19  Michael Snyder  <msnyder@vmware.com>
+
+	* reverse.c (delete_one_bookmark): Argument is now bookmark
+	id rather than pointer to bookmark struct.
+	(delete_bookmark_command): Use get_number_or_range.
+	(goto_bookmark_command): Parse with get_number instead of strtoul.
+	(bookmark_1): New function.  Print info for one bookmark.
+	(bookmarks_info): Use get_number_or_range and bookmark_1.
+
+2011-02-18  Michael Snyder  <msnyder@vmware.com>
+
+	* thread.c (info_threads_command): Re-implement using 
+	get_number_or_range.
+	(thread_apply_command): Ditto.
+
+2011-02-18  Tom Tromey  <tromey@redhat.com>
+
+	* common/ax.def: New file.
+	* ax.h (enum agent_op): Use ax.def.
+	* ax-general.c (aop_map): Use ax.def.
+
+2011-02-18  Tom Tromey  <tromey@redhat.com>
+
+	* ax-general.c (aop_map): Add pick and rot.
+	* dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement.
+	<DW_OP_rot>: Implement.
+	* ax.h (enum agent_op) <aop_pick, aop_rot>: New constants.
+	(ax_pick): Declare.
+	* ax-general.c (ax_pick): New function.
+
+2011-02-18  Tom Tromey  <tromey@redhat.com>
+
+	* Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc.
+
+2011-02-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
+	    Tom Tromey  <tromey@redhat.com>
+
+	* cp-support.c (make_symbol_overload_list_namespace): Do not call
+	make_symbol_overload_list_block with NULL BLOCK.
+	* valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF.
+
+2011-02-18  Pedro Alves  <pedro@codesourcery.com>
+
+	* breakpoint.c (get_number_trailer): No longer accept a NULL PP.
+	* breakpoint.h (get_number_or_range): Declare.
+	* printcmd.c (ALL_DISPLAYS): Declare.
+	(delete_display): Reimplement taking a display pointer.
+	(undisplay_command): Accept a range of displays to delete, using
+	get_number_or_range.
+
+2011-02-18  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+	* c-valprint.c (c_val_print): Add embedded_offset to address
+	for arrays of unspecified length.
+	* p-valprint.c (pascal_val_print): Likewise.
+
+2011-02-18  Yao Qi  <yao@codesourcery.com>
+
+	* gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ...
+	(arm_process_displaced_insn): .. here. Remove parameter INSN.
+	(thumb_process_displaced_insn): New.
+	* gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update
+	call to arm_process_displaced_insn.
+	* gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn.
+
 2011-02-17  Tom Tromey  <tromey@redhat.com>
 
 	* dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index c6049fa..8824b31 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -812,7 +812,7 @@ config/rs6000/nm-rs6000.h top.h bsd-kvm.h gdb-stabs.h reggroups.h \
 annotate.h sim-regno.h dictionary.h dfp.h main.h frame-unwind.h	\
 remote-fileio.h i386-linux-tdep.h vax-tdep.h objc-lang.h \
 sentinel-frame.h bcache.h symfile.h windows-tdep.h linux-tdep.h \
-gdb_usleep.h jit.h xml-syscall.h ada-operator.inc microblaze-tdep.h \
+gdb_usleep.h jit.h xml-syscall.h microblaze-tdep.h \
 psymtab.h psympriv.h progspace.h bfin-tdep.h ia64-hpux-tdep.h
 
 # Header files that already have srcdir in them, or which are in objdir.
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c
index 75b1a8d..ff649d6 100644
--- a/gdb/arm-linux-tdep.c
+++ b/gdb/arm-linux-tdep.c
@@ -913,18 +913,10 @@ arm_linux_displaced_step_copy_insn (struct gdbarch *gdbarch,
     }
   else
     {
-      enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
-      uint32_t insn = read_memory_unsigned_integer (from, 4, byte_order);
-
-      if (debug_displaced)
-	fprintf_unfiltered (gdb_stdlog, "displaced: stepping insn %.8lx "
-			    "at %.8lx\n", (unsigned long) insn,
-			    (unsigned long) from);
-
       /* Override the default handling of SVC instructions.  */
       dsc->u.svc.copy_svc_os = arm_linux_copy_svc;
 
-      arm_process_displaced_insn (gdbarch, insn, from, to, regs, dsc);
+      arm_process_displaced_insn (gdbarch, from, to, regs, dsc);
     }
 
   arm_displaced_init_closure (gdbarch, from, to, dsc);
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 96061e3..16334bf 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -6833,16 +6833,22 @@ decode_svc_copro (struct gdbarch *gdbarch, uint32_t insn, CORE_ADDR to,
     return copy_undef (gdbarch, insn, dsc);  /* Possibly unreachable.  */
 }
 
+static void
+thumb_process_displaced_insn (struct gdbarch *gdbarch, CORE_ADDR from,
+			      CORE_ADDR to, struct regcache *regs,
+			      struct displaced_step_closure *dsc)
+{
+  error (_("Displaced stepping is only supported in ARM mode"));
+}
+
 void
-arm_process_displaced_insn (struct gdbarch *gdbarch, uint32_t insn,
-			    CORE_ADDR from, CORE_ADDR to,
-			    struct regcache *regs,
+arm_process_displaced_insn (struct gdbarch *gdbarch, CORE_ADDR from,
+			    CORE_ADDR to, struct regcache *regs,
 			    struct displaced_step_closure *dsc)
 {
   int err = 0;
-
-  if (!displaced_in_arm_mode (regs))
-    error (_("Displaced stepping is only supported in ARM mode"));
+  enum bfd_endian byte_order_for_code = gdbarch_byte_order_for_code (gdbarch);
+  uint32_t insn;
 
   /* Most displaced instructions use a 1-instruction scratch space, so set this
      here and override below if/when necessary.  */
@@ -6852,6 +6858,15 @@ arm_process_displaced_insn (struct gdbarch *gdbarch, uint32_t insn,
   dsc->cleanup = NULL;
   dsc->wrote_to_pc = 0;
 
+  if (!displaced_in_arm_mode (regs))
+    return thumb_process_displaced_insn (gdbarch, from, to, regs, dsc);
+
+  insn = read_memory_unsigned_integer (from, 4, byte_order_for_code);
+  if (debug_displaced)
+    fprintf_unfiltered (gdb_stdlog, "displaced: stepping insn %.8lx "
+			"at %.8lx\n", (unsigned long) insn,
+			(unsigned long) from);
+
   if ((insn & 0xf0000000) == 0xf0000000)
     err = decode_unconditional (gdbarch, insn, regs, dsc);
   else switch (((insn & 0x10) >> 4) | ((insn & 0xe000000) >> 24))
@@ -6922,15 +6937,7 @@ arm_displaced_step_copy_insn (struct gdbarch *gdbarch,
 {
   struct displaced_step_closure *dsc
     = xmalloc (sizeof (struct displaced_step_closure));
-  enum bfd_endian byte_order_for_code = gdbarch_byte_order_for_code (gdbarch);
-  uint32_t insn = read_memory_unsigned_integer (from, 4, byte_order_for_code);
-
-  if (debug_displaced)
-    fprintf_unfiltered (gdb_stdlog, "displaced: stepping insn %.8lx "
-			"at %.8lx\n", (unsigned long) insn,
-			(unsigned long) from);
-
-  arm_process_displaced_insn (gdbarch, insn, from, to, regs, dsc);
+  arm_process_displaced_insn (gdbarch, from, to, regs, dsc);
   arm_displaced_init_closure (gdbarch, from, to, dsc);
 
   return dsc;
diff --git a/gdb/arm-tdep.h b/gdb/arm-tdep.h
index 7abfcd7..6e7eab9 100644
--- a/gdb/arm-tdep.h
+++ b/gdb/arm-tdep.h
@@ -284,9 +284,8 @@ enum pc_write_style
 };
 
 extern void
-  arm_process_displaced_insn (struct gdbarch *gdbarch, uint32_t insn,
-			      CORE_ADDR from, CORE_ADDR to,
-			      struct regcache *regs,
+  arm_process_displaced_insn (struct gdbarch *gdbarch, CORE_ADDR from,
+			      CORE_ADDR to, struct regcache *regs,
 			      struct displaced_step_closure *dsc);
 extern void
   arm_displaced_init_closure (struct gdbarch *gdbarch, CORE_ADDR from,
diff --git a/gdb/ax-general.c b/gdb/ax-general.c
index 71d23f1..edab4dc 100644
--- a/gdb/ax-general.c
+++ b/gdb/ax-general.c
@@ -143,6 +143,17 @@ ax_simple (struct agent_expr *x, enum agent_op op)
   x->buf[x->len++] = op;
 }
 
+/* Append a pick operator to EXPR.  DEPTH is the stack item to pick,
+   with 0 being top of stack.  */
+void
+ax_pick (struct agent_expr *x, int depth)
+{
+  if (depth < 0 || depth > 255)
+    error (_("GDB bug: ax-general.c (ax_pick): stack depth out of range"));
+  ax_simple (x, aop_pick);
+  append_const (x, 1, depth);
+}
+
 
 /* Append a sign-extension or zero-extension instruction to EXPR, to
    extend an N-bit value.  */
@@ -327,55 +338,11 @@ ax_tsv (struct agent_expr *x, enum agent_op op, int num)
 
 struct aop_map aop_map[] =
 {
-  {0, 0, 0, 0, 0},
-  {"float", 0, 0, 0, 0},	/* 0x01 */
-  {"add", 0, 0, 2, 1},		/* 0x02 */
-  {"sub", 0, 0, 2, 1},		/* 0x03 */
-  {"mul", 0, 0, 2, 1},		/* 0x04 */
-  {"div_signed", 0, 0, 2, 1},	/* 0x05 */
-  {"div_unsigned", 0, 0, 2, 1},	/* 0x06 */
-  {"rem_signed", 0, 0, 2, 1},	/* 0x07 */
-  {"rem_unsigned", 0, 0, 2, 1},	/* 0x08 */
-  {"lsh", 0, 0, 2, 1},		/* 0x09 */
-  {"rsh_signed", 0, 0, 2, 1},	/* 0x0a */
-  {"rsh_unsigned", 0, 0, 2, 1},	/* 0x0b */
-  {"trace", 0, 0, 2, 0},	/* 0x0c */
-  {"trace_quick", 1, 0, 1, 1},	/* 0x0d */
-  {"log_not", 0, 0, 1, 1},	/* 0x0e */
-  {"bit_and", 0, 0, 2, 1},	/* 0x0f */
-  {"bit_or", 0, 0, 2, 1},	/* 0x10 */
-  {"bit_xor", 0, 0, 2, 1},	/* 0x11 */
-  {"bit_not", 0, 0, 1, 1},	/* 0x12 */
-  {"equal", 0, 0, 2, 1},	/* 0x13 */
-  {"less_signed", 0, 0, 2, 1},	/* 0x14 */
-  {"less_unsigned", 0, 0, 2, 1},	/* 0x15 */
-  {"ext", 1, 0, 1, 1},		/* 0x16 */
-  {"ref8", 0, 8, 1, 1},		/* 0x17 */
-  {"ref16", 0, 16, 1, 1},	/* 0x18 */
-  {"ref32", 0, 32, 1, 1},	/* 0x19 */
-  {"ref64", 0, 64, 1, 1},	/* 0x1a */
-  {"ref_float", 0, 0, 1, 1},	/* 0x1b */
-  {"ref_double", 0, 0, 1, 1},	/* 0x1c */
-  {"ref_long_double", 0, 0, 1, 1},	/* 0x1d */
-  {"l_to_d", 0, 0, 1, 1},	/* 0x1e */
-  {"d_to_l", 0, 0, 1, 1},	/* 0x1f */
-  {"if_goto", 2, 0, 1, 0},	/* 0x20 */
-  {"goto", 2, 0, 0, 0},		/* 0x21 */
-  {"const8", 1, 8, 0, 1},	/* 0x22 */
-  {"const16", 2, 16, 0, 1},	/* 0x23 */
-  {"const32", 4, 32, 0, 1},	/* 0x24 */
-  {"const64", 8, 64, 0, 1},	/* 0x25 */
-  {"reg", 2, 0, 0, 1},		/* 0x26 */
-  {"end", 0, 0, 0, 0},		/* 0x27 */
-  {"dup", 0, 0, 1, 2},		/* 0x28 */
-  {"pop", 0, 0, 1, 0},		/* 0x29 */
-  {"zero_ext", 1, 0, 1, 1},	/* 0x2a */
-  {"swap", 0, 0, 2, 2},		/* 0x2b */
-  {"getv", 2, 0, 0, 1},		/* 0x2c */
-  {"setv", 2, 0, 0, 1},		/* 0x2d */
-  {"tracev", 2, 0, 0, 1},	/* 0x2e */
-  {0, 0, 0, 0, 0},		/* 0x2f */
-  {"trace16", 2, 0, 1, 1},	/* 0x30 */
+  {0, 0, 0, 0, 0}
+#define DEFOP(NAME, SIZE, DATA_SIZE, CONSUMED, PRODUCED, VALUE) \
+  , { # NAME, SIZE, DATA_SIZE, CONSUMED, PRODUCED }
+#include "ax.def"
+#undef DEFOP
 };
 
 
diff --git a/gdb/ax.h b/gdb/ax.h
index a5d722b..a124575 100644
--- a/gdb/ax.h
+++ b/gdb/ax.h
@@ -145,65 +145,14 @@ struct agent_expr
     unsigned char *reg_mask;
   };
 
-/* The actual values of the various bytecode operations.
-
-   Other independent implementations of the agent bytecode engine will
-   rely on the exact values of these enums, and may not be recompiled
-   when we change this table.  The numeric values should remain fixed
-   whenever possible.  Thus, we assign them values explicitly here (to
-   allow gaps to form safely), and the disassembly table in
-   agentexpr.h behaves like an opcode map.  If you want to see them
-   grouped logically, see doc/agentexpr.texi.  */
+/* The actual values of the various bytecode operations.  */
 
 enum agent_op
   {
-    aop_float = 0x01,
-    aop_add = 0x02,
-    aop_sub = 0x03,
-    aop_mul = 0x04,
-    aop_div_signed = 0x05,
-    aop_div_unsigned = 0x06,
-    aop_rem_signed = 0x07,
-    aop_rem_unsigned = 0x08,
-    aop_lsh = 0x09,
-    aop_rsh_signed = 0x0a,
-    aop_rsh_unsigned = 0x0b,
-    aop_trace = 0x0c,
-    aop_trace_quick = 0x0d,
-    aop_log_not = 0x0e,
-    aop_bit_and = 0x0f,
-    aop_bit_or = 0x10,
-    aop_bit_xor = 0x11,
-    aop_bit_not = 0x12,
-    aop_equal = 0x13,
-    aop_less_signed = 0x14,
-    aop_less_unsigned = 0x15,
-    aop_ext = 0x16,
-    aop_ref8 = 0x17,
-    aop_ref16 = 0x18,
-    aop_ref32 = 0x19,
-    aop_ref64 = 0x1a,
-    aop_ref_float = 0x1b,
-    aop_ref_double = 0x1c,
-    aop_ref_long_double = 0x1d,
-    aop_l_to_d = 0x1e,
-    aop_d_to_l = 0x1f,
-    aop_if_goto = 0x20,
-    aop_goto = 0x21,
-    aop_const8 = 0x22,
-    aop_const16 = 0x23,
-    aop_const32 = 0x24,
-    aop_const64 = 0x25,
-    aop_reg = 0x26,
-    aop_end = 0x27,
-    aop_dup = 0x28,
-    aop_pop = 0x29,
-    aop_zero_ext = 0x2a,
-    aop_swap = 0x2b,
-    aop_getv = 0x2c,
-    aop_setv = 0x2d,
-    aop_tracev = 0x2e,
-    aop_trace16 = 0x30,
+#define DEFOP(NAME, SIZE, DATA_SIZE, CONSUMED, PRODUCED, VALUE)  \
+    aop_ ## NAME = VALUE,
+#include "ax.def"
+#undef DEFOP
     aop_last
   };
 \f
@@ -221,6 +170,10 @@ extern struct cleanup *make_cleanup_free_agent_expr (struct agent_expr *);
 /* Append a simple operator OP to EXPR.  */
 extern void ax_simple (struct agent_expr *EXPR, enum agent_op OP);
 
+/* Append a pick operator to EXPR.  DEPTH is the stack item to pick,
+   with 0 being top of stack.  */
+extern void ax_pick (struct agent_expr *EXPR, int DEPTH);
+
 /* Append the floating-point prefix, for the next bytecode.  */
 #define ax_float(EXPR) (ax_simple ((EXPR), aop_float))
 
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index ca56c43..c9e149b 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -561,8 +561,6 @@ struct program_space *default_breakpoint_pspace;
    name of a convenience variable.  Making it an expression wouldn't
    work well for map_breakpoint_numbers (e.g. "4 + 5 + 6").
 
-   If the string is a NULL pointer, that denotes the last breakpoint.
-   
    TRAILER is a character which can be found after the number; most
    commonly this is `-'.  If you don't want a trailer, use \0.  */
 
@@ -572,10 +570,7 @@ get_number_trailer (char **pp, int trailer)
   int retval = 0;	/* default */
   char *p = *pp;
 
-  if (p == NULL)
-    /* Empty line means refer to the last breakpoint.  */
-    return breakpoint_count;
-  else if (*p == '$')
+  if (*p == '$')
     {
       /* Make a copy of the name, so we can null-terminate it
          to pass to lookup_internalvar().  */
@@ -651,7 +646,7 @@ get_number (char **pp)
    is completed.  The call that completes the range will advance
    pointer PP past <number2>.  */
 
-int 
+int
 get_number_or_range (char **pp)
 {
   static int last_retval, end_value;
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 86fae66..a3927cf 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -1191,4 +1191,6 @@ extern struct breakpoint *iterate_over_breakpoints (int (*) (struct breakpoint *
 
 extern int user_breakpoint_p (struct breakpoint *);
 
+extern int get_number_or_range (char **pp);
+
 #endif /* !defined (BREAKPOINT_H) */
diff --git a/gdb/c-valprint.c b/gdb/c-valprint.c
index 8e4f932..76579d2 100644
--- a/gdb/c-valprint.c
+++ b/gdb/c-valprint.c
@@ -240,7 +240,7 @@ c_val_print (struct type *type, const gdb_byte *valaddr,
 	}
       /* Array of unspecified length: treat like pointer to first
 	 elt.  */
-      addr = address;
+      addr = address + embedded_offset;
       goto print_unpacked_pointer;
 
     case TYPE_CODE_MEMBERPTR:
diff --git a/gdb/common/ax.def b/gdb/common/ax.def
new file mode 100644
index 0000000..56ddd4a
--- /dev/null
+++ b/gdb/common/ax.def
@@ -0,0 +1,97 @@
+/* Definition of agent opcode values.   -*- c -*-
+   Copyright (C) 1998, 1999, 2000, 2007, 2008, 2009, 2010, 2011
+   Free Software Foundation, Inc.
+
+   This file is part of GDB.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 3 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
+
+/* The actual values of the various bytecode operations.
+
+   Other independent implementations of the agent bytecode engine will
+   rely on the exact values of these enums, and may not be recompiled
+   when we change this table.  The numeric values should remain fixed
+   whenever possible.  Thus, we assign them values explicitly here (to
+   allow gaps to form safely), and the disassembly table in
+   agentexpr.h behaves like an opcode map.  If you want to see them
+   grouped logically, see doc/agentexpr.texi.
+
+   Each line is of the form:
+   
+   DEFOP (name, size, data_size, consumed, produced, opcode)
+   
+   NAME is the name of the operation.
+   SIZE is the number of argument bytes that the operation takes from
+   the bytecode stream.
+   DATA_SIZE is the size of data operated on, in bits, for operations
+   that care (ref and const).  It is zero otherwise.
+   CONSUMED is the number of stack elements consumed.
+   PRODUCED is the number of stack elements produced.
+   OPCODE is the operation's encoding.  */
+
+DEFOP (float, 0, 0, 0, 0, 0x01)
+DEFOP (add, 0, 0, 2, 1, 0x02)
+DEFOP (sub, 0, 0, 2, 1, 0x03)
+DEFOP (mul, 0, 0, 2, 1, 0x04)
+DEFOP (div_signed, 0, 0, 2, 1, 0x05)
+DEFOP (div_unsigned, 0, 0, 2, 1, 0x06)
+DEFOP (rem_signed, 0, 0, 2, 1, 0x07)
+DEFOP (rem_unsigned, 0, 0, 2, 1, 0x08)
+DEFOP (lsh, 0, 0, 2, 1, 0x09)
+DEFOP (rsh_signed, 0, 0, 2, 1, 0x0a)
+DEFOP (rsh_unsigned, 0, 0, 2, 1, 0x0b)
+DEFOP (trace, 0, 0, 2, 0, 0x0c)
+DEFOP (trace_quick, 1, 0, 1, 1, 0x0d)
+DEFOP (log_not, 0, 0, 1, 1, 0x0e)
+DEFOP (bit_and, 0, 0, 2, 1, 0x0f)
+DEFOP (bit_or, 0, 0, 2, 1, 0x10)
+DEFOP (bit_xor, 0, 0, 2, 1, 0x11)
+DEFOP (bit_not, 0, 0, 1, 1, 0x12)
+DEFOP (equal, 0, 0, 2, 1, 0x13)
+DEFOP (less_signed, 0, 0, 2, 1, 0x14)
+DEFOP (less_unsigned, 0, 0, 2, 1, 0x15)
+DEFOP (ext, 1, 0, 1, 1, 0x16)
+DEFOP (ref8, 0, 8, 1, 1, 0x17)


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-02-17 22:03 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-02-17 22:03 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  faa1dd91269f2445b7ef3a618342b2d0f2524042 (commit)
       via  8eccfd2103e78a2ab03f44625740687d3fcb4407 (commit)
       via  8d35b3995d73e87826263f02da0fd05190d34638 (commit)
       via  029b4abd8e0cefb1a5441fa21aef6194e2937005 (commit)
       via  0eb1a6735ee66c020de660de053d719713cbe180 (commit)
       via  40280995d71d4308440b2e315b26a4c6adb3dfa7 (commit)
       via  36138ea20dfb51f3a575313b6388245d4f352f0a (commit)
       via  ea1cd3b3b7dfbc3b01d11217a4e45770ebe6ec83 (commit)
       via  013c34fbf75f6bc266780b93411c5112b34f8928 (commit)
      from  21336ac8c5732af60973597907bf05f083983068 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit faa1dd91269f2445b7ef3a618342b2d0f2524042
Merge: 21336ac 8eccfd2
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Feb 17 23:03:25 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit 8eccfd2103e78a2ab03f44625740687d3fcb4407
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Feb 17 19:06:07 2011 +0000

    Prefix filenames with gdb.trace/

commit 8d35b3995d73e87826263f02da0fd05190d34638
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Feb 17 16:20:37 2011 +0000

    	* dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare.
    	* dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from
    	compile_dwarf_to_ax.  No longer static.  Call
    	dwarf2_compile_cfa_to_ax.
    	(locexpr_tracepoint_var_ref): Update.
    	(loclist_tracepoint_var_ref): Update.
    	* dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare.
    	* dwarf2-frame.c (execute_cfa_program): Remove 'this_frame'
    	argument; add 'gdbarch' and 'pc'.
    	(dwarf2_compile_cfa_to_ax): New function.
    	(dwarf2_frame_cache): Update.

commit 029b4abd8e0cefb1a5441fa21aef6194e2937005
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 17 13:51:51 2011 +0000

    Revert the last change to elf64-x86-64.c.

commit 0eb1a6735ee66c020de660de053d719713cbe180
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Feb 17 06:42:55 2011 +0000

    [Ada] Fix unconstrained packed array size
    
    When ada-lang transforms an array descriptor type (an XUP structure)
    into an array type, the size of the array type is computed by using
    the element size, and multiplying it by the number of elements in
    that array. This does not work, however, for packed arrays, where
    the *packed* size in bits needs to be used.
    
    This usually does not cause any problem, because we end up reading
    more memory than needed.  However, we have observed on LynxOS
    a memory error while trying to read the entire array, because
    the larger-than-needed read tried to read past the end of the stack
    into inaccessible memory.
    
    This patch fixes the problem by correctly computing the array size
    in bytes in the case of packed arrays.
    
    gdb/ChangeLog:
    
            * ada-lang.c (ada_type_of_array): Fix the size of the array
            in the case of an unconstrained packed array.
    
    gdb/testsuite/ChangeLog:
    
            * gdb.ada/packed_array: Expand testcase to test printing of
            unconstrained packed array.

commit 40280995d71d4308440b2e315b26a4c6adb3dfa7
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Feb 17 05:21:29 2011 +0000

    dw2-ranges.exp: simplify using clean_restart
    
    gdb/testsuite/ChangeLog:
    
            * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.

commit 36138ea20dfb51f3a575313b6388245d4f352f0a
Author: qiyao <qiyao>
Date:   Thu Feb 17 02:15:18 2011 +0000

    2011-02-17  Yao Qi  <yao@codesourcery.com>
    
    	* common/Makefile.in: Add more targets for make.

commit ea1cd3b3b7dfbc3b01d11217a4e45770ebe6ec83
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Feb 17 00:00:03 2011 +0000

    *** empty log message ***

commit 013c34fbf75f6bc266780b93411c5112b34f8928
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Feb 16 23:00:04 2011 +0000

    daily update

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                                      |    6 --
 bfd/elf64-x86-64.c                                 |    2 -
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |   25 +++++-
 gdb/ada-lang.c                                     |   21 ++++-
 gdb/common/Makefile.in                             |   17 ++++
 gdb/dwarf2-frame.c                                 |   92 ++++++++++++++++++--
 gdb/dwarf2-frame.h                                 |   14 +++
 gdb/dwarf2loc.c                                    |   33 ++++----
 gdb/dwarf2loc.h                                    |   23 +++++
 gdb/testsuite/ChangeLog                            |   22 ++++--
 gdb/testsuite/gdb.ada/packed_array.exp             |    6 ++
 gdb/testsuite/gdb.ada/packed_array/pa.adb          |   10 ++
 .../gdb.ada/packed_array/{pa.adb => pck.adb}       |   21 ++---
 .../gdb.ada/packed_array/{pa.adb => pck.ads}       |   18 +---
 gdb/testsuite/gdb.dwarf2/dw2-ranges.exp            |    5 +-
 gdb/version.in                                     |    2 +-
 17 files changed, 246 insertions(+), 73 deletions(-)
 copy gdb/testsuite/gdb.ada/packed_array/{pa.adb => pck.adb} (72%)
 copy gdb/testsuite/gdb.ada/packed_array/{pa.adb => pck.ads} (72%)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7ce8b2f..1ab968c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,9 +1,3 @@
-2011-02-16  H.J. Lu  <hongjiu.lu@intel.com>
-
-	* elf64-x86-64.c (elf_x86_64_check_relocs): Check relocation
-	overflow only for ABI_64_P.
-	(elf_x86_64_relocate_section): Likewise.
-
 2011-02-15  Tristan Gingold  <gingold@adacore.com>
 
 	* vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 70fe9b1..343abce 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -1498,7 +1498,6 @@ not_pointer:
 	     sections we don't care about, such as debug sections or
 	     non-constant sections.  */
 	  if (info->shared
-	      && ABI_64_P (abfd)
 	      && (sec->flags & SEC_ALLOC) != 0
 	      && (sec->flags & SEC_READONLY) != 0)
 	    {
@@ -3149,7 +3148,6 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 	     for shared library since it may not be local when used
 	     as function address.  */
 	  if (info->shared
-	      && ABI_64_P (output_bfd)
 	      && h
 	      && h->def_regular
 	      && h->type == STT_FUNC
diff --git a/bfd/version.h b/bfd/version.h
index 3f06d3a..de1fd68 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110216
+#define BFD_VERSION_DATE 20110217
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d73e431..42f77a8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,26 @@
+2011-02-17  Tom Tromey  <tromey@redhat.com>
+
+	* dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare.
+	* dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from
+	compile_dwarf_to_ax.  No longer static.  Call
+	dwarf2_compile_cfa_to_ax.
+	(locexpr_tracepoint_var_ref): Update.
+	(loclist_tracepoint_var_ref): Update.
+	* dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare.
+	* dwarf2-frame.c (execute_cfa_program): Remove 'this_frame'
+	argument; add 'gdbarch' and 'pc'.
+	(dwarf2_compile_cfa_to_ax): New function.
+	(dwarf2_frame_cache): Update.
+
+2011-02-17  Joel Brobecker  <brobecker@adacore.com>
+
+	* ada-lang.c (ada_type_of_array): Fix the size of the array
+	in the case of an unconstrained packed array.
+
+2011-02-17  Yao Qi  <yao@codesourcery.com>
+
+	* common/Makefile.in: Add more targets for make.
+
 2011-02-16  Tom Tromey  <tromey@redhat.com>
 
 	* dwarf2loc.c (unimplemented): Fix typo.
@@ -21,7 +44,7 @@
 	* ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other
 	than axs_rvalue.
 
-2011-02-16  Yao Qi  <yao@qiyaows>
+2011-02-16  Yao Qi  <yao@codesourcery.com>
 
 	* infrun.c (get_displaced_step_closure_by_addr): New.
 	* inferior.h: Declare it.
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 890e091..467e4df 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -1823,8 +1823,25 @@ ada_type_of_array (struct value *arr, int bounds)
           elt_type = create_array_type (array_type, elt_type, range_type);
 
 	  if (ada_is_unconstrained_packed_array_type (value_type (arr)))
-	    TYPE_FIELD_BITSIZE (elt_type, 0) =
-	      decode_packed_array_bitsize (value_type (arr));
+	    {
+	      /* We need to store the element packed bitsize, as well as
+	         recompute the array size, because it was previously
+		 computed based on the unpacked element size.  */
+	      LONGEST lo = value_as_long (low);
+	      LONGEST hi = value_as_long (high);
+
+	      TYPE_FIELD_BITSIZE (elt_type, 0) =
+		decode_packed_array_bitsize (value_type (arr));
+	      /* If the array has no element, then the size is already
+	         zero, and does not need to be recomputed.  */
+	      if (lo < hi)
+		{
+		  int array_bitsize =
+		        (hi - lo + 1) * TYPE_FIELD_BITSIZE (elt_type, 0);
+
+		  TYPE_LENGTH (array_type) = (array_bitsize + 7) / 8;
+		}
+	    }
         }
 
       return lookup_pointer_type (elt_type);
diff --git a/gdb/common/Makefile.in b/gdb/common/Makefile.in
index 29f18e0..a87f2d1 100644
--- a/gdb/common/Makefile.in
+++ b/gdb/common/Makefile.in
@@ -91,3 +91,20 @@ clean mostlyclean:
 distclean maintainer-clean realclean: clean
 	-rm -f *~
 	-rm -f Makefile config.status config.log
+
+.PHONY: install
+install: all
+
+.PHONY: install-only
+install-only:
+
+.PHONY: uninstall
+uninstall: 
+
+.PHONY: check installcheck info dvi pdf html
+.PHONY: install-info install-pdf install-html clean-info
+check installcheck:
+info dvi pdf html:
+install-info install-pdf install-html:
+clean-info:
+
diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c
index 48f47af..edd6a9c 100644
--- a/gdb/dwarf2-frame.c
+++ b/gdb/dwarf2-frame.c
@@ -38,6 +38,8 @@
 
 #include "complaints.h"
 #include "dwarf2-frame.h"
+#include "ax.h"
+#include "dwarf2loc.h"
 
 struct comp_unit;
 
@@ -428,13 +430,11 @@ Not implemented: computing unwound register using explicit value operator"));
 
 static void
 execute_cfa_program (struct dwarf2_fde *fde, const gdb_byte *insn_ptr,
-		     const gdb_byte *insn_end, struct frame_info *this_frame,
-		     struct dwarf2_frame_state *fs)
+		     const gdb_byte *insn_end, struct gdbarch *gdbarch,
+		     CORE_ADDR pc, struct dwarf2_frame_state *fs)
 {
   int eh_frame_p = fde->eh_frame_p;
-  CORE_ADDR pc = get_frame_pc (this_frame);
   int bytes_read;
-  struct gdbarch *gdbarch = get_frame_arch (this_frame);
   enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
 
   while (insn_ptr < insn_end && fs->pc <= pc)
@@ -902,6 +902,85 @@ dwarf2_frame_find_quirks (struct dwarf2_frame_state *fs,
 }
 \f
 
+void
+dwarf2_compile_cfa_to_ax (struct agent_expr *expr, struct axs_value *loc,
+			  struct gdbarch *gdbarch,
+			  CORE_ADDR pc,
+			  struct dwarf2_per_cu_data *data)
+{
+  const int num_regs = gdbarch_num_regs (gdbarch)
+		       + gdbarch_num_pseudo_regs (gdbarch);
+  struct dwarf2_fde *fde;
+  CORE_ADDR text_offset, cfa;
+  struct dwarf2_frame_state fs;
+  int addr_size;
+
+  memset (&fs, 0, sizeof (struct dwarf2_frame_state));
+
+  fs.pc = pc;
+
+  /* Find the correct FDE.  */
+  fde = dwarf2_frame_find_fde (&fs.pc, &text_offset);
+  if (fde == NULL)
+    error (_("Could not compute CFA; needed to translate this expression"));
+
+  /* Extract any interesting information from the CIE.  */
+  fs.data_align = fde->cie->data_alignment_factor;
+  fs.code_align = fde->cie->code_alignment_factor;
+  fs.retaddr_column = fde->cie->return_address_register;
+  addr_size = fde->cie->addr_size;
+
+  /* Check for "quirks" - known bugs in producers.  */
+  dwarf2_frame_find_quirks (&fs, fde);
+
+  /* First decode all the insns in the CIE.  */
+  execute_cfa_program (fde, fde->cie->initial_instructions,
+		       fde->cie->end, gdbarch, pc, &fs);
+
+  /* Save the initialized register set.  */
+  fs.initial = fs.regs;
+  fs.initial.reg = dwarf2_frame_state_copy_regs (&fs.regs);
+
+  /* Then decode the insns in the FDE up to our target PC.  */
+  execute_cfa_program (fde, fde->instructions, fde->end, gdbarch, pc, &fs);
+
+  /* Calculate the CFA.  */
+  switch (fs.regs.cfa_how)
+    {
+    case CFA_REG_OFFSET:
+      {
+	int regnum = gdbarch_dwarf2_reg_to_regnum (gdbarch, fs.regs.cfa_reg);
+
+	if (regnum == -1)
+	  error (_("Unable to access DWARF register number %d"),
+		 (int) fs.regs.cfa_reg); /* FIXME */
+	ax_reg (expr, regnum);
+
+	if (fs.regs.cfa_offset != 0)
+	  {
+	    if (fs.armcc_cfa_offsets_reversed)
+	      ax_const_l (expr, -fs.regs.cfa_offset);
+	    else
+	      ax_const_l (expr, fs.regs.cfa_offset);
+	    ax_simple (expr, aop_add);
+	  }
+      }
+      break;
+
+    case CFA_EXP:
+      ax_const_l (expr, text_offset);
+      dwarf2_compile_expr_to_ax (expr, loc, gdbarch, addr_size,
+				 fs.regs.cfa_exp,
+				 fs.regs.cfa_exp + fs.regs.cfa_exp_len,
+				 data);
+      break;
+
+    default:
+      internal_error (__FILE__, __LINE__, _("Unknown CFA rule."));
+    }
+}
+
+\f
 struct dwarf2_frame_cache
 {
   /* DWARF Call Frame Address.  */
@@ -979,14 +1058,15 @@ dwarf2_frame_cache (struct frame_info *this_frame, void **this_cache)
 
   /* First decode all the insns in the CIE.  */
   execute_cfa_program (fde, fde->cie->initial_instructions,
-		       fde->cie->end, this_frame, fs);
+		       fde->cie->end, gdbarch, get_frame_pc (this_frame), fs);
 
   /* Save the initialized register set.  */
   fs->initial = fs->regs;
   fs->initial.reg = dwarf2_frame_state_copy_regs (&fs->regs);
 
   /* Then decode the insns in the FDE up to our target PC.  */
-  execute_cfa_program (fde, fde->instructions, fde->end, this_frame, fs);
+  execute_cfa_program (fde, fde->instructions, fde->end, gdbarch,
+		       get_frame_pc (this_frame), fs);
 
   /* Calculate the CFA.  */
   switch (fs->regs.cfa_how)
diff --git a/gdb/dwarf2-frame.h b/gdb/dwarf2-frame.h
index bf7134d..91d7643 100644
--- a/gdb/dwarf2-frame.h
+++ b/gdb/dwarf2-frame.h
@@ -26,6 +26,9 @@
 struct gdbarch;
 struct objfile;
 struct frame_info;
+struct dwarf2_per_cu_data;
+struct agent_expr;
+struct axs_value;
 
 /* Register rule.  */
 
@@ -118,4 +121,15 @@ extern const struct frame_base *
 
 CORE_ADDR dwarf2_frame_cfa (struct frame_info *this_frame);
 
+/* Update the agent expression EXPR with code to compute the CFA for a
+   frame at PC.  GDBARCH is the architecture of the function at PC.
+   This function may call dwarf2_compile_expr_to_ax; DATA is passed
+   through to that function if needed.  */
+
+extern void dwarf2_compile_cfa_to_ax (struct agent_expr *expr,
+				      struct axs_value *loc,
+				      struct gdbarch *gdbarch,
+				      CORE_ADDR pc,
+				      struct dwarf2_per_cu_data *data);
+
 #endif /* dwarf2-frame.h */
diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2loc.c
index 3a297c7..4d31afa 100644
--- a/gdb/dwarf2loc.c
+++ b/gdb/dwarf2loc.c
@@ -1426,11 +1426,11 @@ get_ax_pc (void *baton)
    example, if the expression cannot be compiled, or if the expression
    is invalid.  */
 
-static void
-compile_dwarf_to_ax (struct agent_expr *expr, struct axs_value *loc,
-		     struct gdbarch *arch, unsigned int addr_size,
-		     const gdb_byte *op_ptr, const gdb_byte *op_end,
-		     struct dwarf2_per_cu_data *per_cu)
+void
+dwarf2_compile_expr_to_ax (struct agent_expr *expr, struct axs_value *loc,
+			   struct gdbarch *arch, unsigned int addr_size,
+			   const gdb_byte *op_ptr, const gdb_byte *op_end,
+			   struct dwarf2_per_cu_data *per_cu)
 {
   struct cleanup *cleanups;
   int i, *offsets;
@@ -1717,8 +1717,8 @@ compile_dwarf_to_ax (struct agent_expr *expr, struct axs_value *loc,
 				     &datastart, &datalen);
 
 	    op_ptr = read_sleb128 (op_ptr, op_end, &offset);
-	    compile_dwarf_to_ax (expr, loc, arch, addr_size, datastart,
-				 datastart + datalen, per_cu);
+	    dwarf2_compile_expr_to_ax (expr, loc, arch, addr_size, datastart,
+				       datastart + datalen, per_cu);
 
 	    if (offset != 0)
 	      {
@@ -1955,7 +1955,8 @@ compile_dwarf_to_ax (struct agent_expr *expr, struct axs_value *loc,
 	  break;
 
 	case DW_OP_call_frame_cfa:
-	  unimplemented (op);
+	  dwarf2_compile_cfa_to_ax (expr, loc, arch, expr->scope, per_cu);
+	  loc->kind = axs_lvalue_memory;
 	  break;
 
 	case DW_OP_GNU_push_tls_address:
@@ -2069,9 +2070,9 @@ compile_dwarf_to_ax (struct agent_expr *expr, struct axs_value *loc,
 	    /* DW_OP_call_ref is currently not supported.  */
 	    gdb_assert (block.per_cu == per_cu);
 
-	    compile_dwarf_to_ax (expr, loc, arch, addr_size,
-				 block.data, block.data + block.size,
-				 per_cu);
+	    dwarf2_compile_expr_to_ax (expr, loc, arch, addr_size,
+				       block.data, block.data + block.size,
+				       per_cu);
 	  }
 	  break;
 
@@ -2673,9 +2674,9 @@ locexpr_tracepoint_var_ref (struct symbol *symbol, struct gdbarch *gdbarch,
   if (dlbaton->data == NULL || dlbaton->size == 0)
     value->optimized_out = 1;
   else
-    compile_dwarf_to_ax (ax, value, gdbarch, addr_size,
-			 dlbaton->data, dlbaton->data + dlbaton->size,
-			 dlbaton->per_cu);
+    dwarf2_compile_expr_to_ax (ax, value, gdbarch, addr_size,
+			       dlbaton->data, dlbaton->data + dlbaton->size,
+			       dlbaton->per_cu);
 }
 
 /* The set of location functions used with the DWARF-2 expression
@@ -2826,8 +2827,8 @@ loclist_tracepoint_var_ref (struct symbol *symbol, struct gdbarch *gdbarch,
   if (data == NULL || size == 0)
     value->optimized_out = 1;
   else
-    compile_dwarf_to_ax (ax, value, gdbarch, addr_size, data, data + size,
-			 dlbaton->per_cu);
+    dwarf2_compile_expr_to_ax (ax, value, gdbarch, addr_size, data, data + size,
+			       dlbaton->per_cu);
 }
 
 /* The set of location functions used with the DWARF-2 expression
diff --git a/gdb/dwarf2loc.h b/gdb/dwarf2loc.h
index ee52506..96a490e 100644
--- a/gdb/dwarf2loc.h
+++ b/gdb/dwarf2loc.h
@@ -25,6 +25,8 @@ struct symbol_computed_ops;
 struct objfile;
 struct dwarf2_per_cu_data;
 struct dwarf2_loclist_baton;
+struct agent_expr;
+struct axs_value;
 
 /* This header is private to the DWARF-2 reader.  It is shared between
    dwarf2read.c and dwarf2loc.c.  */
@@ -106,4 +108,25 @@ struct dwarf2_loclist_baton
 extern const struct symbol_computed_ops dwarf2_locexpr_funcs;
 extern const struct symbol_computed_ops dwarf2_loclist_funcs;
 
+/* Compile a DWARF location expression to an agent expression.
+   
+   EXPR is the agent expression we are building.
+   LOC is the agent value we modify.
+   ARCH is the architecture.
+   ADDR_SIZE is the size of addresses, in bytes.
+   OP_PTR is the start of the location expression.
+   OP_END is one past the last byte of the location expression.
+   
+   This will throw an exception for various kinds of errors -- for
+   example, if the expression cannot be compiled, or if the expression
+   is invalid.  */
+
+extern void dwarf2_compile_expr_to_ax (struct agent_expr *expr,
+				       struct axs_value *loc,
+				       struct gdbarch *arch,
+				       unsigned int addr_size,
+				       const gdb_byte *op_ptr,
+				       const gdb_byte *op_end,
+				       struct dwarf2_per_cu_data *per_cu);
+
 #endif /* dwarf2loc.h */
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5af639d..005b580 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,10 +1,20 @@
+2011-02-17  Joel Brobecker  <brobecker@adacore.com>
+
+	* gdb.ada/packed_array: Expand testcase to test printing of
+	unconstrained packed array.
+
+2011-02-17  Joel Brobecker  <brobecker@adacore.com>
+
+	* gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
+
 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
 
-	* collection.c (globalarr3): New global.
+	* gdb.trace/collection.c (globalarr3): New global.
 	(main): Initialize it before collecting, and and clear it
 	afterwards.
-	* collection.exp (gdb_collect_globals_test): Test collecting with
-	'{type} addr', where the addr expression is not an rvalue.
+	* gdb.trace/collection.exp (gdb_collect_globals_test): Test
+	collecting with '{type} addr', where the addr expression is not an
+	rvalue.
 
 2011-02-16  Ken Werner  <ken.werner@de.ibm.com>
 
@@ -15,11 +25,11 @@
 
 2011-02-16  Pedro Alves  <pedro@codesourcery.com>
 
-	* collection.c (globalarr2): New global.
+	* gdb.trace/collection.c (globalarr2): New global.
 	(main): Initialize it before collecting, and and clear it
 	afterwards.
-	* collection.exp (gdb_collect_globals_test): Test collecting
-	overlapping memory ranges.
+	* gdb.trace/collection.exp (gdb_collect_globals_test): Test
+	collecting overlapping memory ranges.
 
 2011-02-15  Michael Snyder  <msnyder@vmware.com>
 
diff --git a/gdb/testsuite/gdb.ada/packed_array.exp b/gdb/testsuite/gdb.ada/packed_array.exp
index 1789aab..d7885bb 100644
--- a/gdb/testsuite/gdb.ada/packed_array.exp
+++ b/gdb/testsuite/gdb.ada/packed_array.exp
@@ -50,3 +50,9 @@ gdb_test "ptype &var" \
 gdb_test "print &var" \
          "= \\(access array \\(\\.\\.\\.\\) of boolean\\) \\(4 => true, false, true, false, true\\)" \
          "print &var"
+
+# Print the value of U_Var, an unconstrainted packed array.
+
+gdb_test "print u_var" \
+         "= \\(true, false, false, true, true, false\\)"
+
diff --git a/gdb/testsuite/gdb.ada/packed_array/pa.adb b/gdb/testsuite/gdb.ada/packed_array/pa.adb
index fbe681d..ca60c2d 100644
--- a/gdb/testsuite/gdb.ada/packed_array/pa.adb
+++ b/gdb/testsuite/gdb.ada/packed_array/pa.adb
@@ -14,6 +14,8 @@
 --  You should have received a copy of the GNU General Public License
 --  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+with Pck; use Pck;
+
 procedure PA is
 
    type Packed_Array is array (4 .. 8) of Boolean;
@@ -21,9 +23,17 @@ procedure PA is
 
    Var : Packed_Array;
 
+   --  Unconstrained packed array (bounds are dynamic).
+   type Unconstrained_Packed_Array is array (Integer range <>) of Boolean;
+
+   U_Var : Unconstrained_Packed_Array (1 .. Ident (6));


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-02-16 22:30 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-02-16 22:30 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  21336ac8c5732af60973597907bf05f083983068 (commit)
       via  1c87a8d2351c7a991c3000976a4d5712b35dc65b (commit)
       via  4ace45f68dea17d04253cc4ecded176660b84f5b (commit)
       via  380719737d29df7938f36365ce330ba8baefa60b (commit)
       via  22cd4d5013c70dda5079edca827e8eb90cf67a6a (commit)
       via  75137e262735658bbb1ee004286f976e6d47328a (commit)
       via  48d7883334d3a2d3f3fec543dd6636a32dd4230f (commit)
       via  dd1ced47463d49196deb4d46c687dbb468622505 (commit)
       via  02198265b69a85dfe8a6240b02356a930e932f20 (commit)
       via  edea306253a16a76f8971445626a9512974eb091 (commit)
       via  eabaff517967baa2549433f82ae86820c7996267 (commit)
       via  c7c23b0b1c2f82a24bde35a18fe8549b4d5a8101 (commit)
       via  214ee551673c9b0b6b2c9020f9e86d9011cb4911 (commit)
       via  3557d238ef89dbbbc8122d3605608e7b1303cd46 (commit)
       via  a9d76c0ed3004e3f629fba243259d71c3024093b (commit)
       via  3fcac5d0dd68bcde8e0a3344bbaced5f6f08fd09 (commit)
       via  2df8c0fa0d68220a5c6f17624dcecab841fa471b (commit)
       via  49f959ad49f77800e8be2eecbf8048dfe47f7925 (commit)
       via  862811ac870a3f8c35e70319fc0e566c79e4c528 (commit)
       via  cfc871c10147065a34120fa6e885530b70afaa15 (commit)
       via  0b99eaa23a00589655d011511e38578416bf118c (commit)
       via  1b368083ab2b61258ca543e94ba716130bea0b52 (commit)
       via  856b65754435b90c9b1bcec7db9d574eba045aad (commit)
       via  556e3b4dfb00739a8a575c27960afd91a879b09c (commit)
       via  4e7a26fc8cdef3845f6404d3344db971e7b840d9 (commit)
       via  47c85aa99650d8747efa4bf856a606e5ba40435e (commit)
       via  f3a44c80066ca14dba5287a76044ca8ed1375071 (commit)
       via  c9419584233887dfcf9481ece9490ca5ccc835a1 (commit)
       via  1a163d2b16a3192e4724a4f6270fe5a2d58d1465 (commit)
       via  aa4ca091d8e015ba58ad951d0df13d2127e7c633 (commit)
       via  3f5600b74388ede7caf2404e098323f3e2802c4c (commit)
       via  d9612bccd1918d73ce97aa4dde3e5a8c42ce35bd (commit)
       via  29b4389a0f5bd4b0c88743209ee56283680adb38 (commit)
       via  13b12c7db22468a021db59ab5e96222bf6059af6 (commit)
       via  1bfca6ddda2288b13f40035768abb998c7f20a3e (commit)
       via  65a711d066ca874003a100910f47edd3d0deceb6 (commit)
       via  713d8e495e4b772bdb7097297b7072d9c9c32cf3 (commit)
       via  071f12fd822ac670d6fc1eac2aa595bbabb69517 (commit)
       via  088fb8bccdbcbec081d5cea7814416f2fa224877 (commit)
       via  999294cfd150f1ed4393d349027f76ca77791761 (commit)
       via  2c53f3057e87a0683610f93ca295c4149ce0f589 (commit)
       via  c4f121580815d0d2767fed6906098f1a494472d8 (commit)
       via  727a3a5532e6b18c632a5d404fa9d2bf9a8f4473 (commit)
       via  cb90d2231795e71f93b6298cb3195f52eee7accd (commit)
       via  e275a10b1e3dc0a6048671ffd5f5e9a0d1d7fc67 (commit)
       via  a6e3210db7ee98f70ce97bf7fae59ee1ab011fb6 (commit)
       via  7e8fe5629367d9a70d642b1def35436611490b39 (commit)
       via  0c9ce8f7f9cf902229b1f718a84e56c588be4faa (commit)
       via  c6ce9cee23e384f9858fe51e4f65d9ededbff0d8 (commit)
       via  3db04b22333047072e92464fff090246e5a570d8 (commit)
       via  67d3c91a65d1fb133b1a45386cbc27bed1fe1490 (commit)
       via  d1a11fe646d2bf954560fcc5cc4a99678d984722 (commit)
       via  c93c96b8b6fa91a8aeb97e013399d2fdf6183368 (commit)
       via  532b15683a02ae07a0c15eda8652145853ec5086 (commit)
       via  c6fad41d782803bbb365e9465fba42b0876e1793 (commit)
       via  ba02454a11a324b99f309ee4c1534a6af5d702b8 (commit)
       via  fb3b6436c32daa1f104a04edfbf000799833b702 (commit)
       via  89b28d4d2691a7f44c961cbe69d3f5005c84e193 (commit)
       via  2085dc2fb8e527a26170aeb89d42f37118e84883 (commit)
       via  270cc2b8e38e82ae42a3727fcd8b45235e5f04d5 (commit)
       via  2e44e8d4141b6f17814d98d8559a76dd4d286246 (commit)
       via  d1d6a0c0f472243b300c90268bea083d1ecf9531 (commit)
       via  4646586202d5ee54ef85a8a1353e75beb739f744 (commit)
       via  05f25545cd26db17a7279a72279017f5bc946bd1 (commit)
       via  de970bd5ae74558b21453feaf00726e6e949f0e3 (commit)
      from  5365590483584791f139a03dfe322d811803e3f7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 21336ac8c5732af60973597907bf05f083983068
Merge: 5365590 1c87a8d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Feb 16 23:26:25 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit 1c87a8d2351c7a991c3000976a4d5712b35dc65b
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Feb 16 21:45:30 2011 +0000

    	* dwarf2loc.c (unimplemented): Fix typo.

commit 4ace45f68dea17d04253cc4ecded176660b84f5b
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Feb 16 21:32:03 2011 +0000

    	* dwarf2loc.c (unimplemented): Handle unnamed opcodes.
    	(compile_dwarf_to_ax) <default>: Use unimplemented.
    	<DW_OP_deref>: Update.
    	(disassemble_dwarf_expression): Update.
    	* dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument.
    	(decode_locdesc): Update.
    	* dwarf2expr.h (dwarf_stack_op_name): Update.

commit 380719737d29df7938f36365ce330ba8baefa60b
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Feb 16 21:02:27 2011 +0000

    	* ax.h (struct aop_map) <name>: Now const.

commit 22cd4d5013c70dda5079edca827e8eb90cf67a6a
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Wed Feb 16 18:07:54 2011 +0000

    2011-02-16  Tom Tromey  <tromey@redhat.com>
    
    	gdb/
    	* ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other
    	than axs_rvalue.
    
    2011-02-16  Pedro Alves  <pedro@codesourcery.com>
    
    	gdb/testsuite/
    	* collection.c (globalarr3): New global.
    	(main): Initialize it before collecting, and and clear it
    	afterwards.
    	* collection.exp (gdb_collect_globals_test): Test collecting with
    	'{type} addr', where the addr expression is not an rvalue.

commit 75137e262735658bbb1ee004286f976e6d47328a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Feb 16 14:58:18 2011 +0000

    Don't check relocation overflow for x32.
    
    2011-02-16  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf64-x86-64.c (elf_x86_64_check_relocs): Check relocation
    	overflow only for ABI_64_P.
    	(elf_x86_64_relocate_section): Likewise.

commit 48d7883334d3a2d3f3fec543dd6636a32dd4230f
Author: qiyao <qiyao>
Date:   Wed Feb 16 14:54:39 2011 +0000

    2011-02-16  Yao Qi  <yao@qiyaows>
    
    	* infrun.c (get_displaced_step_closure_by_addr): New.
    	* inferior.h: Declare it.
    	* arm-tdep.c: (arm_pc_is_thumb): Call
    	get_displaced_step_closure_by_addr.  Adjust MEMADDR if it
    	returns non-NULL.

commit dd1ced47463d49196deb4d46c687dbb468622505
Author: kwerner <kwerner>
Date:   Wed Feb 16 14:38:52 2011 +0000

    gdb/testsuite/ChangeLog
    
    2011-02-16  Ken Werner  <ken.werner@de.ibm.com>
    
            * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
            a bool variable. Expect correct OpenCL names for vector types. Use the
            uc3 variable name instead of referring to the uchar3 built-in type.
            Escape the asterisk at the half pointer test.

commit 02198265b69a85dfe8a6240b02356a930e932f20
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Wed Feb 16 12:59:03 2011 +0000

    2011-02-16  Pedro Alves  <pedro@codesourcery.com>
    	    Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	gdb/
    	* tracepoint.c (memrange_sortmerge): Fix list A's end calculation.
    
    2011-02-16  Pedro Alves  <pedro@codesourcery.com>
    
    	gdb/testsuite/
    	* collection.c (globalarr2): New global.
    	(main): Initialize it before collecting, and and clear it
    	afterwards.
    	* collection.exp (gdb_collect_globals_test): Test collecting
    	overlapping memory ranges.

commit edea306253a16a76f8971445626a9512974eb091
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Wed Feb 16 11:57:41 2011 +0000

    Fix pasto...

commit eabaff517967baa2549433f82ae86820c7996267
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Wed Feb 16 11:55:58 2011 +0000

    	gdb/
    	* value.c (value_contents_copy_raw): Extend describing comment.
    	Assert that the destination contents we're overwriting are wholly
    	available.
    	* value.h (value_contents_copy): Extend describing comment.

commit c7c23b0b1c2f82a24bde35a18fe8549b4d5a8101
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Wed Feb 16 10:13:52 2011 +0000

    	* value.c (value_available_contents_eq): Remove redundant local
    	variables.  Fix available contents comparision.
    	* value.h (value_available_contents_eq): Extend describing
    	comment.

commit 214ee551673c9b0b6b2c9020f9e86d9011cb4911
Author: qiyao <qiyao>
Date:   Wed Feb 16 09:46:08 2011 +0000

    2011-02-16  Yao Qi  <yao@codesourcery.com>
    
            * thread.c (info_threads_command): Add missing i18n markup and remove
            trailing newline.

commit 3557d238ef89dbbbc8122d3605608e7b1303cd46
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Feb 16 00:00:02 2011 +0000

    *** empty log message ***

commit a9d76c0ed3004e3f629fba243259d71c3024093b
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Feb 15 23:00:05 2011 +0000

    daily update

commit 3fcac5d0dd68bcde8e0a3344bbaced5f6f08fd09
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Tue Feb 15 21:43:24 2011 +0000

    2011-02-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
    
    	* breakpoint.c (longjmp_names): New variable.
    	(struct breakpoint_objfile_data): New type.
    	(breakpoint_objfile_key): New variable.
    	(msym_not_found): New variable.
    	(msym_not_found_p): New predicate.
    	(get_breakpoint_objfile_data): New function.
    	(create_overlay_event_breakpoint): Check per-objfile cache for
    	symbols first.
    	(create_longjmp_master_breakpoint): Likewise.
    	(create_std_terminate_master_breakpoint): Likewise.
    	(create_exception_master_breakpoint): Likewise.
    	(_initialize_breakpoint): Register per-objfile data key.

commit 2df8c0fa0d68220a5c6f17624dcecab841fa471b
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Feb 15 21:25:05 2011 +0000

    Fix mis-merge of changelog.

commit 49f959ad49f77800e8be2eecbf8048dfe47f7925
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Tue Feb 15 21:23:34 2011 +0000

    2011-02-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
    
    	* breakpoint.c ((create_overlay_event_breakpoint): Const-propagate
    	parameter value.
    	(create_longjmp_master_breakpoint): Loop over longjmp names.
    	(create_std_terminate_master_breakpoint): Const-propagate parameter
    	value.
    	(update_breakpoints_after_exec): Adjust.
    	(breakpoint_re_set): Adjust.

commit 862811ac870a3f8c35e70319fc0e566c79e4c528
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Feb 15 21:17:51 2011 +0000

    2011-02-15  Michael Snyder  <msnyder@vmware.com>
    
    	* command.h (enum command_class): New class 'no_set_class', for
    	"show" commands without a corresponding "set" command.
    	* value.c (_initialize_values): Use 'no_set_class' for "show values".
    	* copying.c (_initialize_copying): Ditto for "show copying" and
    	"show warranty".
    	* cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and
    	"show version".
    	* cli/cli-setshow.c (cmd_show_list): Skip "show" commands for
    	which there is no corresponding "set" command (eg. "show copying").
    
    2011-02-14  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.texinfo (threads): Document argument for "info threads" cmd.
    	Document new command "thread find".
    
    2011-02-15  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.base/default.exp: Add tests for thread commands.
    	* gdb.base/help.exp: Add tests for thread commands.
    	* gdb.threads/thread-find.exp: New test for thread find command.

commit cfc871c10147065a34120fa6e885530b70afaa15
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 15 21:14:01 2011 +0000

    Merge gdb/common/ChangeLog back to gdb/ChangeLog.

commit 0b99eaa23a00589655d011511e38578416bf118c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 15 21:05:50 2011 +0000

    gdb/
    	* Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'.
    	* aclocal.m4: Regenerated with aclocal-1.11.1.
    	* common/configure: Regenerate with autoconf-2.64.
    
    gdb/gdbserver/
    	* aclocal.m4: Regenerated with aclocal-1.11.1.

commit 1b368083ab2b61258ca543e94ba716130bea0b52
Author: kwerner <kwerner>
Date:   Tue Feb 15 20:09:46 2011 +0000

    gdb/ChangeLog
    
    2011-02-15  Ken Werner  <ken.werner@de.ibm.com>
    
    	* opencl-lang.c (build_opencl_types): Set the size of the built-in
    	bool data type to a size of one byte.
    
    gdb/testsuite/ChangeLog
    
    2011-02-15  Ken Werner  <ken.werner@de.ibm.com>
    
    	* gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.

commit 856b65754435b90c9b1bcec7db9d574eba045aad
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Tue Feb 15 17:22:20 2011 +0000

    	gdb/
    	* target.c (memory_xfer_live_readonly_partial): Document where to
    	look for interface description.

commit 556e3b4dfb00739a8a575c27960afd91a879b09c
Author: qiyao <qiyao>
Date:   Tue Feb 15 14:26:31 2011 +0000

    2011-02-15  Yao Qi  <yao@codesourcery.com>
    
    	PR tdep/12352
    	* arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in
    	order to store PC value on stack instead of text section.
    
    2011-02-15  Yao Qi  <yao@codesourcery.com>
    
    	PR tdep/12352
    	* gdb.arch/arm-disp-step.S : New test for str instruction.
    	* gdb.arch/arm-disp-step.exp : Likewise

commit 4e7a26fc8cdef3845f6404d3344db971e7b840d9
Author: Thiago Jung Bauermann <bauerman@br.ibm.com>
Date:   Tue Feb 15 13:35:18 2011 +0000

    gdb/
    	* rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for
    	the EFP register set size.
    	(efpr_pseudo_register_read): Use regcache_raw_read_part to read
    	data from the VMX register.
    	(efpr_pseudo_register_write): Use regcache_raw_write_part to read
    	and write data from/to the VMX register.
    
    gdb/testsuite/
    	* gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
    	"vector_register2_vr" test strings.  Test the extended floating
    	point registers (F32~F63).
    	* lib/gdb.exp (skip_vsx_tests): Update compile flags for the
    	IBM XL C compiler.  Make the test program use a register provided
    	by the compiler for the lxvd2x instruction.

commit 47c85aa99650d8747efa4bf856a606e5ba40435e
Author: Tristan Gingold <gingold@adacore.com>
Date:   Tue Feb 15 09:35:41 2011 +0000

    2011-02-15  Tristan Gingold  <gingold@adacore.com>
    
    	* vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.

commit f3a44c80066ca14dba5287a76044ca8ed1375071
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Feb 15 04:07:42 2011 +0000

    	* elf64-ppc.c (ppc64_elf_edit_toc): Reinstate second read of
    	toc relocs.  Fuss over free(NULL).

commit c9419584233887dfcf9481ece9490ca5ccc835a1
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Feb 15 00:00:03 2011 +0000

    *** empty log message ***

commit 1a163d2b16a3192e4724a4f6270fe5a2d58d1465
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 14 23:41:33 2011 +0000

    2011-02-14  Michael Snyder  <msnyder@vmware.com>
    
    	* command.h (enum command_class): New class 'no_set_class', for
    	"show" commands without a corresponding "set" command.
    	* value.c (_initialize_values): Use 'no_set_class' for "show values".
    	* copying.c (_initialize_copying): Ditto for "show copying" and
    	"show warranty".
    	* cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and
    	"show version".
    	* cli/cli-setshow.c (cmd_show_list): Skip "show" commands for
    	which there is no corresponding "set" command (eg. "show copying").

commit aa4ca091d8e015ba58ad951d0df13d2127e7c633
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Feb 14 23:14:34 2011 +0000

    2011-02-14  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.texinfo (Threads): Update example of new thread message.

commit 3f5600b74388ede7caf2404e098323f3e2802c4c
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Feb 14 23:00:05 2011 +0000

    daily update

commit d9612bccd1918d73ce97aa4dde3e5a8c42ce35bd
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 22:08:45 2011 +0000

    	* exec.c (section_table_available_memory): Change `len' parameter
    	type to ULONGEST.
    	* exec.h (section_table_available_memory): Ditto.
    	* value.h (read_value_memory): Rename the `offset' parameter to
    	`embedded_offset'.

commit 29b4389a0f5bd4b0c88743209ee56283680adb38
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 19:20:45 2011 +0000

    Add proper attribution.

commit 13b12c7db22468a021db59ab5e96222bf6059af6
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 19:19:17 2011 +0000

    	gdb/
    	* memrange.c (compare_mem_ranges): Mention sort order in
    	describing comment.
    	(normalize_mem_ranges): Add comment.  Fix ra->length calculation.
    	* tracepoint.c (traceframe_available_memory): Extend comment to
    	mention what happens to RESULT when the target does not support
    	the query.

commit 1bfca6ddda2288b13f40035768abb998c7f20a3e
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon Feb 14 17:12:05 2011 +0000

    opcodes: blackfin: fix style
    
    Non-functional thrashing to the GNU style.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 65a711d066ca874003a100910f47edd3d0deceb6
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon Feb 14 17:03:43 2011 +0000

    bfd/ld: handle ABI prefixes in version scripts
    
    The default language in version scripts is supposed to be C, but no
    symbol demangling is performed on the symbols by default.  This makes
    targets with a symbol prefix to fail with most version scripts out
    there.  So strip away this prefix by default.
    
    This fixes many tests (real world and ld's testsuite) for Blackfin
    targets and doesn't seem to cause regressions for x86_64.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 713d8e495e4b772bdb7097297b7072d9c9c32cf3
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 12:54:40 2011 +0000

    	* value.c (mark_value_bytes_unavailable): Fix indexing the `bef'
    	range.

commit 071f12fd822ac670d6fc1eac2aa595bbabb69517
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:52:47 2011 +0000

    	* value.c (value_bits_valid, value_bits_synthetic_pointer):
    	No longer handle NULL values.

commit 088fb8bccdbcbec081d5cea7814416f2fa224877
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:35:44 2011 +0000

    	gdb/
    	* exceptions.h (NOT_AVAILABLE_ERROR): New error.
    	* value.c: Include "exceptions.h".
    	(require_available): Throw NOT_AVAILABLE_ERROR instead of a
    	generic error.
    	* cp-abi.c: Include gdb_assert.h.
    	(baseclass_offset): Add `embedded_offset' and `val' parameters.
    	Assert the method is implemented.  Wrap NOT_AVAILABLE_ERROR
    	errors.
    	* cp-abi.h (baseclass_offset): Add `embedded_offset' and `val'
    	parameters.  No longer returns -1 on error.
    	(struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and
    	`val' parameters.
    	* cp-valprint.c: Include exceptions.h.
    	(cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching
    	the baseclass_offset.  Handle unavailable base classes.  Use
    	val_print_invalid_address.
    	* p-valprint.c: Include exceptions.h.
    	(pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors
    	when fetching the baseclass_offset.  No longer expect
    	baseclass_offset returning -1.  Handle unavailable base classes.
    	Use val_print_invalid_address.
    	* valops.c (dynamic_cast_check_1): Rename `contents' parameter to
    	`valaddr' parameter, and change its type to gdb_byte pointer.  Add
    	`embedded_offset' and `val' parameters.  Adjust.
    	(dynamic_cast_check_2): Rename `contents' parameter to `valaddr'
    	parameter, and change its type to gdb_byte pointer.  Add
    	`embedded_offset' and `val' parameters.  Adjust.  No longer expect
    	baseclass_offset returning -1.
    	(value_dynamic_cast): Use value_contents_for_printing rather than
    	value_contents.  Adjust.
    	(search_struct_field): No longer expect baseclass_offset returning
    	-1.
    	(search_struct_method): If reading memory from the target is
    	necessary, wrap it in a new value to pass to baseclass_offset.  No
    	longer expect baseclass_offset returning -1.
    	(find_method_list): No longer expect baseclass_offset returning
    	-1.  Use value_contents_for_printing rather than value_contents.
    	* valprint.c (val_print_invalid_address): New function.
    	* valprint.h (val_print_invalid_address): Declare.
    	* gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset'
    	and `val' parameters.  No longer expect baseclass_offset returning
    	-1.  Adjust.
    	* gnu-v2-abi.c: Include "exceptions.h".
    	(gnuv2_baseclass_offset): Add `embedded_offset' and `val'
    	parameters.  Handle unavailable memory.  Recurse through
    	gnuv2_baseclass_offset directly, rather than through
    	baseclass_offset.  No longer returns -1 on not found, instead
    	throw an error.
    	* gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and
    	`val' parameters.  Adjust.
    
    	gdb/testsuite/
    	* gdb.trace/unavailable.cc (class Base, class Middle, class
    	Derived): New types.
    	(derived_unavail, derived_partial, derived_whole): New globals.
    	(virtual_partial): New global.
    	(virtualp): Point at virtual_partial.
    	* gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
    	related to unavailable vptr.

commit 999294cfd150f1ed4393d349027f76ca77791761
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:34:31 2011 +0000

    	gdb/testuite/
    	* gdb.trace/unavailable.cc (a, b, c): New globals.
    	(main): Set and clear them.
    	* gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
    	`a' and `c', and check that `b' isn't collected, although `a' and
    	`c' are.
    
    	gdb/
    	* tracepoint.c (memrange_sortmerge): Don't merge ranges that are
    	almost but not quite adjacent.

commit 2c53f3057e87a0683610f93ca295c4149ce0f589
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:33:24 2011 +0000

    	gdb/testsuite/
    	* gdb.trace/unavailable.cc (struct Virtual): New.
    	(virtualp): New global pointer.
    	* gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
    	printing a pointer to an object whose type has a vtable, with
    	print object on.
    
    	gdb/
    	* value.h (value_entirely_available): Declare.
    	* value.c (value_entirely_available): New function.
    	* c-valprint.c (c_value_print): Don't try fetching the pointer's
    	real type if the pointer is unavailable.

commit c4f121580815d0d2767fed6906098f1a494472d8
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:32:16 2011 +0000

    	gdb/
    	* valops.c (value_repeat): Use read_value_memory instead of
    	read_memory.
    
    	gdb/testsuite/
    	* gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
    	value repeat handles unavailableness.

commit 727a3a5532e6b18c632a5d404fa9d2bf9a8f4473
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:30:36 2011 +0000

    	gdb/
    	* value.h (value_contents_copy, value_contents_copy_raw): Declare.
    	* value.c (value_contents_copy_raw, value_contents_copy): New
    	functions.
    	(value_primitive_field): Use value_contents_copy_raw instead of
    	memcpy.
    	* valops.c (value_fetch_lazy): Use value_contents_copy instead of
    	memcpy.
    	(value_array, value_slice): Ditto.
    	* valarith.c (value_subscripted_rvalue): Use
    	value_contents_copy_raw instead of memcpy.
    
    	gdb/testsuite/
    	* gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
    	tests for building arrays from unavailable values, subscripting
    	non-memory rvalue unvailable arrays, and accessing fields or
    	baseclasses of non-lazy unavailable values,
    	* gdb.trace/unavailable.cc (small_struct, small_struct_b): New
    	struct types.
    	(g_smallstruct, g_smallstruct_b): New globals.

commit cb90d2231795e71f93b6298cb3195f52eee7accd
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:29:04 2011 +0000

    	gdb/testsuite/
    	* gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.

commit e275a10b1e3dc0a6048671ffd5f5e9a0d1d7fc67
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:27:34 2011 +0000

    	<unavailable> references.
    
    	gdb/
    	* valops.c (get_value_at): Use value_from_contents_and_address,
    	avoiding read_memory.

commit a6e3210db7ee98f70ce97bf7fae59ee1ab011fb6
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:26:42 2011 +0000

    	gdb/
    	* c-valprint.c (c_val_print): Print a string with unavailable
    	contents as an array.

commit 7e8fe5629367d9a70d642b1def35436611490b39
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:25:59 2011 +0000

    	gdb/
    	* value.h (unpack_bits_as_long): Delete declaration.
    	(unpack_value_bits_as_long): Declare.
    	(unpack_value_field_as_long): Declare.
    	(value_field_bitfield): Declare.
    	* value.c (unpack_bits_as_long): Rename to...
    	(unpack_value_bits_as_long_1): ... this.  Add embedded_offset and
    	value parameters.  Return the extracted result in a new output
    	parameter.  If the value contents are unavailable, return false,
    	otherwise return true.
    	(unpack_value_bits_as_long): New.
    	(unpack_field_as_long): Rename to...
    	(unpack_value_field_as_long_1): ... this.  Add embedded_offset and
    	Add embedded_offset and value parameters.  Return the extracted
    	result in a new output parameter. If the value contents are
    	unavailable, return false, otherwise return true.
    	(unpack_value_field_as_long): New.
    	(unpack_field_as_long_1): New.
    	(unpack_field_as_long): Reimplement as wrapper around
    	unpack_value_field_as_long_1.
    	(value_field_bitfield): New function.
    	* valops.c (value_fetch_lazy): When fetching a bitfield, use
    	unpack_value_bits_as_long.  Mark the value as unavailable, if it
    	is unavailable.
    	* jv-valprint.c (java_print_value_fields): Use
    	value_field_bitfield.
    	* p-valprint.c (pascal_object_print_value_fields): Use
    	value_field_bitfield.
    	* cp-valprint.c (cp_print_value_fields): Use value_field_bitfield.

commit 0c9ce8f7f9cf902229b1f718a84e56c588be4faa
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:25:12 2011 +0000

    	* value.c (get_internalvar_integer): Also return the int value of
    	TYPE_CODE_INT INTERNALVAR_VALUE values.
    	(set_internalvar): Don't special case TYPE_CODE_INT.

commit c6ce9cee23e384f9858fe51e4f65d9ededbff0d8
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:24:19 2011 +0000

    	gdb/
    	* value.c (struct internalvar) <enum internalvar_kind>: Remove
    	INTERNALVAR_POINTER.
    	<pointer>: Delete.
    	(value_of_internalvar): Remove INTERNALVAR_POINTER handling.
    	(set_internalvar): Remove special TYPE_CODE_PTR handling.
    	(preserve_one_internalvar): Remove INTERNALVAR_POINTER handling.

commit 3db04b22333047072e92464fff090246e5a570d8
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:23:33 2011 +0000

    	gdb/
    	* value.h (value_available_contents_eq): Declare.
    	* value.c (find_first_range_overlap): New function.
    	(value_available_contents_eq): New function.
    	* valprint.c (val_print_array_elements): Use
    	value_available_contents_eq.
    	* ada-valprint.c (val_print_packed_array_elements): Use
    	value_available_contents_eq.
    	* jv-valprint.c (java_value_print): Use
    	value_available_contents_eq.

commit 67d3c91a65d1fb133b1a45386cbc27bed1fe1490
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:22:29 2011 +0000

    	gdb/
    	* target.c (target_read_live_memory): New function.
    	(memory_xfer_live_readonly_partial): New.
    	(memory_xfer_partial): If reading from a traceframe, fallback to
    	reading unavailable read-only memory from read-only regions of
    	live target memory.
    	* tracepoint.c (disconnect_tracing): Adjust.
    	(set_current_traceframe): New, factored out from
    	set_traceframe_number.
    	(set_traceframe_number): Reimplement to only change the traceframe
    	number on the GDB side.
    	(do_restore_current_traceframe_cleanup): Adjust.
    	(make_cleanup_restore_traceframe_number): New.
    	(cur_traceframe_number): New global.
    	(tfile_open): Set cur_traceframe_number to no traceframe.
    	(set_tfile_traceframe): New function.
    	(tfile_trace_find): If looking up a traceframe using any method
    	other than by number, make sure the current tfile traceframe
    	matches gdb's current traceframe.  Update the current tfile
    	traceframe if the lookup succeeded.
    	(tfile_fetch_registers, tfile_xfer_partial)
    	(tfile_get_trace_state_variable_value): Make sure the remote
    	traceframe matches gdb's current traceframe.
    	* remote.c (remote_traceframe_number): New global.
    	(remote_open_1): Set it to -1.
    	(set_remote_traceframe): New function.
    	(remote_fetch_registers, remote_store_registers)
    	(remote_xfer_memory, remote_xfer_partial)
    	(remote_get_trace_state_variable_value): Make sure the remote
    	traceframe matches gdb's current traceframe.
    	(remote_trace_find): If looking up a traceframe using any method
    	other than by number, make sure the current remote traceframe
    	matches gdb's current traceframe.  Update the current remote
    	traceframe if the lookup succeeded.
    	* infrun.c (fetch_inferior_event): Adjust.
    	* tracepoint.h (set_current_traceframe): Declare.
    	(get_traceframe_number, set_traceframe_number): Add describing
    	comments.

commit d1a11fe646d2bf954560fcc5cc4a99678d984722
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:21:24 2011 +0000

    	Mark pieces of values as unavailable if the corresponding memory
    	is unavailable.
    
    	gdb/
    	* valops.c: Include tracepoint.h.
    	(value_fetch_lazy): Use read_value_memory.
    	(read_value_memory): New.
    	* value.h (read_value_memory): Declare.
    	* dwarf2loc.c (read_pieced_value): Use read_value_memory.
    	* exec.c (section_table_available_memory): New function.
    	* exec.h (section_table_available_memory): Declare.

commit c93c96b8b6fa91a8aeb97e013399d2fdf6183368
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:20:27 2011 +0000

    2011-02-14  Pedro Alves  <pedro@codesourcery.com>
    
    	gdb/
    	* Makefile.in (SFILES): Add memrange.c.
    	(HFILES_NO_SRCDIR): Add memrange.h.
    	(COMMON_OBS): Add memrange.o.
    	* memrange.c: New file.
    	* memrange.h: New file.
    	* tracepoint.c: Include memrange.h.
    	(struct mem_range): Delete.
    	(mem_range_s): Delete.
    	(traceframe_available_memory): New function.
    	* tracepoint.h (traceframe_available_memory): Declare.

commit 532b15683a02ae07a0c15eda8652145853ec5086
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:19:26 2011 +0000

    2011-02-14  Pedro Alves  <pedro@codesourcery.com>
    
    	gdb/
    	* target.h (struct traceframe_info): Forward declare.
    	(enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
    	(struct target_ops) <to_traceframe_info>: New field.
    	(target_traceframe_info): New.
    	* target.c (update_current_target): Inherit and default
    	to_traceframe_info.
    	* remote.c (PACKET_qXfer_traceframe_info): New.
    	(remote_protocol_features): Register qXfer:traceframe-info:read.
    	(remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
    	(remote_traceframe_info): New.
    	(init_remote_ops): Install it.
    	(_initialize_remote): Install "set/show remote traceframe-info"
    	commands.
    	* tracepoint.h (parse_traceframe_info): Declare.
    	* tracepoint.c (struct mem_range): New.
    	(mem_range_s): New typedef.
    	(struct traceframe_info): New.
    	(traceframe_info): New global.
    	(free_traceframe_info): New function.
    	(clear_traceframe_info): New function.
    	(start_tracing, tfind_1, set_traceframe_number): Clear traceframe
    	info.
    	(build_traceframe_info): New function.
    	(tfile_traceframe_info): New function.
    	(init_tfile_ops): Install tfile_traceframe_info.
    	(traceframe_info_start_memory, free_result): New functions.
    	(memory_attributes, traceframe_info_elements): New globals.
    	(parse_traceframe_info, get_traceframe_info): New functions.
    	* features/traceframe-info.dtd: New file.
    	* Makefile.in (XMLFILES): Add traceframe-info.dtd.
    
    	gdb/gdbserver/
    	* server.c (handle_qxfer_traceframe_info): New.
    	(qxfer_packets): Register "traceframe-info".
    	(handle_query): Report support for qXfer:traceframe-info:read+.
    	* tracepoint.c (match_blocktype): New.
    	(traceframe_find_block_type): Rename to ...
    	(traceframe_walk_blocks): ... this.  Add callback filter argument,
    	and use it.
    	(traceframe_find_block_type): New, reimplemented on top of
    	traceframe_walk_blocks.
    	(build_traceframe_info_xml): New.
    	(traceframe_read_info): New.
    	* server.h (traceframe_read_info): Declare.
    
    	gdb/doc/
    	* gdb.texinfo (Remote Configuration): Mention set/show remote
    	traceframe-info.
    	(Tools/Packages Optional for Building GDB): Mention that expat is
    	used for traceframe info.
    	(Remote Protocol) <Menu>: Add "Traceframe Info Format".
    	(General Query Packets) <qSupported>: Describe the
    	qXfer:traceframe-info:read feature.
    	(qXfer::read): Describe qXfer:traceframe-info:read.
    	(Traceframe Info Format): New section.

commit c6fad41d782803bbb365e9465fba42b0876e1793
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:13:10 2011 +0000

    	gdb/
    	* target.h (struct traceframe_info): Forward declare.
    	(enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
    	(struct target_ops) <to_traceframe_info>: New field.
    	(target_traceframe_info): New.
    	* target.c (update_current_target): Inherit and default
    	to_traceframe_info.
    	* remote.c (PACKET_qXfer_traceframe_info): New.
    	(remote_protocol_features): Register qXfer:traceframe-info:read.
    	(remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
    	(remote_traceframe_info): New.
    	(init_remote_ops): Install it.
    	(_initialize_remote): Install "set/show remote traceframe-info"
    	commands.
    	* tracepoint.h (parse_traceframe_info): Declare.
    	* tracepoint.c (struct mem_range): New.
    	(mem_range_s): New typedef.
    	(struct traceframe_info): New.
    	(traceframe_info): New global.
    	(free_traceframe_info): New function.
    	(clear_traceframe_info): New function.
    	(start_tracing, tfind_1, set_traceframe_number): Clear traceframe
    	info.
    	(build_traceframe_info): New function.
    	(tfile_traceframe_info): New function.
    	(init_tfile_ops): Install tfile_traceframe_info.
    	(traceframe_info_start_memory, free_result): New functions.
    	(memory_attributes, traceframe_info_elements): New globals.
    	(parse_traceframe_info, get_traceframe_info): New functions.
    	* features/traceframe-info.dtd: New file.
    	* Makefile.in (XMLFILES): Add traceframe-info.dtd.
    
    	gdb/gdbserver/
    	* server.c (handle_qxfer_traceframe_info): New.
    	(qxfer_packets): Register "traceframe-info".
    	(handle_query): Report support for qXfer:traceframe-info:read+.
    	* tracepoint.c (match_blocktype): New.
    	(traceframe_find_block_type): Rename to ...
    	(traceframe_walk_blocks): ... this.  Add callback filter argument,
    	and use it.
    	(traceframe_find_block_type): New, reimplemented on top of
    	traceframe_walk_blocks.
    	(build_traceframe_info_xml): New.
    	(traceframe_read_info): New.
    	* server.h (traceframe_read_info): Declare.
    
    	gdb/doc/
    	* gdb.texinfo (Remote Configuration): Mention set/show remote
    	traceframe-info.
    	(Tools/Packages Optional for Building GDB): Mention that expat is
    	used for traceframe info.
    	(Remote Protocol) <Menu>: Add "Traceframe Info Format".
    	(General Query Packets) <qSupported>: Describe the
    	qXfer:traceframe-info:read feature.
    	(qXfer::read): Describe qXfer:traceframe-info:read.
    	(Traceframe Info Format): New section.

commit ba02454a11a324b99f309ee4c1534a6af5d702b8
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 14 11:10:49 2011 +0000

    	Base support for <unavailable> value contents.
    
    	gdb/
    	* value.h (value_bytes_available): Declare.
    	(mark_value_bytes_unavailable): Declare.
    	* value.c (struct range): New struct.
    	(range_s): New typedef.
    	(ranges_overlap): New function.
    	(range_lessthan): New function.
    	(ranges_contain_p): New function.
    	(struct value) <unavailable>: New field.
    	(value_bytes_available): New function.
    	(mark_value_bytes_unavailable): New function.
    	(require_not_optimized_out): Constify parameter.
    	(require_available): New function.
    	(value_contents_all, value_contents): Require all bytes be
    	available.
    	(value_free): Free `unavailable'.
    	(value_copy): Copy `unavailable'.
    	* valprint.h (val_print_unavailable): Declare.
    	* valprint.c (valprint_check_validity): Rename `offset' parameter
    	to `embedded_offset'.  If printing a scalar, check whether the
    	value chunk is available.
    	(val_print_unavailable): New.
    	(val_print_scalar_formatted): Check whether the value is
    	available.
    	* python/py-prettyprint.c (apply_val_pretty_printer): Refuse
    	pretty-printing unavailable values.

commit fb3b6436c32daa1f104a04edfbf000799833b702
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon Feb 14 05:21:04 2011 +0000

    opcodes: blackfin: catch invalid loopsetup insns
    
    The LoopSetup insn is only valid when the reg field is 0-7, so
    don't go decoding it incorrectly when reg is 8-15.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 89b28d4d2691a7f44c961cbe69d3f5005c84e193
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon Feb 14 05:14:26 2011 +0000

    sim: punt zfree()
    
    The sim keeps track of which allocations are zero-ed internally (via
    zalloc) and then calls a helper "zfree" function rather than "free".
    But this "zfree" function simply calls "free" itself.  Since I can
    see no point in this and it is simply useless overhead, punt it.
    
    The only real change is in hw-alloc.c where we remove the zalloc_p
    tracking, and sim-utils.c where zfree is delete.  The rest of the
    changes are a simple `sed` from "zfree" to "free".
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 2085dc2fb8e527a26170aeb89d42f37118e84883
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon Feb 14 04:58:12 2011 +0000

    sim: change to 64bit time keeping to avoid 32bit overflows
    
    The sim-events code jumps through some hoops to avoid using 64bit math
    to manage the current time.  One fundamental assumption here is that by
    constantly scheduling the sim poll event a short time into the future,
    the 64bit difference will always fall into a signed 32bit value.  This
    does work most of the time, except for when processing the sim poll event
    itself.
    
    Normally, sim_events_process() will dequeue the sim poll event, update
    the current time (time_from_event) according to the next pending event,
    process the sim poll event (which will then requeue the sim poll event),
    and then continue on.
    
    The problem here of course is that the current time is updated in that
    small window before the sim poll event gets a chance to reschedule itself.
    So if the 64bit difference between the current time and the next event
    does not fit into the signed 32bit value, time_from_event overflows, and
    the internal assert at the end of update_time_from_event() triggers.
    
    Since attempts at tweaking sim_events_process() logic introduced other
    subtle bugs (due to tangled assumptions between most pieces of the sim
    time keeping code), change the time_from_event to a real 64bit value.
    Tests on my system between a 32bit ELF and a 64bit ELF show no practical
    difference (it's all lost in the system noise).  Basically, I booted a
    Linux kernel to userspace and then paniced it; this gave me a constant
    sample size of about 18 million insns.
    
    This was noticed when simulating Blackfin Das U-Boot.  The simulated core
    timer is given the max unsigned timeout value possible on a 32bit processor
    (0xffffffff).  This timeout value is used directly to schedule a hw event
    in the sim future (the IRQ firing).  Once the sim poll event is kicked off,
    the next pending event is the core timer event which is more than 2^31
    ticks in the future, and the sim aborts with:
    sim-events.c:435: assertion failed - current_time == sim_events_time (sd)
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 270cc2b8e38e82ae42a3727fcd8b45235e5f04d5
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Feb 14 00:00:02 2011 +0000

    *** empty log message ***

commit 2e44e8d4141b6f17814d98d8559a76dd4d286246
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Feb 13 23:00:04 2011 +0000

    daily update

commit d1d6a0c0f472243b300c90268bea083d1ecf9531
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sun Feb 13 21:00:08 2011 +0000

    Remove freebsd1 from libtool.m4 macros and config.rpath.
    
    /:
    	Import from Libtool and gnulib:
    
    	2011-01-27  Gerald Pfeifer  <gerald@pfeifer.com>
    
    	Prepare for supporting FreeBSD 10.
    	* config.rpath: Remove handling of freebsd1* which soon would
    	match FreeBSD 10.0.
    
    	2011-01-20  Gerald Pfeifer  <gerald@pfeifer.com>  (tiny change)
    
    	Remove support for FreeBSD 1.x.
    	* libtool.m4 (_LT_LINKER_SHLIBS)
    	(_LT_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which
    	soon would incorrectly match FreeBSD 10.0.
    
    bfd/:
    	* configure: Regenerate.
    
    gas/:
    	* configure: Regenerate.
    
    ld/:
    	* configure: Regenerate.
    
    opcodes/:
    	* configure: Regenerate.
    
    binutils/:
    	* configure: Regenerate.
    
    gprof/:
    	* configure: Regenerate.

commit 4646586202d5ee54ef85a8a1353e75beb739f744
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sun Feb 13 18:55:22 2011 +0000

    opcodes: blackfin: fix decoding of ABS
    
    The single cycle dual mac ABS insn was incorrectly decoding the mac1
    part of the insn.
    
    Once we fix the decode, update the gas tests to have the correct output.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 05f25545cd26db17a7279a72279017f5bc946bd1
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sun Feb 13 18:54:49 2011 +0000

    opcodes: blackfin: fix decoding of dsp mult insns
    
    When assigning to a register half, the mac0 part of the mult insn
    was not decoding properly.  It would always show a full dreg instead
    of the dreg low half.
    
    Once we fix the disassembler, we have to update a few of the gas
    tests as their previous expected output was incorrect.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit de970bd5ae74558b21453feaf00726e6e949f0e3
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sun Feb 13 18:53:14 2011 +0000

    gas/opcodes: blackfin: punt BYTEOP2M insn support
    
    The BYTEOP2M insn was part of the initial Blackfin designs, but never made
    it into any actual silicon.  So punt support for it.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                 |   17 +
 bfd/ChangeLog                             |   24 +
 bfd/configure                             |   12 +-
 bfd/elf64-ppc.c                           |    9 +-
 bfd/elf64-x86-64.c                        |    2 +
 bfd/elflink.c                             |    8 +-
 bfd/version.h                             |    2 +-
 bfd/vms-alpha.c                           |    5 +-
 config.rpath                              |    5 -
 gdb/ChangeLog                             |  461 +++++++++++++++++++
 gdb/Makefile.in                           |   10 +-
 gdb/NEWS                                  |    4 +
 gdb/aclocal.m4                            |   12 +-
 gdb/ada-valprint.c                        |    4 +-
 gdb/arm-tdep.c                            |   43 ++-
 gdb/ax-gdb.c                              |   15 +-
 gdb/ax.h                                  |    2 +-
 gdb/breakpoint.c                          |  247 ++++++++---
 gdb/c-valprint.c                          |   52 ++-
 gdb/cli/cli-cmds.c                        |    4 +-
 gdb/cli/cli-setshow.c                     |   27 +-
 gdb/command.h                             |    4 +-
 gdb/common/ChangeLog                      |   13 -
 gdb/common/configure                      |  169 +++-----
 gdb/copying.c                             |    4 +-
 gdb/cp-abi.c                              |   32 +-
 gdb/cp-abi.h                              |   28 +-
 gdb/cp-valprint.c                         |   88 ++--
 gdb/doc/ChangeLog                         |   21 +
 gdb/doc/gdb.texinfo                       |  107 +++++-
 gdb/dwarf2expr.h                          |    2 +-
 gdb/dwarf2loc.c                           |   27 +-
 gdb/dwarf2read.c                          |   17 +-
 gdb/exceptions.h                          |    7 +
 gdb/exec.c                                |   36 ++
 gdb/exec.h                                |   12 +
 gdb/features/traceframe-info.dtd          |   13 +
 gdb/gdbserver/ChangeLog                   |   19 +
 gdb/gdbserver/aclocal.m4                  |    2 +-
 gdb/gdbserver/server.c                    |   52 +++
 gdb/gdbserver/server.h                    |    2 +
 gdb/gdbserver/tracepoint.c                |  110 +++++-
 gdb/gdbtypes.c                            |   23 +-
 gdb/gnu-v2-abi.c                          |   46 ++-
 gdb/gnu-v3-abi.c                          |    7 +-
 gdb/inferior.h                            |    2 +
 gdb/infrun.c                              |   20 +-
 gdb/jv-valprint.c                         |   11 +-
 gdb/memrange.c                            |   88 ++++
 gdb/memrange.h                            |   51 +++
 gdb/opencl-lang.c                         |    2 +-
 gdb/p-valprint.c                          |   74 ++--
 gdb/python/py-prettyprint.c               |    5 +
 gdb/remote.c                              |   76 ++++
 gdb/rs6000-tdep.c                         |   14 +-
 gdb/target.c                              |  136 ++++++
 gdb/target.h                              |   13 +-
 gdb/testsuite/ChangeLog                   |   95 ++++-
 gdb/testsuite/gdb.arch/arm-disp-step.S    |   37 ++
 gdb/testsuite/gdb.arch/arm-disp-step.exp  |   37 ++
 gdb/testsuite/gdb.arch/vsx-regs.exp       |   37 ++
 gdb/testsuite/gdb.base/default.exp        |   10 +
 gdb/testsuite/gdb.base/help.exp           |   10 +
 gdb/testsuite/gdb.opencl/datatypes.exp    |  120 +++---
 gdb/testsuite/gdb.threads/thread-find.exp |  430 ++++++++++++++++++
 gdb/testsuite/gdb.trace/collection.c      |   12 +
 gdb/testsuite/gdb.trace/collection.exp    |   33 ++-
 gdb/testsuite/gdb.trace/unavailable.cc    |  275 ++++++++++++
 gdb/testsuite/gdb.trace/unavailable.exp   |  340 ++++++++++++++
 gdb/testsuite/lib/gdb.exp                 |    7 +-
 gdb/thread.c                              |  116 +++++-
 gdb/tracepoint.c                          |  316 +++++++++++++-
 gdb/tracepoint.h                          |   25 +-
 gdb/valarith.c                            |    5 +-
 gdb/valops.c                              |  250 +++++++----
 gdb/valprint.c                            |   36 ++-
 gdb/valprint.h                            |    4 +
 gdb/value.c                               |  687 ++++++++++++++++++++++++++---
 gdb/value.h                               |   87 ++++-
 gdb/version.in                            |    2 +-
 libtool.m4                                |    8 -
 opcodes/ChangeLog                         |   26 ++
 opcodes/bfin-dis.c                        |  162 ++-----
 opcodes/configure                         |   12 +-
 sim/common/ChangeLog                      |   30 ++
 sim/common/hw-alloc.c                     |   10 +-
 sim/common/hw-base.c                      |    2 +-
 sim/common/hw-handles.c                   |    4 +-
 sim/common/hw-instances.c                 |    6 +-
 sim/common/hw-tree.c                      |    8 +-
 sim/common/sim-core.c                     |    8 +-
 sim/common/sim-cpu.c                      |    2 +-
 sim/common/sim-events.h                   |    2 +-
 sim/common/sim-hw.c                       |    2 +-
 sim/common/sim-memopt.c                   |    8 +-
 sim/common/sim-module.c                   |   12 +-
 sim/common/sim-options.c                  |   10 +-
 sim/common/sim-profile.c                  |    4 +-
 sim/common/sim-utils.c                    |    8 +-
 sim/common/sim-utils.h                    |    2 -
 sim/common/sim-watch.c                    |    2 +-
 sim/igen/ChangeLog                        |    4 +
 sim/igen/table.c                          |    2 +-
 sim/iq2000/ChangeLog                      |    4 +
 sim/iq2000/iq2000.c                       |    6 +-
 sim/mips/ChangeLog                        |    6 +
 sim/mips/dv-tx3904sio.c                   |    4 +-
 sim/mips/interp.c                         |    6 +-
 sim/ppc/ChangeLog                         |   39 ++
 sim/ppc/cap.c                             |    2 +-
 sim/ppc/corefile.c                        |    4 +-
 sim/ppc/device.c                          |   24 +-
 sim/ppc/emul_bugapi.c                     |    4 +-
 sim/ppc/emul_netbsd.c                     |    8 +-
 sim/ppc/emul_unix.c                       |    4 +-
 sim/ppc/events.c                          |    8 +-
 sim/ppc/hw_disk.c                         |    4 +-
 sim/ppc/hw_eeprom.c                       |    2 +-
 sim/ppc/hw_htab.c                         |    2 +-
 sim/ppc/hw_init.c                         |    2 +-
 sim/ppc/hw_memory.c                       |    6 +-
 sim/ppc/main.c                            |    6 -
 sim/ppc/pk_disklabel.c                    |    2 +-
 sim/ppc/sim_callbacks.h                   |    2 -
 sim/ppc/sim_calls.c                       |    5 -
 sim/ppc/table.c                           |    2 +-
 sim/ppc/tree.c                            |    8 +-
 sim/sh64/ChangeLog                        |    4 +
 sim/sh64/sh64.c                           |    6 +-
 sim/v850/ChangeLog                        |    4 +
 sim/v850/simops.c                         |   16 +-
 131 files changed, 4871 insertions(+), 922 deletions(-)
 delete mode 100644 gdb/common/ChangeLog
 create mode 100644 gdb/features/traceframe-info.dtd
 create mode 100644 gdb/memrange.c
 create mode 100644 gdb/memrange.h
 create mode 100644 gdb/testsuite/gdb.threads/thread-find.exp
 create mode 100644 gdb/testsuite/gdb.trace/unavailable.cc
 create mode 100644 gdb/testsuite/gdb.trace/unavailable.exp

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 930f70d..9f4591d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Import from Libtool and gnulib:
+
+	2011-01-27  Gerald Pfeifer  <gerald@pfeifer.com>
+
+	Prepare for supporting FreeBSD 10.
+	* config.rpath: Remove handling of freebsd1* which soon would
+	match FreeBSD 10.0.
+
+	2011-01-20  Gerald Pfeifer  <gerald@pfeifer.com>  (tiny change)
+
+	Remove support for FreeBSD 1.x.
+	* libtool.m4 (_LT_LINKER_SHLIBS)
+	(_LT_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which
+	soon would incorrectly match FreeBSD 10.0.
+
 2011-02-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	PR binutils/12283
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 64e1ccd..7ce8b2f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,27 @@
+2011-02-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (elf_x86_64_check_relocs): Check relocation
+	overflow only for ABI_64_P.
+	(elf_x86_64_relocate_section): Likewise.
+
+2011-02-15  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.
+
+2011-02-15  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (ppc64_elf_edit_toc): Reinstate second read of
+	toc relocs.  Fuss over free(NULL).
+
+2011-02-14  Mike Frysinger  <vapier@gentoo.org>
+
+	* elflink.c (bfd_elf_size_dynamic_sections): Add
+	bfd_get_symbol_leading_char to the start of newname.
+
+2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* configure: Regenerate.
+
 2011-02-09  Alan Modra  <amodra@gmail.com>
 
 	* elf64-ppc.c (ppc64_elf_edit_toc): Don't free toc relocs until
diff --git a/bfd/configure b/bfd/configure
index 5085580..63dd10d 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -9627,10 +9627,6 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
       hardcode_shlibpath_var=no
       ;;
 
-    freebsd1*)
-      ld_shlibs=no
-      ;;
-
     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
     # support.  Future versions do this automatically, but an explicit c++rt0.o
     # does not break anything, and helps significantly (at the cost of a little
@@ -10549,10 +10545,6 @@ dgux*)
   shlibpath_var=LD_LIBRARY_PATH
   ;;
 
-freebsd1*)
-  dynamic_linker=no
-  ;;
-
 freebsd* | dragonfly*)
   # DragonFly does not have aout.  When/if they implement a new
   # versioning mechanism, adjust this.
@@ -11412,7 +11404,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11415 "configure"
+#line 11407 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11518,7 +11510,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11521 "configure"
+#line 11513 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 25d0d2e..856c68a 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -8424,6 +8424,12 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 	      bfd_size_type sz;
 
 	      /* Remove unused toc relocs, and adjust those we keep.  */
+	      if (toc_relocs == NULL)
+		toc_relocs = _bfd_elf_link_read_relocs (ibfd, toc, NULL, NULL,
+							info->keep_memory);
+	      if (toc_relocs == NULL)
+		goto error_ret;
+
 	      wrel = toc_relocs;
 	      for (rel = toc_relocs; rel < toc_relocs + toc->reloc_count; ++rel)
 		if ((skip[rel->r_offset >> 3]
@@ -8445,7 +8451,8 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 	      rel_hdr->sh_size = toc->reloc_count * sz;
 	    }
 	}
-      else if (elf_section_data (toc)->relocs != toc_relocs)
+      else if (toc_relocs != NULL
+	       && elf_section_data (toc)->relocs != toc_relocs)
 	free (toc_relocs);
 
       if (local_syms != NULL
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 343abce..70fe9b1 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -1498,6 +1498,7 @@ not_pointer:
 	     sections we don't care about, such as debug sections or
 	     non-constant sections.  */
 	  if (info->shared
+	      && ABI_64_P (abfd)
 	      && (sec->flags & SEC_ALLOC) != 0
 	      && (sec->flags & SEC_READONLY) != 0)
 	    {
@@ -3148,6 +3149,7 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 	     for shared library since it may not be local when used
 	     as function address.  */
 	  if (info->shared
+	      && ABI_64_P (output_bfd)
 	      && h
 	      && h->def_regular
 	      && h->type == STT_FUNC
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 79256bf..dffe0ae 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -5710,11 +5710,12 @@ bfd_elf_size_dynamic_sections (bfd *output_bfd,
 	    {
 	      const char *verstr, *name;
 	      size_t namelen, verlen, newlen;
-	      char *newname, *p;
+	      char *newname, *p, leading_char;
 	      struct elf_link_hash_entry *newh;
 
+	      leading_char = bfd_get_symbol_leading_char (output_bfd);
 	      name = d->pattern;
-	      namelen = strlen (name);
+	      namelen = strlen (name) + (leading_char != '\0');
 	      verstr = t->name;
 	      verlen = strlen (verstr);
 	      newlen = namelen + verlen + 3;
@@ -5722,7 +5723,8 @@ bfd_elf_size_dynamic_sections (bfd *output_bfd,
 	      newname = (char *) bfd_malloc (newlen);
 	      if (newname == NULL)
 		return FALSE;
-	      memcpy (newname, name, namelen);
+	      newname[0] = leading_char;
+	      memcpy (newname + (leading_char != '\0'), name, namelen);
 
 	      /* Check the hidden versioned definition.  */
 	      p = newname + namelen;
diff --git a/bfd/version.h b/bfd/version.h
index 1bd0ddd..3f06d3a 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110213
+#define BFD_VERSION_DATE 20110216
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c
index 322de62..b8ae26d 100644
--- a/bfd/vms-alpha.c
+++ b/bfd/vms-alpha.c
@@ -8255,7 +8255,10 @@ alpha_vms_link_add_archive_symbols (bfd *abfd, struct bfd_link_info *info)
 	return FALSE;
 
       if (element->archive_pass == -1 || element->archive_pass == pass)
-        continue;
+        {
+          /* Next symbol if this archive is wrong or already handled.  */
+          continue;
+        }
 
       if (! bfd_check_format (element, bfd_object))
         {
diff --git a/config.rpath b/config.rpath
index 9316b91..4dea759 100755
--- a/config.rpath
+++ b/config.rpath
@@ -284,9 +284,6 @@ else
     dgux*)
       hardcode_libdir_flag_spec='-L$libdir'
       ;;
-    freebsd1*)
-      ld_shlibs=no
-      ;;
     freebsd2.2*)
       hardcode_libdir_flag_spec='-R$libdir'
       hardcode_direct=yes
@@ -448,8 +445,6 @@ case "$host_os" in
     ;;
   dgux*)
     ;;
-  freebsd1*)
-    ;;
   freebsd*)
     ;;
   gnu*)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 37423ce..d73e431 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,451 @@
+2011-02-16  Tom Tromey  <tromey@redhat.com>
+
+	* dwarf2loc.c (unimplemented): Fix typo.
+
+2011-02-16  Tom Tromey  <tromey@redhat.com>
+
+	* dwarf2loc.c (unimplemented): Handle unnamed opcodes.
+	(compile_dwarf_to_ax) <default>: Use unimplemented.
+	<DW_OP_deref>: Update.
+	(disassemble_dwarf_expression): Update.
+	* dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument.
+	(decode_locdesc): Update.
+	* dwarf2expr.h (dwarf_stack_op_name): Update.
+
+2011-02-16  Tom Tromey  <tromey@redhat.com>
+
+	* ax.h (struct aop_map) <name>: Now const.
+
+2011-02-16  Tom Tromey  <tromey@redhat.com>
+
+	* ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other
+	than axs_rvalue.
+
+2011-02-16  Yao Qi  <yao@qiyaows>
+
+	* infrun.c (get_displaced_step_closure_by_addr): New.
+	* inferior.h: Declare it.
+	* arm-tdep.c: (arm_pc_is_thumb): Call
+	get_displaced_step_closure_by_addr.  Adjust MEMADDR if it
+	returns non-NULL.
+
+2011-02-16  Pedro Alves  <pedro@codesourcery.com>
+	    Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	gdb/
+	* tracepoint.c (memrange_sortmerge): Fix list A's end calculation.
+
+2011-02-16  Pedro Alves  <pedro@codesourcery.com>
+	    Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* value.c (value_contents_copy_raw): Extend describing comment.
+	Assert that the destination contents we're overwriting are wholly
+	available.
+	(value_contents_copy): Extend describing comment.
+
+2011-02-16  Pedro Alves  <pedro@codesourcery.com>
+	    Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* value.c (value_available_contents_eq): Remove redundant local
+	variables.  Fix available contents comparision.
+	* value.h (value_available_contents_eq): Extend describing
+	comment.
+
+2011-02-16  Yao Qi  <yao@codesourcery.com>
+
+	* thread.c (info_threads_command): Add missing i18n markup and remove
+	trailing newline.
+
+2011-02-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+	* breakpoint.c (longjmp_names): New variable.
+	(struct breakpoint_objfile_data): New type.
+	(breakpoint_objfile_key): New variable.
+	(msym_not_found): New variable.
+	(msym_not_found_p): New predicate.
+	(get_breakpoint_objfile_data): New function.
+	(create_overlay_event_breakpoint): Check per-objfile cache for
+	symbols first.
+	(create_longjmp_master_breakpoint): Likewise.
+	(create_std_terminate_master_breakpoint): Likewise.
+	(create_exception_master_breakpoint): Likewise.
+	(_initialize_breakpoint): Register per-objfile data key.
+
+2011-02-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+	* breakpoint.c ((create_overlay_event_breakpoint): Const-propagate
+	parameter value.
+	(create_longjmp_master_breakpoint): Loop over longjmp names.
+	(create_std_terminate_master_breakpoint): Const-propagate parameter
+	value.
+	(update_breakpoints_after_exec): Adjust.
+	(breakpoint_re_set): Adjust.
+
+2011-02-15  Michael Snyder  <msnyder@vmware.com>
+
+	* thread.c (info_threads_command): Process arg as thread id,
+	or list of thread ids.
+	(thread_find_command): New command.
+	(_initialize_thread): Document argument for info threads.
+	Document 'thread find' command.
+	* NEWS: Document new command "thread find".
+
+2011-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'.
+	* aclocal.m4: Regenerated with aclocal-1.11.1.
+	* common/configure: Regenerate with autoconf-2.64.
+
+2011-02-15  Ken Werner  <ken.werner@de.ibm.com>
+
+	* opencl-lang.c (build_opencl_types): Set the size of the built-in
+	bool data type to a size of one byte.
+
+2011-02-15  Pedro Alves  <pedro@codesourcery.com>
+	    Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* target.c (memory_xfer_live_readonly_partial): Document where to
+	look for interface description.
+
+2011-02-15  Yao Qi  <yao@codesourcery.com>
+
+	PR tdep/12352
+	* arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in
+	order to store PC value on stack instead of text section.
+
+2011-02-15  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+	* rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for
+	the EFP register set size.
+	(efpr_pseudo_register_read): Use regcache_raw_read_part to read
+	data from the VMX register.
+	(efpr_pseudo_register_write): Use regcache_raw_write_part to read
+	and write data from/to the VMX register.
+
+2011-02-14  Michael Snyder  <msnyder@vmware.com>
+
+	* command.h (enum command_class): New class 'no_set_class', for
+	"show" commands without a corresponding "set" command.
+	* value.c (_initialize_values): Use 'no_set_class' for "show values".
+	* copying.c (_initialize_copying): Ditto for "show copying" and
+	"show warranty".
+	* cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and
+	"show version".
+	* cli/cli-setshow.c (cmd_show_list): Skip "show" commands for
+	which there is no corresponding "set" command (eg. "show copying").
+
+2011-02-14  Pedro Alves  <pedro@codesourcery.com>
+	    Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* exec.c (section_table_available_memory): Change `len' parameter
+	type to ULONGEST.
+	* exec.h (section_table_available_memory): Ditto.
+	* value.h (read_value_memory): Rename the `offset' parameter to
+	`embedded_offset'.
+
+2011-02-14  Pedro Alves  <pedro@codesourcery.com>
+	    Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* memrange.c (compare_mem_ranges): Mention sort order in
+	describing comment.
+	(normalize_mem_ranges): Add comment.  Fix ra->length calculation.
+	* tracepoint.c (traceframe_available_memory): Extend comment to
+	mention what happens to RESULT when the target does not support
+	the query.
+
+2011-02-14  Pedro Alves  <pedro@codesourcery.com>
+	    Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* value.c (mark_value_bytes_unavailable): Fix indexing the `bef'
+	range.
+
+2011-02-14  Pedro Alves  <pedro@codesourcery.com>
+
+	* value.c (value_bits_valid, value_bits_synthetic_pointer):
+	No longer handle NULL values.
+
+2011-02-14  Pedro Alves  <pedro@codesourcery.com>
+
+	* exceptions.h (NOT_AVAILABLE_ERROR): New error.
+	* value.c: Include "exceptions.h".
+	(require_available): Throw NOT_AVAILABLE_ERROR instead of a
+	generic error.
+	* cp-abi.c: Include gdb_assert.h.
+	(baseclass_offset): Add `embedded_offset' and `val' parameters.
+	Assert the method is implemented.  Wrap NOT_AVAILABLE_ERROR
+	errors.
+	* cp-abi.h (baseclass_offset): Add `embedded_offset' and `val'
+	parameters.  No longer returns -1 on error.
+	(struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and
+	`val' parameters.
+	* cp-valprint.c: Include exceptions.h.
+	(cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching
+	the baseclass_offset.  Handle unavailable base classes.  Use
+	val_print_invalid_address.
+	* p-valprint.c: Include exceptions.h.
+	(pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors
+	when fetching the baseclass_offset.  No longer expect
+	baseclass_offset returning -1.  Handle unavailable base classes.
+	Use val_print_invalid_address.
+	* valops.c (dynamic_cast_check_1): Rename `contents' parameter to
+	`valaddr' parameter, and change its type to gdb_byte pointer.  Add
+	`embedded_offset' and `val' parameters.  Adjust.
+	(dynamic_cast_check_2): Rename `contents' parameter to `valaddr'
+	parameter, and change its type to gdb_byte pointer.  Add
+	`embedded_offset' and `val' parameters.  Adjust.  No longer expect
+	baseclass_offset returning -1.
+	(value_dynamic_cast): Use value_contents_for_printing rather than
+	value_contents.  Adjust.
+	(search_struct_field): No longer expect baseclass_offset returning
+	-1.
+	(search_struct_method): If reading memory from the target is
+	necessary, wrap it in a new value to pass to baseclass_offset.  No
+	longer expect baseclass_offset returning -1.
+	(find_method_list): No longer expect baseclass_offset returning
+	-1.  Use value_contents_for_printing rather than value_contents.
+	* valprint.c (val_print_invalid_address): New function.
+	* valprint.h (val_print_invalid_address): Declare.
+	* gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset'
+	and `val' parameters.  No longer expect baseclass_offset returning
+	-1.  Adjust.
+	* gnu-v2-abi.c: Include "exceptions.h".
+	(gnuv2_baseclass_offset): Add `embedded_offset' and `val'
+	parameters.  Handle unavailable memory.  Recurse through
+	gnuv2_baseclass_offset directly, rather than through
+	baseclass_offset.  No longer returns -1 on not found, instead
+	throw an error.
+	* gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and
+	`val' parameters.  Adjust.
+
+2011-02-14  Pedro Alves  <pedro@codesourcery.com>
+
+	* tracepoint.c (memrange_sortmerge): Don't merge ranges that are
+	almost but not quite adjacent.
+
+2011-02-14  Pedro Alves  <pedro@codesourcery.com>
+
+	* value.h (value_entirely_available): Declare.
+	* value.c (value_entirely_available): New function.
+	* c-valprint.c (c_value_print): Don't try fetching the pointer's
+	real type if the pointer is unavailable.
+
+2011-02-14  Pedro Alves  <pedro@codesourcery.com>
+
+	* valops.c (value_repeat): Use read_value_memory instead of
+	read_memory.
+
+2011-02-14  Pedro Alves  <pedro@codesourcery.com>
+
+	* value.h (value_contents_copy, value_contents_copy_raw): Declare.
+	* value.c (value_contents_copy_raw, value_contents_copy): New
+	functions.
+	(value_primitive_field): Use value_contents_copy_raw instead of
+	memcpy.
+	* valops.c (value_fetch_lazy): Use value_contents_copy instead of
+	memcpy.
+	(value_array, value_slice): Ditto.
+	* valarith.c (value_subscripted_rvalue): Use
+	value_contents_copy_raw instead of memcpy.
+
+2011-02-14  Pedro Alves  <pedro@codesourcery.com>
+
+	<unavailable> references.
+
+	* valops.c (get_value_at): Use value_from_contents_and_address,
+	avoiding read_memory.
+
+2011-02-14  Pedro Alves  <pedro@codesourcery.com>
+
+	* c-valprint.c (c_val_print): Print a string with unavailable
+	contents as an array.
+
+2011-02-14  Pedro Alves  <pedro@codesourcery.com>
+
+	* value.h (unpack_bits_as_long): Delete declaration.
+	(unpack_value_bits_as_long): Declare.
+	(unpack_value_field_as_long): Declare.
+	(value_field_bitfield): Declare.
+	* value.c (unpack_bits_as_long): Rename to...
+	(unpack_value_bits_as_long_1): ... this.  Add embedded_offset and


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-02-13 17:49 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-02-13 17:49 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  5365590483584791f139a03dfe322d811803e3f7 (commit)
       via  fd0a6e5cd0e8adf7f6039f4709772d61bba7806c (commit)
       via  905080c1ebe4d889977112e418c8dd3c66f93254 (commit)
       via  fc5653543cf9d6800023398a309d7a9edc4c1a55 (commit)
       via  69a632512a601889721f443f0a92d40597b49cae (commit)
       via  7827cb22db6c46f1623e79f90a23276032fa05c9 (commit)
       via  fc9d9ebd90ee721ee59fb908412073512201a930 (commit)
       via  f6f082adf8b91a72791ea5e7fe4d90be421ba1c2 (commit)
       via  6b83bddbdcae08479989869bdfab44fc3f691f5e (commit)
       via  3a1969d1cf18ce680dffcd999ec9dc9e6b8d0960 (commit)
       via  6045d9eaa27e91cfe24c3f321292340bd6fdcb1e (commit)
       via  5e212c44d6325da43d6026913f4c0b6a6dac43ae (commit)
       via  132c0351d9688a0a361e80eac3db504c76459bfa (commit)
       via  8c24c70e57f78215911295bcd9a905dc5286ca7d (commit)
       via  0ef84ab916432891107ba0cf525f39f5a422bba1 (commit)
       via  3787b7ce869e8d8219b2d66e28a2e2e1dd3c6a29 (commit)
       via  9e9dd9b4a86a9a90cc13d23ac8a03f5f8e4db6a9 (commit)
       via  8c5a634bffb212fadf96c090f12551160fffca3f (commit)
       via  e57673b758c6937387e1dce600640f6975de33ca (commit)
       via  0cb36e4336dda3b02cb9b881b64936598d90058f (commit)
       via  5601f014a0cb2e092cff4b865c6a66aa4c0feb9a (commit)
       via  a9af4cee739709dd2d21ab76518eec7ad8da921e (commit)
       via  aea4b56e481ae0eaddf174da30dce08f51bf7e0c (commit)
       via  0c19f5d53b325bd11bffc0dc1c8d748e65eac0be (commit)
       via  f9a1163f6bb3e6e557c7de7b7bd5975bfed7453d (commit)
       via  4fe7108dc3d2413b7a1f18088bb909f530ac06ee (commit)
       via  0cf67719c439bdaca4dcaa96a3e184f0fb8f4808 (commit)
       via  39ef19987def7efa0d1c2da48f3a553e6d3e8d83 (commit)
       via  cca2d397a12fd20ff653b0e016512afcd2b11df8 (commit)
       via  611ad28e343701634e7ff4118a980ed0a7304ffa (commit)
       via  7063e23c0aeefac10042f21ec94750c9e4f2d027 (commit)
       via  7a27d4eb297de6fb128d645b842fb69fb8009b8a (commit)
       via  9d430682ffe0a5eac0d751f94a01eb549913f198 (commit)
       via  1f98ab0509f8a7472b5f479543925f1ac0fd3b94 (commit)
       via  c1c25ddf9a650b13e11d883b38fc66c92545e7c7 (commit)
       via  67d7dd4b43447ecec11f4435620b880a009125a7 (commit)
       via  7bf3df7c0d31b6d00cfac7a9d1b72f7501704762 (commit)
       via  4478eb9a48d1ff72cc11dc6139b41a61a0bf910a (commit)
       via  4f9ed92e82a1ab3acb6589bb509c5a127e333f7f (commit)
       via  b5e58f583c517a7fcc7838a74ab9430ca5fec48d (commit)
       via  1e4106754f1995cf0b210f331b091f7b751ba10f (commit)
       via  480bdd67482f4d50905c6ff31b74111d1108da56 (commit)
       via  2e8a2a5a628b55350602e8984159c4acee4559e3 (commit)
      from  ab2ac0a44dadbddb0a68c3b1a6780eb494d44dd6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 5365590483584791f139a03dfe322d811803e3f7
Merge: ab2ac0a fd0a6e5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Feb 13 18:48:52 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit fd0a6e5cd0e8adf7f6039f4709772d61bba7806c
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Feb 13 09:15:50 2011 +0000

    gdb/
    	Fix const/volatile qualifiers of C++ types, PR c++/12328.
    	* c-typeprint.c (c_type_print_args): Update the function comment.  New
    	variable param_type, initialize it.  Remove const/volatile qualifiers
    	for language_cplus and !show_artificial.  Use param_type.
    
    gdb/testsuite/
    	Fix const/volatile qualifiers of C++ types, PR c++/12328.
    	* gdb.cp/overload-const.exp: New file.
    	* gdb.cp/overload-const.cc: New file.

commit 905080c1ebe4d889977112e418c8dd3c66f93254
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Feb 13 09:09:33 2011 +0000

    gdb/
    	* symtab.c (find_pc_sect_line): New variable objfile, initialize it
    	from S.  Iterate S using ALL_OBJFILE_SYMTABS.  Verify BV for each S.
    	* symtab.h (struct symtab) <next>: Comment extension.

commit fc5653543cf9d6800023398a309d7a9edc4c1a55
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Feb 13 00:00:32 2011 +0000

    *** empty log message ***

commit 69a632512a601889721f443f0a92d40597b49cae
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Feb 12 23:00:05 2011 +0000

    daily update

commit 7827cb22db6c46f1623e79f90a23276032fa05c9
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sat Feb 12 19:38:11 2011 +0000

    opcodes: blackfin: add missing space after PRNT insn
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit fc9d9ebd90ee721ee59fb908412073512201a930
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sat Feb 12 19:37:32 2011 +0000

    opcodes: blackfin: drop "GP" register
    
    There never was a "GP" register, so punt it from the decode map.  It's
    a hold over from a very old processor definition and never made it into
    actual silicon.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit f6f082adf8b91a72791ea5e7fe4d90be421ba1c2
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sat Feb 12 19:36:30 2011 +0000

    gas/opcodes: blackfin: move dsp mac func defines to common header
    
    The mmod field is decoded in a few places (gas/opcodes/sim), so move it to
    a common place to avoid duplication.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 6b83bddbdcae08479989869bdfab44fc3f691f5e
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Feb 12 15:47:02 2011 +0000

    Import move-if-change script from gnulib.
    
    /:
    	PR binutils/12283
    	* MAINTAINERS (mkinstalldirs): Comes from Automake.
    	(move-if-change): Comes from gnulib.
    	* move-if-change: Import version from gnulib.

commit 3a1969d1cf18ce680dffcd999ec9dc9e6b8d0960
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Sat Feb 12 14:40:07 2011 +0000

    Sync toplevel and config/ from GCC.
    
    /:
    	Sync from GCC:
    
    	2011-02-12  Alexandre Oliva  <aoliva@redhat.com>
    
    	PR lto/47225
    	* Makefile.def (lto-plugin): Double dash for enable-shared.
    	(configure-gcc): Depend on all-lto-plugin.
    	* Makefile.in: Rebuilt.
    
    	2011-02-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
    
    	* configure.ac: Remove extra bracket.
    	* configure: Regenerate.
    
    	2011-02-06  Kai Tietz  <kai.tietz@onevision.com>
    
    	PR lto/47225
    	* Makefile.def: Add dependency for install-gcc
    	on install-lto-plugin.
    	* Makfile.in: Regenerated
    
    	2011-01-25  Jakub Jelinek  <jakub@redhat.com>
    
    	* configure.ac: If with_ppl is no, move setting with_cloog=no
    	after CLOOG_REQUESTED check.
    	* configure: Regenerated.
    
    	2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
    
    	* configure.ac: Call AC_MSG_ERROR when PPL 0.11 is not present and
    	CLooG has been requested.
    	* configure: Regenerated.
    
    	2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
    
    	* configure: Regenerated.
    	* configure.ac: Check for version 0.11 (or later revision) of PPL.
    
    	2011-01-25  Tobias Grosser  <grosser@fim.uni-passau.de>
    
    	* configure: Regenerated.
    	* configure.ac: Use CLOOG_CHECK_VERSION(0,16,1).
    
    	2011-01-07  Jan Hubicka  <jh@suse.cz>
    
    	PR lto/47225
    	* Makefile.in: Regenerate.
    	* Makefile.def (lto-plugin): Always pass enable-shared to the plugin
    	configure.
    
    config/:
    2011-01-25  Jakub Jelinek  <jakub@redhat.com>
    
    	* cloog.m4 (CLOOG_REQUESTED): Use $2 if --without-cloog.
    
    2011-01-10  Jan Hubicka  <jh@suse.cz>
    
    	* bootstrap-lto.mk: -fuse-linker-plugin is default now;
    	pass -fno-lto to STAGEprofile.

commit 6045d9eaa27e91cfe24c3f321292340bd6fdcb1e
Author: qiyao <qiyao>
Date:   Sat Feb 12 13:07:38 2011 +0000

    2011-02-12  Yao Qi  <yao@codesourcery.com>
    
            * Makefile.in (CLEANDIRS): Remove duplicated common dir.

commit 5e212c44d6325da43d6026913f4c0b6a6dac43ae
Author: qiyao <qiyao>
Date:   Sat Feb 12 02:57:01 2011 +0000

    2011-02-11  Yao Qi  <yao@codesourcery.com>
    
            * Makefile.in: Add copyright header.

commit 132c0351d9688a0a361e80eac3db504c76459bfa
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Feb 12 00:00:03 2011 +0000

    *** empty log message ***

commit 8c24c70e57f78215911295bcd9a905dc5286ca7d
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Feb 11 23:00:15 2011 +0000

    daily update

commit 0ef84ab916432891107ba0cf525f39f5a422bba1
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Feb 11 19:03:26 2011 +0000

    opcodes: blackfin: constify register names
    
    Constify the array itself since it need not be writable.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 3787b7ce869e8d8219b2d66e28a2e2e1dd3c6a29
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Fri Feb 11 17:47:54 2011 +0000

    opcodes: blackfin: add multiple inclusion protection
    
    Prevent build errors if the header happens to be included multiple times.
    
    Signed-off-by: Mike Frysinger <vapier@gentoo.org>

commit 9e9dd9b4a86a9a90cc13d23ac8a03f5f8e4db6a9
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Feb 11 15:07:50 2011 +0000

    	* infrun.c (proceed): Move switching out and in of tfind mode from
    	here ...
    	(fetch_inferior_event): ... to here.

commit 8c5a634bffb212fadf96c090f12551160fffca3f
Author: qiyao <qiyao>
Date:   Fri Feb 11 09:57:23 2011 +0000

    2011-02-11  Yao Qi  <yao@codesourcery.com>
    
    	* Makefile.in: Remove signals.o from COMMON_OBS.  Link
    	libcommon.a.
    	* configure.ac: Add common to sub dir.
    	* configure: Regenerate.
    
    common/
    2011-02-11  Yao Qi  <yao@codesourcery.com>
    
    	Build libcommon.a.
    
    	* Makefile.in: New.
    	* configure.ac: New.
    	* aclocal.m4: New.
    	* configure: Generate.
    
    gdbserver/
    2011-02-11  Yao Qi  <yao@codesourcery.com>
    
    	* configure.ac: Call AC_PROG_RANLIB.
    	* Makefile.in: Remove signals.o from OBS.  Link libcommon.a.
    	* configure: Regenerate.

commit e57673b758c6937387e1dce600640f6975de33ca
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Feb 11 00:00:33 2011 +0000

    *** empty log message ***

commit 0cb36e4336dda3b02cb9b881b64936598d90058f
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Feb 10 23:00:04 2011 +0000

    daily update

commit 5601f014a0cb2e092cff4b865c6a66aa4c0feb9a
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Feb 10 18:40:22 2011 +0000

    Fix whitespace.

commit a9af4cee739709dd2d21ab76518eec7ad8da921e
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Feb 10 18:31:25 2011 +0000

    	* vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
    	side of the parenthesis.
    
    	Merge from GCC:
    	2010-07-13  Jakub Jelinek  <jakub@redhat.com>
            * vec.h (VEC_block_remove): Fix comment.

commit aea4b56e481ae0eaddf174da30dce08f51bf7e0c
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Feb 10 00:00:03 2011 +0000

    *** empty log message ***

commit 0c19f5d53b325bd11bffc0dc1c8d748e65eac0be
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Feb 9 23:00:04 2011 +0000

    daily update

commit f9a1163f6bb3e6e557c7de7b7bd5975bfed7453d
Author: Michael Snyder <msnyder@specifix.com>
Date:   Wed Feb 9 18:43:41 2011 +0000

    2011-02-09  Michael Snyder  <msnyder@vmware.com>
    
    	* i386-dis.c (OP_J): Parenthesize expression to prevent
    	truncated addresses.
    	(print_insn): Fix indentation off-by-one.

commit 4fe7108dc3d2413b7a1f18088bb909f530ac06ee
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Feb 9 08:16:00 2011 +0000

    	* elf64-ppc.c (ppc64_elf_edit_toc): Don't free toc relocs until
    	we are done.  When optimising large toc, check that a global
    	symbol on a toc reloc is defined in a kept section.

commit 0cf67719c439bdaca4dcaa96a3e184f0fb8f4808
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Feb 9 00:00:33 2011 +0000

    *** empty log message ***

commit 39ef19987def7efa0d1c2da48f3a553e6d3e8d83
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Feb 8 23:00:06 2011 +0000

    daily update

commit cca2d397a12fd20ff653b0e016512afcd2b11df8
Author: Michael Snyder <msnyder@specifix.com>
Date:   Tue Feb 8 22:35:55 2011 +0000

    2011-02-08  Michael Snyder  <msnyder@vmware.com>
    
    	* linux-nat.c (linux_nat_filter_event): Fix typo in comment.

commit 611ad28e343701634e7ff4118a980ed0a7304ffa
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 8 14:01:47 2011 +0000

    gdb/
    	* i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
    	in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
    	psubd and paddd.

commit 7063e23c0aeefac10042f21ec94750c9e4f2d027
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Feb 8 13:58:02 2011 +0000

    gdb/
    	PR 12361.
    	* i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
    	phsubsw.
    	(i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
    	(i386_process_record) <0x0f3807>: Fix the comment to phsubsw.

commit 7a27d4eb297de6fb128d645b842fb69fb8009b8a
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Tue Feb 8 13:30:06 2011 +0000

    include/ChangeLog:
    
    	* dwarf2.h (enum dwarf_calling_convention): Add DW_CC_GDB_IBM_OpenCL.
    
    gdb/ChangeLog:
    
    	* dwarf2read.c (read_subroutine_type): Set special calling
    	convention flag for functions compiled by IBM XL C for OpenCL.
    	* ppc-sysv-tdep.c: Include "dwarf2.h"
    	(ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
    	calling convention.
    	(do_ppc_sysv_return_value): Add FUNC_TYPE argument.  Implement
    	IBM OpenCL vector types calling convention.
    	(ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
    	(ppc_sysv_abi_broken_return_value): Likewise.
    	(ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
    	types calling convention.
    	(ppc64_sysv_abi_return_value): Likewise.
    	* spu-tdep.c: Include "dwarf2.h"
    	(spu_return_value): Implement IBM OpenCL vector types calling
    	convention.
    
    gdb/testsuite/ChangeLog:
    
    	* gdb.opencl/callfuncs.cl: New file.
    	* gdb.opencl/callfuncs.exp: New test.
    	* gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.

commit 9d430682ffe0a5eac0d751f94a01eb549913f198
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Tue Feb 8 13:24:59 2011 +0000

    ChangeLog:
    
    	* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
    	correct ABI for AltiVec vector arguments.
    
    testsuite/ChangeLog:
    
    	* gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
    	when computing result.
    	* gdb.arch/altivec-abi.exp: Update expected results.

commit 1f98ab0509f8a7472b5f479543925f1ac0fd3b94
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Feb 8 09:40:03 2011 +0000

    	PR binutils/12467
    	* readelf.c (process_program_headers): Issue a warning if there
    	are no program headers but the file header has a non-zero program
    	header offset.
    	(process_section_headers): Issue a warning if there are no section
    	headers but the file header has a non-zero section header offset.
    	(process_section_groups): Reword the no section message so that it
    	can be distinguished from the one issued by process_section_headers.
    
    	* elf.c (assign_file_positions_for_load_sections): Set the program
    	header offset and entry size to zero if there are no program
    	headers.

commit c1c25ddf9a650b13e11d883b38fc66c92545e7c7
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Feb 8 02:54:41 2011 +0000

    	* elf64-ppc.c (ppc64_elf_edit_toc): Don't segfault on NULL
    	local_syms when looking for local symbols in .toc.

commit 67d7dd4b43447ecec11f4435620b880a009125a7
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Feb 8 00:00:33 2011 +0000

    *** empty log message ***

commit 7bf3df7c0d31b6d00cfac7a9d1b72f7501704762
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Feb 7 23:00:05 2011 +0000

    daily update

commit 4478eb9a48d1ff72cc11dc6139b41a61a0bf910a
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 7 17:49:30 2011 +0000

    	* valprint.c (val_print): Extend comment.
    	* ada-valprint.c (ada_valprint): Rewrite comment deferring
    	interface explanation to val_print.
    	(ada_val_print_array): Adjust comment to current interface.
    	(print_field_values): Adjust comment to current interface.
    	* c-valprint.c (c_val_print): Rewrite comment deferring interface
    	explanation to val_print.
    	* f-valprint.c (f_val_print): Ditto.
    	* jv-valprint.c (java_val_print): Ditto.
    	* m2-valprint.c (m2_val_print): Ditto.
    	* p-valprint.c (pascal_val_print): Ditto.

commit 4f9ed92e82a1ab3acb6589bb509c5a127e333f7f
Author: Thiago Jung Bauermann <bauerman@br.ibm.com>
Date:   Mon Feb 7 13:35:42 2011 +0000

    	* gdb.base/break-interp.exp: Remove ${objdir} from test messages.
    	* gdb.base/jit.exp: Likewise.
    	* gdb.base/pie-execl.exp: Likewise.
    	* gdb.base/solib-nodir.exp: Likewise.
    	* gdb.base/solib-overlap.exp: Likewise.

commit b5e58f583c517a7fcc7838a74ab9430ca5fec48d
Author: Thiago Jung Bauermann <bauerman@br.ibm.com>
Date:   Mon Feb 7 13:30:31 2011 +0000

    	* breakpoint.c (parse_breakpoint_sals): Fix description.

commit 1e4106754f1995cf0b210f331b091f7b751ba10f
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Feb 7 12:14:11 2011 +0000

    	gdb/server/
    	* server.c (gdb_read_memory): Change return semantics to allow
    	partial transfers.
    	(handle_search_memory_1): Adjust.
    	(process_serial_event) <'m' packet>: Handle partial transfers.
    	* tracepoint.c (traceframe_read_mem): Handle partial transfers.
    
    	gdb/testsuite/
    	* gdb.trace/collection.c (global_pieces): New.
    	* gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
    	New procedure.
    	(gdb_trace_collection_test): Call it.

commit 480bdd67482f4d50905c6ff31b74111d1108da56
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Feb 7 00:00:33 2011 +0000

    *** empty log message ***

commit 2e8a2a5a628b55350602e8984159c4acee4559e3
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Feb 6 23:00:04 2011 +0000

    daily update

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                |   59 +
 MAINTAINERS                              |   10 +-
 Makefile.def                             |   10 +-
 Makefile.in                              |   55 +-
 Makefile.tpl                             |    2 +-
 bfd/ChangeLog                            |   18 +
 bfd/elf.c                                |   14 +-
 bfd/elf64-ppc.c                          |   93 +-
 bfd/version.h                            |    2 +-
 config/ChangeLog                         |   22 +-
 config/bootstrap-lto.mk                  |    5 +-
 config/cloog.m4                          |    4 +-
 configure                                |   37 +-
 configure.ac                             |   30 +-
 gdb/ChangeLog                            |  100 +-
 gdb/Makefile.in                          |   54 +-
 gdb/ada-valprint.c                       |   25 +-
 gdb/breakpoint.c                         |    7 +-
 gdb/c-typeprint.c                        |   31 +-
 gdb/c-valprint.c                         |   10 +-
 gdb/common/ChangeLog                     |   13 +
 gdb/common/Makefile.in                   |   93 +
 gdb/common/aclocal.m4                    |   68 +
 gdb/{gdbserver => common}/configure      | 3188 ++++++------------------------
 gdb/common/configure.ac                  |   74 +
 gdb/configure                            |    3 +
 gdb/configure.ac                         |    1 +
 gdb/dwarf2read.c                         |    7 +-
 gdb/f-valprint.c                         |    9 +-
 gdb/gdbserver/ChangeLog                  |   14 +
 gdb/gdbserver/Makefile.in                |   41 +-
 gdb/gdbserver/configure                  |   93 +
 gdb/gdbserver/configure.ac               |    1 +
 gdb/gdbserver/server.c                   |   43 +-
 gdb/gdbserver/tracepoint.c               |   15 +-
 gdb/i386-tdep.c                          |   22 +-
 gdb/infrun.c                             |   20 +-
 gdb/jv-valprint.c                        |    9 +-
 gdb/linux-nat.c                          |    2 +-
 gdb/m2-valprint.c                        |    9 +-
 gdb/p-valprint.c                         |   12 +-
 gdb/ppc-sysv-tdep.c                      |  481 ++++-
 gdb/spu-tdep.c                           |   18 +-
 gdb/symtab.c                             |    7 +-
 gdb/symtab.h                             |    3 +-
 gdb/testsuite/ChangeLog                  |   33 +
 gdb/testsuite/gdb.arch/altivec-abi.c     |    2 +-
 gdb/testsuite/gdb.arch/altivec-abi.exp   |    5 +-
 gdb/testsuite/gdb.base/break-interp.exp  |    2 +-
 gdb/testsuite/gdb.base/jit.exp           |    9 +-
 gdb/testsuite/gdb.base/pie-execl.exp     |    3 +-
 gdb/testsuite/gdb.base/solib-nodir.exp   |    2 +-
 gdb/testsuite/gdb.base/solib-overlap.exp |    9 +-
 gdb/testsuite/gdb.cp/overload-const.cc   |   28 +
 gdb/testsuite/gdb.cp/overload-const.exp  |   29 +
 gdb/testsuite/gdb.opencl/Makefile.in     |    2 +-
 gdb/testsuite/gdb.opencl/callfuncs.cl    |  218 ++
 gdb/testsuite/gdb.opencl/callfuncs.exp   |  102 +
 gdb/testsuite/gdb.trace/collection.c     |    8 +
 gdb/testsuite/gdb.trace/collection.exp   |   45 +
 gdb/valprint.c                           |   36 +-
 gdb/vec.h                                |    4 +-
 gdb/version.in                           |    2 +-
 include/ChangeLog                        |    4 +
 include/dwarf2.h                         |   10 +-
 include/opcode/ChangeLog                 |    9 +
 include/opcode/bfin.h                    |   30 +-
 move-if-change                           |   81 +-
 opcodes/ChangeLog                        |   30 +
 opcodes/bfin-dis.c                       |   53 +-
 opcodes/i386-dis.c                       |   10 +-
 71 files changed, 2606 insertions(+), 2994 deletions(-)
 create mode 100644 gdb/common/ChangeLog
 create mode 100644 gdb/common/Makefile.in
 create mode 100644 gdb/common/aclocal.m4
 copy gdb/{gdbserver => common}/configure (62%)
 create mode 100644 gdb/common/configure.ac
 create mode 100644 gdb/testsuite/gdb.cp/overload-const.cc
 create mode 100644 gdb/testsuite/gdb.cp/overload-const.exp
 create mode 100644 gdb/testsuite/gdb.opencl/callfuncs.cl
 create mode 100644 gdb/testsuite/gdb.opencl/callfuncs.exp

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 7711c87..930f70d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,62 @@
+2011-02-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	PR binutils/12283
+	* MAINTAINERS (mkinstalldirs): Comes from Automake.
+	(move-if-change): Comes from gnulib.
+	* move-if-change: Import version from gnulib.
+
+2011-02-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	Sync from GCC:
+
+	2011-02-12  Alexandre Oliva  <aoliva@redhat.com>
+
+	PR lto/47225
+	* Makefile.def (lto-plugin): Double dash for enable-shared.
+	(configure-gcc): Depend on all-lto-plugin.
+	* Makefile.in: Rebuilt.
+
+	2011-02-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	* configure.ac: Remove extra bracket.
+	* configure: Regenerate.
+
+	2011-02-06  Kai Tietz  <kai.tietz@onevision.com>
+
+	PR lto/47225
+	* Makefile.def: Add dependency for install-gcc
+	on install-lto-plugin.
+	* Makfile.in: Regenerated
+
+	2011-01-25  Jakub Jelinek  <jakub@redhat.com>
+
+	* configure.ac: If with_ppl is no, move setting with_cloog=no
+	after CLOOG_REQUESTED check.
+	* configure: Regenerated.
+
+	2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* configure.ac: Call AC_MSG_ERROR when PPL 0.11 is not present and
+	CLooG has been requested.
+	* configure: Regenerated.
+
+	2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* configure: Regenerated.
+	* configure.ac: Check for version 0.11 (or later revision) of PPL.
+
+	2011-01-25  Tobias Grosser  <grosser@fim.uni-passau.de>
+
+	* configure: Regenerated.
+	* configure.ac: Use CLOOG_CHECK_VERSION(0,16,1).
+
+	2011-01-07  Jan Hubicka  <jh@suse.cz>
+
+	PR lto/47225
+	* Makefile.in: Regenerate.
+	* Makefile.def (lto-plugin): Always pass enable-shared to the plugin
+	configure.
+
 2011-01-31  Alexandre Oliva  <aoliva@redhat.com>
 
 	PR libgcj/44341
diff --git a/MAINTAINERS b/MAINTAINERS
index a471c90..046c5ea 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -38,7 +38,7 @@ config.guess; config.sub; readline/support/config.{sub,guess}
 		binutils@sourceware.org
 		gdb-patches@sourceware.org
 
-depcomp
+depcomp; mkinstalldirs
         Send bug reports and patches to bug-automake@gnu.org.
 
 gdb/; readline/; sim/; GDB's part of include/
@@ -69,12 +69,8 @@ ltconfig; ltmain.sh; ltcf-*.sh
 	sources or submitted to the master file maintainer and brought
 	in via a merge.
 
-mkinstalldirs; move-if-change
-	autoconf: http://gnu.org
-	Patches to autoconf-patches@gnu.org.
-	Changes need to be done in tandem with the official AUTOCONF
-	sources or submitted to the master file maintainer and brought
-	in via a merge.
+move-if-change
+	Send bug reports and patches to bug-gnulib@gnu.org.
 
 symlink-tree
 	gcc: http://gcc.gnu.org
diff --git a/Makefile.def b/Makefile.def
index 8eb5b03..85b582c 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -4,7 +4,7 @@ AutoGen definitions Makefile.tpl;
 // Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
 // This file was originally written by Nathanael Nerode.
 //
-//   Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+//   Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
 //   Free Software Foundation
 //
 // This file is free software; you can redistribute it and/or modify
@@ -145,7 +145,8 @@ host_modules= { module= libtermcap; no_check=true;
                 missing=maintainer-clean; };
 host_modules= { module= utils; no_check=true; };
 host_modules= { module= gnattools; };
-host_modules= { module= lto-plugin; bootstrap=true; };
+host_modules= { module= lto-plugin; bootstrap=true;
+		extra_configure_flags=--enable-shared; };
 
 target_modules = { module= libstdc++-v3;
 		   bootstrap=true;
@@ -321,6 +322,7 @@ dependencies = { module=all-build-fixincludes; on=all-build-libiberty; };
 
 // Host modules specific to gcc.
 dependencies = { module=configure-gcc; on=configure-intl; };
+dependencies = { module=configure-gcc; on=all-lto-plugin; };
 dependencies = { module=configure-gcc; on=all-binutils; };
 dependencies = { module=configure-gcc; on=all-gas; };
 dependencies = { module=configure-gcc; on=all-ld; };
@@ -344,11 +346,13 @@ dependencies = { module=all-gcc; on=all-libcpp; hard=true; };
 dependencies = { module=all-gcc; on=all-libdecnumber; hard=true; };
 dependencies = { module=all-gcc; on=all-libiberty; };
 dependencies = { module=all-gcc; on=all-fixincludes; };
+dependencies = { module=all-gcc; on=all-lto-plugin; };
 dependencies = { module=info-gcc; on=all-build-libiberty; };
 dependencies = { module=dvi-gcc; on=all-build-libiberty; };
 dependencies = { module=pdf-gcc; on=all-build-libiberty; };
 dependencies = { module=html-gcc; on=all-build-libiberty; };
 dependencies = { module=install-gcc ; on=install-fixincludes; };
+dependencies = { module=install-gcc ; on=install-lto-plugin; };
 dependencies = { module=install-strip-gcc ; on=install-strip-fixincludes; };
 
 dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; };
@@ -360,7 +364,7 @@ dependencies = { module=all-fixincludes; on=all-libiberty; };
 
 dependencies = { module=all-gnattools; on=all-target-libada; };
 
-dependencies = { module=all-lto-plugin; on=all-gcc; };
+dependencies = { module=all-lto-plugin; on=all-libiberty; };
 
 dependencies = { module=configure-mpfr; on=all-gmp; };
 dependencies = { module=configure-mpc; on=all-mpfr; };
diff --git a/Makefile.in b/Makefile.in
index 945fc5d..660f813 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -3,7 +3,7 @@
 #
 # Makefile for directory with subdirs to build.
 #   Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-#   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+#   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
 #   Free Software Foundation
 #
 # This file is free software; you can redistribute it and/or modify
@@ -45248,7 +45248,7 @@ configure-lto-plugin:
 	libsrcdir="$$s/lto-plugin"; \
 	$(SHELL) $${libsrcdir}/configure \
 	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
-	  --target=${target_alias} $${srcdiroption}  \
+	  --target=${target_alias} $${srcdiroption} --enable-shared \
 	  || exit 1
 @endif lto-plugin
 
@@ -45282,7 +45282,8 @@ configure-stage1-lto-plugin:
 	$(SHELL) $${libsrcdir}/configure \
 	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
 	  --target=${target_alias} $${srcdiroption} \
-	  $(STAGE1_CONFIGURE_FLAGS)
+	  $(STAGE1_CONFIGURE_FLAGS) \
+	  --enable-shared
 @endif lto-plugin-bootstrap
 
 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
@@ -45315,7 +45316,8 @@ configure-stage2-lto-plugin:
 	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
 	  --target=${target_alias} $${srcdiroption} \
 	  --with-build-libsubdir=$(HOST_SUBDIR) \
-	  $(STAGE2_CONFIGURE_FLAGS)
+	  $(STAGE2_CONFIGURE_FLAGS) \
+	  --enable-shared
 @endif lto-plugin-bootstrap
 
 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
@@ -45348,7 +45350,8 @@ configure-stage3-lto-plugin:
 	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
 	  --target=${target_alias} $${srcdiroption} \
 	  --with-build-libsubdir=$(HOST_SUBDIR) \
-	  $(STAGE3_CONFIGURE_FLAGS)
+	  $(STAGE3_CONFIGURE_FLAGS) \
+	  --enable-shared
 @endif lto-plugin-bootstrap
 
 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
@@ -45381,7 +45384,8 @@ configure-stage4-lto-plugin:
 	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
 	  --target=${target_alias} $${srcdiroption} \
 	  --with-build-libsubdir=$(HOST_SUBDIR) \
-	  $(STAGE4_CONFIGURE_FLAGS)
+	  $(STAGE4_CONFIGURE_FLAGS) \
+	  --enable-shared
 @endif lto-plugin-bootstrap
 
 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
@@ -45414,7 +45418,8 @@ configure-stageprofile-lto-plugin:
 	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
 	  --target=${target_alias} $${srcdiroption} \
 	  --with-build-libsubdir=$(HOST_SUBDIR) \
-	  $(STAGEprofile_CONFIGURE_FLAGS)
+	  $(STAGEprofile_CONFIGURE_FLAGS) \
+	  --enable-shared
 @endif lto-plugin-bootstrap
 
 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
@@ -45447,7 +45452,8 @@ configure-stagefeedback-lto-plugin:
 	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
 	  --target=${target_alias} $${srcdiroption} \
 	  --with-build-libsubdir=$(HOST_SUBDIR) \
-	  $(STAGEfeedback_CONFIGURE_FLAGS)
+	  $(STAGEfeedback_CONFIGURE_FLAGS) \
+	  --enable-shared
 @endif lto-plugin-bootstrap
 
 
@@ -60260,6 +60266,14 @@ configure-stage3-gcc: maybe-configure-stage3-intl
 configure-stage4-gcc: maybe-configure-stage4-intl
 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
+configure-gcc: maybe-all-lto-plugin
+
+configure-stage1-gcc: maybe-all-stage1-lto-plugin
+configure-stage2-gcc: maybe-all-stage2-lto-plugin
+configure-stage3-gcc: maybe-all-stage3-lto-plugin
+configure-stage4-gcc: maybe-all-stage4-lto-plugin
+configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
+configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
 configure-gcc: maybe-all-binutils
 
 configure-stage1-gcc: maybe-all-stage1-binutils
@@ -60437,6 +60451,14 @@ all-stage4-gcc: maybe-all-stage4-libiberty
 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
 all-gcc: maybe-all-fixincludes
+all-gcc: maybe-all-lto-plugin
+
+all-stage1-gcc: maybe-all-stage1-lto-plugin
+all-stage2-gcc: maybe-all-stage2-lto-plugin
+all-stage3-gcc: maybe-all-stage3-lto-plugin
+all-stage4-gcc: maybe-all-stage4-lto-plugin
+all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
+all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
 info-gcc: maybe-all-build-libiberty
 
 info-stage1-gcc: maybe-all-build-libiberty
@@ -60470,6 +60492,7 @@ html-stage4-gcc: maybe-all-build-libiberty
 html-stageprofile-gcc: maybe-all-build-libiberty
 html-stagefeedback-gcc: maybe-all-build-libiberty
 install-gcc: maybe-install-fixincludes
+install-gcc: maybe-install-lto-plugin
 install-strip-gcc: maybe-install-strip-fixincludes
 configure-libcpp: configure-libiberty
 
@@ -60505,14 +60528,14 @@ all-stageprofile-libcpp: maybe-all-stageprofile-intl
 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
 all-fixincludes: maybe-all-libiberty
 all-gnattools: maybe-all-target-libada
-all-lto-plugin: maybe-all-gcc
-
-all-stage1-lto-plugin: maybe-all-stage1-gcc
-all-stage2-lto-plugin: maybe-all-stage2-gcc
-all-stage3-lto-plugin: maybe-all-stage3-gcc
-all-stage4-lto-plugin: maybe-all-stage4-gcc
-all-stageprofile-lto-plugin: maybe-all-stageprofile-gcc
-all-stagefeedback-lto-plugin: maybe-all-stagefeedback-gcc
+all-lto-plugin: maybe-all-libiberty
+
+all-stage1-lto-plugin: maybe-all-stage1-libiberty
+all-stage2-lto-plugin: maybe-all-stage2-libiberty
+all-stage3-lto-plugin: maybe-all-stage3-libiberty
+all-stage4-lto-plugin: maybe-all-stage4-libiberty
+all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
+all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
 configure-mpfr: maybe-all-gmp
 
 configure-stage1-mpfr: maybe-all-stage1-gmp
diff --git a/Makefile.tpl b/Makefile.tpl
index f9a2936..7ad0896 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -6,7 +6,7 @@ in
 #
 # Makefile for directory with subdirs to build.
 #   Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-#   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+#   1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
 #   Free Software Foundation
 #
 # This file is free software; you can redistribute it and/or modify
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 35d534f..64e1ccd 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,21 @@
+2011-02-09  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (ppc64_elf_edit_toc): Don't free toc relocs until
+	we are done.  When optimising large toc, check that a global
+	symbol on a toc reloc is defined in a kept section.
+
+2011-02-08  Nick Clifton  <nickc@redhat.com>
+
+	PR binutils/12467
+	* elf.c (assign_file_positions_for_load_sections): Set the program
+	header offset and entry size to zero if there are no program
+	headers.
+
+2011-02-08  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (ppc64_elf_edit_toc): Don't segfault on NULL
+	local_syms when looking for local symbols in .toc.
+
 2011-02-01  Alan Modra  <amodra@gmail.com>
 
 	* elf64-ppc.c (ppc64_elf_next_input_section): Use elf_gp value
diff --git a/bfd/elf.c b/bfd/elf.c
index 257cc8c..c77dced 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -4334,8 +4334,18 @@ assign_file_positions_for_load_sections (bfd *abfd,
 	header_pad = m->header_size;
     }
 
-  elf_elfheader (abfd)->e_phoff = bed->s->sizeof_ehdr;
-  elf_elfheader (abfd)->e_phentsize = bed->s->sizeof_phdr;
+  if (alloc)
+    {
+      elf_elfheader (abfd)->e_phoff = bed->s->sizeof_ehdr;
+      elf_elfheader (abfd)->e_phentsize = bed->s->sizeof_phdr;
+    }
+  else
+    {
+      /* PR binutils/12467.  */
+      elf_elfheader (abfd)->e_phoff = 0;
+      elf_elfheader (abfd)->e_phentsize = 0;
+    }
+  
   elf_elfheader (abfd)->e_phnum = alloc;
 
   if (elf_tdata (abfd)->program_header_size == (bfd_size_type) -1)
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index d020928..25d0d2e 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -1,6 +1,6 @@
 /* PowerPC64-specific support for 64-bit ELF.
    Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
-   2009, 2010 Free Software Foundation, Inc.
+   2009, 2010, 2011 Free Software Foundation, Inc.
    Written by Linus Nordberg, Swox AB <info@swox.com>,
    based on elf32-ppc.c by Ian Lance Taylor.
    Largely rewritten by Alan Modra.
@@ -7907,7 +7907,7 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
       asection *toc, *sec;
       Elf_Internal_Shdr *symtab_hdr;
       Elf_Internal_Sym *local_syms;
-      Elf_Internal_Rela *relstart, *rel;
+      Elf_Internal_Rela *relstart, *rel, *toc_relocs;
       unsigned long *skip, *drop;
       unsigned char *used;
       unsigned char *keep, last, some_unused;
@@ -7922,6 +7922,7 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 	  || elf_discarded_section (toc))
 	continue;
 
+      toc_relocs = NULL;
       local_syms = NULL;
       symtab_hdr = &elf_symtab_hdr (ibfd);
 
@@ -8017,12 +8018,12 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 	  && toc->reloc_count != 0)
 	{
 	  /* Read toc relocs.  */
-	  relstart = _bfd_elf_link_read_relocs (ibfd, toc, NULL, NULL,
-						info->keep_memory);
-	  if (relstart == NULL)
+	  toc_relocs = _bfd_elf_link_read_relocs (ibfd, toc, NULL, NULL,
+						  info->keep_memory);
+	  if (toc_relocs == NULL)
 	    goto error_ret;
 
-	  for (rel = relstart; rel < relstart + toc->reloc_count; ++rel)
+	  for (rel = toc_relocs; rel < toc_relocs + toc->reloc_count; ++rel)
 	    {
 	      enum elf_ppc64_reloc_type r_type;
 	      unsigned long r_symndx;
@@ -8040,6 +8041,10 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 			      r_symndx, ibfd))
 		goto error_ret;
 
+	      if (sym_sec == NULL
+		  || elf_discarded_section (sym_sec))
+		continue;
+
 	      if (!SYMBOL_CALLS_LOCAL (info, h))
 		continue;
 
@@ -8078,11 +8083,8 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 		}
 
 	      skip[rel->r_offset >> 3]
-		|= can_optimize | ((rel - relstart) << 2);
+		|= can_optimize | ((rel - toc_relocs) << 2);
 	    }
-
-	  if (elf_section_data (toc)->relocs != relstart)
-	    free (relstart);
 	}
 
       if (skip == NULL)
@@ -8099,6 +8101,9 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 	      && relstart != NULL
 	      && elf_section_data (sec)->relocs != relstart)
 	    free (relstart);
+	  if (toc_relocs != NULL
+	      && elf_section_data (toc)->relocs != toc_relocs)
+	    free (toc_relocs);
 	  if (skip != NULL)
 	    free (skip);
 	  return FALSE;
@@ -8338,7 +8343,7 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 		  else if ((skip[val >> 3] & can_optimize) != 0)
 		    {
 		      Elf_Internal_Rela *tocrel
-			= elf_section_data (toc)->relocs + (skip[val >> 3] >> 2);
+			= toc_relocs + (skip[val >> 3] >> 2);
 		      unsigned long tsym = ELF64_R_SYM (tocrel->r_info);
 
 		      switch (r_type)
@@ -8372,34 +8377,35 @@ ppc64_elf_edit_toc (struct bfd_link_info *info)
 
 	  /* We shouldn't have local or global symbols defined in the TOC,
 	     but handle them anyway.  */
-	  for (sym = local_syms;
-	       sym < local_syms + symtab_hdr->sh_info;
-	       ++sym)
-	    if (sym->st_value != 0
-		&& bfd_section_from_elf_index (ibfd, sym->st_shndx) == toc)
-	      {
-		unsigned long i;
+	  if (local_syms != NULL)
+	    for (sym = local_syms;
+		 sym < local_syms + symtab_hdr->sh_info;
+		 ++sym)
+	      if (sym->st_value != 0
+		  && bfd_section_from_elf_index (ibfd, sym->st_shndx) == toc)
+		{
+		  unsigned long i;
 
-		if (sym->st_value > toc->rawsize)
-		  i = toc->rawsize >> 3;
-		else
-		  i = sym->st_value >> 3;
+		  if (sym->st_value > toc->rawsize)
+		    i = toc->rawsize >> 3;
+		  else
+		    i = sym->st_value >> 3;
 
-		if ((skip[i] & (ref_from_discarded | can_optimize)) != 0)
-		  {
-		    if (local_toc_syms)
-		      (*_bfd_error_handler)
-			(_("%s defined on removed toc entry"),
-			 bfd_elf_sym_name (ibfd, symtab_hdr, sym, NULL));
-		    do
-		      ++i;
-		    while ((skip[i] & (ref_from_discarded | can_optimize)));
-		    sym->st_value = (bfd_vma) i << 3;
-		  }
+		  if ((skip[i] & (ref_from_discarded | can_optimize)) != 0)
+		    {
+		      if (local_toc_syms)
+			(*_bfd_error_handler)
+			  (_("%s defined on removed toc entry"),
+			   bfd_elf_sym_name (ibfd, symtab_hdr, sym, NULL));
+		      do
+			++i;
+		      while ((skip[i] & (ref_from_discarded | can_optimize)));
+		      sym->st_value = (bfd_vma) i << 3;
+		    }
 
-		sym->st_value -= skip[i];
-		symtab_hdr->contents = (unsigned char *) local_syms;
-	      }


hooks/post-receive
--
Repository for Project Archer.


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

* [SCM]  master: Merge remote-tracking branch 'gdb/master'
@ 2011-02-06 19:15 jkratoch
  0 siblings, 0 replies; 45+ messages in thread
From: jkratoch @ 2011-02-06 19:15 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  ab2ac0a44dadbddb0a68c3b1a6780eb494d44dd6 (commit)
       via  d948934f0203bf0665b4fd9e95f2d1848891b71d (commit)
       via  92ee4c816f095f8317d58f431022cfe55e331dbb (commit)
       via  9b725910d746f500e31d6c6a3fa60cf37aae985b (commit)
       via  167ff15ea4b4885cf5905ddaed706b99163ca828 (commit)
       via  526b6892295c060bfca99008bb3b45d2c5f70862 (commit)
       via  44b38307aa68837416a52d965f14242e9d21bd1e (commit)
       via  fc7a5cdb2a03795e7a9f6590330c5a1019f1b90f (commit)
       via  c16351a48f04db84a98d2c3ae022f15149eda0df (commit)
       via  dfaf14086e58b86ce945b9d51026b2e9d2af5053 (commit)
       via  40b3ea7303780e873c1b35002ee288e80bdcfae7 (commit)
       via  2da4355e0fc7ff79b16dbba9d79783cf96e50ec7 (commit)
       via  8939062d83880f1d9da3988a2e4066814ec30fc5 (commit)
       via  003cb3107fe4c84a6c05ba69a1c82aae8f427fa4 (commit)
       via  acc931bef4cae0b9cc35751bbff1b2e1b1d84c23 (commit)
       via  ad6a084ed88e4d8b4376e625060a17853e1d5b33 (commit)
       via  32688ec2a26c24094f0033874f05f1a63646c391 (commit)
       via  961b2121d701119c6c8936385a8db5e482a5b247 (commit)
       via  507759f37262afc670bbf18225300b11f8b116f5 (commit)
       via  4bec1ce565b273a7df3bb2a776b4e209636cc952 (commit)
       via  c0319cf84fe05c5a0b77ca97c380ea07fca5b2cc (commit)
       via  f160e5c4182410edebc60551d1843bfa8fcae678 (commit)
       via  f1582bd54c160a70ac2f3f76910d0bc7f13d6f3b (commit)
       via  b0efaeca545c99749589a680da5b2b1315f5026f (commit)
       via  28a2be073a317abb4b74da543fbbfba15790cd3b (commit)
       via  cb436fe3c74cb457292b2b3708eea8e3b0662819 (commit)
       via  abece3004d9eee7f8169c8754e1ff6572509780f (commit)
       via  be13bb8aedf78660eeeec80ffecc718295da05ee (commit)
       via  93bda8ae0c6a760a7f6c2296e408fe765e1ca6ee (commit)
       via  c08dcfa2035a1313df3cc865a6d8f6e7cbd8c7ac (commit)
       via  443c1710b16276c92ca17efd65b8d9b2a553f362 (commit)
       via  3c682556be34879ef07d4e084e089af206f712bf (commit)
      from  e4941aa858b64bb0d3d1687c3cb7530ac497645d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit ab2ac0a44dadbddb0a68c3b1a6780eb494d44dd6
Merge: e4941aa d948934
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sun Feb 6 20:14:54 2011 +0100

    Merge remote-tracking branch 'gdb/master'

commit d948934f0203bf0665b4fd9e95f2d1848891b71d
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Feb 6 00:00:33 2011 +0000

    *** empty log message ***

commit 92ee4c816f095f8317d58f431022cfe55e331dbb
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Feb 5 23:00:29 2011 +0000

    daily update

commit 9b725910d746f500e31d6c6a3fa60cf37aae985b
Author: Hui Zhu <teawater@gmail.com>
Date:   Sat Feb 5 05:27:23 2011 +0000

    Add the file that prev commit forget.

commit 167ff15ea4b4885cf5905ddaed706b99163ca828
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Feb 5 00:00:03 2011 +0000

    *** empty log message ***

commit 526b6892295c060bfca99008bb3b45d2c5f70862
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Feb 4 23:00:05 2011 +0000

    daily update

commit 44b38307aa68837416a52d965f14242e9d21bd1e
Author: swagiaal <swagiaal>
Date:   Fri Feb 4 21:54:13 2011 +0000

    Add Python support for GDB events.
    
    2011-02-04  Sami Wagiaalla  <swagiaal@redhat.com>
    
    	* gdb.python/py-evthreads.c: New file.
    	* gdb.python/py-evthreads.exp: New file.
    	* gdb.python/py-events.py: New file.
    	* gdb.python/py-events.exp: New file.
    	* gdb.python/py-events.c: New file.
    
    2011-02-04  Sami Wagiaalla  <swagiaal@redhat.com>
                    Oguz Kayral <oguzkayral@gmail.com>
    
    	* python/py-inferior.c (python_on_normal_stop): New function.
    	(python_on_resume): New function.
    	(python_inferior_exit): New function.
    	(gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
    	inferior_exit observers.
    	* python/py-evtregistry.c: New file.
    	* python/py-threadevent.c : New file.
    	* python/py-event.c: New file.
    	* python/py-evts.c: New file.
    	* python/py-continueevent.c: New file.
    	* python/py-bpevent.c: New file.
    	* python/py-signalevent.c: New file.
    	* python/py-exetiedevent.c: New file.
    	* python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
    	Move struct breakpoint_object from here...
    	* python/python-internal.h: ... to here.
    	* python/py-event.h: New file.
    	* python/py-events.h: New file.
    	* Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
    	py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
    	py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
    	(SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
    	py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
    	py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
    	Add build rules for all the above.

commit fc7a5cdb2a03795e7a9f6590330c5a1019f1b90f
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Feb 4 20:33:08 2011 +0000

    	* dwarf2read.c (dwarf2_section_empty_p): New function.
    	(dwarf2_read_section): Use dwarf2_section_empty_p.
    	(dwarf2_section_size): New function.
    	(dwarf2_get_section_info): Unconditionally read section.
    	(dwarf2_read_index): Use dwarf2_section_empty_p.
    	(partial_read_comp_unit_head): Use dwarf2_section_size.
    	(dwarf2_symbol_mark_computed): Likewise.

commit c16351a48f04db84a98d2c3ae022f15149eda0df
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Feb 4 19:10:12 2011 +0000

    	* gdbint.texinfo (Formatting): Mention some formatting guidelines
    	for casts and unary operators.

commit dfaf14086e58b86ce945b9d51026b2e9d2af5053
Author: David Daney <ddaney@avtrex.com>
Date:   Fri Feb 4 18:45:11 2011 +0000

    2011-02-04 David Daney <ddaney@caviumnetworks.com>
    
    	* NEWS: Add item for "catch syscall" on mips*-linux* targets.

commit 40b3ea7303780e873c1b35002ee288e80bdcfae7
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Feb 4 18:35:04 2011 +0000

    	* gdb.texinfo (GDB/MI Async Records): Document that symbols-loaded
    	is not useful.

commit 2da4355e0fc7ff79b16dbba9d79783cf96e50ec7
Author: David Daney <ddaney@avtrex.com>
Date:   Fri Feb 4 18:34:41 2011 +0000

    gdb/
    2011-02-04 David Daney <ddaney@caviumnetworks.com>
    
    	* mips-linux-tdep.c: Include xml-syscall.h.
    	(mips_linux_get_syscall_number): New function.
    	(mips_linux_init_abi): Add calls to
    	mips_linux_get_syscall_number() and set_xml_syscall_file_name().
    	* data-directory/Makefile.in (SYSCALLS_FILES): Add
    	mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
    	* syscalls/mips-n32-linux.xml: New file.
    	* syscalls/mips-n64-linux.xml: New file.
    	* syscalls/mips-o32-linux.xml: New file.
    gdb/testsuite/
    2011-02-04 David Daney <ddaney@caviumnetworks.com>
    
    	* gdb.base/catch-syscall.exp: Enable for mips*-linux*.

commit 8939062d83880f1d9da3988a2e4066814ec30fc5
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Fri Feb 4 18:13:23 2011 +0000

    	* dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
    	Complain about inverted range entries.
    	(dwarf2_record_block_ranges): Likewise.

commit 003cb3107fe4c84a6c05ba69a1c82aae8f427fa4
Author: Thiago Jung Bauermann <bauerman@br.ibm.com>
Date:   Fri Feb 4 17:27:13 2011 +0000

    	Fix some typos.
    	* breakpoint.c (update_watchpoint): Fix name of the
    	update_global_location_list function.
    	(print_one_breakpoint): Fix typo.
    	(_initialize_breakpoint): Remove extra space in hbreak help
    	string.
    	* breakpoint.h (struct bp_location) <length>: Fix field
    	description.

commit acc931bef4cae0b9cc35751bbff1b2e1b1d84c23
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Feb 4 15:46:46 2011 +0000

    	* regcache.c (registers_changed_ptid): Don't explictly always
    	clear `current_regcache'.  Only clear current_thread_ptid and
    	current_thread_arch when PTID matches.  Only reinit the frame
    	cache if PTID matches the current inferior_ptid.  Move alloca(0)
    	call to ...
    	(registers_changed): ... here.

commit ad6a084ed88e4d8b4376e625060a17853e1d5b33
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Feb 4 00:00:32 2011 +0000

    *** empty log message ***

commit 32688ec2a26c24094f0033874f05f1a63646c391
Author: Bernd Schmidt <bernd.schmidt@analog.com>
Date:   Thu Feb 3 23:20:25 2011 +0000

    	gas/
    	* doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
    	* doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
    	(TIC6X Options): Don't mention "-matomic".
    	* config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
    	(md_longopts): Remove corresponding entries.
    	(md_parse_option): Don't handle them.
    	(md_show_usage): Don't document them.
    	(tic6x_atomic): Delete variable.
    	(tic6x_update_features): Always copy tic6x_arch_enable to
    	tic6x_features.
    	(tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
    	(s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
    	(md_pseudo_table): Remove ".atomic" and ".noatomic".
    
    	gas/testsuite/
    	* gas/tic6x/dir-junk.l: Remove tests for .atomic and .noatomic.
    	* gas/tic6x/dir-junk.s: Likewise.
    	* gas/tic6x/insns-c674x-bad.d: Remove test.
    	* gas/tic6x/insns-c674x-bad.l: Likewise.
    	* gas/tic6x/insns-atomic.d: Remove "-matomic" switch.
    
    	include/opcode/
    	* tic6x-opcode-table.h (cmtl, ll, sl): Available on C64XP.
    	* tic6x.h (TIC6X_INSN_ATOMIC): Remove.

commit 961b2121d701119c6c8936385a8db5e482a5b247
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Feb 3 23:00:04 2011 +0000

    daily update

commit 507759f37262afc670bbf18225300b11f8b116f5
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Thu Feb 3 18:34:53 2011 +0000

    	* arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
    	starts with __stack_chk_guard as stack guard symbol.

commit 4bec1ce565b273a7df3bb2a776b4e209636cc952
Author: aburgess <aburgess>
Date:   Thu Feb 3 14:45:34 2011 +0000

    http://sourceware.org/ml/gdb-patches/2010-12/msg00300.html
    Improve the ordering of line table entries when dealing with the end
    of sequence markers.  This will allow us to disassemble over the border
    between two compile units while also displaying source code information.

commit c0319cf84fe05c5a0b77ca97c380ea07fca5b2cc
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date:   Thu Feb 3 07:23:59 2011 +0000

    libiberty: documentation markup and order fixes.
    
    libiberty/:
    	* splay-tree.c: Escape wrapping newlines in texinfo markup
    	with '@', to fix function declaration output rendering.
    	* gather-docs: Relax and improve macro name matching to actually
    	match all current names and to allow input line wrapping.
    	* bsearch.c, concat.c, crc32.c, fnmatch.txh, fopen_unlocked.c,
    	hashtab.c, insque.c, make-relative-prefix.c, memchr.c, memcmp.c,
    	memcpy.c, memmem.c, memmove.c, mempcpy.c, memset.c,
    	pexecute.txh, random.c, setenv.c, setproctitle.c,
    	simple-object.txh, snprintf.c, stpncpy.c, strncmp.c, strtod.c,
    	strtol.c, vasprintf.c, vprintf.c, vsnprintf.c, xmemdup.c:
    	Wrap long texinfo input lines.
    	* functions.texi: Regenerate.

commit f160e5c4182410edebc60551d1843bfa8fcae678
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Feb 3 00:00:32 2011 +0000

    *** empty log message ***

commit f1582bd54c160a70ac2f3f76910d0bc7f13d6f3b
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Feb 2 23:00:07 2011 +0000

    daily update

commit b0efaeca545c99749589a680da5b2b1315f5026f
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Feb 2 19:45:32 2011 +0000

    	* arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
    	arguments.  Skip in-prologue calls to glibc __aeabi_read_tp
    	implementation even if no symbols are available.
    	(thumb_analyze_prologue): Update call to skip_prologue_function.
    	(arm_analyze_prologue): Likewise.

commit 28a2be073a317abb4b74da543fbbfba15790cd3b
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Feb 2 19:44:44 2011 +0000

    	* arm-tdep.c: Include "observer.h".
    	(arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
    	(arm_exidx_data_key): New static variable.
    	(struct arm_exidx_entry, arm_exidx_entry_s): New data types.
    	(struct arm_exidx_data): Likewise.
    	(arm_exidx_data_free): New function.
    	(arm_compare_exidx_entries): Likewise.
    	(arm_obj_section_from_vma): Likewise.
    	(arm_exidx_new_objfile): Likewise.
    	(arm_find_exidx_entry): Likewise.
    	(arm_exidx_fill_cache): Likewise.
    	(arm_exidx_unwind_sniffer): Likewise.
    	(arm_exidx_unwind): New global variable.
    	(arm_gdbarch_init): Append unwinder arm_exidx_unwind.
    	(_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
    	observer.  Register arm_exidx_data_key as objfile data.

commit cb436fe3c74cb457292b2b3708eea8e3b0662819
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Feb 2 18:03:23 2011 +0000

    	* arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
    	due to accessing uninitialized variable.  Fix indentation.

commit abece3004d9eee7f8169c8754e1ff6572509780f
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Wed Feb 2 17:41:52 2011 +0000

    	gdb/
    	* c-valprint.c (c_value_print): When doing virtual base pointer
    	adjustment, create a new value with adjusted contents rather than
    	changing the contents of the value being printed (and getting it
    	wrong).
    
    	gdb/testsuite/
    	* gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
    	(Virtual): New structs.
    	(virtual_o, virtual_middle_b): New globals.
    	* gdb.cp/virtbase.exp: New tests.

commit be13bb8aedf78660eeeec80ffecc718295da05ee
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Wed Feb 2 16:12:56 2011 +0000

    	* xml-support.c (xml_find_attribute): New.
    	(xinclude_start_include): Use it.
    	* xml-support.h (xml_find_attribute): Declare.
    	* memory-map.c (memory_map_start_memory)
    	(memory_map_start_property): Use xml_find_attribute.
    	* osdata.c (osdata_start_osdata, osdata_start_column): Use
    	xml_find_attribute.
    	* remote.c (start_thread): Use xml_find_attribute.
    	* solib-target.c (library_list_start_segment)
    	(library_list_start_section, library_list_start_library)
    	(library_list_start_list): Use xml_find_attribute.
    	* xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
    	(tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
    	(tdesc_start_field): Use xml_find_attribute.

commit 93bda8ae0c6a760a7f6c2296e408fe765e1ca6ee
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Wed Feb 2 13:47:04 2011 +0000

    	* opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
    	(BUILD_OCL_VTYPES): Update.

commit c08dcfa2035a1313df3cc865a6d8f6e7cbd8c7ac
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Feb 2 04:36:15 2011 +0000

    fix gdb+python build failure if using non-GNU sed
    
    Non-GNU sed do not like the '?' quantifier when used in a s/// regexp
    that involve back-references, causing the build to fail when trying
    to link with Python support. This fixes it by using the '*' quantifier
    instead.
    
    gdb/ChangeLog:
    
     	* configure.ac: Work around non-GNU sed limitation when computing
     	python version number.
     	* configure: Regenerate.

commit 443c1710b16276c92ca17efd65b8d9b2a553f362
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Feb 2 00:00:03 2011 +0000

    *** empty log message ***

commit 3c682556be34879ef07d4e084e089af206f712bf
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Feb 1 23:00:05 2011 +0000

    daily update

-----------------------------------------------------------------------

Summary of changes:
 bfd/version.h                             |    2 +-
 gdb/ChangeLog                             |  159 ++++++
 gdb/Makefile.in                           |   55 ++
 gdb/NEWS                                  |   18 +
 gdb/arm-tdep.c                            |  864 +++++++++++++++++++++++++++--
 gdb/breakpoint.c                          |    8 +-
 gdb/breakpoint.h                          |    4 +-
 gdb/c-valprint.c                          |    3 +-
 gdb/configure                             |   17 +-
 gdb/configure.ac                          |   17 +-
 gdb/data-directory/Makefile.in            |    3 +-
 gdb/disasm.c                              |   21 +-
 gdb/doc/ChangeLog                         |   10 +
 gdb/doc/gdb.texinfo                       |  131 +++++-
 gdb/doc/gdbint.texinfo                    |   24 +-
 gdb/dwarf2read.c                          |   67 ++-
 gdb/memory-map.c                          |    8 +-
 gdb/mips-linux-tdep.c                     |   39 ++
 gdb/opencl-lang.c                         |   12 +-
 gdb/osdata.c                              |    4 +-
 gdb/python/py-bpevent.c                   |   52 ++
 gdb/python/py-breakpoint.c                |    3 -
 gdb/python/py-continueevent.c             |   53 ++
 gdb/python/py-event.c                     |  175 ++++++
 gdb/python/py-event.h                     |  121 ++++
 gdb/python/py-events.h                    |   59 ++
 gdb/python/py-evtregistry.c               |  170 ++++++
 gdb/python/py-evts.c                      |   71 +++
 gdb/python/py-exitedevent.c               |   71 +++
 gdb/python/py-inferior.c                  |   63 ++-
 gdb/python/py-signalevent.c               |   53 ++
 gdb/python/py-stopevent.c                 |   92 +++
 gdb/python/py-stopevent.h                 |   37 ++
 gdb/python/py-threadevent.c               |   78 +++
 gdb/python/python-internal.h              |   18 +
 gdb/python/python.c                       |   10 +
 gdb/regcache.c                            |   28 +-
 gdb/remote.c                              |    9 +-
 gdb/solib-target.c                        |    8 +-
 gdb/syscalls/mips-n32-linux.xml           |  319 +++++++++++
 gdb/syscalls/mips-n64-linux.xml           |  312 +++++++++++
 gdb/syscalls/mips-o32-linux.xml           |  347 ++++++++++++
 gdb/testsuite/ChangeLog                   |   25 +
 gdb/testsuite/gdb.base/catch-syscall.exp  |    3 +-
 gdb/testsuite/gdb.base/disasm-end-cu-1.c  |   28 +
 gdb/testsuite/gdb.base/disasm-end-cu-2.c  |   28 +
 gdb/testsuite/gdb.base/disasm-end-cu.exp  |   49 ++
 gdb/testsuite/gdb.cp/virtbase.cc          |   31 +
 gdb/testsuite/gdb.cp/virtbase.exp         |   15 +
 gdb/testsuite/gdb.python/py-events.c      |   29 +
 gdb/testsuite/gdb.python/py-events.exp    |   59 ++
 gdb/testsuite/gdb.python/py-events.py     |   64 +++
 gdb/testsuite/gdb.python/py-evthreads.c   |   55 ++
 gdb/testsuite/gdb.python/py-evthreads.exp |  119 ++++
 gdb/version.in                            |    2 +-
 gdb/xml-support.c                         |   18 +-
 gdb/xml-support.h                         |    6 +
 gdb/xml-tdesc.c                           |   41 +-
 include/opcode/ChangeLog                  |    5 +
 include/opcode/tic6x-opcode-table.h       |    8 +-
 include/opcode/tic6x.h                    |    3 +-
 libiberty/ChangeLog                       |   19 +
 libiberty/bsearch.c                       |    4 +-
 libiberty/concat.c                        |    8 +-
 libiberty/crc32.c                         |    5 +-
 libiberty/fnmatch.txh                     |    3 +-
 libiberty/fopen_unlocked.c                |   11 +-
 libiberty/functions.texi                  |  328 +++++++-----
 libiberty/gather-docs                     |    6 +-
 libiberty/hashtab.c                       |    6 +-
 libiberty/insque.c                        |    3 +-
 libiberty/make-relative-prefix.c          |    3 +-
 libiberty/memchr.c                        |    3 +-
 libiberty/memcmp.c                        |    3 +-
 libiberty/memcpy.c                        |    3 +-
 libiberty/memmem.c                        |    5 +-
 libiberty/memmove.c                       |    3 +-
 libiberty/mempcpy.c                       |    5 +-
 libiberty/memset.c                        |    3 +-
 libiberty/pexecute.txh                    |   40 +-
 libiberty/random.c                        |    3 +-
 libiberty/setenv.c                        |    6 +-
 libiberty/setproctitle.c                  |    4 +-
 libiberty/simple-object.txh               |   45 ++-
 libiberty/snprintf.c                      |    5 +-
 libiberty/splay-tree.c                    |   16 +-
 libiberty/stpncpy.c                       |    5 +-
 libiberty/strncmp.c                       |    3 +-
 libiberty/strtod.c                        |    5 +-
 libiberty/strtol.c                        |    6 +-
 libiberty/vasprintf.c                     |    5 +-
 libiberty/vprintf.c                       |    6 +-
 libiberty/vsnprintf.c                     |    5 +-
 libiberty/xmemdup.c                       |    3 +-
 94 files changed, 4427 insertions(+), 354 deletions(-)
 create mode 100644 gdb/python/py-bpevent.c
 create mode 100644 gdb/python/py-continueevent.c
 create mode 100644 gdb/python/py-event.c
 create mode 100644 gdb/python/py-event.h
 create mode 100644 gdb/python/py-events.h
 create mode 100644 gdb/python/py-evtregistry.c
 create mode 100644 gdb/python/py-evts.c
 create mode 100644 gdb/python/py-exitedevent.c
 create mode 100644 gdb/python/py-signalevent.c
 create mode 100644 gdb/python/py-stopevent.c
 create mode 100644 gdb/python/py-stopevent.h
 create mode 100644 gdb/python/py-threadevent.c
 create mode 100644 gdb/syscalls/mips-n32-linux.xml
 create mode 100644 gdb/syscalls/mips-n64-linux.xml
 create mode 100644 gdb/syscalls/mips-o32-linux.xml
 create mode 100644 gdb/testsuite/gdb.base/disasm-end-cu-1.c
 create mode 100644 gdb/testsuite/gdb.base/disasm-end-cu-2.c
 create mode 100644 gdb/testsuite/gdb.base/disasm-end-cu.exp
 create mode 100644 gdb/testsuite/gdb.python/py-events.c
 create mode 100644 gdb/testsuite/gdb.python/py-events.exp
 create mode 100644 gdb/testsuite/gdb.python/py-events.py
 create mode 100644 gdb/testsuite/gdb.python/py-evthreads.c
 create mode 100644 gdb/testsuite/gdb.python/py-evthreads.exp

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 319147f..bbed991 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20110201
+#define BFD_VERSION_DATE 20110206
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 84013cb..b55e815 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,162 @@
+2011-02-04  Sami Wagiaalla  <swagiaal@redhat.com>
+                Oguz Kayral <oguzkayral@gmail.com>
+
+	* python/py-inferior.c (python_on_normal_stop): New function.
+	(python_on_resume): New function.
+	(python_inferior_exit): New function.
+	(gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
+	inferior_exit observers.
+	* python/py-evtregistry.c: New file.
+	* python/py-threadevent.c : New file.
+	* python/py-event.c: New file.
+	* python/py-evts.c: New file.
+	* python/py-continueevent.c: New file.
+	* python/py-bpevent.c: New file.
+	* python/py-signalevent.c: New file.
+	* python/py-exetiedevent.c: New file.
+	* python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
+	Move struct breakpoint_object from here...
+	* python/python-internal.h: ... to here.
+	* python/py-event.h: New file.
+	* python/py-events.h: New file.
+	* Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
+	py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
+	py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
+	(SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
+	py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
+	py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
+	Add build rules for all the above.
+
+2011-02-04  Tom Tromey  <tromey@redhat.com>
+
+	* dwarf2read.c (dwarf2_section_empty_p): New function.
+	(dwarf2_read_section): Use dwarf2_section_empty_p.
+	(dwarf2_section_size): New function.
+	(dwarf2_get_section_info): Unconditionally read section.
+	(dwarf2_read_index): Use dwarf2_section_empty_p.
+	(partial_read_comp_unit_head): Use dwarf2_section_size.
+	(dwarf2_symbol_mark_computed): Likewise.
+
+2011-02-04 David Daney <ddaney@caviumnetworks.com>
+
+	* NEWS: Add item for "catch syscall" on mips*-linux* targets.
+
+2011-02-04 David Daney <ddaney@caviumnetworks.com>
+
+	* mips-linux-tdep.c: Include xml-syscall.h.
+	(mips_linux_get_syscall_number): New function.
+	(mips_linux_init_abi): Add calls to
+	mips_linux_get_syscall_number() and set_xml_syscall_file_name().
+	* data-directory/Makefile.in (SYSCALLS_FILES): Add
+	mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
+	* syscalls/mips-n32-linux.xml: New file.
+	* syscalls/mips-n64-linux.xml: New file.
+	* syscalls/mips-o32-linux.xml: New file.
+
+2011-02-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+	* dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
+	Complain about inverted range entries.
+	(dwarf2_record_block_ranges): Likewise.
+
+2011-02-04  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+	Fix some typos.
+	* breakpoint.c (update_watchpoint): Fix name of the
+	update_global_location_list function.
+	(print_one_breakpoint): Fix typo.
+	(_initialize_breakpoint): Remove extra space in hbreak help
+	string.
+	* breakpoint.h (struct bp_location) <length>: Fix field
+	description.
+
+2011-02-04  Pedro Alves  <pedro@codesourcery.com>
+
+	* regcache.c (registers_changed_ptid): Don't explictly always
+	clear `current_regcache'.  Only clear current_thread_ptid and
+	current_thread_arch when PTID matches.  Only reinit the frame
+	cache if PTID matches the current inferior_ptid.  Move alloca(0)
+	call to ...
+	(registers_changed): ... here.
+
+2011-02-03  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+	* arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
+	starts with __stack_chk_guard as stack guard symbol.
+
+2011-02-03  Andrew Burgess  <aburgess@broadcom.com>
+
+	* disasm.c (compare_lines): Handle the end of sequence markers
+	within the line table to better support disassembling over
+	compilation unit boundaries.
+
+2011-02-02  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+	* arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
+	arguments.  Skip in-prologue calls to glibc __aeabi_read_tp
+	implementation even if no symbols are available.
+	(thumb_analyze_prologue): Update call to skip_prologue_function.
+	(arm_analyze_prologue): Likewise.
+
+2011-02-02  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+	* arm-tdep.c: Include "observer.h".
+	(arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
+	(arm_exidx_data_key): New static variable.
+	(struct arm_exidx_entry, arm_exidx_entry_s): New data types.
+	(struct arm_exidx_data): Likewise.
+	(arm_exidx_data_free): New function.
+	(arm_compare_exidx_entries): Likewise.
+	(arm_obj_section_from_vma): Likewise.
+	(arm_exidx_new_objfile): Likewise.
+	(arm_find_exidx_entry): Likewise.
+	(arm_exidx_fill_cache): Likewise.
+	(arm_exidx_unwind_sniffer): Likewise.
+	(arm_exidx_unwind): New global variable.
+	(arm_gdbarch_init): Append unwinder arm_exidx_unwind.
+	(_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
+	observer.  Register arm_exidx_data_key as objfile data.
+
+2011-02-02  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+	* arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
+	due to accessing uninitialized variable.  Fix indentation.
+
+2011-02-02  Pedro Alves  <pedro@codesourcery.com>
+
+	* c-valprint.c (c_value_print): When doing virtual base pointer
+	adjustment, create a new value with adjusted contents rather than
+	changing the contents of the value being printed (and getting it
+	wrong).
+
+2011-02-02  Pedro Alves  <pedro@codesourcery.com>
+
+	* xml-support.c (xml_find_attribute): New.
+	(xinclude_start_include): Use it.
+	* xml-support.h (xml_find_attribute): Declare.
+	* memory-map.c (memory_map_start_memory)
+	(memory_map_start_property): Use xml_find_attribute.
+	* osdata.c (osdata_start_osdata, osdata_start_column): Use
+	xml_find_attribute.
+	* remote.c (start_thread): Use xml_find_attribute.
+	* solib-target.c (library_list_start_segment)
+	(library_list_start_section, library_list_start_library)
+	(library_list_start_list): Use xml_find_attribute.
+	* xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
+	(tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
+	(tdesc_start_field): Use xml_find_attribute.
+
+2011-02-02  Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
+	(BUILD_OCL_VTYPES): Update.
+
+2011-02-02  Joel Brobecker  <brobecker@adacore.com>
+
+	* configure.ac: Work around non-GNU sed limitation when computing
+	python version number.
+	* configure: Regenerate.
+
 2011-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	Fix debug printing of TYPE_INSTANCE.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 4882bd4..66521a2 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -272,8 +272,14 @@ SUBDIR_PYTHON_OBS = \
 	python.o \
 	py-auto-load.o \
 	py-block.o \
+	py-bpevent.o \
 	py-breakpoint.o \
 	py-cmd.o \
+	py-continueevent.o \
+	py-event.o \
+	py-evtregistry.o \
+	py-evts.o \
+	py-exitedevent.o \
 	py-frame.o \
 	py-function.o \
 	py-inferior.o \
@@ -283,17 +289,27 @@ SUBDIR_PYTHON_OBS = \
 	py-param.o \
 	py-prettyprint.o \
 	py-progspace.o \
+	py-signalevent.o \
+	py-stopevent.o \
 	py-symbol.o \
 	py-symtab.o \
+	py-threadevent.o \
 	py-type.o \
 	py-utils.o \
 	py-value.o
+
 SUBDIR_PYTHON_SRCS = \
 	python/python.c \
 	python/py-auto-load.c \
 	python/py-block.c \
+	python/py-bpevent.c \
 	python/py-breakpoint.c \
 	python/py-cmd.c \
+	python/py-continueevent.c \
+	python/py-event.c \
+	python/py-evtregistry.c \
+	python/py-evts.c \
+	python/py-exitedevent.c \
 	python/py-frame.c \
 	python/py-function.c \
 	python/py-inferior.c \
@@ -303,8 +319,11 @@ SUBDIR_PYTHON_SRCS = \
 	python/py-param.c \
 	python/py-prettyprint.c \
 	python/py-progspace.c \
+	python/py-signalevent.c \
+	python/py-stopevent.c \
 	python/py-symbol.c \
 	python/py-symtab.c \
+	python/py-threadevent.c \
 	python/py-type.c \
 	python/py-utils.c \
 	python/py-value.c
@@ -1995,6 +2014,10 @@ py-block.o: $(srcdir)/python/py-block.c
 	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-block.c
 	$(POSTCOMPILE)
 
+py-bpevent.o: $(srcdir)/python/py-bpevent.c
+	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-bpevent.c
+	$(POSTCOMPILE)
+
 py-breakpoint.o: $(srcdir)/python/py-breakpoint.c
 	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-breakpoint.c
 	$(POSTCOMPILE)
@@ -2003,6 +2026,26 @@ py-cmd.o: $(srcdir)/python/py-cmd.c
 	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-cmd.c
 	$(POSTCOMPILE)
 
+py-continueevent.o: $(srcdir)/python/py-continueevent.c
+	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-continueevent.c
+	$(POSTCOMPILE)
+
+py-event.o: $(srcdir)/python/py-event.c
+	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-event.c
+	$(POSTCOMPILE)
+
+py-evtregistry.o: $(srcdir)/python/py-evtregistry.c
+	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-evtregistry.c
+	$(POSTCOMPILE)
+
+py-evts.o: $(srcdir)/python/py-evts.c
+	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-evts.c
+	$(POSTCOMPILE)
+
+py-exitedevent.o: $(srcdir)/python/py-exitedevent.c
+	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-exitedevent.c
+	$(POSTCOMPILE)
+
 py-frame.o: $(srcdir)/python/py-frame.c
 	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-frame.c
 	$(POSTCOMPILE)
@@ -2039,6 +2082,14 @@ py-progspace.o: $(srcdir)/python/py-progspace.c
 	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-progspace.c
 	$(POSTCOMPILE)
 
+py-signalevent.o: $(srcdir)/python/py-signalevent.c
+	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-signalevent.c
+	$(POSTCOMPILE)
+
+py-stopevent.o: $(srcdir)/python/py-stopevent.c
+	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-stopevent.c
+	$(POSTCOMPILE)
+
 py-symbol.o: $(srcdir)/python/py-symbol.c
 	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-symbol.c
 	$(POSTCOMPILE)
@@ -2047,6 +2098,10 @@ py-symtab.o: $(srcdir)/python/py-symtab.c
 	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-symtab.c
 	$(POSTCOMPILE)
 
+py-threadevent.o: $(srcdir)/python/py-threadevent.c
+	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-threadevent.c
+	$(POSTCOMPILE)
+
 py-type.o: $(srcdir)/python/py-type.c
 	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/py-type.c
 	$(POSTCOMPILE)
diff --git a/gdb/NEWS b/gdb/NEWS
index 6076bd1..2e7c3e3 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,8 @@
 
 *** Changes since GDB 7.2
 
+* The "catch syscall" command now works on mips*-linux* targets.
+
 * The -data-disassemble MI command now supports modes 2 and 3 for
   dumping the instruction opcodes.
 
@@ -60,6 +62,22 @@
   ** The gdb.InferiorThread class has a new "name" attribute.  This
      holds the thread's name.
 
+  ** Python Support for Inferior events.
+     Python scripts can add observers to be notified of events
+     occurring the in process being debugged.
+     The following events are currently supported:
+     - gdb.events.cont Continue event.
+     - gdb.events.exited Inferior exited event.
+     - gdb.events.stop Signal received, and Breakpoint hit events.
+
+  ** Python Support for Inferior events.
+     Python scripts can add observers to be notified of events
+     occurring the in process being debugged.
+     The following events are currently supported:
+     - gdb.events.cont Continue event.
+     - gdb.events.exited Inferior exited event.
+     - gdb.events.stop Signal received, and Breakpoint hit events.
+
 * C++ Improvements:
 
   ** GDB now puts template parameters in scope when debugging in an
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index e24a6d9..9dfbf49 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -43,6 +43,7 @@
 #include "prologue-value.h"
 #include "target-descriptions.h"
 #include "user-regs.h"
+#include "observer.h"
 
 #include "arm-tdep.h"
 #include "gdb/sim-arm.h"
@@ -450,39 +451,55 @@ arm_smash_text_address (struct gdbarch *gdbarch, CORE_ADDR val)
 }
 
 /* Return 1 if PC is the start of a compiler helper function which
-   can be safely ignored during prologue skipping.  */
+   can be safely ignored during prologue skipping.  IS_THUMB is true
+   if the function is known to be a Thumb function due to the way it
+   is being called.  */
 static int
-skip_prologue_function (CORE_ADDR pc)
+skip_prologue_function (struct gdbarch *gdbarch, CORE_ADDR pc, int is_thumb)
 {
+  enum bfd_endian byte_order_for_code = gdbarch_byte_order_for_code (gdbarch);
   struct minimal_symbol *msym;
-  const char *name;
 
   msym = lookup_minimal_symbol_by_pc (pc);
-  if (msym == NULL || SYMBOL_VALUE_ADDRESS (msym) != pc)
-    return 0;
+  if (msym != NULL
+      && SYMBOL_VALUE_ADDRESS (msym) == pc
+      && SYMBOL_LINKAGE_NAME (msym) != NULL)
+    {
+      const char *name = SYMBOL_LINKAGE_NAME (msym);
 
-  name = SYMBOL_LINKAGE_NAME (msym);
-  if (name == NULL)
-    return 0;
+      /* The GNU linker's Thumb call stub to foo is named
+	 __foo_from_thumb.  */
+      if (strstr (name, "_from_thumb") != NULL)
+	name += 2;
 
-  /* The GNU linker's Thumb call stub to foo is named
-     __foo_from_thumb.  */
-  if (strstr (name, "_from_thumb") != NULL)
-    name += 2;
+      /* On soft-float targets, __truncdfsf2 is called to convert promoted
+	 arguments to their argument types in non-prototyped
+	 functions.  */
+      if (strncmp (name, "__truncdfsf2", strlen ("__truncdfsf2")) == 0)
+	return 1;
+      if (strncmp (name, "__aeabi_d2f", strlen ("__aeabi_d2f")) == 0)
+	return 1;
 
-  /* On soft-float targets, __truncdfsf2 is called to convert promoted
-     arguments to their argument types in non-prototyped
-     functions.  */
-  if (strncmp (name, "__truncdfsf2", strlen ("__truncdfsf2")) == 0)
-    return 1;
-  if (strncmp (name, "__aeabi_d2f", strlen ("__aeabi_d2f")) == 0)
-    return 1;
+      /* Internal functions related to thread-local storage.  */
+      if (strncmp (name, "__tls_get_addr", strlen ("__tls_get_addr")) == 0)
+	return 1;
+      if (strncmp (name, "__aeabi_read_tp", strlen ("__aeabi_read_tp")) == 0)
+	return 1;
+    }
+  else
+    {
+      /* If we run against a stripped glibc, we may be unable to identify
+	 special functions by name.  Check for one important case,
+	 __aeabi_read_tp, by comparing the *code* against the default
+	 implementation (this is hand-written ARM assembler in glibc).  */
 
-  /* Internal functions related to thread-local storage.  */
-  if (strncmp (name, "__tls_get_addr", strlen ("__tls_get_addr")) == 0)
-    return 1;
-  if (strncmp (name, "__aeabi_read_tp", strlen ("__aeabi_read_tp")) == 0)
-    return 1;
+      if (!is_thumb
+	  && read_memory_unsigned_integer (pc, 4, byte_order_for_code)
+	     == 0xe3e00a0f /* mov r0, #0xffff0fff */
+	  && read_memory_unsigned_integer (pc + 4, 4, byte_order_for_code)
+	     == 0xe240f01f) /* sub pc, r0, #31 */
+	return 1;
+    }
 
   return 0;
 }
@@ -841,7 +858,8 @@ thumb_analyze_prologue (struct gdbarch *gdbarch,
 	      if (bit (inst2, 12) == 0)
 		nextpc = nextpc & 0xfffffffc;
 
-	      if (!skip_prologue_function (nextpc))
+	      if (!skip_prologue_function (gdbarch, nextpc,
+					   bit (inst2, 12) != 0))
 		break;
 	    }
 
@@ -1198,29 +1216,30 @@ arm_analyze_load_stack_chk_guard(CORE_ADDR pc, struct gdbarch *gdbarch,
     }
   else
     {
-       unsigned int insn
-	 = read_memory_unsigned_integer (pc, 4, byte_order_for_code);
-
-       if ((insn & 0x0e5f0000) == 0x041f0000) /* ldr Rd, #immed */
-	 {
-	   address = bits (insn, 0, 11);
-	   *destreg = bits (insn, 12, 15);
-	   *offset = 4;
-	 }
-       else if ((insn & 0x0ff00000) == 0x03000000) /* movw Rd, #const */
-	 {
-	   low = EXTRACT_MOVW_MOVT_IMM_A (insn);
+      unsigned int insn
+	= read_memory_unsigned_integer (pc, 4, byte_order_for_code);
 
-	   insn
-	     = read_memory_unsigned_integer (pc + 4, 4, byte_order_for_code);
+      if ((insn & 0x0e5f0000) == 0x041f0000) /* ldr Rd, #immed */
+	{
+	  address = bits (insn, 0, 11);
+	  *destreg = bits (insn, 12, 15);
+	  *offset = 4;
+	}
+      else if ((insn & 0x0ff00000) == 0x03000000) /* movw Rd, #const */
+	{
+	  low = EXTRACT_MOVW_MOVT_IMM_A (insn);
 
-	   if ((insn & 0x0ff00000) == 0x03400000)       /* movt Rd, #const */
-	     high = EXTRACT_MOVW_MOVT_IMM_A (insn);
+	  insn
+	    = read_memory_unsigned_integer (pc + 4, 4, byte_order_for_code);
 
-	   address = (high << 16 | low);
-	   *destreg = bits (insn, 12, 15);
-	   *offset = 8;
-	 }
+	  if ((insn & 0x0ff00000) == 0x03400000) /* movt Rd, #const */
+	    {
+	      high = EXTRACT_MOVW_MOVT_IMM_A (insn);
+	      *destreg = bits (insn, 12, 15);
+	      *offset = 8;
+	      address = (high << 16 | low);
+	    }
+	}
     }
 
   return address;
@@ -1277,7 +1296,8 @@ arm_skip_stack_protector(CORE_ADDR pc, struct gdbarch *gdbarch)
      instruction sequence is not for stack protector.  If symbol is
      removed, we conservatively think this sequence is for stack protector.  */
   if (stack_chk_guard
-      && strcmp (SYMBOL_LINKAGE_NAME(stack_chk_guard), "__stack_chk_guard"))
+      && strncmp (SYMBOL_LINKAGE_NAME (stack_chk_guard), "__stack_chk_guard",
+		  strlen ("__stack_chk_guard")) != 0)
    return pc;
 
   if (is_thumb)
@@ -1812,7 +1832,7 @@ arm_analyze_prologue (struct gdbarch *gdbarch,


hooks/post-receive
--
Repository for Project Archer.


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

end of thread, other threads:[~2011-09-02 18:41 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-13 19:23 [SCM] master: Merge remote-tracking branch 'gdb/master' pmuldoon
  -- strict thread matches above, loose matches on Subject: below --
2011-09-02 18:41 kseitz
2011-08-08 14:41 gary
2011-05-12  8:04 jkratoch
2011-05-11 20:42 jkratoch
2011-05-11 17:20 jkratoch
2011-05-09 15:58 jkratoch
2011-05-05 15:23 jkratoch
2011-05-04 20:47 muller
2011-05-01 15:49 jkratoch
2011-04-30 14:57 jkratoch
2011-04-25 19:24 jkratoch
2011-04-24 16:32 jkratoch
2011-04-16 21:05 jkratoch
2011-04-16 17:04 jkratoch
2011-04-11 13:53 jkratoch
2011-04-11 12:13 muller
2011-04-08  6:48 muller
2011-04-07 22:52 muller
2011-04-07 22:32 muller
2011-03-30 13:34 muller
2011-03-28 16:11 jkratoch
2011-03-20 12:45 jkratoch
2011-03-19  8:35 jkratoch
2011-03-17 15:12 jkratoch
2011-03-16  9:39 pmuldoon
2011-03-16  7:11 jkratoch
2011-03-15 20:19 jkratoch
2011-03-14 16:49 pmuldoon
2011-03-09 22:49 jkratoch
2011-03-09 10:57 muller
2011-03-08  8:16 jkratoch
2011-03-07  8:47 pmuldoon
2011-03-05  7:15 jkratoch
2011-02-25 10:51 muller
2011-02-24 10:06 muller
2011-02-24  1:29 jkratoch
2011-02-22 22:54 jkratoch
2011-02-21 21:35 muller
2011-02-21 10:54 pmuldoon
2011-02-19 20:17 jkratoch
2011-02-17 22:03 jkratoch
2011-02-16 22:30 jkratoch
2011-02-13 17:49 jkratoch
2011-02-06 19:15 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).