public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] master: gdb
@ 2008-10-28 19:02 tromey
0 siblings, 0 replies; 2+ messages in thread
From: tromey @ 2008-10-28 19:02 UTC (permalink / raw)
To: archer-commits
The branch, master has been updated
via b4584fb7df1e4142b62d2cba5fa51181d32f29a4 (commit)
via d078c7b7e00ebbc6ada4a0cd43fc3f901ed0923f (commit)
via c0fc6c1a94ebf1531c1180c53a177b84c99be83d (commit)
via 8326a9af68a15df0ff73a6ea1aa7d695cad1a149 (commit)
via f40da5290dc8ee587090642ec9dc3df1dfb642c3 (commit)
via 7c43910da1126fe1cbc5854d0414d8ac6a2f044f (commit)
via 23aaf67c9ef689b684b26f0760bf5978cf1aff35 (commit)
via f3b64a8ca47559849da00c7be866c9495bbed1c6 (commit)
via e96494c34c32d599cbd29d539255dd3a561d93dd (commit)
via 8a665f3319c25f3228d650ea15a07b68a9a0dc55 (commit)
via dbe2b5f4fe37616ec7bb987c693a9b8457be4db2 (commit)
via 644ad83038090cbb237c7aa6da0a23147fbffa9c (commit)
via 5c1707d40f02468b91c5f374317e36e30616e405 (commit)
via ff3adc38280fb83170e3cfabd923bc332b1f4547 (commit)
via 447c8e31c318eeb26f3a4b3f5a958ae0eb199d78 (commit)
via 91f1667f56f1a0a6f7ddcfe3161717f1cd626366 (commit)
via 91249d4314c9ab6eab5e5d54e321071049f07ed9 (commit)
via bf71bdecb940f8641801d3c247de9ddcf5cb117d (commit)
from da587f7b1f970acf8fe75fb497587242cf050d37 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit b4584fb7df1e4142b62d2cba5fa51181d32f29a4
Author: Tom Tromey <tromey@redhat.com>
Date: Tue Oct 28 17:19:53 2008 +0000
gdb
* 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.
(value_print, val_print, common_val_print, val_print_string):
Update.
* value.c: Include valprint.h.
(show_values): Use get_user_print_options.
(show_convenience): Likewise.
* valprint.h (prettyprint_arrays, prettyprint_structs): Don't
declare.
(struct value_print_options): New type.
(vtblprint, unionprint, addressprint, objectprint, print_max,
inspect_it, repeat_count_threshold, output_format,
stop_print_at_null): Don't declare.
(user_print_options, get_user_print_options,
get_raw_print_options, get_formatted_print_options): Declare.
(print_array_indexes_p): Don't declare.
(maybe_print_array_index, val_print_array_elements): Update.
* valprint.c (print_max): Remove.
(user_print_options): New global.
(get_user_print_options, get_raw_print_options,
get_formatted_print_options): New functions.
(print_array_indexes, repeat_count_threshold, stop_print_at_null,
prettyprint_structs, prettyprint_arrays, unionprint,
addressprint): Remove.
(val_print): Remove format, deref_ref, pretty arguments; add
options. Update.
(common_val_print): Likewise.
(print_array_indexes_p): Remove.
(maybe_print_array_index): Remove format, pretty arguments; add
options. Update.
(val_print_array_elements): Remove format, deref_ref, pretty
arguments; add options. Update.
(val_print_string): Add options argument. Update.
(_initialize_valprint): Use user_print_options.
(output_format): Remove.
(set_output_radix_1): Use user_print_options.
* typeprint.c: Include valprint.h.
(objectprint): Don't declare.
(whatis_exp): Use get_user_print_options.
* tui/tui-regs.c: Include valprint.h.
(tui_register_format): Use get_formatted_print_options.
* tracepoint.c: Include valprint.h.
(addressprint): Don't declare.
(trace_mention): Use get_user_print_options.
(tracepoints_info): Likewise.
* stack.c (print_frame_args): Use get_raw_print_options.
(print_frame_info): Use get_user_print_options.
(print_frame): Likewise.
* sh64-tdep.c: Include valprint.h
(sh64_do_register): Use get_formatted_print_options.
* scm-valprint.c (scm_inferior_print): Remove format, deref_ref,
pretty arguments; add options.
(scm_scmlist_print): Likewise. Update.
(scm_scmval_print): Likewise.
(scm_val_print): Likewise.
(scm_value_print): Remove format, pretty arguments; add options.
Update.
* scm-lang.h (scm_value_print, scm_val_print, scm_scmval_print):
Update.
* scm-lang.c (scm_printstr): Add options argument.
* python/python-value.c: Include valprint.h.
(valpy_str): Use get_user_print_options.
* printcmd.c: Include valprint.h.
(addressprint): Don't declare.
(inspect_it): Remove.
(print_formatted): Remove format option; add options. Update.
(print_scalar_formatted): Likewise.
(print_address_demangle): Use get_user_print_options.
(do_examine): Use get_formatted_print_options.
(print_command_1): Likewise.
(output_command): Use get_formatted_print_options.
(do_one_display): Likewise.
(print_variable_value): Use get_user_print_options.
* p-valprint.c (pascal_val_print): Remove format, deref_ref,
pretty arguments; add options. Update.
(pascal_value_print): Remove format, pretty arguments; add
options. Update.
(vtblprint, objectprint): Don't declare.
(pascal_static_field_print): Remove.
(pascal_object_print_value_fields): Remove format, pretty
arguments; add options. Update.
(pascal_object_print_static_field): Likewise.
(_initialize_pascal_valprint): Use user_print_options. Update.
* p-lang.h (pascal_val_print, pascal_value_print,
pascal_printstr, pascal_object_print_value_fields): Update.
(vtblprint, static_field_print): Don't declare.
* p-lang.c (pascal_printstr): Add options argument. Update.
* objc-lang.c (objc_printstr): Add options argument. Update.
* mt-tdep.c: Include valprint.h.
(mt_registers_info): Use get_raw_print_options.
* mips-tdep.c: Include valprint.h.
(mips_print_fp_register): Use get_formatted_print_options.
(mips_print_register): Likewise.
* mi/mi-main.c: Include valprint.h.
(get_register): Use get_user_print_options.
(mi_cmd_data_evaluate_expression): Likewise.
(mi_cmd_data_read_memory): Use get_formatted_print_options.
* mi/mi-cmd-stack.c: Include valprint.h.
(list_args_or_locals): Use get_raw_print_options.
* m2-valprint.c (print_function_pointer_address): Add addressprint
argument.
(m2_print_long_set): Remove format, pretty arguments.
(m2_print_unbounded_array): Remove format, deref_ref, pretty
arguments; add options. Update.
(print_unpacked_pointer): Remove format argument; add options.
Now static. Update.
(print_variable_at_address): Remove format, deref_ref, pretty
arguments; add options. Update.
(m2_print_array_contents): Likewise.
(m2_val_print): Likewise.
* m2-lang.h (m2_val_print): Update.
* m2-lang.c (m2_printstr): Add options argument. Update.
* language.h (struct value_print_options): Declare.
(struct language_defn) <la_printstr>: Add options argument.
<la_val_print>: Remove format, deref_ref, pretty argument; add
options.
<la_value_print>: Remove format, pretty arguments; add options.
<la_print_array_index>: Likewise.
(LA_VAL_PRINT, LA_VALUE_PRINT, LA_PRINT_STRING,
LA_PRINT_ARRAY_INDEX): Update.
(default_print_array_index): Update.
* language.c (default_print_array_index): Remove format, pretty
arguments; add options. Update.
(unk_lang_printstr): Add options argument.
(unk_lang_val_print): Remove format, deref_ref, pretty arguments;
add options.
(unk_lang_value_print): Remove format, pretty arguments; add
options.
* jv-valprint.c (java_value_print): Remove format, pretty
arguments; add options. Update.
(java_print_value_fields): Likewise.
(java_val_print): Remove format, deref_ref, pretty arguments; add
options. Update.
* jv-lang.h (java_val_print, java_value_print): Declare.
* infcmd.c: Include valprint.h.
(print_return_value): Use get_raw_print_options.
(default_print_registers_info): Use get_user_print_options,
get_formatted_print_options.
(registers_info): Use get_formatted_print_options.
* gdbtypes.h (struct value_print_options): Declare.
(print_scalar_formatted): Update.
* f-valprint.c (f77_print_array_1): Remove format, deref_ref,
pretty arguments; add options. Update.
(f77_print_array): Likewise.
(f_val_print): Likewise.
* f-lang.h (f_val_print): Update.
* f-lang.c (f_printstr): Add options argument. Update.
(c_value_print): Update declaration.
* expprint.c: Include valprint.h.
(print_subexp_standard): Use get_raw_print_options,
get_user_print_options.
* eval.c: Include valprint.h.
(objectprint): Don't declare.
(evaluate_subexp_standard): Use get_user_print_options.
* cp-valprint.c (vtblprint, objectprint, static_field_print):
Remove.
(cp_print_value_fields): Remove format, pretty arguments; add
options. Update.
(cp_print_value): Likewise.
(cp_print_static_field): Likewise.
(_initialize_cp_valprint): Use user_print_options. Update.
* c-valprint.c (print_function_pointer_address): Add addressprint
argument.
(c_val_print): Remove format, deref_ref, pretty arguments; add
options. Update.
(c_value_print): Add options argument. Update.
* c-lang.h (c_val_print, c_value_print, c_printstr): Update.
(vtblprint, static_field_print): Don't declare.
(cp_print_value_fields): Update.
* c-lang.c (c_printstr): Add options argument. Update.
* breakpoint.c: Include valprint.h.
(addressprint): Don't declare.
(watchpoint_value_print): Use get_user_print_options.
(print_one_breakpoint_location): Likewise.
(breakpoint_1, print_it_catch_fork, print_it_catch_vfork, mention,
print_exception_catchpoint): Likewise.
* auxv.c (fprint_target_auxv): Don't declare addressprint. Use
get_user_print_options.
* ada-valprint.c (struct ada_val_print_args): Remove format,
deref_ref, and pretty; add options.
(print_optional_low_bound): Add options argument.
(val_print_packed_array_elements): Remove format and pretty
arguments; add options. Update.
(printstr): Add options argument. Update.
(ada_printstr): Likewise.
(ada_val_print): Remove format, deref_ref, pretty arguments; add
options argument. Update.
(ada_val_print_stub): Update.
(ada_val_print_array): Remove format, deref_ref, pretty arguments;
add options. Update.
(ada_val_print_1): Likewise.
(print_variant_part): Likewise.
(ada_value_print): Remove format, pretty arguments; add options.
Update.
(print_record): Likewise.
(print_field_values): Likewise.
* ada-lang.h (ada_val_print, ada_value_print, ada_printstr):
Update.
* ada-lang.c (ada_print_array_index): Add options argument; remove
format and pretty arguments.
(print_one_exception): Use get_user_print_options.
gdb/testsuite
* gdb.base/exprs.exp (test_expr): Add enum formatting tests.
commit d078c7b7e00ebbc6ada4a0cd43fc3f901ed0923f
Author: Tom Tromey <tromey@redhat.com>
Date: Tue Oct 28 15:22:11 2008 +0000
* cli/cli-script.c (do_fclose_cleanup): Remove.
(script_from_file): Use make_cleanup_fclose.
* xml-tdesc.c (do_cleanup_fclose): Remove.
(fetch_xml_from_file): Use make_cleanup_fclose.
* tracepoint.c (tracepoint_save_command): Use
make_cleanup_fclose. Always free pathname.
* source.c (print_source_lines_base): Use make_cleanup_fclose.
* remote.c (fclose_cleanup): Remove.
(remote_file_put): Use make_cleanup_fclose.
(remote_file_get): Likewise.
* linux-nat.c (linux_nat_find_memory_regions): Use
make_cleanup_fclose.
(linux_nat_info_proc_cmd): Likewise.
(linux_proc_pending_signals): Likewise.
* fbsd-nat.c (fbsd_find_memory_regions): Use make_cleanup_fclose.
Free file name.
* cli/cli-dump.c (do_fclose_cleanup): Remove.
(make_cleanup_fclose): Remove.
* defs.h (make_cleanup_fclose): Declare.
* utils.c (do_fclose_cleanup): New function.
(make_cleanup_fclose): Likewise.
commit c0fc6c1a94ebf1531c1180c53a177b84c99be83d
Author: Alan Modra <amodra@bigpond.net.au>
Date: Tue Oct 28 00:00:04 2008 +0000
daily update
commit 8326a9af68a15df0ff73a6ea1aa7d695cad1a149
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Tue Oct 28 00:00:02 2008 +0000
*** empty log message ***
commit f40da5290dc8ee587090642ec9dc3df1dfb642c3
Author: Pedro Alves <pedro@codesourcery.com>
Date: Mon Oct 27 22:37:19 2008 +0000
* inflow.c (kill_command): If the target claims there is still
execution, don't clear the thread list.
commit 7c43910da1126fe1cbc5854d0414d8ac6a2f044f
Author: Pedro Alves <pedro@codesourcery.com>
Date: Mon Oct 27 19:28:50 2008 +0000
* cp-name-parser.y: Include defs.h instead of config.h.
(parse_escape): Rename to ...
(cp_parse_escape): ... this.
(yylex): Update.
(xfree) [TEST_CPNAMES]: New.
commit 23aaf67c9ef689b684b26f0760bf5978cf1aff35
Author: DJ Delorie <dj@delorie.com>
Date: Mon Oct 27 18:25:21 2008 +0000
merge from gcc
commit f3b64a8ca47559849da00c7be866c9495bbed1c6
Author: Pedro Alves <pedro@codesourcery.com>
Date: Mon Oct 27 17:41:57 2008 +0000
* CONTRIBUTE: Mention autoconf 2.59 and configure.ac instead of
2.13 and configure.in.
commit e96494c34c32d599cbd29d539255dd3a561d93dd
Author: Pedro Alves <pedro@codesourcery.com>
Date: Mon Oct 27 12:43:23 2008 +0000
* target.h (struct target_ops) <to_supports_multi_process>: New
field.
(target_supports_multi_process): New define.
* target.c (update_current_target): Inherit and de_fault
to_supports_multi_process.
* infcmd.c (attach_command): Allow attaching to multiple processes
if the target supports it.
(detach_command): If the target claims there is still execution,
don't clear the thread list.
* remote.c (remote_supports_multi_process): New.
(init_remote_ops): Register remote_supports_multi_process.
commit 8a665f3319c25f3228d650ea15a07b68a9a0dc55
Author: Pedro Alves <pedro@codesourcery.com>
Date: Mon Oct 27 11:46:23 2008 +0000
* Makefile.in (.y.c, .l.c): sed free to xfree.
commit dbe2b5f4fe37616ec7bb987c693a9b8457be4db2
Author: Pedro Alves <pedro@codesourcery.com>
Date: Mon Oct 27 11:37:39 2008 +0000
gdb/
* Makefile.in (INSTALLED_LIBS, CLIBS): Remove reference to
$(TM_CLIBS).
(CDEPS): Remove reference to $(TM_CDEPS).
gdb/doc/
* gdbint.texinfo (Adding a New Target): Don't mention TDEPFILES,
.mt files, TM_CLIBS or TM_CDEPS.
(x86 Watchpoints): Don't mention TDEPFILES.
commit 644ad83038090cbb237c7aa6da0a23147fbffa9c
Author: Michael Snyder <msnyder@specifix.com>
Date: Mon Oct 27 04:53:05 2008 +0000
2008-10-26 Michael Snyder <msnyder@vmware.com>
* infrun.c (handle_inferior_event): Handle dynamic symbol
resolution in reverse.
commit 5c1707d40f02468b91c5f374317e36e30616e405
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Mon Oct 27 00:00:33 2008 +0000
*** empty log message ***
commit ff3adc38280fb83170e3cfabd923bc332b1f4547
Author: Alan Modra <amodra@bigpond.net.au>
Date: Mon Oct 27 00:00:08 2008 +0000
daily update
commit 447c8e31c318eeb26f3a4b3f5a958ae0eb199d78
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Sun Oct 26 00:00:32 2008 +0000
*** empty log message ***
commit 91f1667f56f1a0a6f7ddcfe3161717f1cd626366
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sun Oct 26 00:00:05 2008 +0000
daily update
commit 91249d4314c9ab6eab5e5d54e321071049f07ed9
Author: Joel Brobecker <brobecker@gnat.com>
Date: Sat Oct 25 16:03:14 2008 +0000
* infrun.c: Minor comment reformatting.
commit bf71bdecb940f8641801d3c247de9ddcf5cb117d
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sat Oct 25 15:44:22 2008 +0000
ChangeLog (2008-03-13): Fix a function name typo.
-----------------------------------------------------------------------
Summary of changes:
bfd/version.h | 2 +-
gdb/CONTRIBUTE | 6 +-
gdb/ChangeLog | 284 +++++++++++++++++++++++++++++++++++++-
gdb/Makefile.in | 10 +-
gdb/ada-lang.c | 9 +-
gdb/ada-lang.h | 11 +-
gdb/ada-valprint.c | 218 +++++++++++++++--------------
gdb/auxv.c | 13 +-
gdb/breakpoint.c | 49 +++++--
gdb/c-lang.c | 15 +-
gdb/c-lang.h | 17 +--
gdb/c-valprint.c | 167 +++++++++++++----------
gdb/cli/cli-dump.c | 13 --
gdb/cli/cli-script.c | 8 +-
gdb/cp-name-parser.y | 18 ++-
gdb/cp-valprint.c | 78 +++++-----
gdb/defs.h | 2 +
gdb/doc/ChangeLog | 6 +
gdb/doc/gdbint.texinfo | 13 +--
gdb/eval.c | 11 +-
gdb/expprint.c | 67 ++++++---
gdb/f-lang.c | 19 ++--
gdb/f-lang.h | 4 +-
gdb/f-valprint.c | 103 +++++++-------
gdb/fbsd-nat.c | 5 +-
gdb/gdbtypes.h | 6 +-
gdb/infcmd.c | 38 ++++-
gdb/inflow.c | 19 ++-
gdb/infrun.c | 19 +++-
gdb/jv-lang.h | 8 +-
gdb/jv-valprint.c | 99 ++++++++------
gdb/language.c | 18 ++-
gdb/language.h | 35 +++---
gdb/linux-nat.c | 21 ++-
gdb/m2-lang.c | 15 +-
gdb/m2-lang.h | 4 +-
gdb/m2-valprint.c | 174 ++++++++++++------------
gdb/mi/mi-cmd-stack.c | 23 ++-
gdb/mi/mi-main.c | 17 ++-
gdb/mips-tdep.c | 16 ++-
gdb/mt-tdep.c | 6 +-
gdb/objc-lang.c | 15 +-
gdb/p-lang.c | 15 +-
gdb/p-lang.h | 19 +--
gdb/p-valprint.c | 203 ++++++++++++++-------------
gdb/printcmd.c | 104 ++++++++-------
gdb/python/python-value.c | 9 +-
gdb/remote.c | 18 ++-
gdb/scm-lang.c | 3 +-
gdb/scm-lang.h | 10 +-
gdb/scm-valprint.c | 71 +++++-----
gdb/sh64-tdep.c | 12 ++-
gdb/source.c | 4 +-
gdb/stack.c | 19 ++-
gdb/target.c | 4 +
gdb/target.h | 10 ++
gdb/testsuite/ChangeLog | 4 +
gdb/testsuite/gdb.base/exprs.exp | 7 +
gdb/tracepoint.c | 22 ++--
gdb/tui/tui-regs.c | 5 +-
gdb/typeprint.c | 9 +-
gdb/utils.c | 17 +++
gdb/valprint.c | 197 ++++++++++++++------------
gdb/valprint.h | 103 +++++++++++----
gdb/value.c | 9 +-
gdb/value.h | 18 ++--
gdb/varobj.c | 7 +-
gdb/version.in | 2 +-
gdb/xml-tdesc.c | 10 +--
libdecnumber/ChangeLog | 12 ++
libdecnumber/decBasic.c | 12 +-
libdecnumber/decDouble.h | 6 +-
libdecnumber/decNumberLocal.h | 12 +-
libdecnumber/decQuad.h | 6 +-
libdecnumber/decSingle.h | 6 +-
75 files changed, 1635 insertions(+), 1011 deletions(-)
First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 8935185..fbccae5 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20081025
+#define BFD_VERSION_DATE 20081028
#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/CONTRIBUTE b/gdb/CONTRIBUTE
index f1f3cb0..67a2ed4 100644
--- a/gdb/CONTRIBUTE
+++ b/gdb/CONTRIBUTE
@@ -115,19 +115,19 @@ o Please read your patch before submitting it.
to re-formatting / split it.
-o If ``gdb/configure.in'' is modified then you don't
+o If ``gdb/configure.ac'' is modified then you don't
need to include patches to the regenerated file
``configure''.
The maintainer will re-generate those files
- using autoconf (2.13 as of 2000-02-29).
+ using autoconf (2.59 as of 2005-01-07).
o If ``gdb/gdbarch.sh'' is modified, you don't
need to include patches to the generated files
``gdbarch.h'' and ``gdbarch.c''.
- See ``gdb/configure.in'' above.
+ See ``gdb/configure.ac'' above.
o When submitting a patch that fixes a bug
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c30272b..b2fa68f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,283 @@
+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.
+ (value_print, val_print, common_val_print, val_print_string):
+ Update.
+ * value.c: Include valprint.h.
+ (show_values): Use get_user_print_options.
+ (show_convenience): Likewise.
+ * valprint.h (prettyprint_arrays, prettyprint_structs): Don't
+ declare.
+ (struct value_print_options): New type.
+ (vtblprint, unionprint, addressprint, objectprint, print_max,
+ inspect_it, repeat_count_threshold, output_format,
+ stop_print_at_null): Don't declare.
+ (user_print_options, get_user_print_options,
+ get_raw_print_options, get_formatted_print_options): Declare.
+ (print_array_indexes_p): Don't declare.
+ (maybe_print_array_index, val_print_array_elements): Update.
+ * valprint.c (print_max): Remove.
+ (user_print_options): New global.
+ (get_user_print_options, get_raw_print_options,
+ get_formatted_print_options): New functions.
+ (print_array_indexes, repeat_count_threshold, stop_print_at_null,
+ prettyprint_structs, prettyprint_arrays, unionprint,
+ addressprint): Remove.
+ (val_print): Remove format, deref_ref, pretty arguments; add
+ options. Update.
+ (common_val_print): Likewise.
+ (print_array_indexes_p): Remove.
+ (maybe_print_array_index): Remove format, pretty arguments; add
+ options. Update.
+ (val_print_array_elements): Remove format, deref_ref, pretty
+ arguments; add options. Update.
+ (val_print_string): Add options argument. Update.
+ (_initialize_valprint): Use user_print_options.
+ (output_format): Remove.
+ (set_output_radix_1): Use user_print_options.
+ * typeprint.c: Include valprint.h.
+ (objectprint): Don't declare.
+ (whatis_exp): Use get_user_print_options.
+ * tui/tui-regs.c: Include valprint.h.
+ (tui_register_format): Use get_formatted_print_options.
+ * tracepoint.c: Include valprint.h.
+ (addressprint): Don't declare.
+ (trace_mention): Use get_user_print_options.
+ (tracepoints_info): Likewise.
+ * stack.c (print_frame_args): Use get_raw_print_options.
+ (print_frame_info): Use get_user_print_options.
+ (print_frame): Likewise.
+ * sh64-tdep.c: Include valprint.h
+ (sh64_do_register): Use get_formatted_print_options.
+ * scm-valprint.c (scm_inferior_print): Remove format, deref_ref,
+ pretty arguments; add options.
+ (scm_scmlist_print): Likewise. Update.
+ (scm_scmval_print): Likewise.
+ (scm_val_print): Likewise.
+ (scm_value_print): Remove format, pretty arguments; add options.
+ Update.
+ * scm-lang.h (scm_value_print, scm_val_print, scm_scmval_print):
+ Update.
+ * scm-lang.c (scm_printstr): Add options argument.
+ * python/python-value.c: Include valprint.h.
+ (valpy_str): Use get_user_print_options.
+ * printcmd.c: Include valprint.h.
+ (addressprint): Don't declare.
+ (inspect_it): Remove.
+ (print_formatted): Remove format option; add options. Update.
+ (print_scalar_formatted): Likewise.
+ (print_address_demangle): Use get_user_print_options.
+ (do_examine): Use get_formatted_print_options.
+ (print_command_1): Likewise.
+ (output_command): Use get_formatted_print_options.
+ (do_one_display): Likewise.
+ (print_variable_value): Use get_user_print_options.
+ * p-valprint.c (pascal_val_print): Remove format, deref_ref,
+ pretty arguments; add options. Update.
+ (pascal_value_print): Remove format, pretty arguments; add
+ options. Update.
+ (vtblprint, objectprint): Don't declare.
+ (pascal_static_field_print): Remove.
+ (pascal_object_print_value_fields): Remove format, pretty
+ arguments; add options. Update.
+ (pascal_object_print_static_field): Likewise.
+ (_initialize_pascal_valprint): Use user_print_options. Update.
+ * p-lang.h (pascal_val_print, pascal_value_print,
+ pascal_printstr, pascal_object_print_value_fields): Update.
+ (vtblprint, static_field_print): Don't declare.
+ * p-lang.c (pascal_printstr): Add options argument. Update.
+ * objc-lang.c (objc_printstr): Add options argument. Update.
+ * mt-tdep.c: Include valprint.h.
+ (mt_registers_info): Use get_raw_print_options.
+ * mips-tdep.c: Include valprint.h.
+ (mips_print_fp_register): Use get_formatted_print_options.
+ (mips_print_register): Likewise.
+ * mi/mi-main.c: Include valprint.h.
+ (get_register): Use get_user_print_options.
+ (mi_cmd_data_evaluate_expression): Likewise.
+ (mi_cmd_data_read_memory): Use get_formatted_print_options.
+ * mi/mi-cmd-stack.c: Include valprint.h.
+ (list_args_or_locals): Use get_raw_print_options.
+ * m2-valprint.c (print_function_pointer_address): Add addressprint
+ argument.
+ (m2_print_long_set): Remove format, pretty arguments.
+ (m2_print_unbounded_array): Remove format, deref_ref, pretty
+ arguments; add options. Update.
+ (print_unpacked_pointer): Remove format argument; add options.
+ Now static. Update.
+ (print_variable_at_address): Remove format, deref_ref, pretty
+ arguments; add options. Update.
+ (m2_print_array_contents): Likewise.
+ (m2_val_print): Likewise.
+ * m2-lang.h (m2_val_print): Update.
+ * m2-lang.c (m2_printstr): Add options argument. Update.
+ * language.h (struct value_print_options): Declare.
+ (struct language_defn) <la_printstr>: Add options argument.
+ <la_val_print>: Remove format, deref_ref, pretty argument; add
+ options.
+ <la_value_print>: Remove format, pretty arguments; add options.
+ <la_print_array_index>: Likewise.
+ (LA_VAL_PRINT, LA_VALUE_PRINT, LA_PRINT_STRING,
+ LA_PRINT_ARRAY_INDEX): Update.
+ (default_print_array_index): Update.
+ * language.c (default_print_array_index): Remove format, pretty
+ arguments; add options. Update.
+ (unk_lang_printstr): Add options argument.
+ (unk_lang_val_print): Remove format, deref_ref, pretty arguments;
+ add options.
+ (unk_lang_value_print): Remove format, pretty arguments; add
+ options.
+ * jv-valprint.c (java_value_print): Remove format, pretty
+ arguments; add options. Update.
+ (java_print_value_fields): Likewise.
+ (java_val_print): Remove format, deref_ref, pretty arguments; add
+ options. Update.
+ * jv-lang.h (java_val_print, java_value_print): Declare.
+ * infcmd.c: Include valprint.h.
+ (print_return_value): Use get_raw_print_options.
+ (default_print_registers_info): Use get_user_print_options,
+ get_formatted_print_options.
+ (registers_info): Use get_formatted_print_options.
+ * gdbtypes.h (struct value_print_options): Declare.
+ (print_scalar_formatted): Update.
+ * f-valprint.c (f77_print_array_1): Remove format, deref_ref,
+ pretty arguments; add options. Update.
+ (f77_print_array): Likewise.
+ (f_val_print): Likewise.
+ * f-lang.h (f_val_print): Update.
+ * f-lang.c (f_printstr): Add options argument. Update.
+ (c_value_print): Update declaration.
+ * expprint.c: Include valprint.h.
+ (print_subexp_standard): Use get_raw_print_options,
+ get_user_print_options.
+ * eval.c: Include valprint.h.
+ (objectprint): Don't declare.
+ (evaluate_subexp_standard): Use get_user_print_options.
+ * cp-valprint.c (vtblprint, objectprint, static_field_print):
+ Remove.
+ (cp_print_value_fields): Remove format, pretty arguments; add
+ options. Update.
+ (cp_print_value): Likewise.
+ (cp_print_static_field): Likewise.
+ (_initialize_cp_valprint): Use user_print_options. Update.
+ * c-valprint.c (print_function_pointer_address): Add addressprint
+ argument.
+ (c_val_print): Remove format, deref_ref, pretty arguments; add
+ options. Update.
+ (c_value_print): Add options argument. Update.
+ * c-lang.h (c_val_print, c_value_print, c_printstr): Update.
+ (vtblprint, static_field_print): Don't declare.
+ (cp_print_value_fields): Update.
+ * c-lang.c (c_printstr): Add options argument. Update.
+ * breakpoint.c: Include valprint.h.
+ (addressprint): Don't declare.
+ (watchpoint_value_print): Use get_user_print_options.
+ (print_one_breakpoint_location): Likewise.
+ (breakpoint_1, print_it_catch_fork, print_it_catch_vfork, mention,
+ print_exception_catchpoint): Likewise.
+ * auxv.c (fprint_target_auxv): Don't declare addressprint. Use
+ get_user_print_options.
+ * ada-valprint.c (struct ada_val_print_args): Remove format,
+ deref_ref, and pretty; add options.
+ (print_optional_low_bound): Add options argument.
+ (val_print_packed_array_elements): Remove format and pretty
+ arguments; add options. Update.
+ (printstr): Add options argument. Update.
+ (ada_printstr): Likewise.
+ (ada_val_print): Remove format, deref_ref, pretty arguments; add
+ options argument. Update.
+ (ada_val_print_stub): Update.
+ (ada_val_print_array): Remove format, deref_ref, pretty arguments;
+ add options. Update.
+ (ada_val_print_1): Likewise.
+ (print_variant_part): Likewise.
+ (ada_value_print): Remove format, pretty arguments; add options.
+ Update.
+ (print_record): Likewise.
+ (print_field_values): Likewise.
+ * ada-lang.h (ada_val_print, ada_value_print, ada_printstr):
+ Update.
+ * ada-lang.c (ada_print_array_index): Add options argument; remove
+ format and pretty arguments.
+ (print_one_exception): Use get_user_print_options.
+
+2008-10-28 Tom Tromey <tromey@redhat.com>
+
+ * cli/cli-script.c (do_fclose_cleanup): Remove.
+ (script_from_file): Use make_cleanup_fclose.
+ * xml-tdesc.c (do_cleanup_fclose): Remove.
+ (fetch_xml_from_file): Use make_cleanup_fclose.
+ * tracepoint.c (tracepoint_save_command): Use
+ make_cleanup_fclose. Always free pathname.
+ * source.c (print_source_lines_base): Use make_cleanup_fclose.
+ * remote.c (fclose_cleanup): Remove.
+ (remote_file_put): Use make_cleanup_fclose.
+ (remote_file_get): Likewise.
+ * linux-nat.c (linux_nat_find_memory_regions): Use
+ make_cleanup_fclose.
+ (linux_nat_info_proc_cmd): Likewise.
+ (linux_proc_pending_signals): Likewise.
+ * fbsd-nat.c (fbsd_find_memory_regions): Use make_cleanup_fclose.
+ Free file name.
+ * cli/cli-dump.c (do_fclose_cleanup): Remove.
+ (make_cleanup_fclose): Remove.
+ * defs.h (make_cleanup_fclose): Declare.
+ * utils.c (do_fclose_cleanup): New function.
+ (make_cleanup_fclose): Likewise.
+
+2008-10-27 Pedro Alves <pedro@codesourcery.com>
+
+ * inflow.c (kill_command): If the target claims there is still
+ execution, don't clear the thread list.
+
+2008-10-27 Pedro Alves <pedro@codesourcery.com>
+
+ * cp-name-parser.y: Include defs.h instead of config.h.
+ (parse_escape): Rename to ...
+ (cp_parse_escape): ... this.
+ (yylex): Update.
+ (xfree) [TEST_CPNAMES]: New.
+
+2008-10-27 Pedro Alves <pedro@codesourcery.com>
+
+ * CONTRIBUTE: Mention autoconf 2.59 and configure.ac instead of
+ 2.13 and configure.in.
+
+2008-10-27 Pedro Alves <pedro@codesourcery.com>
+
+ * target.h (struct target_ops) <to_supports_multi_process>: New
+ field.
+ (target_supports_multi_process): New define.
+ * target.c (update_current_target): Inherit and de_fault
+ to_supports_multi_process.
+ * infcmd.c (attach_command): Allow attaching to multiple processes
+ if the target supports it.
+ (detach_command): If the target claims there is still execution,
+ don't clear the thread list.
+ * remote.c (remote_supports_multi_process): New.
+ (init_remote_ops): Register remote_supports_multi_process.
+
+2008-10-27 Pedro Alves <pedro@codesourcery.com>
+
+ * Makefile.in (.y.c, .l.c): sed free to xfree.
+
+2008-10-27 Pedro Alves <pedro@codesourcery.com>
+
+ * Makefile.in (INSTALLED_LIBS, CLIBS): Remove reference to
+ $(TM_CLIBS).
+ (CDEPS): Remove reference to $(TM_CDEPS).
+
+2008-10-26 Michael Snyder <msnyder@vmware.com>
+
+ * infrun.c (handle_inferior_event): Handle dynamic symbol
+ resolution in reverse.
+
+2008-10-25 Joel Brobecker <brobecker@adacore.com>
+
+ * infrun.c: Minor comment reformatting.
+
2008-10-25 Pedro Alves <pedro@codesourcery.com>
* ada-exp.y (write_object_renaming): Use malloc instead of
@@ -8611,9 +8891,9 @@
* target.c (memory_xfer_partial): Call
breakpoint_restore_shadows.
(restore_show_memory_breakpoints)
- (make_show_memory_beakpoints_cleanup): New.
+ (make_show_memory_breakpoints_cleanup): New.
(show_memory_breakpoints): New.
- * target.h (make_show_memory_beakpoints_cleanup): Declare.
+ * target.h (make_show_memory_breakpoints_cleanup): Declare.
* ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint):
Make sure we see memory breakpoints when checking if
breakpoint is still there.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 645d901..ec4b1d2 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -411,13 +411,13 @@ INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(MH_LDFLAGS) $(LDFLAGS) $(CONFIG_
# If you have the Cygnus libraries installed,
# you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
INSTALLED_LIBS=-lbfd -lreadline -lopcodes -liberty -ldecnumber \
- $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
+ $(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
-lintl -liberty $(LIBGNU)
CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(INTL) $(LIBIBERTY) $(LIBDECNUMBER) \
- $(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
+ $(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
$(LIBICONV) $(LIBEXPAT) \
$(LIBIBERTY) $(WIN32LIBS) $(LIBGNU)
-CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) \
+CDEPS = $(XM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) \
$(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU)
ADD_FILES = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
@@ -1470,6 +1470,8 @@ po/$(PACKAGE).pot: force
-e '/include.*malloc.h/d' \
-e 's/\([^x]\)malloc/\1xmalloc/g' \
-e 's/\([^x]\)realloc/\1xrealloc/g' \
+ -e 's/\([ \t;,(]\)free\([ \t]*[&(),]\)/\1xfree\2/g' \
+ -e 's/\([ \t;,(]\)free$$/\1xfree/g' \
-e '/^#line.*y.tab.c/d' \
< $@.tmp > $@.new
-rm $@.tmp
@@ -1484,6 +1486,8 @@ po/$(PACKAGE).pot: force
-e '/include.*malloc.h/d' \
-e 's/\([^x]\)malloc/\1xmalloc/g' \
-e 's/\([^x]\)realloc/\1xrealloc/g' \
+ -e 's/\([ \t;,(]\)free\([ \t]*[&(),]\)/\1xfree\2/g' \
+ -e 's/\([ \t;,(]\)free$$/\1xfree/g' \
-e 's/yy_flex_xrealloc/yyxrealloc/g' \
< $@ > $@.new && \
rm -f $@ && \
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index cce7da9..9fdd944 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -353,9 +353,9 @@ ada_get_gdb_completer_word_break_characters (void)
static void
ada_print_array_index (struct value *index_value, struct ui_file *stream,
- int format, enum val_prettyprint pretty)
+ const struct value_print_options *options)
{
- LA_VALUE_PRINT (index_value, stream, format, pretty);
+ LA_VALUE_PRINT (index_value, stream, options);
fprintf_filtered (stream, " => ");
}
@@ -10100,7 +10100,10 @@ static void
print_one_exception (enum exception_catchpoint_kind ex,
struct breakpoint *b, CORE_ADDR *last_addr)
{
- if (addressprint)
+ struct value_print_options opts;
+
+ get_user_print_options (&opts);
+ if (opts.addressprint)
{
annotate_field (4);
ui_out_field_core_addr (uiout, "addr", b->loc->address);
diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h
index ce6be4b..562a867 100644
--- a/gdb/ada-lang.h
+++ b/gdb/ada-lang.h
@@ -249,11 +249,11 @@ extern void ada_print_type (struct type *, char *, struct ui_file *, int,
int);
extern int ada_val_print (struct type *, const gdb_byte *, int, CORE_ADDR,
- struct ui_file *, int, int, int,
- enum val_prettyprint);
+ struct ui_file *, int,
+ const struct value_print_options *);
-extern int ada_value_print (struct value *, struct ui_file *, int,
- enum val_prettyprint);
+extern int ada_value_print (struct value *, struct ui_file *,
+ const struct value_print_options *);
/* Defined in ada-lang.c */
@@ -266,7 +266,8 @@ extern void ada_emit_char (int, struct ui_file *, int, int);
extern void ada_printchar (int, struct ui_file *);
extern void ada_printstr (struct ui_file *, const gdb_byte *,
- unsigned int, int, int);
+ unsigned int, int, int,
+ const struct value_print_options *);
struct value *ada_convert_actual (struct value *actual,
struct type *formal_type0,
diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c
index e2f7740..cc8352f 100644
--- a/gdb/ada-valprint.c
+++ b/gdb/ada-valprint.c
@@ -43,18 +43,17 @@ struct ada_val_print_args
int embedded_offset;
CORE_ADDR address;
struct ui_file *stream;
- int format;
- int deref_ref;
int recurse;
- enum val_prettyprint pretty;
+ const struct value_print_options *options;
};
static void print_record (struct type *, const gdb_byte *, struct ui_file *,
- int, int, enum val_prettyprint);
+ int, const struct value_print_options *);
static int print_field_values (struct type *, const gdb_byte *,
- struct ui_file *, int, int,
- enum val_prettyprint, int, struct type *,
+ struct ui_file *, int,
+ const struct value_print_options *,
+ int, struct type *,
const gdb_byte *);
static void adjust_type_signedness (struct type *);
@@ -62,8 +61,8 @@ static void adjust_type_signedness (struct type *);
static int ada_val_print_stub (void *args0);
static int ada_val_print_1 (struct type *, const gdb_byte *, int, CORE_ADDR,
- struct ui_file *, int, int, int,
- enum val_prettyprint);
+ struct ui_file *, int,
+ const struct value_print_options *);
\f
/* Make TYPE unsigned if its range of values includes no negatives. */
@@ -81,13 +80,14 @@ adjust_type_signedness (struct type *type)
otherwise 0. */
static int
-print_optional_low_bound (struct ui_file *stream, struct type *type)
+print_optional_low_bound (struct ui_file *stream, struct type *type,
+ const struct value_print_options *options)
{
struct type *index_type;
long low_bound;
long high_bound;
- if (print_array_indexes_p ())
+ if (options->print_array_indexes)
return 0;
if (!get_array_bounds (type, &low_bound, &high_bound))
@@ -137,16 +137,15 @@ print_optional_low_bound (struct ui_file *stream, struct type *type)
/* Version of val_print_array_elements for GNAT-style packed arrays.
Prints elements of packed array of type TYPE at bit offset
- BITOFFSET from VALADDR on STREAM. Formats according to FORMAT and
+ BITOFFSET from VALADDR on STREAM. Formats according to OPTIONS and
separates with commas. RECURSE is the recursion (nesting) level.
- If PRETTY, uses "prettier" format. TYPE must have been decoded (as
- by ada_coerce_to_simple_array). */
+ TYPE must have been decoded (as by ada_coerce_to_simple_array). */
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [SCM] master: gdb
@ 2008-12-22 16:36 tromey
0 siblings, 0 replies; 2+ messages in thread
From: tromey @ 2008-12-22 16:36 UTC (permalink / raw)
To: archer-commits
The branch, master has been updated
via f2f03a7b81be57219bb881817eadbcdfa0ef22ca (commit)
via ee5c26141772582db315f9be9f472be50d450599 (commit)
via 94923161f4aa9c75a27c8f56a68662cef6695713 (commit)
via 6d5935ce5358685aebb1f3c0717208dfe2bef69c (commit)
via 11f72c470e70fa4ee116167c5ce66d8b03894c2d (commit)
via f89f82d14b41e6a3e1dc549d3bfe693c52033df6 (commit)
via de7b18543b60d144347b0a5833eaa06d1142f508 (commit)
via 01af8f937b250e70a9cbcaac1f4a8081c1310774 (commit)
via 54cc2aff242becc8a9e18f996f312e037cec1b5e (commit)
via a798d62bb189a020d54a39a585f389a9ee2af1f9 (commit)
via 9ba29a21ccba2a171ace841b92b58bd36373ea8b (commit)
via b5d1a9c84a4ed43405660142002ab3cbd7a7b474 (commit)
via 5485f078197d2218972b39e59f281e3f7d68b6af (commit)
via 894c4d3cfa4c945504748f7d367ba2d9066d0510 (commit)
via 6fd0f5e0007de75291ffb509bb484edb668b5fec (commit)
via 04ffa34daa9ec5479dc309ec31a1b06fc6d9ea10 (commit)
via dbec8bd1c21893318cdf3a1f106e1f97c6cc9b7a (commit)
via d7cfbc2bb9dbfbfdae0c37b81d1b7ec396a3460e (commit)
via 2e5763547fb65a9eb02002fb66a27d21f82190fc (commit)
via 3cfef389e20fdd1681cb58fa3d7106bc88123426 (commit)
via 46cbdd91e10b097b82869b02c7ecac42b18111c3 (commit)
via bb468712c6f3fdd9c273874e266a564152628c92 (commit)
via 00e185f44528b17369b1a4d43b6b90ceb9d95303 (commit)
via 2c38a42f5c1db3bfc6c4d92ea5e51e780eba109a (commit)
via 372545781586f5d9cff43b2026d17c457c17fb31 (commit)
via 2f9349947773bb6f823ab29b072332596e2d0586 (commit)
via 6bf4fc327768f938a688a38419411c6bbd92f6da (commit)
via 9862c7aa88705cd9df15d5b8939ab397c09752b7 (commit)
via 9afa43afc50c92b23e53f9b9572745e71a0f62bc (commit)
via 18d5bf202d84cb59601a5c187f92690507758b6c (commit)
via d0690d9940e725aab88f7d6159217002dafab60f (commit)
via e07cde57529cf055bc33fb56df9ed23e9f621ad2 (commit)
via bfc8bde3ca5ed5e461bf3e34f7aa2247ad48fb79 (commit)
via 695adac1eccc081d2ce31c319b71a0e3df946f5e (commit)
via 1600c45345cb1439b677b98613d46be3aa85ba9e (commit)
via c7aaa97e0a3c0cce11e0f6ba306d5da88c023f1d (commit)
via e0f87abb998c458c5387b3ad8e0eeccd57044b28 (commit)
via 25a94ecf3c8a5bddd5bad79ea9c57fa01b649f27 (commit)
via c66188244654f137d2ceacce47b32695e4d7d8e9 (commit)
via 96ca222c623d0d1542519d28294e6dc70d6ef249 (commit)
via 4c1258818cbb8f5b63e00d23def80077c950e713 (commit)
via 6e85aa313469d4d12a7002990bd0066c19380767 (commit)
via 87f807a8ce30125c9fdcb1dabfad0c518e5594cd (commit)
via 9fb1647d68ae93c6cd5ef3fb7ba296919a5d06b2 (commit)
via 24988cb3edc09fa6c3d69947bd59ceaa127cab60 (commit)
via bebc621bcc4373d65ff0dc26fda563411621f7e9 (commit)
via 668893b18357f1ff5c2a52bbfcbe1db5ff51b74f (commit)
via 5c896fb3370431afa9c7d98a82fae8178865a1c7 (commit)
via 011395def22c679506b483de9aa8f68e02178fb7 (commit)
via 645c834f57c6117eb381fd6c781d4de54918675f (commit)
via 49b0e175117b79282d73a007e858747dce1352df (commit)
via 9e3c9b86cf7b0713cf1480d0c6488f5051425f0a (commit)
via 6b96c9a3f78b7128e397bcfde4bc6e5501344eba (commit)
via 39f8b9ff6c5208a54f765b19b4a1738b9c237182 (commit)
via a5a60c19055838698f459f03715ca1ba6a9ccfc1 (commit)
via 772c9c1d0a70440295c6cf1e21be494c7b797ea8 (commit)
via 25071386e8e8db4c93075249ef221c98f3298e9f (commit)
via 159545d661ac64df03fb89d90db249ce48dc0a0b (commit)
via 3ee2fe6b0783da17e2b0b58304fac41a9027945b (commit)
via b7681b5e27511b6e714c253ab8a8381eaff0052d (commit)
via 12827e561be554ec5830e0e5eb96d129c25afb71 (commit)
via 994251cd6164ec4fac1927eb8dcb513eded00fb5 (commit)
via ee45b7b81717a8f9b521a11b6d67377b2a12b5f1 (commit)
via d2700f1acc567abf034abb6a683a8782478ca4af (commit)
via 002164ed870bff432669d55d4456eeeccbd2857b (commit)
via 2f3a28dafacdd658ddf59bb7312a32645dc91a2d (commit)
via 377ea3da879c2ac8b4d33137ac8f40804feeb2da (commit)
via 2b9474d6a76d1fcc9fde5198f48967f96b251a1a (commit)
via a875acb4a45b744d5354f7aa4aea08be4f456357 (commit)
via f196d76fae27a6d88832743e28c7a7bf9c8abff7 (commit)
via ad845052245e1306347274daeed5874ca90f8c4c (commit)
via ee42d69e173ca6f58594c3b16a1ce00bf6a5fffa (commit)
via 56f6e3676173c9a41dc4ed227a8450550cec718c (commit)
from 17ec07b78f28e400d2e839d732abc94a6cb3ae2f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit f2f03a7b81be57219bb881817eadbcdfa0ef22ca
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Dec 22 14:20:59 2008 +0000
gdb
* c-exp.y (ident_tokens): New global.
(struct token) <cxx_only>: New field.
(tokentab3): Update.
(tokentab2): Update.
(yylex): Use ident_tokens.
gdb/testsuite
* gdb.cp/punctuator.exp: New file.
commit ee5c26141772582db315f9be9f472be50d450599
Author: Tom Tromey <tromey@redhat.com>
Date: Mon Dec 22 14:06:25 2008 +0000
2008-12-22 Adam Denton <adenton@yahoo.com>
PR gdb/8307:
* environ.c (free_environ): Free e->vector.
commit 94923161f4aa9c75a27c8f56a68662cef6695713
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Mon Dec 22 13:19:28 2008 +0000
gdb/
Fix memory double-free.
* completer.c (line_completion_function): Clear LIST after called xfree.
gdb/testsuite/
* gdb.base/completion.exp (Completing non-existing component): New test.
commit 6d5935ce5358685aebb1f3c0717208dfe2bef69c
Author: Joel Brobecker <brobecker@gnat.com>
Date: Mon Dec 22 04:37:37 2008 +0000
* breakpoint.c (update_watchpoint): Adjust and extend the description
of this function. Fix one error message accordingly.
commit 11f72c470e70fa4ee116167c5ce66d8b03894c2d
Author: Alan Modra <amodra@bigpond.net.au>
Date: Mon Dec 22 00:00:05 2008 +0000
daily update
commit f89f82d14b41e6a3e1dc549d3bfe693c52033df6
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Mon Dec 22 00:00:03 2008 +0000
*** empty log message ***
commit de7b18543b60d144347b0a5833eaa06d1142f508
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Dec 21 17:38:55 2008 +0000
Fix for PR gdb/8648.
* gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
commit 01af8f937b250e70a9cbcaac1f4a8081c1310774
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Sun Dec 21 15:01:30 2008 +0000
gdb/
Fix hw watchpoints created before the inferior was started.
* breakpoint.c (update_watchpoint): Convert the bp_watchpoint and
bp_hardware_watchpoint types according to the current runtime state.
gdb/testsuite/
* gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
commit 54cc2aff242becc8a9e18f996f312e037cec1b5e
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date: Sun Dec 21 12:45:51 2008 +0000
Add missing ChangeLog entries for my last commit.
commit a798d62bb189a020d54a39a585f389a9ee2af1f9
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Sun Dec 21 00:00:35 2008 +0000
*** empty log message ***
commit 9ba29a21ccba2a171ace841b92b58bd36373ea8b
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sun Dec 21 00:00:07 2008 +0000
daily update
commit b5d1a9c84a4ed43405660142002ab3cbd7a7b474
Author: H.J. Lu <hjl@lucon.org>
Date: Sat Dec 20 17:40:51 2008 +0000
gas/
2008-12-20 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (_i386_insn): Add swap_operand.
(parse_insn): Handle ".s".
(match_template): Handle swap_operand.
* doc/c-i386.texi: Document .s suffix.
gas/testsuite/
2008-12-20 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run opts, opts-intel, sse2avx-opts,
sse2avx-opts-intel, x86-64-opts, x86-64-opts-intel,
x86-64-sse2avx-opts and x86-64-sse2avx-opts-intel.
* gas/i386/opts.d: New.
* gas/i386/opts-intel.d: Likewise.
* gas/i386/opts.s: Likewise.
* gas/i386/sse2avx-opts.d: Likewise.
* gas/i386/sse2avx-opts-intel.d: Likewise.
* gas/i386/x86-64-opts.d: Likewise.
* gas/i386/x86-64-opts-intel.d: Likewise.
* gas/i386/x86-64-opts.s: Likewise.
* gas/i386/x86-64-sse2avx-opts.d: Likewise.
* gas/i386/x86-64-sse2avx-opts-intel.d: Likewise.
opcodes/
2008-12-20 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (EbS): New.
(EvS): Likewise.
(EMS): Likewise.
(EXqS): Likewise.
(EXxS): Likewise.
(b_swap_mode): Likewise.
(v_swap_mode): Likewise.
(q_swap_mode): Likewise.
(x_swap_mode): Likewise.
(v_mode): Updated.
(w_mode): Likewise.
(t_mode): Likewise.
(xmm_mode): Likewise.
(swap_operand): Likewise.
(dis386): Use EbS on movB. Use EvS on moveS.
(dis386_twobyte): Use EXxS on movapX.
(prefix_table): Use EXxS on movups, movupd, movdqu, movdqa,
vmovups, vmovdqu, vmovdqa. Use EMS and EXqS on movq.
(vex_table): Use EXxS on vmovapX.
(vex_len_table): Use EXqS on vmovq.
(intel_operand_size): Handle b_swap_mode, v_swap_mode,
q_swap_mode and x_swap_mode.
(OP_E_register): Handle b_swap_mode and v_swap_mode.
(OP_EM): Handle v_swap_mode.
(OP_EX): x_swap_mode and q_swap_mode.
* i386-gen.c (opcode_modifiers): Add S.
* i386-opc.h (S): New.
(Modrm): Updated.
(i386_opcode_modifier): Add s.
* i386-opc.tbl: Add S to movapd, movaps, movdqa, movdqu, movq,
movupd, movups, vmovapd, vmovaps, vmovdqa, vmovdqu and vmovq.
* i386-tbl.h: Regenerated.
commit 5485f078197d2218972b39e59f281e3f7d68b6af
Author: Hans-Peter Nilsson <hp@axis.com>
Date: Sat Dec 20 00:26:35 2008 +0000
* elf32-cris.c (cris_elf_howto_table): Add entry for R_CRIS_32_IE.
(cris_reloc_map): Similarly.
(cris_elf_relocate_section, cris_elf_gc_sweep_hook)
(cris_elf_check_relocs): Handle R_CRIS_32_IE.
* reloc.c (bfd_reloc_code_type): Add entry for R_CRIS_32_IE.
* bfd-in2.h, libbfd.h: Regenerate.
commit 894c4d3cfa4c945504748f7d367ba2d9066d0510
Author: Hans-Peter Nilsson <hp@axis.com>
Date: Sat Dec 20 00:24:16 2008 +0000
* cris.h (R_CRIS_32_IE): New relocation.
commit 6fd0f5e0007de75291ffb509bb484edb668b5fec
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Sat Dec 20 00:00:33 2008 +0000
*** empty log message ***
commit 04ffa34daa9ec5479dc309ec31a1b06fc6d9ea10
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sat Dec 20 00:00:05 2008 +0000
daily update
commit dbec8bd1c21893318cdf3a1f106e1f97c6cc9b7a
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Fri Dec 19 00:00:33 2008 +0000
*** empty log message ***
commit d7cfbc2bb9dbfbfdae0c37b81d1b7ec396a3460e
Author: Alan Modra <amodra@bigpond.net.au>
Date: Fri Dec 19 00:00:05 2008 +0000
daily update
commit 2e5763547fb65a9eb02002fb66a27d21f82190fc
Author: H.J. Lu <hjl@lucon.org>
Date: Thu Dec 18 22:47:32 2008 +0000
gas/testsuite/
2008-12-18 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/intel.d: Remove trailing white spaces after nop.
* gas/i386/intelpic.d: Likewise.
* gas/i386/nops16-1.d: Likewise.
* gas/i386/nops-1-i686.d: Likewise.
* gas/i386/nops-3.d: Likewise.
* gas/i386/nops-3-i386.d: Likewise.
* gas/i386/nops-3-i686.d: Likewise.
* gas/i386/nops-4.d: Likewise.
* gas/i386/nops-4-i386.d: Likewise.
* gas/i386/nops-4-i686.d: Likewise.
* gas/i386/opcode.d: Likewise.
* gas/i386/opcode-suffix.d: Likewise.
* gas/i386/reloc.d: Likewise.
* gas/i386/tlsnopic.d: Likewise.
* gas/i386/x86-64-nops-1.d: Likewise.
* gas/i386/x86-64-nops-1-nocona.d: Likewise.
* gas/i386/x86-64-nops-2.d: Likewise.
* gas/i386/x86-64-nops-3.d: Likewise.
* gas/i386/x86-64-nops-4-core2.d: Likewise.
* gas/i386/x86-64-nops-4.d: Likewise.
* gas/i386/x86-64-nops-4-k8.d: Likewise.
* gas/i386/x86-64-opcode.d: Likewise.
ld/testsuite/
2008-12-18 H.J. Lu <hongjiu.lu@intel.com>
* ld-i386/tlsld1.dd: Remove trailing white spaces after nop.
opcodes/
2008-12-18 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (mnemonicendp): New.
(op): Likewise.
(print_insn): Use mnemonicendp.
(OP_3DNowSuffix): Likewise.
(CMP_Fixup): Likewise.
(CMPXCHG8B_Fixup): Likewise.
(CRC32_Fixup): Likewise.
(OP_DREX_FCMP): Likewise.
(OP_DREX_ICMP): Likewise.
(VZERO_Fixup): Likewise.
(VCMP_Fixup): Likewise.
(PCLMUL_Fixup): Likewise.
(VPERMIL2_Fixup): Likewise.
(MOVBE_Fixup): Likewise.
(putop): Update mnemonicendp.
(oappend): Use stpcpy.
(simd_cmp_op): Changed to struct op.
(vex_cmp_op): Likewise.
(pclmul_op): Likewise.
(vpermil2_op): Likewise.
commit 3cfef389e20fdd1681cb58fa3d7106bc88123426
Author: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date: Thu Dec 18 21:36:44 2008 +0000
Backport link test fix from upstream Libtool:
* libltdl.m4 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS):
Add cache variables to tests that require the linker to work.
For shlibpath_overrides_runpath, this also changes the semantics
to let the result from the C compiler take precedence.
compiler take precedence.
binutils/
* configure: Regenerate.
opcodes/
* configure: Regenerate.
bfd/
* configure: Regenerate.
gas/
* configure: Regenerate.
gprof/
* configure: Regenerate.
ld/
* configure: Regenerate.
commit 46cbdd91e10b097b82869b02c7ecac42b18111c3
Author: Pedro Alves <pedro@codesourcery.com>
Date: Thu Dec 18 21:35:22 2008 +0000
* linux-nat.c (linux_child_follow_fork): If following the child,
and not detaching the parent, also add the child fork to the fork
list.
* linux-fork.c (linux_fork_context): Remove dead error call.
Assert that the incoming newfp argument is not null. Do not add a
new fork for inferior_ptid. Assert that there is one already.
commit bb468712c6f3fdd9c273874e266a564152628c92
Author: DJ Delorie <dj@delorie.com>
Date: Thu Dec 18 15:56:12 2008 +0000
merge from gcc
commit 00e185f44528b17369b1a4d43b6b90ceb9d95303
Author: Ben Elliston <bje@au.ibm.com>
Date: Thu Dec 18 03:26:46 2008 +0000
* config.sub, config.guess: Update from upstream sources.
commit 2c38a42f5c1db3bfc6c4d92ea5e51e780eba109a
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Thu Dec 18 00:00:32 2008 +0000
*** empty log message ***
commit 372545781586f5d9cff43b2026d17c457c17fb31
Author: Alan Modra <amodra@bigpond.net.au>
Date: Thu Dec 18 00:00:05 2008 +0000
daily update
commit 2f9349947773bb6f823ab29b072332596e2d0586
Author: Jeff Johnston <jjohnstn@redhat.com>
Date: Wed Dec 17 23:16:07 2008 +0000
2008-12-17 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Updated.
* COPYING.LIBGLOSS: Ditto.
commit 6bf4fc327768f938a688a38419411c6bbd92f6da
Author: Hans-Peter Nilsson <hp@axis.com>
Date: Wed Dec 17 02:31:16 2008 +0000
(cris_elf_relocate_section) <R_CRIS_8, R_CRIS_16, R_CRIS_32>: Add missing
gate h != NULL for h->def_regular test.
commit 9862c7aa88705cd9df15d5b8939ab397c09752b7
Author: Hans-Peter Nilsson <hp@axis.com>
Date: Wed Dec 17 02:14:30 2008 +0000
* elf32-cris.c (elf_cris_copy_indirect_symbol): Return without
action for symbols other than bfd_link_hash_indirect.
commit 9afa43afc50c92b23e53f9b9572745e71a0f62bc
Author: Alan Modra <amodra@bigpond.net.au>
Date: Wed Dec 17 00:00:05 2008 +0000
daily update
commit 18d5bf202d84cb59601a5c187f92690507758b6c
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Wed Dec 17 00:00:03 2008 +0000
*** empty log message ***
commit d0690d9940e725aab88f7d6159217002dafab60f
Author: Denis Pilat <denis.pilat@st.com>
Date: Tue Dec 16 13:15:50 2008 +0000
2008-12-16 Christophe Lyon <christophe.lyon@st.com>
* gdb.base/expand-psymtabs.c: Insert code in foo so that the
compiler actually generate code at the expected line number.
commit e07cde57529cf055bc33fb56df9ed23e9f621ad2
Author: Paolo Bonzini <bonzini@gnu.org>
Date: Tue Dec 16 12:31:18 2008 +0000
2008-12-16 Paolo Bonzini <bonzini@gnu.org>
Sync with GCC:
2008-12-12 Sebastian Pop <sebastian.pop@amd.com>
* configure.ac (ppllibs): Add by default the lib flags.
* configure: Regenerate.
2008-12-04 Jack Howarth <howarth@bromo.med.uc.edu>
* configure.ac: Add double brackets on darwin[912].
* configure: Regenerate.
2008-12-02 Jack Howarth <howarth@bromo.med.uc.edu>
* configure.ac: Expand to darwin10 and later.
* configure: Regenerate.
commit bfc8bde3ca5ed5e461bf3e34f7aa2247ad48fb79
Author: Tristan Gingold <gingold@adacore.com>
Date: Tue Dec 16 11:15:57 2008 +0000
2008-12-16 Tristan Gingold <gingold@adacore.com>
* inflow.c: Remove old_sigio, handle_sigio, old_fcntl_flags,
set_sigio_trap, clear_sigio_trap definitions.
* inferior.h: Remove set_sigio_trap and clear_sigio_trap declarations.
* inf-ptrace.c (inf_ptrace_wait): Remove call to set_sigio_trap
and clear_sigio_trap.
* inf-ttrace.c (inf_ttrace_wait): Ditto.
* linux-nat.c (linux_nat_wait): Ditto.
* spu-linux-nat.c (spu_child_wait): Ditto.
* rs6000-nat.c (rs6000_wait): Ditto.
* target.c: Remove target_activity_function and target_activity_fd.
* target.h: Remove target_activity_function and target_activity_fd
declarations.
commit 695adac1eccc081d2ce31c319b71a0e3df946f5e
Author: Joel Brobecker <brobecker@gnat.com>
Date: Tue Dec 16 06:14:00 2008 +0000
* gdb.texinfo (Omissions from Ada): Add missing GDB prompt in
examples.
(Additions to Ada): Likewise. Add the missing opening and closing
parenthesis of the GDB prompt in one of the examples.
commit 1600c45345cb1439b677b98613d46be3aa85ba9e
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date: Tue Dec 16 05:06:02 2008 +0000
2008-12-15 Paul Pluzhnikov <ppluzhnikov@google.com>
* dbxread.c (read_ofile_symtab): Sign-extend 32-bit N_LSYM and
N_PSYM STABS values for 64-bit GDB.
commit c7aaa97e0a3c0cce11e0f6ba306d5da88c023f1d
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Tue Dec 16 00:00:33 2008 +0000
*** empty log message ***
commit e0f87abb998c458c5387b3ad8e0eeccd57044b28
Author: Alan Modra <amodra@bigpond.net.au>
Date: Tue Dec 16 00:00:05 2008 +0000
daily update
commit 25a94ecf3c8a5bddd5bad79ea9c57fa01b649f27
Author: Joel Sherrill <joel@oarcorp.com>
Date: Mon Dec 15 19:48:06 2008 +0000
2008-12-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* ppc-instructions, ppc-spr-table: Add ability
to read tbrl and tbru special registers.
commit c66188244654f137d2ceacce47b32695e4d7d8e9
Author: Richard Earnshaw <richard.earnshaw@arm.com>
Date: Mon Dec 15 17:24:13 2008 +0000
opcodes:
* arm-dis.c (coprocessor_opcodes): Disassemble VFP instructions using
unified syntax.
gas/testsuite:
* gas/arm/group-reloc-ldc.d: Disassembly of VFP instructions now uses
unified syntax.
* gas/arm/vfp-non-overlap.d: Likewise.
* gas/arm/vfp-neon-syntax.d: Likewise.
* gas/arm/vfp-neon-syntax_t2.d: Likewise.
* gas/arm/vfp1.d: Likewise.
* gas/arm/vfp1_t2.d: Likewise.
* gas/arm/vfp1xD.d: Likewise.
* gas/arm/vfp1xD_t2.d: Likewise.
* gas/arm/vfp2.d: Likewise.
* gas/arm/vfp2_t2.d: Likewise.
* gas/arm/vfpv3-32drs.d: Likewise.
* gas/arm/vfpv3-const-conv.d: Likewise.
ld/testsuite:
* ld-arm/vfp11-fix-scalar.d: Disassembly of VFP instructions now uses
unified syntax.
* ld-arm/vfp11-fix-vector.d: Likewise.
commit 96ca222c623d0d1542519d28294e6dc70d6ef249
Author: Jie Zhang <jie.zhang@analog.com>
Date: Mon Dec 15 13:04:56 2008 +0000
* gdb.base/consecutive.exp: Don't use global in gdb_expect.
commit 4c1258818cbb8f5b63e00d23def80077c950e713
Author: Tristan Gingold <gingold@adacore.com>
Date: Mon Dec 15 11:32:08 2008 +0000
2008-12-15 Tristan Gingold <gingold@adacore.com>
* dwarf2expr.c (execute_stack_op): Handle DW_OP_swap.
commit 6e85aa313469d4d12a7002990bd0066c19380767
Author: Jerome Guitton <guitton@adacore.com>
Date: Mon Dec 15 10:40:27 2008 +0000
* ada-lang.c (ada_value_slice_ptr): Rename to...
(ada_value_slice_from_ptr): ... this. Return a lazy value instead
of a reference. Update comment.
(ada_value_struct_elt): Ditto if arg is a pointer or a reference.
Update comment as well.
(ada_evaluate_subexp): Update use of ada_value_slice_ptr.
commit 87f807a8ce30125c9fdcb1dabfad0c518e5594cd
Author: Hans-Peter Nilsson <hp@axis.com>
Date: Mon Dec 15 03:17:49 2008 +0000
* elf32-cris.c (elf_cris_copy_indirect_symbol): New function.
(elf_backend_copy_indirect_symbol): Define to above.
commit 9fb1647d68ae93c6cd5ef3fb7ba296919a5d06b2
Author: Hans-Peter Nilsson <hp@axis.com>
Date: Mon Dec 15 02:32:22 2008 +0000
* elf32-cris.c (struct elf_cris_pcrel_relocs_copied): New member
r_type. Fix formatting.
(cris_elf_relocate_section) <R_CRIS_8_PCREL, R_CRIS_16_PCREL>
<R_CRIS_32_PCREL>: Also break early if the symbol doesn't get
emitted as a dynamic one.
(cris_elf_check_relocs) <R_CRIS_7, R_CRIS_16, R_CRIS_32>: Fork
from PCREL relocs code and simplify; don't fall through.
<R_CRIS_8_PCREL, R_CRIS_16_PCREL, R_CRIS_32_PCREL>: Simplify for
pcrel only. For non-local or overridable symbols in a DSO, always
keep count of relocs, not just when -Bsymbolic. Don't emit
message nor mark as TEXTREL here.
(elf_cris_discard_excess_dso_dynamics): Emit warning and mark as
TEXTREL here, if there are nondiscarded pcrel relocs.
commit 24988cb3edc09fa6c3d69947bd59ceaa127cab60
Author: Hans-Peter Nilsson <hp@axis.com>
Date: Mon Dec 15 02:10:26 2008 +0000
* elf32-cris.c (elf_cris_got_elt_size) <symtab_hdr>: Initialize
using ibfd, not abfd.
commit bebc621bcc4373d65ff0dc26fda563411621f7e9
Author: Alan Modra <amodra@bigpond.net.au>
Date: Mon Dec 15 00:00:45 2008 +0000
daily update
commit 668893b18357f1ff5c2a52bbfcbe1db5ff51b74f
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Mon Dec 15 00:00:32 2008 +0000
*** empty log message ***
commit 5c896fb3370431afa9c7d98a82fae8178865a1c7
Author: Doug Evans <dje@google.com>
Date: Sun Dec 14 20:51:04 2008 +0000
* utils.c (xmalloc,xcalloc,xstrdup): New fns.
* server.h (ATTR_MALLOC): New macro.
(xmalloc,xcalloc,xstrdup): Declare.
* hostio.c: Replace malloc,calloc,strdup with xmalloc,xcalloc,xstrdup.
* inferiors.c: Ditto.
* linux-low.c: Ditto.
* mem-break.c: Ditto.
* regcache.c: Ditto.
* remote-utils.c: Ditto.
* server.c: Ditto.
* target.c: Ditto.
* win32-low.c: Ditto.
commit 011395def22c679506b483de9aa8f68e02178fb7
Author: Joel Brobecker <brobecker@gnat.com>
Date: Sun Dec 14 18:30:25 2008 +0000
* gdb.texinfo (Omissions from Ada): Remove incorrect documentation
about the result of 'Address not being of type System.Address.
This problem has been fixed a while ago.
commit 645c834f57c6117eb381fd6c781d4de54918675f
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Sun Dec 14 00:00:33 2008 +0000
*** empty log message ***
commit 49b0e175117b79282d73a007e858747dce1352df
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sun Dec 14 00:00:05 2008 +0000
daily update
commit 9e3c9b86cf7b0713cf1480d0c6488f5051425f0a
Author: Kevin Buettner <kevinb@redhat.com>
Date: Sat Dec 13 00:39:52 2008 +0000
* gnu-v3-abi.c (vtable_ptrdiff_type): New function.
(gnuv3_decode_method_ptr, gnuv3_print_method_ptr)
(gnuv3_method_ptr_to_value): Use a better approximation for
`ptrdiff_t' instead of `long'.
* m32c-tdep.c (m32c_gdbarch_init): Call set_gdbarch_vbit_in_delta().
(m32c_push_dummy_call): Dereference pointer type.
commit 6b96c9a3f78b7128e397bcfde4bc6e5501344eba
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Sat Dec 13 00:00:33 2008 +0000
*** empty log message ***
commit 39f8b9ff6c5208a54f765b19b4a1738b9c237182
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sat Dec 13 00:00:09 2008 +0000
daily update
commit a5a60c19055838698f459f03715ca1ba6a9ccfc1
Author: Doug Evans <dje@google.com>
Date: Fri Dec 12 23:14:28 2008 +0000
* linux-low.c (linux_wait_for_process): Don't clobber current_inferior
in debugging printf.
commit 772c9c1d0a70440295c6cf1e21be494c7b797ea8
Author: Doug Evans <dje@google.com>
Date: Fri Dec 12 23:13:20 2008 +0000
* linux-low.c (handle_extended_wait): Simplify, use my_waitpid.
commit 25071386e8e8db4c93075249ef221c98f3298e9f
Author: Tom Tromey <tromey@redhat.com>
Date: Fri Dec 12 17:58:47 2008 +0000
gdb
PR cli/2563:
* cli/cli-decode.c (delete_cmd): Add hook-related out parameters.
(add_cmd): Update. Install hooks into new command.
(add_alias_cmd): Update.
gdb/testsuite
* gdb.base/commands.exp (redefine_hook_test): New proc.
Call it.
commit 159545d661ac64df03fb89d90db249ce48dc0a0b
Author: Tom Tromey <tromey@redhat.com>
Date: Fri Dec 12 17:03:36 2008 +0000
gdb
* macroexp.c (get_pp_number): Require digit after leading ".".
Correctly handle suffixes.
gdb/testsuite
* gdb.base/macscp.exp: New regression test.
commit 3ee2fe6b0783da17e2b0b58304fac41a9027945b
Author: Tom Tromey <tromey@redhat.com>
Date: Fri Dec 12 16:58:45 2008 +0000
* macrocmd.c (macro_define_command): Skip whitespace after
macro name.
(print_one_macro): Print space after macro name.
commit b7681b5e27511b6e714c253ab8a8381eaff0052d
Author: Pedro Alves <pedro@codesourcery.com>
Date: Fri Dec 12 14:20:48 2008 +0000
* infrun.c (handle_inferior_event): Correctly tag non-executing
threads in multi-process.
(normal_stop): Correctly tag stopped threads in multi-process.
commit 12827e561be554ec5830e0e5eb96d129c25afb71
Author: Pedro Alves <pedro@codesourcery.com>
Date: Fri Dec 12 13:45:41 2008 +0000
* remote.c (extended_remote_mourn_1): Always call
generic_mourn_inferior.
commit 994251cd6164ec4fac1927eb8dcb513eded00fb5
Author: Pedro Alves <pedro@codesourcery.com>
Date: Fri Dec 12 01:08:28 2008 +0000
* remote.c (remote_detach_1): Don't delete the inferior here.
(process_stop_reply): Ditto.
(extended_remote_kill): Ditto.
commit ee45b7b81717a8f9b521a11b6d67377b2a12b5f1
Author: Pedro Alves <pedro@codesourcery.com>
Date: Fri Dec 12 00:12:02 2008 +0000
* remote.c (read_ptid): If we don't know about any inferior yet,
use the pid of magic_null_ptid.
(remote_start_remote): In the non-stop mode case, don't set
inferior_ptid to magic_null_ptid here.
commit d2700f1acc567abf034abb6a683a8782478ca4af
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Fri Dec 12 00:00:33 2008 +0000
*** empty log message ***
commit 002164ed870bff432669d55d4456eeeccbd2857b
Author: Alan Modra <amodra@bigpond.net.au>
Date: Fri Dec 12 00:00:05 2008 +0000
daily update
commit 2f3a28dafacdd658ddf59bb7312a32645dc91a2d
Author: Pedro Alves <pedro@codesourcery.com>
Date: Thu Dec 11 20:34:18 2008 +0000
* infcmd.c (step_1): Use step_once in the synchronous case too.
(step_1_continuation): Wrap line.
(step_once): Adjust comment. Only install the continuation in
async mode.
commit 377ea3da879c2ac8b4d33137ac8f40804feeb2da
Author: Pedro Alves <pedro@codesourcery.com>
Date: Thu Dec 11 19:19:11 2008 +0000
* infrun.c (handle_inferior_event): On a TARGET_WAITKIND_EXITED or
TARGET_WAITKIND_SIGNALLED, switch inferior_ptid to the event ptid.
* linux_thread_db.c (thread_db_wait): On a TARGET_WAITKIND_EXITED
or TARGET_WAITKIND_SIGNALLED, return the ptid the beneath target
returned.
* inf-ptrace.c (inf_ptrace_wait): Return inferior_ptid instead of
minus_one_ptid if the inferior disappeared.
* rs6000-nat.c (rs6000_wait): Likewise.
* spu-linux-nat.c (spu_child_wait): Likewise.
commit 2b9474d6a76d1fcc9fde5198f48967f96b251a1a
Author: Tom Tromey <tromey@redhat.com>
Date: Thu Dec 11 18:30:26 2008 +0000
gdb
PR macros/2564:
* c-exp.y (macro_original_text, expansion_obstack,
expression_macro_scope): New globals.
(scan_macro_expansion): New function.
(scanning_macro_expansion): Likewise.
(finished_macro_expansion): Likewise.
(scan_macro_cleanup): Likewise.
(c_parse): Find macro scope. Initialize obstack.
* c-lang.h (scan_macro_expansion, scanning_macro_expansion,
finished_macro_expansion, expression_macro_lookup_func,
expression_macro_lookup_baton): Remove.
* c-lang.c (scan_macro_expansion, scanning_macro_expansion,
finished_macro_expansion, expression_macro_lookup_func,
expression_macro_lookup_baton): Remove.
(macro_original_text, macro_expanded_text,
c_preprocess_and_parse): Remove.
(c_language_defn, cplus_language_defn, asm_language_defn,
minimal_language_defn): Use c_parse.
gdb/testsuite
* gdb.base/macscp.exp: Print "address.addr".
* gdb.base/macscp1.c (struct outer): New struct.
(address): New global.
commit a875acb4a45b744d5354f7aa4aea08be4f456357
Author: Alan Modra <amodra@bigpond.net.au>
Date: Thu Dec 11 10:14:40 2008 +0000
PR 7041
* elf64-ppc.c (func_desc_adjust): Correct logic making fake function
descriptors. Similarly correct making function descriptors dynamic.
commit f196d76fae27a6d88832743e28c7a7bf9c8abff7
Author: gdbadmin <gdbadmin@sourceware.org>
Date: Thu Dec 11 00:00:33 2008 +0000
*** empty log message ***
commit ad845052245e1306347274daeed5874ca90f8c4c
Author: Alan Modra <amodra@bigpond.net.au>
Date: Thu Dec 11 00:00:09 2008 +0000
daily update
commit ee42d69e173ca6f58594c3b16a1ce00bf6a5fffa
Author: DJ Delorie <dj@delorie.com>
Date: Wed Dec 10 23:28:15 2008 +0000
merge from gcc
commit 56f6e3676173c9a41dc4ed227a8450550cec718c
Author: Pedro Alves <pedro@codesourcery.com>
Date: Wed Dec 10 21:32:14 2008 +0000
* infcmd.c (until_next_command, finish_backward): Use get_frame_pc
instead of read_pc.
-----------------------------------------------------------------------
Summary of changes:
COPYING.LIBGLOSS | 24 +
COPYING.NEWLIB | 129 +
ChangeLog | 38 +
bfd/ChangeLog | 48 +
bfd/bfd-in2.h | 1 +
bfd/configure | 93 +-
bfd/elf32-cris.c | 273 +-
bfd/elf64-ppc.c | 4 +-
bfd/libbfd.h | 1 +
bfd/reloc.c | 2 +
bfd/version.h | 2 +-
config.guess | 4 +-
config.sub | 10 +-
configure | 4 +-
configure.ac | 4 +-
gdb/ChangeLog | 171 +
gdb/ada-lang.c | 25 +-
gdb/breakpoint.c | 36 +-
gdb/c-exp.y | 269 +-
gdb/c-lang.c | 113 +-
gdb/c-lang.h | 7 -
gdb/cli/cli-decode.c | 48 +-
gdb/completer.c | 4 +-
gdb/dbxread.c | 13 +
gdb/doc/ChangeLog | 13 +
gdb/doc/gdb.texinfo | 31 +-
gdb/dwarf2expr.c | 14 +
gdb/environ.c | 1 +
gdb/gdbserver/ChangeLog | 22 +
gdb/gdbserver/hostio.c | 6 +-
gdb/gdbserver/inferiors.c | 8 +-
gdb/gdbserver/linux-low.c | 21 +-
gdb/gdbserver/mem-break.c | 2 +-
gdb/gdbserver/regcache.c | 4 +-
gdb/gdbserver/remote-utils.c | 12 +-
gdb/gdbserver/server.c | 32 +-
gdb/gdbserver/server.h | 11 +
gdb/gdbserver/target.c | 4 +-
gdb/gdbserver/utils.c | 57 +
gdb/gdbserver/win32-low.c | 2 +-
gdb/gnu-v3-abi.c | 16 +-
gdb/inf-ptrace.c | 4 +-
gdb/inf-ttrace.c | 2 -
gdb/infcmd.c | 119 +-
gdb/inferior.h | 4 -
gdb/inflow.c | 62 -
gdb/infrun.c | 46 +-
gdb/linux-fork.c | 9 +-
gdb/linux-nat.c | 12 +-
gdb/linux-thread-db.c | 4 +-
gdb/m32c-tdep.c | 14 +
gdb/macrocmd.c | 10 +-
gdb/macroexp.c | 18 +-
gdb/remote.c | 64 +-
gdb/rs6000-nat.c | 4 +-
gdb/spu-linux-nat.c | 4 +-
gdb/target.c | 4 -
gdb/target.h | 9 -
gdb/testsuite/ChangeLog | 44 +
gdb/testsuite/gdb.arch/ppc-fp.exp | 3 -
gdb/testsuite/gdb.arch/vsx-regs.exp | 3 -
gdb/testsuite/gdb.base/commands.exp | 35 +
gdb/testsuite/gdb.base/completion.exp | 18 +
gdb/testsuite/gdb.base/consecutive.exp | 5 -
gdb/testsuite/gdb.base/expand-psymtabs.c | 7 +-
gdb/testsuite/gdb.base/macscp.exp | 12 +
gdb/testsuite/gdb.base/macscp1.c | 14 +
.../{expand-psymtabs.c => watchpoint-hw.c} | 21 +-
gdb/testsuite/gdb.base/watchpoint-hw.exp | 52 +
gdb/testsuite/gdb.cp/punctuator.exp | 52 +
gdb/testsuite/gdb.gdbtk/browser.test | 3 -
gdb/testsuite/gdb.gdbtk/console.test | 3 -
gdb/testsuite/gdb.gdbtk/srcwin.test | 3 -
gdb/testsuite/gdb.gdbtk/srcwin2.test | 3 -
gdb/testsuite/gdb.gdbtk/srcwin3.test | 3 -
gdb/testsuite/gdb.gdbtk/windows.test | 3 -
gdb/testsuite/gdb.threads/tls2.c | 5 +-
gdb/version.in | 2 +-
include/ChangeLog | 5 +
include/demangle.h | 13 +
include/elf/ChangeLog | 4 +
include/elf/cris.h | 5 +
libiberty/ChangeLog | 18 +
libiberty/cp-demangle.c | 41 +-
libtool.m4 | 85 +-
opcodes/ChangeLog | 70 +
opcodes/arm-dis.c | 183 +-
opcodes/configure | 93 +-
opcodes/i386-dis.c | 253 +-
opcodes/i386-gen.c | 1 +
opcodes/i386-opc.h | 5 +-
opcodes/i386-opc.tbl | 56 +-
opcodes/i386-tbl.h |14852 ++++++++++----------
sim/ppc/ChangeLog | 5 +
sim/ppc/ppc-instructions | 8 +
sim/ppc/ppc-spr-table | 2 +
96 files changed, 9523 insertions(+), 8435 deletions(-)
copy gdb/testsuite/gdb.base/{expand-psymtabs.c => watchpoint-hw.c} (79%)
create mode 100644 gdb/testsuite/gdb.base/watchpoint-hw.exp
create mode 100644 gdb/testsuite/gdb.cp/punctuator.exp
First 500 lines of diff:
diff --git a/COPYING.LIBGLOSS b/COPYING.LIBGLOSS
index bc64c24..b4d657e 100644
--- a/COPYING.LIBGLOSS
+++ b/COPYING.LIBGLOSS
@@ -204,3 +204,27 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
+(12) Jon Beniston (only lm32-* targets)
+
+ Contributed by Jon Beniston <jon@beniston.com>
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
diff --git a/COPYING.NEWLIB b/COPYING.NEWLIB
index 24c34cb..b3cccd8 100644
--- a/COPYING.NEWLIB
+++ b/COPYING.NEWLIB
@@ -637,4 +637,133 @@ SUCH DAMAGE.
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
+(30) - Alex Tatmanjants (targets using libc/posix)
+ Copyright (c) 1995 Alex Tatmanjants <alex@elvisti.kiev.ua>
+ at Electronni Visti IA, Kiev, Ukraine.
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+(31) - M. Warner Losh (targets using libc/posix)
+
+ Copyright (c) 1998, M. Warner Losh <imp@freebsd.org>
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+(32) - Andrey A. Chernov (targets using libc/posix)
+
+ Copyright (C) 1996 by Andrey A. Chernov, Moscow, Russia.
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+(33) - Daniel Eischen (targets using libc/posix)
+
+ Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>.
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+
+(34) - Jon Beniston (only lm32-* targets)
+
+ Contributed by Jon Beniston <jon@beniston.com>
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
diff --git a/ChangeLog b/ChangeLog
index 382c2ba..9ee88bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,41 @@
+2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ Backport link test fix from upstream Libtool:
+
+ * libltdl.m4 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS):
+ Add cache variables to tests that require the linker to work.
+ For shlibpath_overrides_runpath, this also changes the semantics
+ to let the result from the C compiler take precedence.
+ compiler take precedence.
+
+2008-12-02 Ben Elliston <bje@au.ibm.com>
+
+ * config.sub, config.guess: Update from upstream sources.
+
+2008-12-17 Jeff Johnston <jjohnstn@redhat.com>
+
+ * COPYING.NEWLIB: Updated.
+ * COPYING.LIBGLOSS: Ditto.
+
+2008-12-16 Paolo Bonzini <bonzini@gnu.org>
+
+ Sync with GCC:
+
+ 2008-12-12 Sebastian Pop <sebastian.pop@amd.com>
+
+ * configure.ac (ppllibs): Add by default the lib flags.
+ * configure: Regenerate.
+
+ 2008-12-04 Jack Howarth <howarth@bromo.med.uc.edu>
+
+ * configure.ac: Add double brackets on darwin[912].
+ * configure: Regenerate.
+
+ 2008-12-02 Jack Howarth <howarth@bromo.med.uc.edu>
+
+ * configure.ac: Expand to darwin10 and later.
+ * configure: Regenerate.
+
2008-12-02 Andreas Schwab <schwab@suse.de>
* Makefile.def: configure-target-boehm-gc depends on
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 704a418..6cd350f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,51 @@
+2008-12-20 Hans-Peter Nilsson <hp@axis.com>
+
+ * elf32-cris.c (cris_elf_howto_table): Add entry for R_CRIS_32_IE.
+ (cris_reloc_map): Similarly.
+ (cris_elf_relocate_section, cris_elf_gc_sweep_hook)
+ (cris_elf_check_relocs): Handle R_CRIS_32_IE.
+ * reloc.c (bfd_reloc_code_type): Add entry for R_CRIS_32_IE.
+ * bfd-in2.h, libbfd.h: Regenerate.
+
+2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * configure: Regenerate.
+
+2008-12-17 Hans-Peter Nilsson <hp@axis.com>
+
+ * elf32-cris.c (elf_cris_copy_indirect_symbol): Return without
+ action for symbols other than bfd_link_hash_indirect.
+ (cris_elf_relocate_section) <R_CRIS_8, R_CRIS_16, R_CRIS_32>: Add missing
+ gate h != NULL for h->def_regular test.
+
+2008-12-15 Hans-Peter Nilsson <hp@axis.com>
+
+ * elf32-cris.c (elf_cris_copy_indirect_symbol): New function.
+ (elf_backend_copy_indirect_symbol): Define to above.
+
+ * elf32-cris.c (struct elf_cris_pcrel_relocs_copied): New member
+ r_type. Fix formatting.
+ (cris_elf_relocate_section) <R_CRIS_8_PCREL, R_CRIS_16_PCREL>
+ <R_CRIS_32_PCREL>: Also break early if the symbol doesn't get
+ emitted as a dynamic one.
+ (cris_elf_check_relocs) <R_CRIS_7, R_CRIS_16, R_CRIS_32>: Fork
+ from PCREL relocs code and simplify; don't fall through.
+ <R_CRIS_8_PCREL, R_CRIS_16_PCREL, R_CRIS_32_PCREL>: Simplify for
+ pcrel only. For non-local or overridable symbols in a DSO, always
+ keep count of relocs, not just when -Bsymbolic. Don't emit
+ message nor mark as TEXTREL here.
+ (elf_cris_discard_excess_dso_dynamics): Emit warning and mark as
+ TEXTREL here, if there are nondiscarded pcrel relocs.
+
+ * elf32-cris.c (elf_cris_got_elt_size) <symtab_hdr>: Initialize
+ using ibfd, not abfd.
+
+2008-12-11 Alan Modra <amodra@bigpond.net.au>
+
+ PR 7041
+ * elf64-ppc.c (func_desc_adjust): Correct logic making fake function
+ descriptors. Similarly correct making function descriptors dynamic.
+
2008-12-10 Alan Modra <amodra@bigpond.net.au>
* elf32-spu.h (struct spu_elf_params): Add num_regions.
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index b1451c9..37c24b7 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -4213,6 +4213,7 @@ This is the 5 bits of a value. */
BFD_RELOC_CRIS_32_TPREL,
BFD_RELOC_CRIS_16_TPREL,
BFD_RELOC_CRIS_DTPMOD,
+ BFD_RELOC_CRIS_32_IE,
/* Intel i860 Relocations. */
BFD_RELOC_860_COPY,
diff --git a/bfd/configure b/bfd/configure
index 8ff1234..0a1ce6c 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -9824,44 +9824,50 @@ x|xyes)
# to ld, don't add -lc before -lgcc.
echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
- $RM conftest*
- echo "$lt_simple_compile_test_code" > conftest.$ac_ext
+if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ $RM conftest*
+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext
- if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } 2>conftest.err; then
- soname=conftest
- lib=conftest
- libobjs=conftest.$ac_objext
- deplibs=
- wl=$lt_prog_compiler_wl
- pic_flag=$lt_prog_compiler_pic
- compiler_flags=-v
- linker_flags=-v
- verstring=
- output_objdir=.
- libname=conftest
- lt_save_allow_undefined_flag=$allow_undefined_flag
- allow_undefined_flag=
- if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
+ soname=conftest
+ lib=conftest
+ libobjs=conftest.$ac_objext
+ deplibs=
+ wl=$lt_prog_compiler_wl
+ pic_flag=$lt_prog_compiler_pic
+ compiler_flags=-v
+ linker_flags=-v
+ verstring=
+ output_objdir=.
+ libname=conftest
+ lt_save_allow_undefined_flag=$allow_undefined_flag
+ allow_undefined_flag=
+ if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }
- then
- archive_cmds_need_lc=no
- else
- archive_cmds_need_lc=yes
- fi
- allow_undefined_flag=$lt_save_allow_undefined_flag
- else
- cat conftest.err 1>&5
- fi
- $RM conftest*
- echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
-echo "${ECHO_T}$archive_cmds_need_lc" >&6
+ then
+ lt_cv_archive_cmds_need_lc=no
+ else
+ lt_cv_archive_cmds_need_lc=yes
+ fi
+ allow_undefined_flag=$lt_save_allow_undefined_flag
+ else
+ cat conftest.err 1>&5
+ fi
+ $RM conftest*
+
+fi
+echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
+echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
+ archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
;;
esac
fi
@@ -10441,12 +10447,17 @@ linux* | k*bsd*-gnu)
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
shlibpath_var=LD_LIBRARY_PATH
shlibpath_overrides_runpath=no
+
# Some binutils ld are patched to set DT_RUNPATH
- save_LDFLAGS=$LDFLAGS
- save_libdir=$libdir
- eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
- LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
- cat >conftest.$ac_ext <<_ACEOF
+ if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ lt_cv_shlibpath_overrides_runpath=no
+ save_LDFLAGS=$LDFLAGS
+ save_libdir=$libdir
+ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
+ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
+ cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
@@ -10484,7 +10495,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
- shlibpath_overrides_runpath=yes
+ lt_cv_shlibpath_overrides_runpath=yes
fi
else
@@ -10494,8 +10505,12 @@ sed 's/^/| /' conftest.$ac_ext >&5
fi
rm -f conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
- LDFLAGS=$save_LDFLAGS
- libdir=$save_libdir
+ LDFLAGS=$save_LDFLAGS
+ libdir=$save_libdir
+
+fi
+
+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
# This implies no fast_install, which is unacceptable.
# Some rework will be needed to allow for fast_install
@@ -11455,7 +11470,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11458 "configure"
+#line 11473 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11551,7 +11566,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11554 "configure"
+#line 11569 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c
index 72916f2..c297689 100644
--- a/bfd/elf32-cris.c
+++ b/bfd/elf32-cris.c
@@ -436,7 +436,8 @@ static reloc_howto_type cris_elf_howto_table [] =
TLSHOWTO16S (R_CRIS_16_GOT_TPREL),
TLSHOWTO32 (R_CRIS_32_TPREL),
TLSHOWTO16S (R_CRIS_16_TPREL),
- TLSHOWTO32 (R_CRIS_DTPMOD)
+ TLSHOWTO32 (R_CRIS_DTPMOD),
+ TLSHOWTO32 (R_CRIS_32_IE)
};
\f
/* Map BFD reloc types to CRIS ELF reloc types. */
@@ -479,7 +480,8 @@ static const struct cris_reloc_map cris_reloc_map [] =
{ BFD_RELOC_CRIS_16_GOT_TPREL, R_CRIS_16_GOT_TPREL },
{ BFD_RELOC_CRIS_32_TPREL, R_CRIS_32_TPREL },
{ BFD_RELOC_CRIS_16_TPREL, R_CRIS_16_TPREL },
- { BFD_RELOC_CRIS_DTPMOD, R_CRIS_DTPMOD }
+ { BFD_RELOC_CRIS_DTPMOD, R_CRIS_DTPMOD },
+ { BFD_RELOC_CRIS_32_IE, R_CRIS_32_IE }
};
static reloc_howto_type *
@@ -794,10 +796,15 @@ struct elf_cris_pcrel_relocs_copied
{
/* Next section. */
struct elf_cris_pcrel_relocs_copied *next;
+
/* A section in dynobj. */
asection *section;
+
/* Number of relocs copied in this section. */
bfd_size_type count;
+
+ /* Example of reloc being copied, for message. */
+ enum elf_cris_reloc_type r_type;
};
/* CRIS ELF linker hash entry. */
@@ -1474,7 +1481,8 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section,
case R_CRIS_16_PCREL:
case R_CRIS_32_PCREL:
/* If the symbol was local, we need no shlib-specific handling. */
- if (h == NULL || ELF_ST_VISIBILITY (h->other) != STV_DEFAULT)
+ if (h == NULL || ELF_ST_VISIBILITY (h->other) != STV_DEFAULT
+ || h->dynindx == -1)
break;
/* Fall through. */
@@ -1488,7 +1496,7 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section,
&& r_type != R_CRIS_16_PCREL
&& r_type != R_CRIS_32_PCREL)
|| (!info->symbolic
- || !h->def_regular)))
+ || (h != NULL && !h->def_regular))))
{
Elf_Internal_Rela outrel;
bfd_byte *loc;
@@ -1826,6 +1834,17 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section,
the GOT entry. */
break;
+ case R_CRIS_32_IE:
+ if (info->shared)
+ {
+ bfd_set_error (bfd_error_invalid_operation);
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-22 16:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-28 19:02 [SCM] master: gdb tromey
2008-12-22 16:36 tromey
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).