public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-jankratochvil-type-refcount: Merge branch 'master' of git://sourceware.org/git/gdb into archer-jankratochvil-type-refcount
@ 2009-06-23 19:30 jkratoch
  0 siblings, 0 replies; 3+ messages in thread
From: jkratoch @ 2009-06-23 19:30 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-type-refcount has been updated
       via  77fda38491fb3ae98de2811ed0b8fb590a62d89f (commit)
       via  1708692126c7714efbfcb1c8ff035d65bf9de3c2 (commit)
       via  9f8a4214429dbf26f32b3d84009882a1711720c0 (commit)
       via  a7bda175adc592d1a800c8d8cc4215be9399c814 (commit)
       via  654224911308ca6bb6f98aac66c68c1368f4d187 (commit)
       via  73582720f00a2195e4256018480e5de4c5ea09a0 (commit)
       via  0551023487cca8d8bcd3033294b694e6ce9cc9da (commit)
       via  eb70fe721320efe6f1b2064378239dd6b9ce80d2 (commit)
       via  c562c19a0f9256de2d491732f624385c6a9af337 (commit)
       via  bec5191a154904779feb699fda8ba2e01eabf012 (commit)
       via  7b6b431e457d9c02874fec6dea0db336c8c36002 (commit)
       via  ca3b67a156e97498ea3e8cb98d1f725b24a61a40 (commit)
       via  41c784cebd8ccc2a95b58b4e6b17111c303efde7 (commit)
      from  1b8042c7c5fe975a5c775b7f220118264ede2e8d (commit)

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

- Log -----------------------------------------------------------------
commit 77fda38491fb3ae98de2811ed0b8fb590a62d89f
Merge: 1b8042c7c5fe975a5c775b7f220118264ede2e8d 1708692126c7714efbfcb1c8ff035d65bf9de3c2
Author: Jan Kratochvil <jkratoch@host1.dyn.jankratochvil.net>
Date:   Tue Jun 23 21:28:58 2009 +0200

    Merge branch 'master' of git://sourceware.org/git/gdb into archer-jankratochvil-type-refcount

commit 1708692126c7714efbfcb1c8ff035d65bf9de3c2
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Jun 23 18:19:53 2009 +0000

    gdb/
    	Fix a regression by the mmap patch from 2009-06-16.
    	* symfile.c (reread_symbols): Move sym_finish and clear_objfile_data
    	calls before deleting the OBJFILE obstack.  Extend the comment.

commit 9f8a4214429dbf26f32b3d84009882a1711720c0
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Tue Jun 23 18:11:07 2009 +0000

    	* jv-lang.h (JAVA_OBJECT_SIZE): Remove.
    	(get_java_object_header_size): Add GDBARCH parameter.
    	* jv-lang.c (get_java_object_header_size): Add GDBARCH parameter.
    	Use it instead of current_gdbarch.
    	(evaluate_subexp_java): Replace JAVA_OBJECT_SIZE with call to
    	get_java_object_header_size.
    	* jv-valprint.c (java_value_print): Likewise.

commit a7bda175adc592d1a800c8d8cc4215be9399c814
Author: swagiaal <swagiaal>
Date:   Tue Jun 23 17:46:51 2009 +0000

    2009-06-23  Sami Wagiaalla  <swagiaal@redhat.com>
    
           * dwarf2read.c (process_die): Handle import statements
           (DW_TAG_imported_declaration, case DW_TAG_imported_module)
           (read_import_statement): New.
           (read_func_scope): Update using_directives to point to current context
           (read_lexical_block_scope): Ditto.
           * cp-support.h: Added prototype for cp_add_using.
           * cp-namespace.c: Removed local context_stack.
           (cp_initialize_namespace): Deleted.
           (cp_finalize_namespace): Deleted.
           (cp_add_using_directive): Use using_directives instead of using_list.
           (cp_add_using): No longer static.
           * buildsym.h: Created global using_direct variable.
           Created using_direct variable in context_stack.
           * buildsym.c (finish_block): Set using directives for the block under
           construction.
           (start_symtab): Removed call to cp_initialize_namespace().
           (end_symtab): Removed call to cp_finalize_namespace().
           (push_context): Save and reset using_directives.
           * block.c (block_using): Return using directives for given
           block instead of static block.
    
    2009-06-23  Sami Wagiaalla  <swagiaal@redhat.com>
    
           * gdb.cp/namespace-using.exp: New test.
           * gdb.cp/namespace-using.cc: New test.

commit 654224911308ca6bb6f98aac66c68c1368f4d187
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Tue Jun 23 16:59:42 2009 +0000

    	* target-descriptions.h (struct type): Do not declare.
    	(struct tdesc_type): Declare.
    	(tdesc_named_type): Change return type to struct tdesc_type *.
    	(tdesc_record_type): Remove.
    	(tdesc_create_vector): Add prototype.
    	(tdesc_create_union): Likewise.
    	(tdesc_add_field): Likewise.
    
    	* target-descriptions.c (struct tdesc_reg): Replace gdb_type
    	member by tdesc_type member.
    	(struct tdesc_type_field, tdesc_type_field): Add type and vector def.
    	(struct tdesc_type, tdesc_type_p): Likewise.
    	(struct tdesc_arch_reg, tdesc_arch_reg): Likewise.
    	(struct tdesc_feature): Change type of "types" to VEC(tdesc_type_p).
    	(struct tdesc_arch_data): Replace registers member by arch_regs.
    
    	(tdesc_predefined_types): Change to array of pre-defined
    	struct tdesc_type structures.  Add "code_ptr" and "data_ptr".
    	(tdesc_named_type): Return struct tdesc_type * instead of GDB type.
    	(tdesc_gdb_type): New function.
    
    	(target_find_description): Update for data structure changes.
    	(tdesc_data_cleanup): Likewise.
    	(tdesc_numbered_register): Likewise.
    	(tdesc_use_registers): Likewise.
    	(tdesc_create_reg): Likewise.
    
    	(tdesc_find_arch_register): New function.
    	(tdesc_find_register): Use it.
    	(tdesc_register_type): Use tdesc_gdb_type to generate GDB type from
    	tdesc_type on demand; cache generated types in tdesc_arch_reg.
    
    	(tdesc_free_type): New function.
    	(tdesc_free_feature): Call it.
    
    	(tdesc_create_vector): New function.
    	(tdesc_create_union): Likewise.
    	(tdesc_add_field): Likewise.
    	(tdesc_record_type): Remove.
    
    	(tdesc_type_id): Remove.
    	(maint_print_c_tdesc_cmd): Update for data structure changes.  Update
    	generated code to create tdesc_type structures instead of GDB types.
    
    	* xml-tdesc.c: Do not include "gdbtypes.h".
    	(struct tdesc_parsing_data): Change type of current_union to
    	struct tdesc_type *.
    	(tdesc_start_reg): Do not special-case "code_ptr" or "data_ptr".
    	(tdesc_start_union): Call tdesc_create_union.
    	(tdesc_start_field): Call tdesc_add_field.
    	(tdesc_start_vector): Call tdesc_create_vector.
    	(tdesc_end_union): Remove.
    	(feature_children): Remove reference to tdesc_end_union.
    
    	* features/arm-with-iwmmxt.c: Regenerate.
    	* features/mips-linux.c: Regenerate.
    	* features/mips64-linux.c: Regenerate.
    	* features/rs6000/powerpc-32.c: Regenerate.
    	* features/rs6000/powerpc-32l.c: Regenerate.
    	* features/rs6000/powerpc-403.c: Regenerate.
    	* features/rs6000/powerpc-403gc.c: Regenerate.
    	* features/rs6000/powerpc-505.c: Regenerate.
    	* features/rs6000/powerpc-601.c: Regenerate.
    	* features/rs6000/powerpc-602.c: Regenerate.
    	* features/rs6000/powerpc-603.c: Regenerate.
    	* features/rs6000/powerpc-604.c: Regenerate.
    	* features/rs6000/powerpc-64.c: Regenerate.
    	* features/rs6000/powerpc-64l.c: Regenerate.
    	* features/rs6000/powerpc-7400.c: Regenerate.
    	* features/rs6000/powerpc-750.c: Regenerate.
    	* features/rs6000/powerpc-860.c: Regenerate.
    	* features/rs6000/powerpc-altivec32.c: Regenerate.
    	* features/rs6000/powerpc-altivec32l.c: Regenerate.
    	* features/rs6000/powerpc-altivec64.c: Regenerate.
    	* features/rs6000/powerpc-altivec64l.c: Regenerate.
    	* features/rs6000/powerpc-e500.c: Regenerate.
    	* features/rs6000/powerpc-e500l.c: Regenerate.
    	* features/rs6000/powerpc-isa205-32l.c: Regenerate.
    	* features/rs6000/powerpc-isa205-64l.c: Regenerate.
    	* features/rs6000/powerpc-isa205-altivec32l.c: Regenerate.
    	* features/rs6000/powerpc-isa205-altivec64l.c: Regenerate.
    	* features/rs6000/powerpc-isa205-vsx32l.c: Regenerate.
    	* features/rs6000/powerpc-isa205-vsx64l.c: Regenerate.
    	* features/rs6000/powerpc-vsx32.c: Regenerate.
    	* features/rs6000/powerpc-vsx32l.c: Regenerate.
    	* features/rs6000/powerpc-vsx64.c: Regenerate.
    	* features/rs6000/powerpc-vsx64l.c: Regenerate.
    	* features/rs6000/rs6000.c: Regenerate.

commit 73582720f00a2195e4256018480e5de4c5ea09a0
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue Jun 23 16:46:10 2009 +0000

            * gdb.ada/variant_record_packed_array: New testcase.

commit 0551023487cca8d8bcd3033294b694e6ce9cc9da
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue Jun 23 16:43:24 2009 +0000

            * ada-lang.c (decode_packed_array): If the value is a pointer to
            an array, then use value_ind to dereference it, not ada_value_ind.
            (ada_template_to_fixed_record_type_1): Handle the case where a
            dynamic field is an aligner type.
            (to_fixed_array_type): Add handling for packed array types.
            (ada_get_base_type): Do not follow the XVS type if the type is
            an aligner type.
            (ada_evaluate_subexp): Split a few statements up for clarity
            and debuggability.
            <OP_FUNCALL>: Add handling of the case of a packed array that
            has already been fixed.

commit eb70fe721320efe6f1b2064378239dd6b9ce80d2
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue Jun 23 16:37:18 2009 +0000

            * ada-lang.c (evaluate_subexp): Delete.  Use the version from eval.c.
            (evaluate_subexp_type): Reimplement using evaluate_subexp.
            * value.h (evaluate_subexp): Add declaration.
            * eval.c (evaluate_subexp): Make non-static.
            * objc-lang.c (print_object_command): Use evaluate_subexp.

commit c562c19a0f9256de2d491732f624385c6a9af337
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Tue Jun 23 16:28:44 2009 +0000

    2009-06-23  Paul Pluzhnikov  <ppluzhnikov@google.com>
    
    	Revert 2009-05-14 breakpoint commit (no longer needed).
    	* breakpoint.h (breakpoint_re_set_objfile): Remove
    	* breakpoint.c (breakpoint_re_set_objfile): Likewise
    	(create_overlay_event_breakpoint): Remove objfile parameter,
    	iterate over all objfiles.
    	* objfiles.c (objfile_relocate): Update.
    	* symfile.c (new_symfile_objfile): Likewise.

commit bec5191a154904779feb699fda8ba2e01eabf012
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Jun 23 16:26:04 2009 +0000

    gdb
    	PR gdb/10309:
    	* c-lang.c (classify_type): Iterate over typedefs.
    	* c-valprint.c (textual_element_type): Iterate over typedefs.
    gdb/testsuite
    	* gdb.base/charset.exp (test_combination): Regression test.
    	* gdb.base/charset.c (my_wchar_t): New typedef.
    	(myvar): New global.
    	(main): Set myvar.

commit 7b6b431e457d9c02874fec6dea0db336c8c36002
Author: Tristan Gingold <gingold@adacore.com>
Date:   Tue Jun 23 15:34:17 2009 +0000

    And the ChangeLog entry:
    2009-06-23  Tristan Gingold  <gingold@adacore.com>
    
    	* vms.c (vms_get_synthetic_symtab): Remove duplicate definition
    	of this macro.  Fix indentation.

commit ca3b67a156e97498ea3e8cb98d1f725b24a61a40
Author: Aleksandar Ristovski <aristovski@qnx.com>
Date:   Tue Jun 23 15:12:44 2009 +0000

    * server.c (process_serial_event): Add support for Z0 and Z1 packet.
    * target.h (target_ops): Comment for *_watchpoint to make it clear
    the functions can get types '0' and '1'.

commit 41c784cebd8ccc2a95b58b4e6b17111c303efde7
Author: Tristan Gingold <gingold@adacore.com>
Date:   Tue Jun 23 13:48:38 2009 +0000

    Fix a nit.
    
    2009-06-23  Tristan Gingold  <gingold@adacore.com>
    
    	* vms.c (vms_get_synthetic_symtab): Remove duplicate definition
    	of this macro.  Fix indentation.

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

Summary of changes:
 bfd/ChangeLog                                      |    5 +
 bfd/vms.c                                          |    4 +-
 gdb/ChangeLog                                      |  168 +++++++
 gdb/ada-lang.c                                     |  351 ++++++++++++--
 gdb/block.c                                        |   15 +-
 gdb/breakpoint.c                                   |   67 +--
 gdb/breakpoint.h                                   |    2 +-
 gdb/buildsym.c                                     |   10 +-
 gdb/buildsym.h                                     |    8 +
 gdb/c-lang.c                                       |   27 +-
 gdb/c-valprint.c                                   |   31 +-
 gdb/cp-namespace.c                                 |   43 +--
 gdb/cp-support.h                                   |    5 +
 gdb/dwarf2read.c                                   |   78 +++-
 gdb/eval.c                                         |    5 +-
 gdb/features/arm-with-iwmmxt.c                     |   28 +-
 gdb/features/mips-linux.c                          |    3 +-
 gdb/features/mips64-linux.c                        |    3 +-
 gdb/features/rs6000/powerpc-32.c                   |    3 +-
 gdb/features/rs6000/powerpc-32l.c                  |    3 +-
 gdb/features/rs6000/powerpc-403.c                  |    3 +-
 gdb/features/rs6000/powerpc-403gc.c                |    3 +-
 gdb/features/rs6000/powerpc-505.c                  |    3 +-
 gdb/features/rs6000/powerpc-601.c                  |    3 +-
 gdb/features/rs6000/powerpc-602.c                  |    3 +-
 gdb/features/rs6000/powerpc-603.c                  |    3 +-
 gdb/features/rs6000/powerpc-604.c                  |    3 +-
 gdb/features/rs6000/powerpc-64.c                   |    3 +-
 gdb/features/rs6000/powerpc-64l.c                  |    3 +-
 gdb/features/rs6000/powerpc-7400.c                 |   34 +-
 gdb/features/rs6000/powerpc-750.c                  |    3 +-
 gdb/features/rs6000/powerpc-860.c                  |    3 +-
 gdb/features/rs6000/powerpc-altivec32.c            |   34 +-
 gdb/features/rs6000/powerpc-altivec32l.c           |   34 +-
 gdb/features/rs6000/powerpc-altivec64.c            |   34 +-
 gdb/features/rs6000/powerpc-altivec64l.c           |   34 +-
 gdb/features/rs6000/powerpc-e500.c                 |    3 +-
 gdb/features/rs6000/powerpc-e500l.c                |    3 +-
 gdb/features/rs6000/powerpc-isa205-32l.c           |    3 +-
 gdb/features/rs6000/powerpc-isa205-64l.c           |    3 +-
 gdb/features/rs6000/powerpc-isa205-altivec32l.c    |   34 +-
 gdb/features/rs6000/powerpc-isa205-altivec64l.c    |   34 +-
 gdb/features/rs6000/powerpc-isa205-vsx32l.c        |   34 +-
 gdb/features/rs6000/powerpc-isa205-vsx64l.c        |   34 +-
 gdb/features/rs6000/powerpc-vsx32.c                |   34 +-
 gdb/features/rs6000/powerpc-vsx32l.c               |   34 +-
 gdb/features/rs6000/powerpc-vsx64.c                |   34 +-
 gdb/features/rs6000/powerpc-vsx64l.c               |   34 +-
 gdb/features/rs6000/rs6000.c                       |    3 +-
 gdb/gdbserver/ChangeLog                            |    6 +
 gdb/gdbserver/server.c                             |   88 ++--
 gdb/gdbserver/target.h                             |    9 +-
 gdb/jv-lang.c                                      |    6 +-
 gdb/jv-lang.h                                      |    5 +-
 gdb/jv-valprint.c                                  |   16 +-
 gdb/objc-lang.c                                    |    4 +-
 gdb/objfiles.c                                     |    2 +-
 gdb/symfile.c                                      |   18 +-
 gdb/target-descriptions.c                          |  511 ++++++++++++++------
 gdb/target-descriptions.h                          |   16 +-
 gdb/testsuite/ChangeLog                            |   16 +
 .../gdb.ada/variant_record_packed_array.exp        |   43 ++
 .../gdb.ada/variant_record_packed_array/foo.adb    |   32 ++
 .../gdb.ada/variant_record_packed_array/pck.adb    |   20 +
 .../gdb.ada/variant_record_packed_array/pck.ads    |   18 +
 gdb/testsuite/gdb.base/charset.c                   |    6 +
 gdb/testsuite/gdb.base/charset.exp                 |    3 +
 gdb/testsuite/gdb.cp/namespace-using.cc            |   45 ++
 gdb/testsuite/gdb.cp/namespace-using.exp           |   87 ++++
 gdb/value.h                                        |    4 +
 gdb/xml-tdesc.c                                    |   46 +--
 71 files changed, 1566 insertions(+), 784 deletions(-)
 create mode 100644 gdb/testsuite/gdb.ada/variant_record_packed_array.exp
 create mode 100644 gdb/testsuite/gdb.ada/variant_record_packed_array/foo.adb
 create mode 100644 gdb/testsuite/gdb.ada/variant_record_packed_array/pck.adb
 create mode 100644 gdb/testsuite/gdb.ada/variant_record_packed_array/pck.ads
 create mode 100644 gdb/testsuite/gdb.cp/namespace-using.cc
 create mode 100644 gdb/testsuite/gdb.cp/namespace-using.exp

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 563f454..f5cbe71 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-23  Tristan Gingold  <gingold@adacore.com>
+
+	* vms.c (vms_get_synthetic_symtab): Remove duplicate definition
+	of this macro.  Fix indentation.
+
 2009-06-22  Christophe Lyon  <christophe.lyon@st.com>
 
 	* elf32-arm.c (elf32_arm_size_stubs): Use PLT address as
diff --git a/bfd/vms.c b/bfd/vms.c
index 251b95c..5bb60af 100644
--- a/bfd/vms.c
+++ b/bfd/vms.c
@@ -129,9 +129,7 @@ static bfd_boolean vms_bfd_final_link (bfd *abfd,
 				       struct bfd_link_info *link_info);
 static bfd_boolean vms_bfd_link_split_section (bfd *abfd, asection *section);
 static long vms_get_dynamic_symtab_upper_bound (bfd *abfd);
-static long vms_canonicalize_dynamic_symtab
-  (bfd *abfd, asymbol **symbols);
-#define vms_get_synthetic_symtab _bfd_nodynamic_get_synthetic_symtab
+static long vms_canonicalize_dynamic_symtab (bfd *abfd, asymbol **symbols);
 static long vms_get_dynamic_reloc_upper_bound (bfd *abfd);
 static long vms_canonicalize_dynamic_reloc
   (bfd *abfd, arelent **arel, asymbol **symbols);
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ecb49bb..b02d5ae 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,171 @@
+2009-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	Fix a regression by the mmap patch from 2009-06-16.
+	* symfile.c (reread_symbols): Move sym_finish and clear_objfile_data
+	calls before deleting the OBJFILE obstack.  Extend the comment.
+
+2009-06-23  Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* jv-lang.h (JAVA_OBJECT_SIZE): Remove.
+	(get_java_object_header_size): Add GDBARCH parameter.
+	* jv-lang.c (get_java_object_header_size): Add GDBARCH parameter.
+	Use it instead of current_gdbarch.
+	(evaluate_subexp_java): Replace JAVA_OBJECT_SIZE with call to
+	get_java_object_header_size.
+	* jv-valprint.c (java_value_print): Likewise.
+
+2009-06-23  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * dwarf2read.c (process_die): Handle import statements
+       (DW_TAG_imported_declaration, case DW_TAG_imported_module)
+       (read_import_statement): New.
+       (read_func_scope): Update using_directives to point to current context
+       (read_lexical_block_scope): Ditto.
+       * cp-support.h: Added prototype for cp_add_using.
+       * cp-namespace.c: Removed local context_stack.
+       (cp_initialize_namespace): Deleted.
+       (cp_finalize_namespace): Deleted.
+       (cp_add_using_directive): Use using_directives instead of using_list.
+       (cp_add_using): No longer static.
+       * buildsym.h: Created global using_direct variable.
+       Created using_direct variable in context_stack.
+       * buildsym.c (finish_block): Set using directives for the block under
+       construction.
+       (start_symtab): Removed call to cp_initialize_namespace().
+       (end_symtab): Removed call to cp_finalize_namespace().
+       (push_context): Save and reset using_directives.
+       * block.c (block_using): Return using directives for given
+       block instead of static block.
+
+2009-06-23  Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* target-descriptions.h (struct type): Do not declare.
+	(struct tdesc_type): Declare.
+	(tdesc_named_type): Change return type to struct tdesc_type *.
+	(tdesc_record_type): Remove.
+	(tdesc_create_vector): Add prototype.
+	(tdesc_create_union): Likewise.
+	(tdesc_add_field): Likewise.
+
+	* target-descriptions.c (struct tdesc_reg): Replace gdb_type
+	member by tdesc_type member.
+	(struct tdesc_type_field, tdesc_type_field): Add type and vector def.
+	(struct tdesc_type, tdesc_type_p): Likewise.
+	(struct tdesc_arch_reg, tdesc_arch_reg): Likewise.
+	(struct tdesc_feature): Change type of "types" to VEC(tdesc_type_p).
+	(struct tdesc_arch_data): Replace registers member by arch_regs.
+
+	(tdesc_predefined_types): Change to array of pre-defined
+	struct tdesc_type structures.  Add "code_ptr" and "data_ptr".
+	(tdesc_named_type): Return struct tdesc_type * instead of GDB type.
+	(tdesc_gdb_type): New function.
+
+	(target_find_description): Update for data structure changes.
+	(tdesc_data_cleanup): Likewise.
+	(tdesc_numbered_register): Likewise.
+	(tdesc_use_registers): Likewise.
+	(tdesc_create_reg): Likewise.
+	
+	(tdesc_find_arch_register): New function.
+	(tdesc_find_register): Use it.
+	(tdesc_register_type): Use tdesc_gdb_type to generate GDB type from
+	tdesc_type on demand; cache generated types in tdesc_arch_reg.
+
+	(tdesc_free_type): New function.
+	(tdesc_free_feature): Call it.
+
+	(tdesc_create_vector): New function.
+	(tdesc_create_union): Likewise.
+	(tdesc_add_field): Likewise.
+	(tdesc_record_type): Remove.
+
+	(tdesc_type_id): Remove.
+	(maint_print_c_tdesc_cmd): Update for data structure changes.  Update
+	generated code to create tdesc_type structures instead of GDB types.
+
+	* xml-tdesc.c: Do not include "gdbtypes.h".
+	(struct tdesc_parsing_data): Change type of current_union to
+	struct tdesc_type *.
+	(tdesc_start_reg): Do not special-case "code_ptr" or "data_ptr".
+	(tdesc_start_union): Call tdesc_create_union.
+	(tdesc_start_field): Call tdesc_add_field.
+	(tdesc_start_vector): Call tdesc_create_vector.
+	(tdesc_end_union): Remove.
+	(feature_children): Remove reference to tdesc_end_union.
+
+	* features/arm-with-iwmmxt.c: Regenerate.
+	* features/mips-linux.c: Regenerate.
+	* features/mips64-linux.c: Regenerate.
+	* features/rs6000/powerpc-32.c: Regenerate.
+	* features/rs6000/powerpc-32l.c: Regenerate.
+	* features/rs6000/powerpc-403.c: Regenerate.
+	* features/rs6000/powerpc-403gc.c: Regenerate.
+	* features/rs6000/powerpc-505.c: Regenerate.
+	* features/rs6000/powerpc-601.c: Regenerate.
+	* features/rs6000/powerpc-602.c: Regenerate.
+	* features/rs6000/powerpc-603.c: Regenerate.
+	* features/rs6000/powerpc-604.c: Regenerate.
+	* features/rs6000/powerpc-64.c: Regenerate.
+	* features/rs6000/powerpc-64l.c: Regenerate.
+	* features/rs6000/powerpc-7400.c: Regenerate.
+	* features/rs6000/powerpc-750.c: Regenerate.
+	* features/rs6000/powerpc-860.c: Regenerate.
+	* features/rs6000/powerpc-altivec32.c: Regenerate.
+	* features/rs6000/powerpc-altivec32l.c: Regenerate.
+	* features/rs6000/powerpc-altivec64.c: Regenerate.
+	* features/rs6000/powerpc-altivec64l.c: Regenerate.
+	* features/rs6000/powerpc-e500.c: Regenerate.
+	* features/rs6000/powerpc-e500l.c: Regenerate.
+	* features/rs6000/powerpc-isa205-32l.c: Regenerate.
+	* features/rs6000/powerpc-isa205-64l.c: Regenerate.
+	* features/rs6000/powerpc-isa205-altivec32l.c: Regenerate.
+	* features/rs6000/powerpc-isa205-altivec64l.c: Regenerate.
+	* features/rs6000/powerpc-isa205-vsx32l.c: Regenerate.
+	* features/rs6000/powerpc-isa205-vsx64l.c: Regenerate.
+	* features/rs6000/powerpc-vsx32.c: Regenerate.
+	* features/rs6000/powerpc-vsx32l.c: Regenerate.
+	* features/rs6000/powerpc-vsx64.c: Regenerate.
+	* features/rs6000/powerpc-vsx64l.c: Regenerate.
+	* features/rs6000/rs6000.c: Regenerate.
+
+2009-06-23  Joel Brobecker  <brobecker@adacore.com>
+
+	* ada-lang.c (decode_packed_array): If the value is a pointer to
+	an array, then use value_ind to dereference it, not ada_value_ind.
+	(ada_template_to_fixed_record_type_1): Handle the case where a
+	dynamic field is an aligner type.
+	(to_fixed_array_type): Add handling for packed array types.
+	(ada_get_base_type): Do not follow the XVS type if the type is
+	an aligner type.
+	(ada_evaluate_subexp): Split a few statements up for clarity
+	and debuggability.
+	<OP_FUNCALL>: Add handling of the case of a packed array that
+	has already been fixed.
+
+2009-06-23  Joel Brobecker  <brobecker@adacore.com>
+
+	* ada-lang.c (evaluate_subexp): Delete.  Use the version from eval.c.
+	(evaluate_subexp_type): Reimplement using evaluate_subexp.
+	* value.h (evaluate_subexp): Add declaration.
+	* eval.c (evaluate_subexp): Make non-static.
+	* objc-lang.c (print_object_command): Use evaluate_subexp.
+
+2009-06-23  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+	Revert 2009-05-14 breakpoint commit (no longer needed).
+	* breakpoint.h (breakpoint_re_set_objfile): Remove
+	* breakpoint.c (breakpoint_re_set_objfile): Likewise
+	(create_overlay_event_breakpoint): Remove objfile parameter,
+	iterate over all objfiles.
+	* objfiles.c (objfile_relocate): Update.
+	* symfile.c (new_symfile_objfile): Likewise.	
+	
+2009-06-23  Tom Tromey  <tromey@redhat.com>
+
+	PR gdb/10309:
+	* c-lang.c (classify_type): Iterate over typedefs.
+	* c-valprint.c (textual_element_type): Iterate over typedefs.
+
 2009-06-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
 	PR gdb/9988:
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 34a2054..bb17049 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -157,9 +157,6 @@ static struct symbol *find_old_style_renaming_symbol (const char *,
 static struct type *ada_lookup_struct_elt_type (struct type *, char *,
                                                 int, int, int *);
 
-static struct value *evaluate_subexp (struct type *, struct expression *,
-                                      int *, enum noside);
-
 static struct value *evaluate_subexp_type (struct expression *, int *);
 
 static int is_dynamic_field (struct type *, int);
@@ -1821,8 +1818,15 @@ decode_packed_array (struct value *arr)
   struct type *type;
 
   arr = ada_coerce_ref (arr);
+
+  /* If our value is a pointer, then dererence it.  Make sure that
+     this operation does not cause the target type to be fixed, as
+     this would indirectly cause this array to be decoded.  The rest
+     of the routine assumes that the array hasn't been decoded yet,
+     so we use the basic "value_ind" routine to perform the dereferencing,
+     as opposed to using "ada_value_ind".  */
   if (TYPE_CODE (value_type (arr)) == TYPE_CODE_PTR)
-    arr = ada_value_ind (arr);
+    arr = value_ind (arr);
 
   type = decode_packed_array_type (value_type (arr));
   if (type == NULL)
@@ -6783,6 +6787,11 @@ ada_template_to_fixed_record_type_1 (struct type *type,
         }
       else if (is_dynamic_field (type, f))
         {
+	  const gdb_byte *field_valaddr = valaddr;
+	  CORE_ADDR field_address = address;
+	  struct type *field_type =
+	    TYPE_TARGET_TYPE (TYPE_FIELD_TYPE (type, f));
+
           if (dval0 == NULL)
 	    {
 	      /* rtype's length is computed based on the run-time
@@ -6796,18 +6805,36 @@ ada_template_to_fixed_record_type_1 (struct type *type,
           else
             dval = dval0;
 
-          /* Get the fixed type of the field. Note that, in this case, we
-             do not want to get the real type out of the tag: if the current
-             field is the parent part of a tagged record, we will get the
-             tag of the object. Clearly wrong: the real type of the parent
-             is not the real type of the child. We would end up in an infinite
-             loop.  */
-          TYPE_FIELD_TYPE (rtype, f) =
-            ada_to_fixed_type
-            (ada_get_base_type
-             (TYPE_TARGET_TYPE (TYPE_FIELD_TYPE (type, f))),
-             cond_offset_host (valaddr, off / TARGET_CHAR_BIT),
-             cond_offset_target (address, off / TARGET_CHAR_BIT), dval, 0);
+	  /* If the type referenced by this field is an aligner type, we need
+	     to unwrap that aligner type, because its size might not be set.
+	     Keeping the aligner type would cause us to compute the wrong
+	     size for this field, impacting the offset of the all the fields
+	     that follow this one.  */
+	  if (ada_is_aligner_type (field_type))
+	    {
+	      long field_offset = TYPE_FIELD_BITPOS (field_type, f);
+
+	      field_valaddr = cond_offset_host (field_valaddr, field_offset);
+	      field_address = cond_offset_target (field_address, field_offset);
+	      field_type = ada_aligned_type (field_type);
+	    }
+
+	  field_valaddr = cond_offset_host (field_valaddr,
+					    off / TARGET_CHAR_BIT);
+	  field_address = cond_offset_target (field_address,
+					      off / TARGET_CHAR_BIT);
+
+	  /* Get the fixed type of the field.  Note that, in this case,
+	     we do not want to get the real type out of the tag: if
+	     the current field is the parent part of a tagged record,
+	     we will get the tag of the object.  Clearly wrong: the real
+	     type of the parent is not the real type of the child.  We
+	     would end up in an infinite loop.	*/
+	  field_type = ada_get_base_type (field_type);
+	  field_type = ada_to_fixed_type (field_type, field_valaddr,
+					  field_address, dval, 0);
+
+	  TYPE_FIELD_TYPE (rtype, f) = field_type;
           TYPE_FIELD_NAME (rtype, f) = TYPE_FIELD_NAME (type, f);
           bit_incr = fld_bit_len =
             TYPE_LENGTH (TYPE_FIELD_TYPE (rtype, f)) * TARGET_CHAR_BIT;
@@ -7133,11 +7160,15 @@ to_fixed_array_type (struct type *type0, struct value *dval,
 {
   struct type *index_type_desc;
   struct type *result;
+  int packed_array_p;
 
-  if (ada_is_packed_array_type (type0)  /* revisit? */
-      || TYPE_FIXED_INSTANCE (type0))
+  if (TYPE_FIXED_INSTANCE (type0))
     return type0;
 
+  packed_array_p = ada_is_packed_array_type (type0);
+  if (packed_array_p)
+    type0 = decode_packed_array_type (type0);
+
   index_type_desc = ada_find_parallel_type (type0, "___XA");
   if (index_type_desc == NULL)
     {
@@ -7155,7 +7186,10 @@ to_fixed_array_type (struct type *type0, struct value *dval,
          consult the object tag.  */
       struct type *elt_type = ada_to_fixed_type (elt_type0, 0, 0, dval, 1);
 
-      if (elt_type0 == elt_type)
+      /* Make sure we always create a new array type when dealing with
+	 packed array types, since we're going to fix-up the array
+	 type length and element bitsize a little further down.  */
+      if (elt_type0 == elt_type && !packed_array_p)
         result = type0;
       else
         result = create_array_type (alloc_type (TYPE_OBJFILE (type0)),
@@ -7195,6 +7229,21 @@ to_fixed_array_type (struct type *type0, struct value *dval,
         error (_("array type with dynamic size is larger than varsize-limit"));
     }
 
+  if (packed_array_p)
+    {
+      /* So far, the resulting type has been created as if the original
+	 type was a regular (non-packed) array type.  As a result, the
+	 bitsize of the array elements needs to be set again, and the array
+	 length needs to be recomputed based on that bitsize.  */
+      int len = TYPE_LENGTH (result) / TYPE_LENGTH (TYPE_TARGET_TYPE (result));
+      int elt_bitsize = TYPE_FIELD_BITSIZE (type0, 0);
+
+      TYPE_FIELD_BITSIZE (result, 0) = TYPE_FIELD_BITSIZE (type0, 0);
+      TYPE_LENGTH (result) = len * elt_bitsize / HOST_CHAR_BIT;
+      if (TYPE_LENGTH (result) * HOST_CHAR_BIT < len * elt_bitsize)
+        TYPE_LENGTH (result)++;
+    }
+
   TYPE_FIXED_INSTANCE (result) = 1;
   return result;
 }
@@ -7618,6 +7667,21 @@ ada_get_base_type (struct type *raw_type)
   if (raw_type == NULL || TYPE_CODE (raw_type) != TYPE_CODE_STRUCT)
     return raw_type;
 
+  if (ada_is_aligner_type (raw_type))
+    /* The encoding specifies that we should always use the aligner type.
+       So, even if this aligner type has an associated XVS type, we should
+       simply ignore it.
+
+       According to the compiler gurus, an XVS type parallel to an aligner
+       type may exist because of a stabs limitation.  In stabs, aligner
+       types are empty because the field has a variable-sized type, and
+       thus cannot actually be used as an aligner type.  As a result,
+       we need the associated parallel XVS type to decode the type.
+       Since the policy in the compiler is to not change the internal
+       representation based on the debugging info format, we sometimes
+       end up having a redundant XVS type parallel to the aligner type.  */
+    return raw_type;
+
   real_type_namer = ada_find_parallel_type (raw_type, "___XVS");
   if (real_type_namer == NULL
       || TYPE_CODE (real_type_namer) != TYPE_CODE_STRUCT
@@ -7730,14 +7794,6 @@ ada_enum_name (const char *name)
     }
 }
 
-static struct value *
-evaluate_subexp (struct type *expect_type, struct expression *exp, int *pos,
-                 enum noside noside)
-{
-  return (*exp->language_defn->la_exp_desc->evaluate_exp)
-    (expect_type, exp, pos, noside);
-}
-
 /* Evaluate the subexpression of EXP starting at *POS as for
    evaluate_type, updating *POS to point just past the evaluated
    expression.  */
@@ -7745,8 +7801,7 @@ evaluate_subexp (struct type *expect_type, struct expression *exp, int *pos,
 static struct value *
 evaluate_subexp_type (struct expression *exp, int *pos)
 {
-  return (*exp->language_defn->la_exp_desc->evaluate_exp)
-    (NULL_TYPE, exp, pos, EVAL_AVOID_SIDE_EFFECTS);
+  return evaluate_subexp (NULL_TYPE, exp, pos, EVAL_AVOID_SIDE_EFFECTS);
 }
 
 /* If VAL is wrapped in an aligner or subtype wrapper, return the
@@ -8265,6 +8320,225 @@ ada_value_cast (struct type *type, struct value *arg2, enum noside noside)
   return value_cast (type, arg2);
 }
 
+/*  Evaluating Ada expressions, and printing their result.
+    ------------------------------------------------------
+
+    We usually evaluate an Ada expression in order to print its value.
+    We also evaluate an expression in order to print its type, which
+    happens during the EVAL_AVOID_SIDE_EFFECTS phase of the evaluation,
+    but we'll focus mostly on the EVAL_NORMAL phase.  In practice, the
+    EVAL_AVOID_SIDE_EFFECTS phase allows us to simplify certain aspects of
+    the evaluation compared to the EVAL_NORMAL, but is otherwise very
+    similar.
+
+    Evaluating expressions is a little more complicated for Ada entities
+    than it is for entities in languages such as C.  The main reason for
+    this is that Ada provides types whose definition might be dynamic.
+    One example of such types is variant records.  Or another example
+    would be an array whose bounds can only be known at run time.
+
+    The following description is a general guide as to what should be
+    done (and what should NOT be done) in order to evaluate an expression
+    involving such types, and when.  This does not cover how the semantic
+    information is encoded by GNAT as this is covered separatly.  For the
+    document used as the reference for the GNAT encoding, see exp_dbug.ads
+    in the GNAT sources.
+
+    Ideally, we should embed each part of this description next to its
+    associated code.  Unfortunately, the amount of code is so vast right
+    now that it's hard to see whether the code handling a particular
+    situation might be duplicated or not.  One day, when the code is
+    cleaned up, this guide might become redundant with the comments
+    inserted in the code, and we might want to remove it.
+
+    When evaluating Ada expressions, the tricky issue is that they may
+    reference entities whose type contents and size are not statically
+    known.  Consider for instance a variant record:
+
+       type Rec (Empty : Boolean := True) is record
+          case Empty is
+             when True => null;
+             when False => Value : Integer;
+          end case;
+       end record;
+       Yes : Rec := (Empty => False, Value => 1);
+       No  : Rec := (empty => True);
+
+    The size and contents of that record depends on the value of the
+    descriminant (Rec.Empty).  At this point, neither the debugging
+    information nor the associated type structure in GDB are able to
+    express such dynamic types.  So what the debugger does is to create
+    "fixed" versions of the type that applies to the specific object.
+    We also informally refer to this opperation as "fixing" an object,
+    which means creating its associated fixed type.
+
+    Example: when printing the value of variable "Yes" above, its fixed
+    type would look like this:
+
+       type Rec is record
+          Empty : Boolean;
+          Value : Integer;
+       end record;
+
+    On the other hand, if we printed the value of "No", its fixed type
+    would become:
+
+       type Rec is record
+          Empty : Boolean;
+       end record;
+
+    Things become a little more complicated when trying to fix an entity
+    with a dynamic type that directly contains another dynamic type,
+    such as an array of variant records, for instance.  There are
+    two possible cases: Arrays, and records.
+
+    Arrays are a little simpler to handle, because the same amount of
+    memory is allocated for each element of the array, even if the amount
+    of space used by each element changes from element to element.
+    Consider for instance the following array of type Rec:
+
+       type Rec_Array is array (1 .. 2) of Rec;
+
+    The type structure in GDB describes an array in terms of its
+    bounds, and the type of its elements.  By design, all elements
+    in the array have the same type.  So we cannot use a fixed type
+    for the array elements in this case, since the fixed type depends
+    on the actual value of each element.
+
+    Fortunately, what happens in practice is that each element of
+    the array has the same size, which is the maximum size that
+    might be needed in order to hold an object of the element type.
+    And the compiler shows it in the debugging information by wrapping
+    the array element inside a private PAD type.  This type should not
+    be shown to the user, and must be "unwrap"'ed before printing. Note
+    that we also use the adjective "aligner" in our code to designate
+    these wrapper types.
+
+    These wrapper types should have a constant size, which is the size
+    of each element of the array.  In the case when the size is statically
+    known, the PAD type will already have the right size, and the array
+    element type should remain unfixed.  But there are cases when
+    this size is not statically known.  For instance, assuming that
+    "Five" is an integer variable:
+


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


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

* [SCM]  archer-jankratochvil-type-refcount: Merge branch 'master' of git://sourceware.org/git/gdb into archer-jankratochvil-type-refcount
@ 2009-07-01 17:22 jkratoch
  0 siblings, 0 replies; 3+ messages in thread
From: jkratoch @ 2009-07-01 17:22 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-type-refcount has been updated
       via  b710468567b9323f05b4aa115a081e0d58c48bfc (commit)
       via  cd776332b5dc3d3c206c549961134a7dbc780444 (commit)
       via  b2f2d10e167c1626ce1a51c5a1387127e134b9f5 (commit)
       via  78c3ecb9fc2a692a1025ac4342c1507eeadfc11a (commit)
       via  ccff79effa10ac3d25ef1d8c84dbb0a04dea7238 (commit)
       via  24635af01269bae1f463af472fdc263ef2b035aa (commit)
       via  bf49117437d9aa4152c2a281917b17a8ed73aa7b (commit)
       via  78ff8dca8be092b755d98752b4d99e6caff7ab7a (commit)
       via  de6811785926b42d082f4d67a61e023b63ea3480 (commit)
       via  d8a7fbdcb517f2395da7a8f7985ec57c471fb738 (commit)
       via  1ad593fbdd1a2bdf191ed2c04dcc2cd0004052df (commit)
       via  3e0aa73be2975a2260c844a373d3a60bca399f4d (commit)
       via  8d1157bffa02b69881385153426f34484c0b2f76 (commit)
       via  1ef8e3cbfe36a6615a3927b19c784ecfda1297e0 (commit)
       via  82e3a283a2ad6162fa5ab37450a82d08d6124d47 (commit)
       via  ecaecf53c1ce83aa42660123f24af43286bacb09 (commit)
       via  d88d9f69b90f5c1618050cdf6dac1192bf5581c1 (commit)
       via  eeeb22c84151a59d325ccae112961f23d2d80610 (commit)
       via  41dea21f9a04572e30350ee5029b3d30a4b074dd (commit)
       via  957683f64e2c2d5423486f37f18ead21b39f230e (commit)
       via  3aa2232c6f9fc0db796c8de1bb1ab7da46b0ce2c (commit)
       via  0e458f6438021c02ad43e017f7e65006442cc8fc (commit)
       via  e8cd1064249ec598144e603864304f139001e069 (commit)
       via  d555f2acf32fd5860f6fde24fc921558ca5e0f5b (commit)
       via  a28bb9b5f708c2ea5f246a369ff3791086440639 (commit)
       via  1dea0fa6a2a22b60d0541f5960ece7abf8f433c6 (commit)
       via  a34c22caf3995922df0257a527ae52b71a18a72f (commit)
       via  00436b86deaa81e8853604e42277b6ef3e0c9a71 (commit)
       via  ba02bf41eff6f8ceb3f06028bcb343470c50a841 (commit)
       via  f2b2e7c0304d50bd119b8d43a34cb0a0ba7db300 (commit)
       via  0e634cdb16e844dd5cc227d7eee965eaccabc42c (commit)
       via  0133c8df6d676a6a3861092dfae8df8c41b4613b (commit)
       via  470cc31de5bc9fefc1da1c414b0f1fb046d5f437 (commit)
       via  18f3a435e465a337435fc166cf6fdfb3809d669b (commit)
       via  0afdf54818519b2ed20601e04bbf9cbd078279c7 (commit)
       via  a7e02f173d9f437015226e217996d052f33ee0ce (commit)
       via  a727993190e15bfc43be821ca00ea79f11c3712b (commit)
       via  a854ccae631315e6db1b5e9041b10d1c2a46a78b (commit)
       via  aaec6fe9f6ab06d150c3133a3137072ba0593a96 (commit)
       via  20dadaa446c4b81d4b7a88cf149ef260dea0e6c4 (commit)
       via  592efc20ece7c6677b4f1be2cf0d3b5acd943df6 (commit)
       via  be991f2f7be9379b609c6bffebe2f086cc9d5d01 (commit)
       via  83a11f5e80252776c316f9805defa16e42a8d982 (commit)
       via  166c0e4f7665ae612ccec1d177e03ee4ce00e234 (commit)
       via  089afc895b5bcfd814658c61a910ea386120c570 (commit)
       via  78a5fe1b7d107c963fae6dc5beaf01a83c1d0cac (commit)
       via  8157a93a001cc1a64b29aa9d3089a641292278e6 (commit)
       via  ecd38c719e446e2e61a91c76b3601b9ad584aa43 (commit)
       via  963b661abccbf3d82a4b3d15fa4ef2710bb438ba (commit)
       via  5c7cbd435c982ab5101e75ca9f3ac8532f8db636 (commit)
       via  4d3bdf095299cb0ce138f05cd039b5586efb7502 (commit)
       via  a916c09fae5e53a420f4819a7cd400a62dcc5aef (commit)
       via  f92e90deab7715f37f990d2c0e8dd770bbd972de (commit)
       via  4908ebb8365f9bb7bed4289da1113c0bb1fee0f5 (commit)
       via  d2aed247475a98a69d1b3c3d17443e1fae06da3a (commit)
       via  2e1756148dc6fabd1a6a8d69295a365369c31aae (commit)
       via  7006e3714184d9e62871d3eabdbe3f76ad0c963a (commit)
       via  8be18464cd04a0a499c812f058ddfadd0f451582 (commit)
       via  702529135432f346ce8b80360440f51b1d3f2ba4 (commit)
       via  5f3dc7c01e333db54deb1b75ef24a41f7929f9aa (commit)
       via  24f1ce81a35e29b7fde4684e794bb21eb2be8e46 (commit)
       via  caa5e412314b510ca5b8b0b33e410f66196ac4b0 (commit)
       via  2137e6aadb0a311b8aa4d9500d1b1e154d18794e (commit)
       via  99e912c1465e2f2c5f767b2001caddf7a08e9fc0 (commit)
       via  c8c831dcb40abc7257b17cece36a6ec00d61cf8f (commit)
       via  0ade4216855ddbdcf3ccf978518378bb70b97b3d (commit)
       via  ec892d713ed3143505ff37d69dc2fe782e11074f (commit)
       via  bf7f4d2b131aad3a125f7a364251efac27b1c5dc (commit)
       via  78de5596364746c448627d4fdb9870942f8e0a49 (commit)
       via  8e2e3dc40cbae9ce5a997eedfb810e4faa4b6e31 (commit)
       via  d413ede70cb8fa9f780f6eadb5c2a42e507cf0e8 (commit)
       via  bc4c522239504bf3927696b78f48bbd043b3d96a (commit)
       via  930cb640334354cb47260d9c3892ffa58dbbb190 (commit)
       via  fbd2b6c9b592512255e255db6f64d03535b9e4cf (commit)
       via  078d0c7f36a52a90de87d353eb15a89ad64d6ff1 (commit)
       via  ba4430f32ca361c161424eeba1e7db1496b735d2 (commit)
       via  131656729978471d2efc96a5ad407caeb36346ea (commit)
       via  efea7955c053ab266ba1f0bc2471d559d4eac9f7 (commit)
       via  943794af11850789d94bb9cfaa53f66a594240f2 (commit)
       via  50648b1dc934a3ed6e3c64d04ff6fb376138a86c (commit)
      from  77fda38491fb3ae98de2811ed0b8fb590a62d89f (commit)

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

- Log -----------------------------------------------------------------
commit b710468567b9323f05b4aa115a081e0d58c48bfc
Merge: 943794af11850789d94bb9cfaa53f66a594240f2 cd776332b5dc3d3c206c549961134a7dbc780444
Author: Jan Kratochvil <jkratoch@host1.dyn.jankratochvil.net>
Date:   Wed Jul 1 19:21:42 2009 +0200

    Merge branch 'master' of git://sourceware.org/git/gdb into archer-jankratochvil-type-refcount
    
    Conflicts:
    	gdb/varobj.c

commit cd776332b5dc3d3c206c549961134a7dbc780444
Author: Doug Evans <dje@google.com>
Date:   Wed Jul 1 16:19:14 2009 +0000

    	* NEWS: Mention biarch amd64-linux gdbserver and hardware watchpoint
    	support for i386-linux, amd64-linux, and i386-win32 builds of
    	gdbserver.

commit 943794af11850789d94bb9cfaa53f66a594240f2
Merge: 77fda38491fb3ae98de2811ed0b8fb590a62d89f 50648b1dc934a3ed6e3c64d04ff6fb376138a86c
Author: Jan Kratochvil <jkratoch@host1.dyn.jankratochvil.net>
Date:   Tue Jun 23 23:50:11 2009 +0200

    Merge branch 'master' of git://sourceware.org/git/gdb into archer-jankratochvil-type-refcount

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

Summary of changes:
 ChangeLog                                          |    7 +
 Makefile.def                                       |    1 +
 Makefile.in                                        |  443 +++++
 bfd/ChangeLog                                      |  106 ++
 bfd/bfd.m4                                         |   38 +-
 bfd/coffcode.h                                     |   10 +-
 bfd/config.in                                      |    9 +
 bfd/configure                                      |  206 ++-
 bfd/configure.in                                   |   13 +-
 bfd/elf-m10300.c                                   |   26 +-
 bfd/elf.c                                          |   11 +-
 bfd/elf32-arm.c                                    |   34 +
 bfd/mach-o-i386.c                                  |   67 +-
 bfd/mach-o-target.c                                |    9 +-
 bfd/mach-o.c                                       |  431 +++--
 bfd/mach-o.h                                       |   61 +-
 bfd/plugin.c                                       |    6 +-
 bfd/reloc.c                                        |    2 +-
 bfd/version.h                                      |    2 +-
 bfd/vmsutil.c                                      |   67 +-
 configure                                          |    2 +-
 configure.ac                                       |    2 +-
 gdb/ChangeLog                                      |  440 +++++-
 gdb/MAINTAINERS                                    |    1 +
 gdb/Makefile.in                                    |   22 +-
 gdb/NEWS                                           |   10 +
 gdb/README                                         |   14 +
 gdb/ada-lang.c                                     |  282 ++--
 gdb/ada-lang.h                                     |    5 +-
 gdb/ada-tasks.c                                    |    3 +-
 gdb/ada-typeprint.c                                |   32 +-
 gdb/ada-valprint.c                                 |   11 +-
 gdb/block.c                                        |   23 +-
 gdb/block.h                                        |    4 +-
 gdb/blockframe.c                                   |   36 +-
 gdb/breakpoint.c                                   |  206 ++-
 gdb/breakpoint.h                                   |    9 +-
 gdb/buildsym.c                                     |    8 +-
 gdb/coffread.c                                     |   34 +-
 gdb/configure.tgt                                  |    4 +
 gdb/cp-namespace.c                                 |   53 +-
 gdb/cp-support.h                                   |   10 +-
 gdb/darwin-nat-info.c                              |    2 +-
 gdb/dbxread.c                                      |    3 +
 gdb/doc/ChangeLog                                  |   16 +
 gdb/doc/gdb.texinfo                                |  137 ++-
 gdb/dwarf2-frame.c                                 |   67 +-
 gdb/dwarf2loc.c                                    |   10 +-
 gdb/dwarf2read.c                                   |  142 ++-
 gdb/eval.c                                         |   70 +-
 gdb/frame-unwind.c                                 |    5 +-
 gdb/frame.c                                        |  207 ++-
 gdb/frame.h                                        |   28 +-
 gdb/gdbserver/ChangeLog                            |   93 +
 gdb/gdbserver/Makefile.in                          |   10 +-
 gdb/gdbserver/configure.srv                        |    8 +-
 gdb/gdbserver/i386-low.c                           |  577 ++++++
 gdb/gdbserver/i386-low.h                           |  109 ++
 gdb/gdbserver/linux-crisv32-low.c                  |    8 +-
 gdb/gdbserver/linux-low.c                          |   33 +-
 gdb/gdbserver/linux-low.h                          |   29 +-
 gdb/gdbserver/linux-x86-low.c                      |  220 +++-
 gdb/gdbserver/server.c                             |   71 +-
 gdb/gdbserver/server.h                             |    2 +
 gdb/gdbserver/target.h                             |    6 +-
 gdb/gdbserver/utils.c                              |   43 +
 gdb/gdbserver/win32-arm-low.c                      |    5 +
 gdb/gdbserver/win32-i386-low.c                     |  134 ++-
 gdb/gdbserver/win32-low.c                          |   50 +-
 gdb/gdbserver/win32-low.h                          |    6 +
 gdb/gdbthread.h                                    |    5 +
 gdb/gdbtypes.c                                     |  189 ++-
 gdb/gdbtypes.h                                     |   85 +-
 gdb/glibc-tdep.c                                   |    2 +-
 gdb/gnu-v2-abi.c                                   |    3 +-
 gdb/gnu-v3-abi.c                                   |   12 +-
 gdb/hppa-tdep.c                                    |    2 +-
 gdb/infcall.c                                      |    2 +-
 gdb/infcmd.c                                       |   73 +-
 gdb/inferior.h                                     |    2 +
 gdb/infrun.c                                       |  232 ++-
 gdb/inline-frame.c                                 |  394 ++++
 gdb/inline-frame.h                                 |   62 +
 gdb/jv-lang.c                                      |    9 +-
 gdb/linespec.c                                     |   25 +-
 gdb/m2-lang.c                                      |    4 +-
 gdb/mdebugread.c                                   |   25 +-
 gdb/mi/mi-cmd-stack.c                              |   38 +-
 gdb/mi/mi-cmds.c                                   |   52 -
 gdb/minsyms.c                                      |    2 +-
 gdb/mips-linux-tdep.c                              |    4 +-
 gdb/obsd-tdep.c                                    |    2 +-
 gdb/parse.c                                        |   10 +-
 gdb/python/python-value.c                          |   30 +-
 gdb/regcache.c                                     |    4 +
 gdb/s390-tdep.c                                    |   11 +-
 gdb/sol2-tdep.c                                    |    2 +-
 gdb/stabsread.c                                    |  163 +-
 gdb/stabsread.h                                    |    2 +-
 gdb/stack.c                                        |   71 +-
 gdb/symtab.c                                       |  140 +-
 gdb/symtab.h                                       |   16 +-
 gdb/target.c                                       |    2 +
 gdb/testsuite/ChangeLog                            |  129 ++
 gdb/testsuite/Makefile.in                          |   53 +-
 gdb/testsuite/aclocal.m4                           |   33 +
 gdb/testsuite/configure                            |  103 +-
 gdb/testsuite/configure.ac                         |   15 +-
 gdb/testsuite/dg-extract-results.sh                |  423 +++++
 gdb/testsuite/gdb.base/bigcore.exp                 |    1 +
 gdb/testsuite/gdb.base/break.exp                   |    7 +
 gdb/testsuite/gdb.base/completion.exp              |   27 +-
 gdb/testsuite/gdb.base/exe-lock.exp                |    5 +-
 gdb/testsuite/gdb.base/psymtab.exp                 |    5 +
 gdb/testsuite/gdb.base/setshow.exp                 |    3 -
 gdb/testsuite/gdb.cp/annota2.exp                   |    3 +-
 gdb/testsuite/gdb.cp/exception.exp                 |    8 +-
 gdb/testsuite/gdb.cp/namespace-nested-import.cc    |   12 +
 gdb/testsuite/gdb.cp/namespace-nested-import.exp   |   48 +
 .../gdb.dwarf2/dw2-restore.S}                      |   62 +-
 gdb/testsuite/gdb.dwarf2/dw2-restore.exp           |   37 +
 gdb/testsuite/gdb.mi/mi-stack.exp                  |    4 +-
 gdb/testsuite/gdb.opt/Makefile.in                  |    2 +-
 gdb/testsuite/gdb.opt/clobbered-registers-O2.exp   |    5 +-
 gdb/{obsd-tdep.c => testsuite/gdb.opt/inline-bt.c} |   45 +-
 gdb/testsuite/gdb.opt/inline-bt.exp                |   63 +
 gdb/testsuite/gdb.opt/inline-cmds.c                |   85 +
 gdb/testsuite/gdb.opt/inline-cmds.exp              |  308 +++
 .../gdb.opt/inline-locals.c}                       |   50 +-
 gdb/testsuite/gdb.opt/inline-locals.exp            |  118 ++
 .../gdb.opt/inline-markers.c}                      |   34 +-
 gdb/testsuite/gdb.reverse/Makefile.in              |   19 +
 .../gdb.reverse/break-reverse.c}                   |   35 +-
 gdb/testsuite/gdb.reverse/break-reverse.exp        |   86 +
 .../gdb.reverse/consecutive-reverse.c}             |   33 +-
 gdb/testsuite/gdb.reverse/consecutive-reverse.exp  |  125 ++
 gdb/testsuite/gdb.reverse/finish-reverse.c         |  127 ++
 gdb/testsuite/gdb.reverse/finish-reverse.exp       |  260 +++
 gdb/testsuite/gdb.reverse/machinestate.c           |  101 +
 gdb/testsuite/gdb.reverse/machinestate.exp         |  230 +++
 gdb/{obsd-tdep.c => testsuite/gdb.reverse/ms1.c}   |   25 +-
 gdb/{obsd-tdep.c => testsuite/gdb.reverse/shr2.c}  |   34 +-
 gdb/testsuite/gdb.reverse/solib-reverse.c          |   43 +
 gdb/testsuite/gdb.reverse/solib-reverse.exp        |  124 ++
 gdb/testsuite/gdb.reverse/step-reverse.c           |   78 +
 gdb/testsuite/gdb.reverse/step-reverse.exp         |  251 +++
 gdb/testsuite/gdb.reverse/until-reverse.c          |  146 ++
 gdb/testsuite/gdb.reverse/until-reverse.exp        |  129 ++
 gdb/testsuite/gdb.reverse/ur1.c                    |   49 +
 gdb/testsuite/gdb.reverse/watch-reverse.c          |  219 +++
 gdb/testsuite/gdb.reverse/watch-reverse.exp        |  127 ++
 gdb/testsuite/gdb.threads/current-lwp-dead.c       |   75 +
 gdb/testsuite/gdb.threads/current-lwp-dead.exp     |   31 +
 gdb/testsuite/lib/gdb.exp                          |   31 +
 gdb/testsuite/lib/mi-support.exp                   |    2 +-
 gdb/valarith.c                                     |   53 +-
 gdb/valops.c                                       |    9 +-
 gdb/value.h                                        |   11 +-
 gdb/varobj.c                                       |   23 +-
 gdb/version.in                                     |    2 +-
 gdb/wrapper.c                                      |    4 +-
 gdb/wrapper.h                                      |    3 +-
 gdb/xcoffread.c                                    |    5 +-
 opcodes/ChangeLog                                  |   48 +
 opcodes/arm-dis.c                                  |  516 ++++--
 opcodes/mep-asm.c                                  |   70 +
 opcodes/mep-desc.c                                 | 1965 +++++++++++---------
 opcodes/mep-desc.h                                 |   46 +-
 opcodes/mep-dis.c                                  |   69 +
 opcodes/mep-ibld.c                                 |  322 ++++
 opcodes/mep-opc.c                                  |   44 +-
 opcodes/mep-opc.h                                  |    1 +
 172 files changed, 11122 insertions(+), 2663 deletions(-)
 create mode 100644 gdb/gdbserver/i386-low.c
 create mode 100644 gdb/gdbserver/i386-low.h
 create mode 100644 gdb/inline-frame.c
 create mode 100644 gdb/inline-frame.h
 create mode 100755 gdb/testsuite/dg-extract-results.sh
 create mode 100644 gdb/testsuite/gdb.cp/namespace-nested-import.cc
 create mode 100644 gdb/testsuite/gdb.cp/namespace-nested-import.exp
 copy gdb/{obsd-tdep.c => testsuite/gdb.dwarf2/dw2-restore.S} (52%)
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-restore.exp
 copy gdb/{obsd-tdep.c => testsuite/gdb.opt/inline-bt.c} (54%)
 create mode 100644 gdb/testsuite/gdb.opt/inline-bt.exp
 create mode 100644 gdb/testsuite/gdb.opt/inline-cmds.c
 create mode 100644 gdb/testsuite/gdb.opt/inline-cmds.exp
 copy gdb/{obsd-tdep.c => testsuite/gdb.opt/inline-locals.c} (54%)
 create mode 100644 gdb/testsuite/gdb.opt/inline-locals.exp
 copy gdb/{obsd-tdep.c => testsuite/gdb.opt/inline-markers.c} (54%)
 create mode 100644 gdb/testsuite/gdb.reverse/Makefile.in
 copy gdb/{obsd-tdep.c => testsuite/gdb.reverse/break-reverse.c} (54%)
 create mode 100644 gdb/testsuite/gdb.reverse/break-reverse.exp
 copy gdb/{obsd-tdep.c => testsuite/gdb.reverse/consecutive-reverse.c} (54%)
 create mode 100644 gdb/testsuite/gdb.reverse/consecutive-reverse.exp
 create mode 100644 gdb/testsuite/gdb.reverse/finish-reverse.c
 create mode 100644 gdb/testsuite/gdb.reverse/finish-reverse.exp
 create mode 100644 gdb/testsuite/gdb.reverse/machinestate.c
 create mode 100644 gdb/testsuite/gdb.reverse/machinestate.exp
 copy gdb/{obsd-tdep.c => testsuite/gdb.reverse/ms1.c} (53%)
 copy gdb/{obsd-tdep.c => testsuite/gdb.reverse/shr2.c} (53%)
 create mode 100644 gdb/testsuite/gdb.reverse/solib-reverse.c
 create mode 100644 gdb/testsuite/gdb.reverse/solib-reverse.exp
 create mode 100644 gdb/testsuite/gdb.reverse/step-reverse.c
 create mode 100644 gdb/testsuite/gdb.reverse/step-reverse.exp
 create mode 100644 gdb/testsuite/gdb.reverse/until-reverse.c
 create mode 100644 gdb/testsuite/gdb.reverse/until-reverse.exp
 create mode 100644 gdb/testsuite/gdb.reverse/ur1.c
 create mode 100644 gdb/testsuite/gdb.reverse/watch-reverse.c
 create mode 100644 gdb/testsuite/gdb.reverse/watch-reverse.exp
 create mode 100644 gdb/testsuite/gdb.threads/current-lwp-dead.c
 create mode 100644 gdb/testsuite/gdb.threads/current-lwp-dead.exp

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 16c6391..348e5b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-06-26  Doug Evans  <dje@sebabeach.org>
+
+	* Makefile.def (host_modules): Add cgen.
+	* Makefile.in: Regenerate.
+	* configure.ac (host_tools): Add cgen.
+	* configure: Regenerate.
+
 2009-06-17  Michael Eager <eager@eagercon.com>
 
 	* COPYING.LIBGLOSS: Add Xilinx license.
diff --git a/Makefile.def b/Makefile.def
index 30d4d17..5cda3a3 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -43,6 +43,7 @@ host_modules= { module= binutils; bootstrap=true; };
 host_modules= { module= bison; no_check_cross= true; };
 host_modules= { module= byacc; no_check_cross= true; };
 host_modules= { module= bzip2; };
+host_modules= { module= cgen; };
 host_modules= { module= dejagnu; };
 host_modules= { module= diff; };
 host_modules= { module= dosutils; no_check= true; };
diff --git a/Makefile.in b/Makefile.in
index fdc2d2e..104d69c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -753,6 +753,7 @@ configure-host:  \
     maybe-configure-bison \
     maybe-configure-byacc \
     maybe-configure-bzip2 \
+    maybe-configure-cgen \
     maybe-configure-dejagnu \
     maybe-configure-diff \
     maybe-configure-dosutils \
@@ -894,6 +895,7 @@ all-host: maybe-all-binutils
 all-host: maybe-all-bison
 all-host: maybe-all-byacc
 all-host: maybe-all-bzip2
+all-host: maybe-all-cgen
 all-host: maybe-all-dejagnu
 all-host: maybe-all-diff
 all-host: maybe-all-dosutils
@@ -1037,6 +1039,7 @@ info-host: maybe-info-binutils
 info-host: maybe-info-bison
 info-host: maybe-info-byacc
 info-host: maybe-info-bzip2
+info-host: maybe-info-cgen
 info-host: maybe-info-dejagnu
 info-host: maybe-info-diff
 info-host: maybe-info-dosutils
@@ -1147,6 +1150,7 @@ dvi-host: maybe-dvi-binutils
 dvi-host: maybe-dvi-bison
 dvi-host: maybe-dvi-byacc
 dvi-host: maybe-dvi-bzip2
+dvi-host: maybe-dvi-cgen
 dvi-host: maybe-dvi-dejagnu
 dvi-host: maybe-dvi-diff
 dvi-host: maybe-dvi-dosutils
@@ -1257,6 +1261,7 @@ pdf-host: maybe-pdf-binutils
 pdf-host: maybe-pdf-bison
 pdf-host: maybe-pdf-byacc
 pdf-host: maybe-pdf-bzip2
+pdf-host: maybe-pdf-cgen
 pdf-host: maybe-pdf-dejagnu
 pdf-host: maybe-pdf-diff
 pdf-host: maybe-pdf-dosutils
@@ -1367,6 +1372,7 @@ html-host: maybe-html-binutils
 html-host: maybe-html-bison
 html-host: maybe-html-byacc
 html-host: maybe-html-bzip2
+html-host: maybe-html-cgen
 html-host: maybe-html-dejagnu
 html-host: maybe-html-diff
 html-host: maybe-html-dosutils
@@ -1477,6 +1483,7 @@ TAGS-host: maybe-TAGS-binutils
 TAGS-host: maybe-TAGS-bison
 TAGS-host: maybe-TAGS-byacc
 TAGS-host: maybe-TAGS-bzip2
+TAGS-host: maybe-TAGS-cgen
 TAGS-host: maybe-TAGS-dejagnu
 TAGS-host: maybe-TAGS-diff
 TAGS-host: maybe-TAGS-dosutils
@@ -1587,6 +1594,7 @@ install-info-host: maybe-install-info-binutils
 install-info-host: maybe-install-info-bison
 install-info-host: maybe-install-info-byacc
 install-info-host: maybe-install-info-bzip2
+install-info-host: maybe-install-info-cgen
 install-info-host: maybe-install-info-dejagnu
 install-info-host: maybe-install-info-diff
 install-info-host: maybe-install-info-dosutils
@@ -1697,6 +1705,7 @@ install-pdf-host: maybe-install-pdf-binutils
 install-pdf-host: maybe-install-pdf-bison
 install-pdf-host: maybe-install-pdf-byacc
 install-pdf-host: maybe-install-pdf-bzip2
+install-pdf-host: maybe-install-pdf-cgen
 install-pdf-host: maybe-install-pdf-dejagnu
 install-pdf-host: maybe-install-pdf-diff
 install-pdf-host: maybe-install-pdf-dosutils
@@ -1807,6 +1816,7 @@ install-html-host: maybe-install-html-binutils
 install-html-host: maybe-install-html-bison
 install-html-host: maybe-install-html-byacc
 install-html-host: maybe-install-html-bzip2
+install-html-host: maybe-install-html-cgen
 install-html-host: maybe-install-html-dejagnu
 install-html-host: maybe-install-html-diff
 install-html-host: maybe-install-html-dosutils
@@ -1917,6 +1927,7 @@ installcheck-host: maybe-installcheck-binutils
 installcheck-host: maybe-installcheck-bison
 installcheck-host: maybe-installcheck-byacc
 installcheck-host: maybe-installcheck-bzip2
+installcheck-host: maybe-installcheck-cgen
 installcheck-host: maybe-installcheck-dejagnu
 installcheck-host: maybe-installcheck-diff
 installcheck-host: maybe-installcheck-dosutils
@@ -2027,6 +2038,7 @@ mostlyclean-host: maybe-mostlyclean-binutils
 mostlyclean-host: maybe-mostlyclean-bison
 mostlyclean-host: maybe-mostlyclean-byacc
 mostlyclean-host: maybe-mostlyclean-bzip2
+mostlyclean-host: maybe-mostlyclean-cgen
 mostlyclean-host: maybe-mostlyclean-dejagnu
 mostlyclean-host: maybe-mostlyclean-diff
 mostlyclean-host: maybe-mostlyclean-dosutils
@@ -2137,6 +2149,7 @@ clean-host: maybe-clean-binutils
 clean-host: maybe-clean-bison
 clean-host: maybe-clean-byacc
 clean-host: maybe-clean-bzip2
+clean-host: maybe-clean-cgen
 clean-host: maybe-clean-dejagnu
 clean-host: maybe-clean-diff
 clean-host: maybe-clean-dosutils
@@ -2247,6 +2260,7 @@ distclean-host: maybe-distclean-binutils
 distclean-host: maybe-distclean-bison
 distclean-host: maybe-distclean-byacc
 distclean-host: maybe-distclean-bzip2
+distclean-host: maybe-distclean-cgen
 distclean-host: maybe-distclean-dejagnu
 distclean-host: maybe-distclean-diff
 distclean-host: maybe-distclean-dosutils
@@ -2357,6 +2371,7 @@ maintainer-clean-host: maybe-maintainer-clean-binutils
 maintainer-clean-host: maybe-maintainer-clean-bison
 maintainer-clean-host: maybe-maintainer-clean-byacc
 maintainer-clean-host: maybe-maintainer-clean-bzip2
+maintainer-clean-host: maybe-maintainer-clean-cgen
 maintainer-clean-host: maybe-maintainer-clean-dejagnu
 maintainer-clean-host: maybe-maintainer-clean-diff
 maintainer-clean-host: maybe-maintainer-clean-dosutils
@@ -2521,6 +2536,7 @@ check-host:  \
     maybe-check-bison \
     maybe-check-byacc \
     maybe-check-bzip2 \
+    maybe-check-cgen \
     maybe-check-dejagnu \
     maybe-check-diff \
     maybe-check-dosutils \
@@ -2658,6 +2674,7 @@ install-host-nogcc:  \
     maybe-install-bison \
     maybe-install-byacc \
     maybe-install-bzip2 \
+    maybe-install-cgen \
     maybe-install-dejagnu \
     maybe-install-diff \
     maybe-install-dosutils \
@@ -2734,6 +2751,7 @@ install-host:  \
     maybe-install-bison \
     maybe-install-byacc \
     maybe-install-bzip2 \
+    maybe-install-cgen \
     maybe-install-dejagnu \
     maybe-install-diff \
     maybe-install-dosutils \
@@ -8863,6 +8881,431 @@ maintainer-clean-bzip2:
 
 
 
+.PHONY: configure-cgen maybe-configure-cgen
+maybe-configure-cgen:
+@if gcc-bootstrap
+configure-cgen: stage_current
+@endif gcc-bootstrap
+@if cgen
+maybe-configure-cgen: configure-cgen
+configure-cgen: 
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
+	$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
+	$(HOST_EXPORTS) \
+	echo Configuring in $(HOST_SUBDIR)/cgen; \
+	cd "$(HOST_SUBDIR)/cgen" || exit 1; \
+	case $(srcdir) in \
+	  /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
+	  *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
+		sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
+	esac; \
+	srcdiroption="--srcdir=$${topdir}/cgen"; \
+	libsrcdir="$$s/cgen"; \
+	$(SHELL) $${libsrcdir}/configure \
+	  $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
+	  --target=${target_alias} $${srcdiroption}  \
+	  || exit 1
+@endif cgen
+
+
+
+
+
+.PHONY: all-cgen maybe-all-cgen
+maybe-all-cgen:
+@if gcc-bootstrap
+all-cgen: stage_current
+@endif gcc-bootstrap
+@if cgen
+TARGET-cgen=all
+maybe-all-cgen: all-cgen
+all-cgen: configure-cgen
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd $(HOST_SUBDIR)/cgen && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)  \
+		$(TARGET-cgen))
+@endif cgen
+
+
+
+
+.PHONY: check-cgen maybe-check-cgen
+maybe-check-cgen:
+@if cgen
+maybe-check-cgen: check-cgen
+
+check-cgen:
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd $(HOST_SUBDIR)/cgen && \
+	  $(MAKE) $(FLAGS_TO_PASS)  check)
+
+@endif cgen
+
+.PHONY: install-cgen maybe-install-cgen
+maybe-install-cgen:
+@if cgen
+maybe-install-cgen: install-cgen
+
+install-cgen: installdirs
+	@: $(MAKE); $(unstage)
+	@r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	(cd $(HOST_SUBDIR)/cgen && \
+	  $(MAKE) $(FLAGS_TO_PASS)  install)
+
+@endif cgen
+
+# Other targets (info, dvi, pdf, etc.)
+
+.PHONY: maybe-info-cgen info-cgen
+maybe-info-cgen:
+@if cgen
+maybe-info-cgen: info-cgen
+
+info-cgen: \
+    configure-cgen 
+	@: $(MAKE); $(unstage)
+	@[ -f ./cgen/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing info in cgen" ; \
+	(cd $(HOST_SUBDIR)/cgen && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	          info) \
+	  || exit 1
+
+@endif cgen
+
+.PHONY: maybe-dvi-cgen dvi-cgen
+maybe-dvi-cgen:
+@if cgen
+maybe-dvi-cgen: dvi-cgen
+
+dvi-cgen: \
+    configure-cgen 
+	@: $(MAKE); $(unstage)
+	@[ -f ./cgen/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing dvi in cgen" ; \
+	(cd $(HOST_SUBDIR)/cgen && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	          dvi) \
+	  || exit 1
+
+@endif cgen
+
+.PHONY: maybe-pdf-cgen pdf-cgen
+maybe-pdf-cgen:
+@if cgen
+maybe-pdf-cgen: pdf-cgen
+
+pdf-cgen: \
+    configure-cgen 
+	@: $(MAKE); $(unstage)
+	@[ -f ./cgen/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing pdf in cgen" ; \
+	(cd $(HOST_SUBDIR)/cgen && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	          pdf) \
+	  || exit 1
+
+@endif cgen
+
+.PHONY: maybe-html-cgen html-cgen
+maybe-html-cgen:
+@if cgen
+maybe-html-cgen: html-cgen
+
+html-cgen: \
+    configure-cgen 
+	@: $(MAKE); $(unstage)
+	@[ -f ./cgen/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing html in cgen" ; \
+	(cd $(HOST_SUBDIR)/cgen && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	          html) \
+	  || exit 1
+
+@endif cgen
+
+.PHONY: maybe-TAGS-cgen TAGS-cgen
+maybe-TAGS-cgen:
+@if cgen
+maybe-TAGS-cgen: TAGS-cgen
+
+TAGS-cgen: \
+    configure-cgen 
+	@: $(MAKE); $(unstage)
+	@[ -f ./cgen/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing TAGS in cgen" ; \
+	(cd $(HOST_SUBDIR)/cgen && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	          TAGS) \
+	  || exit 1
+
+@endif cgen
+
+.PHONY: maybe-install-info-cgen install-info-cgen
+maybe-install-info-cgen:
+@if cgen
+maybe-install-info-cgen: install-info-cgen
+
+install-info-cgen: \
+    configure-cgen \
+    info-cgen 
+	@: $(MAKE); $(unstage)
+	@[ -f ./cgen/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing install-info in cgen" ; \
+	(cd $(HOST_SUBDIR)/cgen && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	          install-info) \
+	  || exit 1
+
+@endif cgen
+
+.PHONY: maybe-install-pdf-cgen install-pdf-cgen
+maybe-install-pdf-cgen:
+@if cgen
+maybe-install-pdf-cgen: install-pdf-cgen
+
+install-pdf-cgen: \
+    configure-cgen \
+    pdf-cgen 
+	@: $(MAKE); $(unstage)
+	@[ -f ./cgen/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing install-pdf in cgen" ; \
+	(cd $(HOST_SUBDIR)/cgen && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	          install-pdf) \
+	  || exit 1
+
+@endif cgen
+
+.PHONY: maybe-install-html-cgen install-html-cgen
+maybe-install-html-cgen:
+@if cgen
+maybe-install-html-cgen: install-html-cgen
+
+install-html-cgen: \
+    configure-cgen \
+    html-cgen 
+	@: $(MAKE); $(unstage)
+	@[ -f ./cgen/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing install-html in cgen" ; \
+	(cd $(HOST_SUBDIR)/cgen && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	          install-html) \
+	  || exit 1
+
+@endif cgen
+
+.PHONY: maybe-installcheck-cgen installcheck-cgen
+maybe-installcheck-cgen:
+@if cgen
+maybe-installcheck-cgen: installcheck-cgen
+
+installcheck-cgen: \
+    configure-cgen 
+	@: $(MAKE); $(unstage)
+	@[ -f ./cgen/Makefile ] || exit 0; \
+	r=`${PWD_COMMAND}`; export r; \
+	s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
+	$(HOST_EXPORTS) \
+	for flag in $(EXTRA_HOST_FLAGS) ; do \
+	  eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
+	done; \
+	echo "Doing installcheck in cgen" ; \
+	(cd $(HOST_SUBDIR)/cgen && \
+	  $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
+	          "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
+	          "RANLIB=$${RANLIB}" \
+	          "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
+	          installcheck) \
+	  || exit 1
+


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


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

* [SCM]  archer-jankratochvil-type-refcount: Merge branch 'master' of git://sourceware.org/git/gdb into archer-jankratochvil-type-refcount
@ 2009-06-23 13:22 jkratoch
  0 siblings, 0 replies; 3+ messages in thread
From: jkratoch @ 2009-06-23 13:22 UTC (permalink / raw)
  To: archer-commits

The branch, archer-jankratochvil-type-refcount has been updated
       via  1b8042c7c5fe975a5c775b7f220118264ede2e8d (commit)
       via  68366571cea030069463f4755d03332e17d3222a (commit)
       via  af3dc718c2f4d6cdc80c371893945fb02aad3784 (commit)
       via  2faf6353fcd12c1e0f4262a8310534ce5950b2b3 (commit)
       via  6daadb3e7c1212413b4fbde94416186bed7899c9 (commit)
       via  51f0708764208830a105f620e64eb5369f4e638b (commit)
       via  6a0b420353d04e39593198d4f7f7e51859a4427a (commit)
       via  7bfcf80fbbe54ae32dcfbfef5a403bbb7905db78 (commit)
       via  75ba84a2d3a4a173ba8003cc5468e3b2db604798 (commit)
       via  dd1f69e28fd65f528e597cdd9ab215b6fcd85345 (commit)
       via  a2c1dfd6e0b23b29ea56e9536a748b3063443340 (commit)
       via  c6a940c9abf9ec465c4a3ea699bec6817a4416e4 (commit)
       via  f7ed99d022338759af0c79bea066c62a6c9d8c82 (commit)
       via  2e3874edfb1ea7ed6c85798db3ba3e3eec1f1d42 (commit)
       via  d39e2618a8c3f71f7f2f41fd3619145939b59eb1 (commit)
       via  d51b901989af1083c5db2d034f6e8afe5d597a73 (commit)
       via  a0080cb963e3c9c6be17ed9bdf526b107cb21ab4 (commit)
       via  1c81023168a8479263a829a5549546624eece6f0 (commit)
       via  5e522b47e7ca0231081bbcd679dfd10861c7bc35 (commit)
       via  5731da445d5947416a694227bc4b807e59612014 (commit)
       via  5e9f6a7e091ee0dcbaac7027e50f0d8d9cfbd197 (commit)
       via  1fcbafc843571cd73bf6b0f7f9999e16ef99f333 (commit)
       via  b958044b814dcbf0b49daa1a2a02c0cd7e6c463b (commit)
       via  846889a14f71d6cb579965566b90eda95279d08a (commit)
       via  b2f820dea835be92813e3baba06eababd9c5e137 (commit)
       via  ff464c6ec2390aa66a64635eab760ecae4118334 (commit)
       via  5580fcd8e024c57ca41a8ac6b93d7adc3602570e (commit)
       via  b49403b5c12ac2683dd949175955ec1d07feb931 (commit)
       via  44455dbf1cf5ffaac5fddbb3a1bec6a2c73b77c5 (commit)
       via  b990f92586de948a723ab26480c2ee285bd37be2 (commit)
       via  e263ac6fdd6f186023d4b8c29079cc11116bbe36 (commit)
       via  4903c1aab2d0511d09f2a8c6b818faf96a85f17f (commit)
       via  8f93967d55c76daa32f6291e8c8fdb6a81358b4c (commit)
       via  4f12f78dc4d0bbc4218a75a85b7ca9bdd86beb2e (commit)
       via  802c20d97b16784d29e88bd1ffcced05feef83c5 (commit)
       via  454017f93471db779ed4c56f82342ff702e5712b (commit)
       via  2a2aa3b4f5d0e310514e0784a740f68465a383cc (commit)
       via  05309704b6d65c6e2ce1871520dcaac0341db668 (commit)
       via  9a1135426d4eea959cc239b04770cb9eb19e4625 (commit)
       via  9537a56e0368e3857240d8716295c0f70d85dadc (commit)
       via  6d141897e95bb6f4d56380ec57acb8304095585f (commit)
       via  b3d24560a69fda0aaac9def57d315ddece0af596 (commit)
       via  021178295bccdfaae412d63dac30ca07fee08d83 (commit)
       via  e1b592d5ac566398ee1185f23746329ba4cab6b0 (commit)
       via  a42f3a995b36a85fd34bfc1dd7c10d06cb83be13 (commit)
       via  752c7967e57d775301494efe0d76d1d1083c9bdc (commit)
       via  83dbb3cb189e46c6d8c8242bc942ddc57c634b6e (commit)
       via  0535d9eb8083962e2a2debb832488d1604c7e8c4 (commit)
       via  ee8e0bac66d597bf1b3241971280048f42fb7608 (commit)
       via  8c968cdc0452fc297659633795553c9cb1e04321 (commit)
       via  f1c2bfe6b2eb5f4671b2e3da2d743f39b4c4a574 (commit)
       via  ff9263ab9128fa496a6ca4c1d4a727e5830a0967 (commit)
       via  1b4d1a9776c28bbd46d043f44026aecc4941bbba (commit)
       via  080e40caade418433c2880ab38ac64e905941f60 (commit)
       via  e65f80f084963c6689455408e4bd41551a9d7227 (commit)
       via  249d22765a769e2532f551966912a031d777ae34 (commit)
       via  c379941987e62b507f0bf901f10334aeb269f94d (commit)
       via  70bdf48f6eabc1ecd193abc3680bc55eb19df98b (commit)
       via  6023ec102778c40035c2bbb0057ba3d616e6e9f6 (commit)
       via  7990ef6595652e8ee3b2d73066ab446a99091ff4 (commit)
       via  1f0842dcc1f88af26bb9160abcacd07b37c4b80d (commit)
       via  6212ed42f597f4ea6f7ebefc945ea71e3cb5437a (commit)
       via  aeda700ca0c63a2620b4f9f32f2d5004feb3c92d (commit)
       via  229e0d7bb9f462ab6db3406cbf66b42416bdb3ed (commit)
       via  8009d4d75e20fa899aebfa052dbf20618c8da6c9 (commit)
       via  62d99c16354a94e887c9380a407e7c72e8ce9a77 (commit)
       via  b306ad247c9ffa1a60a1e74786c1489441303cba (commit)
       via  36bdb09e90dec18c488a22c9cc4b3a384c1a263b (commit)
       via  37e0a256a21caf3fb05c7df902e40d655bc1d4f1 (commit)
       via  bdcf2ba571882988c94cc084e1edf043e0c9bbed (commit)
       via  e75ef2ef951dcd7527bc98903d2b1c158f9979f6 (commit)
       via  edb34e852590a0fb3dfb1111787d73adbfd37c58 (commit)
       via  26a72b35a208aea5c27777a30c4748efbbf0a6d0 (commit)
       via  f79178872ca88e95691e3a9d0ccd0c02723a99a3 (commit)
       via  8745f772128a8484545c11070048cdfd2caf37a5 (commit)
       via  729b010560ef364fd147584be4ee57d5f2319cfc (commit)
       via  292330aac72649545a68f3845244600b4dbc7ab6 (commit)
       via  b6d7d2f6c3f0eb950a31472283f157619cc3a847 (commit)
       via  475c3724ab47f30af0a748bb28bf958ed942c7d0 (commit)
       via  3cac13db5919475bed0d9208984b0784d0a6d8ba (commit)
       via  6cd948980df13892d7df17d166307db78d866c8c (commit)
       via  0a69627953be73f82308aa7f42b3543006260e8f (commit)
       via  5e955cc4e24a01942f8ea24d34be4c31cb2cf47e (commit)
       via  e10bba9ca1d6745baa8130dca62025cd503a5ae3 (commit)
       via  04fbd8adb3e105c6fbe7ce1ed826a6c28b780d8d (commit)
       via  a575a4338d94f40170dc832b4c30f9bee77e1294 (commit)
       via  40b336026c730faed6bcd1c979cd7269e19847ae (commit)
       via  84e1f22e33b8c908de126a93ce52a601a946c7ec (commit)
       via  30bdd1d71abb385f7201d25fa19be8966540daf8 (commit)
       via  b40d4a74193281b05268da1b860eebdff4cf21f3 (commit)
       via  29d90f339093389d27d31fe401c3d4132eead197 (commit)
       via  f7ecdd4ed93649cd218360fe8dda2b6dc5288250 (commit)
       via  d364a05153b2bfc49a7f75b3d780c823fb65c964 (commit)
       via  7bf833e45b7b68465ae4f6cc8e80f26d91793a5b (commit)
       via  354a44b9adb4ea7e39e8b8493dc20a1c67983af1 (commit)
       via  0545b049acfd1b2b33ebc1962ab6c17974b9d827 (commit)
       via  97b2f6c1dc24b75b70691ed3a3b06e6227a21fa6 (commit)
       via  3ac382e0ea33ec0440ecac85c99beec6da862592 (commit)
       via  c650a13859ce8b01a164e0706290e10013735b88 (commit)
       via  a403e9113f43835241ba0785ba679597ba610e12 (commit)
       via  d0b1cbd9ff0065cf79dc9d41b778db52bf3e6c94 (commit)
       via  0c13b08fcfd84d4d7796ee8cbaa43385b28ac137 (commit)
       via  6feef5602624bdd4da2ed6d7d0a5b485b089ca85 (commit)
       via  e88c4cd39f8347abd419ed8f066997270c887395 (commit)
       via  a07fc80f14506f18277d21c1ac4a8c5f876135dc (commit)
       via  8d2a2802a0ed98e3a8db936cfb03257fc88b98b5 (commit)
       via  eeed874106496a0616ffa81c108bd005e2643795 (commit)
       via  e170d1b04da3ebe064e4ba4b45ea75c340d296e4 (commit)
       via  39544eabb416a6c7da25a5c2d6511164fcc1837f (commit)
       via  c5e56e0d08aff3c16bc813725d47c092424db080 (commit)
       via  137bab37db722b6bd18bae06e83f04053e9d026d (commit)
       via  a069feefbcee3289206e6088bddef500d6d563b5 (commit)
       via  5186ff37e33a081339ff39f1fdcba7ecfb9d56a4 (commit)
       via  1d4ac11d9b0925de40633da723a24824145c59c6 (commit)
       via  be2b514e9664b7002ac3009be0b3abc3fc66b9c3 (commit)
       via  efaf0f9e3101a8e3dcf6205c8ba6bfe4529283a8 (commit)
       via  851301d867d3d4aa7d0dfac6e47f5856139293e8 (commit)
       via  ce5dd7329097d13f841cb2b8d6fd8351d991c0ba (commit)
       via  4ee2275b0bf3315ed04f7a558229cfd999f8461c (commit)
       via  276b0e421bac46df4f88dab0131b931c7430ef98 (commit)
       via  1d4a1a15fef24b6ac28c1ac4285d55ee9388bed4 (commit)
       via  f2f1c33c6b15d180f28c37e40b15f07ca0f25712 (commit)
       via  b59929686d30152bda12b4feac4e22932c5a587d (commit)
       via  fc18c624bf99932c0b360cc491dd369163699e77 (commit)
       via  cae8446aadfb8f581eefa245789c2bf4bedf035e (commit)
      from  0f87d2c83b781066548596a0905b98be97756350 (commit)

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

- Log -----------------------------------------------------------------
commit 1b8042c7c5fe975a5c775b7f220118264ede2e8d
Merge: 0f87d2c83b781066548596a0905b98be97756350 68366571cea030069463f4755d03332e17d3222a
Author: Jan Kratochvil <jkratoch@host1.dyn.jankratochvil.net>
Date:   Tue Jun 23 15:11:19 2009 +0200

    Merge branch 'master' of git://sourceware.org/git/gdb into archer-jankratochvil-type-refcount
    
    Conflicts:
    	gdb/python/python-type.c
    	gdb/symfile.c

commit 68366571cea030069463f4755d03332e17d3222a
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Jun 23 00:00:34 2009 +0000

    *** empty log message ***

commit af3dc718c2f4d6cdc80c371893945fb02aad3784
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Jun 23 00:00:05 2009 +0000

    daily update

commit 2faf6353fcd12c1e0f4262a8310534ce5950b2b3
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Jun 22 19:50:10 2009 +0000

    gdb/
    	PR gdb/9988:
    	* buildsym.c (block_compar): New function.
    	(end_symtab): Replace the bubble sort by a qsort based code.

commit 6daadb3e7c1212413b4fbde94416186bed7899c9
Author: Aleksandar Ristovski <aristovski@qnx.com>
Date:   Mon Jun 22 19:33:41 2009 +0000

    	* linux-low.c (usr_fetch_inferior_registers): Remove check for regno 0.
    	* proc-service.c (ps_lgetregs): Pass -1 to fetch all registers.
    	* regcache.c (get_regcache): Likewise.
    	* spu-low.c (spu_fetch_registers): Remove 0 to -1 conversion.
    	* win32-low.c (child_fetch_inferior_registers): Remove check for
    	regno 0.

commit 51f0708764208830a105f620e64eb5369f4e638b
Author: swagiaal <swagiaal>
Date:   Mon Jun 22 18:17:01 2009 +0000

    2009-05-07  Sami Wagiaalla  <swagiaal@redhat.com>
    
    	* MAINTAINERS (Write After Approval): Add self.

commit 6a0b420353d04e39593198d4f7f7e51859a4427a
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Mon Jun 22 17:14:43 2009 +0000

    	* spu-tdep.c (spu_get_longjmp_target): New function.
    	(spu_gdbarch_init): Install it.

commit 7bfcf80fbbe54ae32dcfbfef5a403bbb7905db78
Author: H.J. Lu <hjl@lucon.org>
Date:   Mon Jun 22 16:03:32 2009 +0000

    2009-06-22  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR server/10306
    	* remote.c (getpkt_or_notif_sane_1): Initialize val to -1.

commit 75ba84a2d3a4a173ba8003cc5468e3b2db604798
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Jun 22 11:32:21 2009 +0000

            * po/fi.po: Updated Finish translation.

commit dd1f69e28fd65f528e597cdd9ab215b6fcd85345
Author: clyon <clyon>
Date:   Mon Jun 22 10:55:32 2009 +0000

    2009-06-22  Christophe Lyon  <christophe.lyon@st.com>
    
    	bfd/
    	* elf32-arm.c (elf32_arm_size_stubs): Use PLT address as
    	destination for defined dynamic symbols when deciding whether to
    	insert a stub or not.
    	(allocate_dynrelocs): Make sure functions are not marked as Thumb
    	when actually accessed through a PLT, even when generating a
    	shared lib.
    
    	ld/testsuite:
    	* ld-arm/farcall-mixed-app.s: Add new references to check more
    	modes switching.
    	* ld-arm/farcall-mixed-lib1.s: Likewise.
    	* ld-arm/farcall-mixed-app-v5.d: Update expected result.
    	* farcall-mixed-app.d: Likewise.
    	* ld-arm/farcall-mixed-lib.d: Likewise.

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

Summary of changes:
 COPYING.LIBGLOSS                    |   32 +
 ChangeLog                           |    9 +
 bfd/ChangeLog                       |  498 +++++-
 bfd/Makefile.am                     |   16 +
 bfd/Makefile.in                     |   24 +-
 bfd/config.bfd                      |    2 +-
 bfd/configure                       |    5 +-
 bfd/configure.in                    |    5 +-
 bfd/elf-bfd.h                       |   55 +-
 bfd/elf-ifunc.c                     |  287 +++
 bfd/elf.c                           |   23 +-
 bfd/elf32-arm.c                     |  110 +-
 bfd/elf32-bfin.c                    |    6 +-
 bfd/elf32-hppa.c                    |   29 +-
 bfd/elf32-i386.c                    |  859 ++++----
 bfd/elf32-lm32.c                    |   14 +-
 bfd/elf32-m32r.c                    |   35 +-
 bfd/elf32-m68hc1x.c                 |    2 +-
 bfd/elf32-m68hc1x.h                 |    4 +-
 bfd/elf32-m68k.c                    |   18 +-
 bfd/elf32-ppc.c                     |   79 +-
 bfd/elf32-s390.c                    |   29 +-
 bfd/elf32-sh.c                      |   32 +-
 bfd/elf32-spu.c                     |   16 +-
 bfd/elf32-v850.c                    |    2 +-
 bfd/elf32-vax.c                     |   90 +-
 bfd/elf32-xtensa.c                  |    7 +-
 bfd/elf64-ppc.c                     |   43 +-
 bfd/elf64-s390.c                    |   31 +-
 bfd/elf64-x86-64.c                  |  893 +++++----
 bfd/elflink.c                       |  152 +--
 bfd/elfxx-ia64.c                    |   95 +-
 bfd/elfxx-sparc.c                   |   20 +-
 bfd/elfxx-sparc.h                   |    4 +-
 bfd/mach-o-i386.c                   |    2 +-
 bfd/mach-o.c                        |  998 ++++++++--
 bfd/mach-o.h                        |  223 ++-
 bfd/po/ru.po                        | 3840 +++++++++++++++++++++++++++++++++++
 bfd/version.h                       |    2 +-
 configure                           |    2 +-
 configure.ac                        |    2 +-
 gdb/ChangeLog                       |  592 ++++++
 gdb/MAINTAINERS                     |    1 +
 gdb/ada-tasks.c                     |    4 +-
 gdb/aix-thread.c                    |    2 +-
 gdb/amd64-linux-nat.c               |    2 +-
 gdb/arm-tdep.c                      |   11 +-
 gdb/avr-tdep.c                      |  232 ++-
 gdb/ax-gdb.c                        |   22 +-
 gdb/breakpoint.c                    |   35 +-
 gdb/bsd-uthread.c                   |    4 +-
 gdb/buildsym.c                      |   57 +-
 gdb/c-exp.y                         |    8 +-
 gdb/c-lang.c                        |   21 +-
 gdb/cli/cli-decode.c                |   12 +-
 gdb/cli/cli-dump.c                  |    8 +-
 gdb/coffread.c                      |   13 +-
 gdb/corelow.c                       |    4 +-
 gdb/darwin-nat-info.c               |  152 +-
 gdb/darwin-nat.c                    | 1614 +++++++++++-----
 gdb/darwin-nat.h                    |   79 +-
 gdb/dbug-rom.c                      |    3 +-
 gdb/dbxread.c                       |   17 +-
 gdb/doc/ChangeLog                   |    5 +
 gdb/doc/gdb.texinfo                 |   27 +
 gdb/dummy-frame.c                   |    4 +-
 gdb/dwarf2-frame.c                  |   34 +-
 gdb/dwarf2loc.c                     |   21 +-
 gdb/dwarf2read.c                    |  726 ++++----
 gdb/eval.c                          |   33 +-
 gdb/findvar.c                       |   13 +-
 gdb/frame.h                         |    2 +-
 gdb/frv-tdep.c                      |   10 +-
 gdb/gcore.c                         |   16 +-
 gdb/gdbarch.c                       |   66 +-
 gdb/gdbarch.h                       |   24 +-
 gdb/gdbarch.sh                      |   16 +-
 gdb/gdbserver/ChangeLog             |   22 +
 gdb/gdbserver/linux-low.c           |    9 +-
 gdb/gdbserver/proc-service.c        |    2 +-
 gdb/gdbserver/regcache.c            |    2 +-
 gdb/gdbserver/server.c              |   11 +-
 gdb/gdbserver/spu-low.c             |    4 -
 gdb/gdbserver/target.h              |    7 +
 gdb/gdbserver/win32-low.c           |    2 +-
 gdb/gdbtypes.c                      |   55 +-
 gdb/gdbtypes.h                      |   16 +-
 gdb/i386-darwin-nat.c               |    4 +-
 gdb/infcall.c                       |  101 +-
 gdb/infcmd.c                        |   33 +-
 gdb/inferior.h                      |   19 +-
 gdb/infrun.c                        |  163 +-
 gdb/iq2000-tdep.c                   |    6 +-
 gdb/linespec.c                      |   46 +-
 gdb/linux-nat.c                     |    4 +-
 gdb/linux-thread-db.c               |    2 +-
 gdb/lm32-tdep.c                     |    5 +-
 gdb/m2-exp.y                        |    6 +-
 gdb/m32c-tdep.c                     |   10 +-
 gdb/machoread.c                     |   14 +-
 gdb/mdebugread.c                    |    4 +-
 gdb/memattr.c                       |    8 +-
 gdb/mep-tdep.c                      |    2 +-
 gdb/mi/mi-main.c                    |   90 +-
 gdb/mips-tdep.c                     |    5 +-
 gdb/mn10300-tdep.c                  |    8 +-
 gdb/monitor.c                       |    4 +-
 gdb/moxie-tdep.c                    |    3 +-
 gdb/mt-tdep.c                       |    2 +-
 gdb/nto-procfs.c                    |    2 +-
 gdb/objc-exp.y                      |   13 +-
 gdb/objc-lang.c                     |   39 +-
 gdb/objc-lang.h                     |    9 +-
 gdb/parse.c                         |    2 +-
 gdb/ppc-linux-tdep.c                |   12 +
 gdb/printcmd.c                      |   12 +-
 gdb/procfs.c                        |    8 +-
 gdb/prologue-value.c                |    5 +-
 gdb/prologue-value.h                |    7 +-
 gdb/python/python-type.c            |    4 +-
 gdb/python/python-value.c           |    5 +-
 gdb/record.c                        |    2 +-
 gdb/remote.c                        |    2 +-
 gdb/rs6000-nat.c                    |    6 +-
 gdb/rs6000-tdep.c                   |    5 +-
 gdb/s390-tdep.c                     |    2 +-
 gdb/solib-darwin.c                  |    4 +-
 gdb/solib-pa64.c                    |    2 -
 gdb/solib-svr4.c                    |   14 +-
 gdb/solib.c                         |   55 +-
 gdb/source.c                        |    2 +-
 gdb/sparc-nat.c                     |   18 +-
 gdb/sparc-nat.h                     |    8 +-
 gdb/sparc-tdep.c                    |    2 +-
 gdb/sparc64-nat.c                   |   12 +-
 gdb/sparc64nbsd-nat.c               |   12 +-
 gdb/spu-linux-nat.c                 |    4 +-
 gdb/spu-tdep.c                      |   24 +-
 gdb/stack.c                         |    5 +-
 gdb/symfile-mem.c                   |    4 +-
 gdb/symfile.c                       |  116 +-
 gdb/symfile.h                       |   24 +-
 gdb/symtab.c                        |   18 +-
 gdb/symtab.h                        |   10 +-
 gdb/testsuite/ChangeLog             |   29 +
 gdb/testsuite/gdb.base/annota1.exp  |    8 +-
 gdb/testsuite/gdb.base/dump.exp     |    6 +
 gdb/testsuite/gdb.cp/Makefile.in    |    2 +-
 gdb/testsuite/gdb.cp/annota2.exp    |    4 +-
 gdb/testsuite/gdb.cp/gdb2495.cc     |   89 +
 gdb/testsuite/gdb.cp/gdb2495.exp    |  157 ++
 gdb/testsuite/gdb.mi/gdb680.exp     |    2 +-
 gdb/testsuite/lib/gdb.exp           |    5 +
 gdb/tui/tui-regs.c                  |   57 +-
 gdb/utils.c                         |   12 -
 gdb/valarith.c                      |    9 +-
 gdb/valops.c                        |   84 +-
 gdb/value.c                         |   33 +-
 gdb/value.h                         |   11 +-
 gdb/varobj.c                        |   11 +-
 gdb/version.in                      |    2 +-
 gdb/windows-nat.c                   |   11 +-
 gdb/xcoffread.c                     |   14 +-
 gdb/xstormy16-tdep.c                |    6 +-
 include/ChangeLog                   |   14 +
 include/ansidecl.h                  |   21 +-
 include/dis-asm.h                   |   29 +-
 include/elf/ChangeLog               |    4 +
 include/elf/ppc.h                   |   10 +-
 libiberty/ChangeLog                 |   11 +
 libiberty/hashtab.c                 |    5 +-
 libiberty/testsuite/test-demangle.c |   10 +-
 opcodes/ChangeLog                   |   56 +
 opcodes/arm-dis.c                   |  859 +++++----
 opcodes/cgen.sh                     |   87 +-
 opcodes/cr16-dis.c                  |    6 +-
 opcodes/m32c-asm.c                  |    2 +-
 opcodes/po/fi.po                    |  250 ++-
 opcodes/s390-opc.c                  |  104 +-
 opcodes/s390-opc.txt                |    4 +-
 opcodes/score-dis.c                 |   10 +-
 opcodes/score7-dis.c                |    5 +-
 opcodes/vax-dis.c                   |   45 +-
 sim/m32r/ChangeLog                  |    6 +
 sim/m32r/mloop.in                   |    3 +-
 sim/m32r/mloop2.in                  |    2 +-
 sim/m32r/mloopx.in                  |    2 +-
 187 files changed, 11772 insertions(+), 3948 deletions(-)
 create mode 100644 bfd/elf-ifunc.c
 create mode 100644 bfd/po/ru.po
 create mode 100644 gdb/testsuite/gdb.cp/gdb2495.cc
 create mode 100644 gdb/testsuite/gdb.cp/gdb2495.exp

First 500 lines of diff:
diff --git a/COPYING.LIBGLOSS b/COPYING.LIBGLOSS
index b4d657e..a63b737 100644
--- a/COPYING.LIBGLOSS
+++ b/COPYING.LIBGLOSS
@@ -228,3 +228,35 @@ POSSIBILITY OF SUCH DAMAGE.
  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.
+
+(13) - Xilinx, Inc. (powerpc-* targets)
+
+Copyright (c) 2004, 2009 Xilinx, Inc.  All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+1.  Redistributions source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+
+2.  Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+
+3.  Neither the name of Xilinx nor the names of its contributors may be
+used to endorse or promote products derived from this software without
+specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
+IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 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.
+
diff --git a/ChangeLog b/ChangeLog
index a786e13..16c6391 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-06-17  Michael Eager <eager@eagercon.com>
+
+	* COPYING.LIBGLOSS: Add Xilinx license.
+
+2009-06-15  Ryan Mansfield  <rmansfield@qnx.com>
+
+	* configure.ac: Define is_elf for QNX Neutrino targets.
+	* configure: Regenerate.
+
 2009-06-03  Jerome Guitton  <guitton@adacore.com>
 	    Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7f1ce47..563f454 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,499 @@
+2009-06-22  Christophe Lyon  <christophe.lyon@st.com>
+
+	* elf32-arm.c (elf32_arm_size_stubs): Use PLT address as
+	destination for defined dynamic symbols when deciding whether to
+	insert a stub or not.
+	(allocate_dynrelocs): Make sure functions are not marked as Thumb
+	when actually accessed through a PLT, even when generating a
+	shared lib.
+
+2009-06-22  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.c (bfd_mach_o_canonicalize_reloc): Append a sentinel to
+	the relocs array.
+
+2009-06-22  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf32-ppc.c (ppc_elf_check_relocs): Handle R_PPC_RELAX* in switch.
+	* elf32-v850.c (v850_elf_relocate_section): Warning fix.
+
+2009-06-22  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf64-ppc.c (ppc64_elf_edit_opd): Avoid gcc warning.
+
+2009-06-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elflink.c (elf_link_add_object_symbols): Avoid warning
+	from -Wjump-misses-init in gcc 4.5.0.
+
+2009-06-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_check_relocs): Properly check local
+	symbol on error.
+	* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
+
+2009-06-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_tls_transition): Add a parameter,
+	r_symndx.  Report local symbol name on error.
+	(elf_i386_check_relocs): Updated.  Report local symbol name on
+	error.
+	(elf_i386_gc_sweep_hook): Updated.
+	(elf_i386_relocate_section): Likewise.
+
+	* elf64-x86-64.c (elf64_x86_64_tls_transition): Add a parameter,
+	r_symndx.  Report local symbol name on error.
+	(elf64_x86_64_check_relocs): Updated.  Report local symbol name
+	on error.
+	(elf64_x86_64_gc_sweep_hook): Updated.
+	(elf64_x86_64_relocate_section): Likewise.
+
+2009-06-19  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.c (bfd_mach_o_print_private_header): Fix format character.
+
+2009-06-19  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.c (bfd_mach_o_scan_read_symtab_symbols): Add prototype.
+	(bfd_mach_o_version): Use bfd_mach_o_get_data instead of direct access.
+	(bfd_mach_o_valid): Ditto.
+	(bfd_mach_o_wide_p): Ditto.
+	(bfd_mach_o_canonicalize_reloc): Ditto.
+	(bfd_mach_o_build_commands): Ditto.
+	(bfd_mach_o_scan_read_thread): Ditto.
+	(bfd_mach_o_flatten_sections): Ditto.
+	(bfd_mach_o_scan_start_address): Ditto.
+	(bfd_mach_o_lookup_section): Ditto.
+	(bfd_mach_o_core_fetch_environment): Ditto.
+	(bfd_mach_o_write_contents): Ditto.  Handle reexport_dylib.
+	(bfd_mach_o_scan_write_relocs): Adjust for bfd_mach_o_get_data.
+	(bfd_mach_o_scan_write_symtab): Ditto.
+	Use macros instead of hard-coded values.
+	(bfd_mach_o_scan_read_symtab_symbol): Make the function static.
+	Use bfd_mach_o_get_data instead of direct access.  Use macros
+	instead of hard-coded values.
+	(bfd_mach_o_scan_read_symtab_strtab): Make the function static.
+	Remove sym argument and get section from mdata.
+	Move code into the else branch.
+	(bfd_mach_o_scan_read_symtab_symbols): Make the function static.
+	Remove sym argument and get section from mdata.  Adjust code.
+	(bfd_mach_o_scan_read_dylib): Move assertion into the created
+	switch (which replaces consecutive if statements).
+	(bfd_mach_o_scan_read_dysymtab): Rename seg to cmd.  Load
+	module table, table of content, indirect symbols and external
+	referenced symbols.
+	(bfd_mach_o_scan_read_symtab): Renames seg to symtab.  Set symtab
+	field.
+	(bfd_mach_o_scan_read_linkedit): New function.
+	(bfd_mach_o_scan_read_str): Ditto.
+	(bfd_mach_o_count_symbols): Simplify the code by using the symtab
+	field of mdata.
+	(bfd_mach_o_get_symtab_upper_bound): Remove check as
+	bfd_mach_o_count_symbols never returns an error.
+	(bfd_mach_o_canonicalize_symtab): Simplify the code by using the
+	symtab field (there might be only one symtab).
+	(bfd_mach_o_scan_read_command): Handle reexported dylib.
+	Handle sub frameworks, sub umbrella, sub library and sub client.
+	Read code signature and segment split info commands.
+	(bfd_mach_o_scan): Reindent.
+	(bfd_mach_o_xlat_name): New type.
+	(bfd_mach_o_print_flags): New function.
+	(bfd_mach_o_get_name): Ditto.
+	(bfd_mach_o_cpu_name): New variable.
+	(bfd_mach_o_filetype_name, bfd_mach_o_header_flags_name)
+	(bfd_mach_o_section_type_name)
+	(bfd_mach_o_section_attribute_name)
+	(bfd_mach_o_load_command_name): New variables.
+	(bfd_mach_o_print_private_header): New function.
+	(bfd_mach_o_print_section_map): New function extracted from
+	bfd_mach_o_print_private_bfd_data.
+	(bfd_mach_o_print_section): Ditto.  Print more infos.
+	(bfd_mach_o_print_segment): Ditto.
+	(bfd_mach_o_print_dysymtab): Ditto.
+	(bfd_mach_o_bfd_print_private_bfd_data): Reworked.  Handle
+	load weak dylib, reexport dylib and id dylib.
+	Handle code signature and segment_split info.
+	Handle sub frameworks, sub umbrella, sub library and sub client.
+	(bfd_mach_o_section_get_nbr_indirect): New function.
+
+	* mach-o.h (BFD_MACH_O_REFERENCE_MASK): New macro.  Add comment.
+	(bfd_mach_o_header_flags): New enum to define header flags.
+	(bfd_mach_o_section_attribute): New enum to replace ...
+	(BFD_MACH_O_S_ATTR_LOC_RELOC, BFD_MACH_O_S_ATTR_EXT_RELOC,
+	BFD_MACH_O_S_ATTR_SOME_INSTRUCTIONS, BFD_MACH_O_S_ATTR_DEBUG,
+	BFD_MACH_O_S_SELF_MODIFYING_CODE, BFD_MACH_O_S_ATTR_LIVE_SUPPORT,
+	BFD_MACH_O_S_ATTR_NO_DEAD_STRIP, BFD_MACH_O_S_ATTR_STRIP_STATIC_SYMS,
+	BFD_MACH_O_S_ATTR_NO_TOC, BFD_MACH_O_S_ATTR_PURE_INSTRUCTIONS): ...
+	these removed macros.
+	(BFD_MACH_O_NLIST_SIZE, BFD_MACH_O_NLIST_64_SIZE): New macros.
+	(bfd_mach_o_dylib_module): New type.
+	(BFD_MACH_O_DYLIB_MODULE_SIZE, BFD_MACH_O_DYLIB_MODULE_64_SIZE): New
+	macros.
+	(bfd_mach_o_dylib_table_of_content): New type.
+	(BFD_MACH_O_TABLE_OF_CONTENT_SIZE): New macro.
+	(bfd_mach_o_dylib_reference): New type.
+	(BFD_MACH_O_REFERENCE_SIZE): New macro.
+	(bfd_mach_o_dysymtab_command): Add fields for loaded and decoded
+	modules, toc, references and indirect syms.
+	(BFD_MACH_O_INDIRECT_SYMBOL_SIZE): New macro.
+	(bfd_mach_o_dylinker_command): Remove cmd and cmdsize fields (were
+	unused).  Add comment.
+	(bfd_mach_o_dylib_command): Ditto.
+	(bfd_mach_o_prebound_dylib_command): Ditto.
+	(bfd_mach_o_linkedit_command): New type.
+	(bfd_mach_o_str_command): New type.
+	(bfd_mach_o_load_command): Add linkedit and str fields.
+	(mach_o_data_struct): Add symtab field.
+	(bfd_get_mach_o_data): Renamed to ...
+	(bfd_mach_o_get_data): ... this new macro.
+	(bfd_mach_o_scan_read_symtab_symbol,
+	bfd_mach_o_scan_read_symtab_strtab,
+	bfd_mach_o_scan_read_symtab_symbols): Prototypes removed.
+
+	* mach-o-i386.c (bfd_mach_o_i386_mkobject): Use bfd_mach_o_get_data
+	instead of direct access.
+
+2009-06-19  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf32-ppc.c (ppc_elf_check_relocs): Allow local symbols for
+	R_PPC_PLTREL24 relocs.
+	(ppc_elf_relocate_section): Likewise.
+
+2009-06-19  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf32-ppc.c (find_plt_ent): Pass pointer to plist rather than
+	pointer to sym hash.  Update all uses.
+	(update_plt_info): Likewise.  Don't check addend here.
+
+2009-06-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_check_relocs): Remove isymbuf and use
+	bfd_sym_from_r_symndx.
+	* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
+
+2009-06-18  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf-bfd.h (struct sym_sec_cache): Delete.
+	(struct sym_cache): New.
+	(bfd_section_from_r_symndx): Delete prototype.
+	(bfd_sym_from_r_symndx): Define prototype.
+	* elf.c (bfd_section_from_r_symndx): Delete, replace with..
+	(bfd_sym_from_r_symndx): ..new function.
+	* elf32-arm.c: Update all uses of struct sym_sec_cache and
+	bfd_section_from_r_symndx to new struct and function.
+	* elf32-bfin.c: Likewise.
+	* elf32-hppa.c: Likewise.
+	* elf32-i386.c: Likewise.
+	* elf32-m32r.c: Likewise.
+	* elf32-m68hc1x.c: Likewise.
+	* elf32-m68hc1x.h: Likewise.
+	* elf32-m68k.c: Likewise.
+	* elf32-ppc.c: Likewise.
+	* elf32-s390.c: Likewise.
+	* elf32-sh.c: Likewise.
+	* elf64-ppc.c: Likewise.
+	* elf64-s390.c: Likewise.
+	* elf64-x86-64.c: Likewise.
+	* elfxx-sparc.c: Likewise.
+	* elfxx-sparc.h: Likewise.
+
+2009-06-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_check_relocs): Cache or free isymbuf.
+	* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
+
+2009-06-18  Nick Clifton  <nickc@redhat.com>
+
+	* elflink.c (elf_link_sort_relocs): Return early if there are no
+	relocs to sort.
+
+2009-06-18  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+	Merge cegcc and mingw32ce target name changes from
+	CeGCC project:
+
+	2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+	* config.bfd: Add arm*-*-cegcc* target.
+
+	2007-12-17  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+	* config.bfd: Add arm-*-mingw32ce* target.
+
+2009-06-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf-bfd.h (_bfd_elf_allocate_ifunc_dyn_relocs): New.
+	* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Likewise.
+	* elf32-i386.c (elf_i386_allocate_dynrelocs): Use it.
+	* elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise.
+
+2009-06-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf-bfd.h (_bfd_elf_create_ifunc_dyn_reloc): New.
+	* elf-ifunc.c (_bfd_elf_create_ifunc_dyn_reloc): Likewise.
+	* elf32-i386.c (elf_i386_check_relocs): Use it.
+	* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
+
+2009-06-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf-bfd.h (elf_dyn_relocs): New.
+
+	* elf32-i386.c (elf_i386_dyn_relocs): Removed.
+	(elf_i386_link_hash_entry): Replace elf_i386_dyn_relocs with
+	elf_dyn_relocs.
+	(elf_i386_copy_indirect_symbol): Likewise.
+	(elf_i386_check_relocs): Likewise.
+	(elf_i386_gc_sweep_hook): Likewise.
+	(elf_i386_allocate_dynrelocs): Likewise.
+	(elf_i386_readonly_dynrelocs): Likewise.
+	(elf_i386_size_dynamic_sections): Likewise.
+
+	* elf64-x86-64.c (elf64_x86_64_dyn_relocs): Removed.
+	(elf64_x86_64_link_hash_entry): Replace elf64_x86_64_dyn_relocs
+	with elf_dyn_relocs.
+	(elf64_x86_64_copy_indirect_symbol): Updated.
+	(elf64_x86_64_check_relocs): Likewise.
+	(elf64_x86_64_gc_sweep_hook): Likewise.
+	(elf64_x86_64_adjust_dynamic_symbol): Likewise.
+	(elf64_x86_64_allocate_dynrelocs): Likewise.
+	(elf64_x86_64_readonly_dynrelocs): Likewise.
+	(elf64_x86_64_size_dynamic_sections): Likewise.
+
+2009-06-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-arm.c (create_got_section): Get existing .rela.got
+	section.
+	* elf32-hppa.c (elf32_hppa_create_dynamic_sections): Likewise.
+	* elf32-lm32.c (create_got_section): Likewise.
+	* elf32-m32r.c (create_got_section): Likewise.
+	* elf32-ppc.c (ppc_elf_create_got): Likewise.
+	* elf32-s390.c (create_got_section): Likewise.
+	* elf32-sh.c (create_got_section): Likewise.
+	* elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Likewise.
+	* elf64-s390.c (create_got_section): Likewise.
+	* elfxx-sparc.c (create_got_section): Likewise.
+
+	* elflink.c (_bfd_elf_create_got_section): Properly initialize
+	the GOT size.
+
+2009-06-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf-bfd.h (ELF_LOCAL_SYMBOL_HASH): New.
+
+	* elf32-i386.c (elf_i386_local_hash): Removed.
+	(elf_i386_local_htab_hash): Use ELF_LOCAL_SYMBOL_HASH.
+	(elf_i386_get_local_sym_hash): Likewise.
+
+	* elf64-x86-64.c (elf64_x86_64_local_hash): Removed.
+	(elf64_x86_64_local_htab_hash): Use ELF_LOCAL_SYMBOL_HASH.
+	(elf64_x86_64_get_local_sym_hash): Likewise.
+	* elfxx-ia64.c (elfNN_ia64_local_htab_hash): Likewise.
+	(get_local_sym_hash): Likewise.
+
+2009-06-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elfxx-ia64.c (elfNN_ia64_link_hash_table): Remove got_sec,
+	rel_got_sec and plt_sec.
+	(elfNN_ia64_relax_section): Updated.
+	(elfNN_ia64_create_dynamic_sections): Likewise.
+	(get_got): Likewise.
+	(allocate_dynrel_entries): Likewise.
+	(elfNN_ia64_size_dynamic_sections): Likewise.
+	(set_got_entry): Likewise.
+	(elfNN_ia64_choose_gp): Likewise.
+	(elfNN_ia64_relocate_section): Likewise.
+	(elfNN_ia64_finish_dynamic_symbol): Likewise.
+	(elfNN_ia64_finish_dynamic_sections): Likewise.
+
+2009-06-16  Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* elf32-spu.c (needs_ovl_stub): Respect .brinfo lrlive bits
+	also for calls.
+
+2009-06-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* configure.in (elf): Add elf-ifunc.lo.
+
+	* configure: Regenerated.
+	* Makefile.in: Likewise.
+
+	* elf-bfd.h (elf_link_hash_table): Add sgot, sgotplt,
+	srelgot, splt, srelplt, igotplt, iplt, irelplt and irelifunc.
+
+	* elf32-i386.c (elf_i386_link_hash_table): Remove sgot,
+	sgotplt, srelgot, splt, srelplt, igotplt, iplt, irelplt and
+	irelifunc.
+	(elf_i386_link_hash_table_create): Likewise.
+	(elf_i386_create_dynamic_sections): Likewise.
+	(elf_i386_check_relocs): Likewise.
+	(elf_i386_allocate_dynrelocs): Likewise.
+	(elf_i386_size_dynamic_sections): Likewise.
+	(elf_i386_relocate_section): Likewise.
+	(elf_i386_finish_dynamic_symbol): Likewise.
+	(elf_i386_finish_dynamic_sections): Likewise.
+	(elf_i386_create_got_section): Removed.
+
+	* elf64-x86-64.c (elf64_x86_64_link_hash_table): Remove sgot,
+	sgotplt, srelgot, splt, srelplt, igotplt, iplt, irelplt and
+	irelifunc.
+	(elf64_x86_64_compute_jump_table_size): Updated.
+	(elf64_x86_64_link_hash_table_create): Likewise.
+	(elf64_x86_64_create_dynamic_sections): Likewise.
+	(elf64_x86_64_check_relocs): Likewise.
+	(elf64_x86_64_allocate_dynrelocs): Likewise.
+	(elf64_x86_64_size_dynamic_sections): Likewise.
+	(elf64_x86_64_relocate_section): Likewise.
+	(elf64_x86_64_finish_dynamic_symbol): Likewise.
+	(elf64_x86_64_finish_dynamic_sections): Likewise.
+	(elf64_x86_64_create_got_section): Removed.
+
+	* elflink.c (_bfd_elf_create_got_section): Use log_file_align
+	for pointer alignment.  Set up section pointers.
+	(_bfd_elf_create_dynamic_sections): Likewise.
+	(_bfd_elf_create_ifunc_sections): Moved to ...
+	* elf-ifunc.c: Here.  New.
+
+	* Makefile.am (BFD32_BACKENDS): Add elf-ifunc.lo.
+	(BFD32_BACKENDS_CFILES): Add elf-ifunc.c.
+	Run "make dep-am".
+
+2009-06-16  Doug Kwan  <dougkwan@google.com>
+
+	* elf32-arm.c (cortex_a8_erratum_scan): Change type of offset
+	to bfd_signed_vma.  Cast constant operands which are used in
+	offset related expressions to bfd_signed_vma type as appropriate.
+
+2009-06-16  Maciej W. Rozycki  <macro@linux-mips.org>
+
+	* elf32-vax.c (elf_vax_plt_sym_val): New function.
+	(elf_backend_plt_sym_val): Define.
+
+2009-06-16  Maciej W. Rozycki  <macro@linux-mips.org>
+
+	* elf32-vax.c (elf_vax_reloc_type_class): New function.
+	(elf_backend_reloc_type_class): Define.
+
+2009-06-16  Maciej W. Rozycki  <macro@linux-mips.org>
+
+	* elf32-vax.c (elf_vax_relocate_section): For symbol references
+	from an executable to a shared library treat R_VAX_PC32
+	relocations as R_VAX_PLT32 ones.
+
+2009-06-16  Maciej W. Rozycki  <macro@linux-mips.org>
+
+	* elf32-vax.c (elf_vax_instantiate_got_entries): Skip local
+	symbols in GOT space calculation.
+	(elf_vax_relocate_section): Adjust accordingly.
+
+2009-06-16  Maciej W. Rozycki  <macro@linux-mips.org>
+
+	* elf32-vax.c (elf_vax_plt_entry): Set the entry mask to
+	include <R11:R2>.
+
+2009-06-16  Maciej W. Rozycki  <macro@linux-mips.org>
+
+	* elf32-vax.c (elf_vax_check_relocs): Handle the visibility
+	attribute.
+	(elf_vax_relocate_section): Likewise.
+
+2009-06-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_allocate_dynrelocs): Update comments.
+	* elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise.
+
+2009-06-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_check_relocs): Reformat.
+	* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
+
+2009-06-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* Makefile.am: Run "make dep-am".
+	* Makefile.in: Regenerated.
+
+2009-06-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c (elf_i386_allocate_dynrelocs): Fix a typo.
+	* elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Likewise.
+
+2009-06-15  Nick Clifton  <nickc@redhat.com>
+
+	* po/ru.po: New Russian translation.
+	* configure.in (ALL_LINGUAS): Add ru.
+	* configure: Regenerate.
+
+2009-06-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf32-i386.c: Remove duplicated comments.
+
+2009-06-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/10270
+	* elf32-i386.c (elf_i386_allocate_dynrelocs): Disallow
+	dynamic IFUNC pointer in non-shared object.  Use .got.plt
+	for IFUNC definition in PIE.
+	(elf_i386_allocate_dynrelocs): Resolve IFUNC definition in
+	PIE locally.
+
+	* elf64-x86-64.c (elf64_x86_64_allocate_dynrelocs): Disallow


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


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

end of thread, other threads:[~2009-07-01 17:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-23 19:30 [SCM] archer-jankratochvil-type-refcount: Merge branch 'master' of git://sourceware.org/git/gdb into archer-jankratochvil-type-refcount jkratoch
  -- strict thread matches above, loose matches on Subject: below --
2009-07-01 17:22 jkratoch
2009-06-23 13:22 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).