public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  master: *** empty log message ***
@ 2008-11-04  2:30 sergio
  0 siblings, 0 replies; 8+ messages in thread
From: sergio @ 2008-11-04  2:30 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  227a0cb2d3e6cd768f4a64f39ead8dd36561af4d (commit)
       via  c8021417b9c425dd1450654df84273497dfbb301 (commit)
      from  3ccdb9f8926ee0c2a5283828a49079a7bb6ebd59 (commit)

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

- Log -----------------------------------------------------------------
commit 227a0cb2d3e6cd768f4a64f39ead8dd36561af4d
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Nov 4 00:00:34 2008 +0000

    *** empty log message ***

commit c8021417b9c425dd1450654df84273497dfbb301
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Nov 3 23:59:44 2008 +0000

    daily update

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

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

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 7a44985..f0201a2 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20081103
+#define BFD_VERSION_DATE 20081104
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/version.in b/gdb/version.in
index ecc7b1d..cb998d8 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-6.8.50.20081103-cvs
+6.8.50.20081104-cvs


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


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

* [SCM]  master: *** empty log message ***
@ 2009-09-17 10:12 jkratoch
  0 siblings, 0 replies; 8+ messages in thread
From: jkratoch @ 2009-09-17 10:12 UTC (permalink / raw)
  To: archer-commits

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

The branch, master has been updated
       via  048f56419a6d25d42febd905d8d476b535a3deaa (commit)
       via  cc08d12811d3796f3c095bb8490793946bb5ecad (commit)
       via  11440cb0e939c8afa29ec941b254b82062df3240 (commit)
       via  1f4d9eb91d7e52176b495881dc661da980ba3009 (commit)
       via  fe78766a0c9eea331e2a1799027f2f7c8e990ff8 (commit)
       via  b799998bfb0f9f570f540507432668e27ad0334b (commit)
       via  ece1f864adccf03d94a39d4d126637e334ff8d02 (commit)
       via  b68f2b8c41710fb4921c09946e9acbdaebac470b (commit)
       via  edc605775f9f2c2a1c5716d2460ae93fa78730bb (commit)
       via  f7025420bd5a4f989d3adf11732b5d35adb341a9 (commit)
       via  b512cb0838cade441023b8bdb241252b1f213c35 (commit)
       via  151170e86932ae63ebfde729cf50d828a059e3e9 (commit)
       via  8e8a4e3d9ea92ce53f8d5373b1b8865c9c92636b (commit)
       via  3218466d8d010cd525c20a5c4090727907087ed7 (commit)
       via  c2f2c3f26a91054adf853076e40ae787e7bef574 (commit)
       via  636c40b41fa7feef3e41c372e08286377369f006 (commit)
       via  b9198fb0e6a3af8f5af706a155eec742e47bd7c8 (commit)
       via  cff51b91be6ed607f5b1b43e60bbade0a1cc0cd1 (commit)
       via  f5205210f43332a480018099610dcf72400955fe (commit)
       via  0802dda658ebcc40adf18c22a63d400a6c51debd (commit)
       via  f0daca07973ffbba30c742b3a3e26e38e38e1171 (commit)
       via  dbc366058fbf78f5c45f28028daaea211caefb0c (commit)
       via  0d3a3878681f5670296193b9ea981e46aa43d9fc (commit)
       via  50c7b1a6ad44068e362281d9a1370362e864c8e0 (commit)
       via  295e6073271bbe17b412a4670449375a7cddd366 (commit)
       via  cb659000585c0f5a61c9c953ac789b93b5224f9b (commit)
       via  a8da7828378398afe77f2d62d3f9b11298222930 (commit)
       via  6e3fb41bf423603eeb257e18429441e82c182c45 (commit)
       via  078880e1565a15b560cbd23ce9abc253ca1ba2e4 (commit)
       via  9b6cc45637f851e23bf746229832538a7084f79f (commit)
       via  3caedd1374c797abfb6ac2953585f4fa12108d28 (commit)
       via  49f4cdad356746dd51f1d0db8c46bcf6a2eae373 (commit)
       via  f2a8c0514edb8c72ad35d3927a494e59cad82d10 (commit)
       via  cdfd89afeb6f90e671fcfd6aaa5daa1d3acc625a (commit)
       via  76d7140e102b5f432437a235cafcb01a28287ec3 (commit)
       via  fa1a62f37b9467563fa0220bc5c0c4522b37ab23 (commit)
       via  4a0613d2cf98de19cc5b5cc8595e3600c9cd3fc7 (commit)
       via  151fd0e129f2fdff42deeb1df4febf5a3286cd93 (commit)
       via  25859a471102b5c2df2bf4211c64f18e004c3ff0 (commit)
       via  c4a2e7b295f44c38dc111145dd6e3a7a63cec23b (commit)
       via  3b3a7d6ec86a43e67d7d05ced40c81c28ac808f0 (commit)
       via  4601e38a34c19ed0fe7500a2f7e8ac92c7e22d82 (commit)
       via  6d35f03d9be6189414404c9e7762a2743e172480 (commit)
       via  9063eb25233d98a0338565ece0585fd609afb1a4 (commit)
       via  a12e9c9b2c5c7ca1788ec750b0292edab94ac707 (commit)
       via  242e860d3544f8c8a62793683276d9c0d3406830 (commit)
       via  599aeceb8b89c803cba80969b364fc4e94396521 (commit)
       via  cc53e0c41178f89053fdbb08c6e4e2e38fe83cb3 (commit)
       via  193f92b0f35b755a7a6b058cc0c20e8da4e58455 (commit)
       via  ec3630c53a53c2036e6dd83cb10df96538ac4df6 (commit)
       via  9a14b44297f098fff9477aecdd79c9f35e0b780f (commit)
       via  419489e209145898a09cf8d891e1c4d733560c6c (commit)
       via  d52e92da51d563f33abfd08c21b86934a27cf479 (commit)
       via  f98ce7a2659448a90532594a1c263f19208327c8 (commit)
       via  86cd6c482a1ae005482e5ff67195e919ac03308c (commit)
      from  439b2c04aa5870f7ac1c7a094363e7802e0471ff (commit)

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

- Log -----------------------------------------------------------------
commit 048f56419a6d25d42febd905d8d476b535a3deaa
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Sep 17 00:00:33 2009 +0000

    *** empty log message ***

commit cc08d12811d3796f3c095bb8490793946bb5ecad
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Sep 17 00:00:05 2009 +0000

    daily update

commit 11440cb0e939c8afa29ec941b254b82062df3240
Author: H.J. Lu <hjl@lucon.org>
Date:   Wed Sep 16 21:55:56 2009 +0000

    2009-09-16  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR gdb/10649
    	* Makefile.in (GDB_DATADIR_PATH): Renamed to ...
    	(GDB_DATADIR): This.
    	(xml-syscall-install): Updated.

commit 1f4d9eb91d7e52176b495881dc661da980ba3009
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Sep 16 21:54:21 2009 +0000

    Record GDB 7.0 branch creation. Bump version number to 7.0.50.20090916-cvs.

commit fe78766a0c9eea331e2a1799027f2f7c8e990ff8
Author: DJ Delorie <dj@delorie.com>
Date:   Wed Sep 16 17:57:24 2009 +0000

    merge from gcc

commit b799998bfb0f9f570f540507432668e27ad0334b
Author: Tristan Gingold <gingold@adacore.com>
Date:   Wed Sep 16 13:30:31 2009 +0000

    2009-09-16  Tristan Gingold  <gingold@adacore.com>
    
    	* mach-o.h (bfd_mach_o_filetype): Add new constants from darwin10.
    	Reindent.
    	* mach-o.c (bfd_mach_o_cpu_name): Reindent.
    	(bfd_mach_o_filetype_name): Complete with new constants.  Reindent.
    	(bfd_mach_o_print_private_header): Use fputs instead of fprintf
    	when possible to avoid warnings.
    	(bfd_mach_o_print_section_map): Ditto.
    	(bfd_mach_o_section_get_entry_size): New function.
    	(bfd_mach_o_section_get_nbr_indirect): Simplify using the newly
    	added function.
    	(bfd_mach_o_print_dysymtab): Print address of indirect symbols.

commit ece1f864adccf03d94a39d4d126637e334ff8d02
Author: Jie Zhang <jie.zhang@analog.com>
Date:   Wed Sep 16 00:45:55 2009 +0000

    	* configure.ac: Disable java and boehm-gc for bfin-*-*.
    	* configure: Regenerate.

commit b68f2b8c41710fb4921c09946e9acbdaebac470b
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Sep 16 00:00:05 2009 +0000

    daily update

commit edc605775f9f2c2a1c5716d2460ae93fa78730bb
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Sep 16 00:00:03 2009 +0000

    *** empty log message ***

commit f7025420bd5a4f989d3adf11732b5d35adb341a9
Author: Doug Evans <dje@google.com>
Date:   Tue Sep 15 23:30:37 2009 +0000

    fix thinko in previous entry

commit b512cb0838cade441023b8bdb241252b1f213c35
Author: Doug Evans <dje@google.com>
Date:   Tue Sep 15 23:26:44 2009 +0000

    back out previous patch, replace with
    	* configure.ac (sim_hwflags): Use AC_DEFINE to define HAVE_UNION_SEMUN.
    	* configure: Regenerate.
    	* config.in: Regenerate.
    	* hw_sem.c: #include "config.h".
    	(HAVE_UNION_SEMUN): Renamed from HAS_UNION_SEMUN.

commit 151170e86932ae63ebfde729cf50d828a059e3e9
Author: Doug Evans <dje@google.com>
Date:   Tue Sep 15 23:06:41 2009 +0000

    	* configure.ac (sim_hwflags): Clean up definition, AC_SUBST it.
    	* configure: Regenerate.
    	* Makefile.in (SIM_HWFLAGS): New variable.
    	(STD_CFLAGS, NOWARN_CFLAGS): Add it.

commit 8e8a4e3d9ea92ce53f8d5373b1b8865c9c92636b
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Sep 15 18:51:24 2009 +0000

    gdb
    	* varobj.h (varobj_update_result_t) <new>: New field.
    	(varobj_get_child_range, varobj_set_child_range): Declare.
    	(varobj_list_children): Update.
    	(varobj_enable_pretty_printing, varobj_has_more)
    	(varobj_pretty_printed_p): Declare.
    	* varobj.c (pretty_printing): New global.
    	(varobj_enable_pretty_printing): New function.
    	(struct varobj_root) <from, to, constructor, child_iter,
    	saved_item>: New fields.
    	(varobj_create): Don't call install_default_visualizer.
    	(instantiate_pretty_printer): Don't use value_copy.
    	(varobj_has_more): New function.
    	(restrict_range): New function.
    	(install_dynamic_child): Likewise.
    	(dynamic_varobj_has_child_method): Likewise.
    	(update_dynamic_varobj_children): Remove 'new_and_unchanged'
    	argument; add 'new', 'unchanged', 'from', and 'to' arguments.
    	Rewrite.
    	(varobj_get_num_children): Call update_dynamic_varobj_children.
    	(varobj_list_children): Add 'from' and 'to' arguments.  Ignore
    	result of update_dynamic_varobj_children.  Don't call
    	install_default_visualizer.  Restrict result range.
    	(varobj_add_child): Don't call install_default_visualizer.
    	(varobj_pretty_printed_p): New function.
    	(install_visualizer): Rewrite.  Move earlier in file.
    	(install_default_visualizer): Likewise.
    	(construct_visualizer): New function.
    	(install_new_value_visualizer): Likewise.
    	(install_new_value): Don't call release_value.  Special case
    	pretty-printed objects.  Use value_incref.  Rearrange "changed"
    	logic.
    	(varobj_get_child_range): New function.
    	(varobj_set_child_range): Likewise.
    	(varobj_set_visualizer): Rewrite.
    	(varobj_update): Rewrite pretty-printing logic.
    	(new_variable): Initialize new fields.
    	(free_variable): Destroy new fields.
    	(value_of_root): Copy 'from' and 'to'.
    	(my_value_of_variable): Handle pretty-printers.
    	(value_get_print_value): Rework pretty-printing logic.
    	(cplus_describe_child): Don't use release_value.
    	* mi/mi-cmds.h (mi_cmd_enable_pretty_printing)
    	(mi_cmd_var_set_update_range): Declare.
    	* mi/mi-cmds.c (mi_cmds): Add enable-pretty-printing and
    	var-set-update-range.
    	* mi/mi-cmd-var.c (print_varobj): Update.  Emit "dynamic"
    	attribute.
    	(mi_cmd_var_create): Emit "has_more" attribute.
    	(mi_cmd_var_set_format): Plug memory leak.
    	(mi_print_value_p): Replace 'type' argument with 'var'.  Handle
    	pretty-printed varobjs.
    	(mi_cmd_var_list_children): Accept 'from' and 'to' arguments.
    	Emit "has_more" attribute.
    	(mi_cmd_var_evaluate_expression): Plug memory leak.
    	(mi_cmd_var_assign): Likewise.
    	(varobj_update_one): Likewise.  Emit "dynamic", "has_more", and
    	"new_children" attributes.
    	(mi_cmd_enable_pretty_printing): New function.
    	(mi_cmd_var_set_update_range): Likewise.
    gdb/doc
    	* gdb.texinfo (GDB/MI Variable Objects): Document
    	-enable-pretty-printing, -var-set-update-range, dynamic varobjs.
    	Expand -var-update documentation.
    gdb/testsuite
    	* lib/mi-support.exp (mi_create_varobj): Update.
    	(mi_create_floating_varobj): Likewise.
    	(mi_create_dynamic_varobj): New proc.
    	(mi_varobj_update): Update.
    	(mi_varobj_update_with_type_change): Likewise.
    	(mi_varobj_update_kv_helper): New proc.
    	(mi_varobj_update_dynamic_helper): Rewrite.
    	(mi_varobj_update_dynamic): New proc.
    	(mi_list_varobj_children): Update.
    	(mi_list_varobj_children_range): Add 'from' and 'to' arguments.
    	* gdb.python/python-prettyprint.py (pp_outer): New class.
    	(pp_nullstr): Likewise.
    	(lookup_function): Register new printers.
    	* gdb.python/python-prettyprint.c (struct substruct): New type.
    	(struct outerstruct): Likewise.
    	(substruct_test): New function.
    	(struct nullstr): New type.
    	(string_1, string_2): New globals.
    	(main): Add new tests.
    	* gdb.python/python-mi.exp: Added regression tests.
    	* gdb.mi/mi2-var-display.exp: Update.
    	* gdb.mi/mi2-var-cmd.exp: Update.
    	* gdb.mi/mi2-var-child.exp: Update.
    	* gdb.mi/mi2-var-block.exp: Update.
    	* gdb.mi/mi-var-invalidate.exp: Update.
    	* gdb.mi/mi-var-display.exp: Update.
    	* gdb.mi/mi-var-cmd.exp: Update.
    	* gdb.mi/mi-var-child.exp: Update.
    	* gdb.mi/mi-var-block.exp: Update.
    	* gdb.mi/mi-break.exp: Update.
    	* gdb.mi/gdb701.exp: Update.

commit 3218466d8d010cd525c20a5c4090727907087ed7
Author: H.J. Lu <hjl@lucon.org>
Date:   Tue Sep 15 17:53:40 2009 +0000

    2009-09-15  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* i386-dis.c (OP_E_memory): Don't print '-' in Intel mode if
    	disp == -disp.

commit c2f2c3f26a91054adf853076e40ae787e7bef574
Author: Doug Evans <dje@google.com>
Date:   Tue Sep 15 16:20:52 2009 +0000

    	* dwarf2expr.h (dwarf_value_location): Add more comments describing
    	enum values.
    	(struct dwarf_stack_value): New struct.
    	(struct dwarf_expr_context): Change type of `stack' from CORE_ADDR*
    	to struct dwarf_stack_value*.
    	(struct dwarf_expr_piece): Move `v.value' into its own struct, v.expr,
    	all uses updated.  Add v.expr.in_stack_memory.
    	(dwarf_expr_push): Update declaration.
    	(dwarf_expr_fetch_in_stack_memory): Declare.
    	* dwarf2expr.c (dwarf_expr_grow_stack): Update calculation of
    	size of stack value.
    	(dwarf_expr_push): New arg in_stack_memory, all callers updated.
    	(dwarf_expr_fetch_in_stack_memory): New function.
    	(add_piece): Set in_stack_memory for non-literal values.
    	(execute_stack_op): Allow ops to specify whether the value is on the
    	program's stack.
    	(execute_stack_op, case DW_OP_fbreg): Mark value as in stack memory.
    	(execute_stack_op, case DW_OP_call_frame_cfa): Ditto.
    	(execute_stack_op, case DW_OP_dup): Copy in_stack_memory flag.
    	(execute_stack_op, cases DW_OP_pick, DW_OP_over): Ditto.
    	(execute_stack_op, cases DW_OP_swap, DW_OP_rot): Update type of
    	dwarf stack value.
    	* dwarf2loc.c (read_pieced_value): Call read_stack for values known
    	to be on the program's stack.
    	(dwarf2_evaluate_loc_desc, case DWARF_VALUE_MEMORY): Call
    	set_value_stack only for objects known to be in stack memory.
    	* dwarf2-frame.c (execute_stack_op): New arg initial_in_stack_memory,
    	all callers updated.

commit 636c40b41fa7feef3e41c372e08286377369f006
Author: Doug Evans <dje@google.com>
Date:   Tue Sep 15 16:16:40 2009 +0000

    	* target.c (memory_xfer_partial): Pass correct length to dcache_update.

commit b9198fb0e6a3af8f5af706a155eec742e47bd7c8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue Sep 15 16:09:29 2009 +0000

    gdb/
    	Fix gcc-4.5 HEAD warnings for enum ada_operator.
    	* Makefile.in (HFILES_NO_SRCDIR): Add ada-operator.inc.
    	* ada-lang.h (enum ada_operator): Move it to ...
    	* ada-operator.inc: ... a new file.
    	* expression.h (enum exp_opcode): Include ada-operator.inc.
    	New element OP_UNUSED_LAST.  Update comment for OP_EXTENDED0.
    
    gdb/
    	Fix gcc-4.5 HEAD warnings for GDB_FORM_cached_string.
    	* dwarf2read.c (GDB_FORM_cached_string)
    	(dwarf_form_name <GDB_FORM_cached_string>): Remove.
    	(struct attribute <dwarf_form>): Reduce the bit width.
    	(struct attribute <string_is_canonical>, DW_STRING_IS_CANONICAL): New.
    	(read_attribute_value <DW_FORM_string>)
    	(read_attribute_value <DW_FORM_strp>): Initialize
    	DW_STRING_IS_CANONICAL.
    	(dwarf2_name, dump_die_shallow <DW_FORM_string>)
    	(dump_die_shallow <DW_FORM_strp>): Update the code using former
    	GDB_FORM_cached_string.

commit cff51b91be6ed607f5b1b43e60bbade0a1cc0cd1
Author: DJ Delorie <dj@delorie.com>
Date:   Tue Sep 15 15:21:58 2009 +0000

    merge from gcc

commit f5205210f43332a480018099610dcf72400955fe
Author: sergiodj <sergiodj>
Date:   Tue Sep 15 03:45:49 2009 +0000

    Adding the DTD file for "Implementing the catch syscall feature".

commit 0802dda658ebcc40adf18c22a63d400a6c51debd
Author: sergiodj <sergiodj>
Date:   Tue Sep 15 03:44:41 2009 +0000

    Adding the XML files for "Implementing the catch syscall feature".

commit f0daca07973ffbba30c742b3a3e26e38e38e1171
Author: sergiodj <sergiodj>
Date:   Tue Sep 15 03:32:06 2009 +0000

    Forgot to add these files.  They are referent to the last commit,
    "Implementing the catch syscall feature".

commit dbc366058fbf78f5c45f28028daaea211caefb0c
Author: sergiodj <sergiodj>
Date:   Tue Sep 15 03:30:03 2009 +0000

    Implementing catch syscall.
    
    * amd64-linux-tdep.c: Include xml-syscall.h header, define the XML
    syscall name for the architecture.
    (amd64_linux_get_syscall_number): New function.
    (amd64_linux_init_abi): Register the correct functions for syscall
    catchpoint; set the correct syscall file name.
    * breakpoint.c: New include: xml-syscall.h.
    (set_raw_breakpoint_without_location): Setting the parameters
    for the catch syscall feature.
    (insert_catch_syscall): New.
    (remove_catch_syscall): New.
    (breakpoint_hit_catch_syscall): New.
    (print_it_catch_syscall): New.
    (print_one_catch_syscall): New.
    (print_mention_catch_syscall): New.
    (catch_syscall_breakpoint_ops): New.
    (syscall_catchpoint_p): New.
    (create_catchpoint_without_mention): New.
    (create_catchpoint): Modified in order to use
    create_catchpoint_without_mention.
    (create_syscall_event_catchpoint): New.
    (clean_up_filters): New.
    (catch_syscall_split_args): New.
    (catch_syscall_command_1): New.
    (delete_breakpoint): Add cleanup for catch syscall.
    (is_syscall_catchpoint_enabled): New.
    (catch_syscall_enabled): New.
    (catching_syscall_number): New.
    (catch_syscall_completer): New completer function.
    (add_catch_command): Add the completer function for catchpoints.
    * breakpoint.h (syscalls_to_be_caught): New vector.
    (catch_syscall_enabled): New.
    (catching_syscall_number): New.
    * gdbarch.c: Regenerated.
    * gdbarch.h: Regenerated.
    * gdbarch.sh: Add syscall catchpoint functions and structures.
    (get_syscall_number): New.
    (UNKNOWN_SYSCALL): New definition.
    * i386-linux-nat.c (i386_linux_resume): Select the proper request
    to be made for ptrace() considering if we are catching syscalls
    or not.
    * i386-linux-tdep.c: Include xml-syscall.h header, define the XML
    syscall name for the architecture.
    (i386_linux_get_syscall_number): New.
    (i386_linux_init_abi): Register the correct functions for syscall
    catchpoint; set the correct syscall file name.
    * inf-child.c (inf_child_set_syscall_catchpoint): New.
    (inf_child_target): Assign default values to target_ops.
    * inf-ptrace.c (inf_ptrace_resume): Select the proper request
    to be made for ptrace() considering if we are catching syscalls
    or not.
    * inferior.h (struct inferior): Included new variables
    any_syscall_count, syscalls_counts and total_syscalls_count,
    used to keep track of requested syscall catchpoints.
    * infrun.c (resume): Add syscall catchpoint.
    (deal_with_syscall_event): New.
    (handle_inferior_event): Add syscall entry/return events.
    (inferior_has_called_syscall): New.
    * linux-nat.c: Define some helpful variables to track wether we have
    support for the needed ptrace option.
    (linux_test_for_tracesysgood): New.
    (linux_supports_tracesysgood): New.
    (linux_enable_tracesysgood): New.
    (linux_enable_event_reporting): Save the current used ptrace
    options.
    (linux_child_post_attach): Calling linux_enable_tracesysgood.
    (linux_child_post_startup_inferior): Likewise.
    (linux_child_set_syscall_catchpoint): New function.
    (linux_handle_extended_wait): Handle the case which the inferior stops
    because it has called or returned from a syscall.
    (linux_target_install_ops): Install the necessary functions to handle
    syscall catchpoints.
    * linux-nat.h (struct lwp_info): Include syscall_state into the
    structure, which indicates if we are in a syscall entry or return.
    * ppc-linux-tdep.c: Include xml-syscall.h header, define the XML
    syscall filename for the arch.
    (ppc_linux_get_syscall_number): New.
    (ppc_linux_init_abi): Register the correct functions for syscall
    catchpoint; setting the correct name for the XML syscall file.
    * target.c (update_current_target): Update/copy functions related to
    syscall catchpoint.
    (target_waitstatus_to_string): Add syscall catchpoint entry/return
    events.
    * target.h (struct target_waitstatus): Add syscall number.
    (struct syscall): New struct to hold information about syscalls
    in the system.
    (struct target_ops): Add ops for syscall catchpoint.
    (inferior_has_called_syscall): New.
    (target_set_syscall_catchpoint): New.
    * xml-support.c (xml_fetch_content_from_file): New function,
    transferred from xml-tdesc.c.
    * xml-support.h (xml_fetch_content_from_file): New.
    * xml-tdesc.c (fetch_xml_from_file): Function removed;
    transferred to xml-support.c.
    (file_read_description_xml): Updated to use the new
    xml_fetch_content_from_file function.
    * syscalls/gdb-syscalls.dtd: New definition file for syscall's XML
    support.
    * syscalls/amd64-linux.xml: New file containing information about
    syscalls for GNU/Linux systems that use amd64 architecture.
    * syscalls/i386-linux.xml: New file containing information about
    syscalls for GNU/Linux systems that use i386 architecture.
    * syscalls/ppc-linux.xml: New file containing information about
    syscalls for GNU/Linux systems that use PPC architecture.
    * syscalls/ppc64-linux.xml: New file containing information about
    syscalls for GNU/Linux systems that use PPC64 architecture.
    * xml-syscall.c: New file containing functions for manipulating
    syscall's XML files.
    * xml-syscall.h: New file, exporting the functions above mentioned.
    * Makefile.in: Support for relocatable GDB datadir and XML
    syscall.
    * NEWS: Added information about the catch syscall feature.
    * doc/gdb.texinfo (Set Catchpoints): Documentation about the new
    feature.
    * testsuite/Makefile.in: Inclusion of catch-syscall object.
    * testsuite/gdb.base/catch-syscall.c: New file.
    * testsuite/gdb.base/catch-syscall.exp: New file.

commit 0d3a3878681f5670296193b9ea981e46aa43d9fc
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Sep 15 00:00:33 2009 +0000

    *** empty log message ***

commit 50c7b1a6ad44068e362281d9a1370362e864c8e0
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Sep 15 00:00:08 2009 +0000

    daily update

commit 295e6073271bbe17b412a4670449375a7cddd366
Author: Doug Evans <dje@google.com>
Date:   Mon Sep 14 20:49:09 2009 +0000

    	* target.c (memory_xfer_partial): Only update dcache after we know
    	the write succeeded.

commit cb659000585c0f5a61c9c953ac789b93b5224f9b
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Mon Sep 14 17:17:30 2009 +0000

    2009-09-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
    
    	*minsyms.c (lookup_minimal_symbol_by_pc_section_1): Assert non-NULL
    	section.
    	(lookup_minimal_symbol_by_pc_section): Check for NULL section.
    	(lookup_minimal_symbol_by_pc): Adjust.

commit a8da7828378398afe77f2d62d3f9b11298222930
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Mon Sep 14 17:12:06 2009 +0000

    2009-09-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
    
    	* objfiles.c (qsort_cmp): Remove asserts.
    	(insert_section_p, filter_debuginfo_sections): New function.
    	(filter_overlapping_sections): Likewise.
    	(update_section_map): Adjust.

commit 6e3fb41bf423603eeb257e18429441e82c182c45
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Sep 14 12:24:27 2009 +0000

    Updated German, Dutch and Finnish translations.

commit 078880e1565a15b560cbd23ce9abc253ca1ba2e4
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Sep 14 00:00:32 2009 +0000

    *** empty log message ***

commit 9b6cc45637f851e23bf746229832538a7084f79f
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Sep 14 00:00:05 2009 +0000

    daily update

commit 3caedd1374c797abfb6ac2953585f4fa12108d28
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Sun Sep 13 16:28:28 2009 +0000

            gdb/
            * frame.c (get_frame_id): Default to outer_frame_id if the this_id
            method does not supply an ID.  Assert that the result is not
            null_frame_id.
            (outer_frame_id): New.
            (frame_id_p): Accept outer_frame_id.
            (frame_id_eq): Allow outer_frame_id to be equal to itself.
            (frame_find_by_id): Revert previous local workarounds.
            (get_prev_frame_1): Adjust end-of-stack check to test outer_frame_id.
            * frame.h (null_frame_id, frame_id_p): Update comments.
            (outer_frame_id): Declare.
            * infrun.c (handle_inferior_event): Do not treat all steps from the
            outermost frame as subroutine calls.
    
            * libunwind-frame.c (libunwind_frame_this_id): Do not clear THIS_ID.
            * hppa-tdep.c (hppa_stub_frame_this_id): Likewise.
            * ia64-tdep.c (ia64_frame_this_id): Likewise.
            (ia64_libunwind_frame_this_id, ia64_libunwind_sigtramp_frame_this_id):
            Use outer_frame_id instead of null_frame_id.
            * amd64obsd-tdep.c (amd64obsd_trapframe_cache): Use outer_frame_id.
            * i386obsd-tdep.c (i386obsd_trapframe_cache): Likewise.
            * inline-frame.c (inline_frame_this_id): Refuse outer_frame_id.
            * thread.c (restore_selected_frame): Update comment and remove
            frame_id_p check.
    
            gdb/doc/
            * gdbint.texinfo (Unwinding the Frame ID): Reference outer_frame_id.

commit 49f4cdad356746dd51f1d0db8c46bcf6a2eae373
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sun Sep 13 00:28:39 2009 +0000

    2009-09-12  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.reverse/step-reverse.exp: Explicitly check for targets
    	that can support reverse debuggnig.

commit f2a8c0514edb8c72ad35d3927a494e59cad82d10
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Sep 13 00:00:05 2009 +0000

    daily update

commit cdfd89afeb6f90e671fcfd6aaa5daa1d3acc625a
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Sep 13 00:00:04 2009 +0000

    *** empty log message ***

commit 76d7140e102b5f432437a235cafcb01a28287ec3
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Sep 12 00:00:05 2009 +0000

    daily update

commit fa1a62f37b9467563fa0220bc5c0c4522b37ab23
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Sep 12 00:00:03 2009 +0000

    *** empty log message ***

commit 4a0613d2cf98de19cc5b5cc8595e3600c9cd3fc7
Author: Doug Evans <dje@google.com>
Date:   Fri Sep 11 23:11:34 2009 +0000

    	* dwarf2expr.c (execute_stack_op, case DW_OP_piece): Delete unused
    	local addr_or_regnum.

commit 151fd0e129f2fdff42deeb1df4febf5a3286cd93
Author: Doug Evans <dje@google.com>
Date:   Fri Sep 11 18:51:29 2009 +0000

    	* objfiles.c (struct objfile_data): Delete member cleanup and replace
    	with save, free.
    	(register_objfile_data_with_cleanup): Delete arg cleanup and replace
    	with save, free.  All callers updated.
    	(clear_objfile_data): Replace cleanup loop with separate save and
    	free loops.
    	* objfiles.h (register_objfile_data_with_cleanup): Update.
    	* arm-tdep.c (arm_objfile_data_free): Renamed from
    	arm_objfile_data_cleanup, all callers updated.
    	* dwarf2read.c (dwarf2_per_objfile_free): Renamed from
    	dwarf2_per_objfile_cleanup, all callers updated.
    	* python/py-objfile.c (py_free_objfile): Renamed from clean_up_objfile,
    	all callers updated.
    	* python/py-type.c (save_objfile_types): Renamed from
    	clean_up_objfile_types, all callers updated.

commit 25859a471102b5c2df2bf4211c64f18e004c3ff0
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Sep 11 18:38:38 2009 +0000

    gdb
    	* dwarf2loc.c (struct piece_closure) <arch>: New field.
    	(dwarf2_evaluate_loc_desc): Update.
    	(dwarf2_loc_desc_needs_frame): Likewise.
    	(allocate_piece_closure): Initialize new field.
    	(read_pieced_value): Update.
    	(write_pieced_value): Update.
    	(copy_pieced_value_closure): Update.
    	* dwarf2expr.h (enum dwarf_value_location): New.
    	(struct dwarf_expr_context) <in_reg>: Remove.
    	<location, len, data>: New fields.
    	(struct dwarf_expr_piece) <in_reg, value>: Remove.
    	<location, v>: New fields.
    	* dwarf2expr.c (add_piece): Remove in_reg, value arguments.
    	Update.
    	(require_composition): New function.
    	(execute_stack_op): Update.
    	<DW_OP_implicit_value, DW_OP_stack_value>: New cases.
    	<DW_OP_reg0>: Set location, not in_reg.
    	<DW_OP_regx>: Likewise.  Use require_composition.
    	<DW_OP_fbreg>: Update.
    	<DW_OP_piece>: Likewise.
    	* dwarf2-frame.c (execute_stack_op): Update.
    gdb/testsuite
    	* gdb.dwarf2/valop.S: New file.
    	* gdb.dwarf2/valop.exp: New file.

commit c4a2e7b295f44c38dc111145dd6e3a7a63cec23b
Author: DJ Delorie <dj@delorie.com>
Date:   Fri Sep 11 16:05:46 2009 +0000

    merge from gcc

commit 3b3a7d6ec86a43e67d7d05ced40c81c28ac808f0
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Sep 11 15:27:32 2009 +0000

            * po/bfd.pot: Updated by the Translation project.
            * po/binutils.pot: Updated by the Translation project.
            * po/gold.pot: Updated by the Translation project.
            * po/gold.pot: Updated by the Translation project.
            * po/gprof.pot: Updated by the Translation project.
            * po/sv.po: Updated Swedish translation.
            * po/ld.pot: Updated by the Translation project.
            * po/fi.po: Updated Finnish translation.
            * po/ld.pot: Updated by the Translation project.
            * po/fi.po: Updated Finnish translation.
    
            Updated sources to compile cleanly with -Wc++-compat:
            * basic_blocks.c: Add casts.
            * cg_dfn.c: Add cast.
            * corefile.c: Add casts.
            * gmon_io.c: Add casts.
            * hist.c: Add cast.
            * source.c: Add cast.
            * sym_ids.c (struct match): Moved to top level.
    
            Updated soruces in ld/* to compile cleanly with -Wc++-compat:
            * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level.
            * ldcref.c: Add casts.
            * ldctor.c: Add casts.
            * ldexp.c
            * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
            * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer.
            * ldlang.h (enum statement_enum): Move to top level.
            * ldmain.c: Add casts.
            * ldwrite.c: Add casts.
            * lexsup.c: Add casts. (enum control_enum): Move to top level.
            * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer.
    
            Updated sources to compile cleanly with -Wc++-compat:
            * basic_blocks.c: Add casts.
            * cg_dfn.c: Add cast.
            * corefile.c: Add casts.
            * gmon_io.c: Add casts.
            * hist.c: Add cast.
            * source.c: Add cast.
            * sym_ids.c (struct match): Moved to top level.
    
            * as.c (main): Call dwarf2_init.
            * config/obj-elf.c (struct group_list): New field.
            (build_group_lists): Use hash lookup.
            (free_section_idx): New function.
            (elf_frob_file): Adjust.
            * dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables.
            (get_line_subseg): Adjust.
            (dwarf2_init): New function.
            * dwarf2dbg.h (dwarf2_init): New declaration.

commit 4601e38a34c19ed0fe7500a2f7e8ac92c7e22d82
Author: Mark Kettenis <kettenis@gnu.org>
Date:   Fri Sep 11 14:07:37 2009 +0000

    * gdb.threads/current-lwp-dead.exp: Only run this on Linux.

commit 6d35f03d9be6189414404c9e7762a2743e172480
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Sep 11 11:16:18 2009 +0000

           * obcopy.c (copy_object): New parameter `input_arch', architecture
           of input file, if not specified in input file itself; all callers
           updated; `binary_architecture' hack removed.
           (copy_archive, copy_file): New parameter `input_arch', for
           `copy_object' usage.
           (copy_main): Accept `-B' (`--binary-architecture') option also
           for any arch-less input ifile format, not only `binary'; remove
           bfd_external_binary_architecture hack; instead, add `input_arch'
           to calls to `copy_file'.
           * windres.c, windmc.c : Obsolete and useless external references
           to `bfd_external_binary_architecture' or `bfd_external_machine'
           removed.
    
           * binary.c (binary_object_p): Remove bfd_external_binary_architecture
           hack.  objcopy `-B' (`--binary-architecture') option is now handled
           in a generic way.

commit 9063eb25233d98a0338565ece0585fd609afb1a4
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Sep 11 08:09:49 2009 +0000

    Changelog entry for previous delta.

commit a12e9c9b2c5c7ca1788ec750b0292edab94ac707
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Sep 11 08:08:11 2009 +0000

            * rs6000-core.c (read_hdr): Fix typo in recent C++ compatibility
            changes.

commit 242e860d3544f8c8a62793683276d9c0d3406830
Author: Jie Zhang <jie.zhang@analog.com>
Date:   Fri Sep 11 03:22:57 2009 +0000

    Fix ChangeLog entry date of my last commit.

commit 599aeceb8b89c803cba80969b364fc4e94396521
Author: Jie Zhang <jie.zhang@analog.com>
Date:   Fri Sep 11 03:20:34 2009 +0000

    	* elf32-bfin.c (bfinfdpic_relocs_info_find): Just return
    	NULL if `ht' is NULL.

commit cc53e0c41178f89053fdbb08c6e4e2e38fe83cb3
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Sep 11 00:00:32 2009 +0000

    *** empty log message ***

commit 193f92b0f35b755a7a6b058cc0c20e8da4e58455
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Sep 11 00:00:04 2009 +0000

    daily update

commit ec3630c53a53c2036e6dd83cb10df96538ac4df6
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Sep 10 22:47:56 2009 +0000

    Fix typo.

commit 9a14b44297f098fff9477aecdd79c9f35e0b780f
Author: Doug Evans <dje@google.com>
Date:   Thu Sep 10 22:26:51 2009 +0000

    	* gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
    	Add $gdb_prompt to second breakpoint regexp.

commit 419489e209145898a09cf8d891e1c4d733560c6c
Author: Anthony Green <green@redhat.com>
Date:   Thu Sep 10 21:57:03 2009 +0000

    Use common memory infrastructure and introduce device tree support

commit d52e92da51d563f33abfd08c21b86934a27cf479
Author: Anthony Green <green@redhat.com>
Date:   Thu Sep 10 21:12:24 2009 +0000

    Recognize new moxie prologues

commit f98ce7a2659448a90532594a1c263f19208327c8
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Sep 10 21:03:06 2009 +0000

    2009-09-10  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.texinfo (qSupported): Mention new ReverseContinue and
    	ReverseStep replies to the qSupported query.

commit 86cd6c482a1ae005482e5ff67195e919ac03308c
Author: Michael Snyder <msnyder@specifix.com>
Date:   Thu Sep 10 21:02:46 2009 +0000

    2009-09-10  Michael Snyder  <msnyder@vmware.com>
    
    	* remote.c (PACKET_bc, PACKET_bs): New enums.
    	(remote_protocol_features): Add ReverseStep, ReverseContinue.
    	(remote_resume): Check for reverse capability.
    	(_initialize_remote): Add packet config for "bs" and "bc" packets.
    	* NEWS (new options): Mention set/show for "bs" and "bc" packets.

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

Summary of changes:
 ChangeLog                                      |    5 +
 bfd/ChangeLog                                  |   38 +
 bfd/binary.c                                   |   13 -
 bfd/elf32-bfin.c                               |    8 +-
 bfd/mach-o.c                                   |   95 +-
 bfd/mach-o.h                                   |   19 +-
 bfd/po/bfd.pot                                 |   28 +-
 bfd/po/fi.po                                   | 2012 ++++++++++++++----------
 bfd/rs6000-core.c                              |    2 +-
 bfd/version.h                                  |    2 +-
 configure                                      |    3 +-
 configure.ac                                   |    3 +-
 gdb/ChangeLog                                  |  346 ++++
 gdb/Makefile.in                                |   55 +-
 gdb/NEWS                                       |   18 +
 gdb/ada-lang.h                                 |   86 -
 gdb/ada-operator.inc                           |  102 ++
 gdb/amd64-linux-tdep.c                         |   31 +
 gdb/amd64obsd-tdep.c                           |    2 +-
 gdb/arm-tdep.c                                 |    4 +-
 gdb/breakpoint.c                               |  489 ++++++-
 gdb/breakpoint.h                               |   21 +-
 gdb/doc/ChangeLog                              |   20 +
 gdb/doc/gdb.texinfo                            |  389 +++++-
 gdb/doc/gdbint.texinfo                         |   10 +-
 gdb/dwarf2-frame.c                             |   20 +-
 gdb/dwarf2expr.c                               |  127 ++-
 gdb/dwarf2expr.h                               |   94 +-
 gdb/dwarf2loc.c                                |  176 ++-
 gdb/dwarf2read.c                               |   36 +-
 gdb/expression.h                               |   17 +-
 gdb/frame.c                                    |   18 +-
 gdb/frame.h                                    |   10 +-
 gdb/gdbarch.c                                  |   33 +
 gdb/gdbarch.h                                  |   13 +
 gdb/gdbarch.sh                                 |    9 +
 gdb/hppa-tdep.c                                |    2 -
 gdb/i386-linux-nat.c                           |    7 +-
 gdb/i386-linux-tdep.c                          |   30 +
 gdb/i386obsd-tdep.c                            |    2 +-
 gdb/ia64-tdep.c                                |   17 +-
 gdb/inf-child.c                                |   10 +
 gdb/inf-ptrace.c                               |    7 +-
 gdb/inferior.h                                 |   14 +
 gdb/infrun.c                                   |  104 ++-
 gdb/inline-frame.c                             |    4 +
 gdb/libunwind-frame.c                          |    2 -
 gdb/linux-nat.c                                |  144 ++-
 gdb/linux-nat.h                                |    7 +
 gdb/mi/mi-cmd-var.c                            |  183 ++-
 gdb/mi/mi-cmds.c                               |    2 +
 gdb/mi/mi-cmds.h                               |    2 +
 gdb/minsyms.c                                  |   47 +-
 gdb/moxie-tdep.c                               |   40 +-
 gdb/objfiles.c                                 |  290 +++-
 gdb/objfiles.h                                 |   11 +-
 gdb/ppc-linux-tdep.c                           |   46 +
 gdb/python/py-objfile.c                        |    4 +-
 gdb/python/py-type.c                           |    4 +-
 gdb/remote.c                                   |   34 +-
 gdb/syscalls/amd64-linux.xml                   |  314 ++++
 gdb/syscalls/gdb-syscalls.dtd                  |   14 +
 gdb/syscalls/i386-linux.xml                    |  340 ++++
 gdb/syscalls/ppc-linux.xml                     |  310 ++++
 gdb/syscalls/ppc64-linux.xml                   |  295 ++++
 gdb/target.c                                   |   35 +-
 gdb/target.h                                   |   44 +-
 gdb/testsuite/ChangeLog                        |   59 +
 gdb/testsuite/gdb.base/Makefile.in             |    2 +-
 gdb/testsuite/gdb.base/breakpoint-shadow.exp   |    2 +-
 gdb/testsuite/gdb.base/catch-syscall.c         |   25 +
 gdb/testsuite/gdb.base/catch-syscall.exp       |  445 ++++++
 gdb/testsuite/gdb.dwarf2/valop.S               |  505 ++++++
 gdb/testsuite/gdb.dwarf2/valop.exp             |   55 +
 gdb/testsuite/gdb.mi/gdb701.exp                |    2 +-
 gdb/testsuite/gdb.mi/mi-break.exp              |    2 +-
 gdb/testsuite/gdb.mi/mi-var-block.exp          |    2 +-
 gdb/testsuite/gdb.mi/mi-var-child.exp          |   30 +-
 gdb/testsuite/gdb.mi/mi-var-cmd.exp            |   38 +-
 gdb/testsuite/gdb.mi/mi-var-display.exp        |    4 +-
 gdb/testsuite/gdb.mi/mi-var-invalidate.exp     |    6 +-
 gdb/testsuite/gdb.mi/mi2-var-block.exp         |    2 +-
 gdb/testsuite/gdb.mi/mi2-var-child.exp         |   30 +-
 gdb/testsuite/gdb.mi/mi2-var-cmd.exp           |   33 +-
 gdb/testsuite/gdb.mi/mi2-var-display.exp       |    4 +-
 gdb/testsuite/gdb.python/py-mi.exp             |  163 ++-
 gdb/testsuite/gdb.python/py-prettyprint.c      |   45 +
 gdb/testsuite/gdb.python/py-prettyprint.py     |   29 +-
 gdb/testsuite/gdb.reverse/sigall-reverse.c     | 1413 +++++++++++++++++
 gdb/testsuite/gdb.reverse/sigall-reverse.exp   |  421 +++++
 gdb/testsuite/gdb.threads/current-lwp-dead.exp |    5 +
 gdb/testsuite/lib/mi-support.exp               |  100 +-
 gdb/thread.c                                   |   10 +-
 gdb/varobj.c                                   |  710 ++++++---
 gdb/varobj.h                                   |   32 +-
 gdb/version.in                                 |    2 +-
 gdb/xml-support.c                              |   60 +
 gdb/xml-support.h                              |    6 +
 gdb/xml-syscall.c                              |  432 +++++
 gdb/xml-syscall.h                              |   50 +
 gdb/xml-tdesc.c                                |   67 +-
 libiberty/ChangeLog                            |    8 +
 libiberty/config.h-vms                         |    3 +
 libiberty/hashtab.c                            |    3 +
 opcodes/ChangeLog                              |   28 +
 opcodes/i386-dis.c                             |    2 +-
 opcodes/po/nl.po                               |  332 +++--
 opcodes/po/opcodes.pot                         |    2 +-
 sim/moxie/ChangeLog                            |   17 +
 sim/moxie/Makefile.in                          |   19 +-
 sim/moxie/configure                            |  520 ++++++-
 sim/moxie/configure.ac                         |    8 +
 sim/moxie/interp.c                             |  436 ++----
 sim/moxie/moxie-gdb.dts                        |   49 +
 sim/moxie/sim-main.h                           |   63 +
 sim/ppc/ChangeLog                              |    8 +
 sim/ppc/config.in                              |    3 +
 sim/ppc/configure                              |    4 +-
 sim/ppc/configure.ac                           |    3 +-
 sim/ppc/hw_sem.c                               |    2 +-
 120 files changed, 10830 insertions(+), 2190 deletions(-)
 create mode 100644 gdb/ada-operator.inc
 create mode 100644 gdb/syscalls/amd64-linux.xml
 create mode 100644 gdb/syscalls/gdb-syscalls.dtd
 create mode 100644 gdb/syscalls/i386-linux.xml
 create mode 100644 gdb/syscalls/ppc-linux.xml
 create mode 100644 gdb/syscalls/ppc64-linux.xml
 create mode 100644 gdb/testsuite/gdb.base/catch-syscall.c
 create mode 100644 gdb/testsuite/gdb.base/catch-syscall.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/valop.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/valop.exp
 create mode 100644 gdb/testsuite/gdb.reverse/sigall-reverse.c
 create mode 100644 gdb/testsuite/gdb.reverse/sigall-reverse.exp
 create mode 100644 gdb/xml-syscall.c
 create mode 100644 gdb/xml-syscall.h
 create mode 100644 sim/moxie/moxie-gdb.dts
 create mode 100644 sim/moxie/sim-main.h

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 6565198..fdfa5c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-16  Jie Zhang  <jie.zhang@analog.com>
+
+	* configure.ac: Disable java and boehm-gc for bfin-*-*.
+	* configure: Regenerate.
+
 2009-09-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	* configure.ac: Do not use $extrasub for replacing @if/@endif
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f804d9b..6d91f05 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,41 @@
+2009-09-16  Tristan Gingold  <gingold@adacore.com>
+	
+	* mach-o.h (bfd_mach_o_filetype): Add new constants from darwin10.
+	Reindent.
+	* mach-o.c (bfd_mach_o_cpu_name): Reindent.
+	(bfd_mach_o_filetype_name): Complete with new constants.  Reindent.
+	(bfd_mach_o_print_private_header): Use fputs instead of fprintf
+	when possible to avoid warnings.
+	(bfd_mach_o_print_section_map): Ditto.
+	(bfd_mach_o_section_get_entry_size): New function.
+	(bfd_mach_o_section_get_nbr_indirect): Simplify using the newly
+	added function.
+	(bfd_mach_o_print_dysymtab): Print address of indirect symbols.
+
+2009-09-14  Nick Clifton  <nickc@redhat.com>
+
+	* po/fi.po: Updated Finnish translation.
+
+2009-09-11  Nick Clifton  <nickc@redhat.com>
+
+	* po/bfd.pot: Updated by the Translation project.
+
+2009-09-11  Philippe De Muyter  <phdm@macqel.be>
+
+	* binary.c (binary_object_p): Remove bfd_external_binary_architecture
+	hack.  objcopy `-B' (`--binary-architecture') option is now handled
+	in a generic way.
+
+2009-09-11  Nick Clifton  <nickc@redhat.com>
+
+	* rs6000-core.c (read_hdr): Fix typo in recent C++ compatibility
+	changes.
+
+2009-09-11  Jie Zhang  <jie.zhang@analog.com>
+
+	* elf32-bfin.c (bfinfdpic_relocs_info_find): Just return
+	NULL if `ht' is NULL.
+
 2009-09-09  Martin Thuresson  <martin@mtme.org>
 
 	Update soruces to compile cleanly with -Wc++-compat:
diff --git a/bfd/binary.c b/bfd/binary.c
index 9740756..d264a09 100644
--- a/bfd/binary.c
+++ b/bfd/binary.c
@@ -42,11 +42,6 @@
    a start symbol, an end symbol, and an absolute length symbol.  */
 #define BIN_SYMS 3
 
-/* Set by external programs - specifies the BFD architecture and
-   machine number to be uses when creating binary BFDs.  */
-enum bfd_architecture  bfd_external_binary_architecture = bfd_arch_unknown;
-unsigned long          bfd_external_machine = 0;
-
 /* Create a binary object.  Invoked via bfd_set_format.  */
 
 static bfd_boolean
@@ -92,14 +87,6 @@ binary_object_p (bfd *abfd)
 
   abfd->tdata.any = (void *) sec;
 
-  if (bfd_get_arch_info (abfd) != NULL)
-    {
-      if ((bfd_get_arch_info (abfd)->arch == bfd_arch_unknown)
-          && (bfd_external_binary_architecture != bfd_arch_unknown))
-        bfd_set_arch_info (abfd, bfd_lookup_arch
-			   (bfd_external_binary_architecture, bfd_external_machine));
-    }
-
   return abfd->xvec;
 }
 
diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c
index f8e4c19..d4e3bbb 100644
--- a/bfd/elf32-bfin.c
+++ b/bfd/elf32-bfin.c
@@ -1950,8 +1950,12 @@ bfinfdpic_relocs_info_find (struct htab *ht,
 			   const struct bfinfdpic_relocs_info *entry,
 			   enum insert_option insert)
 {
-  struct bfinfdpic_relocs_info **loc =
-    (struct bfinfdpic_relocs_info **) htab_find_slot (ht, entry, insert);
+  struct bfinfdpic_relocs_info **loc;
+
+  if (!ht)
+    return NULL;
+
+  loc = (struct bfinfdpic_relocs_info **) htab_find_slot (ht, entry, insert);
 
   if (! loc)
     return NULL;
diff --git a/bfd/mach-o.c b/bfd/mach-o.c
index 5cf531e..747a637 100644
--- a/bfd/mach-o.c
+++ b/bfd/mach-o.c
@@ -3081,33 +3081,36 @@ bfd_mach_o_get_name (const bfd_mach_o_xlat_name *table, unsigned long val)
 
 static bfd_mach_o_xlat_name bfd_mach_o_cpu_name[] =
 {
-  { "vax", BFD_MACH_O_CPU_TYPE_VAX},
-  { "mc680x0", BFD_MACH_O_CPU_TYPE_MC680x0},
-  { "i386", BFD_MACH_O_CPU_TYPE_I386},
-  { "mips", BFD_MACH_O_CPU_TYPE_MIPS},
-  { "mc98000", BFD_MACH_O_CPU_TYPE_MC98000},
-  { "hppa", BFD_MACH_O_CPU_TYPE_HPPA},
-  { "arm", BFD_MACH_O_CPU_TYPE_ARM},
-  { "mc88000", BFD_MACH_O_CPU_TYPE_MC88000},
-  { "sparc", BFD_MACH_O_CPU_TYPE_SPARC},
-  { "i860", BFD_MACH_O_CPU_TYPE_I860},
-  { "alpha", BFD_MACH_O_CPU_TYPE_ALPHA},
-  { "powerpc", BFD_MACH_O_CPU_TYPE_POWERPC},
-  { "powerpc_64", BFD_MACH_O_CPU_TYPE_POWERPC_64},
-  { "x86_64", BFD_MACH_O_CPU_TYPE_X86_64},
+  { "vax", BFD_MACH_O_CPU_TYPE_VAX },
+  { "mc680x0", BFD_MACH_O_CPU_TYPE_MC680x0 },
+  { "i386", BFD_MACH_O_CPU_TYPE_I386 },
+  { "mips", BFD_MACH_O_CPU_TYPE_MIPS },
+  { "mc98000", BFD_MACH_O_CPU_TYPE_MC98000 },
+  { "hppa", BFD_MACH_O_CPU_TYPE_HPPA },
+  { "arm", BFD_MACH_O_CPU_TYPE_ARM },
+  { "mc88000", BFD_MACH_O_CPU_TYPE_MC88000 },
+  { "sparc", BFD_MACH_O_CPU_TYPE_SPARC },
+  { "i860", BFD_MACH_O_CPU_TYPE_I860 },
+  { "alpha", BFD_MACH_O_CPU_TYPE_ALPHA },
+  { "powerpc", BFD_MACH_O_CPU_TYPE_POWERPC },
+  { "powerpc_64", BFD_MACH_O_CPU_TYPE_POWERPC_64 },
+  { "x86_64", BFD_MACH_O_CPU_TYPE_X86_64 },
   { NULL, 0}
 };
 
 static bfd_mach_o_xlat_name bfd_mach_o_filetype_name[] = 
 {
-  { "object", BFD_MACH_O_MH_OBJECT},
-  { "execute", BFD_MACH_O_MH_EXECUTE},
-  { "fvmlib", BFD_MACH_O_MH_FVMLIB},
-  { "core", BFD_MACH_O_MH_CORE},
-  { "preload", BFD_MACH_O_MH_PRELOAD},
-  { "dylib", BFD_MACH_O_MH_DYLIB},
-  { "dylinker", BFD_MACH_O_MH_DYLINKER},
-  { "bundle", BFD_MACH_O_MH_BUNDLE},
+  { "object", BFD_MACH_O_MH_OBJECT },
+  { "execute", BFD_MACH_O_MH_EXECUTE },
+  { "fvmlib", BFD_MACH_O_MH_FVMLIB },
+  { "core", BFD_MACH_O_MH_CORE },
+  { "preload", BFD_MACH_O_MH_PRELOAD },
+  { "dylib", BFD_MACH_O_MH_DYLIB },
+  { "dylinker", BFD_MACH_O_MH_DYLINKER },
+  { "bundle", BFD_MACH_O_MH_BUNDLE },
+  { "dylib_stub", BFD_MACH_O_MH_DYLIB_STUB },
+  { "dym", BFD_MACH_O_MH_DSYM },
+  { "kext_bundle", BFD_MACH_O_MH_KEXT_BUNDLE },
   { NULL, 0}
 };
 
@@ -3220,7 +3223,7 @@ bfd_mach_o_print_private_header (bfd *abfd, FILE *file)
   bfd_mach_o_data_struct *mdata = bfd_mach_o_get_data (abfd);
   bfd_mach_o_header *h = &mdata->header;
 
-  fprintf (file, _("Mach-O header:\n"));
+  fputs (_("Mach-O header:\n"), file);
   fprintf (file, _(" magic     : %08lx\n"), h->magic);
   fprintf (file, _(" cputype   : %08lx (%s)\n"), h->cputype,
            bfd_mach_o_get_name (bfd_mach_o_cpu_name, h->cputype));
@@ -3232,7 +3235,7 @@ bfd_mach_o_print_private_header (bfd *abfd, FILE *file)
   fprintf (file, _(" sizeofcmds: %08lx\n"), h->sizeofcmds);
   fprintf (file, _(" flags     : %08lx ("), h->flags);
   bfd_mach_o_print_flags (bfd_mach_o_header_flags_name, h->flags, file);
-  fprintf (file, _(")\n"));
+  fputs (_(")\n"), file);
   fprintf (file, _(" reserved  : %08x\n"), h->reserved);
 }
 
@@ -3243,8 +3246,8 @@ bfd_mach_o_print_section_map (bfd *abfd, FILE *file)
   unsigned int i, j;
   unsigned int sec_nbr = 0;
 
-  fprintf (file, _("Segments and Sections:\n"));
-  fprintf (file, _(" #: Segment name     Section name     Address\n"));
+  fputs (_("Segments and Sections:\n"), file);
+  fputs (_(" #: Segment name     Section name     Address\n"), file);
 
   for (i = 0; i < mdata->header.ncmds; i++)
     {
@@ -3278,33 +3281,42 @@ bfd_mach_o_print_section_map (bfd *abfd, FILE *file)
     }
 }
 
-/* Return the number of indirect symbols for a section.
+/* Return the size of an entry for section SEC.
    Must be called only for symbol pointer section and symbol stubs
    sections.  */
 
 static unsigned int
-bfd_mach_o_section_get_nbr_indirect (bfd *abfd, bfd_mach_o_section *sec)
+bfd_mach_o_section_get_entry_size (bfd *abfd, bfd_mach_o_section *sec)
 {
-  unsigned int elsz;
-
   switch (sec->flags & BFD_MACH_O_SECTION_TYPE_MASK)
     {
     case BFD_MACH_O_S_NON_LAZY_SYMBOL_POINTERS:
     case BFD_MACH_O_S_LAZY_SYMBOL_POINTERS:
-      elsz = bfd_mach_o_wide_p (abfd) ? 8 : 4;
-      return sec->size / elsz;
+      return bfd_mach_o_wide_p (abfd) ? 8 : 4;
     case BFD_MACH_O_S_SYMBOL_STUBS:
-      elsz = sec->reserved2;
-      if (elsz)
-        return sec->size / elsz;
-      else
-        return 0;
+      return sec->reserved2;
     default:
       BFD_FAIL ();
       return 0;
     }
 }
 
+/* Return the number of indirect symbols for a section.
+   Must be called only for symbol pointer section and symbol stubs
+   sections.  */
+
+static unsigned int
+bfd_mach_o_section_get_nbr_indirect (bfd *abfd, bfd_mach_o_section *sec)
+{
+  unsigned int elsz;
+
+  elsz = bfd_mach_o_section_get_entry_size (abfd, sec);
+  if (elsz == 0)
+    return 0;
+  else
+    return sec->size / elsz;
+}
+
 static void
 bfd_mach_o_print_section (bfd *abfd ATTRIBUTE_UNUSED,
                           bfd_mach_o_section *sec, FILE *file)
@@ -3515,6 +3527,8 @@ bfd_mach_o_print_dysymtab (bfd *abfd ATTRIBUTE_UNUSED,
           bfd_mach_o_section *sec = mdata->sections[i];
           unsigned int j, first, last;
           bfd_mach_o_symtab_command *symtab = mdata->symtab;
+          bfd_vma addr;
+          bfd_vma entry_size;
       
           switch (sec->flags & BFD_MACH_O_SECTION_TYPE_MASK)
             {
@@ -3523,13 +3537,17 @@ bfd_mach_o_print_dysymtab (bfd *abfd ATTRIBUTE_UNUSED,
             case BFD_MACH_O_S_SYMBOL_STUBS:
               first = sec->reserved1;
               last = first + bfd_mach_o_section_get_nbr_indirect (abfd, sec);
+              addr = sec->addr;
+              entry_size = bfd_mach_o_section_get_entry_size (abfd, sec);
               fprintf (file, "  for section %s.%s:\n",
                        sec->segname, sec->sectname);
               for (j = first; j < last; j++)
                 {
                   unsigned int isym = dysymtab->indirect_syms[j];
                   
-                  fprintf (file, "  %5u: 0x%08x (%u)", j, isym, isym);
+                  fprintf (file, "   ");
+                  fprintf_vma (file, addr);
+                  fprintf (file, " %5u: 0x%08x", j, isym);
                   if (isym & BFD_MACH_O_INDIRECT_SYMBOL_LOCAL)
                     fprintf (file, " LOCAL");
                   if (isym & BFD_MACH_O_INDIRECT_SYMBOL_ABS)
@@ -3539,6 +3557,7 @@ bfd_mach_o_print_dysymtab (bfd *abfd ATTRIBUTE_UNUSED,
                       && symtab->symbols[isym].symbol.name)
                     fprintf (file, " %s", symtab->symbols[isym].symbol.name);
                   fprintf (file, "\n");
+                  addr += entry_size;
                 }
               break;
             default:
diff --git a/bfd/mach-o.h b/bfd/mach-o.h
index c1831e4..b86fe07 100644
--- a/bfd/mach-o.h
+++ b/bfd/mach-o.h
@@ -166,14 +166,17 @@ bfd_mach_o_cpu_subtype;
 
 typedef enum bfd_mach_o_filetype
 {
-  BFD_MACH_O_MH_OBJECT = 1,
-  BFD_MACH_O_MH_EXECUTE = 2,
-  BFD_MACH_O_MH_FVMLIB = 3,
-  BFD_MACH_O_MH_CORE = 4,
-  BFD_MACH_O_MH_PRELOAD = 5,
-  BFD_MACH_O_MH_DYLIB = 6,
-  BFD_MACH_O_MH_DYLINKER = 7,
-  BFD_MACH_O_MH_BUNDLE = 8
+  BFD_MACH_O_MH_OBJECT      = 0x01,
+  BFD_MACH_O_MH_EXECUTE     = 0x02,
+  BFD_MACH_O_MH_FVMLIB      = 0x03,
+  BFD_MACH_O_MH_CORE        = 0x04,
+  BFD_MACH_O_MH_PRELOAD     = 0x05,
+  BFD_MACH_O_MH_DYLIB       = 0x06,
+  BFD_MACH_O_MH_DYLINKER    = 0x07,
+  BFD_MACH_O_MH_BUNDLE      = 0x08,
+  BFD_MACH_O_MH_DYLIB_STUB  = 0x09,
+  BFD_MACH_O_MH_DSYM        = 0x0a,
+  BFD_MACH_O_MH_KEXT_BUNDLE = 0x0b
 }
 bfd_mach_o_filetype;
 
diff --git a/bfd/po/bfd.pot b/bfd/po/bfd.pot
index f60bb85..5f00211 100644
--- a/bfd/po/bfd.pot
+++ b/bfd/po/bfd.pot
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: bug-binutils@gnu.org\n"
-"POT-Creation-Date: 2009-09-07 12:07+0200\n"
+"POT-Creation-Date: 2009-09-07 14:05+0200\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -367,7 +367,7 @@ msgstr ""
 msgid "Relocation `%s' not yet implemented\n"
 msgstr ""
 
-#: coff-i860.c:605 coff-tic54x.c:398 coffcode.h:5145
+#: coff-i860.c:605 coff-tic54x.c:398 coffcode.h:5143
 msgid "%B: warning: illegal symbol index %ld in relocs"
 msgstr ""
 
@@ -437,56 +437,56 @@ msgstr ""
 msgid "ignoring reloc %s\n"
 msgstr ""
 
-#: coffcode.h:962
+#: coffcode.h:960
 msgid "%B: warning: COMDAT symbol '%s' does not match section name '%s'"
 msgstr ""
 
 #. Generate a warning message rather using the 'unhandled'
 #. variable as this will allow some .sys files generate by
 #. other toolchains to be processed.  See bugzilla issue 196.
-#: coffcode.h:1178
+#: coffcode.h:1176
 msgid ""
 "%B: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section %s"
 msgstr ""
 
-#: coffcode.h:1242
+#: coffcode.h:1240
 msgid "%B (%s): Section flag %s (0x%x) ignored"
 msgstr ""
 
-#: coffcode.h:2384
+#: coffcode.h:2382
 #, c-format
 msgid "Unrecognized TI COFF target id '0x%x'"
 msgstr ""
 
-#: coffcode.h:2698
+#: coffcode.h:2696
 msgid "%B: reloc against a non-existant symbol index: %ld"
 msgstr ""
 
-#: coffcode.h:3671
+#: coffcode.h:3669
 msgid "%B: section %s: string table overflow at offset %ld"
 msgstr ""
 
-#: coffcode.h:4479
+#: coffcode.h:4477
 msgid "%B: warning: line number table read failed"
 msgstr ""
 
-#: coffcode.h:4509
+#: coffcode.h:4507
 msgid "%B: warning: illegal symbol index %ld in line numbers"
 msgstr ""
 
-#: coffcode.h:4523
+#: coffcode.h:4521
 msgid "%B: warning: duplicate line number information for `%s'"
 msgstr ""
 
-#: coffcode.h:4914
+#: coffcode.h:4912
 msgid "%B: Unrecognized storage class %d for %s symbol `%s'"
 msgstr ""
 
-#: coffcode.h:5040
+#: coffcode.h:5038
 msgid "warning: %B: local symbol `%s' has no section"
 msgstr ""
 
-#: coffcode.h:5183
+#: coffcode.h:5181
 msgid "%B: illegal relocation type %d at address 0x%lx"
 msgstr ""
 
diff --git a/bfd/po/fi.po b/bfd/po/fi.po
index c1b622e..301f957 100644
--- a/bfd/po/fi.po
+++ b/bfd/po/fi.po
@@ -1,14 +1,14 @@
-# translation of bfd-2.19.1.po to Finnish
+# translation of bfd-2.19.90.po to Finnish
 # Copyright © 2007, 2009 Free Software Foundation, Inc.
 # This file is distributed under the same license as the binutils package.
 # Jorma Karvonen <karvonen.jorma@gmail.com>, 2007, 2009.
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: bfd 2.19.1\n"
+"Project-Id-Version: bfd 2.19.90\n"
 "Report-Msgid-Bugs-To: bug-binutils@gnu.org\n"
-"POT-Creation-Date: 2008-09-09 15:56+0930\n"
-"PO-Revision-Date: 2009-08-12 19:02+0200\n"
+"POT-Creation-Date: 2009-09-07 14:05+0200\n"
+"PO-Revision-Date: 2009-09-11 21:15+0200\n"
 "Last-Translator: Jorma Karvonen <karvonen.jorma@gmail.com>\n"
 "Language-Team: Finnish <translation-team-fi@lists.sourceforge.net>\n"
 "MIME-Version: 1.0\n"
@@ -34,153 +34,153 @@ msgstr "%B: Virheellinen sijoitustyyppi tuotu: %d"
 msgid "%B: Bad relocation record imported: %d"
 msgstr "%B: Väärä sijoitustietue tuotu: %d"
 
-#: aoutx.h:1268 aoutx.h:1604
+#: aoutx.h:1271 aoutx.h:1609
 #, c-format
 msgid "%s: can not represent section `%s' in a.out object file format"
 msgstr "%s: ei voi edustaa lohkoa ’%s’ ”a.out”-objektitiedostomuodossa"
 
-#: aoutx.h:1570
+#: aoutx.h:1575
 #, c-format
 msgid "%s: can not represent section for symbol `%s' in a.out object file format"
 msgstr "%s: ei voi edustaa lohkoa symbolille ’%s’ ”a.out”-objektitiedostomuodossa"
 
-#: aoutx.h:1572
+#: aoutx.h:1577
 msgid "*unknown*"
 msgstr "*tuntematon*"
 
-#: aoutx.h:3989 aoutx.h:4315
+#: aoutx.h:3994 aoutx.h:4320
 msgid "%P: %B: unexpected relocation type\n"
 msgstr "%P: %B: odottamaton sijoitustyyppi\n"
 
-#: aoutx.h:5349
+#: aoutx.h:5354
 #, c-format
 msgid "%s: relocatable link from %s to %s not supported"
 msgstr "%s: sijoitettava linkki kohteesta %s kohteeseen %s ei ole tuettu"
 
-#: archive.c:2046
+#: archive.c:2056
 msgid "Warning: writing archive was slow: rewriting timestamp\n"
 msgstr "Varoitus: arkiston kirjoitus oli hidasta: aikaleiman uudelleenkirjoitus\n"
 
-#: archive.c:2309
+#: archive.c:2342
 msgid "Reading archive file mod timestamp"
 msgstr "Luetaan arkistotiedoston muokkausaikaleima"
 
 #  Intel coff armap
-#: archive.c:2333
+#: archive.c:2366
 msgid "Writing updated armap timestamp"
 msgstr "Kirjoitetaan päivitetty ”armap”-aikaleima"
 
-#: bfd.c:368
+#: bfd.c:375
 msgid "No error"
 msgstr "Ei virhettä"
 
-#: bfd.c:369
+#: bfd.c:376
 msgid "System call error"
 msgstr "Järjestelmäkutsuvirhe"
 
-#: bfd.c:370
+#: bfd.c:377
 msgid "Invalid bfd target"
 msgstr "Virheellinen bfd-kohde"
 
-#: bfd.c:371
+#: bfd.c:378


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


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

* [SCM]  master: *** empty log message ***
@ 2009-08-18 15:16 swagiaal
  0 siblings, 0 replies; 8+ messages in thread
From: swagiaal @ 2009-08-18 15:16 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  19a50d12edce0600e6e784c1edb3ada364e315f6 (commit)
       via  7d85f8dcdcb4b149fc5c8d1264fd143389966d90 (commit)
       via  b2bd124143030a72ceffe8164b95eca30c136a71 (commit)
       via  2d2cca06c04577fedc2547a9d22213bf2ce5944b (commit)
       via  7b89e85c0e6ec79862388fffa7f37097023ff996 (commit)
       via  9213c4b80953bfb0cd4f413449804cfea7083b8c (commit)
       via  2e49d7624aa051e6fc923ad075c8d5a8b760b03a (commit)
       via  668e15338216bae8b420ac7622e451fbd41f7150 (commit)
       via  61b721bf40f1b08c51e333356223aac25779efce (commit)
      from  0ad8a5906cd65758e6050bdf59b893a0b1c20bc9 (commit)

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

- Log -----------------------------------------------------------------
commit 19a50d12edce0600e6e784c1edb3ada364e315f6
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Aug 18 00:00:32 2009 +0000

    *** empty log message ***

commit 7d85f8dcdcb4b149fc5c8d1264fd143389966d90
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Aug 18 00:00:06 2009 +0000

    daily update

commit b2bd124143030a72ceffe8164b95eca30c136a71
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date:   Mon Aug 17 20:09:37 2009 +0000

    	* symfile.c (reread_symbols): Call objfiles_changed *before*
    	calling clear_symtab_users.

commit 2d2cca06c04577fedc2547a9d22213bf2ce5944b
Author: Michael Snyder <msnyder@specifix.com>
Date:   Mon Aug 17 18:23:45 2009 +0000

    2009-08-17  Michael Snyder  <msnyder@vmware.com>
    
    	* amd64-tdep.c: Add a frame unwinder for function epilogues.
    	(amd64_in_function_epilogue_p): New function.
    	(amd64_epilogue_frame_sniffer): New function.
    	(amd64_epilogue_frame_cache): New function.
    	(amd64_epilogue_frame_this_id): New function.
    	(amd64_epilogue_frame_unwind): New struct frame_unwind.
    	(amd64_init_abi): Hook the new unwinder.
    
    	* amd64-linux-tdep.c (amd64_linux_init_abi): Set gdbarch to use
    	SVR4 method for skip_trampoline_code.

commit 7b89e85c0e6ec79862388fffa7f37097023ff996
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Mon Aug 17 11:16:11 2009 +0000

    2009-08-17  Pedro Alves  <pedro@codesourcery.com>>
    
    	* objfiles.c (objfile_relocate): Relocate the entry point before
    	relocating the section offsets.  Flush the section map before
    	resetting breakpoints.

commit 9213c4b80953bfb0cd4f413449804cfea7083b8c
Author: Ben Elliston <bje@au.ibm.com>
Date:   Mon Aug 17 04:10:29 2009 +0000

    	* config.sub, config.guess: Update from upstream sources.

commit 2e49d7624aa051e6fc923ad075c8d5a8b760b03a
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Aug 17 00:00:08 2009 +0000

    daily update

commit 668e15338216bae8b420ac7622e451fbd41f7150
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Aug 17 00:00:03 2009 +0000

    *** empty log message ***

commit 61b721bf40f1b08c51e333356223aac25779efce
Author: Doug Evans <dje@google.com>
Date:   Sun Aug 16 17:32:21 2009 +0000

    	* opncls.c (bfd_close): Until BFD_IN_MEMORY has an iovec,
    	at least don't leak memory.

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

Summary of changes:
 ChangeLog              |    4 ++
 bfd/ChangeLog          |    5 +++
 bfd/opncls.c           |   16 ++++++---
 bfd/version.h          |    2 +-
 config.guess           |   12 +++---
 config.sub             |   20 ++++++++---
 gdb/ChangeLog          |   24 +++++++++++++
 gdb/amd64-linux-tdep.c |    3 ++
 gdb/amd64-tdep.c       |   89 ++++++++++++++++++++++++++++++++++++++++++++++++
 gdb/objfiles.c         |   16 +++++----
 gdb/symfile.c          |    6 ++--
 gdb/version.in         |    2 +-
 12 files changed, 171 insertions(+), 28 deletions(-)

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 64dc5aa..4ee1147 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-17  Ben Elliston  <bje@au.ibm.com>
+
+	* config.sub, config.guess: Update from upstream sources.
+
 2009-08-06  Michael Eager <eager@eagercon.com>
 
 	* configure.ac: Add Microblaze target.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ecca9ca..f9c4c6d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-16  Doug Evans  <dje@google.com>
+
+	* opncls.c (bfd_close): Until BFD_IN_MEMORY has an iovec,
+	at least don't leak memory.
+
 2009-08-13  DJ Delorie  <dj@redhat.com>
 
 	* elf32-m32c.c (m32c_elf_relax_delete_bytes): Adjust symbol sizes
diff --git a/bfd/opncls.c b/bfd/opncls.c
index 6a4f319..7992030 100644
--- a/bfd/opncls.c
+++ b/bfd/opncls.c
@@ -703,12 +703,18 @@ bfd_close (bfd *abfd)
   if (! BFD_SEND (abfd, _close_and_cleanup, (abfd)))
     return FALSE;
 
-  /* FIXME: cagney/2004-02-15: Need to implement a BFD_IN_MEMORY io
-     vector.  */
-  if (!(abfd->flags & BFD_IN_MEMORY))
-    ret = abfd->iovec->bclose (abfd);
+  if ((abfd->flags & BFD_IN_MEMORY) != 0)
+    {
+      /* FIXME: cagney/2004-02-15: Need to implement a BFD_IN_MEMORY io
+	 vector.
+	 Until that's done, at least don't leak memory.  */
+      struct bfd_in_memory *bim = abfd->iostream;
+      free (bim->buffer);
+      free (bim);
+      ret = TRUE;
+    }
   else
-    ret = TRUE;
+    ret = abfd->iovec->bclose (abfd);
 
   if (ret)
     _maybe_make_executable (abfd);
diff --git a/bfd/version.h b/bfd/version.h
index b19ea97..e217c6e 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20090816
+#define BFD_VERSION_DATE 20090818
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/config.guess b/config.guess
index 7c48073..e3a2116 100755
--- a/config.guess
+++ b/config.guess
@@ -4,7 +4,7 @@
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
 #   Free Software Foundation, Inc.
 
-timestamp='2009-06-03'
+timestamp='2009-06-10'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -170,7 +170,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
 	    arm*|i386|m68k|ns32k|sh3*|sparc|vax)
 		eval $set_cc_for_build
 		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
-			| grep __ELF__ >/dev/null
+			| grep -q __ELF__
 		then
 		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
 		    # Return netbsd for either.  FIX?
@@ -656,7 +656,7 @@ EOF
 	    # => hppa64-hp-hpux11.23
 
 	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
-		grep __LP64__ >/dev/null
+		grep -q __LP64__
 	    then
 		HP_ARCH="hppa2.0w"
 	    else
@@ -927,7 +927,7 @@ EOF
 	  EV67)  UNAME_MACHINE=alphaev67 ;;
 	  EV68*) UNAME_MACHINE=alphaev68 ;;
         esac
-	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
+	objdump --private-headers /bin/sh | grep -q ld.so.1
 	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
 	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
 	exit ;;
@@ -1046,7 +1046,7 @@ EOF
     i*86:syllable:*:*)
 	echo ${UNAME_MACHINE}-pc-syllable
 	exit ;;
-    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
+    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
 	echo i386-unknown-lynxos${UNAME_RELEASE}
 	exit ;;
     i*86:*DOS:*:*)
@@ -1154,7 +1154,7 @@ EOF
     rs6000:LynxOS:2.*:*)
 	echo rs6000-unknown-lynxos${UNAME_RELEASE}
 	exit ;;
-    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
+    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
 	echo powerpc-unknown-lynxos${UNAME_RELEASE}
 	exit ;;
     SM[BE]S:UNIX_SV:*:*)
diff --git a/config.sub b/config.sub
index 67a635e..32d764c 100755
--- a/config.sub
+++ b/config.sub
@@ -4,7 +4,7 @@
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
 #   Free Software Foundation, Inc.
 
-timestamp='2009-06-03'
+timestamp='2009-08-17'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -149,10 +149,13 @@ case $os in
 	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
 	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
 	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-	-apple | -axis | -knuth | -cray)
+	-apple | -axis | -knuth | -cray | -microblaze)
 		os=
 		basic_machine=$1
 		;;
+        -bluegene*)
+	        os=-cnk
+		;;
 	-sim | -cisco | -oki | -wec | -winbond)
 		os=
 		basic_machine=$1
@@ -337,7 +340,7 @@ case $basic_machine in
 	| lm32-* \
 	| m32c-* | m32r-* | m32rle-* \
 	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
-	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
+	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
 	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
 	| mips16-* \
 	| mips64-* | mips64el-* \
@@ -467,6 +470,10 @@ case $basic_machine in
 		basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
 		os=-linux
 		;;
+	bluegene*)
+		basic_machine=powerpc-ibm
+		os=-cnk
+		;;
 	c90)
 		basic_machine=c90-cray
 		os=-unicos
@@ -719,6 +726,9 @@ case $basic_machine in
 		basic_machine=ns32k-utek
 		os=-sysv
 		;;
+        microblaze)
+		basic_machine=microblaze-xilinx
+		;;
 	mingw32)
 		basic_machine=i386-pc
 		os=-mingw32
@@ -1260,7 +1270,7 @@ case $os in
 	# Each alternative MUST END IN A *, to match a version number.
 	# -sysv* is not here because it comes later, after sysvr4.
 	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
-	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
+	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
 	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
 	      | -kopensolaris* \
 	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
@@ -1613,7 +1623,7 @@ case $basic_machine in
 			-sunos*)
 				vendor=sun
 				;;
-			-aix*)
+			-cnk*|-aix*)
 				vendor=ibm
 				;;
 			-beos*)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4215476..3af22c1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,27 @@
+2009-08-17  Ulrich Weigand  <uweigand@de.ibm.com>
+
+	* symfile.c (reread_symbols): Call objfiles_changed *before*
+	calling clear_symtab_users.
+
+2009-08-17  Michael Snyder  <msnyder@vmware.com>
+
+	* amd64-tdep.c: Add a frame unwinder for function epilogues.
+	(amd64_in_function_epilogue_p): New function.
+	(amd64_epilogue_frame_sniffer): New function.
+	(amd64_epilogue_frame_cache): New function.
+	(amd64_epilogue_frame_this_id): New function.
+	(amd64_epilogue_frame_unwind): New struct frame_unwind.
+	(amd64_init_abi): Hook the new unwinder.
+
+	* amd64-linux-tdep.c (amd64_linux_init_abi): Set gdbarch to use
+	SVR4 method for skip_trampoline_code.
+
+2009-08-17  Pedro Alves  <pedro@codesourcery.com>>
+
+	* objfiles.c (objfile_relocate): Relocate the entry point before
+	relocating the section offsets.  Flush the section map before
+	resetting breakpoints.
+
 2009-08-14  Doug Evans  <dje@google.com>
 
 	* symfile.c (find_separate_debug_file): Remove double free of
diff --git a/gdb/amd64-linux-tdep.c b/gdb/amd64-linux-tdep.c
index e7f966b..dcfdb38 100644
--- a/gdb/amd64-linux-tdep.c
+++ b/gdb/amd64-linux-tdep.c
@@ -1415,6 +1415,9 @@ amd64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
   set_gdbarch_fetch_tls_load_module_address (gdbarch,
                                              svr4_fetch_objfile_link_map);
 
+  /* GNU/Linux uses SVR4-style shared libraries.  */
+  set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
+
   /* Displaced stepping.  */
   set_gdbarch_displaced_step_copy_insn (gdbarch,
                                         amd64_displaced_step_copy_insn);
diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c
index 187b9ce..51560cf 100644
--- a/gdb/amd64-tdep.c
+++ b/gdb/amd64-tdep.c
@@ -1887,6 +1887,89 @@ static const struct frame_base amd64_frame_base =
   amd64_frame_base_address
 };
 
+/* Normal frames, but in a function epilogue.  */
+
+/* The epilogue is defined here as the 'ret' instruction, which will
+   follow any instruction such as 'leave' or 'pop %ebp' that destroys
+   the function's stack frame.  */
+
+static int
+amd64_in_function_epilogue_p (struct gdbarch *gdbarch, CORE_ADDR pc)
+{
+  gdb_byte insn;
+
+  if (target_read_memory (pc, &insn, 1))
+    return 0;   /* Can't read memory at pc.  */
+
+  if (insn != 0xc3)     /* 'ret' instruction.  */
+    return 0;
+
+  return 1;
+}
+
+static int
+amd64_epilogue_frame_sniffer (const struct frame_unwind *self,
+			      struct frame_info *this_frame,
+			      void **this_prologue_cache)
+{
+  if (frame_relative_level (this_frame) == 0)
+    return amd64_in_function_epilogue_p (get_frame_arch (this_frame),
+					 get_frame_pc (this_frame));
+  else
+    return 0;
+}
+
+static struct amd64_frame_cache *
+amd64_epilogue_frame_cache (struct frame_info *this_frame, void **this_cache)
+{
+  struct gdbarch *gdbarch = get_frame_arch (this_frame);
+  enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
+  struct amd64_frame_cache *cache;
+  gdb_byte buf[4];
+
+  if (*this_cache)
+    return *this_cache;
+
+  cache = amd64_alloc_frame_cache ();
+  *this_cache = cache;
+
+  /* Cache base will be %esp plus cache->sp_offset (-8).  */
+  get_frame_register (this_frame, AMD64_RSP_REGNUM, buf);
+  cache->base = extract_unsigned_integer (buf, 8, 
+					  byte_order) + cache->sp_offset;
+
+  /* Cache pc will be the frame func.  */
+  cache->pc = get_frame_pc (this_frame);
+
+  /* The saved %esp will be at cache->base plus 16.  */
+  cache->saved_sp = cache->base + 16;
+
+  /* The saved %eip will be at cache->base plus 8.  */
+  cache->saved_regs[AMD64_RIP_REGNUM] = cache->base + 8;
+
+  return cache;
+}
+
+static void
+amd64_epilogue_frame_this_id (struct frame_info *this_frame,
+			      void **this_cache,
+			      struct frame_id *this_id)
+{
+  struct amd64_frame_cache *cache = amd64_epilogue_frame_cache (this_frame,
+							       this_cache);
+
+  (*this_id) = frame_id_build (cache->base + 8, cache->pc);
+}
+
+static const struct frame_unwind amd64_epilogue_frame_unwind =
+{
+  NORMAL_FRAME,
+  amd64_epilogue_frame_this_id,
+  amd64_frame_prev_register,
+  NULL, 
+  amd64_epilogue_frame_sniffer
+};
+
 static struct frame_id
 amd64_dummy_id (struct gdbarch *gdbarch, struct frame_info *this_frame)
 {
@@ -2065,6 +2148,12 @@ amd64_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 
   set_gdbarch_dummy_id (gdbarch, amd64_dummy_id);
 
+  /* Hook the function epilogue frame unwinder.  This unwinder is
+     appended to the list first, so that it supercedes the other
+     unwinders in function epilogues.  */
+  frame_unwind_prepend_unwinder (gdbarch, &amd64_epilogue_frame_unwind);
+
+  /* Hook the prologue-based frame unwinders.  */
   frame_unwind_append_unwinder (gdbarch, &amd64_sigtramp_frame_unwind);
   frame_unwind_append_unwinder (gdbarch, &amd64_frame_unwind);
   frame_base_set_default (gdbarch, &amd64_frame_base);
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 586f5d0..92db65e 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -666,12 +666,6 @@ objfile_relocate (struct objfile *objfile, struct section_offsets *new_offsets)
      to be out of order.  */
   msymbols_sort (objfile);
 
-  {
-    int i;
-    for (i = 0; i < objfile->num_sections; ++i)
-      (objfile->section_offsets)->offsets[i] = ANOFFSET (new_offsets, i);
-  }
-
   if (objfile->ei.entry_point != ~(CORE_ADDR) 0)
     {
       /* Relocate ei.entry_point with its section offset, use SECT_OFF_TEXT
@@ -684,6 +678,15 @@ objfile_relocate (struct objfile *objfile, struct section_offsets *new_offsets)
         objfile->ei.entry_point += ANOFFSET (delta, SECT_OFF_TEXT (objfile));
     }
 
+  {
+    int i;
+    for (i = 0; i < objfile->num_sections; ++i)
+      (objfile->section_offsets)->offsets[i] = ANOFFSET (new_offsets, i);
+  }
+
+  /* Rebuild section map next time we need it.  */
+  objfiles_changed_p = 1;
+
   /* Update the table in exec_ops, used to read memory.  */
   ALL_OBJFILE_OSECTIONS (objfile, s)
     {
@@ -695,7 +698,6 @@ objfile_relocate (struct objfile *objfile, struct section_offsets *new_offsets)
 
   /* Relocate breakpoints as necessary, after things are relocated. */
   breakpoint_re_set ();
-  objfiles_changed_p = 1;  /* Rebuild section map next time we need it.  */
 }
 \f
 /* Many places in gdb want to test just to see if we have any partial
diff --git a/gdb/symfile.c b/gdb/symfile.c
index e30b613..5151966 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -2467,13 +2467,13 @@ reread_symbols (void)
 
   if (reread_one)
     {
+      /* Notify objfiles that we've modified objfile sections.  */
+      objfiles_changed ();
+
       clear_symtab_users ();
       /* At least one objfile has changed, so we can consider that
          the executable we're debugging has changed too.  */
       observer_notify_executable_changed ();
-
-      /* Notify objfiles that we've modified objfile sections.  */
-      objfiles_changed ();
     }
 }
 
diff --git a/gdb/version.in b/gdb/version.in
index 16c6d91..f2db57a 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-6.8.50.20090816-cvs
+6.8.50.20090818-cvs


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


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

* [SCM]  master: *** empty log message ***
@ 2009-05-03 13:07 jkratoch
  0 siblings, 0 replies; 8+ messages in thread
From: jkratoch @ 2009-05-03 13:07 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  94c1e35d683b34ea5e1b9064ad601954b21225c5 (commit)
       via  aaf834e7d56a0f6e7f77d1711da9937e2486dff6 (commit)
       via  04000f5375b177b77d85fbeb03d876a470f39aa4 (commit)
       via  ef8c8a0670bd4a2b0281ddd471044ad5479fff56 (commit)
       via  b235d1e0e58ded935258d19e7505b9d2e4f3f077 (commit)
       via  b384b6ca636d168f1468dc9becb6e2150a72c590 (commit)
       via  eb6e340a0b52740977783301f3ec39a099d7529f (commit)
       via  ce8c3dd4ad06d16a33e938a9b33b48ebc2a69c00 (commit)
       via  ca1328fd45fe28c6134f0dfacabeb32139537e54 (commit)
       via  473cd1a4f770f42123b32bf3a737a7503a291e0b (commit)
       via  fff6ab3c1558830440bf0798494b0b3d7435b4c8 (commit)
       via  adc93c1a641f3c65e7bbe470982a396e2a588f86 (commit)
       via  8c5e528fd1d6d05c651d2d15a6296a7cad60a57d (commit)
       via  0c3b9f4a75e5ab7fe2f895d0c2c02bbc4530539f (commit)
       via  6fe1b3b027b369dc56b987615b70b522156ad915 (commit)
       via  4545682e721f1b3d4ce75e275e9a153d0425d662 (commit)
       via  9d43a2998fc4464086d0aa58fbce5c3b87979d48 (commit)
       via  860206062ffe7f57c44082e5b32eaab67bfc3eed (commit)
       via  19f5f780484f47e8379fcaa269f4760ed808cdfc (commit)
       via  a52c6b99eb1d48a0e6ffc6e56970aee55fb45551 (commit)
       via  b192f5319e20e3cd5e18a3d92402b412e4053af0 (commit)
       via  b8c02aa7069a6062350af7ce5833231cb0fc7c79 (commit)
       via  91fcb22fb504acb8885e4a00f3f02488367b8ec7 (commit)
       via  bfca83c43c764c0984c2dea97925ac31cd1a6d22 (commit)
       via  f3ca463f7ee6b21b42af350263ef65f7f9bd8648 (commit)
       via  a347f4d82118b3e0ff81578b0fc464f283f8fde6 (commit)
       via  5234f6c44ab12ae880671f3536ff43b642a8dd30 (commit)
       via  13b14787a9d3be0bc8ac1aef98546032f82f12c7 (commit)
       via  f9ca5994791d49258abe541d47724e905e5eb8b0 (commit)
       via  5439abade6dcbe08ff800812da6d2ce7304d0454 (commit)
       via  6b07c1182f2919e2b6222d5f6b97050890f7fca8 (commit)
       via  f881f2c23be83a13883b6ffdf86547ec06d9efd3 (commit)
       via  5be9a62b043b2644b0199cf4c9654be932b95daa (commit)
       via  9dc7e48b685da9abb9df2c266826616554d3bd50 (commit)
       via  28247708857ca8204e5e5875763b6bcd2de6a123 (commit)
       via  2399dc200feeba3c1ac78ce2404f6b156b393c31 (commit)
       via  4a012a7a733d31eb590730b836690cefd83c67dc (commit)
       via  2f325cb2013dd1928a4efe5afdd43c434a953334 (commit)
       via  129f645eb3e30180517bbbf4e66b373d3d32d840 (commit)
       via  0c8442ac4709ba562f6cfe2ef4d8ab0477ade042 (commit)
       via  d0194c6e1be20c223824e1b1648b4ff0543b1335 (commit)
       via  0e4455a61d04ca69aeac2d3f1a3526df3b4d1a01 (commit)
       via  d520a69559551da909e4f544eb36e6e31895dfba (commit)
       via  3cd8330723a4ce2876c0d882e9ba42d274c41dce (commit)
       via  a2302de085680c27d7e61f01ac85ed4b8497016f (commit)
       via  569ffd2c6783d7b3eaf1ebca34eacfaef55ba368 (commit)
       via  5b754aed7e552fb5dc279a43778e645fff963c63 (commit)
       via  9733feda3307b74cbb8baa0754b984440aa2118d (commit)
       via  2a46ee8cc0cd02dc7657e9282c8a1efd39e882ad (commit)
       via  1aa517c5b37b80240c6bdca85cd2d405c997eb2b (commit)
       via  24f586426fd840b1a61f8ee337d8a669d480c3f0 (commit)
       via  25e7efebf854063b972aa1ef1db9536405c104eb (commit)
       via  2c48202c2c56afdd52ecda1cd579e793aa33150a (commit)
       via  aaea5a06cc659c0642131b604f1f0fc18cb7a3d3 (commit)
       via  c9f10fca16d924d653e9b65a8b0637e678dac17e (commit)
       via  15db65ca22ce31f560e6d11783a435509c41fe62 (commit)
       via  ad41c1200c6e5364d622811f213e5dd5a574ede6 (commit)
       via  fa34d2ad0bad663d44c1d0a3a32ba14e42736b25 (commit)
       via  fa4366e13c48c3ea223ba4c476cfd8e3565699e5 (commit)
       via  013b58244af4ab7472a15652a7e3ec3c2a0828bb (commit)
       via  07f62cf76e062ce3e3dfd4da45d35697cc161a05 (commit)
       via  2deebbe8581573e6fa0d2339005c535464914d68 (commit)
       via  74b763d37e4bd303a8a5c8c29c2fe59abd6b3fc8 (commit)
       via  f6bb2f018129f0763aeaa6c94a14b9c1f2cc4391 (commit)
       via  8446fa354a01fc4c0ca9b51ab3193c96165a2bbb (commit)
       via  658f8d2c297f062d4d01d7abac28b245b86e52bb (commit)
       via  524302d135bd8e7bcb8aeab486c959a33aff9d00 (commit)
       via  7a809a38d23d646522a2d935bc153a769a82427e (commit)
       via  2cd3374d2a69e60b7631f0f418a73a388ee1413d (commit)
       via  d1bc75f8ad659c2f3452aa8e378542bc0d2dc664 (commit)
       via  84b387776b43c6682aa1dd887138d535eb8a3a24 (commit)
       via  eb014281e8c8a39595fac74b03f384e3df3e23e0 (commit)
       via  5e8937d41720cc274067b00b221387f4ab03172d (commit)
       via  ecd1badb7ab07d07bdc6b6408e82ccb85e2db72b (commit)
       via  5931ed57c70146f060f5be66432fb0bf5d698388 (commit)
       via  1f44a0325839c962f5d6218137eedc4bf8ffcc82 (commit)
       via  631207fc2dfdca71a7486d60801a51260da76b3d (commit)
       via  f525e6781232de2f2294e3b7cdad7a651d07dd46 (commit)
       via  658a35c074b50ec244b87e2a432191633acb2450 (commit)
       via  6cf9e6eeb7a6cd311abfe9d76197b8a66e70c7b5 (commit)
       via  7cf3956abffb5b35508e4d2dcda4a170819458cf (commit)
       via  74d014327a14fc6f8e891e1544514341e347f9cb (commit)
       via  4aaf308b0d6d5abbe09d8c63875851772982b9ee (commit)
       via  45ad5976ea8f60404d222912a16afce2f83f12f5 (commit)
       via  b8a70b755bd2b8383ba0e4f2f8e36dae90b8de8a (commit)
       via  03f92190d0ed77f1363337a013f218e19c2ca5f6 (commit)
       via  bfec9d16d0fb4167df909bfdfb91623cfcc7b194 (commit)
       via  17c2b4e526b5c17d4c93e289db9de1817b63a72e (commit)
       via  7d75d19418e5a4a67fc4d11d3b4fcad32d9368c8 (commit)
       via  9727f0b23c153de60528c433b1362f1f5d1d748a (commit)
       via  d344514af6d15a4bd219e58fa62548cb80313a05 (commit)
       via  bb11f7d0844479e47ca55a30333d463ee909766e (commit)
       via  896aa22440ea77f478bd68da376d5873a97647ee (commit)
       via  6662d7d4c43db0555f07713e98167b8e318241de (commit)
       via  439926195159e43c69d7fbf024d85bbcf82ed6b8 (commit)
       via  ecd38f826310ce4f778f30c85ccfb80a8c830020 (commit)
       via  e9974e9d4117056143b470c3ef06b397be5326cf (commit)
       via  3675b7bdcb1da902dea25982ec0021fd6adcf2b7 (commit)
       via  9b3ef1c3b39b0bdb56b787fafc2a2166315ddd51 (commit)
       via  e227be8456719926e0a94f8aac03670a0eefd0a5 (commit)
       via  3981af04d0feb2737273b8b2428521df3bacb3a0 (commit)
       via  e91002b592406002edf406cbb27dd4adeb15cfe6 (commit)
       via  1d44bf432360bfb2e9d448ea7abf3d7791409929 (commit)
       via  24cbb2f59601365042b0ce079c888dff068b94dc (commit)
       via  63ea04ca40a29ab5729a21b444bc781e1eafbdd2 (commit)
       via  c93fab1bfecb057fe9e5d5f0b6e27ca62045ef85 (commit)
       via  29190ab7f240e76af935e7b4d29f35c10cfccc14 (commit)
       via  9e5d623dd4395ba793221e264927731d0f579e85 (commit)
       via  4e2cf0c1b8dc9d4baba731b96b48a0978e14413d (commit)
       via  345c85ba5e4ef630e73b27a17cac2ec295b909c2 (commit)
       via  0350c1e96b17869365e8adda6372578f6b0e2d19 (commit)
       via  65bb31f430dd2e285583c69d2d0878af6ce84e72 (commit)
       via  5899ddcdfa60286b434f4a94730b1d9d459f81a7 (commit)
       via  5de3d8309707663e152a6f404572eb82c615255d (commit)
       via  efad8a14fcd62f9ab9183e3f202c9a90c83b2546 (commit)
       via  61cefd3a87f01c7618e60640cedbbeb254586d66 (commit)
       via  fbad6ffb9c66b7a9900d0642ee9e8543fbd7288a (commit)
       via  c8a72d1af8dc3bfffdde4f480ab0a0d51b4a1319 (commit)
       via  404bf5b72f6ed6859dccce5a93fbafe8896ff9f1 (commit)
       via  d1412ad971a451378f218e3f19d3526f21057235 (commit)
       via  7cf431690113efd48c887d9fda54f98091093794 (commit)
       via  2931783d51fa2b396f506ddf570a6683ac71ddc5 (commit)
       via  5d73d87974fb92a61c2c5c138cd36610fde2bcf4 (commit)
       via  edf9d226d9191de69e7fb129d88bbebb1a889723 (commit)
       via  7a1b5fb8f2285a1b1e5bd7d5f5914e02dec6a34e (commit)
       via  530126cd584c14e55ca2cb5bbc30023b58d3b66e (commit)
       via  bf211d38d3cbf933d8e17df313f6d89bd3e0f79f (commit)
       via  6a7ae005013413bf0057587b749ef0597f912369 (commit)
       via  5fa62989fa79223eefd13e53772752040491c93e (commit)
       via  00e86ec9a2ab3e4c5566079e6de9a2d8701ebd64 (commit)
       via  92f8d12cc973aba0167aa39e63aed8c1151bbbd2 (commit)
       via  7b541b57dc1e37a3811adacb9adfed38d4dc204e (commit)
       via  62205948f9b584ac7ed6cb83bca111ee2b1b6e84 (commit)
       via  759792b7eeaf3a8758f1a8822c16f00c3f71a544 (commit)
       via  af5a591f5dd272bcd75b555cd8373f9bf730737a (commit)
       via  98ef0e955167c52901cf79f46a7290ed7076a929 (commit)
       via  7153275d0e7343839a7fe7cac957a6eff7f76d5c (commit)
       via  3bea577f45b61b8b4947ac2417005fc1f551f8ef (commit)
      from  9a699cf8afd57133b773c4a9361a0f690af5c58f (commit)

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

- Log -----------------------------------------------------------------
commit 94c1e35d683b34ea5e1b9064ad601954b21225c5
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun May 3 00:00:34 2009 +0000

    *** empty log message ***

commit aaf834e7d56a0f6e7f77d1711da9937e2486dff6
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun May 3 00:00:05 2009 +0000

    daily update

commit 04000f5375b177b77d85fbeb03d876a470f39aa4
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Sat May 2 09:42:12 2009 +0000

    *** empty log message ***

commit ef8c8a0670bd4a2b0281ddd471044ad5479fff56
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Sat May 2 09:41:52 2009 +0000

    	* dbxread.c (read_dbx_symtab): Avoid compiler warnings for
    	sym_name.
    	* infcall.c (find_function_addr): Avoid compiler warnings for
    	funaddr.

commit b235d1e0e58ded935258d19e7505b9d2e4f3f077
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat May 2 00:00:34 2009 +0000

    *** empty log message ***

commit b384b6ca636d168f1468dc9becb6e2150a72c590
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat May 2 00:00:05 2009 +0000

    daily update

commit eb6e340a0b52740977783301f3ec39a099d7529f
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri May 1 22:39:40 2009 +0000

    gdb/
    	* dictionary.c (dict_hashed_vector, dict_hashed_expandable_vector)
    	(dict_linear_vector, dict_linear_expandable_vector): Fix a comment typo.

commit ce8c3dd4ad06d16a33e938a9b33b48ebc2a69c00
Author: Doug Evans <dje@google.com>
Date:   Fri May 1 22:05:46 2009 +0000

    	* linux-thread-db.c (thread_db_pid_to_str): Delete unused assignment
    	to thread_info.

commit ca1328fd45fe28c6134f0dfacabeb32139537e54
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Fri May 1 17:57:31 2009 +0000

    	* record.c (_initialize_record): Reformat and clarify doc strings
    	for stop-at-limit and insn-number-max.

commit 473cd1a4f770f42123b32bf3a737a7503a291e0b
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Fri May 1 17:45:43 2009 +0000

    	* go32-nat.c: Add comments about dirty secrets of DJGPP debugging.

commit fff6ab3c1558830440bf0798494b0b3d7435b4c8
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Fri May 1 14:43:16 2009 +0000

    gdb/
    	Make specifiable the make_function_type type memory ownership.
    	* gdbtypes.c (make_function_type): New parameter `objfile', use it
    	explicitely instead of TYPE-initialized removed local variable
    	`objfile'.  Describe `objfile' it in the function comment.
    	(lookup_function_type): Update make_function_type callers.
    	* gdbtypes.h (make_function_type): Update the prototype.
    	* jv-lang.c (java_link_class_type): Update make_function_type callers.
    	* dwarf2read.c (read_subroutine_type): Likewise.
    	* stabsread.c (read_type): Likewise.

commit adc93c1a641f3c65e7bbe470982a396e2a588f86
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Fri May 1 09:11:24 2009 +0000

    	* gdb.texinfo (Process Record and Replay): Improve and clarify.
    	Add index entries.

commit 8c5e528fd1d6d05c651d2d15a6296a7cad60a57d
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Fri May 1 08:14:00 2009 +0000

    	* go32-nat.c (go32_pid_to_str): Call normal_pid_to_str instead of
    	printing a bogus "Thread <main>".
    	(go32_thread_alive): Don't return 1 for null_ptid.

commit 0c3b9f4a75e5ab7fe2f895d0c2c02bbc4530539f
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Fri May 1 08:09:16 2009 +0000

    	* i386-tdep.c (i386_go32_init_abi): Override the number of
    	registers due to non-support of SSE.

commit 6fe1b3b027b369dc56b987615b70b522156ad915
Author: Anthony Green <green@redhat.com>
Date:   Fri May 1 03:20:45 2009 +0000

    Link gdb with moxie sim

commit 4545682e721f1b3d4ce75e275e9a153d0425d662
Author: Anthony Green <green@redhat.com>
Date:   Fri May 1 03:03:40 2009 +0000

    Add moxie simulator

commit 9d43a2998fc4464086d0aa58fbce5c3b87979d48
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri May 1 00:00:05 2009 +0000

    daily update

commit 860206062ffe7f57c44082e5b32eaab67bfc3eed
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri May 1 00:00:03 2009 +0000

    *** empty log message ***

commit 19f5f780484f47e8379fcaa269f4760ed808cdfc
Author: Doug Evans <dje@google.com>
Date:   Thu Apr 30 22:21:06 2009 +0000

    	* inferiors.c (started_inferior_callback): New function.
    	(attached_inferior_callback): New function.
    	(have_started_inferiors_p, have_attached_inferiors_p): New functions.
    	* server.c (print_started_pid, print_attached_pid): New functions.
    	(detach_or_kill_for_exit): New function.
    	(main): Call it instead of for_each_inferior (kill_inferior_callback).
    	* server.h (have_started_inferiors_p): Declare.
    	(have_attached_inferiors_p): Declare.

commit a52c6b99eb1d48a0e6ffc6e56970aee55fb45551
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Thu Apr 30 21:59:01 2009 +0000

    2009-04-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
    
    	* elfread.c (elf_symtab_read): Don't assume .data and .rodata
    	are present.

commit b192f5319e20e3cd5e18a3d92402b412e4053af0
Author: DJ Delorie <dj@delorie.com>
Date:   Thu Apr 30 21:23:29 2009 +0000

    Index: opcodes
    
    * mep-asm.c: Regenerate.
    * mep-desc.c: Regenerate.
    * mep-desc.h: Regenerate.
    * mep-dis.c: Regenerate.
    * mep-ibld.c: Regenerate.
    * mep-opc.c: Regenerate.
    * mep-opc.h: Regenerate.
    
    Index: gas
    
    * config/tc-mep.c (md_begin): Check coprocessor type.
    (md_check_parallel64_scheduling): Use memset to initialize the buffer.
    (md_check_parallel32_scheduling): Likewise.
    (slot_ok): New.
    (mep_check_ivc2_scheduling): New.
    (mep_check_parallel_scheduling): Call it.
    (mep_process_saved_insns): Add IVC2 slot support.
    (md_assemble): Likewise.

commit b8c02aa7069a6062350af7ce5833231cb0fc7c79
Author: DJ Delorie <dj@delorie.com>
Date:   Thu Apr 30 18:49:37 2009 +0000

    * mep.h (EF_MEP_COP_*): New.
    (EF_MEP_ALL_FLAGS): Add them.

commit 91fcb22fb504acb8885e4a00f3f02488367b8ec7
Author: Doug Evans <dje@google.com>
Date:   Thu Apr 30 18:35:54 2009 +0000

    	* inferiors.c (remove_process): Fix memory leak, free process.
    	* linux-low.c (linux_remove_process): New function.
    	(linux_kill): Call it instead of remove_process.
    	(linux_detach, linux_wait_1): Ditto.

commit bfca83c43c764c0984c2dea97925ac31cd1a6d22
Author: Doug Evans <dje@google.com>
Date:   Thu Apr 30 18:25:51 2009 +0000

    	* gdb.threads/watchthreads2.exp: New testcase.
    	* gdb.threads/watchthreads2.c: New testcase.

commit f3ca463f7ee6b21b42af350263ef65f7f9bd8648
Author: Nick Clifton <nickc@redhat.com>
Date:   Thu Apr 30 15:47:04 2009 +0000

    include/elf
    2009-04-30  Nick Clifton  <nickc@redhat.com>
    
            * common.h (STT_GNU_IFUNC): Define.
    
    elfcpp
    2009-04-30  Nick Clifton  <nickc@redhat.com>
    
            * (enum STT): Add STT_GNU_IFUNC.
    
    gas
    2009-04-30  Nick Clifton  <nickc@redhat.com>
    
            * config/obj-elf.c (obj_elf_type): Add support for a
            gnu_indirect_function type.
            * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
            against indirect function symbols.
            * doc/as.texinfo (.type): Document the support for the
            gnu_indirect_function symbol type.
            * NEWS: Mention the new feature.
    
    gas/testsuite
    2009-04-30  Nick Clifton  <nickc@redhat.com>
    
            * gas/elf/elf.exp: Extend type test to include an ifunc symbol.
            Provide an alternative test for targets which do not support ifunc
            symbols.
            (type.s): Add entry for an ifunc symbol.
            (type.e): Add ifunc entry to expected symbol dump.
            (section2.e-armelf): Add  entry for ifunc symbol.
            (type-noifunc.s): New file.
            (type-noifunc.e): New file.
    
    bfd/
    2009-04-30  Nick Clifton  <nickc@redhat.com>
    
            * elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs
            section pointer.
            (struct elf_obj_data): Add has_ifunc_symbols boolean.
            * elf.c (swap_out_syms): Convert BSF_GNU_INDIRECT_FUNCTION flags
            into a STT_GNU_IFUNC symbol type.
            (_bfd_elf_is_function_type): Accept STT_GNU_IFUNC as a function
            type.
            (_bfd_elf_set_osabi): Set the osasbi field to ELFOSABI_LINUX if
            the binary contains ifunc symbols.
            * elfcode.h (elf_slurp_symbol_table): Translate the STT_GNU_IFUNC
            symbol type into a BSF_GNU_INDIRECT_FUNCTION flag.
            * elf32-i386.c (is_indirect_function): New function.
            (elf_i386_check_relocs): Create an ifunc output section.
            (allocate_dynrelocs): Create dynamic relocs in the ifunc output
            section if necessary.
            (elf_i386_relocate_section): Emit a reloc against an ifunc symbol
            if necessary.
            (elf_i386_add_symbol_hook): New function. Set the
            has_ifunc_symbols field of the elf_obj_data structure if an ifunc
            symbol is encountered.
            (elf_backend_post_process_headers): Define.
            (elf_backend_add_symbol_hook): Define.
            (elf_i386_post_process_headers): Rename to
            elf_i388_fbsd_post_process_headers.
            * elf64-x86_64.c (IS_X86_64_PCREL_TYPE): New macro.
            (is_indirect_function): New function.
            (elf64_x86_64_check_relocs): Create an ifunc output section.
            (allocate_dynrelocs): Create dynamic relocs in the ifunc output
            section if necessary.
            (elf64_x86_64_relocate_section): Emit a reloc against an ifunc
            symbol if necessary.
            (elf_i386_add_symbol_hook): Set the has_ifunc_symbols field of the
            elf_obj_data structure if an ifunc symbol is encountered.
            (elf_backend_post_process_headers): Define.
            * elflink.c (_bfd_elf_adjust_dynamic_symbol): Always create a PLT
            if we have ifunc symbols to handle.
            (get_ifunc_reloc_section_name): New function.  Computes the name
            for an ifunc section.
            (_bfd_elf_make_ifunc_reloc_section): New function.  Creates a
            section to hold ifunc relocs.
            * syms.c (BSF_GNU_INDIRECT_FUNCTION): Define.
            (bfd_print_symbol_vandf): Handle ifunc symbols.
            (bfd_decode_symclass): Likewise.
            * bfd-in2.h: Regenerate.
    
    binutils
    2009-04-30  Nick Clifton  <nickc@redhat.com>
    
            * readelf.c (dump_relocations): Display a relocation against an
            ifunc symbol as if it were a function invocation.
            (get_symbol_type): Handle STT_GNU_IFUNC.
    
    ld
    2009-04-30  Nick Clifton  <nickc@redhat.com>
    
            * NEWS: Mention support for IFUNC symbols.
    
    ld/testsuite
    2009-04-30  Nick Clifton  <nickc@redhat.com>
    
            * ld-ifunc: New directory.
            * ld-ifunc/ifunc.exp: New file: Run the IFUNC tests.
            * ld-ifunc/prog.c: New file.
            * ld-ifunc/lib.c: New file.

commit a347f4d82118b3e0ff81578b0fc464f283f8fde6
Author: Anthony Green <green@redhat.com>
Date:   Thu Apr 30 04:54:08 2009 +0000

    Add missing disassembler patch for moxie.

commit 5234f6c44ab12ae880671f3536ff43b642a8dd30
Author: Hui Zhu <teawater@gmail.com>
Date:   Thu Apr 30 03:24:48 2009 +0000

    * gdb.texinfo: Add documentation for process record and replay.

commit 13b14787a9d3be0bc8ac1aef98546032f82f12c7
Author: Hui Zhu <teawater@gmail.com>
Date:   Thu Apr 30 03:21:46 2009 +0000

    I386 Linux process record and replay support.
    
    * i386-linux-tdep.c (i386_linux_record_tdep): New variable.
    This struct has the argument for the function
    "record_linux_system_call".
    (i386_linux_intx80_sysenter_record): New function. Parse the
    system call instruction and call function
    "record_linux_system_call" to record execute log.
    (i386_linux_init_abi): Initialize "i386_linux_record_tdep".
    Set "i386_linux_intx80_sysenter_record" to
    "i386_intx80_record" and "i386_sysenter_record".

commit f9ca5994791d49258abe541d47724e905e5eb8b0
Author: Hui Zhu <teawater@gmail.com>
Date:   Thu Apr 30 03:12:17 2009 +0000

    I386 architecture process record and replay support.
    
    * i386-tdep.c (PREFIX_REPZ, PREFIX_REPNZ, PREFIX_LOCK,
    PREFIX_DATA, PREFIX_ADDR): New macros. Help decode the i386
    instruction set.
    (aflag, dflag, override, modrm, mod, reg, rm, ot,
    i386_record_pc): New variables. Ditto.
    (i386_record_modrm, i386_record_lea_modrm_addr,
    i386_record_lea_modrm): New functions. Ditto.
    (i386_process_record): New function. Parse the instruction in
    address "addr" and record the values of registers and memory
    that will be changed by this instruction.
    (i386_gdbarch_init): Set "i386_process_record" to GDBARCH
    "process_record" interface.
    * i386-tdep.h (gdbarch_tdep): New function pointers
    "i386_intx80_record" and "i386_sysenter_record" that point to
    the function that can record "intx80" and "sysenter" execute
    log.

commit 5439abade6dcbe08ff800812da6d2ce7304d0454
Author: Hui Zhu <teawater@gmail.com>
Date:   Thu Apr 30 03:09:59 2009 +0000

    * infrun.c (use_displaced_stepping): Return false if process
    record and replay target is used.
    (proceed): Call function "record_not_record_set" if pocess
    record and replay target is used.

commit 6b07c1182f2919e2b6222d5f6b97050890f7fca8
Author: Hui Zhu <teawater@gmail.com>
Date:   Thu Apr 30 03:04:26 2009 +0000

    Linux process record and replay support.
    
    * Makefile.in (ALLDEPFILES): Add linux-record.c.
    (ALL_TARGET_OBS): Add linux-record.o.
    * configure.tgt (x86_64-*-linux*): Add linux-record.o.
    (i[34567]86-*-linux*): Add linux-record.o.
    * linux-record.c, linux-record.h: New file.

commit f881f2c23be83a13883b6ffdf86547ec06d9efd3
Author: Hui Zhu <teawater@gmail.com>
Date:   Thu Apr 30 02:58:37 2009 +0000

    Process record and replay target.
    
    * Makefile.in (SFILES): Add record.c.
    (COMMON_OBS): Add record.o.
    * record.c, record.h: New file.

commit 5be9a62b043b2644b0199cf4c9654be932b95daa
Author: Hui Zhu <teawater@gmail.com>
Date:   Thu Apr 30 02:55:27 2009 +0000

    * target.h (strata): New stratum "record_stratum".

commit 9dc7e48b685da9abb9df2c266826616554d3bd50
Author: Hui Zhu <teawater@gmail.com>
Date:   Thu Apr 30 02:53:45 2009 +0000

    * gdbarch.sh (process_record): This interface point to the
    function that records the inferior execute log.

commit 28247708857ca8204e5e5875763b6bcd2de6a123
Author: Hui Zhu <teawater@gmail.com>
Date:   Thu Apr 30 02:52:15 2009 +0000

    GDBARCH interface for process record and replay.
    
    * gdbarch.sh (process_record): This interface point to the
    function that records the inferior execute log.

commit 2399dc200feeba3c1ac78ce2404f6b156b393c31
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Thu Apr 30 00:01:07 2009 +0000

    bfd:
    	* elf32-arm.c (elf32_arm_check_relocs): Give errors for absolute
    	MOVW and MOVT relocations in a shared library link.
    
    ld/testsuite:
    	* ld-arm/movw-shared-1.d, ld-arm/movw-shared-1.s,
    	ld-arm/movw-shared-2.d, ld-arm/movw-shared-2.s,
    	ld-arm/movw-shared-3.d, ld-arm/movw-shared-3.s,
    	ld-arm/movw-shared-4.d, ld-arm/movw-shared-4.s: New tests.
    	* ld-arm/arm-elf.exp: Run these new tests.

commit 4a012a7a733d31eb590730b836690cefd83c67dc
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Apr 30 00:00:33 2009 +0000

    *** empty log message ***

commit 2f325cb2013dd1928a4efe5afdd43c434a953334
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Apr 30 00:00:05 2009 +0000

    daily update

commit 129f645eb3e30180517bbbf4e66b373d3d32d840
Author: Doug Evans <dje@google.com>
Date:   Wed Apr 29 22:45:10 2009 +0000

    	* gdb.cp/mb-ctor.exp: Add multi-line source statement test.
    	* gdb.cp/mb-ctor.cc: Ditto.
    	* gdb.cp/mb-inline.exp: Add multi-line source statement test.
    	* gdb.cp/mb-inline.h (multi_line_foo): New function.
    	* gdb.cp/mb-inline1.cc: Call it.
    	* gdb.cp/mb-inline2.cc: Ditto.
    	* gdb.cp/mb-templates.exp: Add multi-line source statement test.
    	* gdb.cp/mb-templates.cc (multi_line_foo): New template.

commit 0c8442ac4709ba562f6cfe2ef4d8ab0477ade042
Author: Doug Evans <dje@google.com>
Date:   Wed Apr 29 22:25:16 2009 +0000

    	* i386-nat.c (child_post_startup_inferior): Delete, unused.

commit d0194c6e1be20c223824e1b1648b4ff0543b1335
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Wed Apr 29 19:31:55 2009 +0000

    	* breakpoint.c (print_exception_catchpoint): Access `b' directly
    	instead of `b->loc->owner'.
    	(print_mention_exception_catchpoint): Ditto.

commit 0e4455a61d04ca69aeac2d3f1a3526df3b4d1a01
Author: DJ Delorie <dj@delorie.com>
Date:   Wed Apr 29 16:15:54 2009 +0000

    merge from gcc

commit d520a69559551da909e4f544eb36e6e31895dfba
Author: Julian Brown <julian@codesourcery.com>
Date:   Wed Apr 29 11:52:41 2009 +0000

    	libiberty/
    	* pex-win32.c (pex_win32_pipe): Add _O_NOINHERIT.
    	(pex_win32_exec_child): Ensure each process has only one handle open
    	on pipe endpoints. Close standard input after creating child
    	for symmetry with standard output/standard error.

commit 3cd8330723a4ce2876c0d882e9ba42d274c41dce
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 29 07:51:32 2009 +0000

    gdb/
    	* macrocmd.c (info_macro_command): Print -Dname=value if LINE is zero.
    
    gdb/doc/
    	* gdb.texinfo (Macros): Note command-line for `info macro'.  Append
    	a new part on command-line defined macros.
    
    gdb/testsuite/
    	* gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
    	(info_macro): Remova `decimal' declaration.  New variable `nonzero'.
    	Replace all uses of `decimal' by `nonzero'.
    	(info macro FROM_COMMANDLINE): New test.

commit a2302de085680c27d7e61f01ac85ed4b8497016f
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Apr 29 00:00:08 2009 +0000

    daily update

commit 569ffd2c6783d7b3eaf1ebca34eacfaef55ba368
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Apr 29 00:00:03 2009 +0000

    *** empty log message ***

commit 5b754aed7e552fb5dc279a43778e645fff963c63
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Apr 28 01:03:21 2009 +0000

    gdb
    	* c-exp.y (yylex): Handle '[' and ']' like '(' and ')'.
    gdb/testsuite
    	* gdb.base/printcmds.exp (test_printf): Test comma operator in [].

commit 9733feda3307b74cbb8baa0754b984440aa2118d
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Apr 28 00:00:33 2009 +0000

    *** empty log message ***

commit 2a46ee8cc0cd02dc7657e9282c8a1efd39e882ad
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Apr 28 00:00:08 2009 +0000

    daily update

commit 1aa517c5b37b80240c6bdca85cd2d405c997eb2b
Author: Doug Evans <dje@google.com>
Date:   Mon Apr 27 15:38:42 2009 +0000

    	* gdb.threads/watchthreads.c (main): Initialize args before starting
    	the threads.  Plus formatting cleanup.
    	* gdb.threads/watchthreads.exp: Avoid errant failures due to
    	biased scheduling of one thread.

commit 24f586426fd840b1a61f8ee337d8a669d480c3f0
Author: Nick Clifton <nickc@redhat.com>
Date:   Mon Apr 27 14:27:32 2009 +0000

            * verilog.c: New file.
            * Makefile.am (BFD32_LIBS): Add verilog.c.
            (BFD32_LIBS_CFILES): Add verilog.c.
            (verilog.lo): New build rule.
            * Makefile.in: Rebuilt.
            * targets.c: Add verilog support.
            * bfd.c (tdata union): Add Verilog private data field.
            * bfd-in2.h: Regenerate.
    
            * bfdint.texi (BFD target vector miscellaneous): Mention verilog
            flavour.
    
            * NEWS: Mention verilog support added to bfd.

commit 25e7efebf854063b972aa1ef1db9536405c104eb
Author: H.J. Lu <hjl@lucon.org>
Date:   Mon Apr 27 13:59:40 2009 +0000

    bfd/
    
    2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't
    	copy pe_opthdr.
    
    binutils/
    
    2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* objcopy.c (copy_object): Copy pe_opthdr before changing PE
    	parameters.

commit 2c48202c2c56afdd52ecda1cd579e793aa33150a
Author: Jerome Guitton <guitton@adacore.com>
Date:   Mon Apr 27 12:14:08 2009 +0000

    	* gdb.cp/templates.cc (GetMax): New template.
    	(main): Declare two instances of GetMax.
    	* gdb.cp/templates.exp: Add new test.

commit aaea5a06cc659c0642131b604f1f0fc18cb7a3d3
Author: Jerome Guitton <guitton@adacore.com>
Date:   Mon Apr 27 11:57:46 2009 +0000

    	* symtab.c (append_exact_match_to_sals): New function, extracted
    	from expand_line_sal.
    	(expand_line_sal): Use append_exact_match_to_sals to append exact
    	matches. If none found, append all best items.

commit c9f10fca16d924d653e9b65a8b0637e678dac17e
Author: Tristan Gingold <gingold@adacore.com>
Date:   Mon Apr 27 10:50:53 2009 +0000

    2009-04-27  Tristan Gingold  <gingold@adacore.com>
    
    	* avr: New directory.
    	* avr/interp.c, avr/Makefile.in, avr/configure.ac: New files.
    	* avr/config.in: New file, generated by autoheader.
    	* avr/configure: New file generated by autoconf.
    	* configure.ac: Add avr.
    	* configure: Regenerated.

commit 15db65ca22ce31f560e6d11783a435509c41fe62
Author: Jerome Guitton <guitton@adacore.com>
Date:   Mon Apr 27 10:24:06 2009 +0000

    	* main.c (captured_main): Move gdbinit lookups after gdb_init.

commit ad41c1200c6e5364d622811f213e5dd5a574ede6
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Mon Apr 27 08:36:15 2009 +0000

    gdb/
    	PR gdb/9675:
    	* dwarf2read.c (unsigned_int_compar, inherit_abstract_dies): New.
    	(read_func_scope): Call inherit_abstract_dies.
    
    gdb/testsuite/
    	* gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.

commit fa34d2ad0bad663d44c1d0a3a32ba14e42736b25
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Apr 27 00:00:33 2009 +0000

    *** empty log message ***

commit fa4366e13c48c3ea223ba4c476cfd8e3565699e5
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Apr 27 00:00:04 2009 +0000

    daily update

commit 013b58244af4ab7472a15652a7e3ec3c2a0828bb
Author: DJ Delorie <dj@delorie.com>
Date:   Sun Apr 26 02:25:10 2009 +0000

    merge from gcc

commit 07f62cf76e062ce3e3dfd4da45d35697cc161a05
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Apr 26 00:00:33 2009 +0000

    *** empty log message ***

commit 2deebbe8581573e6fa0d2339005c535464914d68
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Apr 26 00:00:05 2009 +0000

    daily update

commit 74b763d37e4bd303a8a5c8c29c2fe59abd6b3fc8
Author: Eric Botcazou <ebotcazou@libertysurf.fr>
Date:   Sat Apr 25 12:24:57 2009 +0000

    	* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Add GNATBIND.
    	(POSTSTAGE1_FLAGS_TO_PASS): Pick up exported value for GNATBIND.
    	* Makefile.in: Regenerate.

commit f6bb2f018129f0763aeaa6c94a14b9c1f2cc4391
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Sat Apr 25 10:05:22 2009 +0000

    	* Makefile.in (ALLDEPFILES): Remove duplicate entries for
    	sparc-sol2-nat.c and sparc-sol2-tdep.c.

commit 8446fa354a01fc4c0ca9b51ab3193c96165a2bbb
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Sat Apr 25 09:56:32 2009 +0000

    	* gdb.texinfo (Machine Code) <disassemble-next-line>: Improve and
    	clarify the wording.

commit 658f8d2c297f062d4d01d7abac28b245b86e52bb
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Sat Apr 25 09:42:14 2009 +0000

    	* stack.c (_initialize_stack) <disassemble-next-line>: Doc fix.

commit 524302d135bd8e7bcb8aeab486c959a33aff9d00
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Apr 25 00:00:05 2009 +0000

    daily update

commit 7a809a38d23d646522a2d935bc153a769a82427e
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Apr 25 00:00:03 2009 +0000

    *** empty log message ***

commit 2cd3374d2a69e60b7631f0f418a73a388ee1413d
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Fri Apr 24 22:10:01 2009 +0000

    	ARI change: Use "/* ARI: rule */" pattern.
    	* utils.c: Update ARI patterns.
    	* gdb_dirent.h: Likewise.

commit d1bc75f8ad659c2f3452aa8e378542bc0d2dc664
Author: H.J. Lu <hjl@lucon.org>
Date:   Fri Apr 24 20:28:22 2009 +0000

    Remove bfd/.

commit 84b387776b43c6682aa1dd887138d535eb8a3a24
Author: Cary Coutant <ccoutant@google.com>
Date:   Fri Apr 24 18:28:58 2009 +0000

    include/elf/
    
    	 * dwarf2.h (DW_LNE_set_discriminator): New enum value.
    
    binutils/
    
    	* dwarf.c (process_extended_line_op): Add DW_LNE_set_discriminator.
    	Add missing newlines to HP extensions.

commit eb014281e8c8a39595fac74b03f384e3df3e23e0
Author: H.J. Lu <hjl@lucon.org>
Date:   Fri Apr 24 16:57:08 2009 +0000

    Update ChangeLog entries.

commit 5e8937d41720cc274067b00b221387f4ab03172d
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Fri Apr 24 14:28:17 2009 +0000

    *** empty log message ***

commit ecd1badb7ab07d07bdc6b6408e82ccb85e2db72b
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Fri Apr 24 14:27:20 2009 +0000

    	* config.guess (pc:*:*:*): Return i586-pc-msdosdjgpp, for
    	consistency with config.sub.  (Update from upstream sources.)

commit 5931ed57c70146f060f5be66432fb0bf5d698388
Author: Anthony Green <green@redhat.com>
Date:   Fri Apr 24 02:25:57 2009 +0000

    Add moxie-elf port.

commit 1f44a0325839c962f5d6218137eedc4bf8ffcc82
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Apr 24 00:00:09 2009 +0000

    daily update

commit 631207fc2dfdca71a7486d60801a51260da76b3d
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Apr 24 00:00:04 2009 +0000

    *** empty log message ***

commit f525e6781232de2f2294e3b7cdad7a651d07dd46
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Apr 23 22:53:54 2009 +0000

    Spell my name properly in the last entry :-).

commit 658a35c074b50ec244b87e2a432191633acb2450
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Apr 23 22:52:51 2009 +0000

            * ada-lang.c: Remove an extra empty line. No code change.

commit 6cf9e6eeb7a6cd311abfe9d76197b8a66e70c7b5
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Thu Apr 23 22:38:22 2009 +0000

    gdb/
    	Fix double free on error inserting the breakpoint instruction.
    	* breakpoint.c (create_breakpoints): Move the
    	update_global_location_list call to ...
    	(break_command_really): ... here together with the second local call
    	both unified after all the cleanups.

commit 7cf3956abffb5b35508e4d2dcda4a170819458cf
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Apr 23 21:28:16 2009 +0000

    gdb
    2009-04-23  Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
    	    Tom Tromey  <tromey@redhat.com>
    
    	* configure, config.in: Regenerate.
    	* configure.ac: Support for relocatable GDB datadir.  Use
    	GDB_AC_WITH_DIR.  Always define TARGET_SYSTEM_ROOT_RELOCATABLE.
    	* acinclude.m4 (GDB_AC_WITH_DIR): New defun.
    	* top.c (init_main): Add "set data-directory".
    	* defs.h (gdb_datadir): Declare.
    	* main.c (gdb_datadir): New global.
    	(captured_main): Initialize gdb_datadir.  Use relocate_directory.
    	(relocate_path): New function.
    	(relocate_directory): Likewise.
    	(get_init_files): Use relocate_path.
    	(README): Mention --with-gdb-datadir.
    gdb/doc
    2009-04-23  Tom Tromey  <tromey@redhat.com>
    
    	* gdb.texinfo (Data Files): New node.
    	(GDB Files): Update menu.

commit 74d014327a14fc6f8e891e1544514341e347f9cb
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Apr 23 18:55:20 2009 +0000

            * ada-tasks (task_command_1): Call target_find_new_threads.

commit 4aaf308b0d6d5abbe09d8c63875851772982b9ee
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Apr 23 18:49:20 2009 +0000

            * stack.c (do_gdb_disassembly): Print the exception message if an
            error was thrown while trying to perform the disassembly.

commit 45ad5976ea8f60404d222912a16afce2f83f12f5
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Apr 23 18:46:14 2009 +0000

            * gdbint.texinfo (Defining Other Architecture Features): Remove
            enty for PROCESS_LINENUMBER_HOOK.

commit b8a70b755bd2b8383ba0e4f2f8e36dae90b8de8a
Author: Dave Korn <dave.korn@artimi.com>
Date:   Thu Apr 23 13:36:42 2009 +0000

    2009-04-23  Matthias Klose  <doko@ubuntu.com>
    
    	* bfd/peXXigen.c (_bfd_XXi_swap_sym_in): Initialize `name'.

commit 03f92190d0ed77f1363337a013f218e19c2ca5f6
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Apr 23 00:00:33 2009 +0000

    *** empty log message ***

commit bfec9d16d0fb4167df909bfdfb91623cfcc7b194
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Apr 23 00:00:10 2009 +0000

    daily update

commit 17c2b4e526b5c17d4c93e289db9de1817b63a72e
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Wed Apr 22 19:46:19 2009 +0000

    	* lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.

commit 7d75d19418e5a4a67fc4d11d3b4fcad32d9368c8
Author: DJ Delorie <dj@delorie.com>
Date:   Wed Apr 22 19:09:13 2009 +0000

    merge from gcc

commit 9727f0b23c153de60528c433b1362f1f5d1d748a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Wed Apr 22 17:50:54 2009 +0000

    gdb/
    	* varobj.c (free_variable): Replace free_current_contents by xfree.

commit d344514af6d15a4bd219e58fa62548cb80313a05
Author: Vladimir Prus <vladimir@codesourcery.com>
Date:   Wed Apr 22 17:24:58 2009 +0000

    	* gdb.texinfo (GDB/MI Program Execution): Document -exec-jump.

commit bb11f7d0844479e47ca55a30333d463ee909766e
Author: Kazu Hirata <kazu@codesourcery.com>
Date:   Wed Apr 22 15:14:53 2009 +0000

    	* arm-linux-nat.c (fetch_register, store_register): Use
    	ARM_CPSR_GREGNUM instead of ARM_CPSR_REGNUM.
    	* arm-linux-tdep.c (arm_linux_supply_gregset,
    	arm_linux_collect_gregset): Likewise.
    	* arm-linux-tdep.h (ARM_CPSR_GREGNUM): New.
    	* arm-tdep.h (ARM_CPSR_REGNUM): Remove.

commit 896aa22440ea77f478bd68da376d5873a97647ee
Author: clyon <clyon>
Date:   Wed Apr 22 14:01:30 2009 +0000

    2009-04-22  Christophe Lyon  <christophe.lyon@st.com>
    
    	PR9743
    	bfd/
    	* elf32-arm.c (arm_type_of_stub): Handle R_ARM_THM_JUMP24,
    	R_ARM_JUMP24 and R_ARM_PLT32 relocations.
    	(elf32_arm_size_stubs): Likewise.
    	(record_thumb_to_arm_glue): Deleted unused function.
    	(bfd_elf32_arm_process_before_allocation): No longer handle
    	R_ARM_THM_JUMP24, R_ARM_JUMP24 and R_ARM_PLT32 relocations here.
    	(elf32_arm_final_link_relocate): Handle R_ARM_THM_JUMP24,
    	R_ARM_JUMP24 and R_ARM_PLT32 relocations.
    
    	testsuite/
    	* ld-arm/arm-call.d: Update expected result.
    	* ld-arm/arm-pic-veneer.d: Likewise.
    	* ld-arm/thumb2-b-interwork.d: Likewise.

commit 6662d7d4c43db0555f07713e98167b8e318241de
Author: Hui Zhu <teawater@gmail.com>
Date:   Wed Apr 22 06:09:18 2009 +0000

    	* gdb.texinfo (disassemble-next-line): Set the default of
    	disassemble-next-line to off.

commit 439926195159e43c69d7fbf024d85bbcf82ed6b8
Author: Hui Zhu <teawater@gmail.com>
Date:   Wed Apr 22 06:06:11 2009 +0000

    	* stack.c (_initialize_stack): Set the default of
    	disassemble-next-line to off.

commit ecd38f826310ce4f778f30c85ccfb80a8c830020
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Apr 22 00:17:49 2009 +0000

    	* acinclude.m4: Use AS_HELP_STRING, not AC_HELP_STRING.
    	* configure.ac: Use AS_HELP_STRING, not AC_HELP_STRING.

commit e9974e9d4117056143b470c3ef06b397be5326cf
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Apr 22 00:00:04 2009 +0000

    daily update

commit 3675b7bdcb1da902dea25982ec0021fd6adcf2b7
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Apr 22 00:00:03 2009 +0000

    *** empty log message ***

commit 9b3ef1c3b39b0bdb56b787fafc2a2166315ddd51
Author: Daniel Jacobowitz <dan@debian.org>
Date:   Tue Apr 21 22:05:02 2009 +0000

    	bfd/
    	* elf32-arm.c (INTERWORK_FLAG): Check BFD_LINKER_CREATED.
    	(elf32_arm_write_section): Declare early.
    	(elf32_arm_size_stubs): Skip non-stub sections in the stub BFD.
    	(arm_allocate_glue_section_space): Exclude empty sections.
    	(ARM_GLUE_SECTION_FLAGS): Add SEC_LINKER_CREATED.
    	(bfd_elf32_arm_add_glue_sections_to_bfd): Do not skip the stub
    	BFD.
    	(elf32_arm_output_glue_section, elf32_arm_final_link): New.
    	(elf32_arm_merge_eabi_attributes): Skip the stub BFD.
    	(elf32_arm_size_dynamic_sections): Allocate interworking
    	sections here.
    	(bfd_elf32_bfd_final_link): Define.
    
    	ld/
    	* emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
    	(arm_elf_set_bfd_for_interworking): Delete.
    	(arm_elf_before_allocation): Do not set the interworking BFD.
    	Move allocation inside not-dynamic block.
    	(arm_elf_create_output_section_statements): Create glue sections
    	and set the interworking BFD here.
    	(LDEMUL_AFTER_OPEN): Delete.
    
    	ld/testsuite/
    	* ld-arm/farcall-mix.d, ld-arm/farcall-mix2.d,
    	ld-arm/farcall-group-size2.d, ld-arm/farcall-group.d,
    	ld-arm/farcall-mixed-lib.d: Update for linker changes.

commit e227be8456719926e0a94f8aac03670a0eefd0a5
Author: Andreas Schwab <schwab@suse.de>
Date:   Tue Apr 21 21:01:04 2009 +0000

    * configure.ac: Add quotes to not lose brackets in help text.
    * configure: Rebuild.

commit 3981af04d0feb2737273b8b2428521df3bacb3a0
Author: Andreas Schwab <schwab@suse.de>
Date:   Tue Apr 21 20:54:33 2009 +0000

    Fix date.

commit e91002b592406002edf406cbb27dd4adeb15cfe6
Author: Andreas Schwab <schwab@suse.de>
Date:   Tue Apr 21 20:19:13 2009 +0000

    	* configure.ac: Don't postprocess Makefile in config.status.
    	Substitute GDB_NM_FILE.  Don't substitute nm_h.
    	* Makefile.in (GDB_NM_FILE): Substitute.
    	(TAGS): Use $(GDB_NM_FILE) instead of $(NAT_FILE).
    	* configure: Regenerate.
    	* gnulib/Makefile.in: Regenerate.

commit 1d44bf432360bfb2e9d448ea7abf3d7791409929
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Tue Apr 21 20:13:07 2009 +0000

    gdb:
    	* configure.ac (--with-datarootdir, --with-docdir, --with-pdfdir,
    	--with-htmldir): New.
    	* configure: Regenerate.
    
    gdb/doc:
    	* configure.ac (--with-datarootdir, --with-docdir, --with-pdfdir,
    	--with-htmldir): New.
    	* configure: Regenerate.
    	* Makefile.in (datarootdir, docdir): Define.
    	(gdb.dvi, gdb.pdf): Use same -I options as for building gdb.info
    	instead of $(SET_TEXINPUTS).
    	(gdbint.dvi, gdbint.pdf): Use same -I options as for building
    	gdbint.info instead of $(SET_TEXINPUTS).
    	(gdbint/index.html): Use same -I options as for building
    	gdbint.info.
    	(stabs.dvi, stabs.pdf): Use same -I options as for building
    	stabs.info instead of $(SET_TEXINPUTS).
    	(stabs/index.html): Use same -I options as for building
    	stabs.info.
    	(annotate.dvi, annotate.pdf): Use same -I options as for building
    	annotate.info instead of $(SET_TEXINPUTS).
    	(annotate/index.html): Use same -I options as for building
    	annotate.info.

commit 24cbb2f59601365042b0ce079c888dff068b94dc
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Apr 21 18:09:08 2009 +0000

    	* configure: Rebuild.
    	* configure.ac: Use lower case for start of help strings.  Clean
    	up --with-sysroot help.

commit 63ea04ca40a29ab5729a21b444bc781e1eafbdd2
Author: H.J. Lu <hjl@lucon.org>
Date:   Tue Apr 21 17:08:19 2009 +0000

    2009-04-21  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* coff-ia64.c (COFF_PAGE_SIZE): Changed to 8K.
    
    	* coffcode.h (coff_compute_section_file_positions): Clear
    	D_PAGED if PE section alignment is smaller than COFF_PAGE_SIZE.
    
    	* libcoff-in.h (pe_tdata): Remove force_minimum_alignment and
    	force_minimum_alignment.
    
    	* libcoff.h: Regenerated.
    
    	* pei-ia64.c (PEI_TARGET_SUBSYSTEM): Removed.
    	(PEI_FORCE_MINIMUM_ALIGNMENT): Likewise.
    
    	* peicode.h (pe_mkobject): Don't set force_minimum_alignment
    	nor target_subsystem.
    
    	* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't check
    	force_minimum_alignment nor target_subsystem.

commit c93fab1bfecb057fe9e5d5f0b6e27ca62045ef85
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Apr 21 17:00:10 2009 +0000

    	* configure: Rebuild.
    	* acinclude.m4 (AM_ICONV): Use AC_HELP_STRING.
    	* configure.ac: Use AC_HELP_STRING.  Use upper case for variables
    	in help.

commit 29190ab7f240e76af935e7b4d29f35c10cfccc14
Author: David Daney <ddaney@avtrex.com>
Date:   Tue Apr 21 16:31:06 2009 +0000

    2009-04-21  David Daney  <ddaney@caviumnetworks.com>
    
    	* gdb.texinfo (maint show-debug-regs): Remove mention of x86.

commit 9e5d623dd4395ba793221e264927731d0f579e85
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Tue Apr 21 12:36:46 2009 +0000

    	* texinfo/texinfo.tex: Update to version 2009-03-28.05.

commit 4e2cf0c1b8dc9d4baba731b96b48a0978e14413d
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Tue Apr 21 11:38:38 2009 +0000

    	ARI fix: remove "%p".
    	* ia64-tdep.c (ia64_frame_this_id): Use host_address_to_string function.
    	(ia64_sigtramp_frame_this_id): Ditto.
    	(ia64_libunwind_frame_this_id): Ditto.
    	(ia64_libunwind_sigtramp_frame_this_id): Ditto.
    	* symmisc.c (maintenance_info_psymtabs): Ditto.

commit 345c85ba5e4ef630e73b27a17cac2ec295b909c2
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Tue Apr 21 10:13:03 2009 +0000

    gdb:
    	* configure.ac (--with-relocated-sources): New.
    	* configure, config.in: Regenerate.
    	* source.c (add_substitute_path_rule): Remove static.
    	* source.h (add_substitute_path_rule): Declare.
    	* main.c: Include "source.h".
    	(captured_main): Add substitution rule if RELOC_SRCDIR.
    
    gdb/doc:
    	* gdb.texinfo (Source Path): Document --with-relocated-sources.

commit 0350c1e96b17869365e8adda6372578f6b0e2d19
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Tue Apr 21 07:35:42 2009 +0000

    	* gnu-nat.h (proc_debug): Add missing continuation line in macro.

commit 65bb31f430dd2e285583c69d2d0878af6ce84e72
Author: Dave Korn <dave.korn@artimi.com>
Date:   Tue Apr 21 02:13:46 2009 +0000

    bfd/ChangeLog
    
    2009-04-21  Kai Tietz  <kai.tietz@onevision.com>
    
    	* coff-x86_64.c (PEI_HEADERS): Protect includes.
    	(bfd_pe_print_pdata): Remove #ifdef PE variation.
    	* pei-x86_64.c (PEI_HEADERS): Define to prevent double
    	include in coff-x86_64.c of headers.
    	(PDATA_ROW_SIZE): New define.
    	(pex_regs[]): New static array.
    	(pex64_get_runtime_function): New static function.
    	(pex64_get_unwind_info): Likewise.
    	(pex64_get_scope_entry): Likewise.
    	(pex64_xdata_print_uwd_codes): Likewise.
    	(pep_get_section_by_rva): Likewise.
    	(pex64_dump_xdata): Likewise.
    	(pex64_bfd_print_pdata): Likewise.
    	(bfd_pe_print_pdata): Define as pex64_bfd_print_pdata.
    	* peXXigen.c (_bfd_pex64_print_pdata): Removed implementation.
    	* libpei.h (_bfd_pex64_print_pdata): Removed declaration.
    
    include/ChangeLog
    
    2009-04-21  Kai Tietz  <kai.tietz@onevision.com>
    
    	* coff/pe.h (pex64_runtime_function): New structure.
    	(external_pex64_runtime_function): Likewise.
    	(pex64_unwind_code): Likewise.
    	(external_pex64_unwind_code): Likewise.
    	(pex64_unwind_info): Likewise.
    	(external_pex64_unwind_info): Likewise.
    	(external_pex64_scope): Likewise.
    	(pex64_scope): Likewise.
    	(pex64_scope_entry):  Likewise.
    	(external_pex64_scope_entry): Likewise.
    	(PEX64_IS_RUNTIME_FUNCTION_CHAINED): New macro.
    	(PEX64_GET_UNWINDDATA_UNIFIED_RVA): Likewise.
    	(PEX64_UNWCODE_CODE): Likewise.
    	(PEX64_UNWCODE_INFO): Likewise.
    	(UWOP_...): Add defines for unwind code.
    	(UNW_FLAG_...): Add defined for unwind info flags.
    	(PEX64_SCOPE_ENTRY_SIZE): New macro.
    	(PEX64_UWI_VERSION): Likewise.
    	(PEX64_UWI_FLAGS): Likewise.
    	(PEX64_UWI_FRAMEREG): Likewise.
    	(PEX64_UWI_FRAMEOFF): Likewise.
    	(PEX64_UWI_SIZEOF_UWCODE_ARRAY): Likewise.
    	(PEX64_OFFSET_TO_UNWIND_CODE): Likewise.
    	(PEX64_OFFSET_TO_HANDLER_RVA): Likewise.
    	(PEX64_OFFSET_TO_SCOPE_COUNT): Likewise.
    	(PEX64_SCOPE_ENTRY): Likewise.

commit 5899ddcdfa60286b434f4a94730b1d9d459f81a7
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Apr 21 00:00:33 2009 +0000

    *** empty log message ***

commit 5de3d8309707663e152a6f404572eb82c615255d
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Apr 21 00:00:04 2009 +0000

    daily update

commit efad8a14fcd62f9ab9183e3f202c9a90c83b2546
Author: David Daney <ddaney@avtrex.com>
Date:   Mon Apr 20 21:11:05 2009 +0000

    2009-04-20  David Daney  <ddaney@caviumnetworks.com>
    
    	* NEWS: Mention MIPS/Linux hardware watchpoint support.
    
    2009-04-20  David Daney  <ddaney@caviumnetworks.com>
    
    	* mips-linux-nat.c (command.h, gdbcmd.h, gdb_assert.h): New #includes.
    	(maint_show_dr, super_close): New variables.
    	(super_fetch_registers, super_store_registers): Make static.
    	(PTRACE_GET_WATCH_REGS, PTRACE_SET_WATCH_REGS, W_BIT, R_BIT, I_BIT)
    	(W_MASK, R_MASK, I_MASK, IRW_MASK, MAX_DEBUG_REGISTER): Define.
    	(pt_watch_style): Define new enum.
    	(mips32_watch_regs, mips64_watch_regs, pt_watch_regs, mips_watchpoint):
    	Define new structs.
    	(watch_readback_valid, watch_readback, current_watches,	watch_mirror):
    	New variables.
    	(get_irw_mask, get_reg_mask, get_num_valid, get_watchlo)
    	(set_watchlo, get_watchhi, set_watchhi, mips_show_dr)
    	(mips_linux_read_watch_registers, mips_linux_can_use_hw_breakpoint)
    	(mips_linux_stopped_by_watchpoint, mips_linux_stopped_data_address)
    	(type_to_irw, fill_mask, try_one_watch)
    	(mips_linux_region_ok_for_hw_watchpoint, write_watchpoint_regs)
    	(mips_linux_new_thread, populate_regs_from_watches)
    	(mips_linux_insert_watchpoint, mips_linux_remove_watchpoint)
    	(mips_linux_close): New functions.
    	(_initialize_mips_linux_nat): Register watchpoint functions with
    	the target_ops.  Add show-debug-regs maintenance command.
    
    2009-04-20  David Daney  <ddaney@caviumnetworks.com>
    
    	* infrun.c (handle_inferior_event): Move gegisters_changed call down.

commit 61cefd3a87f01c7618e60640cedbbeb254586d66
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Apr 20 01:09:42 2009 +0000

    2009-04-19  Peter O'Gorman  <binutils@mlists.thewrittenword.com>
                Alan Modra  <amodra@bigpond.net.au>
                Dave Korn  <dave.korn.cygwin@gmail.com>
    
    	* peXXigen.c (_bfd_XXi_swap_sym_in): Fix name handling w.r.t
    	long names and non-NUL-terminated strings.

commit fbad6ffb9c66b7a9900d0642ee9e8543fbd7288a
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Apr 20 00:00:04 2009 +0000

    daily update

commit c8a72d1af8dc3bfffdde4f480ab0a0d51b4a1319
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Apr 20 00:00:03 2009 +0000

    *** empty log message ***

commit 404bf5b72f6ed6859dccce5a93fbafe8896ff9f1
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Sun Apr 19 20:05:23 2009 +0000

    	* NEWS: Mention gdbserver support for x86 Windows CE.

commit d1412ad971a451378f218e3f19d3526f21057235
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Sun Apr 19 19:38:42 2009 +0000

    	* config/djgpp/fnchange.lst: Fix typos.

commit 7cf431690113efd48c887d9fda54f98091093794
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Sun Apr 19 18:29:33 2009 +0000

    	Set default host and target charsets in the DJGPP port.
    
    	* config/djgpp/config.sed (am_cv_langinfo_codeset)
    	(bash_cv_langinfo_codeset, ac_cv_header_nl_types_h): Set to "yes"
    	in all configure scripts that define ac_cv_env_CPP_value.
    	* go32-nat.c (dos_codepage, nl_langinfo): New functions.
    	Include langinfo.h.
    	* config/djgpp/nl_types.h: New file.
    	* config/djgpp/langinfo.h: New file.
    	* config/i386/go32.mh (MH_CFLAGS): Add $(srcdir)/config/djgpp.

commit 2931783d51fa2b396f506ddf570a6683ac71ddc5
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Sun Apr 19 17:54:52 2009 +0000

    2009-04-19  Danny Backx  <dannybackx@users.sourceforge.net>
    
    	* configure.srv: Add x86 Windows CE target.

commit 5d73d87974fb92a61c2c5c138cd36610fde2bcf4
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Apr 19 00:00:05 2009 +0000

    daily update

commit edf9d226d9191de69e7fb129d88bbebb1a889723
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Apr 19 00:00:03 2009 +0000

    *** empty log message ***

commit 7a1b5fb8f2285a1b1e5bd7d5f5914e02dec6a34e
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Sat Apr 18 17:11:01 2009 +0000

    gdb:
    2009-04-18  Carlos O'Donell  <carlos@codesourcery.com>
    
    	* Makefile.in (MAKEHTML): Set to makeinfo --html.
    	(MAKEHTMLFLAGS): Set to empty.
    
    gdb/doc:
    2009-04-18  Carlos O'Donell  <carlos@codesourcery.com>
                Joseph Myers  <joseph@codesourcery.com>
    
    	* Makefile.in (MAKEHTML): Set to makeinfo --html.
    	(MAKEHTMLFLAGS): Set to empty.
    	(html__strip_dir): Define.
    	(HTMLFILES): Define.
    	(HTMLFILES_INSTALL): Define.
    	(install-html): Copy new automake rule.
    	(html): Depend on $(HTMLFILES).
    	(gdb_toc.html): Rename to gdb/index.html.
    	(gdbint_toc.html): Rename to gdbint/index.html.
    	(stabs_toc.html): Rename to stabs/index.html.
    	(annotate_toc.html): Rename to annotate/index.html.

commit 530126cd584c14e55ca2cb5bbc30023b58d3b66e
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Sat Apr 18 14:54:00 2009 +0000

    	* NEWS: Mention all new set/show commands added since GDB 6.8 was
    	released.

commit bf211d38d3cbf933d8e17df313f6d89bd3e0f79f
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Sat Apr 18 08:16:34 2009 +0000

    	* go32-nat.c (go32_sysinfo): Check if the call to
    	__dpmi_get_capabilities fills the buffer with information, and
    	don't use the buffer if not.

commit 6a7ae005013413bf0057587b749ef0597f912369
Author: DJ Delorie <dj@delorie.com>
Date:   Sat Apr 18 02:56:43 2009 +0000

    [cgen]
    	* cpu/mep-c5.cpu (f-12s20): Change to signed.
    	(lhucpm1): Limit to C5 mach.
    	(dsp0,dsp1): Rewrite as aliases so that intrinsics are generated.
    	* cpu/mep-core.cpu (extend-cdisp10): New.
    	(f-cdisp10): Change to signed, use extend-cdisp10 to sign extend.
    
    [opcodes]
    	* mep-desc.c: Regenerate.
    	* mep-ibld.c: Regenerate.
    	* mep-opc.c: Regenerate.
    	* mep-opc.h: Regenerate.
    
    [sid/component/cgen-cpu/mep]
    	* mep-core1-decode.cxx: Regenerate.
    	* mep-core1-decode.h: Regenerate.
    	* mep-decode.cxx: Regenerate.
    	* mep-decode.h: Regenerate.

commit 5fa62989fa79223eefd13e53772752040491c93e
Author: DJ Delorie <dj@delorie.com>
Date:   Sat Apr 18 01:50:02 2009 +0000

    Add missing ChangeLog entry:
    * mep-asm.c: Regenerate.
    * mep-desc.c: Regenerate.
    * mep-desc.h: Regenerate.
    * mep-dis.c: Regenerate.
    * mep-ibld.c: Regenerate.
    * mep-opc.c: Regenerate.
    * mep-opc.h: Regenerate.

commit 00e86ec9a2ab3e4c5566079e6de9a2d8701ebd64
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Apr 18 00:00:05 2009 +0000

    daily update

commit 92f8d12cc973aba0167aa39e63aed8c1151bbbd2
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Apr 18 00:00:03 2009 +0000

    *** empty log message ***

commit 7b541b57dc1e37a3811adacb9adfed38d4dc204e
Author: Tom Tromey <tromey@redhat.com>
Date:   Fri Apr 17 23:50:10 2009 +0000

    	* charset.c (_initialize_charset): Add special case for "646".

commit 62205948f9b584ac7ed6cb83bca111ee2b1b6e84
Author: H.J. Lu <hjl@lucon.org>
Date:   Fri Apr 17 22:50:17 2009 +0000

    2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* bfd-in2.h: Regenerated.

commit 759792b7eeaf3a8758f1a8822c16f00c3f71a544
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Fri Apr 17 17:44:02 2009 +0000

    gdb:
    2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>
    
    	* configure.ac: AC_SUBST datarootdir, docdir, htmldir, pdfdir.
    	* configure: Regenerate.
    	* Makefile.in: Set datarootdir, docdir, htmldir, and pdfdir from
    	configure substitutions.
    	(FLAGS_TO_PASS): Add datarootdir, docdir, and htmldir.
    
    gdb/doc:
    2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>
    
    	* Makefile.in: Set pdfdir and htmldir from configure
    	substitutions.
    	* configure.ac: AC_SUBST datarootdir, docdir, htmldir, pdfdir.
    	* configure: Regenerate.
    
    readline:
    2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>
    
    	* Makefile.in: Add html target.  Add dummy install-html and
    	install-pdf targets.
    
    sim:
    2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>
    
    	* Makefile.in: Add dummy install-pdf, html, and
    	install-html targets.

commit af5a591f5dd272bcd75b555cd8373f9bf730737a
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Fri Apr 17 15:44:28 2009 +0000

    	ARI fix: Do not use %p, replace by call to host_address_to_string
    	for host pointers.
    	* darwin-nat.c (darwin_xfer_partial): Apply change.
    	* gnu-nat.c (inf_continue, gnu_xfer_memory): Ditto.
    	* gnu-nat.h (proc_debug): Ditto.
    	* symmisc.c (maintenance_info_symtabs): Ditto.
    	(maintenance_info_psymtabs): Ditto.
    	* windows-nat.c (handle_load_dll): Ditto.
    	(handle_unload_dll, info_w32_command, handle_exception): Ditto.
    	* xtensa-tdep.c (xtensa_unwind_pc): Ditto.

commit 98ef0e955167c52901cf79f46a7290ed7076a929
Author: H.J. Lu <hjl@lucon.org>
Date:   Fri Apr 17 15:03:47 2009 +0000

    bfd/
    
    2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* peXXigen.c (_bfd_XX_print_private_bfd_data_common): Replace
    	IMAGE_SUBSYSTEM_EFI_ROM with IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER.
    
    binutils/
    
    2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
    	* doc/binutils.texi: Likewise.
    
    include/coff/
    
    2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* pe.h (IMAGE_SUBSYSTEM_EFI_ROM): Renamed to ...
    	(IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER): This.

commit 7153275d0e7343839a7fe7cac957a6eff7f76d5c
Author: Joseph Myers <jsm@polyomino.org.uk>
Date:   Fri Apr 17 14:22:23 2009 +0000

    	* configure.tgt (i[34567]86-*-linux*): Use 64-bit configuration if
    	--enable-64-bit-bfd.
    	(sparc-*-linux*): Likewise.

commit 3bea577f45b61b8b4947ac2417005fc1f551f8ef
Author: H.J. Lu <hjl@lucon.org>
Date:   Fri Apr 17 13:46:07 2009 +0000

    bfd/
    
    2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR binutils/10074
    	* coffcode.h (bfd_pei_p): New.
    
    	* config.bfd: Remove bfd_efi_bsdrv_ia32_vec,
    	bfd_efi_rtdrv_ia32_vec, bfd_efi_bsdrv_x86_64_vec,
    	bfd_efi_rtdrv_x86_64_vec, bfd_efi_bsdrv_ia64_vec and
    	bfd_efi_rtdrv_ia64_vec.  Replace bfd_efi_app_ia32_vec,
    	bfd_efi_app_x86_64_vec and bfd_efi_app_ia64_vec with
    	i386pei_vec, x86_64pei_vec and bfd_pei_ia64_vec, respectively.
    
    	* configure.in: Remove bfd_efi_bsdrv_ia32_vec,
    	bfd_efi_rtdrv_ia32_vec, bfd_efi_bsdrv_x86_64_vec,
    	bfd_efi_rtdrv_x86_64_vec,
    	bfd_efi_bsdrv_ia64_vec and bfd_efi_rtdrv_ia64_vec.  Replace
    	bfd_efi_ia64_vec with bfd_pei_ia64_vec.
    	* targets.c: Likewise.
    
    	* configure: Regenerated.
    	* libcoff.h: Likewise.
    	* Makefile.in: Likewise.
    
    	* efi-app-ia32.c: Removed.
    	* efi-app-x86_64.c: Likewise.
    	* efi-bsdrv-ia32.c: Likewise.
    	* efi-bsdrv-ia64.c: Likewise.
    	* efi-bsdrv-x86_64.c: Likewise.
    	* efi-rtdrv-ia32.c: Likewise.
    	* efi-rtdrv-ia64.c: Likewise.
    	* efi-rtdrv-x86_64.c: Likewise.
    	* efi-rtdrv-ia32.c: Likewise.
    
    	* efi-app-ia64.c: Moved to ...
    	* pei-ia64.c: This.
    	(TARGET_SYM): Set to bfd_pei_ia64_vec.
    	(TARGET_NAME): Set to pei-ia64.
    
    	* libpei.h (bfd_target_pei_p): Removed.
    	(bfd_target_pei_arch): Likewise.
    	(bfd_target_efi_app_p): Likewise.
    	(bfd_target_efi_app_arch): Likewise.
    	(bfd_target_efi_bsdrv_p): Likewise.
    	(bfd_target_efi_bsdrv_arch): Likewise.
    	(bfd_target_efi_rtdrv_p): Likewise.
    	(bfd_target_efi_rtdrv_arch): Likewise.
    	(bfd_pe_executable_p): Likewise.
    
    	* Makefile.am (BFD32_BACKENDS): Remove efi-app-ia32.lo,
    	efi-bsdrv-ia32.lo and efi-rtdrv-ia32.lo.
    	(BFD32_BACKENDS_CFILES): Remove efi-app-ia32.c, efi-bsdrv-ia32.c
    	and efi-rtdrv-ia32.c.
    	(BFD64_BACKENDS): Remove efi-app-ia64.lo, efi-bsdrv-ia64.lo,
    	efi-rtdrv-ia64.lo, efi-app-x86_64.lo, efi-bsdrv-x86_64.lo and
    	efi-rtdrv-x86_64.lo. Add pei-ia64.lo.
    	(BFD64_BACKENDS_CFILES): Remove efi-app-ia64.c, efi-bsdrv-ia64.c,
    	efi-rtdrv-ia64.c, efi-app-x86_64.c, efi-bsdrv-x86_64.c and
    	efi-rtdrv-x86_64.c. Add pei-ia64.c.
    	(efi-app-ia64.lo): Removed.
    	(efi-bsdrv-ia32.lo): Likewise.
    	(efi-rtdrv-ia32.lo): Likewise.
    	(efi-app-ia64.lo): Likewise.
    	(efi-bsdrv-ia64.lo): Likewise.
    	(efi-rtdrv-ia64.lo): Likewise.
    	(efi-app-x86_64.lo): Likewise.
    	(efi-bsdrv-x86_64.lo): Likewise.
    	(efi-rtdrv-x86_64.lo): Likewise.
    	(pei-ia64.lo): New.
    
    	* peicode.h (coff_swap_scnhdr_in): Replace bfd_pe_executable_p
    	with bfd_pei_p.
    	(arch_type): Removed.
    	(pe_arch): Likewise.
    	(pe_bfd_object_p): Just return coff_object_p.
    
    	* peXXigen.c (_bfd_XXi_swap_scnhdr_out): Replace
    	bfd_pe_executable_p with bfd_pei_p.
    
    binutils/
    
    2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
    
    	PR binutils/10074
    	* objcopy.c: Include coff/i386.h and coff/pe.h.
    	(pe_file_alignment): New.
    	(pe_heap_commit): Likewise.
    	(pe_heap_reserve): Likewise.
    	(pe_image_base): Likewise.
    	(pe_section_alignment): Likewise.
    	(pe_stack_commit): Likewise.
    	(pe_stack_reserve): Likewise.
    	(pe_subsystem): Likewise.
    	(pe_major_subsystem_version): Likewise.
    	(pe_minor_subsystem_version): Likewise.
    	(set_pe_subsystem): Likewise.
    	(convert_efi_target): Likewise.
    	(command_line_switch): Add OPTION_FILE_ALIGNMENT,
    	OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
    	OPTION_STACK and OPTION_SUBSYSTEM.
    	(copy_options): Likewise.
    	(copy_usage): Add --file-alignment, --heap, --image-base,
    	--section-alignment, --stack and --subsystem.
    	(copy_object): Set up PE parameters.
    	(copy_main): Process Add OPTION_FILE_ALIGNMENT,
    	OPTION_HEAP, OPTION_IMAGE_BASE, OPTION_SECTION_ALIGNMENT,
    	OPTION_STACK and OPTION_SUBSYSTEM.   Convert EFI target to
    	PEI target.
    
    	* NEWS: Mention --file-alignment, --heap, --image-base,
    	--section-alignment, --stack and --subsystem command line
    	options for objcopy.
    
    	* doc/binutils.texi: Document --file-alignment, --heap,
    	--image-base, --section-alignment, --stack and --subsystem
    	command line options for objcopy.

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

Summary of changes:
 ChangeLog                                          |   15 +
 Makefile.in                                        |    4 +-
 Makefile.tpl                                       |    4 +-
 bfd/ChangeLog                                      |  235 +-
 bfd/Makefile.am                                    |   68 +-
 bfd/Makefile.in                                    |   71 +-
 bfd/bfd-in2.h                                      |   10 +-
 bfd/bfd.c                                          |    3 +-
 bfd/coff-ia64.c                                    |    4 +-
 bfd/coff-x86_64.c                                  |   10 +-
 bfd/coffcode.h                                     |   11 +
 bfd/config.bfd                                     |   14 +-
 bfd/configure                                      |   10 +-
 bfd/configure.in                                   |   10 +-
 bfd/doc/ChangeLog                                  |    5 +
 bfd/doc/Makefile.in                                |    1 +
 bfd/doc/bfdint.texi                                |    6 +-
 bfd/efi-app-ia32.c                                 |   36 -
 bfd/efi-app-x86_64.c                               |   36 -
 bfd/efi-bsdrv-ia32.c                               |   37 -
 bfd/efi-bsdrv-ia64.c                               |   38 -
 bfd/efi-bsdrv-x86_64.c                             |   38 -
 bfd/efi-rtdrv-ia32.c                               |   37 -
 bfd/efi-rtdrv-ia64.c                               |   38 -
 bfd/efi-rtdrv-x86_64.c                             |   38 -
 bfd/elf-bfd.h                                      |   11 +
 bfd/elf.c                                          |   14 +-
 bfd/elf32-arm.c                                    |  313 +-
 bfd/elf32-i386.c                                   |   92 +-
 bfd/elf64-x86-64.c                                 |  133 +-
 bfd/elfcode.h                                      |    3 +
 bfd/elflink.c                                      |   74 +
 bfd/libcoff-in.h                                   |    2 -
 bfd/libcoff.h                                      |    6 +-
 bfd/libpei.h                                       |   41 -
 bfd/peXXigen.c                                     |  139 +-
 bfd/{efi-app-ia64.c => pei-ia64.c}                 |   14 +-
 bfd/pei-x86_64.c                                   |  475 ++
 bfd/peicode.h                                      |  137 +-
 bfd/syms.c                                         |   10 +-
 bfd/targets.c                                      |   24 +-
 bfd/verilog.c                                      |  377 ++
 bfd/version.h                                      |    2 +-
 config.guess                                       |    7 +-
 gdb/ChangeLog                                      |  405 ++-
 gdb/MAINTAINERS                                    |    3 +
 gdb/Makefile.in                                    |   37 +-
 gdb/NEWS                                           |   87 +-
 gdb/README                                         |    5 +
 gdb/acinclude.m4                                   |   37 +-
 gdb/ada-lang.c                                     |    1 -
 gdb/ada-tasks.c                                    |    9 +
 gdb/arm-linux-nat.c                                |    8 +-
 gdb/arm-linux-tdep.c                               |    4 +-
 gdb/arm-linux-tdep.h                               |    3 +
 gdb/arm-tdep.h                                     |    1 -
 gdb/breakpoint.c                                   |   10 +-
 gdb/c-exp.y                                        |    4 +-
 gdb/charset.c                                      |    4 +
 gdb/config.in                                      |   19 +-
 gdb/config/djgpp/config.sed                        |    6 +
 gdb/config/djgpp/fnchange.lst                      |    6 +-
 .../mb-inline1.cc => config/djgpp/langinfo.h}      |   44 +-
 .../mb-inline2.cc => config/djgpp/nl_types.h}      |   20 +-
 gdb/config/i386/go32.mh                            |    4 +-
 gdb/configure                                      |  265 +-
 gdb/configure.ac                                   |  152 +-
 gdb/configure.tgt                                  |   20 +-
 gdb/darwin-nat.c                                   |    6 +-
 gdb/dbxread.c                                      |    1 +
 gdb/defs.h                                         |    3 +
 gdb/dictionary.c                                   |    8 +-
 gdb/doc/ChangeLog                                  |   91 +
 gdb/doc/Makefile.in                                |   73 +-
 gdb/doc/configure                                  |   53 +-
 gdb/doc/configure.ac                               |   27 +
 gdb/doc/gdb.texinfo                                |  237 +-
 gdb/doc/gdbint.texinfo                             |    4 -
 gdb/dwarf2read.c                                   |  101 +-
 gdb/elfread.c                                      |    9 +-
 gdb/gdb_dirent.h                                   |    6 +-
 gdb/gdbarch.c                                      |   33 +
 gdb/gdbarch.h                                      |   11 +
 gdb/gdbarch.sh                                     |    6 +
 gdb/gdbserver/ChangeLog                            |   20 +
 gdb/gdbserver/configure.srv                        |    9 +
 gdb/gdbserver/inferiors.c                          |   47 +
 gdb/gdbserver/linux-low.c                          |   16 +-
 gdb/gdbserver/server.c                             |   71 +-
 gdb/gdbserver/server.h                             |    2 +
 gdb/gdbtypes.c                                     |   12 +-
 gdb/gdbtypes.h                                     |    3 +-
 gdb/gnu-nat.c                                      |    9 +-
 gdb/gnu-nat.h                                      |    5 +-
 gdb/gnulib/Makefile.in                             |  100 +-
 gdb/go32-nat.c                                     |  132 +-
 gdb/i386-linux-tdep.c                              |  349 ++
 gdb/i386-nat.c                                     |    9 -
 gdb/i386-tdep.c                                    | 2417 +++++++++++
 gdb/i386-tdep.h                                    |    6 +
 gdb/ia64-tdep.c                                    |   20 +-
 gdb/infcall.c                                      |    1 +
 gdb/infrun.c                                       |   13 +-
 gdb/jv-lang.c                                      |    3 +-
 gdb/linux-record.c                                 | 2205 ++++++++++
 gdb/linux-record.h                                 |  173 +
 gdb/linux-thread-db.c                              |    1 -
 gdb/macrocmd.c                                     |   10 +-
 gdb/main.c                                         |  154 +-
 gdb/mips-linux-nat.c                               |  709 +++-
 gdb/moxie-tdep.c                                   |  531 +++
 .../gdb.cp/mb-inline1.cc => moxie-tdep.h}          |   42 +-
 gdb/record.c                                       | 1282 ++++++
 gdb/{testsuite/gdb.cp/mb-inline1.cc => record.h}   |   39 +-
 gdb/source.c                                       |    2 +-
 gdb/source.h                                       |    3 +
 gdb/stabsread.c                                    |    5 +-
 gdb/stack.c                                        |   24 +-
 gdb/symmisc.c                                      |   34 +-
 gdb/symtab.c                                       |   93 +-
 gdb/target.h                                       |    3 +-
 gdb/testsuite/ChangeLog                            |   48 +
 gdb/testsuite/gdb.base/macscp.exp                  |   18 +-
 gdb/testsuite/gdb.base/printcmds.exp               |    3 +
 .../gdb.cp/{mb-inline2.cc => abstract-origin.cc}   |   25 +-
 gdb/testsuite/gdb.cp/abstract-origin.exp           |   31 +
 gdb/testsuite/gdb.cp/mb-ctor.cc                    |    8 +
 gdb/testsuite/gdb.cp/mb-ctor.exp                   |   32 +-
 gdb/testsuite/gdb.cp/mb-inline.exp                 |   22 +
 gdb/testsuite/gdb.cp/mb-inline.h                   |    7 +
 gdb/testsuite/gdb.cp/mb-inline1.cc                 |    2 +-
 gdb/testsuite/gdb.cp/mb-inline2.cc                 |    2 +-
 gdb/testsuite/gdb.cp/mb-templates.cc               |   12 +
 gdb/testsuite/gdb.cp/mb-templates.exp              |   22 +
 gdb/testsuite/gdb.cp/templates.cc                  |   10 +
 gdb/testsuite/gdb.cp/templates.exp                 |    5 +
 gdb/testsuite/gdb.threads/watchthreads.c           |   35 +-
 gdb/testsuite/gdb.threads/watchthreads.exp         |   25 +-
 gdb/testsuite/gdb.threads/watchthreads2.c          |  115 +
 gdb/testsuite/gdb.threads/watchthreads2.exp        |  139 +
 gdb/testsuite/lib/gdb.exp                          |   12 +-
 gdb/top.c                                          |    9 +
 gdb/utils.c                                        |   22 +-
 gdb/varobj.c                                       |    2 +-
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |   19 +-
 gdb/xtensa-tdep.c                                  |    3 +-
 include/ChangeLog                                  |   20 +-
 include/coff/ChangeLog                             |   49 +
 include/coff/pe.h                                  |  152 +-
 include/elf/ChangeLog                              |   13 +
 include/elf/common.h                               |    1 +
 include/elf/dwarf2.h                               |    1 +
 include/elf/mep.h                                  |   10 +-
 include/hashtab.h                                  |    3 +-
 include/splay-tree.h                               |    6 +-
 libiberty/ChangeLog                                |   13 +
 libiberty/Makefile.in                              |   22 +-
 libiberty/pex-win32.c                              |   34 +-
 opcodes/ChangeLog                                  |   27 +
 opcodes/disassemble.c                              |    6 +
 opcodes/mep-asm.c                                  |  137 +
 opcodes/mep-desc.c                                 | 4590 ++++++++++++++++++--
 opcodes/mep-desc.h                                 |   50 +-
 opcodes/mep-dis.c                                  |  378 ++-
 opcodes/mep-ibld.c                                 |  774 ++++-
 opcodes/mep-opc.c                                  | 4340 ++++++++++++++++++-
 opcodes/mep-opc.h                                  |  333 ++-
 readline/ChangeLog.gdb                             |    5 +
 readline/Makefile.in                               |    4 +-
 sim/ChangeLog                                      |   21 +
 sim/MAINTAINERS                                    |    1 +
 sim/Makefile.in                                    |    3 +
 sim/avr/Makefile.in                                |   25 +
 sim/avr/config.in                                  |  101 +
 sim/{ => avr}/configure                            | 3530 +++++++++++-----
 sim/avr/configure.ac                               |   12 +
 sim/avr/interp.c                                   | 1847 ++++++++
 sim/configure                                      |   15 +
 sim/configure.ac                                   |    7 +
 sim/moxie/ChangeLog                                |  109 +
 sim/moxie/Makefile.in                              |   29 +
 sim/moxie/config.in                                |   92 +
 sim/{ => moxie}/configure                          | 3281 ++++++++++-----
 sim/moxie/configure.ac                             |   14 +
 sim/moxie/interp.c                                 | 1481 +++++++
 sim/moxie/sysdep.h                                 |   94 +
 texinfo/texinfo.tex                                | 4288 ++++++++++++++----
 188 files changed, 34433 insertions(+), 5145 deletions(-)
 delete mode 100644 bfd/efi-app-ia32.c
 delete mode 100644 bfd/efi-app-x86_64.c
 delete mode 100644 bfd/efi-bsdrv-ia32.c
 delete mode 100644 bfd/efi-bsdrv-ia64.c
 delete mode 100644 bfd/efi-bsdrv-x86_64.c
 delete mode 100644 bfd/efi-rtdrv-ia32.c
 delete mode 100644 bfd/efi-rtdrv-ia64.c
 delete mode 100644 bfd/efi-rtdrv-x86_64.c
 rename bfd/{efi-app-ia64.c => pei-ia64.c} (78%)
 create mode 100644 bfd/verilog.c
 copy gdb/{testsuite/gdb.cp/mb-inline1.cc => config/djgpp/langinfo.h} (63%)
 copy gdb/{testsuite/gdb.cp/mb-inline2.cc => config/djgpp/nl_types.h} (72%)
 create mode 100644 gdb/linux-record.c
 create mode 100644 gdb/linux-record.h
 create mode 100644 gdb/moxie-tdep.c
 copy gdb/{testsuite/gdb.cp/mb-inline1.cc => moxie-tdep.h} (53%)
 create mode 100644 gdb/record.c
 copy gdb/{testsuite/gdb.cp/mb-inline1.cc => record.h} (52%)
 copy gdb/testsuite/gdb.cp/{mb-inline2.cc => abstract-origin.cc} (74%)
 create mode 100644 gdb/testsuite/gdb.cp/abstract-origin.exp
 create mode 100644 gdb/testsuite/gdb.threads/watchthreads2.c
 create mode 100644 gdb/testsuite/gdb.threads/watchthreads2.exp
 create mode 100644 sim/avr/Makefile.in
 create mode 100644 sim/avr/config.in
 copy sim/{ => avr}/configure (60%)
 create mode 100644 sim/avr/configure.ac
 create mode 100644 sim/avr/interp.c
 create mode 100644 sim/moxie/ChangeLog
 create mode 100644 sim/moxie/Makefile.in
 create mode 100644 sim/moxie/config.in
 copy sim/{ => moxie}/configure (62%)
 mode change 100755 => 100644
 create mode 100644 sim/moxie/configure.ac
 create mode 100644 sim/moxie/interp.c
 create mode 100644 sim/moxie/sysdep.h

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 9df0efa..0f086f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2009-04-25  Eric Botcazou  <ebotcazou@adacore.com>
+
+	* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Add GNATBIND.
+	(POSTSTAGE1_FLAGS_TO_PASS): Pick up exported value for GNATBIND.
+	* Makefile.in: Regenerate.
+
+2009-04-24  Eli Zaretskii  <eliz@gnu.org>
+
+	* config.guess (pc:*:*:*): Return i586-pc-msdosdjgpp, for
+	consistency with config.sub.  (Update from upstream sources.)
+
+2009-04-21  Joseph Myers  <joseph@codesourcery.com>
+
+	* texinfo/texinfo.tex: Update to version 2009-03-28.05.
+
 2009-04-17  Ben Elliston  <bje@au.ibm.com>
 
 	* config.sub, config.guess: Update from upstream sources.
diff --git a/Makefile.in b/Makefile.in
index de33e11..ee16fc1 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -214,6 +214,7 @@ POSTSTAGE1_HOST_EXPORTS = \
 	  $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
 	  -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
 	  -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
+	GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND \
 	LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
 
 # Target libraries are put under this directory:
@@ -624,8 +625,7 @@ X11_FLAGS_TO_PASS = \
 # Flags to pass to stage2 and later makes.
 
 POSTSTAGE1_FLAGS_TO_PASS = \
-	CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
-	GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind" \
+	CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" GNATBIND="$${GNATBIND}" \
 	LDFLAGS="$(BOOT_LDFLAGS)" \
 	"`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
 
diff --git a/Makefile.tpl b/Makefile.tpl
index 1de3b06..ad1400e 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -217,6 +217,7 @@ POSTSTAGE1_HOST_EXPORTS = \
 	  $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
 	  -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
 	  -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
+	GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND \
 	LDFLAGS="$(BOOT_LDFLAGS)"; export LDFLAGS;
 
 # Target libraries are put under this directory:
@@ -512,8 +513,7 @@ X11_FLAGS_TO_PASS = \
 # Flags to pass to stage2 and later makes.
 
 POSTSTAGE1_FLAGS_TO_PASS = \
-	CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
-	GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind" \
+	CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" GNATBIND="$${GNATBIND}" \
 	LDFLAGS="$(BOOT_LDFLAGS)" \
 	"`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
 
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 894c497..d13bda0 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,236 @@
+2009-04-30  Nick Clifton  <nickc@redhat.com>
+
+	* elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs
+	section pointer.
+	(struct elf_obj_data): Add has_ifunc_symbols boolean.
+	* elf.c (swap_out_syms): Convert BSF_GNU_INDIRECT_FUNCTION flags
+	into a STT_GNU_IFUNC symbol type.
+	(_bfd_elf_is_function_type): Accept STT_GNU_IFUNC as a function
+	type.
+	(_bfd_elf_set_osabi): Set the osasbi field to ELFOSABI_LINUX if
+	the binary contains ifunc symbols.
+	* elfcode.h (elf_slurp_symbol_table): Translate the STT_GNU_IFUNC
+	symbol type into a BSF_GNU_INDIRECT_FUNCTION flag.
+	* elf32-i386.c (is_indirect_function): New function.
+	(elf_i386_check_relocs): Create an ifunc output section.
+	(allocate_dynrelocs): Create dynamic relocs in the ifunc output
+	section if necessary.
+	(elf_i386_relocate_section): Emit a reloc against an ifunc symbol
+	if necessary.
+	(elf_i386_add_symbol_hook): New function. Set the
+	has_ifunc_symbols field of the elf_obj_data structure if an ifunc
+	symbol is encountered.
+	(elf_backend_post_process_headers): Define.
+	(elf_backend_add_symbol_hook): Define.
+	(elf_i386_post_process_headers): Rename to
+	elf_i388_fbsd_post_process_headers.
+	* elf64-x86_64.c (IS_X86_64_PCREL_TYPE): New macro.
+	(is_indirect_function): New function.
+	(elf64_x86_64_check_relocs): Create an ifunc output section.
+	(allocate_dynrelocs): Create dynamic relocs in the ifunc output
+	section if necessary.
+	(elf64_x86_64_relocate_section): Emit a reloc against an ifunc
+	symbol if necessary.
+	(elf_i386_add_symbol_hook): Set the has_ifunc_symbols field of the
+	elf_obj_data structure if an ifunc symbol is encountered.
+	(elf_backend_post_process_headers): Define.
+	* elflink.c (_bfd_elf_adjust_dynamic_symbol): Always create a PLT
+	if we have ifunc symbols to handle.
+	(get_ifunc_reloc_section_name): New function.  Computes the name
+	for an ifunc section.
+	(_bfd_elf_make_ifunc_reloc_section): New function.  Creates a
+	section to hold ifunc relocs.
+	* syms.c (BSF_GNU_INDIRECT_FUNCTION): Define.
+	(bfd_print_symbol_vandf): Handle ifunc symbols.
+	(bfd_decode_symclass): Likewise.
+	* bfd-in2.h: Regenerate.
+
+2009-04-30  Joseph Myers  <joseph@codesourcery.com>
+
+	* elf32-arm.c (elf32_arm_check_relocs): Give errors for absolute
+	MOVW and MOVT relocations in a shared library link.
+
+2009-04-27  Anthony Green  <green@moxielogic.com>
+
+	* verilog.c: New file.
+	* Makefile.am (BFD32_LIBS): Add verilog.c.
+	(BFD32_LIBS_CFILES): Add verilog.c.
+	(verilog.lo): New build rule.
+	* Makefile.in: Rebuilt.
+	* targets.c: Add verilog support.
+	* bfd.c (tdata union): Add Verilog private data field.
+	* bfd-in2.h: Regenerate.
+
+2009-04-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't
+	copy pe_opthdr.
+
+2009-04-23  Matthias Klose  <doko@ubuntu.com>
+
+	* peXXigen.c (_bfd_XXi_swap_sym_in): Initialize `name'.
+
+2009-04-22  Christophe Lyon  <christophe.lyon@st.com>
+
+	PR9743
+	* elf32-arm.c (arm_type_of_stub): Handle R_ARM_THM_JUMP24,
+	R_ARM_JUMP24 and R_ARM_PLT32 relocations.
+	(elf32_arm_size_stubs): Likewise.
+	(record_thumb_to_arm_glue): Deleted unused function.
+	(bfd_elf32_arm_process_before_allocation): No longer handle
+	R_ARM_THM_JUMP24, R_ARM_JUMP24 and R_ARM_PLT32 relocations here.
+	(elf32_arm_final_link_relocate): Handle R_ARM_THM_JUMP24,
+	R_ARM_JUMP24 and R_ARM_PLT32 relocations.
+
+2009-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
+
+	* elf32-arm.c (INTERWORK_FLAG): Check BFD_LINKER_CREATED.
+	(elf32_arm_write_section): Declare early.
+	(elf32_arm_size_stubs): Skip non-stub sections in the stub BFD.
+	(arm_allocate_glue_section_space): Exclude empty sections.
+	(ARM_GLUE_SECTION_FLAGS): Add SEC_LINKER_CREATED.
+	(bfd_elf32_arm_add_glue_sections_to_bfd): Do not skip the stub
+	BFD.
+	(elf32_arm_output_glue_section, elf32_arm_final_link): New.
+	(elf32_arm_merge_eabi_attributes): Skip the stub BFD.
+	(elf32_arm_size_dynamic_sections): Allocate interworking
+	sections here.
+	(bfd_elf32_bfd_final_link): Define.
+
+2009-04-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* coff-ia64.c (COFF_PAGE_SIZE): Changed to 8K.
+	
+	* coffcode.h (coff_compute_section_file_positions): Clear
+	D_PAGED if PE section alignment is smaller than COFF_PAGE_SIZE.
+
+	* libcoff-in.h (pe_tdata): Remove force_minimum_alignment and
+	force_minimum_alignment.
+
+	* libcoff.h: Regenerated.
+
+	* pei-ia64.c (PEI_TARGET_SUBSYSTEM): Removed.
+	(PEI_FORCE_MINIMUM_ALIGNMENT): Likewise.
+
+	* peicode.h (pe_mkobject): Don't set force_minimum_alignment
+	nor target_subsystem.
+
+	* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't check
+	force_minimum_alignment nor target_subsystem.
+
+2009-04-21  Kai Tietz  <kai.tietz@onevision.com>
+
+	* coff-x86_64.c (PEI_HEADERS): Protect includes.
+	(bfd_pe_print_pdata): Remove #ifdef PE variation.
+	* pei-x86_64.c (PEI_HEADERS): Define to prevent double
+	include in coff-x86_64.c of headers.
+	(PDATA_ROW_SIZE): New define.
+	(pex_regs[]): New static array.
+	(pex64_get_runtime_function): New static function.
+	(pex64_get_unwind_info): Likewise.
+	(pex64_get_scope_entry): Likewise.
+	(pex64_xdata_print_uwd_codes): Likewise.
+	(pex64_get_section_by_rva): Likewise.
+	(pex64_dump_xdata): Likewise.
+	(pex64_bfd_print_pdata): Likewise.
+	(bfd_pe_print_pdata): Define as pex64_bfd_print_pdata.
+	* peXXigen.c (_bfd_pex64_print_pdata): Removed implementation.
+	* libpei.h (_bfd_pex64_print_pdata): Removed declaration.
+
+2009-04-19  Peter O'Gorman  <binutils@mlists.thewrittenword.com>
+	    Alan Modra  <amodra@bigpond.net.au>
+	    Dave Korn  <dave.korn.cygwin@gmail.com>
+
+	* peXXigen.c (_bfd_XXi_swap_sym_in): Fix name handling w.r.t
+	long names and non-NUL-terminated strings.
+
+2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* bfd-in2.h: Regenerated.
+
+2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* peXXigen.c (_bfd_XX_print_private_bfd_data_common): Replace
+	IMAGE_SUBSYSTEM_EFI_ROM with IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER.
+
+2009-04-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR binutils/10074
+	* coffcode.h (bfd_pei_p): New.
+
+	* config.bfd: Remove bfd_efi_bsdrv_ia32_vec,
+	bfd_efi_rtdrv_ia32_vec, bfd_efi_bsdrv_x86_64_vec,
+	bfd_efi_rtdrv_x86_64_vec, bfd_efi_bsdrv_ia64_vec and
+	bfd_efi_rtdrv_ia64_vec.  Replace bfd_efi_app_ia32_vec,
+	bfd_efi_app_x86_64_vec and bfd_efi_app_ia64_vec with
+	i386pei_vec, x86_64pei_vec and bfd_pei_ia64_vec, respectively.
+
+	* configure.in: Remove bfd_efi_bsdrv_ia32_vec,
+	bfd_efi_rtdrv_ia32_vec, bfd_efi_bsdrv_x86_64_vec,
+	bfd_efi_rtdrv_x86_64_vec,
+	bfd_efi_bsdrv_ia64_vec and bfd_efi_rtdrv_ia64_vec.  Replace
+	bfd_efi_ia64_vec with bfd_pei_ia64_vec.
+	* targets.c: Likewise.
+
+	* configure: Regenerated.
+	* libcoff.h: Likewise.
+	* Makefile.in: Likewise.
+
+	* efi-app-ia32.c: Removed.
+	* efi-app-x86_64.c: Likewise.
+	* efi-bsdrv-ia32.c: Likewise.
+	* efi-bsdrv-ia64.c: Likewise.
+	* efi-bsdrv-x86_64.c: Likewise.
+	* efi-rtdrv-ia32.c: Likewise.
+	* efi-rtdrv-ia64.c: Likewise.
+	* efi-rtdrv-x86_64.c: Likewise.
+	* efi-rtdrv-ia32.c: Likewise.
+
+	* efi-app-ia64.c: Moved to ...
+	* pei-ia64.c: This.
+	(TARGET_SYM): Set to bfd_pei_ia64_vec.
+	(TARGET_NAME): Set to pei-ia64.
+
+	* libpei.h (bfd_target_pei_p): Removed.
+	(bfd_target_pei_arch): Likewise.
+	(bfd_target_efi_app_p): Likewise.
+	(bfd_target_efi_app_arch): Likewise.
+	(bfd_target_efi_bsdrv_p): Likewise.
+	(bfd_target_efi_bsdrv_arch): Likewise.
+	(bfd_target_efi_rtdrv_p): Likewise.
+	(bfd_target_efi_rtdrv_arch): Likewise.
+	(bfd_pe_executable_p): Likewise.
+
+	* Makefile.am (BFD32_BACKENDS): Remove efi-app-ia32.lo,
+	efi-bsdrv-ia32.lo and efi-rtdrv-ia32.lo.
+	(BFD32_BACKENDS_CFILES): Remove efi-app-ia32.c, efi-bsdrv-ia32.c
+	and efi-rtdrv-ia32.c.
+	(BFD64_BACKENDS): Remove efi-app-ia64.lo, efi-bsdrv-ia64.lo,
+	efi-rtdrv-ia64.lo, efi-app-x86_64.lo, efi-bsdrv-x86_64.lo and
+	efi-rtdrv-x86_64.lo. Add pei-ia64.lo.
+	(BFD64_BACKENDS_CFILES): Remove efi-app-ia64.c, efi-bsdrv-ia64.c,
+	efi-rtdrv-ia64.c, efi-app-x86_64.c, efi-bsdrv-x86_64.c and
+	efi-rtdrv-x86_64.c. Add pei-ia64.c.
+	(efi-app-ia64.lo): Removed.
+	(efi-bsdrv-ia32.lo): Likewise.
+	(efi-rtdrv-ia32.lo): Likewise.
+	(efi-app-ia64.lo): Likewise.
+	(efi-bsdrv-ia64.lo): Likewise.
+	(efi-rtdrv-ia64.lo): Likewise.
+	(efi-app-x86_64.lo): Likewise.
+	(efi-bsdrv-x86_64.lo): Likewise.
+	(efi-rtdrv-x86_64.lo): Likewise.
+	(pei-ia64.lo): New.
+
+	* peicode.h (coff_swap_scnhdr_in): Replace bfd_pe_executable_p
+	with bfd_pei_p.
+	(arch_type): Removed.
+	(pe_arch): Likewise.
+	(pe_bfd_object_p): Just return coff_object_p.
+
+	* peXXigen.c (_bfd_XXi_swap_scnhdr_out): Replace
+	bfd_pe_executable_p with bfd_pei_p.
+
 2009-04-17  Christophe Lyon  <christophe.lyon@st.com>
 
 	* elf32-arm.c (elf32_arm_size_stubs): Handle long branches through
@@ -311,7 +544,7 @@
 	    Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
 	* elf32-s390.c (elf_s390_check_relocs): Use the SYMBOL_*
-        macros for visibilty and locality checks.
+	macros for visibilty and locality checks.
 	(elf_s390_adjust_dynamic_symbol): Likewise.
 	(allocate_dynrelocs): Likewise.
 	(elf_s390_relocate_section): Likewise.
diff --git a/bfd/Makefile.am b/bfd/Makefile.am
index 683599a..05df78e 100644
--- a/bfd/Makefile.am
+++ b/bfd/Makefile.am
@@ -43,7 +43,7 @@ BFD32_LIBS = \
 	format.lo init.lo libbfd.lo opncls.lo reloc.lo \
 	section.lo syms.lo targets.lo hash.lo linker.lo \
 	srec.lo binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo \
-	merge.lo dwarf2.lo simple.lo compress.lo
+	merge.lo dwarf2.lo simple.lo compress.lo verilog.lo
 
 BFD64_LIBS = archive64.lo
 
@@ -53,7 +53,7 @@ BFD32_LIBS_CFILES = \
 	format.c init.c libbfd.c opncls.c reloc.c \
 	section.c syms.c targets.c hash.c linker.c \
 	srec.c binary.c tekhex.c ihex.c stabs.c stab-syms.c \
-	merge.c dwarf2.c simple.c compress.c
+	merge.c dwarf2.c simple.c compress.c verilog.c
 
 BFD64_LIBS_CFILES = archive64.c
 
@@ -242,9 +242,6 @@ BFD32_BACKENDS = \
 	dwarf1.lo \
 	ecoff.lo \
 	ecofflink.lo \
-	efi-app-ia32.lo \
-	efi-bsdrv-ia32.lo \
-	efi-rtdrv-ia32.lo \
 	elf.lo \
 	elf32-am33lin.lo \
 	elf32-arc.lo \
@@ -425,9 +422,6 @@ BFD32_BACKENDS_CFILES = \
 	dwarf1.c \
 	ecoff.c \
 	ecofflink.c \
-	efi-app-ia32.c \
-	efi-bsdrv-ia32.c \
-	efi-rtdrv-ia32.c \
 	elf.c \
 	elf32-am33lin.c \
 	elf32-arc.c \
@@ -573,12 +567,7 @@ BFD64_BACKENDS = \
 	coff-alpha.lo \
 	coff64-rs6000.lo \
 	demo64.lo \
-	efi-app-ia64.lo \
-	efi-bsdrv-ia64.lo \
-	efi-rtdrv-ia64.lo \
-	efi-app-x86_64.lo \
-	efi-bsdrv-x86_64.lo \
-	efi-rtdrv-x86_64.lo \
+	pei-ia64.lo \
 	elf64-x86-64.lo \
 	elf64-alpha.lo \
 	elf64-hppa.lo \
@@ -610,12 +599,7 @@ BFD64_BACKENDS_CFILES = \
 	coff-alpha.c \
 	coff64-rs6000.c \
 	demo64.c \
-	efi-app-ia64.c \
-	efi-bsdrv-ia64.c \
-	efi-rtdrv-ia64.c \
-	efi-app-x86_64.c \
-	efi-bsdrv-x86_64.c \
-	efi-rtdrv-x86_64.c \
+	pei-ia64.c \
 	elf64-x86-64.c \
 	elf64-alpha.c \
 	elf64-hppa.c \
@@ -1087,6 +1071,8 @@ linker.lo: linker.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
   $(INCDIR)/bfdlink.h genlink.h
 srec.lo: srec.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
   $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
+verilog.lo: verilog.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
+  $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
 binary.lo: binary.c $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h \
   $(INCDIR)/hashtab.h
 tekhex.lo: tekhex.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
@@ -1346,21 +1332,6 @@ ecofflink.lo: ecofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
   $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h libcoff.h \
   libecoff.h
-efi-app-ia32.lo: efi-app-ia32.c $(INCDIR)/filenames.h \
-  coff-i386.c $(INCDIR)/hashtab.h $(INCDIR)/coff/i386.h \
-  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
-  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
-  peicode.h libpei.h
-efi-bsdrv-ia32.lo: efi-bsdrv-ia32.c $(INCDIR)/filenames.h \
-  coff-i386.c $(INCDIR)/hashtab.h $(INCDIR)/coff/i386.h \
-  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
-  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
-  peicode.h libpei.h
-efi-rtdrv-ia32.lo: efi-rtdrv-ia32.c $(INCDIR)/filenames.h \
-  coff-i386.c $(INCDIR)/hashtab.h $(INCDIR)/coff/i386.h \
-  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
-  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
-  peicode.h libpei.h
 elf.lo: elf.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/hashtab.h elf-bfd.h $(INCDIR)/elf/common.h \
   $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/libiberty.h \
@@ -1909,36 +1880,11 @@ demo64.lo: demo64.c aoutf1.h $(INCDIR)/filenames.h \
   $(INCDIR)/hashtab.h $(INCDIR)/aout/sun4.h libaout.h \
   $(INCDIR)/bfdlink.h $(INCDIR)/aout/aout64.h $(INCDIR)/aout/stab_gnu.h \
   $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h aout-target.h
-efi-app-ia64.lo: efi-app-ia64.c $(INCDIR)/filenames.h \
-  coff-ia64.c $(INCDIR)/hashtab.h $(INCDIR)/coff/ia64.h \
-  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
-  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
-  peicode.h libpei.h
-efi-bsdrv-ia64.lo: efi-bsdrv-ia64.c $(INCDIR)/filenames.h \
-  coff-ia64.c $(INCDIR)/hashtab.h $(INCDIR)/coff/ia64.h \
-  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
-  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
-  peicode.h libpei.h
-efi-rtdrv-ia64.lo: efi-rtdrv-ia64.c $(INCDIR)/filenames.h \
+pei-ia64.lo: pei-ia64.c $(INCDIR)/filenames.h \
   coff-ia64.c $(INCDIR)/hashtab.h $(INCDIR)/coff/ia64.h \
   $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
   $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h coffcode.h \
   peicode.h libpei.h
-efi-app-x86_64.lo: efi-app-x86_64.c $(INCDIR)/filenames.h \
-  coff-x86_64.c $(INCDIR)/hashtab.h $(INCDIR)/coff/x86_64.h \
-  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
-  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h \
-  coffcode.h peicode.h libpei.h
-efi-bsdrv-x86_64.lo: efi-bsdrv-x86_64.c $(INCDIR)/filenames.h \
-  coff-x86_64.c $(INCDIR)/hashtab.h $(INCDIR)/coff/x86_64.h \
-  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
-  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h \
-  coffcode.h peicode.h libpei.h
-efi-rtdrv-x86_64.lo: efi-rtdrv-x86_64.c $(INCDIR)/filenames.h \
-  coff-x86_64.c $(INCDIR)/hashtab.h $(INCDIR)/coff/x86_64.h \
-  $(INCDIR)/coff/external.h $(INCDIR)/coff/internal.h \
-  $(INCDIR)/coff/pe.h libcoff.h $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h \
-  coffcode.h peicode.h libpei.h
 elf64-x86-64.lo: elf64-x86-64.c $(INCDIR)/filenames.h \
   $(INCDIR)/bfdlink.h $(INCDIR)/hashtab.h elf-bfd.h $(INCDIR)/elf/common.h \
   $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h bfd_stdint.h \
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 24c8ee1..282d961 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -88,7 +88,8 @@ am__objects_1 = archive.lo archures.lo bfd.lo bfdio.lo bfdwin.lo \
 	cache.lo coffgen.lo corefile.lo format.lo init.lo libbfd.lo \
 	opncls.lo reloc.lo section.lo syms.lo targets.lo hash.lo \
 	linker.lo srec.lo binary.lo tekhex.lo ihex.lo stabs.lo \
-	stab-syms.lo merge.lo dwarf2.lo simple.lo compress.lo
+	stab-syms.lo merge.lo dwarf2.lo simple.lo compress.lo \
+	verilog.lo
 am_libbfd_la_OBJECTS = $(am__objects_1)
 libbfd_la_OBJECTS = $(am_libbfd_la_OBJECTS)
 DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
@@ -310,7 +311,7 @@ BFD32_LIBS = \
 	format.lo init.lo libbfd.lo opncls.lo reloc.lo \
 	section.lo syms.lo targets.lo hash.lo linker.lo \
 	srec.lo binary.lo tekhex.lo ihex.lo stabs.lo stab-syms.lo \
-	merge.lo dwarf2.lo simple.lo compress.lo
+	merge.lo dwarf2.lo simple.lo compress.lo verilog.lo
 
 BFD64_LIBS = archive64.lo
 BFD32_LIBS_CFILES = \
@@ -319,7 +320,7 @@ BFD32_LIBS_CFILES = \
 	format.c init.c libbfd.c opncls.c reloc.c \
 	section.c syms.c targets.c hash.c linker.c \
 	srec.c binary.c tekhex.c ihex.c stabs.c stab-syms.c \
-	merge.c dwarf2.c simple.c compress.c
+	merge.c dwarf2.c simple.c compress.c verilog.c
 
 BFD64_LIBS_CFILES = archive64.c
 
@@ -509,9 +510,6 @@ BFD32_BACKENDS = \
 	dwarf1.lo \
 	ecoff.lo \
 	ecofflink.lo \
-	efi-app-ia32.lo \
-	efi-bsdrv-ia32.lo \
-	efi-rtdrv-ia32.lo \
 	elf.lo \
 	elf32-am33lin.lo \
 	elf32-arc.lo \
@@ -692,9 +690,6 @@ BFD32_BACKENDS_CFILES = \
 	dwarf1.c \


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


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

* [SCM]  master: *** empty log message ***
@ 2009-02-28 20:17 jkratoch
  0 siblings, 0 replies; 8+ messages in thread
From: jkratoch @ 2009-02-28 20:17 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  b05c50c829e11f33bd58d5fd2de17f761207d22b (commit)
       via  acfa7328d395311e477ec40c8e9f5d64982b6454 (commit)
       via  cee93b972b71faa6c0e9e72fcd03e90a67377875 (commit)
       via  6a6b10af0464c935770d19210a7b595ae439b927 (commit)
       via  11e5be97098e9187c48a77716a319ac3609ab1c0 (commit)
       via  655a09f40df0106966807702a3a12a1d273a1b69 (commit)
       via  a473b338ce3737481feb4d4473aa74caee758671 (commit)
       via  63eafe5276abca7312c6fed52cead4a9229f944e (commit)
       via  dd9c559d2949554eb4002a671d47a7f65f6acd3c (commit)
       via  285bd7c3eb50e65e2a9d8c6ca9cae859349fe90b (commit)
       via  8e336bc6b968e678de0b4baf968a5108e3cee9be (commit)
      from  9f08a3932eefd332b72483ccec1cad049c0c7c4a (commit)

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

- Log -----------------------------------------------------------------
commit b05c50c829e11f33bd58d5fd2de17f761207d22b
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Feb 28 00:00:33 2009 +0000

    *** empty log message ***

commit acfa7328d395311e477ec40c8e9f5d64982b6454
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Feb 28 00:00:05 2009 +0000

    daily update

commit cee93b972b71faa6c0e9e72fcd03e90a67377875
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Feb 27 20:34:40 2009 +0000

    	* gdb_proc_service.h (struct ps_prochandle): Replace pid_t field
    	with a ptid_t field.
    	* linux-thread-db.c (thread_get_info_callback): Build the ptid
    	using the pid stored in proc_handle.ptid.
    	(thread_from_lwp, thread_db_attach_lwp, enable_thread_event)
    	(check_for_thread_db, thread_db_detach, check_event)
    	(thread_db_mourn_inferior, find_new_threads_callback)
    	(thread_db_find_new_threads_1): Adjust.
    	* proc-service.c (ps_xfer_memory, ps_lgetregs, ps_lsetregs)
    	(ps_lgetfpregs, ps_lsetfpregs, ps_getpid): Adjust.

commit 6a6b10af0464c935770d19210a7b595ae439b927
Author: H.J. Lu <hjl@lucon.org>
Date:   Fri Feb 27 20:13:04 2009 +0000

    2009-02-27  H.J. Lu  <hongjiu.lu@intel.com>
    
    	* i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.

commit 11e5be97098e9187c48a77716a319ac3609ab1c0
Author: pmuldoon <pmuldoon>
Date:   Fri Feb 27 19:33:06 2009 +0000

    2009-02-27  Phil Muldoon  <pmuldoon@redhat.com>
    
    	* valprint.c (read_string): Rework clean-up logic. Use
    	free_current_contents to clean-up buffer.

commit 655a09f40df0106966807702a3a12a1d273a1b69
Author: Andreas Schwab <schwab@suse.de>
Date:   Fri Feb 27 15:03:45 2009 +0000

    Update e-mail address.

commit a473b338ce3737481feb4d4473aa74caee758671
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Feb 27 00:00:33 2009 +0000

    *** empty log message ***

commit 63eafe5276abca7312c6fed52cead4a9229f944e
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Feb 27 00:00:08 2009 +0000

    daily update

commit dd9c559d2949554eb4002a671d47a7f65f6acd3c
Author: Peter Bergner <bergner@vnet.ibm.com>
Date:   Thu Feb 26 22:07:33 2009 +0000

    gas/
    	* config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
    	"f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
    	(parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
    
    gas/testsuite/
    	* gas/ppc/e500mc.d ("wait", "waitsrv", "waitimpl"): Add tests.
    	* gas/ppc/e500mc.s: Likewise.
    	* gas/ppc/power6.d ("cdtbcd", "cbcdtd", "addg6s"): Add tests.
    	* gas/ppc/power6.s: Likewise.
    	* gas/ppc/power7.d ("lfdpx", "mffgpr", "mftgpr"): Remove invalid tests.
    	("wait", "waitsrv", "waitimpl", "divwe", "divwe.", "divweo", "divweo.",
    	"divweu", "divweu.", "divweuo", "divweuo.", "bpermd", "popcntw",
    	"popcntd", "ldbrx", "stdbrx", "lfiwzx", "lfiwzx", "fcfids", "fcfids.",
    	"fcfidus", "fcfidus.", "fctiwu", "fctiwu.", "fctiwuz", "fctiwuz.",
    	"fctidu", "fctidu.", "fctiduz", "fctiduz.", "fcfidu", "fcfidu.",
    	"ftdiv", "ftdiv", "ftsqrt", "ftsqrt", "dcbtt", "dcbtstt", "dcffix",
    	"dcffix.", "lbarx", "lbarx", "lbarx", "lharx", "lharx", "lharx",
    	"stbcx.", "sthcx.", "fre", "fre.", "fres", "fres.", "frsqrte",
    	"frsqrte.", "frsqrtes", "frsqrtes.", "isel"): Add tests.
    	* gas/ppc/power7.s: Likewise.
    	* gas/ppc/vsx.d: New test.
    	* gas/ppc/vsx.s: Likewise.
    	* gas/ppc/ppc.exp: Run it.
    
    include/opcode/
    	* ppc.h (PPC_OPCODE_POWER7): New.
    
    opcodes/
    	* ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
    	the power7 and the isel instructions.
    	* ppc-opc.c (insert_xc6, extract_xc6): New static functions.
    	(insert_dm, extract_dm): Likewise.
    	(XB6): Update comment to include XX2 form.
    	(WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
    	XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
    	(RemoveXX3DM): Delete.
    	(powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
    	"mftgpr">: Deprecate for POWER7.
    	<"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
    	"frsqrte.">: Deprecate the three operand form and enable the two
    	operand form for POWER7 and later.
    	<"wait">: Extend to accept optional parameter.  Enable for POWER7.
    	<"waitsrv", "waitimpl">: Add extended opcodes.
    	<"ldbrx", "stdbrx">: Enable for POWER7.
    	<"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
    	<"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
    	"divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
    	"divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
    	"divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
    	"fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
    	"fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
    	"lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
    	<"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
    	"stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
    	"xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
    	"xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
    	"xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
    	"xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
    	"xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
    	"xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
    	"xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
    	"xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
    	"xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
    	"xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
    	"xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
    	"xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
    	"xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
    	"xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
    	"xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
    	"xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
    	"xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
    	"xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
    	"xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
    	"xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
    	"xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
    	"xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
    	"xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
    	"xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
    	"xxspltw", "xxswapd">: Add VSX opcodes.

commit 285bd7c3eb50e65e2a9d8c6ca9cae859349fe90b
Author: pmuldoon <pmuldoon>
Date:   Thu Feb 26 20:45:20 2009 +0000

    2009-02-26  Phil Muldoon  <pmuldoon@redhat.com>
    
            * python/python-utils.c (python_string_to_unicode): Always return
            a new reference.
            (python_string_to_target_string): Decrement transient python
            instance.
            (python_string_to_host_string): Likewise.

commit 8e336bc6b968e678de0b4baf968a5108e3cee9be
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Feb 26 19:44:39 2009 +0000

    	* mips-linux-nat.c (mips64_linux_fetch_registers): Pass `ops' to
    	call to super_fetch_registers.
    	(mips64_linux_store_registers): Pass `ops' to call to
    	super_store_registers.

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

Summary of changes:
 bfd/version.h             |    2 +-
 gdb/ChangeLog             |   82 +++++++---
 gdb/MAINTAINERS           |    4 +-
 gdb/gdb_proc_service.h    |    4 +-
 gdb/linux-thread-db.c     |   20 ++--
 gdb/mips-linux-nat.c      |    4 +-
 gdb/proc-service.c        |   12 +-
 gdb/python/python-utils.c |   16 ++-
 gdb/valprint.c            |   15 +--
 gdb/version.in            |    2 +-
 include/opcode/ChangeLog  |    4 +
 include/opcode/ppc.h      |    3 +
 opcodes/ChangeLog         |   58 +++++++
 opcodes/i386-dis.c        |   11 +-
 opcodes/ppc-dis.c         |    5 +-
 opcodes/ppc-opc.c         |  369 ++++++++++++++++++++++++++++++++++++++++++---
 16 files changed, 521 insertions(+), 90 deletions(-)

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 15e8afe..2f5e2a4 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20090226
+#define BFD_VERSION_DATE 20090228
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 705802d..4d537be 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,40 @@
+2009-02-27  Pedro Alves  <pedro@codesourcery.com>
+
+	* gdb_proc_service.h (struct ps_prochandle): Replace pid_t field
+	with a ptid_t field.
+	* linux-thread-db.c (thread_get_info_callback): Build the ptid
+	using the pid stored in proc_handle.ptid.
+	(thread_from_lwp, thread_db_attach_lwp, enable_thread_event)
+	(check_for_thread_db, thread_db_detach, check_event)
+	(thread_db_mourn_inferior, find_new_threads_callback)
+	(thread_db_find_new_threads_1): Adjust.
+	* proc-service.c (ps_xfer_memory, ps_lgetregs, ps_lsetregs)
+	(ps_lgetfpregs, ps_lsetfpregs, ps_getpid): Adjust.
+
+2009-02-27  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* valprint.c (read_string): Rework clean-up logic. Use
+	free_current_contents to clean-up buffer.
+
+2009-02-27  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* MAINTAINERS: Update e-mail address.
+
+2009-02-26  Phil Muldoon  <pmuldoon@redhat.com>
+
+	* python/python-utils.c (python_string_to_unicode): Always return
+	a new reference.
+	(python_string_to_target_string): Decrement transient python
+	instance.
+	(python_string_to_host_string): Likewise.
+
+2007-02-26  Pedro Alves  <pedro@codesourcery.com>
+
+	* mips-linux-nat.c (mips64_linux_fetch_registers): Pass `ops' to
+	call to super_fetch_registers.
+	(mips64_linux_store_registers): Pass `ops' to call to
+	super_store_registers.
+
 2009-02-25  Doug Evans  <dje@google.com>
 
 	* breakpoint.c (insert_bp_location): Add \n to overlay breakpoint
@@ -42,7 +79,6 @@
 	* windows-nat.c (windows_thread_alive): Fix forward declaration.
 	(get_windows_debug_event): Add ops parameter to call to windows_resume.
 
-
 2009-02-23  Pedro Alves  <pedro@codesourcery.com>
 
 	* remote-sim.c (gdbsim_resume): Add target_ops* argument.
@@ -123,7 +159,7 @@
 	(target_fetch_registers, target_store_registers)
 	(target_thread_alive, target_find_new_threads): Redeclare as
 	function.
-	
+
 	* target.c (update_current_target): Do not inherit or de_fault
 	to_resume, to_fetch_registers, to_store_registers,
 	to_thread_alive, to_find_new_threads.
@@ -135,9 +171,9 @@
 	(target_store_registers): New.
 	(debug_to_thread_alive, debug_to_find_new_threads): Delete.
 	(setup_target_debug): Adjust.
-	
+
 	* gdbcore.h (core_ops): Delete declaration.
-	
+
 	* inf-ptrace.c, linux-nat.c, remote.c, amd64-linux-nat.c,
 	inf-child.c, linux-thread-db.c, bsd-uthread.c, inf-ttrace.c,
 	i386-sol2-tdep.c, darwin-nat.c, gnu-nat.c, go32-nat.c,
@@ -174,11 +210,11 @@
 	Silence a few -Wmissing-prototypes warnings.
 
 	PR build/9877:
-        * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Make
+	* alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Make
 	it static.
-        * alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Declare.
-        * amd64fbsd-tdep.c (amd64fbsd_init_abi): Make it static.
-        * amd64nbsd-tdep.c (_initialize_amd64nbsd_ndep): Rename to ...
+	* alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Declare.
+	* amd64fbsd-tdep.c (amd64fbsd_init_abi): Make it static.
+	* amd64nbsd-tdep.c (_initialize_amd64nbsd_ndep): Rename to ...
 	(_initialize_amd64nbsd_tdep): ... this.
 	* arm-linux-tdep.c (arm_linux_software_single_step): Make it static.
 	(_initialize_arm_linux_tdep): Declare.
@@ -349,8 +385,8 @@
 	* solib-svr4.c (HAS_LM_DYNAMIC_FROM_LINK_MAP): Add a prototype.
 	* target.h (struct target_ops): Add a prototype to the
 	to_can_execute_reverse callback.
-	* macroscope.c (_initialize_macroscope): Declare before definition. 
-	* cp-namespace.c (_initialize_cp_namespace): Declare before definition. 
+	* macroscope.c (_initialize_macroscope): Declare before definition.
+	* cp-namespace.c (_initialize_cp_namespace): Declare before definition.
 	* python/python.c (_initialize_python): Declare before definition.
 	* tui/tui-command.c: Include "tui/tui-command.h".
 	* tui/tui-data.c (init_content_element, init_win_info): Make them
@@ -464,15 +500,15 @@
 
 	Include frame information for *stopped due to CLI commands.
 
-        * ada-tasks.c (ada_normal_stop_observer): Adjust prototype.
-        * infcmd.c (finish_command_continuation): Pass '1' for
-        'print_frame' parameter to the observer.
-        * infrun.c (normal_stop): Don't print mi-specific information
-        here. Pass 'stop_print_frame' to the 'print_frame' parameter
-        of the observer.
-        * mi/mi-interp.c (mi_on_normal_stop): Adjust prototype.
-        If we need to print frame, and current uiout is not the MI one,
-        print frame again.
+	* ada-tasks.c (ada_normal_stop_observer): Adjust prototype.
+	* infcmd.c (finish_command_continuation): Pass '1' for
+	'print_frame' parameter to the observer.
+	* infrun.c (normal_stop): Don't print mi-specific information
+	here. Pass 'stop_print_frame' to the 'print_frame' parameter
+	of the observer.
+	* mi/mi-interp.c (mi_on_normal_stop): Adjust prototype.
+	If we need to print frame, and current uiout is not the MI one,
+	print frame again.
 
 2009-02-13  Pierre Muller  <muller@ics.u-strasbg.fr>
 
@@ -510,7 +546,7 @@
 	(pascal_printstr): Handle char width of 2 or 4.
 	* p-valprint.c (pascal_val_print): Handle char
 	of width 2 or 4.
-	
+
 2009-02-07  Daniel Jacobowitz  <dan@codesourcery.com>
 
 	* dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and highpc
@@ -599,7 +635,7 @@
 	* Makefile.in (ALL_TARGET_OBS): Add linux-tdep.o.
 	(HFILES_NO_SRCDIR): Add linux-tdep.h.
 	(ALLDEPFILES): Add linux-tdep.c.
-	
+
 	* configure.tgt (arm*-*-linux* | arm*-*-uclinux*)
 	(i[34567]86-*-linux*, x86_64-*-linux*): Add linux-tdep.o to
 	gdb_target_obs.
@@ -1553,7 +1589,7 @@
 	(exec_file_command): Likewise.
 	* corefile.c (reopen_exec_file): Do cleanups before returning.
 	* breakpoint.c (insert_breakpoint_locations): Do cleanups before
-	returning. 
+	returning.
 	(do_vec_free): New function.
 	(update_global_location_list): Make a cleanup for old_locations.
 	Do cleanups before returning.  Remove unused variable 'e'.
@@ -1564,7 +1600,7 @@
 
 2009-01-08  Joel Brobecker  <brobecker@adacore.com>
 	    Emi Suzuki  <emi-suzuki@tjsys.co.jp>
- 
+
 	* breakpoint.c (do_enable_breakpoint): Use update_watchpoint for
 	watchpoints.
 
diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS
index ad4faff..874f4b9 100644
--- a/gdb/MAINTAINERS
+++ b/gdb/MAINTAINERS
@@ -356,7 +356,7 @@ GNU/Linux/x86 native & host
 			Mark Kettenis		kettenis@gnu.org
 GNU/Linux MIPS native & host
 			Daniel Jacobowitz	dan@debian.org
-GNU/Linux m68k		Andreas Schwab		schwab@suse.de
+GNU/Linux m68k		Andreas Schwab		schwab@linux-m68k.org
 FreeBSD native & host	Mark Kettenis		kettenis@gnu.org
 
 
@@ -565,7 +565,7 @@ Kei Sakamoto					sakamoto.kei@renesas.com
 Mark Salter					msalter@redhat.com
 Richard Sandiford				richard@codesourcery.com
 Peter Schauer					Peter.Schauer@mytum.de
-Andreas Schwab					schwab@suse.de
+Andreas Schwab					schwab@linux-m68k.org
 Thomas Schwinge					tschwinge@gnu.org
 Keith Seitz					keiths@redhat.com
 Carlos Eduardo Seo				cseo@linux.vnet.ibm.com
diff --git a/gdb/gdb_proc_service.h b/gdb/gdb_proc_service.h
index 7495a4b..de62c9d 100644
--- a/gdb/gdb_proc_service.h
+++ b/gdb/gdb_proc_service.h
@@ -75,8 +75,8 @@ typedef prfpregset_t gdb_prfpregset_t;
 /* Structure that identifies the target process.  */
 struct ps_prochandle
 {
-  /* The process id is all we need.  */
-  pid_t pid;
+  /* The LWP we use for memory reads.  */
+  ptid_t ptid;
 };
 
 #endif /* gdb_proc_service.h */
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c
index 5281823..22f50cc 100644
--- a/gdb/linux-thread-db.c
+++ b/gdb/linux-thread-db.c
@@ -265,7 +265,7 @@ thread_get_info_callback (const td_thrhandle_t *thp, void *infop)
 	   thread_db_err_str (err));
 
   /* Fill the cache.  */
-  thread_ptid = ptid_build (GET_PID (inferior_ptid), ti.ti_lid, 0);
+  thread_ptid = ptid_build (GET_PID (proc_handle.ptid), ti.ti_lid, 0);
   thread_info = find_thread_pid (thread_ptid);
 
   /* In the case of a zombie thread, don't continue.  We don't want to
@@ -309,7 +309,7 @@ thread_from_lwp (ptid_t ptid)
   gdb_assert (GET_LWP (ptid) != 0);
 
   /* Access an lwp we know is stopped.  */
-  proc_handle.pid = GET_LWP (ptid);
+  proc_handle.ptid = ptid;
   err = td_ta_map_lwp2thr_p (thread_agent, GET_LWP (ptid), &th);
   if (err != TD_OK)
     error (_("Cannot find user-level thread for LWP %ld: %s"),
@@ -352,7 +352,7 @@ thread_db_attach_lwp (ptid_t ptid)
   gdb_assert (GET_LWP (ptid) != 0);
 
   /* Access an lwp we know is stopped.  */
-  proc_handle.pid = GET_LWP (ptid);
+  proc_handle.ptid = ptid;
 
   /* If we have only looked at the first thread before libpthread was
      initialized, we may not know its thread ID yet.  Make sure we do
@@ -457,7 +457,7 @@ enable_thread_event (td_thragent_t *thread_agent, int event, CORE_ADDR *bp)
   td_err_e err;
 
   /* Access an lwp we know is stopped.  */
-  proc_handle.pid = GET_LWP (inferior_ptid);
+  proc_handle.ptid = inferior_ptid;
 
   /* Get the breakpoint address for thread EVENT.  */
   err = td_ta_event_addr_p (thread_agent, event, &notify);
@@ -637,7 +637,7 @@ check_for_thread_db (void)
     return;
 
   /* Initialize the structure that identifies the child process.  */
-  proc_handle.pid = GET_PID (inferior_ptid);
+  proc_handle.ptid = inferior_ptid;
 
   /* Now attempt to open a connection to the thread library.  */
   err = td_ta_new_p (&proc_handle, &thread_agent);
@@ -779,7 +779,7 @@ thread_db_detach (struct target_ops *ops, char *args, int from_tty)
 
   /* Forget about the child's process ID.  We shouldn't need it
      anymore.  */
-  proc_handle.pid = 0;
+  proc_handle.ptid = null_ptid;
 
   /* Detach thread_db target ops.  */
   unpush_target (&thread_db_ops);
@@ -810,7 +810,7 @@ check_event (ptid_t ptid)
     return;
 
   /* Access an lwp we know is stopped.  */
-  proc_handle.pid = GET_LWP (ptid);
+  proc_handle.ptid = ptid;
 
   /* If we have only looked at the first thread before libpthread was
      initialized, we may not know its thread ID yet.  Make sure we do
@@ -934,7 +934,7 @@ thread_db_mourn_inferior (struct target_ops *ops)
 
   /* Forget about the child's process ID.  We shouldn't need it
      anymore.  */
-  proc_handle.pid = 0;
+  proc_handle.ptid = null_ptid;
 
   target_beneath->to_mourn_inferior (target_beneath);
 
@@ -963,7 +963,7 @@ find_new_threads_callback (const td_thrhandle_t *th_p, void *data)
   if (ti.ti_state == TD_THR_UNKNOWN || ti.ti_state == TD_THR_ZOMBIE)
     return 0;			/* A zombie -- ignore.  */
 
-  ptid = ptid_build (GET_PID (inferior_ptid), ti.ti_lid, 0);
+  ptid = ptid_build (GET_PID (proc_handle.ptid), ti.ti_lid, 0);
 
   if (ti.ti_tid == 0)
     {
@@ -1008,7 +1008,7 @@ thread_db_find_new_threads_1 (void)
     return;
 
   /* Access an lwp we know is stopped.  */
-  proc_handle.pid = GET_LWP (ptid);
+  proc_handle.ptid = ptid;
   /* Iterate over all user-space threads to discover new threads.  */
   err = td_ta_thr_iter_p (thread_agent, find_new_threads_callback, NULL,
 			  TD_THR_ANY_STATE, TD_THR_LOWEST_PRIORITY,
diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c
index 1acdcbe..2db2969 100644
--- a/gdb/mips-linux-nat.c
+++ b/gdb/mips-linux-nat.c
@@ -314,7 +314,7 @@ mips64_linux_fetch_registers (struct target_ops *ops,
   /* If we know, or just found out, that PTRACE_GETREGS does not work, fall
      back to PTRACE_PEEKUSER.  */
   if (!have_ptrace_regsets)
-    super_fetch_registers (regcache, regnum);
+    super_fetch_registers (ops, regcache, regnum);
 }
 
 /* Store REGNO (or all registers if REGNO == -1) to the target
@@ -331,7 +331,7 @@ mips64_linux_store_registers (struct target_ops *ops,
   /* If we know, or just found out, that PTRACE_GETREGS does not work, fall
      back to PTRACE_PEEKUSER.  */
   if (!have_ptrace_regsets)
-    super_store_registers (regcache, regnum);
+    super_store_registers (ops, regcache, regnum);
 }
 
 /* Return the address in the core dump or inferior of register
diff --git a/gdb/proc-service.c b/gdb/proc-service.c
index 425afd9..dc05440 100644
--- a/gdb/proc-service.c
+++ b/gdb/proc-service.c
@@ -97,7 +97,7 @@ ps_xfer_memory (const struct ps_prochandle *ph, psaddr_t addr,
   int ret;
   CORE_ADDR core_addr = ps_addr_to_core_addr (addr);
 
-  inferior_ptid = pid_to_ptid (ph->pid);
+  inferior_ptid = ph->ptid;
 
   if (write)
     ret = target_write_memory (core_addr, buf, len);
@@ -257,7 +257,7 @@ ps_lgetregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, prgregset_t gregset)
   struct cleanup *old_chain = save_inferior_ptid ();
   struct regcache *regcache;
 
-  inferior_ptid = BUILD_LWP (lwpid, ph->pid);
+  inferior_ptid = BUILD_LWP (lwpid, ptid_get_pid (ph->ptid));
   regcache = get_thread_regcache (inferior_ptid);
 
   target_fetch_registers (regcache, -1);
@@ -276,7 +276,7 @@ ps_lsetregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, const prgregset_t gregset)
   struct cleanup *old_chain = save_inferior_ptid ();
   struct regcache *regcache;
 
-  inferior_ptid = BUILD_LWP (lwpid, ph->pid);
+  inferior_ptid = BUILD_LWP (lwpid, ptid_get_pid (ph->ptid));
   regcache = get_thread_regcache (inferior_ptid);
 
   supply_gregset (regcache, (const gdb_gregset_t *) gregset);
@@ -296,7 +296,7 @@ ps_lgetfpregs (gdb_ps_prochandle_t ph, lwpid_t lwpid,
   struct cleanup *old_chain = save_inferior_ptid ();
   struct regcache *regcache;
 
-  inferior_ptid = BUILD_LWP (lwpid, ph->pid);
+  inferior_ptid = BUILD_LWP (lwpid, ptid_get_pid (ph->ptid));
   regcache = get_thread_regcache (inferior_ptid);
 
   target_fetch_registers (regcache, -1);
@@ -316,7 +316,7 @@ ps_lsetfpregs (gdb_ps_prochandle_t ph, lwpid_t lwpid,
   struct cleanup *old_chain = save_inferior_ptid ();
   struct regcache *regcache;
 
-  inferior_ptid = BUILD_LWP (lwpid, ph->pid);
+  inferior_ptid = BUILD_LWP (lwpid, ptid_get_pid (ph->ptid));
   regcache = get_thread_regcache (inferior_ptid);
 
   supply_fpregset (regcache, (const gdb_fpregset_t *) fpregset);
@@ -332,7 +332,7 @@ ps_lsetfpregs (gdb_ps_prochandle_t ph, lwpid_t lwpid,
 pid_t
 ps_getpid (gdb_ps_prochandle_t ph)
 {
-  return ph->pid;
+  return ptid_get_pid (ph->ptid);
 }
 
 /* Provide a prototype to silence -Wmissing-prototypes.  */
diff --git a/gdb/python/python-utils.c b/gdb/python/python-utils.c
index b0ec7b3..ddac2f5 100644
--- a/gdb/python/python-utils.c
+++ b/gdb/python/python-utils.c
@@ -81,7 +81,11 @@ python_string_to_unicode (PyObject *obj)
   /* If obj is already a unicode string, just return it.
      I wish life was always that simple...  */
   if (PyUnicode_Check (obj))
-    unicode_str = obj;
+    {
+      unicode_str = obj;
+      Py_INCREF (obj);
+    }
+  
   else if (PyString_Check (obj))
     unicode_str = PyUnicode_FromEncodedObject (obj, host_charset (), NULL);
   else
@@ -136,12 +140,15 @@ char *
 python_string_to_target_string (PyObject *obj)
 {
   PyObject *str;
+  char *result;
 
   str = python_string_to_unicode (obj);
   if (str == NULL)
     return NULL;
 
-  return unicode_to_target_string (str);
+  result = unicode_to_target_string (str);
+  Py_DECREF (str);
+  return result;
 }
 
 /* Converts a python string (8-bit or unicode) to a target string in
@@ -152,12 +159,15 @@ char *
 python_string_to_host_string (PyObject *obj)
 {
   PyObject *str;
+  char *result;
 
   str = python_string_to_unicode (obj);
   if (str == NULL)
     return NULL;
 
-  return unicode_to_encoded_string (str, host_charset ());
+  result = unicode_to_encoded_string (str, host_charset ()); 
+  Py_DECREF (str);
+  return result;
 }
 
 /* Converts a target string of LENGTH bytes in the target's charset to a
diff --git a/gdb/valprint.c b/gdb/valprint.c
index d13dc4c..b02e9df 100644
--- a/gdb/valprint.c
+++ b/gdb/valprint.c
@@ -1226,13 +1226,14 @@ read_string (CORE_ADDR addr, int len, int width, unsigned int fetchlimit,
      some error, such as bumping into the end of the address space.  */
 
   found_nul = 0;
-  old_chain = make_cleanup (null_cleanup, 0);
+  *buffer = NULL;
+
+  old_chain = make_cleanup (free_current_contents, buffer);
 
   if (len > 0)
     {
       *buffer = (gdb_byte *) xmalloc (len * width);
       bufptr = *buffer;
-      old_chain = make_cleanup (xfree, *buffer);
 
       nfetch = partial_memory_read (addr, bufptr, len * width, &errcode)
 	/ width;
@@ -1243,8 +1244,6 @@ read_string (CORE_ADDR addr, int len, int width, unsigned int fetchlimit,
     {
       unsigned long bufsize = 0;
 
-      *buffer = NULL;
-
       do
 	{
 	  QUIT;
@@ -1253,13 +1252,9 @@ read_string (CORE_ADDR addr, int len, int width, unsigned int fetchlimit,
 	  if (*buffer == NULL)
 	    *buffer = (gdb_byte *) xmalloc (nfetch * width);
 	  else
-	    {
-	      discard_cleanups (old_chain);
-	      *buffer = (gdb_byte *) xrealloc (*buffer,
-					       (nfetch + bufsize) * width);
-	    }
+	    *buffer = (gdb_byte *) xrealloc (*buffer,
+					     (nfetch + bufsize) * width);
 
-	  old_chain = make_cleanup (xfree, *buffer);
 	  bufptr = *buffer + bufsize * width;
 	  bufsize += nfetch;
 
diff --git a/gdb/version.in b/gdb/version.in
index 597970c..b64cebd 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-6.8.50.20090226-cvs
+6.8.50.20090228-cvs
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index adf3940..f7018b8 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2009-02-26  Peter Bergner  <bergner@vnet.ibm.com>
+
+	* ppc.h (PPC_OPCODE_POWER7): New.
+
 2009-02-06  Doug Evans  <dje@google.com>
 
 	* i386.h: Add comment regarding sse* insns and prefixes.
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h


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


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

* [SCM]  master: *** empty log message ***
@ 2008-11-10 15:43 sergio
  0 siblings, 0 replies; 8+ messages in thread
From: sergio @ 2008-11-10 15:43 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  fbdc18c6fdc2c2242759db89754880e8e1c2dc3a (commit)
       via  b32a10dff8f05d23a236fb9e6218cdcaa4882d43 (commit)
       via  67259e81f777345c0a57fa1a658cbe76a38074cc (commit)
       via  9a61fea6bb6688fd79be98a3d0a762920c6f82f8 (commit)
       via  1a17e40731a1c5cb5bd1f38188c8ee5d7358144a (commit)
       via  6cef41d170a541a1a0ecd3b4a3fd6604b17441ab (commit)
       via  8c15bd9c35810bd13f3cf76778921c2720381b82 (commit)
       via  6d937320fa6b4c6bab9fecddad029d1154f3ce57 (commit)
       via  a3786d5b56b9e490fcb222534600de3290b32573 (commit)
       via  3ed2b5519dd59243afc2e0247fb1bf2fadccf782 (commit)
       via  34d9a4be735089aff39c0815af785394dc822afa (commit)
       via  a662a231e16ecb97b865e0d13a9f2932abdc0a1e (commit)
       via  502caf701374df2ef550841611071c343740031e (commit)
       via  b4e87467e67a27ad839b4c4a9755804dd8c5003a (commit)
       via  48ceb8d63c54946f3f4d8d3758103c1f7eb5e614 (commit)
       via  6bb8939b7104369c8831d1bbd4a78ee986a9ee93 (commit)
       via  1b4ed564885ab95429ffdfc1d07c849ae6f0347d (commit)
       via  a1b562fc7b79b7352825cad336b424c3193c4583 (commit)
       via  d297acb5d793f7b228a638296cbdf28df13ba27b (commit)
       via  4e87deb1b2bbb9446d99c446ebe092ca9d343ded (commit)
       via  842a1248c74850a500ab465479dfd1c7b4571b6a (commit)
       via  910d63a50e403ea202f85b8b94d2e65980b1f86a (commit)
       via  b9dca975b7d7ea2dfb6298e1cd965119eddd5291 (commit)
       via  b30d4db9c6c02926e2d7c1277a20ea4157947dca (commit)
       via  3ac2a75a00cb17265fe90f06a0a42a97b3d041ee (commit)
       via  583e12aaa9c8dc9101a638732d6674ddf56bc9bd (commit)
       via  d1d203e291e074141bd005494ff3914847ab9633 (commit)
       via  8097dfdc83d8f6571913bb1defc63399f94a976e (commit)
      from  227a0cb2d3e6cd768f4a64f39ead8dd36561af4d (commit)

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

- Log -----------------------------------------------------------------
commit fbdc18c6fdc2c2242759db89754880e8e1c2dc3a
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Nov 10 00:00:33 2008 +0000

    *** empty log message ***

commit b32a10dff8f05d23a236fb9e6218cdcaa4882d43
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Nov 9 23:59:09 2008 +0000

    daily update

commit 67259e81f777345c0a57fa1a658cbe76a38074cc
Author: Vladimir Prus <vladimir@codesourcery.com>
Date:   Sun Nov 9 11:27:17 2008 +0000

    	Kill pthread_ops_hack
    
    	* target.h (struct target_ops): Make to_attach, to_detach,
    	to_create_inferior and to_mourn_inferior accept a pointer
        	to struct target_ops.
    	(target_attach, target_create_inferior, target_create_inferior):
    	Convert from macros to function.  Find the right target to
    	invoke a method of.
    	(find_default_attach, find_default_create_inferior): New parameter
    	ops.
    	* corefile.c (core_file_command): Pass target to to_detach.
    	* corelow.c (core_detach): Add 'ops' parameter.
    	* fork-child.c (fork_inferior): Return the pid.  Allow
    	init_trace_fun to be NULL.
    	* inf-ptrace (ptrace_ops_hack): Remove.
    	(inf_ptrace_him): Remove, moving all logic into....
    	(inf_ptrace_create_inferior): ... here.  Push the target
    	passed as parameter.
    	(inf_ptrace_mourn_inferior, inf_ptrace_attach, inf_ptrace_detach):
    	Push/pop target passed as parameter, no ptrace_ops_hack.
    	(inf_ptrace_target): Don't remember result.
    	* inferior.h (fork_inferior): Adjust prototype.
    	* linux-nat.c (linux_nat_create_inferior, linux_nat_attach)
    	(linux_nat_detach, linux_nat_mourn_inferior): New parameter ops.
    	Pass it to linux_ops target.
    	* linux-thread-db.c (thread_db_detach, thread_db_mourn_inferior):
    	New parameter ops. Pass it to the target beneath.
    	* remote.c (remote_mourn, extended_remote_mourn, remote_detach)
    	(extended_remote_create_inferior): New parameter ops. Pass it
    	further.
    	* target.c (debug_to_attach, debug_to_detach)
    	(debug_to_mourn_inferior): New parameter ops.
    	(target_create_inferior): New.
    	(update_current_target): Do not inherit to_attach, to_detach,
    	to_create_inferiour, to_mourn_inferior.  Do not default
    	to_detach and to_mourn_inferior.
    	(target_detach): Find the right target to use.
    	(target_mourn_inferior): New.
    	(find_default_attach, find_default_create_inferior): New parameter
    	ops.  Pass the found target when calling its method.
    	(init_dummy_target): Provide fallback definition of to_detach.
    	(target_attach): New.
    	(debug_to_attach, debug_to_detach, debug_to_create_inferior)
    	(debug_to_mourn_inferiour): New parameter ops.
            * aix-thread.c: Adjust.
            * bsd-uthread.c: Adjust.
            * gnu-nat.c: Adjust.
            * go32-nat.c: Adjust.
            * hpux-thread.c: Adjust.
            * inf-ttrace.c: Ajust.
            * monitor.c: Adjust.
            * nto-procfs.c: Adjust.
            * procfs.c: Adjust.
            * remote-m32r-sdi.c: Adjust.
            * remote-mips.c: Adjust.
            * remote-sim.c: Adjust.
            * rs6000-nat.c: Adjust.
            * sol-thread.c: Adjust.
            * win32-nat.c: Adjust.
    	* dec-thread.c: Adjust.

commit 9a61fea6bb6688fd79be98a3d0a762920c6f82f8
Author: Vladimir Prus <vladimir@codesourcery.com>
Date:   Sun Nov 9 07:54:27 2008 +0000

    	* thread.c (print_thread_info): Eliminate now useless checks
    	for exited threads.

commit 1a17e40731a1c5cb5bd1f38188c8ee5d7358144a
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Nov 9 00:00:03 2008 +0000

    *** empty log message ***

commit 6cef41d170a541a1a0ecd3b4a3fd6604b17441ab
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Nov 8 23:59:14 2008 +0000

    daily update

commit 8c15bd9c35810bd13f3cf76778921c2720381b82
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Sat Nov 8 09:38:06 2008 +0000

    (coff_symtab_read): Fix a typo in a comment.

commit 6d937320fa6b4c6bab9fecddad029d1154f3ce57
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Nov 8 00:00:02 2008 +0000

    *** empty log message ***

commit a3786d5b56b9e490fcb222534600de3290b32573
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Nov 7 23:59:19 2008 +0000

    daily update

commit 3ed2b5519dd59243afc2e0247fb1bf2fadccf782
Author: Doug Evans <dje@google.com>
Date:   Fri Nov 7 21:05:27 2008 +0000

    fix typo in date

commit 34d9a4be735089aff39c0815af785394dc822afa
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Nov 7 00:00:34 2008 +0000

    *** empty log message ***

commit a662a231e16ecb97b865e0d13a9f2932abdc0a1e
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Nov 6 23:59:25 2008 +0000

    daily update

commit 502caf701374df2ef550841611071c343740031e
Author: Chao-ying Fu <fu@mips.com>
Date:   Thu Nov 6 19:40:10 2008 +0000

    2008-11-06  Chao-ying Fu  <fu@mips.com>
    
    	* mips-opc.c (synciobdma, syncs, syncw, syncws): Move these
    	before sync.
    	(sync): New instruction with 5-bit sync type.
    	* mips-dis.c (print_insn_args: Add case '1' to print 5-bit values.

commit b4e87467e67a27ad839b4c4a9755804dd8c5003a
Author: Chao-ying Fu <fu@mips.com>
Date:   Thu Nov 6 19:32:42 2008 +0000

    2008-11-06  Chao-ying Fu  <fu@mips.com>
    
    	* mips.h: Doucument '1' for 5-bit sync type.

commit 48ceb8d63c54946f3f4d8d3758103c1f7eb5e614
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Nov 6 16:44:39 2008 +0000

    	* i386-dicos-tdep.c (i386_dicos_init_abi): Set decr_pc_after_break
    	to 0.

commit 6bb8939b7104369c8831d1bbd4a78ee986a9ee93
Author: Nick Clifton <nickc@redhat.com>
Date:   Thu Nov 6 15:36:37 2008 +0000

    Add m32c-*-rtems* and m32r-*-rtems* configuration targets.

commit 1b4ed564885ab95429ffdfc1d07c849ae6f0347d
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Nov 6 14:10:45 2008 +0000

    	* configure, config.in: Rebuild.
    	* configure.in: Check for fileno.
    	* bfdio.c (close_on_exec): New function.
    	(real_fopen): Use it.
    	(FD_CLOEXEC): New define.

commit a1b562fc7b79b7352825cad336b424c3193c4583
Author: Tristan Gingold <gingold@adacore.com>
Date:   Thu Nov 6 13:10:15 2008 +0000

    Remove extra blank line.

commit d297acb5d793f7b228a638296cbdf28df13ba27b
Author: Tristan Gingold <gingold@adacore.com>
Date:   Thu Nov 6 13:03:43 2008 +0000

    2008-11-06  Tristan Gingold  <gingold@adacore.com>
    
    	* mach-o.h (BFD_MACH_O_NO_SECT): Add; reorders the macros.
    	(BFD_MACH_O_SYM_NTYPE, BFD_MACH_O_SYM_NSECT,
    	BFD_MACH_O_SYM_NDESC): New macros.
    	(bfd_mach_o_i386_thread_flavour): Define according to the latest
    	definition from system header.
    	(bfd_mach_o_load_command_type): Add BFD_MACH_O_LC_RPATH,
    	BFD_MACH_O_LC_CODE_SIGNATURE.
    	(BFD_MACH_O_SECTION_TYPE_MASK, BFD_MACH_O_SECTION_ATTRIBUTES_MASK,
    	BFD_MACH_O_SECTION_ATTRIBUTES_SYS, BFD_MACH_O_SECTION_ATTRIBUTES_USR,
    	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_ATTR_PURE_INSTRUCTIONS): Add.
    	(bfd_mach_o_segment_command): Add room for a nul terminator in
    	segname field.
    	(BFD_MACH_O_PROT_READ, BFD_MACH_O_PROT_WRITE,
    	BFD_MACH_O_PROT_EXECUTE): Add.
    	(INDIRECT_SYMBOL_LOCAL): Renames to BFD_MACH_O_INDIRECT_SYMBOL_LOCAL.
    	(INDIRECT_SYMBOL_ABS): Renames to BFD_MACH_O_INDIRECT_SYMBOL_ABS.
    	(bfd_mach_o_uuid_command): Add the structure.
    	(bfd_mach_o_load_command): Add uuid field.
    	(bfd_get_mach_o_data): New macro.
    	* mach-o.c (bfd_mach_o_bfd_print_private_bfd_data): New function which
    	replaces the macro.
    	(SECTION_TYPE, SECTION_ATTRIBUTES, SECTION_ATTRIBUTES_USR,
    	S_ATTR_PURE_INSTRUCTIONS, SECTION_ATTRIBUTES_SYS,
    	S_ATTR_SOME_INSTRUCTIONS, S_ATTR_EXT_RELOC, S_ATTR_LOC_RELOC): Renamed
    	and moved to mach-o.h.
    	(N_STAB, N_TYPE, N_EXT, N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS,
    	N_SECT, N_INDR): Removed as they duplicated macros in mach-o.h.
    	(bfd_mach_o_print_symbol): Print much more details.
    	(bfd_mach_o_make_bfd_section): Add prot argument, use canonical
    	dwarf name for dwarf sections.  Precisely set section flags.
    	(bfd_mach_o_scan_read_section_32): Add prot argument.
    	(bfd_mach_o_scan_read_section_64): Ditto.
    	(bfd_mach_o_scan_read_section): Ditto.
    	(bfd_mach_o_scan_read_symtab_symbol): Set section for debugging
    	stabs, set BSF_GLOBAL and LOCAL flags correctly.  Fix section
    	for N_SECT symbols.
    	(bfd_mach_o_i386_flavour_string): Reindent and adjust for new
    	names.
    	(bfd_mach_o_scan_read_symtab): Set HAS_SYMS flags on bfd if there
    	are symbols.
    	(bfd_mach_o_scan_read_uuid): New function.
    	(bfd_mach_o_scan_read_segment): Add a trailing nul.  Segments
    	flags are now simply HAS_CONTENTS.  Pass protection to
    	bfd_mach_o_scan_read_section.
    	(bfd_mach_o_scan_read_command): Decode UUID command.
    	(bfd_mach_o_flatten_sections): Add comments.  Fix flavour names.
    	(bfd_mach_o_scan): Set flags according to file type.
    	(mach_o_fat_archentry): Remove abfd field.
    	(bfd_mach_o_archive_p): Remove initialization of abfd field.
    	(bfd_mach_o_openr_next_archived_file): Find previous archive
    	by position and not by bfd (as former bfds may have been freed).
    	Give architecture name to archived file.
    	* mach-o-target.c (TARGET_NAME): Use generic archive for non fat
    	targets.

commit 4e87deb1b2bbb9446d99c446ebe092ca9d343ded
Author: Nick Clifton <nickc@redhat.com>
Date:   Thu Nov 6 12:03:24 2008 +0000

            * avr-dis.c: Replace uses of sprintf without a format string with
            calls to strcpy.

commit 842a1248c74850a500ab465479dfd1c7b4571b6a
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Nov 6 00:00:03 2008 +0000

    *** empty log message ***

commit 910d63a50e403ea202f85b8b94d2e65980b1f86a
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Nov 5 23:59:29 2008 +0000

    daily update

commit b9dca975b7d7ea2dfb6298e1cd965119eddd5291
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Wed Nov 5 21:19:44 2008 +0000

    	* remote.c (notice_new_inferiors): Add a new inferior only when
    	we're going to add a new thread.

commit b30d4db9c6c02926e2d7c1277a20ea4157947dca
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Wed Nov 5 20:23:06 2008 +0000

    	* defs.h (add_inferior_continuation)
    	(do_all_inferior_continuations)
    	(discard_all_inferior_continuations): Declare.
    	* utils.c (add_inferior_continuation)
    	(do_all_inferior_continuations)
    	(discard_all_inferior_continuations): New.
    	* inferior.h (struct inferior) <continuations>: New field.
    	* inferior.c (free_inferior): Discard all the inferior
    	continuations.
    	* inf-loop.c (inferior_event_handler): Do all current inferior
    	continuations.
    	* infcmd.c (attach_command): Register an inferior continuation
    	instead of a thread continuation.
    	* infrun.c (handle_inferior_event): If stop_soon is
    	STOP_QUIETLY_NO_SIGSTOP, also expect a TARGET_SIGNAL_0.

commit 3ac2a75a00cb17265fe90f06a0a42a97b3d041ee
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Nov 5 00:00:33 2008 +0000

    *** empty log message ***

commit 583e12aaa9c8dc9101a638732d6674ddf56bc9bd
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Nov 4 23:59:35 2008 +0000

    daily update

commit d1d203e291e074141bd005494ff3914847ab9633
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Tue Nov 4 20:52:22 2008 +0000

    	* inf-loop.c (inferior_event_handler): On INF_ERROR and
    	INF_REG_EVENT throwing, don't call target_async or pop_target.
    	Call pop_all_targets_above.
    	* remote.c (remote_close): Call remote_terminal_ours.  Don't call
    	signal or target_async.

commit 8097dfdc83d8f6571913bb1defc63399f94a976e
Author: Daniel Jacobowitz <dan@debian.org>
Date:   Tue Nov 4 15:32:53 2008 +0000

    	* eval.c (evaluate_subexp_standard): Assert that there is at
    	least one array dimension.

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

Summary of changes:
 bfd/ChangeLog            |   71 ++++++++
 bfd/bfdio.c              |   25 +++-
 bfd/config.bfd           |    2 +-
 bfd/config.in            |    3 +
 bfd/configure            |    3 +-
 bfd/configure.in         |    2 +-
 bfd/mach-o-target.c      |   10 +-
 bfd/mach-o.c             |  444 ++++++++++++++++++++++++++++++++++++----------
 bfd/mach-o.h             |   94 ++++++++---
 bfd/version.h            |    2 +-
 gdb/ChangeLog            |  111 ++++++++++++-
 gdb/aix-thread.c         |   12 +-
 gdb/bsd-uthread.c        |    5 +-
 gdb/coffread.c           |    2 +-
 gdb/corefile.c           |    2 +-
 gdb/corelow.c            |    6 +-
 gdb/dec-thread.c         |    4 +-
 gdb/defs.h               |   12 ++
 gdb/eval.c               |    2 +
 gdb/fork-child.c         |    6 +-
 gdb/gnu-nat.c            |    9 +-
 gdb/go32-nat.c           |   11 +-
 gdb/hpux-thread.c        |   17 +-
 gdb/i386-dicos-tdep.c    |    4 +
 gdb/inf-loop.c           |   11 +-
 gdb/inf-ptrace.c         |   44 ++---
 gdb/inf-ttrace.c         |   10 +-
 gdb/infcmd.c             |    5 +-
 gdb/inferior.c           |    1 +
 gdb/inferior.h           |   11 +-
 gdb/infrun.c             |   13 ++-
 gdb/linux-nat.c          |   17 +-
 gdb/linux-thread-db.c    |   10 +-
 gdb/monitor.c            |    8 +-
 gdb/nto-procfs.c         |   10 +-
 gdb/procfs.c             |   19 +-
 gdb/remote-m32r-sdi.c    |    7 +-
 gdb/remote-mips.c        |    4 +-
 gdb/remote-sim.c         |    4 +-
 gdb/remote.c             |   60 +++---
 gdb/rs6000-nat.c         |    9 +-
 gdb/sol-thread.c         |   22 ++--
 gdb/target.c             |  114 +++++++++---
 gdb/target.h             |   25 ++--
 gdb/thread.c             |   19 +--
 gdb/utils.c              |   53 ++++++
 gdb/version.in           |    2 +-
 gdb/win32-nat.c          |   10 +-
 include/opcode/ChangeLog |    4 +
 include/opcode/mips.h    |    3 +-
 opcodes/ChangeLog        |   12 ++
 opcodes/avr-dis.c        |   10 +-
 opcodes/mips-dis.c       |    1 +
 opcodes/mips-opc.c       |    9 +-
 54 files changed, 1031 insertions(+), 355 deletions(-)

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9a70d7d..b46c879 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,74 @@
+2008-11-06  Joel Sherrill <joel.sherrill@oarcorp.com>
+
+	* config.bfd: Add m32c-*-rtems* and m32r-*-rtems*.
+
+2008-11-06  Tom Tromey  <tromey@redhat.com>
+
+	* configure, config.in: Rebuild.
+	* configure.in: Check for fileno.
+	* bfdio.c (close_on_exec): New function.
+	(real_fopen): Use it.
+	(FD_CLOEXEC): New define.
+
+2008-11-06  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.h (BFD_MACH_O_NO_SECT): Add; reorders the macros.
+	(BFD_MACH_O_SYM_NTYPE, BFD_MACH_O_SYM_NSECT,
+	BFD_MACH_O_SYM_NDESC): New macros.
+	(bfd_mach_o_i386_thread_flavour): Define according to the latest
+	definition from system header.
+	(bfd_mach_o_load_command_type): Add BFD_MACH_O_LC_RPATH,
+	BFD_MACH_O_LC_CODE_SIGNATURE.
+	(BFD_MACH_O_SECTION_TYPE_MASK, BFD_MACH_O_SECTION_ATTRIBUTES_MASK,
+	BFD_MACH_O_SECTION_ATTRIBUTES_SYS, BFD_MACH_O_SECTION_ATTRIBUTES_USR,
+	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_ATTR_PURE_INSTRUCTIONS): Add.
+	(bfd_mach_o_segment_command): Add room for a nul terminator in
+	segname field.
+	(BFD_MACH_O_PROT_READ, BFD_MACH_O_PROT_WRITE,
+	BFD_MACH_O_PROT_EXECUTE): Add.
+	(INDIRECT_SYMBOL_LOCAL): Renames to BFD_MACH_O_INDIRECT_SYMBOL_LOCAL.
+	(INDIRECT_SYMBOL_ABS): Renames to BFD_MACH_O_INDIRECT_SYMBOL_ABS.
+	(bfd_mach_o_uuid_command): Add the structure.
+	(bfd_mach_o_load_command): Add uuid field.
+	(bfd_get_mach_o_data): New macro.
+	* mach-o.c (bfd_mach_o_bfd_print_private_bfd_data): New function which
+	replaces the macro.
+	(SECTION_TYPE, SECTION_ATTRIBUTES, SECTION_ATTRIBUTES_USR,
+	S_ATTR_PURE_INSTRUCTIONS, SECTION_ATTRIBUTES_SYS,
+	S_ATTR_SOME_INSTRUCTIONS, S_ATTR_EXT_RELOC, S_ATTR_LOC_RELOC): Renamed
+	and moved to mach-o.h.
+	(N_STAB, N_TYPE, N_EXT, N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS,
+	N_SECT, N_INDR): Removed as they duplicated macros in mach-o.h.
+	(bfd_mach_o_print_symbol): Print much more details.
+	(bfd_mach_o_make_bfd_section): Add prot argument, use canonical
+	dwarf name for dwarf sections.  Precisely set section flags.
+	(bfd_mach_o_scan_read_section_32): Add prot argument.
+	(bfd_mach_o_scan_read_section_64): Ditto.
+	(bfd_mach_o_scan_read_section): Ditto.
+	(bfd_mach_o_scan_read_symtab_symbol): Set section for debugging
+	stabs, set BSF_GLOBAL and LOCAL flags correctly.  Fix section
+	for N_SECT symbols.
+	(bfd_mach_o_i386_flavour_string): Reindent and adjust for new
+	names.
+	(bfd_mach_o_scan_read_symtab): Set HAS_SYMS flags on bfd if there
+	are symbols.
+	(bfd_mach_o_scan_read_uuid): New function.
+	(bfd_mach_o_scan_read_segment): Add a trailing nul.  Segments
+	flags are now simply HAS_CONTENTS.  Pass protection to
+	bfd_mach_o_scan_read_section.
+	(bfd_mach_o_scan_read_command): Decode UUID command.
+	(bfd_mach_o_flatten_sections): Add comments.  Fix flavour names.
+	(bfd_mach_o_scan): Set flags according to file type.
+	(mach_o_fat_archentry): Remove abfd field.
+	(bfd_mach_o_archive_p): Remove initialization of abfd field.
+	(bfd_mach_o_openr_next_archived_file): Find previous archive
+	by position and not by bfd (as former bfds may have been freed).
+	Give architecture name to archived file.
+	* mach-o-target.c (TARGET_NAME): Use generic archive for non fat
+	targets.
+
 2008-10-30  Jay Krell  <jay.krell@cornell.edu>
 
 	* cache.c (cache_bread): Cast void * pointer before performing
diff --git a/bfd/bfdio.c b/bfd/bfdio.c
index d8aa1de..cb06453 100644
--- a/bfd/bfdio.c
+++ b/bfd/bfdio.c
@@ -38,6 +38,10 @@
 #define S_IXOTH 0001    /* Execute by others.  */
 #endif
 
+#ifndef FD_CLOEXEC
+#define FD_CLOEXEC 1
+#endif
+
 file_ptr
 real_ftell (FILE *file)
 {
@@ -62,13 +66,30 @@ real_fseek (FILE *file, file_ptr offset, int whence)
 #endif
 }
 
+/* Mark FILE as close-on-exec.  Return FILE.  FILE may be NULL, in
+   which case nothing is done.  */
+static FILE *
+close_on_exec (FILE *file)
+{
+#if defined (HAVE_FILENO) && defined (F_GETFD)
+  if (file)
+    {
+      int fd = fileno (file);
+      int old = fcntl (fd, F_GETFD, 0);
+      if (old >= 0)
+	fcntl (fd, F_SETFD, old | FD_CLOEXEC);
+    }
+#endif
+  return file;
+}
+
 FILE *
 real_fopen (const char *filename, const char *modes)
 {
 #if defined (HAVE_FOPEN64)
-  return fopen64 (filename, modes);
+  return close_on_exec (fopen64 (filename, modes));
 #else
-  return fopen (filename, modes);
+  return close_on_exec (fopen (filename, modes));
 #endif
 }
 
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 9309502..1bc971d 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -721,7 +721,7 @@ case "${targ}" in
     targ_defvec=bfd_elf32_iq2000_vec
     ;;
 
-  m32c-*-elf)
+  m32c-*-elf | m32c-*-rtems*)
     targ_defvec=bfd_elf32_m32c_vec
     ;;
 
diff --git a/bfd/config.in b/bfd/config.in
index f15e4ff..d1797ae 100644
--- a/bfd/config.in
+++ b/bfd/config.in
@@ -78,6 +78,9 @@
 /* Define to 1 if you have the `fdopen' function. */
 #undef HAVE_FDOPEN
 
+/* Define to 1 if you have the `fileno' function. */
+#undef HAVE_FILENO
+
 /* Define to 1 if you have the `fopen64' function. */
 #undef HAVE_FOPEN64
 
diff --git a/bfd/configure b/bfd/configure
index 84ba0f6..5cd7e77 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -17553,7 +17553,8 @@ fi
 
 
 
-for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid
+
+for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid fileno
 do
 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 echo "$as_me:$LINENO: checking for $ac_func" >&5
diff --git a/bfd/configure.in b/bfd/configure.in
index 72cefbc..bcc4615 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -179,7 +179,7 @@ GCC_HEADER_STDINT(bfd_stdint.h)
 AC_HEADER_TIME
 AC_HEADER_DIRENT
 ACX_HEADER_STRING
-AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf fdopen getuid getgid)
+AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf fdopen getuid getgid fileno)
 AC_CHECK_FUNCS(strtoull)
 
 AC_CHECK_DECLS(basename)
diff --git a/bfd/mach-o-target.c b/bfd/mach-o-target.c
index fd4d1e1..a435e6e 100644
--- a/bfd/mach-o-target.c
+++ b/bfd/mach-o-target.c
@@ -84,27 +84,31 @@ const bfd_target TARGET_NAME =
 #else
     _bfd_dummy_target,
     bfd_mach_o_object_p,
-    _bfd_dummy_target,
+    bfd_generic_archive_p,
     bfd_mach_o_core_p
 #endif
   },
   {				/* bfd_set_format.  */
     bfd_false,
     bfd_mach_o_mkobject,
-    bfd_false,
+    _bfd_generic_mkarchive,
     bfd_mach_o_mkobject,
   },
   {				/* bfd_write_contents.  */
     bfd_false,
     bfd_mach_o_write_contents,
-    bfd_false,
+    _bfd_write_archive_contents,
     bfd_mach_o_write_contents,
   },
 
   BFD_JUMP_TABLE_GENERIC (bfd_mach_o),
   BFD_JUMP_TABLE_COPY (bfd_mach_o),
   BFD_JUMP_TABLE_CORE (bfd_mach_o),
+#if TARGET_ARCHIVE
   BFD_JUMP_TABLE_ARCHIVE (bfd_mach_o),
+#else
+  BFD_JUMP_TABLE_ARCHIVE (_bfd_archive_bsd),
+#endif
   BFD_JUMP_TABLE_SYMBOLS (bfd_mach_o),
   BFD_JUMP_TABLE_RELOCS (_bfd_norelocs),
   BFD_JUMP_TABLE_WRITE (bfd_mach_o),
diff --git a/bfd/mach-o.c b/bfd/mach-o.c
index d3d3abc..afad9fd 100644
--- a/bfd/mach-o.c
+++ b/bfd/mach-o.c
@@ -24,6 +24,7 @@
 #include "bfd.h"
 #include "libbfd.h"
 #include "libiberty.h"
+#include "aout/stab_gnu.h"
 #include <ctype.h>
 
 #ifndef BFD_IO_FUNCS
@@ -64,7 +65,6 @@
 #define bfd_mach_o_set_arch_mach                      bfd_default_set_arch_mach
 #define bfd_mach_o_bfd_merge_private_bfd_data         _bfd_generic_bfd_merge_private_bfd_data
 #define bfd_mach_o_bfd_set_private_flags              _bfd_generic_bfd_set_private_flags
-#define bfd_mach_o_bfd_print_private_bfd_data         _bfd_generic_bfd_print_private_bfd_data
 #define bfd_mach_o_get_section_contents               _bfd_generic_get_section_contents
 #define bfd_mach_o_set_section_contents               _bfd_generic_set_section_contents
 #define bfd_mach_o_bfd_gc_sections                    bfd_generic_gc_sections
@@ -75,37 +75,6 @@
 #define bfd_mach_o_bfd_copy_private_header_data       _bfd_generic_bfd_copy_private_header_data
 #define bfd_mach_o_core_file_matches_executable_p     generic_core_file_matches_executable_p
 
-
-/* The flags field of a section structure is separated into two parts a section
-   type and section attributes.  The section types are mutually exclusive (it
-   can only have one type) but the section attributes are not (it may have more
-   than one attribute).  */
-
-#define SECTION_TYPE             0x000000ff     /* 256 section types.  */
-#define SECTION_ATTRIBUTES       0xffffff00     /*  24 section attributes.  */
-
-/* Constants for the section attributes part of the flags field of a section
-   structure.  */
-
-#define SECTION_ATTRIBUTES_USR   0xff000000     /* User-settable attributes.  */
-#define S_ATTR_PURE_INSTRUCTIONS 0x80000000     /* Section contains only true machine instructions.  */
-#define SECTION_ATTRIBUTES_SYS   0x00ffff00     /* System setable attributes.  */
-#define S_ATTR_SOME_INSTRUCTIONS 0x00000400     /* Section contains some machine instructions.  */
-#define S_ATTR_EXT_RELOC         0x00000200     /* Section has external relocation entries.  */
-#define S_ATTR_LOC_RELOC         0x00000100     /* Section has local relocation entries.  */
-
-#define N_STAB 0xe0
-#define N_TYPE 0x1e
-#define N_EXT  0x01
-
-#define N_UNDF 0x0
-#define N_ABS  0x2
-#define N_TEXT 0x4
-#define N_DATA 0x6
-#define N_BSS  0x8
-#define N_SECT 0xe
-#define N_INDR 0xa
-
 static unsigned int 
 bfd_mach_o_version (bfd *abfd)
 {
@@ -255,6 +224,10 @@ bfd_mach_o_print_symbol (bfd *abfd,
 			 bfd_print_symbol_type how)
 {
   FILE *file = (FILE *) afile;
+  unsigned char ntype;
+  unsigned char nsect;
+  unsigned int ndesc;
+  const char *name;
 
   switch (how)
     {
@@ -263,7 +236,40 @@ bfd_mach_o_print_symbol (bfd *abfd,
       break;
     default:
       bfd_print_symbol_vandf (abfd, (PTR) file, symbol);
-      fprintf (file, " %-5s %s", symbol->section->name, symbol->name);
+      ntype = BFD_MACH_O_SYM_NTYPE (symbol);
+      nsect = BFD_MACH_O_SYM_NSECT (symbol);
+      ndesc = BFD_MACH_O_SYM_NDESC (symbol);
+      if (ntype & BFD_MACH_O_N_STAB)
+	name = bfd_get_stab_name (ntype);
+      else
+	switch (ntype & BFD_MACH_O_N_TYPE)
+	  {
+	  case BFD_MACH_O_N_UNDF:
+	    name = "UND";
+	    break;
+	  case BFD_MACH_O_N_ABS:
+	    name = "ABS";
+	    break;
+	  case BFD_MACH_O_N_INDR:
+	    name = "INDR";
+	    break;
+	  case BFD_MACH_O_N_PBUD:
+	    name = "PBUD";
+	    break;
+	  case BFD_MACH_O_N_SECT:
+	    name = "SECT";
+	    break;
+	  default:
+	    name = "???";
+	    break;
+	  }
+      if (name == NULL)
+	name = "";
+      fprintf (file, " %02x %-6s %02x %04x", ntype, name, nsect, ndesc);
+      if ((ntype & BFD_MACH_O_N_STAB) == 0
+	  && (ntype & BFD_MACH_O_N_TYPE) == BFD_MACH_O_N_SECT)
+	fprintf (file, " %-5s", symbol->section->name);
+      fprintf (file, " %s", symbol->name);
     }
 }
 
@@ -554,9 +560,9 @@ bfd_mach_o_scan_write_symtab_symbols (bfd *abfd, bfd_mach_o_load_command *comman
       s = &sym->symbols[i];
 
       /* Instead just set from the stored values.  */
-      ntype = (s->udata.i >> 24) & 0xff;
-      nsect = (s->udata.i >> 16) & 0xff;
-      ndesc = s->udata.i & 0xffff;
+      ntype = BFD_MACH_O_SYM_NTYPE (s);
+      nsect = BFD_MACH_O_SYM_NSECT (s);
+      ndesc = BFD_MACH_O_SYM_NDESC (s);
 
       bfd_h_put_32 (abfd, s->name - sym->strtab, buf);
       bfd_h_put_8 (abfd, ntype, buf + 4);
@@ -769,7 +775,8 @@ bfd_mach_o_read_header (bfd *abfd, bfd_mach_o_header *header)
 }
 
 static asection *
-bfd_mach_o_make_bfd_section (bfd *abfd, bfd_mach_o_section *section)
+bfd_mach_o_make_bfd_section (bfd *abfd, bfd_mach_o_section *section,
+			     unsigned long prot)
 {
   asection *bfdsec;
   char *sname;
@@ -784,11 +791,31 @@ bfd_mach_o_make_bfd_section (bfd *abfd, bfd_mach_o_section *section)
   sname = bfd_alloc (abfd, snamelen);
   if (sname == NULL)
     return NULL;
-  sprintf (sname, "%s.%s.%s", prefix, section->segname, section->sectname);
 
-  flags = SEC_ALLOC;
-  if ((section->flags & SECTION_TYPE) != BFD_MACH_O_S_ZEROFILL)
-    flags = SEC_HAS_CONTENTS | SEC_LOAD | SEC_ALLOC | SEC_CODE;
+  /* Use canonical dwarf section names for dwarf sections.  */
+  if (strcmp (section->segname, "__DWARF") == 0
+      && strncmp (section->sectname, "__", 2) == 0)
+    sprintf (sname, ".%s", section->sectname + 2);
+  else
+    sprintf (sname, "%s.%s.%s", prefix, section->segname, section->sectname);
+
+  if (section->flags & BFD_MACH_O_S_ATTR_DEBUG)
+    flags = SEC_HAS_CONTENTS | SEC_DEBUGGING;
+  else
+    {
+      flags = SEC_ALLOC;
+      if ((section->flags & BFD_MACH_O_SECTION_TYPE_MASK)
+	  != BFD_MACH_O_S_ZEROFILL)
+	{
+	  flags |= SEC_HAS_CONTENTS | SEC_LOAD;
+	  if (prot & BFD_MACH_O_PROT_EXECUTE)
+	    flags |= SEC_CODE;
+	  if (prot & BFD_MACH_O_PROT_WRITE)
+	    flags |= SEC_DATA;
+	  else if (prot & BFD_MACH_O_PROT_READ)
+	    flags |= SEC_READONLY;
+	}
+    }
   bfdsec = bfd_make_section_anyway_with_flags (abfd, sname, flags);
   if (bfdsec == NULL)
     return NULL;
@@ -806,7 +833,8 @@ bfd_mach_o_make_bfd_section (bfd *abfd, bfd_mach_o_section *section)
 static int
 bfd_mach_o_scan_read_section_32 (bfd *abfd,
 				 bfd_mach_o_section *section,
-				 bfd_vma offset)
+				 bfd_vma offset,
+				 unsigned long prot)
 {
   unsigned char buf[68];
 
@@ -828,7 +856,7 @@ bfd_mach_o_scan_read_section_32 (bfd *abfd,
   section->reserved1 = bfd_h_get_32 (abfd, buf + 60);
   section->reserved2 = bfd_h_get_32 (abfd, buf + 64);
   section->reserved3 = 0;
-  section->bfdsection = bfd_mach_o_make_bfd_section (abfd, section);
+  section->bfdsection = bfd_mach_o_make_bfd_section (abfd, section, prot);
 
   if (section->bfdsection == NULL)
     return -1;
@@ -839,7 +867,8 @@ bfd_mach_o_scan_read_section_32 (bfd *abfd,
 static int
 bfd_mach_o_scan_read_section_64 (bfd *abfd,
 				 bfd_mach_o_section *section,
-				 bfd_vma offset)
+				 bfd_vma offset,
+				 unsigned long prot)
 {
   unsigned char buf[80];
 
@@ -861,7 +890,7 @@ bfd_mach_o_scan_read_section_64 (bfd *abfd,
   section->reserved1 = bfd_h_get_32 (abfd, buf + 68);
   section->reserved2 = bfd_h_get_32 (abfd, buf + 72);
   section->reserved3 = bfd_h_get_32 (abfd, buf + 76);
-  section->bfdsection = bfd_mach_o_make_bfd_section (abfd, section);
+  section->bfdsection = bfd_mach_o_make_bfd_section (abfd, section, prot);
 
   if (section->bfdsection == NULL)
     return -1;
@@ -873,12 +902,13 @@ static int
 bfd_mach_o_scan_read_section (bfd *abfd,
 			      bfd_mach_o_section *section,
 			      bfd_vma offset,
+			      unsigned long prot,
 			      unsigned int wide)
 {
   if (wide)
-    return bfd_mach_o_scan_read_section_64 (abfd, section, offset);
+    return bfd_mach_o_scan_read_section_64 (abfd, section, offset, prot);
   else
-    return bfd_mach_o_scan_read_section_32 (abfd, section, offset);
+    return bfd_mach_o_scan_read_section_32 (abfd, section, offset, prot);
 }
 
 int
@@ -912,7 +942,7 @@ bfd_mach_o_scan_read_symtab_symbol (bfd *abfd,
   stroff = bfd_h_get_32 (abfd, buf);
   type = bfd_h_get_8 (abfd, buf + 4);
   symtype = (type & 0x0e);
-  section = bfd_h_get_8 (abfd, buf + 5) - 1;
+  section = bfd_h_get_8 (abfd, buf + 5);
   desc = bfd_h_get_16 (abfd, buf + 6);
   if (wide)
     value = bfd_h_get_64 (abfd, buf + 8);
@@ -936,20 +966,35 @@ bfd_mach_o_scan_read_symtab_symbol (bfd *abfd,
     {
       s->flags |= BSF_DEBUGGING;
       s->section = bfd_und_section_ptr;
+      switch (type)
+	{
+	case N_FUN:
+	case N_STSYM:
+	case N_LCSYM:
+	case N_BNSYM:
+	case N_SLINE:
+	case N_ENSYM:
+	case N_ECOMM:
+	case N_ECOML:
+	case N_GSYM:
+	  if ((section > 0) && (section <= mdata->nsects))
+	    {
+	      s->section = mdata->sections[section - 1]->bfdsection;
+	      s->value = s->value - mdata->sections[section - 1]->addr;
+	    }
+	  break;
+	}
     }
   else
     {
       if (type & BFD_MACH_O_N_PEXT)
-	{
-	  type &= ~BFD_MACH_O_N_PEXT;
-	  s->flags |= BSF_GLOBAL;
-	}
-
+	s->flags |= BSF_GLOBAL;
+      
       if (type & BFD_MACH_O_N_EXT)
-	{
-	  type &= ~BFD_MACH_O_N_EXT;
-	  s->flags |= BSF_GLOBAL;
-	}
+	s->flags |= BSF_GLOBAL;
+
+      if (!(type & (BFD_MACH_O_N_PEXT | BFD_MACH_O_N_EXT)))
+	s->flags |= BSF_LOCAL;
 
       switch (symtype)
 	{
@@ -965,8 +1010,8 @@ bfd_mach_o_scan_read_symtab_symbol (bfd *abfd,
 	case BFD_MACH_O_N_SECT:


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


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

* [SCM]  master: *** empty log message ***
@ 2008-10-29 17:15 sergio
  0 siblings, 0 replies; 8+ messages in thread
From: sergio @ 2008-10-29 17:15 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  34264c2204bc4b44c036297cb94d08885f9a33c2 (commit)
       via  727fd51235c2bea7205bbd241b88d56eab499ca3 (commit)
       via  b30a4800251805a3fa4088f92619f493b0881832 (commit)
      from  b4584fb7df1e4142b62d2cba5fa51181d32f29a4 (commit)

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

- Log -----------------------------------------------------------------
commit 34264c2204bc4b44c036297cb94d08885f9a33c2
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed Oct 29 00:00:33 2008 +0000

    *** empty log message ***

commit 727fd51235c2bea7205bbd241b88d56eab499ca3
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed Oct 29 00:00:04 2008 +0000

    daily update

commit b30a4800251805a3fa4088f92619f493b0881832
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue Oct 28 20:50:17 2008 +0000

    	* Makefile.in (SUBDIR_CLI_OBS): Don't mention cli-utils.o.
    	(SUBDIR_CLI_DEPS): Don't mention cli-utils.c.
    	(HFILES_NO_SRCDIR): Don't mention cli-utils.h.
    	(cli-utils.o): Remove.
    	* cli/cli-utils.c: Remove.
    	* cli/cli-utils.h: Remove.

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

Summary of changes:
 bfd/version.h       |    2 +-
 gdb/ChangeLog       |    9 +++++++++
 gdb/Makefile.in     |   11 +++--------
 gdb/cli/cli-utils.c |   19 -------------------
 gdb/cli/cli-utils.h |   20 --------------------
 gdb/version.in      |    2 +-
 6 files changed, 14 insertions(+), 49 deletions(-)
 delete mode 100644 gdb/cli/cli-utils.c
 delete mode 100644 gdb/cli/cli-utils.h

First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index fbccae5..459e45a 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20081028
+#define BFD_VERSION_DATE 20081029
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b2fa68f..d104a96 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,14 @@
 2008-10-28  Tom Tromey  <tromey@redhat.com>
 
+	* Makefile.in (SUBDIR_CLI_OBS): Don't mention cli-utils.o.
+	(SUBDIR_CLI_DEPS): Don't mention cli-utils.c.
+	(HFILES_NO_SRCDIR): Don't mention cli-utils.h.
+	(cli-utils.o): Remove.
+	* cli/cli-utils.c: Remove.
+	* cli/cli-utils.h: Remove.
+
+2008-10-28  Tom Tromey  <tromey@redhat.com>
+
 	* varobj.c (value_get_print_value): Include valprint.h.
 	(value_get_print_value): Use get_formatted_print_options.
 	* value.h (struct value_print_options): Declare.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index ec4b1d2..5432c88 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -185,15 +185,14 @@ GNULIB_H = gnulib/string.h @GNULIB_STDINT_H@
 #
 SUBDIR_CLI_OBS = \
 	cli-dump.o \
-	cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-utils.o \
+	cli-decode.o cli-script.o cli-cmds.o cli-setshow.o \
 	cli-logging.o \
 	cli-interp.o
 SUBDIR_CLI_SRCS = \
 	cli/cli-dump.c \
 	cli/cli-decode.c cli/cli-script.c cli/cli-cmds.c cli/cli-setshow.c \
 	cli/cli-logging.c \
-	cli/cli-interp.c \
-	cli/cli-utils.c
+	cli/cli-interp.c
 SUBDIR_CLI_DEPS =
 SUBDIR_CLI_LDFLAGS=
 SUBDIR_CLI_CFLAGS=
@@ -682,7 +681,7 @@ exec.h m32r-tdep.h osabi.h gdbcore.h solib-som.h \
 i386bsd-nat.h xml-support.h xml-tdesc.h alphabsd-tdep.h gdb_obstack.h \
 ia64-tdep.h ada-lang.h varobj.h frv-tdep.h nto-tdep.h serial.h \
 c-lang.h frame.h event-loop.h block.h cli/cli-setshow.h	\
-cli/cli-decode.h cli/cli-cmds.h cli/cli-utils.h cli/cli-dump.h \
+cli/cli-decode.h cli/cli-cmds.h cli/cli-dump.h \
 cli/cli-script.h macrotab.h symtab.h version.h gnulib/wchar.in.h \
 gnulib/string.in.h gnulib/str-two-way.h gnulib/extra/link-warning.h \
 gnulib/stdint.in.h remote.h gdb.h sparc-nat.h gdbserver/win32-low.h \
@@ -1554,10 +1553,6 @@ cli-setshow.o: $(srcdir)/cli/cli-setshow.c
 	$(COMPILE) $(srcdir)/cli/cli-setshow.c
 	$(POSTCOMPILE)
 
-cli-utils.o: $(srcdir)/cli/cli-utils.c
-	$(COMPILE) $(srcdir)/cli/cli-utils.c
-	$(POSTCOMPILE)
-
 
 #
 # GDBTK sub-directory
diff --git a/gdb/cli/cli-utils.c b/gdb/cli/cli-utils.c
deleted file mode 100644
index adb8a6e..0000000
--- a/gdb/cli/cli-utils.c
+++ /dev/null
@@ -1,19 +0,0 @@
-/* GDB CLI utility library.
-   Copyright (c) 2001, 2007, 2008 Free Software Foundation, Inc.
-
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3 of the License, or
-   (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
-
-#include "defs.h"
-#include "cli/cli-utils.h"
-
diff --git a/gdb/cli/cli-utils.h b/gdb/cli/cli-utils.h
deleted file mode 100644
index 303b768..0000000
--- a/gdb/cli/cli-utils.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Header file for GDB CLI utility library.
-   Copyright (c) 2001, 2007, 2008 Free Software Foundation, Inc.
-
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3 of the License, or
-   (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
-
-#if !defined (CLI_UTILS_H)
-# define CLI_UTILS_H 1
-
-#endif /* !defined (CLI_UTILS_H) */
diff --git a/gdb/version.in b/gdb/version.in
index 30a4558..ccf982e 100644
--- a/gdb/version.in
+++ b/gdb/version.in
@@ -1 +1 @@
-6.8.50.20081028-cvs
+6.8.50.20081029-cvs


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


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

* [SCM]  master: *** empty log message ***
@ 2008-10-21 17:13 sergio
  0 siblings, 0 replies; 8+ messages in thread
From: sergio @ 2008-10-21 17:13 UTC (permalink / raw)
  To: archer-commits

The branch, master has been updated
       via  8b9b646f4ed3b444f5fad0f084cebfaea1a5c3e8 (commit)
       via  ef2d1ee753080788df101364354d6f2baefa8f5e (commit)
       via  0ddabd6420b471cf7b17416469a49cc21e816c2c (commit)
       via  5e2a610487fb3eec5a0aa47424f5c7c62d106cf5 (commit)
       via  ebff2be5e2ee3d2f519a6a1d0768dd0587e6d779 (commit)
       via  b3cb5fa5c9ba9dbd60fa215bd2722291b14b0cc3 (commit)
       via  360a96f0ba250507685b6071e381db2ea30911d9 (commit)
       via  0c8fe6fe21053d10218069d74878ad6b44d14f24 (commit)
       via  8db616099e1906ac1720767ba6eb11d0b41bf5a1 (commit)
       via  ca0616539ea5426406321475dc189c8bbf45bf6f (commit)
       via  678dfad740edc652c02cb11873b0fa55bc216369 (commit)
       via  32ca89cbc74598147bac032d714d7a492b9e762d (commit)
       via  62e853ca1e37e1dc4a4ab4445a0c63d0ea0b9306 (commit)
       via  651e2826e79e20f32a48c8a1a5e8f51d6245e479 (commit)
       via  e2382638467a1882037a4e9b30f9ca3760ab51e6 (commit)
       via  ab34e1a794893d2471aacb2be97a430ecc5813fc (commit)
       via  25943b9001982fae0a791c3b9b3fd5932b22e7f8 (commit)
       via  bff4dfb5f46528a9b726e1ba7c0348488d5725a5 (commit)
       via  5e2c945de3599778c50154248a29be63c3a94c47 (commit)
       via  6662c745bd9d845962cb088b86f7af4499ff6683 (commit)
       via  cc550d60b30016fbdccae7394fb3e454d97ee5ba (commit)
       via  9e94eacd1cf15938738d813fa9d30cb2116e617c (commit)
       via  bc4f86eb653115f0e350cc645d8517f4b4b34293 (commit)
       via  c6981457f70526a888226d4aa9becfb50584e304 (commit)
       via  f911b26577ca1778da26495ff2d2c758f8ac6d08 (commit)
       via  6cbf78fa0c01cfc7a2b02dac6f4df1a53fb7724f (commit)
       via  77872774acc22e73ffc16fb61b01b89a67ed62ff (commit)
       via  56ff5dc672f056361df569d505ebe78dcbbb1c12 (commit)
       via  4b16a77af5043822bb3d45007b0200410b468011 (commit)
       via  2cf413dfb9b7cc9b8a81d9d9ea6462e0e68e2a0c (commit)
       via  ae83c643a81a427e918fc616329c872d47b51801 (commit)
       via  e495c0749b942577136902e7f66a6ad7a60e65d5 (commit)
       via  8737f0feccd8b305788c2693d5a27027661eb9bc (commit)
       via  fe5abb25ff0fd57122347d4d1474f959e7f1df7e (commit)
       via  4eedc82590aa6c3769e081474c7040cec50ec430 (commit)
       via  65ecd27b82b4a70b17050f593cf056fa7f8da7d2 (commit)
      from  053ff58c07e3175036cf59295a3dcb83d4be682f (commit)

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

- Log -----------------------------------------------------------------
commit 8b9b646f4ed3b444f5fad0f084cebfaea1a5c3e8
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue Oct 21 00:00:33 2008 +0000

    *** empty log message ***

commit ef2d1ee753080788df101364354d6f2baefa8f5e
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue Oct 21 00:00:04 2008 +0000

    daily update

commit 0ddabd6420b471cf7b17416469a49cc21e816c2c
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Oct 20 23:03:31 2008 +0000

    	* obstack.h (obstack_finish <!__GNUC__>): Cast result to void *.

commit 5e2a610487fb3eec5a0aa47424f5c7c62d106cf5
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Oct 20 16:18:59 2008 +0000

            * NEWS: Add entry mentioning thread-support on Tru64

commit ebff2be5e2ee3d2f519a6a1d0768dd0587e6d779
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Mon Oct 20 15:48:15 2008 +0000

            * dec-thread.c: New file.
            * config/alpha/alpha-osf3.mh (NATDEPFILES): Add dec-thread.o.
            (NAT_CLIBS): Define.

commit b3cb5fa5c9ba9dbd60fa215bd2722291b14b0cc3
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Oct 20 11:05:47 2008 +0000

    	* elf64-ppc.c (ppc64_elf_process_dot_syms): Renamed from
    	ppc64_elf_check_directives.
    	* elf32-sh-symbian.c (sh_symbian_process_directives): Combine..
    	(sh_symbian_check_directives): ..this
    	(bfd_elf32_sh_symbian_process_directives) ..and this function.

commit 360a96f0ba250507685b6071e381db2ea30911d9
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Oct 20 10:57:33 2008 +0000

    	* elflink.c (bfd_elf_final_link): Move code reading relocs to..
    	* elf32-spu.c (spu_elf_count_relocs): ..here.  Adjust params.
    	* elf-bfd.h (struct elf_backend_data): Update elf_backend_count_relocs
    	params.

commit 0c8fe6fe21053d10218069d74878ad6b44d14f24
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Oct 20 10:50:37 2008 +0000

    	* elflink.c (bfd_elf_final_link): Use d_ptr rather than d_val
    	where Elf_Internal_Dyn holds an address.

commit 8db616099e1906ac1720767ba6eb11d0b41bf5a1
Author: Hui Zhu <teawater@gmail.com>
Date:   Mon Oct 20 02:56:38 2008 +0000

    2008-10-19  Hui Zhu  <teawater@gmail.com>
    
    	* infrun.c (handle_inferior_event): Set "stop_pc" when
    	TARGET_WAITKIND_NO_HISTORY.

commit ca0616539ea5426406321475dc189c8bbf45bf6f
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Mon Oct 20 00:00:34 2008 +0000

    *** empty log message ***

commit 678dfad740edc652c02cb11873b0fa55bc216369
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Mon Oct 20 00:00:05 2008 +0000

    daily update

commit 32ca89cbc74598147bac032d714d7a492b9e762d
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Sun Oct 19 20:24:58 2008 +0000

    	* python/python-value.c (value_object_methods)
    	(value_object_as_number, value_object_as_mapping): Move to bottom
    	of file.
    	(valpy_dealloc, valpy_new, valpy_length, valpy_getitem)
    	(valpy_setitem, valpy_str, valpy_add, valpy_subtract)
    	(valpy_multiply, valpy_divide, valpy_remainder, valpy_power)
    	(valpy_negative, valpy_positive, valpy_absolute, valpy_nonzero)
    	(valpy_richcompare, valpy_dereference): Don't forward-declare.
    	(valpy_length) [HAVE_LIBPYTHON2_4]: Change return type to `int'.

commit 62e853ca1e37e1dc4a4ab4445a0c63d0ea0b9306
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Sun Oct 19 19:59:31 2008 +0000

    	* configure.ac: Output gdb.python/Makefile.
    	* configure: Regenerate.
    	* gdb.python/Makefile.in: New.

commit 651e2826e79e20f32a48c8a1a5e8f51d6245e479
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sun Oct 19 00:00:04 2008 +0000

    *** empty log message ***

commit e2382638467a1882037a4e9b30f9ca3760ab51e6
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sun Oct 19 00:00:04 2008 +0000

    daily update

commit ab34e1a794893d2471aacb2be97a430ecc5813fc
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Sat Oct 18 03:24:33 2008 +0000

    	* infrun.c (adjust_pc_after_break): Do nothing if executing in
    	reverse.

commit 25943b9001982fae0a791c3b9b3fd5932b22e7f8
Author: Michael Snyder <msnyder@specifix.com>
Date:   Sat Oct 18 01:12:49 2008 +0000

    Line break

commit bff4dfb5f46528a9b726e1ba7c0348488d5725a5
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Sat Oct 18 00:00:04 2008 +0000

    daily update

commit 5e2c945de3599778c50154248a29be63c3a94c47
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Sat Oct 18 00:00:02 2008 +0000

    *** empty log message ***

commit 6662c745bd9d845962cb088b86f7af4499ff6683
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Oct 17 23:39:32 2008 +0000

    	* infcmd.c (GO_USAGE): Delete.
    	(go_command): Adjust.

commit cc550d60b30016fbdccae7394fb3e454d97ee5ba
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Oct 17 19:44:17 2008 +0000

    2008-10-17  Michael Snyder  <msnyder@vmware.com>
    
    	* gdb.texinfo: Add documentation for reverse execution.

commit 9e94eacd1cf15938738d813fa9d30cb2116e617c
Author: Michael Snyder <msnyder@specifix.com>
Date:   Fri Oct 17 19:43:46 2008 +0000

    2008-10-17  Michael Snyder  <msnyder@vmware.com>
    	Target interface for reverse debugging.
    	* target.h (enum target_waitkind):
    	Add new wait event, TARGET_WAITKIND_NO_HISTORY.
    	(struct target_ops): New method to_can_execute_reverse.
    	(target_can_execute_reverse): New macro.
    	* target.c (update_current_target): Inherit to_can_execute_reverse.
    
    	Remote interface for reverse debugging.
    	* remote.c (remote_can_execute_reverse): New target method.
    	(remote_resume): Check for reverse exec direction, and send
    	appropriate command to target.
    	(remote_wait_as): Check target response for NO_HISTORY status.
    	Also check for empty reply (target doesn't understand "bs" or "bc).
    	(remote_vcont_resume): Jump out if attempting reverse execution.
    
    	Event handling interface for reverse debugging.
    	* infrun.c (execution_direction): New state variable.
    	(enum inferior_stop_reason): Add NO_HISTORY reason.
    	(handle_inferior_event): Handle TARGET_WAITKIND_NO_HISTORY.
    	Handle stepping over a function call in reverse.
    	Handle stepping thru a line range in reverse.
    	Handle setting a step-resume breakpoint in reverse.
    	Handle stepping into a function in reverse.
    	Handle stepping between line ranges in reverse.
    	(print_stop_reason): Print reason for NO_HISTORY.
    	(step_into_function): Rename to handle_step_into_function.
    	(handle_step_into_function_backward): New function.
    	(set_exec_direction_func, show_exec_direction_func): New funcs.
    	(proceed): No need to singlestep over a breakpoint
    	when resuming in reverse.
    
    	* inferior.h (enum exec_direction_kind): New enum.
    	(execution_direction): Export new execution state variable.
    
    	* breakpoint.c (make_breakpoint_silent): New function.
    	* breakpoint.h (make_breakpoint_silent): Export.
    	* infcmd.c (finish_command): Check for reverse exec direction.
    	(finish_backward): New function, handle finish cmd in reverse.
    
    	User interface for reverse execution.
    	* Makefile.in (reverse.c): New file.
    	* reverse.c: New file.  User interface for reverse execution.

commit bc4f86eb653115f0e350cc645d8517f4b4b34293
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Fri Oct 17 01:08:08 2008 +0000

    	* remote.c (record_currthread): Add inferior before child threads.
    	(remote_threads_info): Check for exited threads.  Mention
    	notification order.

commit c6981457f70526a888226d4aa9becfb50584e304
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Fri Oct 17 00:00:34 2008 +0000

    *** empty log message ***

commit f911b26577ca1778da26495ff2d2c758f8ac6d08
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Fri Oct 17 00:00:04 2008 +0000

    daily update

commit 6cbf78fa0c01cfc7a2b02dac6f4df1a53fb7724f
Author: Thiago Jung Bauermann <bauerman@br.ibm.com>
Date:   Thu Oct 16 17:59:36 2008 +0000

    Mention Eli in the changelog entry for Python values.

commit 77872774acc22e73ffc16fb61b01b89a67ed62ff
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Oct 16 16:25:36 2008 +0000

            * gdb.base/foll-fork.exp: Adjust the expected output to match
            the new description for fork/vfork catchpoints in the "info
            breakpoints" output.

commit 56ff5dc672f056361df569d505ebe78dcbbb1c12
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Thu Oct 16 16:25:04 2008 +0000

            * breakpoint.h (enum bptype): New enum bp_catchpoint.
            Delete bp_catch_fork and bp_catch_vfork.
            (struct breakpoint_ops): Add new methods "insert", "remove"
            and "breakpoint_hit".
            * breakpoint.c (create_fork_vfork_event_catchpoint)
            (create_fork_event_catchpoint, create_vfork_event_catchpoint): Remove.
            (insert_catchpoint): Remove handling of bp_catch_fork and
            bp_catch_vfork catchpoints, and handle them as bp_catchpoint
            catchpoints instead.
            (insert_bp_location, update_breakpoints_after_exec)
            (remove_breakpoint, bpstat_check_location, bpstat_what)
            (allocate_bp_location): Likewise.
            (print_it_typical, print_one_breakpoint_location, mention): Remove
            handling of bp_catch_fork and bp_catch_vfork breakpoints.
            (ep_is_catchpoint, user_settable_breakpoint)
            (breakpoint_address_is_meaningful, adjust_breakpoint_address)
            (breakpoint_re_set_one, disable_command, enable_command):
            Remove use of bp_catch_fork and bp_catch_vfork.  Add handling of
            bp_catchpoint breakpoints.
            (insert_catch_fork, remove_catch_fork, breakpoint_hit_catch_fork)
            (print_it_catch_fork, print_one_catch_fork, print_mention_catch_fork):
            New functions.
            (catch_fork_breakpoint_ops): New static constant.
            (insert_catch_vfork, remove_catch_vfork, breakpoint_hit_catch_vfork)
            (print_it_catch_vfork, print_one_catch_vfork)
            (print_mention_catch_vfork): New functions.
            (catch_vfork_breakpoint_ops): New static constant.
            (create_catchpoint, create_fork_vfork_event_catchpoint): New functions.
            (catch_fork_command_1): Use create_fork_vfork_event_catchpoint
            to create the fork and vfork catchpoints.
            (gnu_v3_exception_catchpoint_ops): Set new breakpoint_ops fields.
            * ada-lang.c (catch_exception_breakpoint_ops): Set new breakpoint_ops
            fields.
            (catch_exception_unhandled_breakpoint_ops): Likewise.
            (catch_assert_breakpoint_ops): Likewise.

commit 4b16a77af5043822bb3d45007b0200410b468011
Author: Thiago Jung Bauermann <bauerman@br.ibm.com>
Date:   Thu Oct 16 15:08:28 2008 +0000

    2008-10-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
    
    	* Makefile.in: Add gdb.python to ALL_SUBDIRS.

commit 2cf413dfb9b7cc9b8a81d9d9ea6462e0e68e2a0c
Author: Thiago Jung Bauermann <bauerman@br.ibm.com>
Date:   Thu Oct 16 14:46:20 2008 +0000

    Add gdb/python/python-value.c, which I forgot to do in my previous commit.

commit ae83c643a81a427e918fc616329c872d47b51801
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Oct 16 14:39:54 2008 +0000

    	* remote.c (set_general_process): New.
    	(remote_check_symbols): Use it.

commit e495c0749b942577136902e7f66a6ad7a60e65d5
Author: Pedro Alves <pedro@codesourcery.com>
Date:   Thu Oct 16 14:03:15 2008 +0000

    	* remote.c (push_remote_target): Delete.
    	* target.h (push_remote_target): Delete declaration.

commit 8737f0feccd8b305788c2693d5a27027661eb9bc
Author: Thiago Jung Bauermann <bauerman@br.ibm.com>
Date:   Thu Oct 16 03:53:58 2008 +0000

    2008-10-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
    	    Tom Tromey  <tromey@redhat.com>
    
    gdb/
    	* Makefile.in (SUBDIR_PYTHON_OBS): Add python-value.o.
    	(SUBDIR_PYTHON_SRCS): Add python-value.c.
    	(python-value.o): New target.
    	* configure.ac (CONFIG_OBS): Add python-value.o.
    	(CONFIG_SRCS): Add python/python-value.c
    	* configure: Regenerate.
    	* python-internal.h (value_object_type): Add external declaration.
    	(gdbpy_get_value_from_history, value_to_value_object,
    	convert_value_from_python, gdbpy_initialize_values): Add function
    	prototype.
    	* python/python-value.c: New file.
    	* python/python.c (GdbMethods): Add gdbpy_get_value_from_history.
    	(_initialize_python): Call gdbpy_initialize_values.
    	* python/python.h (values_in_python): Add external declaration.
    	* value.c (value_prepend_to_list, value_remove_from_list): New
    	functions.
    	(preserve_values): Iterate over values_in_python list as well.
    	* value.h (value_prepend_to_list, value_remove_from_list): Add
    	function prototypes.
    
    gdb/doc/
    	* gdb.texinfo. (Values From Inferior): New subsubsection.
    
    gdb/testsuite/
    	* gdb.python/python-value.c: New file.
    	* gdb.python/python-value.exp: New file.

commit fe5abb25ff0fd57122347d4d1474f959e7f1df7e
Author: DJ Delorie <dj@delorie.com>
Date:   Thu Oct 16 02:47:08 2008 +0000

    merge from gcc

commit 4eedc82590aa6c3769e081474c7040cec50ec430
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Thu Oct 16 00:00:04 2008 +0000

    daily update

commit 65ecd27b82b4a70b17050f593cf056fa7f8da7d2
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Thu Oct 16 00:00:03 2008 +0000

    *** empty log message ***

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

Summary of changes:
 bfd/ChangeLog                                      |   27 +-
 bfd/elf-bfd.h                                      |    2 +-
 bfd/elf32-sh-symbian.c                             |   13 +-
 bfd/elf32-spu.c                                    |   23 +-
 bfd/elf64-ppc.c                                    |    6 +-
 bfd/elflink.c                                      |   30 +-
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |  135 ++++
 gdb/Makefile.in                                    |   15 +-
 gdb/NEWS                                           |    2 +
 gdb/ada-lang.c                                     |    9 +
 gdb/breakpoint.c                                   |  369 +++++++----
 gdb/breakpoint.h                                   |   20 +-
 gdb/config/alpha/alpha-osf3.mh                     |    3 +-
 gdb/configure                                      |    6 +-
 gdb/configure.ac                                   |    6 +-
 gdb/dec-thread.c                                   |  683 ++++++++++++++++++++
 gdb/doc/ChangeLog                                  |    9 +
 gdb/doc/gdb.texinfo                                |  206 ++++++
 gdb/infcmd.c                                       |  142 ++++-
 gdb/inferior.h                                     |   10 +
 gdb/infrun.c                                       |  244 +++++++-
 gdb/python/python-internal.h                       |   13 +-
 gdb/python/python-value.c                          |  672 +++++++++++++++++++
 gdb/python/python.c                                |    4 +
 gdb/python/python.h                                |    2 +
 gdb/remote.c                                       |  102 +++-
 gdb/reverse.c                                      |  144 ++++
 gdb/target.c                                       |    1 +
 gdb/target.h                                       |   17 +-
 gdb/testsuite/ChangeLog                            |   21 +
 gdb/testsuite/Makefile.in                          |    2 +-
 gdb/testsuite/configure                            |   41 +-
 gdb/testsuite/configure.ac                         |    1 +
 gdb/testsuite/gdb.base/foll-fork.exp               |   24 +-
 gdb/testsuite/gdb.python/Makefile.in               |   14 +
 .../gdb.python/python-value.c}                     |   38 +-
 gdb/testsuite/gdb.python/python-value.exp          |  250 +++++++
 gdb/value.c                                        |   35 +-
 gdb/value.h                                        |   10 +-
 gdb/version.in                                     |    2 +-
 include/ChangeLog                                  |    4 +
 include/obstack.h                                  |    4 +-
 libiberty/ChangeLog                                |    7 +
 libiberty/Makefile.in                              |    8 +-
 45 files changed, 3054 insertions(+), 324 deletions(-)
 create mode 100644 gdb/dec-thread.c
 create mode 100644 gdb/python/python-value.c
 create mode 100644 gdb/reverse.c
 create mode 100644 gdb/testsuite/gdb.python/Makefile.in
 copy gdb/{python/python.h => testsuite/gdb.python/python-value.c} (67%)
 create mode 100644 gdb/testsuite/gdb.python/python-value.exp

First 500 lines of diff:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f0080bb..a9e5923 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,23 @@
+2008-10-20  Alan Modra  <amodra@bigpond.net.au>
+
+	* elf64-ppc.c (ppc64_elf_process_dot_syms): Renamed from
+	ppc64_elf_check_directives.
+	* elf32-sh-symbian.c (sh_symbian_process_directives): Combine..
+	(sh_symbian_check_directives): ..this
+	(bfd_elf32_sh_symbian_process_directives) ..and this function.
+
+2008-10-20  Alan Modra  <amodra@bigpond.net.au>
+
+	* elflink.c (bfd_elf_final_link): Move code reading relocs to..
+	* elf32-spu.c (spu_elf_count_relocs): ..here.  Adjust params.
+	* elf-bfd.h (struct elf_backend_data): Update elf_backend_count_relocs
+	params.
+
+2008-10-20  Alan Modra  <amodra@bigpond.net.au>
+
+	* elflink.c (bfd_elf_final_link): Use d_ptr rather than d_val
+	where Elf_Internal_Dyn holds an address.
+
 2008-10-10  Nathan Froyd  <froydnj@codesourcery.com>
 
 	* elf32-ppc.c (ppc_elf_merge_obj_attributes): Merge
@@ -5,7 +25,8 @@
 
 2008-10-09  Kai Tietz  <kai.tietz@onevision.com>
 
-	* cofflink.c (_bfd_coff_generic_relocate_section): Dump bfd_vma sized addresses instead of long sized.
+	* cofflink.c (_bfd_coff_generic_relocate_section): Dump bfd_vma
+	sized addresses instead of long sized.
 
 2008-10-09  Alan Modra  <amodra@bigpond.net.au>
 
@@ -186,7 +207,7 @@
 	BFD_MACH_O_x86_EXCEPTION_STATE.
 	(bfd_mach_o_load_command_type): Add
 	BFD_MACH_O_LC_SEGMENT_64, BFD_MACH_O_LC_ROUTINES_64,
-	BFD_MACH_O_LC_UUID.	
+	BFD_MACH_O_LC_UUID.
 	(BFD_MACH_O_CPU_IS64BIT): Added.
 	(bfd_mach_o_cpu_type): Add BFD_MACH_O_CPU_TYPE_POWERPC_64,
 	BFD_MACH_O_CPU_TYPE_X86_64.
@@ -218,7 +239,7 @@
 	(bfd_mach_o_scan_start_address): Ditto.
 	(bfd_mach_o_scan): Ditto.
 	(bfd_mach_o_lookup_section): Ditto.
-	
+
 2008-08-27  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
 	* elf-hppa.h (elf_hppa_reloc_final_type): Handle R_PARISC_GPREL64,
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 993458e..9615a4a 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -1012,7 +1012,7 @@ struct elf_backend_data
   /* Count relocations.  Not called for relocatable links
      or if all relocs are being preserved in the output.  */
   unsigned int (*elf_backend_count_relocs)
-    (asection *, Elf_Internal_Rela *);
+    (struct bfd_link_info *, asection *);
 
   /* This function, if defined, is called when an NT_PRSTATUS note is found
      in a core file.  */
diff --git a/bfd/elf32-sh-symbian.c b/bfd/elf32-sh-symbian.c
index cec0d03..25e3af9 100644
--- a/bfd/elf32-sh-symbian.c
+++ b/bfd/elf32-sh-symbian.c
@@ -392,10 +392,9 @@ sh_symbian_process_embedded_commands (struct bfd_link_info *info, bfd * abfd,
 
 /* Scan a bfd for a .directive section, and if found process it.
    Returns TRUE upon success, FALSE otherwise.  */
-bfd_boolean bfd_elf32_sh_symbian_process_directives (struct bfd_link_info *info, bfd * abfd);
 
-bfd_boolean
-bfd_elf32_sh_symbian_process_directives (struct bfd_link_info *info, bfd * abfd)
+static bfd_boolean
+sh_symbian_process_directives (bfd *abfd, struct bfd_link_info *info)
 {
   bfd_boolean result = FALSE;
   bfd_byte *  contents;
@@ -617,18 +616,12 @@ sh_symbian_relocate_section (bfd *                  output_bfd,
 				  contents, relocs, local_syms, local_sections);
 }
 
-static bfd_boolean
-sh_symbian_check_directives (bfd *abfd, struct bfd_link_info *info)
-{
-  return bfd_elf32_sh_symbian_process_directives (info, abfd);
-}
-
 #define TARGET_LITTLE_SYM	bfd_elf32_shl_symbian_vec
 #define TARGET_LITTLE_NAME      "elf32-shl-symbian"
 
 #undef  elf_backend_relocate_section
 #define elf_backend_relocate_section	sh_symbian_relocate_section
 #undef  elf_backend_check_directives
-#define elf_backend_check_directives    sh_symbian_check_directives
+#define elf_backend_check_directives    sh_symbian_process_directives
 
 #include "elf32-target.h"
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c
index 00681b2..708ab24 100644
--- a/bfd/elf32-spu.c
+++ b/bfd/elf32-spu.c
@@ -3895,16 +3895,27 @@ spu_elf_final_link (bfd *output_bfd, struct bfd_link_info *info)
    that need to be emitted.  */
 
 static unsigned int
-spu_elf_count_relocs (asection *sec, Elf_Internal_Rela *relocs)
+spu_elf_count_relocs (struct bfd_link_info *info, asection *sec)
 {
+  Elf_Internal_Rela *relocs;
   unsigned int count = 0;
-  Elf_Internal_Rela *relend = relocs + sec->reloc_count;
 
-  for (; relocs < relend; relocs++)
+  relocs = _bfd_elf_link_read_relocs (sec->owner, sec, NULL, NULL,
+				      info->keep_memory);
+  if (relocs != NULL)
     {
-      int r_type = ELF32_R_TYPE (relocs->r_info);
-      if (r_type == R_SPU_PPU32 || r_type == R_SPU_PPU64)
-	++count;
+      Elf_Internal_Rela *rel;
+      Elf_Internal_Rela *relend = relocs + sec->reloc_count;
+
+      for (rel = relocs; rel < relend; rel++)
+	{
+	  int r_type = ELF32_R_TYPE (rel->r_info);
+	  if (r_type == R_SPU_PPU32 || r_type == R_SPU_PPU64)
+	    ++count;
+	}
+
+      if (elf_section_data (sec)->relocs != relocs)
+	free (relocs);
     }
 
   return count;
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 523d137..9138371 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -92,7 +92,7 @@ static bfd_vma opd_entry_value
 #define elf_backend_create_dynamic_sections   ppc64_elf_create_dynamic_sections
 #define elf_backend_copy_indirect_symbol      ppc64_elf_copy_indirect_symbol
 #define elf_backend_add_symbol_hook	      ppc64_elf_add_symbol_hook
-#define elf_backend_check_directives	      ppc64_elf_check_directives
+#define elf_backend_check_directives	      ppc64_elf_process_dot_syms
 #define elf_backend_as_needed_cleanup	      ppc64_elf_as_needed_cleanup
 #define elf_backend_archive_symbol_lookup     ppc64_elf_archive_symbol_lookup
 #define elf_backend_check_relocs	      ppc64_elf_check_relocs
@@ -3620,7 +3620,7 @@ struct ppc_link_hash_table
   /* Set on error.  */
   unsigned int stub_error:1;
 
-  /* Temp used by ppc64_elf_check_directives.  */
+  /* Temp used by ppc64_elf_process_dot_syms.  */
   unsigned int twiddled_syms:1;
 
   /* Incremented every time we size stubs.  */
@@ -4438,7 +4438,7 @@ add_symbol_adjust (struct ppc_link_hash_entry *eh, struct bfd_link_info *info)
 /* Process list of dot-symbols we made in link_hash_newfunc.  */
 
 static bfd_boolean
-ppc64_elf_check_directives (bfd *ibfd, struct bfd_link_info *info)
+ppc64_elf_process_dot_syms (bfd *ibfd, struct bfd_link_info *info)
 {
   struct ppc_link_hash_table *htab;
   struct ppc_link_hash_entry **p, *eh;
diff --git a/bfd/elflink.c b/bfd/elflink.c
index d2dc17d..f2015ee 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -10095,22 +10095,7 @@ bfd_elf_final_link (bfd *abfd, struct bfd_link_info *info)
 	      if (info->relocatable || info->emitrelocations)
 		reloc_count = sec->reloc_count;
 	      else if (bed->elf_backend_count_relocs)
-		{
-		  Elf_Internal_Rela * relocs;
-
-		  relocs = _bfd_elf_link_read_relocs (sec->owner, sec,
-						      NULL, NULL,
-						      info->keep_memory);
-
-		  if (relocs != NULL)
-		    {
-		      reloc_count
-			= (*bed->elf_backend_count_relocs) (sec, relocs);
-
-		      if (elf_section_data (sec)->relocs != relocs)
-			free (relocs);
-		    }
-		}
+		reloc_count = (*bed->elf_backend_count_relocs) (info, sec);
 
 	      if (sec->rawsize > max_contents_size)
 		max_contents_size = sec->rawsize;
@@ -10756,16 +10741,16 @@ bfd_elf_final_link (bfd *abfd, struct bfd_link_info *info)
 		    && (h->root.type == bfd_link_hash_defined
 			|| h->root.type == bfd_link_hash_defweak))
 		  {
-		    dyn.d_un.d_val = h->root.u.def.value;
+		    dyn.d_un.d_ptr = h->root.u.def.value;
 		    o = h->root.u.def.section;
 		    if (o->output_section != NULL)
-		      dyn.d_un.d_val += (o->output_section->vma
+		      dyn.d_un.d_ptr += (o->output_section->vma
 					 + o->output_offset);
 		    else
 		      {
 			/* The symbol is imported from another shared
 			   library and does not apply to this one.  */
-			dyn.d_un.d_val = 0;
+			dyn.d_un.d_ptr = 0;
 		      }
 		    break;
 		  }
@@ -10844,6 +10829,7 @@ bfd_elf_final_link (bfd *abfd, struct bfd_link_info *info)
 	      else
 		type = SHT_RELA;
 	      dyn.d_un.d_val = 0;
+	      dyn.d_un.d_ptr = 0;
 	      for (i = 1; i < elf_numsections (abfd); i++)
 		{
 		  Elf_Internal_Shdr *hdr;
@@ -10856,9 +10842,9 @@ bfd_elf_final_link (bfd *abfd, struct bfd_link_info *info)
 			dyn.d_un.d_val += hdr->sh_size;
 		      else
 			{
-			  if (dyn.d_un.d_val == 0
-			      || hdr->sh_addr < dyn.d_un.d_val)
-			    dyn.d_un.d_val = hdr->sh_addr;
+			  if (dyn.d_un.d_ptr == 0
+			      || hdr->sh_addr < dyn.d_un.d_ptr)
+			    dyn.d_un.d_ptr = hdr->sh_addr;
 			}
 		    }
 		}
diff --git a/bfd/version.h b/bfd/version.h
index 12e33dc..c6c5769 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20081015
+#define BFD_VERSION_DATE 20081021
 #define BFD_VERSION @bfd_version@
 #define BFD_VERSION_STRING  @bfd_version_package@ @bfd_version_string@
 #define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 965dd0b..3c11048 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,138 @@
+2008-10-20  Joel Brobecker  <brobecker@adacore.com>
+
+	* NEWS: Add entry mentioning thread-support on Tru64
+
+2008-10-19  Joel Brobecker  <brobecker@adacore.com>
+
+	* dec-thread.c: New file.
+	* config/alpha/alpha-osf3.mh (NATDEPFILES): Add dec-thread.o.
+	(NAT_CLIBS): Define.
+
+2008-10-19  Hui Zhu  <teawater@gmail.com>
+
+	* infrun.c (handle_inferior_event): Set "stop_pc" when
+	TARGET_WAITKIND_NO_HISTORY.
+
+2008-10-19  Pedro Alves  <pedro@codesourcery.com>
+
+	* python/python-value.c (value_object_methods)
+	(value_object_as_number, value_object_as_mapping): Move to bottom
+	of file.
+	(valpy_dealloc, valpy_new, valpy_length, valpy_getitem)
+	(valpy_setitem, valpy_str, valpy_add, valpy_subtract)
+	(valpy_multiply, valpy_divide, valpy_remainder, valpy_power)
+	(valpy_negative, valpy_positive, valpy_absolute, valpy_nonzero)
+	(valpy_richcompare, valpy_dereference): Don't forward-declare.
+	(valpy_length) [HAVE_LIBPYTHON2_4]: Change return type to `int'.
+
+2008-10-18  Pedro Alves  <pedro@codesourcery.com>
+
+	* infrun.c (adjust_pc_after_break): Do nothing if executing in
+	reverse.
+
+2008-10-17  Pedro Alves  <pedro@codesourcery.com>
+
+	* infcmd.c (GO_USAGE): Delete.
+	(go_command): Adjust.
+
+2008-10-17  Michael Snyder  <msnyder@vmware.com>
+	Target interface for reverse debugging.
+	* target.h (enum target_waitkind): 
+	Add new wait event, TARGET_WAITKIND_NO_HISTORY.
+	(struct target_ops): New method to_can_execute_reverse.
+	(target_can_execute_reverse): New macro.
+	* target.c (update_current_target): Inherit to_can_execute_reverse.
+
+	Remote interface for reverse debugging.
+	* remote.c (remote_can_execute_reverse): New target method.
+	(remote_resume): Check for reverse exec direction, and send 
+	appropriate command to target.
+	(remote_wait_as): Check target response for NO_HISTORY status.
+	Also check for empty reply (target doesn't understand "bs" or "bc).
+	(remote_vcont_resume): Jump out if attempting reverse execution.
+
+	Event handling interface for reverse debugging.
+	* infrun.c (execution_direction): New state variable.
+	(enum inferior_stop_reason): Add NO_HISTORY reason.
+	(handle_inferior_event): Handle TARGET_WAITKIND_NO_HISTORY.
+	Handle stepping over a function call in reverse.
+	Handle stepping thru a line range in reverse.
+	Handle setting a step-resume breakpoint in reverse.
+	Handle stepping into a function in reverse.
+	Handle stepping between line ranges in reverse.
+	(print_stop_reason): Print reason for NO_HISTORY.
+	(step_into_function): Rename to handle_step_into_function.
+	(handle_step_into_function_backward): New function.
+	(set_exec_direction_func, show_exec_direction_func): New funcs.
+	(proceed): No need to singlestep over a breakpoint
+	when resuming in reverse.
+	
+	* inferior.h (enum exec_direction_kind): New enum.
+	(execution_direction): Export new execution state variable.
+
+	* breakpoint.c (make_breakpoint_silent): New function.
+	* breakpoint.h (make_breakpoint_silent): Export.
+	* infcmd.c (finish_command): Check for reverse exec direction.
+	(finish_backward): New function, handle finish cmd in reverse.
+
+	User interface for reverse execution.
+	* Makefile.in (reverse.c): New file.
+	* reverse.c: New file.  User interface for reverse execution.
+
+2008-10-17  Pedro Alves  <pedro@codesourcery.com>
+
+	* remote.c (record_currthread): Add inferior before child threads.
+	(remote_threads_info): Check for exited threads.  Mention
+	notification order.
+
+2008-10-16  Joel Brobecker  <brobecker@adacore.com>
+
+	* breakpoint.h (enum bptype): New enum bp_catchpoint.
+	Delete bp_catch_fork and bp_catch_vfork.
+	(struct breakpoint_ops): Add new methods "insert", "remove"
+	and "breakpoint_hit".
+	* breakpoint.c (create_fork_vfork_event_catchpoint)
+	(create_fork_event_catchpoint, create_vfork_event_catchpoint): Remove.
+	(insert_catchpoint): Remove handling of bp_catch_fork and
+	bp_catch_vfork catchpoints, and handle them as bp_catchpoint
+	catchpoints instead.
+	(insert_bp_location, update_breakpoints_after_exec)
+	(remove_breakpoint, bpstat_check_location, bpstat_what)
+	(allocate_bp_location): Likewise.
+	(print_it_typical, print_one_breakpoint_location, mention): Remove
+	handling of bp_catch_fork and bp_catch_vfork breakpoints.
+	(ep_is_catchpoint, user_settable_breakpoint)
+	(breakpoint_address_is_meaningful, adjust_breakpoint_address)
+	(breakpoint_re_set_one, disable_command, enable_command):
+	Remove use of bp_catch_fork and bp_catch_vfork.  Add handling of
+	bp_catchpoint breakpoints.
+	(insert_catch_fork, remove_catch_fork, breakpoint_hit_catch_fork)
+	(print_it_catch_fork, print_one_catch_fork, print_mention_catch_fork):
+	New functions.
+	(catch_fork_breakpoint_ops): New static constant.
+	(insert_catch_vfork, remove_catch_vfork, breakpoint_hit_catch_vfork)
+	(print_it_catch_vfork, print_one_catch_vfork)
+	(print_mention_catch_vfork): New functions.
+	(catch_vfork_breakpoint_ops): New static constant.
+	(create_catchpoint, create_fork_vfork_event_catchpoint): New functions.
+	(catch_fork_command_1): Use create_fork_vfork_event_catchpoint
+	to create the fork and vfork catchpoints.
+	(gnu_v3_exception_catchpoint_ops): Set new breakpoint_ops fields.
+	* ada-lang.c (catch_exception_breakpoint_ops): Set new breakpoint_ops
+	fields.
+	(catch_exception_unhandled_breakpoint_ops): Likewise.
+	(catch_assert_breakpoint_ops): Likewise.
+
+2008-10-16  Pedro Alves  <pedro@codesourcery.com>
+
+	* remote.c (set_general_process): New.
+	(remote_check_symbols): Use it.
+
+2008-10-16  Pedro Alves  <pedro@codesourcery.com>
+
+	* remote.c (push_remote_target): Delete.
+	* target.h (push_remote_target): Delete declaration.
+
 2008-10-15  Pedro Alves  <pedro@codesourcery.com>
 
 	* remote.c (remote_close): Unregister remote_desc from the event
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 5b6c93d..fe569c3 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -271,10 +271,12 @@ SUBDIR_TUI_CFLAGS= \
 #
 SUBDIR_PYTHON_OBS = \
 	python.o \
-	python-utils.o
+	python-utils.o \
+	python-value.o
 SUBDIR_PYTHON_SRCS = \
 	python/python.c \
-	python/python-utils.c
+	python/python-utils.c \
+	python/python-value.c
 SUBDIR_PYTHON_DEPS =
 SUBDIR_PYTHON_LDFLAGS=
 SUBDIR_PYTHON_CFLAGS=
@@ -639,7 +641,7 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c  \
 	objfiles.c osabi.c observer.c \
 	p-exp.y p-lang.c p-typeprint.c p-valprint.c parse.c printcmd.c \
 	prologue-value.c \
-	regcache.c reggroups.c remote.c remote-fileio.c \
+	regcache.c reggroups.c remote.c remote-fileio.c reverse.c \
 	scm-exp.c scm-lang.c scm-valprint.c \
 	sentinel-frame.c \
 	serial.c ser-base.c ser-unix.c \
@@ -778,7 +780,8 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
 	findcmd.o \
 	std-regs.o \
 	signals.o \
-	exec.o bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o \
+	exec.o reverse.o \
+	bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o \
 	dbxread.o coffread.o coff-pe-read.o \
 	dwarf2read.o mipsread.o stabsread.o corefile.o \
 	dwarf2expr.o dwarf2loc.o dwarf2-frame.o \
@@ -1836,6 +1839,10 @@ python-utils.o: $(srcdir)/python/python-utils.c
 	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python-utils.c
 	$(POSTCOMPILE)
 
+python-value.o: $(srcdir)/python/python-value.c
+	$(COMPILE) $(PYTHON_CFLAGS) $(srcdir)/python/python-value.c
+	$(POSTCOMPILE)
+
 #
 # Dependency tracking.  Most of this is conditional on GNU Make being
 # found by configure; if GNU Make is not found, we fall back to a
diff --git a/gdb/NEWS b/gdb/NEWS
index 46aa144..7c68728 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -57,6 +57,8 @@ with the --compress-debug-sections=zlib flag.
 
 * 64-bit core files are now supported on AIX.
 
+* Thread switching is now supported on Tru64.
+
 * Watchpoints can now be set on unreadable memory locations, e.g. addresses
 which will be allocated using malloc later in program execution.
 
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 1575fdd..2e29770 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -10152,6 +10152,9 @@ print_mention_catch_exception (struct breakpoint *b)
 
 static struct breakpoint_ops catch_exception_breakpoint_ops =
 {
+  NULL, /* insert */
+  NULL, /* remove */
+  NULL, /* breakpoint_hit */
   print_it_catch_exception,
   print_one_catch_exception,
   print_mention_catch_exception
@@ -10178,6 +10181,9 @@ print_mention_catch_exception_unhandled (struct breakpoint *b)
 }
 
 static struct breakpoint_ops catch_exception_unhandled_breakpoint_ops = {
+  NULL, /* insert */
+  NULL, /* remove */
+  NULL, /* breakpoint_hit */
   print_it_catch_exception_unhandled,
   print_one_catch_exception_unhandled,
   print_mention_catch_exception_unhandled
@@ -10204,6 +10210,9 @@ print_mention_catch_assert (struct breakpoint *b)
 }
 
 static struct breakpoint_ops catch_assert_breakpoint_ops = {
+  NULL, /* insert */
+  NULL, /* remove */
+  NULL, /* breakpoint_hit */
   print_it_catch_assert,
   print_one_catch_assert,
   print_mention_catch_assert
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 7f535df..180f6c9 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -159,10 +159,6 @@ static void awatch_command (char *, int);
 
 static void do_enable_breakpoint (struct breakpoint *, enum bpdisp);


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


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

end of thread, other threads:[~2009-09-17 10:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-04  2:30 [SCM] master: *** empty log message *** sergio
  -- strict thread matches above, loose matches on Subject: below --
2009-09-17 10:12 jkratoch
2009-08-18 15:16 swagiaal
2009-05-03 13:07 jkratoch
2009-02-28 20:17 jkratoch
2008-11-10 15:43 sergio
2008-10-29 17:15 sergio
2008-10-21 17:13 sergio

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