public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  gbenson/rtld-probes: Merge branch 'master' of git://sourceware.org/git/gdb into gbenson/rtld-probes
@ 2013-03-06 10:22 gary
  0 siblings, 0 replies; 2+ messages in thread
From: gary @ 2013-03-06 10:22 UTC (permalink / raw)
  To: archer-commits

The branch, gbenson/rtld-probes has been updated
       via  b88fe6f212c035a1088e802d6740ae53dee578d7 (commit)
       via  8b036937b109807fc4a3dd99e2f9c7bec766b051 (commit)
       via  6eb8b57e8717879dcf30d0dbdc4235be516659bf (commit)
       via  808063f3501f45c3f00fa6ce6428319c9392cc70 (commit)
       via  7ac04623a9df976de0c5d379aebc88c8126739a7 (commit)
       via  a9c4418872df7e82ff4e14171902d90bad2f7987 (commit)
       via  ebf3262775ab5d785278cc5096c40bad16ac5dc5 (commit)
       via  8945e77196073b641208e991da067b3fcb63e5d7 (commit)
       via  a0aa2171a52a6035b84edc8850ca560dadd297ed (commit)
       via  d0516cbdb20f6884e0c513ed56a218baf9c7283b (commit)
       via  1c6a7599f8fac5ed5c9893efd11c62dfed150852 (commit)
       via  db286784aa52e906c04f636ea2c5d5f58192364d (commit)
       via  c2a65e648556cfce850e3c19289a4587ae1a6ccf (commit)
       via  7b02e0154f5e646cdfa648259106858384f695d6 (commit)
       via  51f7bc66b09e61db6bd3c91b4f0c9ef58b21bc7b (commit)
      from  3fb82cdc01c92e365bc9ebc39bd5cc9487c8533b (commit)

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

- Log -----------------------------------------------------------------
commit b88fe6f212c035a1088e802d6740ae53dee578d7
Merge: 8b03693 6eb8b57
Author: Gary Benson <gbenson@redhat.com>
Date:   Wed Mar 6 10:18:57 2013 +0000

    Merge branch 'master' of git://sourceware.org/git/gdb into gbenson/rtld-probes

commit 8b036937b109807fc4a3dd99e2f9c7bec766b051
Author: Gary Benson <gbenson@redhat.com>
Date:   Wed Mar 6 10:17:55 2013 +0000

    Get this through the target layer so everything can see it

commit 6eb8b57e8717879dcf30d0dbdc4235be516659bf
Author: qiyao <qiyao>
Date:   Wed Mar 6 01:03:38 2013 +0000

    gdb/testsuite/
    	* gdb.trace/tstatus.exp: Remove the invocation of
    	gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
    	(test_tracepoints): Don't set fast tracepoint.
    	(top level): Don't check agent library is loaded or not.

commit 808063f3501f45c3f00fa6ce6428319c9392cc70
Author: qiyao <qiyao>
Date:   Wed Mar 6 00:59:54 2013 +0000

    gdb/testsuite/
    	* gdb.trace/tstatus.exp (run_trace_experiment): Escape
    	parentheses by "\\".

commit 7ac04623a9df976de0c5d379aebc88c8126739a7
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Mar 6 00:00:03 2013 +0000

    *** empty log message ***

commit a9c4418872df7e82ff4e14171902d90bad2f7987
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Mar 5 23:00:06 2013 +0000

    daily update

commit ebf3262775ab5d785278cc5096c40bad16ac5dc5
Author: Doug Evans <dje@google.com>
Date:   Tue Mar 5 21:15:33 2013 +0000

    	* ada-lang.c (ada_lookup_symbol_list_worker): New function, contents
    	of old ada_lookup_symbol_list.  In !full_search case, don't
    	search superblocks.
    	(ada_lookup_symbol_list): Delete arg full_search, all callers
    	updated.  Call ada_lookup_symbol_list_worker.
    	(ada_iterate_over_symbols): Call ada_lookup_symbol_list_worker.
    	* ada-lang.h (ada_lookup_symbol_list): Update.
    	* language.h (language_defn): Update comment for
    	la_iterate_over_symbols.
    	* linespec.c (iterate_over_file_blocks): New function.
    	(iterate_over_all_matching_symtabs): Call it.
    	(lookup_prefix_sym): Ditto.
    	(get_current_search_block): New function.
    	(get_search_block): Delete.
    	(find_label_symbols): Call get_current_search_block.
    	(add_matching_symbols_to_info): Call iterate_over_file_blocks.
    	* symtab.c (iterate_over_symbols): Don't search superblocks.

commit 8945e77196073b641208e991da067b3fcb63e5d7
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Tue Mar 5 15:18:10 2013 +0000

    Fix ChangeLog entry.

commit a0aa2171a52a6035b84edc8850ca560dadd297ed
Author: Gary Benson <gbenson@redhat.com>
Date:   Tue Mar 5 14:49:58 2013 +0000

    Rearrange to not look like a packet

commit d0516cbdb20f6884e0c513ed56a218baf9c7283b
Author: qiyao <qiyao>
Date:   Tue Mar 5 14:23:19 2013 +0000

    gdb/
    	* cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): Change
    	parameter VAR's type from "unsigned int" to "int".
    	* command.h (var_zuinteger_unlimited): Update its comments.
    	(add_setshow_zuinteger_unlimited_cmd): Update the declaration.

commit 1c6a7599f8fac5ed5c9893efd11c62dfed150852
Author: Gary Benson <gbenson@redhat.com>
Date:   Tue Mar 5 13:43:25 2013 +0000

    Add as-yet-unnamed new feature to qSupported in GDB

commit db286784aa52e906c04f636ea2c5d5f58192364d
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Tue Mar 5 13:38:58 2013 +0000

    	* NEWS: Mention new target x86_64-*-cygwin*.

commit c2a65e648556cfce850e3c19289a4587ae1a6ccf
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Tue Mar 5 13:37:06 2013 +0000

    	* configure.host: Add x86_64-*-cygwin* as host.
    	* configure.tgt: Add x86_64-*-cygwin* as target.
    	* config/i386/cygwin64.mh: New file.
    
    	* gdbserver/configure.srv: Add x86_64-*-cygwin* as target.

commit 7b02e0154f5e646cdfa648259106858384f695d6
Author: Gary Benson <gbenson@redhat.com>
Date:   Tue Mar 5 13:36:34 2013 +0000

    Add as-yet-unnamed new feature to qSupported in gdbserver

commit 51f7bc66b09e61db6bd3c91b4f0c9ef58b21bc7b
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Tue Mar 5 11:47:00 2013 +0000

    	* config.bfd: Add x86_64-*-cygwin to list of supported targets.

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

Summary of changes:
 bfd/ChangeLog                       |    4 +
 bfd/config.bfd                      |    2 +-
 bfd/version.h                       |    2 +-
 gdb/ChangeLog                       |   37 +++++++++++
 gdb/NEWS                            |    1 +
 gdb/ada-exp.y                       |    6 +-
 gdb/ada-lang.c                      |  113 +++++++++++++++++++++--------------
 gdb/ada-lang.h                      |    3 +-
 gdb/cli/cli-decode.c                |    2 +-
 gdb/command.h                       |    7 +-
 gdb/config/i386/cygwin64.mh         |   20 ++++++
 gdb/configure.host                  |    1 +
 gdb/configure.tgt                   |    2 +-
 gdb/gdbserver/ChangeLog             |    4 +
 gdb/gdbserver/configure.srv         |    4 +
 gdb/gdbserver/server.c              |    3 +-
 gdb/language.h                      |    6 +-
 gdb/linespec.c                      |   69 ++++++++++++----------
 gdb/remote.c                        |   26 ++++++++
 gdb/symtab.c                        |   32 ++++------
 gdb/target.c                        |    4 +
 gdb/target.h                        |    7 ++
 gdb/testsuite/ChangeLog             |   12 ++++
 gdb/testsuite/gdb.trace/tstatus.exp |   46 +--------------
 gdb/version.in                      |    2 +-
 25 files changed, 258 insertions(+), 157 deletions(-)
 create mode 100644 gdb/config/i386/cygwin64.mh

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 70015a5..167faff 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-05  Corinna Vinschen  <vinschen@redhat.com>
+
+	* config.bfd: Add x86_64-*-cygwin to list of supported targets.
+
 2013-03-04  Alan Modra  <amodra@gmail.com>
 
 	* elf32-ppc.c (ppc_elf_relocate_section <R_PPC_PLTREL24>): Adjust
diff --git a/bfd/config.bfd b/bfd/config.bfd
index ade2731..10820e2 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -673,7 +673,7 @@ case "${targ}" in
     targ_archs="$targ_archs bfd_arm_arch"
     want64=true
     ;;
-  x86_64-*-mingw* | x86_64-*-pe | x86_64-*-pep)
+  x86_64-*-mingw* | x86_64-*-pe | x86_64-*-pep | x86_64-*-cygwin)
     targ_defvec=x86_64pe_vec
     targ_selvecs="x86_64pe_vec x86_64pei_vec bfd_elf64_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec i386pe_vec i386pei_vec bfd_elf32_i386_vec"
     want64=true
diff --git a/bfd/version.h b/bfd/version.h
index 9cf90ff..e6d99eb 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20130305
+#define BFD_VERSION_DATE 20130306
 #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 fab6ff9..9599737 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,40 @@
+2013-03-05  Doug Evans  <dje@google.com>
+
+	* ada-lang.c (ada_lookup_symbol_list_worker): New function, contents
+	of old ada_lookup_symbol_list.  In !full_search case, don't
+	search superblocks.
+	(ada_lookup_symbol_list): Delete arg full_search, all callers
+	updated.  Call ada_lookup_symbol_list_worker.
+	(ada_iterate_over_symbols): Call ada_lookup_symbol_list_worker.
+	* ada-lang.h (ada_lookup_symbol_list): Update.
+	* language.h (language_defn): Update comment for
+	la_iterate_over_symbols.
+	* linespec.c (iterate_over_file_blocks): New function.
+	(iterate_over_all_matching_symtabs): Call it.
+	(lookup_prefix_sym): Ditto.
+	(get_current_search_block): New function.
+	(get_search_block): Delete.
+	(find_label_symbols): Call get_current_search_block.
+	(add_matching_symbols_to_info): Call iterate_over_file_blocks.
+	* symtab.c (iterate_over_symbols): Don't search superblocks.
+
+2013-03-05  Yao Qi  <yao@codesourcery.com>
+
+	* cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): Change
+	parameter VAR's type from "unsigned int" to "int".
+	* command.h (var_zuinteger_unlimited): Update its comments.
+	(add_setshow_zuinteger_unlimited_cmd): Update the declaration.
+
+2013-03-05  Corinna Vinschen  <vinschen@redhat.de>
+
+	* NEWS: Mention new target x86_64-*-cygwin*.
+
+2013-03-05  Corinna Vinschen  <vinschen@redhat.de>
+
+	* configure.host: Add x86_64-*-cygwin* as host.
+	* configure.tgt: Add x86_64-*-cygwin* as target.
+	* config/i386/cygwin64.mh: New file.
+
 2013-03-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	* linespec.c (decode_line_2): Fix duplicate request off by two message.
diff --git a/gdb/NEWS b/gdb/NEWS
index 0877aa2..05fa498 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -13,6 +13,7 @@ FreeBSD/powerpc			powerpc*-*-freebsd
 ARM AArch64			aarch64*-*-elf
 ARM AArch64 GNU/Linux		aarch64*-*-linux
 Lynx 178 PowerPC		powerpc-*-lynx*178
+x86_64/Cygwin			x86_64-*-cygwin*
 
 * If the configured location of system.gdbinit file (as given by the
   --with-system-gdbinit option at configure time) is in the
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y
index e4bcfb3..d9fa9ac 100644
--- a/gdb/ada-exp.y
+++ b/gdb/ada-exp.y
@@ -1025,7 +1025,7 @@ block_lookup (struct block *context, char *raw_name)
   else
     name = ada_encode (raw_name);
 
-  nsyms = ada_lookup_symbol_list (name, context, VAR_DOMAIN, &syms, 1);
+  nsyms = ada_lookup_symbol_list (name, context, VAR_DOMAIN, &syms);
   if (context == NULL
       && (nsyms == 0 || SYMBOL_CLASS (syms[0].sym) != LOC_BLOCK))
     symtab = lookup_symtab (name);
@@ -1282,7 +1282,7 @@ write_var_or_type (const struct block *block, struct stoken name0)
 
 	  encoded_name[tail_index] = '\0';
 	  nsyms = ada_lookup_symbol_list (encoded_name, block,
-					  VAR_DOMAIN, &syms, 1);
+					  VAR_DOMAIN, &syms);
 	  encoded_name[tail_index] = terminator;
 
 	  /* A single symbol may rename a package or object. */
@@ -1430,7 +1430,7 @@ write_name_assoc (struct stoken name)
     {
       struct ada_symbol_info *syms;
       int nsyms = ada_lookup_symbol_list (name.ptr, expression_context_block,
-					  VAR_DOMAIN, &syms, 1);
+					  VAR_DOMAIN, &syms);
       if (nsyms != 1 || SYMBOL_CLASS (syms[0].sym) == LOC_TYPEDEF)
 	write_exp_op_with_string (OP_NAME, name);
       else
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 634e761..75f1c3d 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -3110,7 +3110,7 @@ resolve_subexp (struct expression **expp, int *pos, int deprocedure_p,
             ada_lookup_symbol_list (SYMBOL_LINKAGE_NAME
                                     (exp->elts[pc + 2].symbol),
                                     exp->elts[pc + 1].block, VAR_DOMAIN,
-                                    &candidates, 1);
+                                    &candidates);
 
           if (n_candidates > 1)
             {
@@ -3202,7 +3202,7 @@ resolve_subexp (struct expression **expp, int *pos, int deprocedure_p,
               ada_lookup_symbol_list (SYMBOL_LINKAGE_NAME
                                       (exp->elts[pc + 5].symbol),
                                       exp->elts[pc + 4].block, VAR_DOMAIN,
-                                      &candidates, 1);
+                                      &candidates);
             if (n_candidates == 1)
               i = 0;
             else
@@ -3254,7 +3254,7 @@ resolve_subexp (struct expression **expp, int *pos, int deprocedure_p,
           n_candidates =
             ada_lookup_symbol_list (ada_encode (ada_decoded_op_name (op)),
                                     (struct block *) NULL, VAR_DOMAIN,
-                                    &candidates, 1);
+                                    &candidates);
           i = ada_resolve_function (candidates, n_candidates, argvec, nargs,
                                     ada_decoded_op_name (op), NULL);
           if (i < 0)
@@ -5052,26 +5052,28 @@ add_nonlocal_symbols (struct obstack *obstackp, const char *name,
     }      	
 }
 
-/* Find symbols in DOMAIN matching NAME0, in BLOCK0 and enclosing
-   scope and in global scopes, returning the number of matches.
+/* Find symbols in DOMAIN matching NAME0, in BLOCK0 and, if full_search is
+   non-zero, enclosing scope and in global scopes, returning the number of
+   matches.
    Sets *RESULTS to point to a vector of (SYM,BLOCK) tuples,
    indicating the symbols found and the blocks and symbol tables (if
-   any) in which they were found.  This vector are transient---good only to
-   the next call of ada_lookup_symbol_list.  Any non-function/non-enumeral
+   any) in which they were found.  This vector is transient---good only to
+   the next call of ada_lookup_symbol_list.
+
+   When full_search is non-zero, any non-function/non-enumeral
    symbol match within the nest of blocks whose innermost member is BLOCK0,
    is the one match returned (no other matches in that or
    enclosing blocks is returned).  If there are any matches in or
-   surrounding BLOCK0, then these alone are returned.  Otherwise, if
-   FULL_SEARCH is non-zero, then the search extends to global and
-   file-scope (static) symbol tables.
+   surrounding BLOCK0, then these alone are returned.
+
    Names prefixed with "standard__" are handled specially: "standard__"
    is first stripped off, and only static and global symbols are searched.  */
 
-int
-ada_lookup_symbol_list (const char *name0, const struct block *block0,
-			domain_enum namespace,
-			struct ada_symbol_info **results,
-			int full_search)
+static int
+ada_lookup_symbol_list_worker (const char *name0, const struct block *block0,
+			       domain_enum namespace,
+			       struct ada_symbol_info **results,
+			       int full_search)
 {
   struct symbol *sym;
   struct block *block;
@@ -5107,10 +5109,24 @@ ada_lookup_symbol_list (const char *name0, const struct block *block0,
 
   /* Check the non-global symbols.  If we have ANY match, then we're done.  */
 
-  ada_add_local_symbols (&symbol_list_obstack, name, block, namespace,
-                         wild_match_p);
-  if (num_defns_collected (&symbol_list_obstack) > 0 || !full_search)
-    goto done;
+  if (block != NULL)
+    {
+      if (full_search)
+	{
+	  ada_add_local_symbols (&symbol_list_obstack, name, block,
+				 namespace, wild_match_p);
+	}
+      else
+	{
+	  /* In the !full_search case we're are being called by
+	     ada_iterate_over_symbols, and we don't want to search
+	     superblocks.  */
+	  ada_add_block_symbols (&symbol_list_obstack, block, name,
+				 namespace, NULL, wild_match_p);
+	}
+      if (num_defns_collected (&symbol_list_obstack) > 0 || !full_search)
+	goto done;
+    }
 
   /* No non-global symbols found.  Check our cache to see if we have
      already performed this search before.  If we have, then return
@@ -5153,6 +5169,37 @@ done:
   return ndefns;
 }
 
+/* Find symbols in DOMAIN matching NAME0, in BLOCK0 and enclosing scope and
+   in global scopes, returning the number of matches, and setting *RESULTS
+   to a vector of (SYM,BLOCK) tuples.
+   See ada_lookup_symbol_list_worker for further details.  */
+
+int
+ada_lookup_symbol_list (const char *name0, const struct block *block0,
+			domain_enum domain, struct ada_symbol_info **results)
+{
+  return ada_lookup_symbol_list_worker (name0, block0, domain, results, 1);
+}
+
+/* Implementation of the la_iterate_over_symbols method.  */
+
+static void
+ada_iterate_over_symbols (const struct block *block,
+			  const char *name, domain_enum domain,
+			  symbol_found_callback_ftype *callback,
+			  void *data)
+{
+  int ndefs, i;
+  struct ada_symbol_info *results;
+
+  ndefs = ada_lookup_symbol_list_worker (name, block, domain, &results, 0);
+  for (i = 0; i < ndefs; ++i)
+    {
+      if (! (*callback) (results[i].sym, data))
+	break;
+    }
+}
+
 /* If NAME is the name of an entity, return a string that should
    be used to look that entity up in Ada units.  This string should
    be deallocated after use using xfree.
@@ -5178,25 +5225,6 @@ ada_name_for_lookup (const char *name)
   return canon;
 }
 
-/* Implementation of the la_iterate_over_symbols method.  */
-
-static void
-ada_iterate_over_symbols (const struct block *block,
-			  const char *name, domain_enum domain,
-			  symbol_found_callback_ftype *callback,
-			  void *data)
-{
-  int ndefs, i;
-  struct ada_symbol_info *results;
-
-  ndefs = ada_lookup_symbol_list (name, block, domain, &results, 0);
-  for (i = 0; i < ndefs; ++i)
-    {
-      if (! (*callback) (results[i].sym, data))
-	break;
-    }
-}
-
 /* The result is as for ada_lookup_symbol_list with FULL_SEARCH set
    to 1, but choosing the first symbol found if there are multiple
    choices.
@@ -5215,9 +5243,7 @@ ada_lookup_encoded_symbol (const char *name, const struct block *block,
   gdb_assert (info != NULL);
   memset (info, 0, sizeof (struct ada_symbol_info));
 
-  n_candidates = ada_lookup_symbol_list (name, block, namespace, &candidates,
-					 1);
-
+  n_candidates = ada_lookup_symbol_list (name, block, namespace, &candidates);
   if (n_candidates == 0)
     return;
 
@@ -5509,8 +5535,7 @@ full_match (const char *sym_name, const char *search_name)
 /* Add symbols from BLOCK matching identifier NAME in DOMAIN to
    vector *defn_symbols, updating the list of symbols in OBSTACKP 
    (if necessary).  If WILD, treat as NAME with a wildcard prefix.
-   OBJFILE is the section containing BLOCK.
-   SYMTAB is recorded with each symbol added.  */
+   OBJFILE is the section containing BLOCK.  */
 
 static void
 ada_add_block_symbols (struct obstack *obstackp,
@@ -10692,7 +10717,7 @@ get_var_value (char *name, char *err_msg)
   int nsyms;
 
   nsyms = ada_lookup_symbol_list (name, get_selected_block (0), VAR_DOMAIN,
-                                  &syms, 1);
+                                  &syms);
 
   if (nsyms != 1)
     {
diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h
index 418f8da..55c0a81 100644
--- a/gdb/ada-lang.h
+++ b/gdb/ada-lang.h
@@ -228,8 +228,7 @@ extern enum language ada_update_initial_language (enum language);
 extern void clear_ada_sym_cache (void);
 
 extern int ada_lookup_symbol_list (const char *, const struct block *,
-                                   domain_enum, struct ada_symbol_info**,
-				   int);
+                                   domain_enum, struct ada_symbol_info**);
 
 extern char *ada_fold_name (const char *);
 
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index 49ccef3..a8f7747 100644
--- a/gdb/cli/cli-decode.c
+++ b/gdb/cli/cli-decode.c
@@ -708,7 +708,7 @@ add_setshow_zinteger_cmd (char *name, enum command_class class,
 void
 add_setshow_zuinteger_unlimited_cmd (char *name,
 				     enum command_class class,
-				     unsigned int *var,
+				     int *var,
 				     const char *set_doc,
 				     const char *show_doc,
 				     const char *help_doc,
diff --git a/gdb/command.h b/gdb/command.h
index 17662b4..a25fe04 100644
--- a/gdb/command.h
+++ b/gdb/command.h
@@ -99,8 +99,9 @@ typedef enum var_types
     /* ZeroableUnsignedInteger.  *VAR is an unsigned int.  Zero really
        means zero.  */
     var_zuinteger,
-    /* ZeroableUnsignedInteger with unlimited value.  *VAR is an unsigned
-       int, but its range is [0, INT_MAX].  -1 stands for unlimited.  */
+    /* ZeroableUnsignedInteger with unlimited value.  *VAR is an int,
+       but its range is [0, INT_MAX].  -1 stands for unlimited and
+       other negative numbers are not allowed.  */
     var_zuinteger_unlimited,
     /* Enumerated type.  Can only have one of the specified values.
        *VAR is a char pointer to the name of the element that we
@@ -361,7 +362,7 @@ extern void add_setshow_zuinteger_cmd (char *name,
 extern void
   add_setshow_zuinteger_unlimited_cmd (char *name,
 				       enum command_class class,
-				       unsigned int *var,
+				       int *var,
 				       const char *set_doc,
 				       const char *show_doc,
 				       const char *help_doc,
diff --git a/gdb/config/i386/cygwin64.mh b/gdb/config/i386/cygwin64.mh
new file mode 100644
index 0000000..f5102c4
--- /dev/null
+++ b/gdb/config/i386/cygwin64.mh
@@ -0,0 +1,20 @@
+#  Native config information for GDB on PowerPC systems running FreeBSD.
+#
+#  Copyright (C) 2013 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/>.  */
+
+NATDEPFILES= i386-nat.o windows-nat.o amd64-windows-nat.o
diff --git a/gdb/configure.host b/gdb/configure.host
index 395ee53..85f4491 100644
--- a/gdb/configure.host
+++ b/gdb/configure.host
@@ -182,6 +182,7 @@ x86_64-*-openbsd*)	gdb_host=obsd64 ;;
 x86_64-*-mingw*)        gdb_host=mingw64
 			gdb_host_obs=mingw-hdep.o
 			;;
+x86_64-*-cygwin*)	gdb_host=cygwin64 ;;
 m32r*-*-linux*)          gdb_host=linux ;;
 
 xtensa*-*-linux*)	gdb_host=linux ;;
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 77dc37c..720d3d3 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -652,7 +652,7 @@ x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
 			i387-tdep.o i386bsd-tdep.o i386fbsd-tdep.o \
 			bsd-uthread.o solib-svr4.o"
 	;;
-x86_64-*-mingw*)
+x86_64-*-mingw* | x86_64-*-cygwin*)
         # Target: MingW/amd64
 	gdb_target_obs="amd64-tdep.o amd64-windows-tdep.o \
                         i386-tdep.o i386-cygwin-tdep.o i387-tdep.o \
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 3f4629a..a8cf78c 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-05  Corinna Vinschen  <vinschen@redhat.de>
+
+	* configure.srv: Add x86_64-*-cygwin* as target.
+
 2013-02-28  Tom Tromey  <tromey@redhat.com>
 
 	* configure.ac: Invoke AC_SYS_LARGEFILE.
diff --git a/gdb/gdbserver/configure.srv b/gdb/gdbserver/configure.srv
index b9a99d0..0bda563 100644
--- a/gdb/gdbserver/configure.srv
+++ b/gdb/gdbserver/configure.srv
@@ -326,6 +326,10 @@ case "${target}" in
 			srv_xmlfiles="$srv_i386_xmlfiles $srv_amd64_xmlfiles"
 			srv_mingw=yes
 			;;
+  x86_64-*-cygwin*)	srv_regobj="$srv_amd64_regobj"
+			srv_tgtobj="i386-low.o i387-fp.o win32-low.o win32-i386-low.o"
+			srv_xmlfiles="$srv_i386_xmlfiles"
+			;;
 
   xtensa*-*-linux*)	srv_regobj=reg-xtensa.o
 			srv_tgtobj="linux-low.o linux-osdata.o linux-xtensa-low.o linux-procfs.o"
diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c
index 768eae7..f496374 100644
--- a/gdb/gdbserver/server.c
+++ b/gdb/gdbserver/server.c
@@ -1581,7 +1581,8 @@ handle_query (char *own_buf, int packet_len, int *new_packet_len_p)
 	       PBUFSIZ - 1);
 
       if (the_target->qxfer_libraries_svr4 != NULL)
-	strcat (own_buf, ";qXfer:libraries-svr4:read+");
+	strcat (own_buf, ";qXfer:libraries-svr4:read+"
+		";augmented-libraries-svr4-read+");
       else
 	{
 	  /* We do not have any hook to indicate whether the non-SVR4 target
diff --git a/gdb/language.h b/gdb/language.h
index b24caec..b191b36 100644
--- a/gdb/language.h
+++ b/gdb/language.h
@@ -326,9 +326,9 @@ struct language_defn
     /* Find all symbols in the current program space matching NAME in
        DOMAIN, according to this language's rules.
 
-       The search starts with BLOCK.  This function iterates upward
-       through blocks.  When the outermost block has been finished,
-       the function returns.
+       The search is done in BLOCK only.
+       The caller is responsible for iterating up through superblocks
+       if desired.
 
        For each one, call CALLBACK with the symbol and the DATA
        argument.  If CALLBACK returns zero, the iteration ends at that
diff --git a/gdb/linespec.c b/gdb/linespec.c
index 7ed823e..b1c2b1c 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -318,6 +318,11 @@ typedef struct ls_parser linespec_parser;
 
 /* Prototypes for local functions.  */
 
+static void iterate_over_file_blocks (struct symtab *symtab,
+				      const char *name, domain_enum domain,
+				      symbol_found_callback_ftype *callback,
+				      void *data);
+
 static void initialize_defaults (struct symtab **default_symtab,
 				 int *default_line);
 
@@ -1039,15 +1044,12 @@ iterate_over_all_matching_symtabs (struct linespec_state *state,
 
       ALL_OBJFILE_PRIMARY_SYMTABS (objfile, symtab)
 	{
-	  struct block *block;


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


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

* [SCM]  gbenson/rtld-probes: Merge branch 'master' of git://sourceware.org/git/gdb into gbenson/rtld-probes
@ 2013-03-05 11:20 gary
  0 siblings, 0 replies; 2+ messages in thread
From: gary @ 2013-03-05 11:20 UTC (permalink / raw)
  To: archer-commits

The branch, gbenson/rtld-probes has been updated
       via  3fb82cdc01c92e365bc9ebc39bd5cc9487c8533b (commit)
       via  43042f4b183031ee3946178ef5521a7819c1697c (commit)
       via  5e16cbd55ff6fc0ca2db757d4cca4b9da102d0bc (commit)
       via  d2169b1b530a4555587128747942994e4d7a95d2 (commit)
       via  633991aa595fd9b375d71510b5f4f4470ac0f047 (commit)
       via  1a922e7a8a1158b172b88590d751dab50eb83a65 (commit)
       via  0c46735e42d175fb4c1a1fa00c267a55aaf35bdc (commit)
       via  2bdfe98c0bba4610708a1ebf9cf4db47916a6a9d (commit)
       via  a6447a314a5e038909e67767f25fab4f8c8f3372 (commit)
       via  0f35195383794f1dcf4f1f8ae2ef5f07858aca50 (commit)
       via  4e788bd4be2950df996a2c0c739207d7bcb7f5d8 (commit)
       via  5790218b0893f7f0a5e5134122272ebb18cd7d92 (commit)
       via  4e9b47fbf3a3b49c8035cd9b99c631eaf659a810 (commit)
       via  691b7b1619b24eb868511e9e6c01f15d88cf5593 (commit)
       via  594713cde31afaa841f79cc6aed3fd4050a81a5f (commit)
       via  8f71e83348767590d87fbea0900bcad1373f1adc (commit)
       via  9d9879fa54fedf41b1b8c0ad2722351c3016aa40 (commit)
       via  6418d069fab3da999d5acd2cc9642af3e9a8781e (commit)
       via  baf854baee4c0d91cea8ede74254b5294b0afded (commit)
       via  3f06a288043476f8a5d0ad59dae9d19d200cc6a9 (commit)
       via  2c66bfdc1df559e2e964fbc8a12cfb7a60c746df (commit)
       via  443082b7ef5f69e97f1d8f0e253bb96d0e8198fc (commit)
       via  aafdb4f6069ecbdb379add3ae0dd922f10b01ea9 (commit)
       via  61295913b52b25d7eaebaad367b8905871d86af4 (commit)
       via  f7feb8ed05092f1ff35198ece8f56c83cb2cdf04 (commit)
       via  285793a17ecdc64d82df4345278a0a3d0a8dd427 (commit)
       via  d915986e0120981ac466ee26e9b5efd6e6b58003 (commit)
       via  8f0aafd10f86de7b28b3e21ec6abc2b847c8009e (commit)
       via  67f321214dfb0c58d4b1ff21e4c5e1af3a072359 (commit)
       via  7aeafcc429cc2611354197b0db5c350fadd48bfe (commit)
       via  59f0d85306d7c8f40e2342d151d5ce5523ccbea9 (commit)
       via  8df1bb09f2964890064a22333c773f633716e241 (commit)
       via  19877e9971c2fdcba4d094c7ceccb70b86728e84 (commit)
       via  117e297f387b49403987460c19d0427e2b95a9e2 (commit)
       via  eddc5294adaa3e39b3f1533208e8a7fc2520905e (commit)
       via  8156b292f0bda6d2f335d2f4bda6c5bb37709260 (commit)
       via  789f5888389f3e0aa1e948824c4b391a655b3cb0 (commit)
       via  cc27921fa54a33125a649e7e8e2e2aa868762658 (commit)
       via  3873faf4381851d2ac70bf235bf0cfefcd14af57 (commit)
       via  30a8cb2f3121545ee5b4bd01a29b5d2808c5585f (commit)
       via  cb18d6a74dec7482af131a46f5340f2ec2b0451e (commit)
       via  7e3f0d549dd34c2f02b68771655da8b7848b7aed (commit)
       via  417defa7183f63f0f1c96c3fad14a4b2ee33efc8 (commit)
       via  9b3d351fbd7a903ad4da9f9e9a654344a43e6ba1 (commit)
       via  8f9033e47ef46907343b53bafbed3d5549194870 (commit)
       via  d553b22ba5a611eb42962b5d620e48c44dbd732c (commit)
       via  8030f6600cb4cc512b0e9eb539f3e7a15630a553 (commit)
       via  621259858ec670c217843a3a48acd5bc789cd001 (commit)
       via  5716ab79df45a7ba8e4717726b7cc0467e0a27e0 (commit)
       via  2d00f9f7698b624c0c46fa026f0965ce52801605 (commit)
       via  87d6ac5f28766d6cbe5b39104c7fd67d8591a20e (commit)
       via  1d14ca56409b5ce6472623c10cde009ca5a29a19 (commit)
       via  ac647b5006be36a915d2efdb5733e54e2fac4dce (commit)
       via  579461a43ac1890f39b571d0c0efda846263be8c (commit)
       via  38c3c26c5e751a437f10f58cf58c99de1e242642 (commit)
       via  c71fe3d967ea74866990ef1d109691e1002300d4 (commit)
       via  780aa79fa4ce360487bed6e6428d989f5457ecf8 (commit)
       via  b9acb689c9d6c54e9ec304e816fe490c3991faf9 (commit)
       via  5b547fb74d1e39e66f6884addfb94007245b0e54 (commit)
       via  ede57e81be6791a3a43157f1d10909c386a38fbf (commit)
       via  225cc5bbdd8aab1e38a53e75d9a7c6ddb3ecdaf6 (commit)
       via  7ba9038443b61a4de2c4181a75b2aebd033d0c03 (commit)
       via  1abda479d07f91ebf07fa1329d407aeb388978d4 (commit)
       via  2024f2e5d6c9e7555050dbd350ebc75210e0cbed (commit)
       via  9058a5d69b2fc3452e090a1f38727b66ec20be71 (commit)
       via  f6f366b856fc001370119b2bfc772989abcdf3b1 (commit)
       via  08f46fad0c90ea5579ab4cd913b6bc1506bb4ca7 (commit)
       via  f55586fcc744778a1cd412e59255328a0778b777 (commit)
       via  dc220fd7be640f1202178eccde885397769388e0 (commit)
       via  4ec1f9a1966ece8baa9db0b82c0610b65bbf9a62 (commit)
       via  e6242bbb599bfe7cfc254572888de1ce5f55532a (commit)
       via  06e1be1fbb0231e4227aee684e23bc9b289f5eb1 (commit)
       via  f26434ca92423baf31f26ff5ca95aff90e02152a (commit)
       via  ef977039c58644e42f14a1ab3224b368632c1fe4 (commit)
       via  f20bc10158e798f7d72c4556db5ca6938912ae97 (commit)
       via  d8c5bfeeb1da2d7fe4d978b5a05b7070db26ef9f (commit)
       via  f1b3778db4984d1e9ef5a04819817ebe8b755d20 (commit)
       via  ef5bd72457f522abe869552e49c21514a6d36d33 (commit)
       via  c44c23b26bd12af0dea7b50f251019bfd8f59582 (commit)
       via  9d055f19e35f94f05f2ccdeee57b8f36b0a5cbb9 (commit)
       via  20812afb15f97fa57b2c909d211d73be08e692ce (commit)
       via  b8af5afa0cb5d03c5daca61fc9a1a5790675fff4 (commit)
       via  c3c3588160a816088bdbe1fc586e1b2461c6681b (commit)
       via  5f2a8979ff17e393a5b2492a09482a13e09b49ff (commit)
       via  e9142254d431029e6e1d230b5f5c5de32ca13634 (commit)
       via  73c65b0311a0d272e2223ce83ffcebfc04d4c898 (commit)
       via  924fa7a7244f118b8a85031ed8a0e0a026de020e (commit)
       via  af2ef30e2fc3e1fdbbe38c118405609fd0c7484e (commit)
       via  82ae45302c7ee163216f8fc3d5b3494a6f212e9c (commit)
       via  859f7e2d6ea511b833b1a02b2b887738c845d1fb (commit)
       via  4df4eb13c0177a1587ce86a8a87219c828809a92 (commit)
       via  9b12f766243a75cb840330fa941715b38aa609e4 (commit)
       via  7d92fe41d659ac9a1cfcf354d792178830315957 (commit)
       via  46953c5ca8945208733ce79a5d47dd6f72281a91 (commit)
       via  5288e987b4621bb2c999d4aa56f310cd6a9f6db6 (commit)
       via  61b67ec07bf0195dc206c109cd255a22a4a81127 (commit)
       via  9aca785f1728d116e2c350ba7bb1dd5c573889d5 (commit)
       via  a7ba737e6276bf6b546eb721cca66d14d2bd4c29 (commit)
       via  29e18ad0c71a0e939b44b8933370a2f4cccefb2c (commit)
       via  5ad3e7fe864d1a87517c98c819530143a78e42ab (commit)
      from  98fb68005ea8bd412ccb3b8760e28ac2311bc261 (commit)

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

- Log -----------------------------------------------------------------
commit 3fb82cdc01c92e365bc9ebc39bd5cc9487c8533b
Merge: 43042f4 5e16cbd
Author: Gary Benson <gbenson@redhat.com>
Date:   Tue Mar 5 11:19:35 2013 +0000

    Merge branch 'master' of git://sourceware.org/git/gdb into gbenson/rtld-probes

commit 43042f4b183031ee3946178ef5521a7819c1697c
Author: Gary Benson <gbenson@redhat.com>
Date:   Tue Mar 5 11:11:23 2013 +0000

    Add README.archer

commit 5e16cbd55ff6fc0ca2db757d4cca4b9da102d0bc
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Mar 5 00:00:03 2013 +0000

    *** empty log message ***

commit d2169b1b530a4555587128747942994e4d7a95d2
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Mar 4 23:00:06 2013 +0000

    daily update

commit 633991aa595fd9b375d71510b5f4f4470ac0f047
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 4 19:38:02 2013 +0000

    gdb/
    	* linespec.c (decode_line_2): Fix duplicate request off by two message.

commit 1a922e7a8a1158b172b88590d751dab50eb83a65
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Mar 4 19:30:24 2013 +0000

    gdb/
    	* linespec.c (struct linespec_canonical_name): New.
    	(struct linespec_state): Change canonical_names type to it.
    	(add_sal_to_sals): Change variable canonical_name to canonical.  Change
    	xrealloc element size.  Initialize the different CANONICAL fields.
    	(canonical_to_fullform): New.
    	(filter_results): Use it.  Add variables canonical, fullform and
    	cleanup.
    	(struct decode_line_2_item, decode_line_2_compare_items): New.
    	(decode_line_2): Remove variables iter and item_names, add variables
    	items and items_count.  Modify the code for these new variables.
    
    gdb/testsuite/
    	* gdb.linespec/base/one/thefile.cc (twodup): New.
    	(m): Call it.
    	* gdb.linespec/base/two/thefile.cc (dupname): New.
    	(n): Call it.
    	* gdb.linespec/break-ask.exp: New file.
    	* gdb.linespec/lspec.cc (body_elsewhere): New comment marker.

commit 0c46735e42d175fb4c1a1fa00c267a55aaf35bdc
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Mon Mar 4 15:09:41 2013 +0000

    	* coff-pe-read.c (read_pe_exported_syms): Don't return without
    	calling do_cleanup.

commit 2bdfe98c0bba4610708a1ebf9cf4db47916a6a9d
Author: Hui Zhu <teawater@gmail.com>
Date:   Mon Mar 4 13:52:41 2013 +0000

    2013-03-04  Luis Machado  <lgustavo@codesourcery.com>
    
    	* tracepoint.c (build_traceframe_info): Add code for byte order.

commit a6447a314a5e038909e67767f25fab4f8c8f3372
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Mar 4 12:12:11 2013 +0000

    	* elf32-ppc.c (ppc_elf_relocate_section <R_PPC_PLTREL24>): Adjust
    	non-zero addends when relocatable, rather than addends >= 32768.
    	Always zero "addend" before applying relocation.

commit 285793a17ecdc64d82df4345278a0a3d0a8dd427
Merge: 67f3212 98fb680
Author: Gary Benson <gbenson@redhat.com>
Date:   Fri Mar 1 12:58:01 2013 +0000

    Merge remote branch 'remotes/archer/gbenson/rtld-probes' into gbenson/rtld-probes

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

Summary of changes:
 README.archer                                      |   12 +
 bfd/ChangeLog                                      |   97 +-
 bfd/archive64.c                                    |   13 +-
 bfd/bfd-in2.h                                      |    1 +
 bfd/bfd.c                                          |    2 +-
 bfd/config.bfd                                     |    2 +-
 bfd/elf-bfd.h                                      |  175 +-
 bfd/elf-eh-frame.c                                 |    2 +-
 bfd/elf-nacl.c                                     |    4 +-
 bfd/elf-vxworks.c                                  |    2 +-
 bfd/elf.c                                          |  271 +-
 bfd/elf32-am33lin.c                                |   10 +-
 bfd/elf32-arm.c                                    |   42 +-
 bfd/elf32-cris.c                                   |   18 +-
 bfd/elf32-frv.c                                    |   10 +-
 bfd/elf32-hppa.c                                   |   10 +-
 bfd/elf32-i386.c                                   |   20 +-
 bfd/elf32-lm32.c                                   |    3 +-
 bfd/elf32-m68k.c                                   |   12 +-
 bfd/elf32-mips.c                                   |   10 +-
 bfd/elf32-nios2.c                                  |   10 +-
 bfd/elf32-ppc.c                                    |   72 +-
 bfd/elf32-rl78.c                                   |    2 +
 bfd/elf32-rx.c                                     |    2 +-
 bfd/elf32-s390.c                                   |    4 +-
 bfd/elf32-score.c                                  |   17 +-
 bfd/elf32-score7.c                                 |   15 +-
 bfd/elf32-sh.c                                     |   10 +-
 bfd/elf32-sparc.c                                  |    8 +-
 bfd/elf32-spu.c                                    |   16 +-
 bfd/elf32-tilegx.c                                 |   10 +-
 bfd/elf32-tilepro.c                                |   10 +-
 bfd/elf32-xtensa.c                                 |   10 +-
 bfd/elf64-aarch64.c                                |    4 +-
 bfd/elf64-hppa.c                                   |   20 +-
 bfd/elf64-ia64-vms.c                               |    3 +-
 bfd/elf64-mips.c                                   |   10 +-
 bfd/elf64-ppc.c                                    |   10 +-
 bfd/elf64-tilegx.c                                 |   10 +-
 bfd/elf64-x86-64.c                                 |   22 +-
 bfd/elfcode.h                                      |    4 +-
 bfd/elfcore.h                                      |    8 +-
 bfd/elflink.c                                      |   24 +-
 bfd/elfn32-mips.c                                  |   10 +-
 bfd/elfnn-ia64.c                                   |   10 +-
 bfd/elfxx-mips.c                                   |   23 +-
 bfd/libbfd.h                                       |    1 +
 bfd/reloc.c                                        |    2 +
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |  308 ++
 gdb/MAINTAINERS                                    |    1 +
 gdb/arm-tdep.c                                     |    4 +-
 gdb/avr-tdep.c                                     |    4 +-
 gdb/bfin-tdep.c                                    |    2 +-
 gdb/coff-pe-read.c                                 |    3 +
 gdb/common/linux-ptrace.c                          |    5 +-
 gdb/configure.tgt                                  |    9 +-
 gdb/contrib/excheck.py                             |  296 ++
 gdb/contrib/exsummary.py                           |  185 +
 gdb/contrib/gcc-with-excheck                       |   28 +
 gdb/cris-tdep.c                                    |    4 +-
 gdb/dbug-rom.c                                     |    1 -
 gdb/doc/ChangeLog                                  |   15 +
 gdb/doc/gdb.texinfo                                |  131 +-
 gdb/dwarf2loc.c                                    |    3 +-
 gdb/elfread.c                                      |   36 +-
 gdb/frv-linux-tdep.c                               |    6 +-
 gdb/frv-tdep.c                                     |    4 +-
 gdb/gdbserver/ChangeLog                            |   48 +
 gdb/gdbserver/Makefile.in                          |    3 +
 gdb/gdbserver/config.in                            |    6 +
 gdb/gdbserver/configure                            |  200 +
 gdb/gdbserver/configure.ac                         |    1 +
 gdb/gdbserver/configure.srv                        |    1 +
 gdb/gdbserver/linux-tile-low.c                     |   31 +-
 gdb/gdbserver/server.c                             |   16 +-
 gdb/gdbserver/tracepoint.c                         |    3 +-
 gdb/gdbserver/win32-low.c                          |   30 +-
 gdb/hppa-hpux-tdep.c                               |    8 +-
 gdb/hppa-linux-tdep.c                              |    6 +-
 gdb/hppa-tdep.c                                    |    6 +-
 gdb/i386-nto-tdep.c                                |    2 +-
 gdb/i386fbsd-tdep.c                                |    4 +-
 gdb/ia64-hpux-tdep.c                               |    2 +-
 gdb/ia64-linux-tdep.c                              |    2 +-
 gdb/ia64-tdep.c                                    |   32 +-
 gdb/iq2000-tdep.c                                  |    2 +-
 gdb/linespec.c                                     |  198 +-
 gdb/m32r-rom.c                                     |    2 -
 gdb/m68hc11-tdep.c                                 |    4 +-
 gdb/m68klinux-nat.c                                |    4 +-
 gdb/mep-tdep.c                                     |    8 +-
 gdb/mips-linux-tdep.c                              |    4 +-
 gdb/mips-tdep.c                                    |    1 +
 gdb/mn10300-tdep.c                                 |    2 +-
 gdb/monitor.c                                      |   63 +-
 gdb/monitor.h                                      |    2 -
 gdb/objfiles.h                                     |    2 +-
 gdb/ppc-linux-nat.c                                |    4 +-
 gdb/ppc-linux-tdep.c                               |    3 +
 gdb/ppc64-tdep.c                                   |   15 +
 gdb/ppc64-tdep.h                                   |    2 +
 gdb/ppcbug-rom.c                                   |    1 -
 gdb/ppcfbsd-tdep.c                                 |    3 +
 gdb/python/py-arch.c                               |  145 +
 gdb/python/py-block.c                              |    6 +-
 gdb/python/py-finishbreakpoint.c                   |   72 +-
 gdb/python/python.c                                |   48 +-
 gdb/regcache.c                                     |    4 +-
 gdb/regformats/reg-tilegx.dat                      |    2 +-
 .../{reg-tilegx.dat => reg-tilegx32.dat}           |    4 +-
 gdb/remote-mips.c                                  |    2 +-
 gdb/remote-sim.c                                   |    4 +-
 gdb/score-tdep.c                                   |   16 +-
 gdb/sh64-tdep.c                                    |    4 +-
 gdb/solib-darwin.c                                 |    4 +-
 gdb/solib-pa64.c                                   |    2 -
 gdb/solib-som.c                                    |    6 +-
 gdb/solib-spu.c                                    |    2 +-
 gdb/spu-linux-nat.c                                |    2 +-
 gdb/spu-multiarch.c                                |   14 +-
 gdb/symfile.c                                      |    6 +-
 gdb/target.c                                       |    2 +-
 gdb/testsuite/ChangeLog                            |   34 +
 gdb/testsuite/gdb.base/valgrind-infcall.exp        |    4 +
 gdb/testsuite/gdb.linespec/base/one/thefile.cc     |    7 +-
 gdb/testsuite/gdb.linespec/base/two/thefile.cc     |    7 +-
 gdb/testsuite/gdb.linespec/break-ask.exp           |  100 +
 gdb/testsuite/gdb.linespec/lspec.cc                |    2 +-
 gdb/testsuite/gdb.python/Makefile.in               |    2 +-
 .../gdb.python/py-arch.c}                          |   31 +-
 gdb/testsuite/gdb.python/py-arch.exp               |   54 +
 gdb/testsuite/gdb.threads/fork-thread-pending.c    |    2 +
 gdb/testsuite/gdb.trace/report.exp                 |  313 +-
 gdb/tic6x-tdep.c                                   |    2 +-
 gdb/tilegx-linux-nat.c                             |    2 +-
 gdb/tilegx-linux-tdep.c                            |    6 +-
 gdb/tilegx-tdep.c                                  |  128 +-
 gdb/tilegx-tdep.h                                  |    4 +-
 gdb/tracepoint.c                                   |   68 +-
 gdb/v850-tdep.c                                    |   57 +-
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |   74 +-
 gdb/xstormy16-tdep.c                               |    8 +-
 include/ChangeLog                                  |    4 +
 include/dwarf2.h                                   |   14 +
 include/opcode/ChangeLog                           |    4 +
 include/opcode/aarch64.h                           |    1 +
 libiberty/ChangeLog                                |    6 +
 libiberty/libiberty.texi                           |    6 +-
 libiberty/obstacks.texi                            |    2 +-
 opcodes/ChangeLog                                  |   42 +
 opcodes/aarch64-asm-2.c                            |  134 +-
 opcodes/aarch64-dis-2.c                            |  668 ++--
 opcodes/aarch64-opc-2.c                            |   66 +-
 opcodes/aarch64-tbl.h                              |   24 +
 opcodes/i386-dis.c                                 |    2 +
 opcodes/i386-gen.c                                 |    3 +
 opcodes/i386-init.h                                |  170 +-
 opcodes/i386-opc.h                                 |    3 +
 opcodes/i386-opc.tbl                               |    4 +
 opcodes/i386-reg.tbl                               |    2 +-
 opcodes/i386-tbl.h                                 | 5390 ++++++++++----------
 opcodes/rl78-decode.c                              |  407 +-
 opcodes/rl78-decode.opc                            |    7 +-
 165 files changed, 6576 insertions(+), 4466 deletions(-)
 create mode 100644 README.archer
 create mode 100644 gdb/contrib/excheck.py
 create mode 100644 gdb/contrib/exsummary.py
 create mode 100755 gdb/contrib/gcc-with-excheck
 copy gdb/regformats/{reg-tilegx.dat => reg-tilegx32.dat} (95%)
 create mode 100644 gdb/testsuite/gdb.linespec/break-ask.exp
 copy gdb/{ppc64-tdep.h => testsuite/gdb.python/py-arch.c} (50%)
 create mode 100644 gdb/testsuite/gdb.python/py-arch.exp

First 500 lines of diff:
diff --git a/README.archer b/README.archer
new file mode 100644
index 0000000..d619d25
--- /dev/null
+++ b/README.archer
@@ -0,0 +1,12 @@
+This branch implements a new runtime linker interface using
+SystemTap probes.
+
+The glibc side of the interface was committed in this patch:
+http://sourceware.org/ml/libc-alpha/2012-07/txt00005.txt
+
+For a description of the interface, please look in the file
+elf/rtld-debugger-interface.txt in the above patch.
+
+For details of why this interface was created, this mail is
+a good starting point:
+http://www.cygwin.com/ml/gdb-patches/2012-07/msg00155.html
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index e440971..70015a5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,96 @@
+2013-03-04  Alan Modra  <amodra@gmail.com>
+
+	* elf32-ppc.c (ppc_elf_relocate_section <R_PPC_PLTREL24>): Adjust
+	non-zero addends when relocatable, rather than addends >= 32768.
+	Always zero "addend" before applying relocation.
+
+2013-03-04  Nick Clifton  <nickc@redhat.com>
+
+	* archive64.c (bfd_elf64_archive_write_armap): Fix calculation of
+	file pointer offsets for thin archives.
+
+2013-02-28  Nathan Sidwell  <nathan@codesourcery.com>
+
+	* elf32-arm.c (elf32_arm_size_dynamic_sections): Don't call
+	elf32_arm_allocate_dynrelocs for source reloc for non-dynamic link.
+
+2013-02-27  DJ Delorie  <dj@redhat.com>
+
+	* reloc.c (BFD_RELOC_RL78_CODE): Add.
+	* libbfd.h: Regenerate.
+	* bfd-in2.h: Regenerate.
+	* elf32-rl78.c (rl78_elf_relocate_section): Handle weak code
+	references in compuated relocs.
+
+2013-02-26  Anthony Green  <green@moxielogic.com>
+
+	* config.bfd: Extend moxie-rtems target triplet name support.
+
+2013-02-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/15167
+	* elf64-ia64-vms.c (elf64_vms_link_add_object_symbols): Set
+	unique_global only for definition.
+	* elflink.c (_bfd_elf_merge_symbol): Don't set unique_global
+	here.
+	(elf_link_add_object_symbols): Set unique_global only
+	for definition.
+
+2013-02-21  Alan Modra  <amodra@gmail.com>
+
+	* elf-bfd.h (struct elf_build_id): Extracted from..
+	(struct elf_build_id_info): ..here.  Delete.
+	(struct output_elf_obj_tdata): New, extracted from..
+	(struct elf_obj_tdata): ..here.  Reorganize for better packing.
+	Add "o" field.
+	(elf_program_header_size): Reference tdata->o.
+	(elf_seg_map, elf_next_file_pos, elf_eh_frame_hdr, elf_linker,
+	elf_stack_flags, elf_shstrtab, elf_strtab_sec, elf_shstrtab_sec,
+	elf_section_syms, elf_num_section_syms, elf_flags_init): Likewise.
+	* elf.c (bfd_elf_allocate_object): Allocate output_elf_obj_tdata
+	when opening bfd in any mode that might write.
+	(_bfd_elf_write_object_contents): Use build_id field in
+	output_elf_obj_tdata.
+	(_bfd_elf_close_and_cleanup): Tweak elf_shstrtab test.
+	(elfobj_grok_gnu_build_id): Adjust for elf_tdata changes.
+
+2013-02-21  Alan Modra  <amodra@gmail.com>
+
+	* elf-bfd.h (struct core_elf_obj_tdata): New.
+	(struct elf_obj_tdata): Delete core_signal, core_pid, core_lwpid,
+	core_program, and core_command.  Add "core".
+	* elf.c (bfd_elf_mkcorefile): Allocate "core" struct.
+	Update all refs to tdata core fields.
+	* elf32-am33lin.c, * elf32-arm.c, * elf32-cris.c, * elf32-frv.c,
+	* elf32-hppa.c, * elf32-i386.c, * elf32-m68k.c, * elf32-mips.c,
+	* elf32-nios2.c, * elf32-ppc.c, * elf32-s390.c, * elf32-score.c,
+	* elf32-score7.c, * elf32-sh.c, * elf32-sparc.c, * elf32-tilegx.c,
+	* elf32-tilepro.c, * elf32-xtensa.c, * elf64-aarch64.c,
+	* elf64-hppa.c, * elf64-mips.c, * elf64-ppc.c, * elf64-tilegx.c,
+	* elf64-x86-64.c, * elfcore.h, * elfn32-mips.c: Update all refs
+	to tdata core fields.
+
+2013-02-21  Alan Modra  <amodra@gmail.com>
+
+	* elf-bfd.h (struct elf_obj_tdata): Rename segment_map to seg_map.
+	Delete num_locals and num_globals.
+	(elf_num_locals, elf_num_globals): Don't define.
+	(elf_seg_map, elf_next_file_pos, elf_eh_frame_hdr, elf_linker,
+	elf_stack_flags, elf_strtab_sec, elf_shstrtab_sec): Define.
+	* bfd.c, * elf-eh-frame.c, * elf-nacl.c, * elf-vxworks.c, * elf.c,
+	* elf32-arm.c, * elf32-lm32.c, * elf32-ppc.c, * elf32-rx.c,
+	* elf32-spu.c, * elf64-hppa.c, * elfcode.h, * elflink.c,
+	* elfnn-ia64.c, * elfxx-mips.c: Use newly defined elf_obj_tdata
+	accessor macros.
+	* elf.c (elf_map_symbols): Add pnum_locals param.  Return
+	number of locals syms via new param.
+	(swap_out_syms): Adjust to suit elf_map_symbols change.
+
+2013-02-19  Maciej W. Rozycki  <macro@codesourcery.com>
+
+	* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Also clear
+	STO_MICROMIPS annotation.
+
 2013-02-19  Alan Modra  <amodra@gmail.com>
 
 	* configure.in: Bump version to 2.23.52.
@@ -930,8 +1023,8 @@
 2013-01-07  Tom Tromey  <tromey@redhat.com>
 
 	* section.c (_bfd_std_section): Rename from std_section.
-        (bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr)
-        (STD_SECTION): Update.
+	(bfd_com_section_ptr, bfd_und_section_ptr, bfd_abs_section_ptr)
+	(STD_SECTION): Update.
 	* bfd-in2.h: Rebuild.
 
 2013-01-04  Juergen Urban <JuergenUrban@gmx.de>
diff --git a/bfd/archive64.c b/bfd/archive64.c
index db4ce2c..be64e0d 100644
--- a/bfd/archive64.c
+++ b/bfd/archive64.c
@@ -1,6 +1,5 @@
-/* MIPS-specific support for 64-bit ELF
-   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007,
-   2010, 2012  Free Software Foundation, Inc.
+/* Support for 64-bit ELF archives.
+   Copyright 1996-2013 Free Software Foundation, Inc.
    Ian Lance Taylor, Cygnus Support
    Linker support added by Mark Mitchell, CodeSourcery, LLC.
    <mark@codesourcery.com>
@@ -200,7 +199,7 @@ bfd_elf64_archive_write_armap (bfd *arch,
        current = current->archive_next)
     {
       /* For each symbol which is used defined in this object, write out
-	 the object file's address in the archive */
+	 the object file's address in the archive.  */
 
       for (;
 	   count < symbol_count && map[count].u.abfd == current;
@@ -210,9 +209,11 @@ bfd_elf64_archive_write_armap (bfd *arch,
 	  if (bfd_bwrite (buf, 8, arch) != 8)
 	    return FALSE;
 	}
+
       /* Add size of this archive entry */
-      archive_member_file_ptr += (arelt_size (current)
-				  + sizeof (struct ar_hdr));
+      archive_member_file_ptr += sizeof (struct ar_hdr);
+      if (! bfd_is_thin_archive (arch))
+	archive_member_file_ptr += arelt_size (current);
       /* remember about the even alignment */
       archive_member_file_ptr += archive_member_file_ptr % 2;
     }
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 6dfd17f..524e97e 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -4239,6 +4239,7 @@ in .byte hlo8(symbol)  */
   BFD_RELOC_RL78_HI16,
   BFD_RELOC_RL78_HI8,
   BFD_RELOC_RL78_LO16,
+  BFD_RELOC_RL78_CODE,
 
 /* Renesas RX Relocations.  */
   BFD_RELOC_RX_NEG8,
diff --git a/bfd/bfd.c b/bfd/bfd.c
index cf50b70..d77b90f 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -1580,7 +1580,7 @@ bfd_record_phdr (bfd *abfd,
   if (count > 0)
     memcpy (m->sections, secs, count * sizeof (asection *));
 
-  for (pm = &elf_tdata (abfd)->segment_map; *pm != NULL; pm = &(*pm)->next)
+  for (pm = &elf_seg_map (abfd); *pm != NULL; pm = &(*pm)->next)
     ;
   *pm = m;
 
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 0f75b0b..ade2731 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -436,7 +436,7 @@ case "${targ}" in
     targ_selvecs=bfd_elf32_frv_vec
     ;;
 
-  moxie-*-elf | moxie-*-rtems | moxie-*-uclinux)
+  moxie-*-elf | moxie-*-rtems* | moxie-*-uclinux)
     targ_defvec=bfd_elf32_bigmoxie_vec
     targ_selvecs=bfd_elf32_littlemoxie_vec
     ;;
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index d2f62f5..72be700 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -1512,26 +1512,62 @@ struct sdt_note
   bfd_byte data[1];
 };
 
-/* NT_GNU_BUILD_ID note type info.  */
-struct elf_build_id_info
+/* NT_GNU_BUILD_ID note type info for input BFDs.  */
+struct elf_build_id
 {
-  union
+  size_t size;
+  bfd_byte data[1];
+};
+
+/* tdata information grabbed from an elf core file.  */
+struct core_elf_obj_tdata
+{
+  int signal;
+  int pid;
+  int lwpid;
+  char* program;
+  char* command;
+};
+
+/* Extra tdata information held for output ELF BFDs.  */
+struct output_elf_obj_tdata
+{
+  struct elf_segment_map *seg_map;
+  struct elf_strtab_hash *strtab_ptr;
+
+  /* STT_SECTION symbols for each section */
+  asymbol **section_syms;
+
+  /* Used to determine if PT_GNU_EH_FRAME segment header should be
+     created.  */
+  asection *eh_frame_hdr;
+
+  /* NT_GNU_BUILD_ID note type info.  */
+  struct
   {
-    /* Used on output bfd by linker.  */
-    struct elf_build_id_out
-    {
-      size_t zero;       /* Always zero */
-      bfd_boolean (*after_write_object_contents) (bfd *);
-      const char *style;
-      asection *sec;
-    } o;
-    /* Used for input bfd.  */
-    struct elf_build_id
-    {
-      size_t size;       /* Always non-zero */
-      bfd_byte data[1];
-    } i;
-  } u;
+    bfd_boolean (*after_write_object_contents) (bfd *);
+    const char *style;
+    asection *sec;
+  } build_id;
+
+  /* Records the result of `get_program_header_size'.  */
+  bfd_size_type program_header_size;
+
+  /* Used when laying out sections.  */
+  file_ptr next_file_pos;
+
+  int num_section_syms;
+  unsigned int shstrtab_section, strtab_section;
+
+  /* Segment flags for the PT_GNU_STACK segment.  */
+  unsigned int stack_flags;
+
+  /* This is set to TRUE if the object was created by the backend
+     linker.  */
+  bfd_boolean linker;
+
+  /* Used to determine if the e_flags field has been initialized */
+  bfd_boolean flags_init;
 };
 
 /* Some private data is stashed away for future use using the tdata pointer
@@ -1542,13 +1578,6 @@ struct elf_obj_tdata
   Elf_Internal_Ehdr elf_header[1];	/* Actual data, but ref like ptr */
   Elf_Internal_Shdr **elf_sect_ptr;
   Elf_Internal_Phdr *phdr;
-  struct elf_segment_map *segment_map;
-  struct elf_strtab_hash *strtab_ptr;
-  int num_locals;
-  int num_globals;
-  unsigned int num_elf_sections;	/* elf_sect_ptr size */
-  int num_section_syms;
-  asymbol **section_syms;		/* STT_SECTION symbols for each section */
   Elf_Internal_Shdr symtab_hdr;
   Elf_Internal_Shdr shstrtab_hdr;
   Elf_Internal_Shdr strtab_hdr;
@@ -1558,20 +1587,9 @@ struct elf_obj_tdata
   Elf_Internal_Shdr dynverref_hdr;
   Elf_Internal_Shdr dynverdef_hdr;
   Elf_Internal_Shdr symtab_shndx_hdr;
-  unsigned int symtab_section, shstrtab_section;
-  unsigned int strtab_section, dynsymtab_section;
-  unsigned int symtab_shndx_section;
-  unsigned int dynversym_section, dynverdef_section, dynverref_section;
-  file_ptr next_file_pos;
   bfd_vma gp;				/* The gp value */
   unsigned int gp_size;			/* The gp size */
-
-  /* Information grabbed from an elf core file.  */
-  int core_signal;
-  int core_pid;
-  int core_lwpid;
-  char* core_program;
-  char* core_command;
+  unsigned int num_elf_sections;	/* elf_sect_ptr size */
 
   /* A mapping from external symbols to entries in the linker hash
      table, used when linking.  This is indexed by the symbol index
@@ -1602,9 +1620,6 @@ struct elf_obj_tdata
      are used by a dynamic object.  */
   const char *dt_audit;
 
-  /* Records the result of `get_program_header_size'.  */
-  bfd_size_type program_header_size;
-
   /* Used by find_nearest_line entry point.  */
   void *line_info;
 
@@ -1617,22 +1632,12 @@ struct elf_obj_tdata
   /* Stash away info for yet another find line/function variant.  */
   void *elf_find_function_cache;
 
-  /* Used to determine if PT_GNU_EH_FRAME segment header should be
-     created.  */
-  asection *eh_frame_hdr;
-
-  Elf_Internal_Shdr **group_sect_ptr;
-  int num_group;
-
   /* Number of symbol version definitions we are about to emit.  */
   unsigned int cverdefs;
 
   /* Number of symbol version references we are about to emit.  */
   unsigned int cverrefs;
 
-  /* Segment flags for the PT_GNU_STACK segment.  */
-  unsigned int stack_flags;
-
   /* Symbol version definitions in external objects.  */
   Elf_Internal_Verdef *verdef;
 
@@ -1642,25 +1647,6 @@ struct elf_obj_tdata
   /* A pointer to the .eh_frame section.  */
   asection *eh_frame_section;
 
-  /* Whether a dyanmic object was specified normally on the linker
-     command line, or was specified when --as-needed was in effect,
-     or was found via a DT_NEEDED entry.  */
-  enum dynamic_lib_link_class dyn_lib_class;
-
-  /* This is set to TRUE if the object was created by the backend
-     linker.  */
-  bfd_boolean linker;
-
-  /* Irix 5 often screws up the symbol table, sorting local symbols
-     after global symbols.  This flag is set if the symbol table in
-     this BFD appears to be screwed up.  If it is, we ignore the
-     sh_info field in the symbol table header, and always read all the
-     symbols.  */
-  bfd_boolean bad_symtab;
-
-  /* Used to determine if the e_flags field has been initialized */
-  bfd_boolean flags_init;
-
   /* Symbol buffer.  */
   void *symbuf;
 
@@ -1668,33 +1654,64 @@ struct elf_obj_tdata
   obj_attribute_list *other_obj_attributes[2];
 
   /* NT_GNU_BUILD_ID note type.  */
-  struct elf_build_id_info *build_id;
+  struct elf_build_id *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;
 
+  Elf_Internal_Shdr **group_sect_ptr;
+  int num_group;
+
+  unsigned int symtab_section, symtab_shndx_section, dynsymtab_section;
+  unsigned int dynversym_section, dynverdef_section, dynverref_section;
+
+  /* An identifier used to distinguish different target
+     specific extensions to this structure.  */
+  enum elf_target_id object_id;
+
+  /* Whether a dyanmic object was specified normally on the linker
+     command line, or was specified when --as-needed was in effect,
+     or was found via a DT_NEEDED entry.  */
+  enum dynamic_lib_link_class dyn_lib_class;
+
+  /* Irix 5 often screws up the symbol table, sorting local symbols
+     after global symbols.  This flag is set if the symbol table in
+     this BFD appears to be screwed up.  If it is, we ignore the
+     sh_info field in the symbol table header, and always read all the
+     symbols.  */
+  bfd_boolean bad_symtab;
+
   /* 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.  */
   bfd_boolean has_gnu_symbols;
 
-  /* An identifier used to distinguish different target
-     specific extensions to this structure.  */
-  enum elf_target_id object_id;
+  /* Information grabbed from an elf core file.  */
+  struct core_elf_obj_tdata *core;
+
+  /* More information held for output ELF BFDs.  */
+  struct output_elf_obj_tdata *o;
 };
 
 #define elf_tdata(bfd)		((bfd) -> tdata.elf_obj_data)
 
 #define elf_object_id(bfd)	(elf_tdata(bfd) -> object_id)
-#define elf_program_header_size(bfd) (elf_tdata(bfd) -> program_header_size)
+#define elf_program_header_size(bfd) (elf_tdata(bfd) -> o->program_header_size)
 #define elf_elfheader(bfd)	(elf_tdata(bfd) -> elf_header)
 #define elf_elfsections(bfd)	(elf_tdata(bfd) -> elf_sect_ptr)
 #define elf_numsections(bfd)	(elf_tdata(bfd) -> num_elf_sections)
-#define elf_shstrtab(bfd)	(elf_tdata(bfd) -> strtab_ptr)
+#define elf_seg_map(bfd)	(elf_tdata(bfd) -> o->seg_map)
+#define elf_next_file_pos(bfd)	(elf_tdata(bfd) -> o->next_file_pos)
+#define elf_eh_frame_hdr(bfd)	(elf_tdata(bfd) -> o->eh_frame_hdr)
+#define elf_linker(bfd)		(elf_tdata(bfd) -> o->linker)
+#define elf_stack_flags(bfd)	(elf_tdata(bfd) -> o->stack_flags)
+#define elf_shstrtab(bfd)	(elf_tdata(bfd) -> o->strtab_ptr)
 #define elf_onesymtab(bfd)	(elf_tdata(bfd) -> symtab_section)
 #define elf_symtab_shndx(bfd)	(elf_tdata(bfd) -> symtab_shndx_section)
+#define elf_strtab_sec(bfd)	(elf_tdata(bfd) -> o->strtab_section)
+#define elf_shstrtab_sec(bfd)	(elf_tdata(bfd) -> o->shstrtab_section)
 #define elf_symtab_hdr(bfd)	(elf_tdata(bfd) -> symtab_hdr)
 #define elf_dynsymtab(bfd)	(elf_tdata(bfd) -> dynsymtab_section)
 #define elf_dynversym(bfd)	(elf_tdata(bfd) -> dynversym_section)
@@ -1702,10 +1719,8 @@ struct elf_obj_tdata
 #define elf_dynverref(bfd)	(elf_tdata(bfd) -> dynverref_section)
 #define elf_eh_frame_section(bfd) \
 				(elf_tdata(bfd) -> eh_frame_section)
-#define elf_num_locals(bfd)	(elf_tdata(bfd) -> num_locals)
-#define elf_num_globals(bfd)	(elf_tdata(bfd) -> num_globals)
-#define elf_section_syms(bfd)	(elf_tdata(bfd) -> section_syms)
-#define elf_num_section_syms(bfd) (elf_tdata(bfd) -> num_section_syms)
+#define elf_section_syms(bfd)	(elf_tdata(bfd) -> o->section_syms)
+#define elf_num_section_syms(bfd) (elf_tdata(bfd) -> o->num_section_syms)
 #define core_prpsinfo(bfd)	(elf_tdata(bfd) -> prpsinfo)
 #define core_prstatus(bfd)	(elf_tdata(bfd) -> prstatus)
 #define elf_gp(bfd)		(elf_tdata(bfd) -> gp)
@@ -1718,7 +1733,7 @@ struct elf_obj_tdata
 #define elf_dt_audit(bfd)	(elf_tdata(bfd) -> dt_audit)
 #define elf_dyn_lib_class(bfd)	(elf_tdata(bfd) -> dyn_lib_class)
 #define elf_bad_symtab(bfd)	(elf_tdata(bfd) -> bad_symtab)
-#define elf_flags_init(bfd)	(elf_tdata(bfd) -> flags_init)
+#define elf_flags_init(bfd)	(elf_tdata(bfd) -> o->flags_init)
 #define elf_known_obj_attributes(bfd) (elf_tdata (bfd) -> known_obj_attributes)
 #define elf_other_obj_attributes(bfd) (elf_tdata (bfd) -> other_obj_attributes)
 #define elf_known_obj_attributes_proc(bfd) \
diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c
index 24ae741..832a991 100644
--- a/bfd/elf-eh-frame.c
+++ b/bfd/elf-eh-frame.c
@@ -1243,7 +1243,7 @@ _bfd_elf_discard_section_eh_frame_hdr (bfd *abfd, struct bfd_link_info *info)
   if (hdr_info->table)
     sec->size += 4 + hdr_info->fde_count * 8;
 
-  elf_tdata (abfd)->eh_frame_hdr = sec;
+  elf_eh_frame_hdr (abfd) = sec;
   return TRUE;
 }
 
diff --git a/bfd/elf-nacl.c b/bfd/elf-nacl.c
index 6753c7c..39ffb5d 100644
--- a/bfd/elf-nacl.c
+++ b/bfd/elf-nacl.c
@@ -71,7 +71,7 @@ segment_eligible_for_headers (struct elf_segment_map *seg,
 bfd_boolean
 nacl_modify_segment_map (bfd *abfd, struct bfd_link_info *info)
 {
-  struct elf_segment_map **m = &elf_tdata (abfd)->segment_map;
+  struct elf_segment_map **m = &elf_seg_map (abfd);


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


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

end of thread, other threads:[~2013-03-06 10:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-06 10:22 [SCM] gbenson/rtld-probes: Merge branch 'master' of git://sourceware.org/git/gdb into gbenson/rtld-probes gary
  -- strict thread matches above, loose matches on Subject: below --
2013-03-05 11:20 gary

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