public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-jankratochvil-watchpoint3: Merge branch 'd-cleanup-fork-multifix-kernel' into archer-jankratochvil-watchpoint3
@ 2011-12-16 19:56 jkratoch
  0 siblings, 0 replies; 2+ messages in thread
From: jkratoch @ 2011-12-16 19:56 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-watchpoint3 has been updated
       via  4adf33710235ff29c378e08bbd2896dc001aa6fd (commit)
       via  41fcf550721dfa78227750b369607c48b9f83855 (commit)
       via  e45b0a2e035d3e3c20655c258f894b5eceebe997 (commit)
       via  31181f30a03df7bb4a8b3942f58d2bfa4a88ee33 (commit)
       via  f621857745cdbb9883c1bbe815bf7ee69c3d49a3 (commit)
       via  0ce73251c960b4a4224f83db9919afd6208dd681 (commit)
       via  2ca72fe3a260fefd1d3000f6eccf71056e64bfd9 (commit)
       via  54fa9aea78082527169a3a5769c051d969fbd459 (commit)
       via  d95226e00aec5046bee152f569a11f41cf1edce1 (commit)
       via  ed0dffdab196c1568988363cd7616ec513af5f10 (commit)
      from  0d55f873daeb5e428faab1f52316cd0fbde98839 (commit)

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

- Log -----------------------------------------------------------------
commit 4adf33710235ff29c378e08bbd2896dc001aa6fd
Merge: 0d55f87 41fcf55
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 20:56:17 2011 +0100

    Merge branch 'd-cleanup-fork-multifix-kernel' into archer-jankratochvil-watchpoint3

commit 41fcf550721dfa78227750b369607c48b9f83855
Merge: 2ca72fe e45b0a2
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 20:55:53 2011 +0100

    Merge branch 'd-cleanup-fork-multifix' into d-cleanup-fork-multifix-kernel

commit e45b0a2e035d3e3c20655c258f894b5eceebe997
Merge: 54fa9ae 31181f3
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 20:55:53 2011 +0100

    Merge branch 'd-cleanup-fork' into d-cleanup-fork-multifix

commit 31181f30a03df7bb4a8b3942f58d2bfa4a88ee33
Merge: 0ce7325 f621857
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 20:55:51 2011 +0100

    .

commit f621857745cdbb9883c1bbe815bf7ee69c3d49a3
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 20:55:21 2011 +0100

    .

commit 0ce73251c960b4a4224f83db9919afd6208dd681
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 20:50:51 2011 +0100

    .

commit 2ca72fe3a260fefd1d3000f6eccf71056e64bfd9
Merge: e82dfd4 54fa9ae
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 20:49:01 2011 +0100

    Merge branch 'd-cleanup-fork-multifix' into d-cleanup-fork-multifix-kernel

commit 54fa9aea78082527169a3a5769c051d969fbd459
Merge: c3cad1f d95226e
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 20:49:01 2011 +0100

    Merge branch 'd-cleanup-fork' into d-cleanup-fork-multifix

commit d95226e00aec5046bee152f569a11f41cf1edce1
Merge: 5b1f0e7 ed0dffd
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 20:49:01 2011 +0100

    Merge branch 'd-cleanup' into d-cleanup-fork

commit ed0dffdab196c1568988363cd7616ec513af5f10
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 20:48:58 2011 +0100

    .

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

Summary of changes:
 gdb/ppc-linux-nat.c |   38 ++++++++++++++++++++++++--------------
 1 files changed, 24 insertions(+), 14 deletions(-)

First 500 lines of diff:
diff --git a/gdb/ppc-linux-nat.c b/gdb/ppc-linux-nat.c
index 261aa47..762cd9c 100644
--- a/gdb/ppc-linux-nat.c
+++ b/gdb/ppc-linux-nat.c
@@ -1563,14 +1563,13 @@ booke_find_thread_points_by_tid (int tid, int alloc_new)
   return t;
 }
 
-/* This function is a callback for iterate_over_lwps that is responsible for
-   inserting a *point (i.e., calling `ptrace' in order to issue the request to
-   the kernel) and registering it internally in GDB.  */
+/* This function is a generic wrapper that is responsible for inserting a
+   *point (i.e., calling `ptrace' in order to issue the request to the
+   kernel) and registering it internally in GDB.  */
 
-static int
-booke_insert_point (struct lwp_info *lp, void *b_voidp)
+static void
+booke_insert_point (struct lwp_info *lp, struct ppc_hw_breakpoint *b)
 {
-  struct ppc_hw_breakpoint *b = b_voidp;
   int i;
   long slot;
   struct ppc_hw_breakpoint *p = xmalloc (sizeof (struct ppc_hw_breakpoint));
@@ -1603,17 +1602,28 @@ booke_insert_point (struct lwp_info *lp, void *b_voidp)
   gdb_assert (i != max_slots_number);
 
   discard_cleanups (c);
+}
+
+/* Callback for linux_nat_iterate_watchpoint_lwps
+   calling booke_insert_point.  */
+
+static int
+booke_insert_point_callback (struct lwp_info *lp, void *b_voidp)
+{
+  struct ppc_hw_breakpoint *b = b_voidp;
+
+  booke_insert_point (lp, b);
 
   /* Continue the traversal.  */
   return 0;
 }
 
-/* This function is a callback for iterate_over_lwps that is responsible for
-   removing a *point (i.e., calling `ptrace' in order to issue the request to
-   the kernel), and unregistering it internally at GDB.  */
+/* This function is a callback for linux_nat_iterate_watchpoint_lwps that is
+   responsible for removing a *point (i.e., calling `ptrace' in order to issue
+   the request to the kernel), and unregistering it internally at GDB.  */
 
 static int
-booke_remove_point (struct lwp_info *lp, void *b_voidp)
+booke_remove_point_callback (struct lwp_info *lp, void *b_voidp)
 {
   struct ppc_hw_breakpoint *b = b_voidp;
   int i;
@@ -1689,7 +1699,7 @@ ppc_linux_insert_hw_breakpoint (struct gdbarch *gdbarch,
       p.addr2 = 0;
     }
 
-  linux_nat_iterate_watchpoint_lwps (booke_insert_point, &p);
+  linux_nat_iterate_watchpoint_lwps (booke_insert_point_callback, &p);
 
   return 0;
 }
@@ -1764,7 +1774,7 @@ ppc_linux_insert_mask_watchpoint (struct target_ops *ops, CORE_ADDR addr,
   p.addr2 = mask;
   p.condition_value = 0;
 
-  iterate_over_lwps (minus_one_ptid, booke_insert_point, &p);
+  iterate_over_lwps (minus_one_ptid, booke_insert_point_callback, &p);
 
   return 0;
 }
@@ -1790,7 +1800,7 @@ ppc_linux_remove_mask_watchpoint (struct target_ops *ops, CORE_ADDR addr,
   p.addr2 = mask;
   p.condition_value = 0;
 
-  iterate_over_lwps (minus_one_ptid, booke_remove_point, &p);
+  iterate_over_lwps (minus_one_ptid, booke_remove_point_callback, &p);
 
   return 0;
 }
@@ -2087,7 +2097,7 @@ ppc_linux_insert_watchpoint (CORE_ADDR addr, int len, int rw,
 
       create_watchpoint_request (&p, addr, len, rw, cond, 1);
 
-      linux_nat_iterate_watchpoint_lwps (booke_insert_point, &p);
+      linux_nat_iterate_watchpoint_lwps (booke_insert_point_callback, &p);
 
       ret = 0;
     }


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


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

* [SCM]  archer-jankratochvil-watchpoint3: Merge branch 'd-cleanup-fork-multifix-kernel' into archer-jankratochvil-watchpoint3
@ 2011-12-16 19:18 jkratoch
  0 siblings, 0 replies; 2+ messages in thread
From: jkratoch @ 2011-12-16 19:18 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-watchpoint3 has been updated
       via  0d55f873daeb5e428faab1f52316cd0fbde98839 (commit)
       via  e82dfd4fd226870a0053e7357b28141f50268d22 (commit)
       via  c3cad1f328b8e2e1209bd658679ca903ad1bb15a (commit)
       via  5b1f0e74b9c3f038a519e411a62fcd113556dd8c (commit)
       via  b55bca6a92833caef7dab90d0a0bf5e54a12ee14 (commit)
       via  937fb3cf50e139542d7e719ce03613e2385986e0 (commit)
       via  a9591f3717ce42b8ffe474934794eb867eeaeaca (commit)
       via  1265676368421cef66c0be5d3eaad1bbd73ddb06 (commit)
       via  f53ea6f2295bfbde6b7b25f49b0db37683a12bbf (commit)
       via  a3861fb4b293f34a9ab0352eeda28c8c2b8cc545 (commit)
       via  3c1cdf5c4dbfc7e21d15f480a6dac97a925027f7 (commit)
       via  f25cd8044ea4e999e10ee76525da02dcecd10228 (commit)
       via  e4fb5b36e727cbc5dab9d0aa3ec7d1571d1f6386 (commit)
       via  1db3683926a3a59aead1b8fe1786cc00a980ee9a (commit)
       via  3ab50e86e8508015d02c8878f15c8ff347b3ea09 (commit)
       via  6490e9f5195eec64474a9cc4ac7d555aa66bfcf7 (commit)
       via  18b5bc919fef82b12160f13fdc866517f11ac504 (commit)
       via  116e97dfa83f31567e00d8505fb4a7c5c5425008 (commit)
       via  0b7a03ef76ddff8ffaa5958daa120de27de0d46a (commit)
       via  0afd7d4fdfbd1ccb6aa5e38bacd2b7c3f866ae83 (commit)
       via  d7d7d4a8af521d5085649efa0455ec4c518096cc (commit)
       via  2264fddbce9917d504b43147475f2c2ade7b556a (commit)
       via  bbbee4e203ea9541042c261e0fc8e2665e69c863 (commit)
       via  8a73279563c92f936d7930c69904f3b1a48898f0 (commit)
       via  280cff7073cf242902ada5789d40780b1abc03df (commit)
       via  b3a64ef033227bf06245b504c664f48cc4c72213 (commit)
       via  fa2ec0ad0b2a0e4768a9a5a673b092843994d333 (commit)
       via  65fcfbd8e78197cd19e94b4e9250344a391d0377 (commit)
       via  cf29a921aad9b63cc0778cdb37089dfbec39d17d (commit)
       via  76b16fa6636a68bc382b76f23f044fe05d73c0e2 (commit)
       via  579bc7bf73582a87ab28259920e0d35623a8e971 (commit)
       via  9dcf5fa00224eba53fbd2f993fc8cc63aa276ebb (commit)
       via  fbe5b50a657ba2ff014801fe82a4526ae03fa8c3 (commit)
       via  4fb18ac3fbda14a6625966eaf79c9dac499ed7a6 (commit)
       via  286afd5105cca068f65ca83cf863cdbbdc8a1597 (commit)
       via  a955b1659a346c02dd6877c91fa3a15d05083778 (commit)
       via  8bb06cdfd33271c49982086c5cb348b9a4050065 (commit)
      from  ef2981b547f099dc2c065e5bf3330e043678a479 (commit)

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

- Log -----------------------------------------------------------------
commit 0d55f873daeb5e428faab1f52316cd0fbde98839
Merge: ef2981b e82dfd4
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 20:18:31 2011 +0100

    Merge branch 'd-cleanup-fork-multifix-kernel' into archer-jankratochvil-watchpoint3

commit e82dfd4fd226870a0053e7357b28141f50268d22
Merge: f53ea6f c3cad1f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 20:12:05 2011 +0100

    Merge branch 'd-cleanup-fork-multifix' into d-cleanup-fork-multifix-kernel

commit c3cad1f328b8e2e1209bd658679ca903ad1bb15a
Merge: a3861fb 5b1f0e7
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 20:12:05 2011 +0100

    Merge branch 'd-cleanup-fork' into d-cleanup-fork-multifix

commit 5b1f0e74b9c3f038a519e411a62fcd113556dd8c
Merge: 3c1cdf5 b55bca6
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 20:11:56 2011 +0100

    .

commit b55bca6a92833caef7dab90d0a0bf5e54a12ee14
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 19:54:26 2011 +0100

    .

commit 937fb3cf50e139542d7e719ce03613e2385986e0
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 19:52:42 2011 +0100

    .

commit a9591f3717ce42b8ffe474934794eb867eeaeaca
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 19:52:28 2011 +0100

    Revert "."
    
    This reverts commit 1265676368421cef66c0be5d3eaad1bbd73ddb06.

commit 1265676368421cef66c0be5d3eaad1bbd73ddb06
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 19:50:57 2011 +0100

    .

commit f53ea6f2295bfbde6b7b25f49b0db37683a12bbf
Merge: 3a8ffe9 a3861fb
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 17:24:37 2011 +0100

    Merge branch 'd-cleanup-fork-multifix' into d-cleanup-fork-multifix-kernel

commit a3861fb4b293f34a9ab0352eeda28c8c2b8cc545
Merge: fa8d29e 3c1cdf5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 17:24:37 2011 +0100

    Merge branch 'd-cleanup-fork' into d-cleanup-fork-multifix

commit 3c1cdf5c4dbfc7e21d15f480a6dac97a925027f7
Merge: 9ae9670 f25cd80
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 17:24:37 2011 +0100

    Merge branch 'd-cleanup' into d-cleanup-fork

commit f25cd8044ea4e999e10ee76525da02dcecd10228
Merge: 0792bb9 e4fb5b3
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 17:24:36 2011 +0100

    Merge branch 'd' into d-cleanup

commit e4fb5b36e727cbc5dab9d0aa3ec7d1571d1f6386
Merge: af75878 1db3683
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri Dec 16 17:24:36 2011 +0100

    Merge remote-tracking branch 'gdb/master' into d

commit 1db3683926a3a59aead1b8fe1786cc00a980ee9a
Author: pmuldoon <pmuldoon>
Date:   Fri Dec 16 15:55:35 2011 +0000

    2011-12-16  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* testsuite/gdb.python/py-function.exp: Change "on" to "full" for
    	python print-stack.  Add set/show python print-stack
    	off|full|message tests.
    
    2011-12-16  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* python/python.c: Define python_excp_enums.
    	(eval_python_from_control_command): Do not call gdbpy_print_stack.
    	(python_command): Ditto.
    	(gdbpy_print_stack): Rewrite to use new enum constants.
    	(maint_set_python): Remove function.
    	(maint_show_python): Ditto.
    	(_initialize_python): Do not add "maint" commands.  Add "set/show
    	python print-stack commands".
    	* NEWS: Update to reflect removal for "maint set/show
    	print-stack"
    
    2011-12-16  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* doc/gdb.texinfo (Python Commands): Remove "maint set/show print
    	stack".  Add documentation for "set/show python print-stack".

commit 3ab50e86e8508015d02c8878f15c8ff347b3ea09
Author: Tristan Gingold <gingold@adacore.com>
Date:   Fri Dec 16 13:39:02 2011 +0000

    2011-12-16  Shinichiro Hamaji  <shinichiro.hamaji@gmail.com>
    
    	* mach-o-i386.c (TARGET_PRIORITY): Define as 0 (top priority)
    	* mach-o-target.c (TARGET_NAME): Use TARGET_PRIORITY
    	* mach-o-x86-64.c (TARGET_PRIORITY): Define as 0 (top priority)
    	* mach-o.c (bfd_mach_o_header_p): Remove special handling for
    	mach-o-i386.
    	(TARGET_PRIORITY) Set 1 for mach-o-be and mach-o-le, and set 0 for
    	mach-o-fat.

commit 6490e9f5195eec64474a9cc4ac7d555aa66bfcf7
Author: Tristan Gingold <gingold@adacore.com>
Date:   Fri Dec 16 10:23:01 2011 +0000

    binutils/
    2011-12-16  Tristan Gingold  <gingold@adacore.com>
    
    	* od-macho.c: Include mach-o/codesign.h
    	(OPT_CODESIGN): Define.
    	(options): Add an entry for codesign.
    	(mach_o_help): Likewise.
    	(dump_header): Fix indentation.
    	(dump_thread): Do not test result of xmalloc.
    	(bfd_mach_o_cs_magic, bfd_mach_o_cs_hash_type): New.
    	(dump_code_signature_superblob): New function.
    	(swap_code_codedirectory_v1_in): Likewise.
    	(hexdump): Likewise.
    	(dump_code_signature_codedirectory): Likewise.
    	(dump_code_signature_blob, dump_code_signature): Likewise.
    	(dump_load_command): Dump code signature.
    	(mach_o_dump): Likewise.
    
    include/mach-o/
    2011-12-16  Tristan Gingold  <gingold@adacore.com>
    
    	* codesign.h: New file.

commit 18b5bc919fef82b12160f13fdc866517f11ac504
Author: Kevin Buettner <kevinb@redhat.com>
Date:   Fri Dec 16 00:08:04 2011 +0000

    	* elf32-am33lin.c (elf32_am33lin_grok_prstatus): Add case
    	to correspond to a smaller ELF_NGREG defined by the kernel.

commit 116e97dfa83f31567e00d8505fb4a7c5c5425008
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Dec 16 00:00:32 2011 +0000

    *** empty log message ***

commit 0b7a03ef76ddff8ffaa5958daa120de27de0d46a
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Dec 15 23:00:05 2011 +0000

    daily update

commit 0afd7d4fdfbd1ccb6aa5e38bacd2b7c3f866ae83
Author: Jeff Johnston <jjohnstn@redhat.com>
Date:   Thu Dec 15 22:59:14 2011 +0000

    2011-12-15  Jeff Johnston  <jjohnstn@redhat.com>
    
            * COPYING.LIBGLOSS: Add GPL with exception license.

commit d7d7d4a8af521d5085649efa0455ec4c518096cc
Author: Doug Evans <dje@google.com>
Date:   Thu Dec 15 22:15:30 2011 +0000

    	* exceptions.c (catcher_list_size): New function.
    	(last_message): Delete.
    	(exception_messages, exception_messages_size): New static globals.
    	(throw_it): Use exception_messages array to handle nested calls.

commit 2264fddbce9917d504b43147475f2c2ade7b556a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Dec 15 17:30:57 2011 +0000

    Set the default x32 interpreter to "/lib/ldx32.so.1"
    
    2011-12-15  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* elf64-x86-64.c (ELF32_DYNAMIC_INTERPRETER): Set to
    	 "/lib/ldx32.so.1".

commit bbbee4e203ea9541042c261e0fc8e2665e69c863
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Dec 15 15:36:53 2011 +0000

    	* symfile.c (symbol_file_add_with_addrs_or_offsets): Remove bad
    	do_cleanups call.

commit 8a73279563c92f936d7930c69904f3b1a48898f0
Author: Tristan Gingold <gingold@adacore.com>
Date:   Thu Dec 15 14:04:51 2011 +0000

    2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
    
    	* mach-o.c (bfd_mach_o_mkobject_init): Initialize dyn_reloc_cache.
    	(bfd_mach_o_close_and_cleanup): Only cleanup Mach-O private data
    	for object files.

commit 280cff7073cf242902ada5789d40780b1abc03df
Author: qiyao <qiyao>
Date:   Thu Dec 15 12:43:03 2011 +0000

    gdb/testsuite/
    	* gdb.trace/strace.c: New
    	* gdb.trace/strace.exp: New.

commit b3a64ef033227bf06245b504c664f48cc4c72213
Author: qiyao <qiyao>
Date:   Thu Dec 15 12:40:03 2011 +0000

    gdb/gdbserver/
    	* tracepoint.c: Include sys/syscall.h.
    	(gdb_ust_thread): Remove preprocessor conditional.

commit fa2ec0ad0b2a0e4768a9a5a673b092843994d333
Author: Tristan Gingold <gingold@adacore.com>
Date:   Thu Dec 15 11:01:14 2011 +0000

    2011-12-15  Shinichiro Hamaji  <shinichiro.hamaji@gmail.com>
    
    	* mach-o.c (bfd_mach_o_canonicalize_reloc): Update relocation
    	table only when there isn't the cahce.
    	(bfd_mach_o_get_dynamic_reloc_upper_bound): Need one more space
    	for a pointer for the watchdog.
    	(bfd_mach_o_canonicalize_dynamic_reloc): Utilize cache like
    	bfd_mach_o_canonicalize_reloc.
    	(bfd_mach_o_close_and_cleanup): Call bfd_mach_o_free_cached_info.
    	(bfd_mach_o_free_cached_info): Free up cache data.
    	* mach-o.h (reloc_cache): A place to store cache of dynamic relocs.
    	(bfd_mach_o_free_cached_info): Add declaration.

commit 65fcfbd8e78197cd19e94b4e9250344a391d0377
Author: Tristan Gingold <gingold@adacore.com>
Date:   Thu Dec 15 10:56:46 2011 +0000

    bfd/
    2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
    
    	* mach-o-target.c (bfd_mach_o_bfd_set_private_flags): Use
    	bfd_mach_o_bfd_set_private_flags.
    	* mach-o.c (bfd_mach_o_bfd_set_private_flags): New.
    	* mach-o.h (bfd_mach_o_bfd_set_private_flags): Declare.
    
    gas/
    2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
    
    	* config/obj-macho.c (obj_mach_o_subsections_by_symbols): New global.
    	(obj_mach_o_file_properties): New enum.
    	(obj_mach_o_subsections_via_symbols):  Generalize name to...
    	... (obj_mach_o_fileprop) and use to set subsections_via_symbols.
    
    gas/testsuite/
    2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
    
    	* gas/mach-o/subsect-via-symbols-0.d: New.
    	* gas/mach-o/subsect-via-symbols-1.d: New.
    	* gas/mach-o/subsect-via-symbols.s: New.

commit cf29a921aad9b63cc0778cdb37089dfbec39d17d
Author: Nick Clifton <nickc@redhat.com>
Date:   Thu Dec 15 10:21:48 2011 +0000

    	* frv.opc (parse_uhi16): Fix handling of %hi operator on 64-bit
    	hosts.
    
    	* cgen-asm.c (cgen_parse_signed_integer): Add code to handle the
    	sign extension of negative values on a 64-bit host.
    	* frv-asm.c: Regenerate.
    
    	* gas/frv/immediates.s: New test file - checks assembly of
    	constant values.
    	* gas/frv/immediates.d: Expected disassmbly.
    	* gas/frv/allinsn.exp: Run the new test.

commit 76b16fa6636a68bc382b76f23f044fe05d73c0e2
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Dec 15 00:00:33 2011 +0000

    *** empty log message ***

commit 579bc7bf73582a87ab28259920e0d35623a8e971
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Dec 14 23:00:06 2011 +0000

    daily update

commit 9dcf5fa00224eba53fbd2f993fc8cc63aa276ebb
Author: Doug Evans <dje@google.com>
Date:   Wed Dec 14 20:53:56 2011 +0000

    	* defs.h (wait_to_die_with_timeout): Declare.
    	* utils.c: #include "gdb_wait.h".
    	(sigalrm_handler, wait_to_die_with_timeout): New functions.
    	* ser-pipe.c: Don't #include "gdb_wait.h".
    	(pipe_close): Give child a chance to die on its own after closing
    	its stdin before SIGTERM'ing it.

commit fbe5b50a657ba2ff014801fe82a4526ae03fa8c3
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Dec 14 20:27:47 2011 +0000

    Fix latest ChangeLog entry (forgot to give credit to reporter)

commit 4fb18ac3fbda14a6625966eaf79c9dac499ed7a6
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed Dec 14 20:24:57 2011 +0000

    fix uninitialized field in ada-lang.c (struct match_data)
    
    Field found_sym in add_nonlocal_symbols's struct match_data is
    used uninitialized.  Rather than adding the initialization of
    this field (to zero), we set the entire structure to zero first,
    and then set the fields that need to be initialized to non-zero
    next.
    
    gdb/ChangeLog:
    
            * ada-lang.c (add_nonlocal_symbols): Initialize data to
            all zeros.  Remove setting of data.arg_sym to NULL.

commit 286afd5105cca068f65ca83cf863cdbbdc8a1597
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Dec 14 19:59:25 2011 +0000

    	* gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.

commit a955b1659a346c02dd6877c91fa3a15d05083778
Author: Doug Evans <dje@google.com>
Date:   Wed Dec 14 19:50:17 2011 +0000

    	* lib/gdb.exp (gdb_start_cmd): Fix error return value.

commit 8bb06cdfd33271c49982086c5cb348b9a4050065
Author: Doug Evans <dje@google.com>
Date:   Wed Dec 14 18:55:12 2011 +0000

    Fix typo in "Changes since ...".

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

Summary of changes:
 COPYING.LIBGLOSS                              |   37 +++++++
 ChangeLog                                     |    4 +
 bfd/ChangeLog                                 |   46 ++++++++
 bfd/elf32-am33lin.c                           |    1 +
 bfd/elf64-x86-64.c                            |    2 +-
 bfd/mach-o-i386.c                             |    1 +
 bfd/mach-o-target.c                           |    4 +-
 bfd/mach-o-x86-64.c                           |    1 +
 bfd/mach-o.c                                  |  115 ++++++++++++++-------
 bfd/mach-o.h                                  |    5 +
 bfd/version.h                                 |    2 +-
 cpu/ChangeLog                                 |    5 +
 cpu/frv.opc                                   |   10 +-
 gdb/ChangeLog                                 |   40 +++++++
 gdb/NEWS                                      |    9 +-
 gdb/ada-lang.c                                |    2 +-
 gdb/amd64-linux-nat.c                         |   35 +++++-
 gdb/defs.h                                    |    4 +
 gdb/doc/ChangeLog                             |    5 +
 gdb/doc/gdb.texinfo                           |   16 +--
 gdb/exceptions.c                              |   58 +++++++++--
 gdb/gdbserver/ChangeLog                       |    5 +
 gdb/gdbserver/tracepoint.c                    |    4 +-
 gdb/i386-linux-nat.c                          |   49 +++++++--
 gdb/ppc-linux-nat.c                           |  107 ++++++++-----------
 gdb/python/python.c                           |  142 ++++++++++++-------------
 gdb/ser-pipe.c                                |   25 ++++-
 gdb/symfile.c                                 |    2 -
 gdb/testsuite/ChangeLog                       |   19 ++++
 gdb/testsuite/gdb.dwarf2/dw2-inline-param.exp |    4 +-
 gdb/testsuite/gdb.python/py-function.exp      |    2 +-
 gdb/testsuite/gdb.python/py-prettyprint.exp   |    2 +-
 gdb/testsuite/gdb.python/python.exp           |   75 +++++++++++--
 gdb/testsuite/gdb.trace/strace.c              |   32 ++++++
 gdb/testsuite/gdb.trace/strace.exp            |  118 ++++++++++++++++++++
 gdb/testsuite/lib/gdb.exp                     |    2 +-
 gdb/utils.c                                   |   73 +++++++++++++
 gdb/version.in                                |    2 +-
 include/mach-o/ChangeLog                      |    4 +
 include/mach-o/codesign.h                     |   85 +++++++++++++++
 opcodes/ChangeLog                             |    6 +
 opcodes/cgen-asm.c                            |   22 ++++-
 opcodes/frv-asm.c                             |   10 +-
 43 files changed, 945 insertions(+), 247 deletions(-)
 create mode 100644 gdb/testsuite/gdb.trace/strace.c
 create mode 100644 gdb/testsuite/gdb.trace/strace.exp
 create mode 100644 include/mach-o/codesign.h

First 500 lines of diff:
diff --git a/COPYING.LIBGLOSS b/COPYING.LIBGLOSS
index 5e78978..6f68cf2 100644
--- a/COPYING.LIBGLOSS
+++ b/COPYING.LIBGLOSS
@@ -285,3 +285,40 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+(16) - GPL with exception (sparc-*leon*, crx-*, cr16-* targets only)
+
+  Copyright (C) 1992 Free Software Foundation, Inc.
+  Written By David Vinayak Henkel-Wallace, June 1992
+
+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 the
+Free Software Foundation; either version 2, or (at your option) any
+later version.
+
+In addition to the permissions in the GNU General Public License, the
+Free Software Foundation gives you unlimited permission to link the
+compiled version of this file with other programs, and to distribute
+those programs without any restriction coming from the use of this
+file.  (The General Public License restrictions do apply in other
+respects; for example, they cover modification of the file, and
+distribution when not linked into another program.)
+
+This file 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; see the file COPYING.  If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.
+
+   As a special exception, if you link this library with files
+   compiled with GCC to produce an executable, this does not cause
+   the resulting executable to be covered by the GNU General Public License.
+   This exception does not however invalidate any other reasons why
+   the executable file might be covered by the GNU General Public License.
+
+
diff --git a/ChangeLog b/ChangeLog
index 27e4379..06cae4e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-12-15  Jeff Johnston  <jjohnstn@redhat.com>
+
+	* COPYING.LIBGLOSS: Add GPL with exception license.
+
 2011-11-09  Roland McGrath  <mcgrathr@google.com>
 
 	* configure.ac: Add tool checks for READELF and READELF_FOR_TARGET.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9e995a1..f017209 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,49 @@
+2011-12-16  Shinichiro Hamaji  <shinichiro.hamaji@gmail.com>
+
+	* mach-o-i386.c (TARGET_PRIORITY): Define as 0 (top priority)
+	* mach-o-target.c (TARGET_NAME): Use TARGET_PRIORITY
+	* mach-o-x86-64.c (TARGET_PRIORITY): Define as 0 (top priority)
+	* mach-o.c (bfd_mach_o_header_p): Remove special handling for
+	mach-o-i386.
+	(TARGET_PRIORITY) Set 1 for mach-o-be and mach-o-le, and set 0 for
+	mach-o-fat.
+
+2011-12-15  Kevin Buettner  <kevinb@redhat.com>
+
+	* elf32-am33lin.c (elf32_am33lin_grok_prstatus): Add case
+	to correspond to a smaller ELF_NGREG defined by the kernel.
+
+2011-12-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (ELF32_DYNAMIC_INTERPRETER): Set to
+	 "/lib/ldx32.so.1".
+
+2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
+
+	* mach-o.c (bfd_mach_o_mkobject_init): Initialize dyn_reloc_cache.
+	(bfd_mach_o_close_and_cleanup): Only cleanup Mach-O private data
+	for object files.
+
+2011-12-15  Shinichiro Hamaji  <shinichiro.hamaji@gmail.com>
+
+	* mach-o.c (bfd_mach_o_canonicalize_reloc): Update relocation
+	table only when there isn't the cahce.
+	(bfd_mach_o_get_dynamic_reloc_upper_bound): Need one more space
+	for a pointer for the watchdog.
+	(bfd_mach_o_canonicalize_dynamic_reloc): Utilize cache like
+	bfd_mach_o_canonicalize_reloc.
+	(bfd_mach_o_close_and_cleanup): Call bfd_mach_o_free_cached_info.
+	(bfd_mach_o_free_cached_info): Free up cache data.
+	* mach-o.h (reloc_cache): A place to store cache of dynamic relocs.
+	(bfd_mach_o_free_cached_info): Add declaration.
+
+2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
+
+	* mach-o-target.c (bfd_mach_o_bfd_set_private_flags): Use
+	bfd_mach_o_bfd_set_private_flags.
+	* mach-o.c (bfd_mach_o_bfd_set_private_flags): New.
+	* mach-o.h (bfd_mach_o_bfd_set_private_flags): Declare.
+
 2011-12-14  Nick Clifton  <nickc@redhat.com>
 
 	PR ld/12451
diff --git a/bfd/elf32-am33lin.c b/bfd/elf32-am33lin.c
index 177a714..dd2aed4 100644
--- a/bfd/elf32-am33lin.c
+++ b/bfd/elf32-am33lin.c
@@ -50,6 +50,7 @@ elf32_am33lin_grok_prstatus (bfd *abfd, Elf_Internal_Note *note)
       default:
 	return FALSE;
 
+      case 184:
       case 188:		/* Linux/am33 */
 	/* pr_cursig */
 	elf_tdata (abfd)->core_signal = bfd_get_16 (abfd, note->descdata + 12);
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 2206dd4..a4dfd48 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -513,7 +513,7 @@ elf_x86_64_write_core_note (bfd *abfd, char *buf, int *bufsiz,
    section.  */
 
 #define ELF64_DYNAMIC_INTERPRETER "/lib/ld64.so.1"
-#define ELF32_DYNAMIC_INTERPRETER "/lib/ld32.so.1"
+#define ELF32_DYNAMIC_INTERPRETER "/lib/ldx32.so.1"
 
 /* If ELIMINATE_COPY_RELOCS is non-zero, the linker will try to avoid
    copying dynamic variables from a shared lib into an app's dynbss
diff --git a/bfd/mach-o-i386.c b/bfd/mach-o-i386.c
index c5e3884..3dadcb8 100644
--- a/bfd/mach-o-i386.c
+++ b/bfd/mach-o-i386.c
@@ -347,4 +347,5 @@ const mach_o_segment_name_xlat mach_o_i386_segsec_names_xlat[] =
 #define TARGET_ARCHITECTURE	bfd_arch_i386
 #define TARGET_BIG_ENDIAN 	0
 #define TARGET_ARCHIVE 		0
+#define TARGET_PRIORITY		0
 #include "mach-o-target.c"
diff --git a/bfd/mach-o-target.c b/bfd/mach-o-target.c
index 4d5690e..4aeb920 100644
--- a/bfd/mach-o-target.c
+++ b/bfd/mach-o-target.c
@@ -46,7 +46,7 @@
 #define bfd_mach_o_bfd_final_link                     _bfd_generic_final_link
 #define bfd_mach_o_bfd_link_split_section             _bfd_generic_link_split_section
 #define bfd_mach_o_bfd_merge_private_bfd_data         _bfd_generic_bfd_merge_private_bfd_data
-#define bfd_mach_o_bfd_set_private_flags              _bfd_generic_bfd_set_private_flags
+#define bfd_mach_o_bfd_set_private_flags              bfd_mach_o_bfd_set_private_flags
 #define bfd_mach_o_get_section_contents               _bfd_generic_get_section_contents
 #define bfd_mach_o_bfd_gc_sections                    bfd_generic_gc_sections
 #define bfd_mach_o_bfd_lookup_section_flags           bfd_generic_lookup_section_flags
@@ -118,7 +118,7 @@ const bfd_target TARGET_NAME =
   '_',				/* symbol_leading_char.  */
   ' ',				/* ar_pad_char.  */
   16,				/* ar_max_namelen.  */
-  0,				/* match priority.  */
+  TARGET_PRIORITY,	/* match priority.  */
 
 #if TARGET_BIG_ENDIAN
   bfd_getb64, bfd_getb_signed_64, bfd_putb64,
diff --git a/bfd/mach-o-x86-64.c b/bfd/mach-o-x86-64.c
index 1bc3bf8..c86efb7 100644
--- a/bfd/mach-o-x86-64.c
+++ b/bfd/mach-o-x86-64.c
@@ -294,4 +294,5 @@ bfd_mach_o_x86_64_bfd_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED,
 #define TARGET_ARCHITECTURE	bfd_arch_i386
 #define TARGET_BIG_ENDIAN 	0
 #define TARGET_ARCHIVE 		0
+#define TARGET_PRIORITY		0
 #include "mach-o-target.c"
diff --git a/bfd/mach-o.c b/bfd/mach-o.c
index c768689..dca8601 100644
--- a/bfd/mach-o.c
+++ b/bfd/mach-o.c
@@ -576,6 +576,22 @@ bfd_mach_o_bfd_copy_private_bfd_data (bfd *ibfd, bfd *obfd)
   return TRUE;
 }
 
+/* This allows us to set up to 32 bits of flags (unless we invent some
+   fiendish scheme to subdivide).  For now, we'll just set the file flags
+   without error checking - just overwrite.  */
+   
+bfd_boolean
+bfd_mach_o_bfd_set_private_flags (bfd *abfd, flagword flags)
+{
+  bfd_mach_o_data_struct *mdata = bfd_mach_o_get_data (abfd);
+
+  if (!mdata)
+    return FALSE;
+
+  mdata->header.flags = flags;
+  return TRUE;
+}
+
 /* Count the total number of symbols.  */
 
 static long
@@ -1024,21 +1040,25 @@ bfd_mach_o_canonicalize_reloc (bfd *abfd, asection *asect,
   if (bed->_bfd_mach_o_swap_reloc_in == NULL)
     return 0;
 
-  res = bfd_malloc (asect->reloc_count * sizeof (arelent));
-  if (res == NULL)
-    return -1;
-
-  if (bfd_mach_o_canonicalize_relocs (abfd, asect->rel_filepos,
-                                      asect->reloc_count, res, syms) < 0)
+  if (asect->relocation == NULL)
     {
-      free (res);
-      return -1;
+      res = bfd_malloc (asect->reloc_count * sizeof (arelent));
+      if (res == NULL)
+        return -1;
+
+      if (bfd_mach_o_canonicalize_relocs (abfd, asect->rel_filepos,
+                                          asect->reloc_count, res, syms) < 0)
+        {
+          free (res);
+          return -1;
+        }
+      asect->relocation = res;
     }
 
+  res = asect->relocation;
   for (i = 0; i < asect->reloc_count; i++)
     rels[i] = &res[i];
   rels[i] = NULL;
-  asect->relocation = res;
 
   return i;
 }
@@ -1050,7 +1070,7 @@ bfd_mach_o_get_dynamic_reloc_upper_bound (bfd *abfd)
 
   if (mdata->dysymtab == NULL)
     return 1;
-  return (mdata->dysymtab->nextrel + mdata->dysymtab->nlocrel)
+  return (mdata->dysymtab->nextrel + mdata->dysymtab->nlocrel + 1)
     * sizeof (arelent *);
 }
 
@@ -1073,25 +1093,32 @@ bfd_mach_o_canonicalize_dynamic_reloc (bfd *abfd, arelent **rels,
   if (bed->_bfd_mach_o_swap_reloc_in == NULL)
     return 0;
 
-  res = bfd_malloc ((dysymtab->nextrel + dysymtab->nlocrel) * sizeof (arelent));
-  if (res == NULL)
-    return -1;
-
-  if (bfd_mach_o_canonicalize_relocs (abfd, dysymtab->extreloff,
-                                      dysymtab->nextrel, res, syms) < 0)
+  if (mdata->dyn_reloc_cache == NULL)
     {
-      free (res);
-      return -1;
-    }
+      res = bfd_malloc ((dysymtab->nextrel + dysymtab->nlocrel)
+                        * sizeof (arelent));
+      if (res == NULL)
+        return -1;
 
-  if (bfd_mach_o_canonicalize_relocs (abfd, dysymtab->locreloff,
-                                      dysymtab->nlocrel,
-                                      res + dysymtab->nextrel, syms) < 0)
-    {
-      free (res);
-      return -1;
+      if (bfd_mach_o_canonicalize_relocs (abfd, dysymtab->extreloff,
+                                          dysymtab->nextrel, res, syms) < 0)
+        {
+          free (res);
+          return -1;
+        }
+
+      if (bfd_mach_o_canonicalize_relocs (abfd, dysymtab->locreloff,
+                                          dysymtab->nlocrel,
+                                          res + dysymtab->nextrel, syms) < 0)
+        {
+          free (res);
+          return -1;
+        }
+
+      mdata->dyn_reloc_cache = res;
     }
 
+  res = mdata->dyn_reloc_cache;
   for (i = 0; i < dysymtab->nextrel + dysymtab->nlocrel; i++)
     rels[i] = &res[i];
   rels[i] = NULL;
@@ -3175,6 +3202,7 @@ bfd_mach_o_mkobject_init (bfd *abfd)
   mdata->commands = NULL;
   mdata->nsects = 0;
   mdata->sections = NULL;
+  mdata->dyn_reloc_cache = NULL;
 
   return TRUE;
 }
@@ -3233,17 +3261,6 @@ bfd_mach_o_header_p (bfd *abfd,
       if (header.cputype != cputype)
         goto wrong;
     }
-  else
-    {
-      switch (header.cputype)
-        {
-        case BFD_MACH_O_CPU_TYPE_I386:
-          /* Handled by mach-o-i386 */
-          goto wrong;
-        default:
-          break;
-        }
-    }
   if (filetype)
     {
       if (header.filetype != filetype)
@@ -3738,11 +3755,29 @@ bfd_mach_o_close_and_cleanup (bfd *abfd)
 {
   bfd_mach_o_data_struct *mdata = bfd_mach_o_get_data (abfd);
   if (bfd_get_format (abfd) == bfd_object && mdata != NULL)
-    _bfd_dwarf2_cleanup_debug_info (abfd, &mdata->dwarf2_find_line_info);
+    {
+      _bfd_dwarf2_cleanup_debug_info (abfd, &mdata->dwarf2_find_line_info);
+      bfd_mach_o_free_cached_info (abfd);
+    }
 
   return _bfd_generic_close_and_cleanup (abfd);
 }
 
+bfd_boolean bfd_mach_o_free_cached_info (bfd *abfd)
+{
+  bfd_mach_o_data_struct *mdata = bfd_mach_o_get_data (abfd);
+  asection *asect;
+  free (mdata->dyn_reloc_cache);
+  mdata->dyn_reloc_cache = NULL;
+  for (asect = abfd->sections; asect != NULL; asect = asect->next)
+    {
+      free (asect->relocation);
+      asect->relocation = NULL;
+    }
+
+  return TRUE;
+}
+
 #define bfd_mach_o_bfd_reloc_type_lookup _bfd_norelocs_bfd_reloc_type_lookup 
 #define bfd_mach_o_bfd_reloc_name_lookup _bfd_norelocs_bfd_reloc_name_lookup
 
@@ -3756,6 +3791,7 @@ bfd_mach_o_close_and_cleanup (bfd *abfd)
 #define TARGET_ARCHITECTURE	bfd_arch_unknown
 #define TARGET_BIG_ENDIAN 	1
 #define TARGET_ARCHIVE 		0
+#define TARGET_PRIORITY		1
 #include "mach-o-target.c"
 
 #undef TARGET_NAME
@@ -3763,12 +3799,14 @@ bfd_mach_o_close_and_cleanup (bfd *abfd)
 #undef TARGET_ARCHITECTURE
 #undef TARGET_BIG_ENDIAN
 #undef TARGET_ARCHIVE
+#undef TARGET_PRIORITY
 
 #define TARGET_NAME 		mach_o_le_vec
 #define TARGET_STRING 		"mach-o-le"
 #define TARGET_ARCHITECTURE	bfd_arch_unknown
 #define TARGET_BIG_ENDIAN 	0
 #define TARGET_ARCHIVE 		0
+#define TARGET_PRIORITY		1
 
 #include "mach-o-target.c"
 
@@ -3777,6 +3815,7 @@ bfd_mach_o_close_and_cleanup (bfd *abfd)
 #undef TARGET_ARCHITECTURE
 #undef TARGET_BIG_ENDIAN
 #undef TARGET_ARCHIVE
+#undef TARGET_PRIORITY
 
 /* Not yet handled: creating an archive.  */
 #define bfd_mach_o_mkarchive                      _bfd_noarchive_mkarchive
@@ -3798,6 +3837,7 @@ bfd_mach_o_close_and_cleanup (bfd *abfd)
 #define TARGET_ARCHITECTURE	bfd_arch_unknown
 #define TARGET_BIG_ENDIAN 	1
 #define TARGET_ARCHIVE 		1
+#define TARGET_PRIORITY		0
 
 #include "mach-o-target.c"
 
@@ -3806,3 +3846,4 @@ bfd_mach_o_close_and_cleanup (bfd *abfd)
 #undef TARGET_ARCHITECTURE
 #undef TARGET_BIG_ENDIAN
 #undef TARGET_ARCHIVE
+#undef TARGET_PRIORITY
diff --git a/bfd/mach-o.h b/bfd/mach-o.h
index 0c6f4fd..23c3e1c 100644
--- a/bfd/mach-o.h
+++ b/bfd/mach-o.h
@@ -519,6 +519,9 @@ typedef struct mach_o_data_struct
 
   /* A place to stash dwarf2 info for this bfd.  */
   void *dwarf2_find_line_info;
+
+  /* Cache of dynamic relocs. */
+  arelent *dyn_reloc_cache;
 }
 bfd_mach_o_data_struct;
 
@@ -555,6 +558,7 @@ bfd_boolean bfd_mach_o_bfd_copy_private_symbol_data (bfd *, asymbol *,
 bfd_boolean bfd_mach_o_bfd_copy_private_section_data (bfd *, asection *,
                                                       bfd *, asection *);
 bfd_boolean bfd_mach_o_bfd_copy_private_bfd_data (bfd *, bfd *);
+bfd_boolean bfd_mach_o_bfd_set_private_flags (bfd *, flagword);
 long bfd_mach_o_get_symtab_upper_bound (bfd *);
 long bfd_mach_o_canonicalize_symtab (bfd *, asymbol **);
 long bfd_mach_o_get_synthetic_symtab (bfd *, long, asymbol **, long, 
@@ -589,6 +593,7 @@ bfd_boolean bfd_mach_o_find_nearest_line (bfd *, asection *, asymbol **,
                                           bfd_vma, const char **,
                                           const char **, unsigned int *);
 bfd_boolean bfd_mach_o_close_and_cleanup (bfd *);
+bfd_boolean bfd_mach_o_free_cached_info (bfd *);
 
 unsigned int bfd_mach_o_section_get_nbr_indirect (bfd *, bfd_mach_o_section *);
 unsigned int bfd_mach_o_section_get_entry_size (bfd *, bfd_mach_o_section *);
diff --git a/bfd/version.h b/bfd/version.h
index a466257..8621bda 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20111214
+#define BFD_VERSION_DATE 20111216
 #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/cpu/ChangeLog b/cpu/ChangeLog
index d04a554..1f54187 100644
--- a/cpu/ChangeLog
+++ b/cpu/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-15  Nick Clifton  <nickc@redhat.com>
+
+	* frv.opc (parse_uhi16): Fix handling of %hi operator on 64-bit
+	hosts.
+
 2011-10-26  Joern Rennecke  <joern.rennecke@embecosm.com>
 
 	* epiphany.opc (parse_branch_addr): Fix type of valuep.
diff --git a/cpu/frv.opc b/cpu/frv.opc
index f81cef0..869155d 100644
--- a/cpu/frv.opc
+++ b/cpu/frv.opc
@@ -1343,11 +1343,11 @@ parse_uhi16 (CGEN_CPU_DESC cd,
 	  if (errmsg == NULL
 	      && result_type == CGEN_PARSE_OPERAND_RESULT_NUMBER)
 	    {
-	      /* If bfd_vma is wider than 32 bits, but we have a sign-
-		 or zero-extension, truncate it.  */
-	      if (value >= - ((bfd_vma)1 << 31)
-		  || value <= ((bfd_vma)1 << 31) - (bfd_vma)1)
-		value &= (((bfd_vma)1 << 16) << 16) - 1;
+ 	      /* If value is wider than 32 bits then be
+ 		 careful about how we extract bits 16-31.  */
+ 	      if (sizeof (value) > 4)
+ 		value &= (((bfd_vma)1 << 16) << 16) - 1;
+
 	      value >>= 16;
 	    }
 	  *valuep = value;
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 951e9fd..0ae93e0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,43 @@
+2011-12-16  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* python/python.c: Define python_excp_enums.
+	(eval_python_from_control_command): Do not call gdbpy_print_stack.
+	(python_command): Ditto.
+	(gdbpy_print_stack): Rewrite to use new enum constants.
+	(maint_set_python): Remove function.
+	(maint_show_python): Ditto.
+	(_initialize_python): Do not add "maint" commands.  Add "set/show
+	python print-stack commands".
+	* NEWS: Update to reflect removal for "maint set/show
+	print-stack"
+
+2011-12-15  Doug Evans  <dje@google.com>
+
+	* exceptions.c (catcher_list_size): New function.
+	(last_message): Delete.
+	(exception_messages, exception_messages_size): New static globals.
+	(throw_it): Use exception_messages array to handle nested calls.
+
+2011-12-15  Tom Tromey  <tromey@redhat.com>
+
+	* symfile.c (symbol_file_add_with_addrs_or_offsets): Remove bad


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


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

end of thread, other threads:[~2011-12-16 19:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-16 19:56 [SCM] archer-jankratochvil-watchpoint3: Merge branch 'd-cleanup-fork-multifix-kernel' into archer-jankratochvil-watchpoint3 jkratoch
  -- strict thread matches above, loose matches on Subject: below --
2011-12-16 19:18 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).