deliverable/binutils-gdb.git
14 years agogdb
Tom Tromey [Fri, 11 Jun 2010 15:36:10 +0000 (15:36 +0000)] 
gdb
PR gdb/9977, PR exp/11636:
* value.h (value_offset): Update.
(struct lval_funcs) <check_validity>: New field.
<copy_closure>: Make argument const.
(value_computed_closure): Update.
(value_contents_for_printing): Declare.
(value_bits_valid): Likewise.
(val_print): Likewise.
(set_value_component_location): Update.
(value_entirely_optimized_out): Declare.
* value.c (value_offset): Argument now const.
(require_not_optimized_out): New function.
(value_contents_for_printing): New function.
(value_contents_all): Call require_not_optimized_out.
(value_contents): Likewise.
(value_bits_valid): New function.
(value_computed_closure): Argument now const.
(set_value_component_location): Make 'whole' argument const.
(value_entirely_optimized_out): New function.
(value_bitsize): Argument now 'const'.
(value_bitpos): Likewise.
(value_type): Likewise.
* valprint.h (val_print_array_elements): Update.
* valprint.c (val_print): Add 'val' argument.  Use
valprint_check_validity.
(valprint_check_validity): New function.
(value_check_printable): Use value_entirely_optimized_out.
(common_val_print): Update.
(value_print): Likewise.
(val_print_array_elements): Add 'val' argument.
* valops.c (value_fetch_lazy): Use value_contents_for_printing,
value_bits_valid.  Reinit frame cache for lval_computed.
* sh64-tdep.c (sh64_do_register): Update.
* scm-valprint.c (scm_val_print): Add 'val' argument.
* scm-lang.h (scm_val_print): Update.
* python/python.h (apply_val_pretty_printer): Update.
* python/py-prettyprint.c (apply_val_pretty_printer): Add 'val'
argument.  Call set_value_component_location.
* printcmd.c (print_scalar_formatted): Update.
* p-valprint.c (pascal_val_print): Add 'val' argument.
(pascal_object_print_value_fields): Likewise.
(pascal_object_print_value): Likewise.
(pascal_object_print_static_field): Update.
* p-lang.h (pascal_val_print): Update.
(pascal_object_print_value_fields): Update.
* mt-tdep.c (mt_registers_info): Update.
* mi/mi-main.c (get_register): Update.
(mi_cmd_data_evaluate_expression): Use common_val_print.
* m2-valprint.c (m2_print_array_contents): Add 'val' argument.
(m2_print_unbounded_array): Likewise.
(m2_val_print): Likewise.
* m2-lang.h (m2_val_print): Update.
* language.h (struct language_defn) <la_val_print>: Add 'val'
argument.
(LA_VAL_PRINT): Likewise.
* language.c (unk_lang_val_print): Add 'val' argument.
* jv-valprint.c (java_print_value_fields): Add 'val' argument.
(java_val_print): Likewise.
* jv-lang.h (java_val_print): Add 'val' argument.
* infcmd.c (default_print_registers_info): Update.
* f-valprint.c (f77_print_array_1): Add 'val' argument.
(f77_print_array): Likewise.
(f_val_print): Likewise.
* f-lang.h (f_val_print): Add 'val' argument.
* dwarf2loc.c (read_pieced_value): Use value_bitsize and
value_bitpos.
<DWARF_VALUE_OPTIMIZED_OUT>: Don't print warning.  Call
set_value_optimized_out.
(write_pieced_value): Use value_bitsize and value_bitpos.
<default>: Don't exit loop.
(check_pieced_value_validity): New function.
(pieced_value_funcs): Reference check_pieced_value_validity,
check_pieced_value_invalid.
(copy_pieced_value_closure): Update.
(check_pieced_value_bits): New function.
(check_pieced_value_invalid): New function.
* d-valprint.c (dynamic_array_type): Add 'val' argument.
(d_val_print): Likewise.
* d-lang.h (d_val_print): Update.
* cp-valprint.c (cp_print_value_fields): Add 'val' argument.
(cp_print_value_fields_rtti): Likewise.
(cp_print_value): Likewise.
(cp_print_static_field): Update.
* c-valprint.c (c_val_print): Add 'val' argument.
(c_value_print): Update.
* c-lang.h (c_val_print): Update.
(cp_print_value_fields): Likewise.
(cp_print_value_fields_rtti): Likewise.
* ada-valprint.c (struct ada_val_print_args): Remove.
(val_print_packed_array_elements): Add 'val' argument.
(ada_val_print): Likewise.  Rewrite.
(ada_val_print_stub): Remove.
(ada_val_print_array): Add 'val' argument.
(ada_val_print_1): Likewise.
(print_variant_part): Likewise.
(ada_value_print): Update.
(print_record): Add 'val' argument.
(print_field_values): Likewise.
* ada-lang.h (ada_val_print): Update.
gdb/testsuite
PR gdb/9977, PR exp/11636::
* gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
(pieces_test_f6): Update expected output.

14 years ago2010-06-11 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 11 Jun 2010 15:30:38 +0000 (15:30 +0000)] 
2010-06-11  Tristan Gingold  <gingold@adacore.com>

* vms-alpha.c (_bfd_vms_slurp_egsd): Always set vma of absolute
sections to 0.

14 years ago2010-06-11 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 11 Jun 2010 15:21:15 +0000 (15:21 +0000)] 
2010-06-11  Tristan Gingold  <gingold@adacore.com>

* vms-alpha.c (evax_bfd_print_etir): Handle ETIR__C_STO_GBL_LW.

14 years ago * vec.h (VEC_cleanup): New macro.
Tom Tromey [Fri, 11 Jun 2010 15:21:11 +0000 (15:21 +0000)] 
* vec.h (VEC_cleanup): New macro.
(DEF_VEC_ALLOC_FUNC_I): Update.
(DEF_VEC_ALLOC_FUNC_P): Likewise.
(DEF_VEC_ALLOC_FUNC_O): Likewise.
* dwarf2loc.c (struct axs_var_loc): Remove.
(unimplemented): New function.
(translate_register): Likewise.
(access_memory): Likewise.
(compile_dwarf_to_ax): Likewise.
(dwarf2_tracepoint_var_loc): Remove.
(dwarf2_tracepoint_var_access): Likewise.
(dwarf2_tracepoint_var_ref): Likewise.
(locexpr_tracepoint_var_ref): Use compile_dwarf_to_ax.
(loclist_tracepoint_var_ref): Likewise.
* dwarf2expr.h (dwarf_expr_require_composition): Declare.
* dwarf2expr.c (dwarf_expr_require_composition): Rename from
require_composition.  No longer static.
(execute_stack_op): Update.
* ax-gdb.h (trace_kludge): Declare.

14 years ago2010-06-11 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 11 Jun 2010 15:13:32 +0000 (15:13 +0000)] 
2010-06-11  Tristan Gingold  <gingold@adacore.com>

* vms-misc.c (_bfd_vms_output_counted): Make VALUE argument const.
Adjust cast.
(_bfd_vms_output_dump): Make DATA argument const, adjust cast.
* vms.h (_bfd_vms_output_counted, _bfd_vms_output_dump): Adjust.
* vms-alpha.c (evax_section_flags): Make it const.
(vms_secflag_by_name): Remove unused ABFD argument.
Make SECTION_FLAGS and NAME arguments const. Clarify comment.
(vms_esecflag_by_name): Make SECTION_FLAGS and NAME arguments const.
(_bfd_vms_slurp_egsd): Adjust call to vms_secflag_by_name.
(_bfd_vms_write_egsd): Remove useless cast.

14 years agogas/
Jan Beulich [Fri, 11 Jun 2010 15:07:53 +0000 (15:07 +0000)] 
gas/
2010-06-11  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (md_parse_option): Ignore impossible processor
types.
(show_arch): New parameter 'check'.
(md_show_usage): Adjust calls to show_arch().

14 years agogdb/
Jan Kratochvil [Fri, 11 Jun 2010 12:58:54 +0000 (12:58 +0000)] 
gdb/
* breakpoint.c (breakpoint_restore_shadows): New OWNER comment.
(should_be_inserted): Return zero also on NULL OWNER.
(breakpoint_program_space_exit): New OWNER comment.
(insert_breakpoint_locations): Extend comment for OWNER.
(remove_breakpoint_1, remove_breakpoint): Assert on OWNER.
(breakpoint_init_inferior, breakpoint_here_p, breakpoint_thread_match):
New OWNER comment.
(print_it_typical): Return PRINT_UNKNOWN on NULL OWNER.
(watchpoint_check): New assert on BREAKPOINT_AT and OWNER.
(bpstat_check_location): New assert on OWNER.
(bpstat_check_watchpoint, bpstat_check_breakpoint_conditions): Move BL
and B initializations to the code block.  New assert on them.
(print_one_breakpoint_location): New OWNER comment.
(watchpoint_locations_match): Assert on OWNER.
(breakpoint_locations_match): Move HW_POINT1 and HW_POINT2
initializations to the code block.  New assert on OWNER.
(set_breakpoint_location_function): New assert on OWNER.
(disable_breakpoints_in_shlibs, disable_breakpoints_in_unloaded_shlib)
(bp_location_compare, update_global_location_list)
(update_global_location_list): New OWNER comment.

gdb/testsuite/
* gdb.base/moribund-step.exp: New.

14 years ago * Makefile.in (HFILES_NO_SRCDIR): Remove config/i386/nm-linux.h
Ulrich Weigand [Fri, 11 Jun 2010 12:44:15 +0000 (12:44 +0000)] 
* Makefile.in (HFILES_NO_SRCDIR): Remove config/i386/nm-linux.h

14 years ago * config/nm-linux.h (struct target_ops): Remove forward declaration.
Ulrich Weigand [Fri, 11 Jun 2010 12:10:13 +0000 (12:10 +0000)] 
* config/nm-linux.h (struct target_ops): Remove forward declaration.
(lin_thread_get_thread_signals): Remove prototype.
(GET_THREAD_SIGNALS): Remove.
* linux-nat.h (lin_thread_get_thread_signals): Add prototype.
* linux-thread-db.c (check_thread_signals): Directly call
lin_thread_get_thread_signals; do not check GET_THREAD_SIGNALS.

14 years ago * gregset.h (GDB_FPXREGSET_T): Remove.
Ulrich Weigand [Fri, 11 Jun 2010 12:08:51 +0000 (12:08 +0000)] 
* gregset.h (GDB_FPXREGSET_T): Remove.
(gdb_fpxregset_t): Likewise.
(supply_fpxregset): Remove prototype.
(fill_fpxregset): Likewise.
* i386-linux-nat.c (supply_fpxregset): Remove.
(fill_fpxregset): Likewise.
(fetch_fpxregs): Inline supply_fpxregset call.
(store_fpxregs): Inline fill_fpxregset call.

* config/i386/linux.mh: Set NAT_FILE to config/nm-linux.h.
* config/i386/nm-linux.h: Remove file.

14 years ago2010-06-11 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 11 Jun 2010 09:04:39 +0000 (09:04 +0000)] 
2010-06-11  Tristan Gingold  <gingold@adacore.com>

* unwind-ia64.c (unw_print_abreg): Add const to special_reg.
(UNW_DEC_ABI): Ditto for abiname.
(unw_decode_table): Make it const.

14 years agodaily update
Alan Modra [Fri, 11 Jun 2010 00:00:05 +0000 (00:00 +0000)] 
daily update

14 years ago*** empty log message ***
gdbadmin [Fri, 11 Jun 2010 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

14 years ago2010-06-08 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 10 Jun 2010 19:48:20 +0000 (19:48 +0000)] 
2010-06-08  Michael Snyder  <msnyder@vmware.com>

* gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.ada/boolean_expr.exp:
* gdb.ada/frame_args.exp: Ditto.
* gdb.ada/lang_switch.exp: Ditto.
* gdb.ada/ptype_arith_binop.exp: Ditto.
* gdb.ada/ref_param.exp: Ditto.
* gdb.ada/type_coercion.exp:Ditto.

* gdb.asm/asm-source.exp: Ditto.

* gdb.base/attach.exp: Ditto.
* gdb.base/bitfields2.exp: Ditto.
* gdb.base/call-signal-resume.exp: Ditto.
* gdb.base/callfuncs.exp: Ditto.
* gdb.base/commands.exp: Ditto.
* gdb.base/dbx.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/dump.exp: Ditto.
* gdb.base/exprs.exp: Ditto.
* gdb.base/freebpcmd.exp: Ditto.
* gdb.base/interrupt.exp: Ditto.
* gdb.base/list.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/maint.exp: Ditto.
* gdb.base/ptype.exp: Ditto.
* gdb.base/return.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/sigbpt.exp: Ditto.
* gdb.base/sigrepeat.exp: Ditto.

* gdb.cp/classes.exp: Ditto.

* gdb.dwarf2/dw2-restore.exp: Ditto.

* gdb.gdb/selftest.exp: Ditto.

* gdb.multi/base.exp: Ditto.
* gdb.multi/bkpt-multi-exec.exp: Ditto.

* gdb.python/py-block.exp: Ditto.
* gdb.python/py-prettyprint.exp: Ditto.
* gdb.python/py-template.exp: Ditto.

* gdb.server/ext-attach.exp: Ditto.
* gdb.server/ext-run.exp: Ditto.
* gdb.server/server-mon.exp: Ditto.

* gdb.threads/fork-thread-pending.exp: Ditto.
* gdb.threads/hand-call-in-threads.exp: Ditto.
* gdb.threads/interrupted-hand-call.exp: Ditto.
* gdb.threads/linux-dp.exp: Ditto.
* gdb.threads/manythreads.exp: Ditto.
* gdb.threads/print-threads.exp: Ditto.
* gdb.threads/pthreads.exp: Ditto.
* gdb.threads/schedlock.exp: Ditto.
* gdb.threads/thread-unwindonsignal.exp: Ditto.
* gdb.threads/threadapply.exp: Ditto.

14 years agomerge from gcc
DJ Delorie [Thu, 10 Jun 2010 18:30:24 +0000 (18:30 +0000)] 
merge from gcc

14 years ago * object.cc (Sized_relobj::do_layout): Defer layout for reloc sections.
Cary Coutant [Thu, 10 Jun 2010 17:20:27 +0000 (17:20 +0000)] 
* object.cc (Sized_relobj::do_layout): Defer layout for reloc sections.
(Sized_relobj::do_layout_deferred_sections): Do layout for deferred
reloc sections.
* object.h (Sized_relobj::deferred_layout_relocs_): New data member.

PR 11683
* symtab.h (Symbol::is_placeholder): New member function.
* target-reloc.h (relocate_section): Check for placeholder symbols.

* testsuite/Makefile.am (plugin_test_8): New test.
(plugin_test_9): New test.
* testsuite/Makefile.in: Regenerate.

14 years ago* Makefile.def (configure-gcc): Depend on all-libelf.
Alexandre Oliva [Thu, 10 Jun 2010 17:04:13 +0000 (17:04 +0000)] 
* Makefile.def (configure-gcc): Depend on all-libelf.
* Makefile.in: Rebuild.

14 years agoStop if -march=XXX is invalid.
H.J. Lu [Thu, 10 Jun 2010 16:38:17 +0000 (16:38 +0000)] 
Stop if -march=XXX is invalid.

2010-06-10  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (update_code_flag): New.
(set_code_flag): Use it.
(i386_target_format): Replace set_code_flag with update_code_flag.

14 years ago2010-06-10 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 10 Jun 2010 16:09:45 +0000 (16:09 +0000)] 
2010-06-10  Paolo Bonzini  <bonzini@gnu.org>

* override.m4: Remove obsolete (<2.64) definitions.

14 years agosync changelog with gcc, plus commit the following patch:
Paolo Bonzini [Thu, 10 Jun 2010 16:01:32 +0000 (16:01 +0000)] 
sync changelog with gcc, plus commit the following patch:

2010-06-09  Iain Sandoe  <iains@gcc.gnu.org>

PR bootstrap/43170
* tls.m4 (GCC_CHECK_TLS): Add volatile qualifier to the test
references.  Move the main () test reference ahead of
pthread_create().  Add a comment to explain the requirements
of the test.

14 years ago PR other/43838
Jakub Jelinek [Thu, 10 Jun 2010 15:42:01 +0000 (15:42 +0000)] 
PR other/43838
* cp-demangle.c (struct d_print_info): Add flush_count field.
(d_print_init): Initialize it to 0.
(d_print_flush): Increment it.
(d_print_comp): If needed flush before appending ", ".  Only
decrement dpi->len if no flushes happened during the recursive
call.
* testsuite/demangle-expected: Add a test for this.

14 years ago2010-06-10 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 10 Jun 2010 11:50:38 +0000 (11:50 +0000)] 
2010-06-10  Tristan Gingold  <gingold@adacore.com>

* readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
not inplace.

14 years ago2010-06-10 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 10 Jun 2010 09:02:23 +0000 (09:02 +0000)] 
2010-06-10  Tristan Gingold  <gingold@adacore.com>

* config.bfd: Remove #if/#endif so that som can be compiled on any
host.
* targets.c (_bfd_target_vector): Remove #if/#endif so that som
can be used on any host.

14 years agobfd/
Tristan Gingold [Thu, 10 Jun 2010 08:51:46 +0000 (08:51 +0000)] 
bfd/
2010-06-10  Tristan Gingold  <gingold@adacore.com>

* som.c: Can now be compiled on any host.
Include bfd headers instead of system one.
(som_compute_checksum): Parameter is now a pointer to a
som_external_header structure.  Adjust.
(struct section_to_type): Field section is now const.
(R_DLT_REL, R_AUX_UNWIND, R_SEC_STMT): Removed conditional
definition.
(R_LONG_PCREL_MODE, R_N0SEL, R_N1SEL, R_LINETAB): Ditto.
(R_LINETAB_ESC, R_LTP_OVERRIDE, R_COMMENT): Ditto.
(som_swap_clock_in, som_swap_clock_out): New functions.
(som_swap_header_in, som_swap_header_out): Likewise.
(som_swap_space_dictionary_in): Likewise.
(som_swap_space_dictionary_out): Likewise.
(som_swap_subspace_dictionary_in): Likewise.
(som_swap_subspace_dictionary_record_out): Likewise.
(som_swap_aux_id_in, som_swap_aux_id_out): Likewise.
(som_swap_string_auxhdr_out): Likewise.
(som_swap_compilation_unit_out): Likewise.
(som_swap_exec_auxhdr_in): Likewise.
(som_swap_exec_auxhdr_out): Likewise.
(som_swap_lst_header_in): Likewise.
(som_object_setup): Adjust parameter type using bfd types.
(setup_sections): Likewise.  Ditto for object file types.
Use intermediate variables for external representation and use the
swap functions to convert.
(som_object_p): Ditto.  Remove #ifdef/#endif on always defined
macros.
(som_prep_headers): Likewise.
(som_write_symbol_strings): Likewise.
(som_begin_writing): Likewise.
(som_finish_writing): Likewise.
(som_build_and_write_symbol_table): Likewise.
(bfd_section_from_som_symbol): Likewise.
(som_slurp_symbol_table): Likewise.
(som_bfd_print_private_bfd_data): Likewise.
(bfd_som_attach_aux_hdr): Likewise.  Clear the padding.
(bfd_som_attach_compilation_unit): Likewise.
(som_bfd_count_ar_symbols): Likewise.
(som_bfd_fill_in_ar_symbols): Likewise.
(som_slurp_armap): Likewise.
(som_bfd_ar_write_symbol_stuff): Likewise.
(som_write_armap): Likewise.  Use _bfd_ar_spacepad instead of
sprintf to write header fields.
* som.h: Include bfd headers instead of system one.
(FILE_HDR_SIZE, AUX_HDR_SIZE): Removed.
(struct somdata): Use bfd structures instead of system ones.
(struct som_section_data_struct): Likewise.
(struct som_subspace_dictionary_record): Removed (now in
include/som/internal.h)

gas/
2010-06-10  Tristan Gingold  <gingold@adacore.com>

* config/obj-som.h: Includes som/reloc.h

14 years agoinclude/som:
Tristan Gingold [Thu, 10 Jun 2010 08:31:20 +0000 (08:31 +0000)] 
include/som:
2010-06-10  Tristan Gingold  <gingold@adacore.com>

* aout.h: New file.
* clock.h: Likewise.
* lst.h: Likewise.
* reloc.h: Likewise.
* internal.h: Likewise.

14 years ago2010-06-10 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 10 Jun 2010 08:19:52 +0000 (08:19 +0000)] 
2010-06-10  Tristan Gingold  <gingold@adacore.com>

* dwarf2.h (enum dwarf_tag): Add DW_TAG_HP_Bliss_field and
DW_TAG_HP_Bliss_field_set.
(enum dwarf_attribute): Add DW_AT_HP_prologue, DW_AT_HP_epilogue,
DW_AT_HP_unit_name, DW_AT_HP_unit_size, DW_AT_HP_widened_byte_size,
DW_AT_HP_definition_points, DW_AT_HP_default_location and
DW_AT_HP_is_result_param.
(enum dwarf_type): Add DW_ATE_HP_VAX_float, DW_ATE_HP_VAX_float_d,
DW_ATE_HP_packed_decimal, DW_ATE_HP_zoned_decimal, DW_ATE_HP_edited,
DW_ATE_HP_signed_fixed, DW_ATE_HP_unsigned_fixed,
DW_ATE_HP_VAX_complex_float and DW_ATE_HP_VAX_complex_float_d.
(enum dwarf_line_number_x_ops): Add
DW_LNE_HP_source_file_correlation.
(enum dwarf_source_language): Add DW_LANG_HP_Bliss,
DW_LANG_HP_Basic91, DW_LANG_HP_Pascal91, DW_LANG_HP_IMacro,
DW_LANG_HP_Assembler.

14 years ago2010-06-10 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 10 Jun 2010 08:16:11 +0000 (08:16 +0000)] 
2010-06-10  Tristan Gingold  <gingold@adacore.com>

* targets.c (bfd_target_list): Remove hp/ux compiler work-around
as bfd requires an ANSI-C compiler.

14 years agogas/
Jan Beulich [Thu, 10 Jun 2010 07:10:04 +0000 (07:10 +0000)] 
gas/
2010-06-10  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (cpu_arch): Add comment.
(i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
from the generic entries of cpu_arch[].

14 years ago*** empty log message ***
gdbadmin [Thu, 10 Jun 2010 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agodaily update
Alan Modra [Thu, 10 Jun 2010 00:00:05 +0000 (00:00 +0000)] 
daily update

14 years ago2010-06-09 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Wed, 9 Jun 2010 18:25:34 +0000 (18:25 +0000)] 
2010-06-09  Michael Snyder  <msnyder@vmware.com>

* target.c (update_current_target): Fix spelling error in comment.
(target_mourn_inferior): Fix spelling error in error message.

14 years ago PR ld/11603
Dave Korn [Wed, 9 Jun 2010 18:17:10 +0000 (18:17 +0000)] 
PR ld/11603
* pe-dll.c (process_def_file_and_drectve): Reorder check for
forwarded export name after check for ordinary export.

14 years ago * gas/config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
Matthew Gretton-Dann [Wed, 9 Jun 2010 15:11:51 +0000 (15:11 +0000)] 
* gas/config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
value.
(parse_operands): Add support for OP_RRnpctw.
(insns): Update floating-point load/store multiples so the
first register is of type OP_RRnpctw.
* gas/testsuite/gas/arm/vldm-arm.d: New test.
* gas/testsuite/gas/arm/vldm-thumb-bad.d: Likewise.
* gas/testsuite/gas/arm/vldm-thumb-bad.l: Likewise.
* gas/testsuite/gas/arm/vldm.s: Likewise.
* gas/testsuite/gas/arm/vldmw-arm-bad.d: Likewise.
* gas/testsuite/gas/arm/vldmw-bad.l: Likewise.
* gas/testsuite/gad/arm-vldmw-bad.s: Likewise.
* gas/testsuite/gas/arm/vldmw-thumb-bad.d: Likewise.

14 years ago * yyscript.y (input_list_element): Allow strings prefixed with
Nick Clifton [Wed, 9 Jun 2010 14:14:18 +0000 (14:14 +0000)] 
    * yyscript.y (input_list_element): Allow strings prefixed with
        the '-' character.  Treat these as libraries.
        * script.cc (script_add_library): New function.  Adds a library
        specified by "-l<name>" found in an input script.
        * script-c.h: Add prototype for script_add_library.

14 years ago2010-06-09 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 9 Jun 2010 13:28:31 +0000 (13:28 +0000)] 
2010-06-09 Tristan Gingold  <gingold@adacore.com>

* bfdio.c (bfd_bread): Fix the code to prevent reading past the
end of archive members.

14 years agoTrivial correction to two comments in dictionary.h.
Paul N. Hilfinger [Wed, 9 Jun 2010 04:22:27 +0000 (04:22 +0000)] 
Trivial correction to two comments in dictionary.h.

Changelog:

  * dictionary.h (dict_iter_name_first, dict_iter_name_next): Refer to
  SYMBOL_SEARCH_NAME, not SYMBOL_BEST_NAME, in comments.

14 years ago*** empty log message ***
gdbadmin [Wed, 9 Jun 2010 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agodaily update
Alan Modra [Wed, 9 Jun 2010 00:00:05 +0000 (00:00 +0000)] 
daily update

14 years ago2010-06-08 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Tue, 8 Jun 2010 22:58:03 +0000 (22:58 +0000)] 
2010-06-08  Michael Snyder  <msnyder@vmware.com>

* gdb.ada/exec_changed.exp:
Use ".*" instead of "" as wildcard regexp.

* gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.base/call-ar-st.exp: Ditto.
* gdb.base/checkpoint.exp: Ditto.
* gdb.base/default.exp: Ditto.
* gdb.base/dump.exp: Ditto.
* gdb.base/ending-run.exp: Ditto.
* gdb.base/fileio.exp: Ditto.
* gdb.base/miscexprs.exp: Ditto.
* gdb.base/pointers.exp: Ditto.
* gdb.base/readline.exp: Ditto.
* gdb.base/reread.exp: Ditto.
* gdb.base/restore.exp: Ditto.
* gdb.base/shlib-call.exp: Ditto.
* gdb.base/valgrind-db-attach.exp: Ditto.
* gdb.base/volatile.exp: Ditto.
* gdb.base/watchpoints.exp: Ditto.

* gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.

* gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.python/py-value.exp: Ditto.

* gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
* gdb.trace/circ.exp: Ditto.
* gdb.trace/collection.exp: Ditto.
* gdb.trace/packetlen.exp: Ditto.
* gdb.trace/passc-dyn.exp: Ditto.
* gdb.trace/report.exp: Ditto.
* gdb.trace/tfile.exp: Ditto.
* gdb.trace/tfind.exp: Ditto.
* gdb.trace/while-dyn.exp: Ditto.

14 years ago * emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New.
Bernd Schmidt [Tue, 8 Jun 2010 20:15:18 +0000 (20:15 +0000)] 
* emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New.

14 years ago2010-06-08 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Tue, 8 Jun 2010 16:51:33 +0000 (16:51 +0000)] 
2010-06-08  Michael Snyder  <msnyder@vmware.com>

* remote.c (remote_close): Set inferior_ptid to null_ptid.

14 years agogdb/
Jan Kratochvil [Tue, 8 Jun 2010 16:41:45 +0000 (16:41 +0000)] 
gdb/
* configure.ac <"${have_libpython}" != no>: New workaround of
python#4434.
* configure: Regenerate.

gdb/testsuite/
* gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.

14 years ago2010-06-08 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 8 Jun 2010 15:43:38 +0000 (15:43 +0000)] 
2010-06-08  Tristan Gingold  <gingold@adacore.com>

* som.c (som_bfd_free_cached_info): Do not free relocations as
they were allocated with bfd_zalloc.

14 years ago2010-06-08 Quentin Neill <quentin.neill@amd.com>
Sebastian Pop [Tue, 8 Jun 2010 15:42:29 +0000 (15:42 +0000)] 
2010-06-08  Quentin Neill  <quentin.neill@amd.com>

* config/tc-i386.c (pi): Rename local loop counter
variable i that shadows global static i386_insn i
when DEBUG386 is defined.
(pte) Ditto.

14 years ago2010-06-08 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 8 Jun 2010 14:04:25 +0000 (14:04 +0000)] 
2010-06-08  Tristan Gingold  <gingold@adacore.com>

* vms-lib.c (_bfd_vms_lib_write_archive_contents): Increment
for the first block.

14 years ago * standards.texi: Import current version from gnustandards
Nick Clifton [Tue, 8 Jun 2010 12:15:36 +0000 (12:15 +0000)] 
    * standards.texi: Import current version from gnustandards
        project.
        * gnu-oids.texi: New file.

14 years ago * gprof.texi (Sampling Error): Note that call counts and basic
Nick Clifton [Tue, 8 Jun 2010 10:38:48 +0000 (10:38 +0000)] 
    * gprof.texi (Sampling Error): Note that call counts and basic
        block counts are only reliable for multi-threaded applications if
        the counting function itself is thread safe.

14 years agoetc/ChangeLog
Nick Clifton [Tue, 8 Jun 2010 10:30:56 +0000 (10:30 +0000)] 
etc/ChangeLog

        * standards.texi: Relicense under GFDL v1.3.
        * fdl.texi: Replace with v1.3 text.

gas/ChangeLog

        * doc/as.texinfo: Replace abbreviated 20th century year numbers
        with full versions.

gprof/ChangeLog

        * gprof.texi: Replace abbreviated 20th century year numbers with
        full versions.

ld/ChangeLog

        * fdl.texi: Replace with v1.3 text.
        * ld.texinfo: Replace abbreviated 20th century year numbers with
        full versions.
        * ldint.texinfo: Likewise.
        Relicense under GFDL v1.3.  Replace text of v1.1 FDL with an
        include of the fdl.texi file.

14 years agooops - omitted from previous delta
Nick Clifton [Tue, 8 Jun 2010 10:15:48 +0000 (10:15 +0000)] 
oops - omitted from previous delta

14 years ago * reg.c (set_oszc): Use unsigned int for the mask.
Nick Clifton [Tue, 8 Jun 2010 09:15:17 +0000 (09:15 +0000)] 
    * reg.c (set_oszc): Use unsigned int for the mask.
        (set_szc, set_osz, set_sz): Likewise.

14 years ago2010-06-08 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 8 Jun 2010 08:26:01 +0000 (08:26 +0000)] 
2010-06-08  Tristan Gingold  <gingold@adacore.com>

* vms-lib.c (_bfd_vms_lib_ia64_mkarchive): New function.
* libbfd-in.h (_bfd_vms_lib_ia64_mkarchive): Declare.
* libbfd.h: Regenerate.
* elfxx-ia64.c (bfd_elfNN_write_archive_contents): Redefine for VMS.
(bfd_elfNN_mkarchive): Ditto.

14 years ago2010-06-08 Hui Zhu <teawater@gmail.com>
Hui Zhu [Tue, 8 Jun 2010 02:25:31 +0000 (02:25 +0000)] 
2010-06-08  Hui Zhu  <teawater@gmail.com>

* record.c (record_wait): Move signal out of replay code.

14 years ago2010-06-07 Doug Kwan <dougkwan@google.com>
Doug Kwan [Tue, 8 Jun 2010 00:33:41 +0000 (00:33 +0000)] 
2010-06-07  Doug Kwan  <dougkwan@google.com>

* arm.cc (Target_arm::do_relax): Reserve more space for stubs.
Restrict stub-group size to be within long conditional branch
range when working around cortex-A8 erratum.

14 years ago*** empty log message ***
gdbadmin [Tue, 8 Jun 2010 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agodaily update
Alan Modra [Tue, 8 Jun 2010 00:00:05 +0000 (00:00 +0000)] 
daily update

14 years agogdb/
Jan Kratochvil [Mon, 7 Jun 2010 19:55:33 +0000 (19:55 +0000)] 
gdb/
Fix PR 10640.
* dwarf2-frame.c (no_dwarf_call): New function.
(execute_stack_op): Set CTX->DWARF_CALL.
* dwarf2expr.c (execute_stack_op) <DW_OP_call2, DW_OP_call4>: New.
* dwarf2expr.h (struct dwarf_expr_context) <dwarf_call>: New.
(struct dwarf_expr_context) <get_subr>: Remove the #if0-ed field.
* dwarf2loc.c (per_cu_dwarf_call, dwarf_expr_dwarf_call): New functions.
(dwarf2_evaluate_loc_desc): Initialize CTX->DWARF_CALL.
(needs_frame_dwarf_call): New function.
(dwarf2_loc_desc_needs_frame): Initialize CTX->DWARF_CALL.
* dwarf2read.c (follow_die_offset): Based on former follow_die_ref.
Update the comment.  Move variables die, offset and error call to ...
(follow_die_ref): ... a new function.
(dwarf2_fetch_die_location_block): New function.
* dwarf2loc.h (dwarf2_fetch_die_location_block): New prototype.

gdb/testsuite/
Test PR 10640.
* gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.

14 years agogdb/
Jan Kratochvil [Mon, 7 Jun 2010 19:42:58 +0000 (19:42 +0000)] 
gdb/
* dwarf2loc.c (struct dwarf_expr_baton) Replace objfile by per_cu.
(dwarf_expr_tls_address): Use per_cu instead of objfile.
(dwarf2_evaluate_loc_desc): Drop initialization of BATON.OBJFILE.
Initialize new BATON.PER_CU.  Adjust CTX->GDBARCH initialization for
this change.
(struct needs_frame_baton): New field per_cu.
(dwarf2_loc_desc_needs_frame): Initialize new BATON.PER_CU.
* dwarf2read.c (struct dwarf2_per_cu_data) <cu>: Extend the comment.

14 years agoFix operator doubly nested namespace search.
Sami Wagiaalla [Mon, 7 Jun 2010 17:51:03 +0000 (17:51 +0000)] 
Fix operator doubly nested namespace search.

2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>

* cp-support.c (make_symbol_overload_list_namespace): Only search
static and global blocks.
(make_symbol_overload_list_block): New function.
(make_symbol_overload_list): Separate namespace search from block
search.
(make_symbol_overload_list_qualified): Use
make_symbol_overload_list_block.

14 years agoTest and support all cpp operator types.
Sami Wagiaalla [Mon, 7 Jun 2010 16:11:35 +0000 (16:11 +0000)] 
Test and support all cpp operator types.

2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>

* value.h: Created oload_search_type enum.
(find_overload_match): Use oload_search_type enum.
* valops.c (find_overload_match): Support combined member and
non-member search.
* eval.c (evaluate_subexp_standard): Calls to
find_overload_match now use oload_search_type enum.
(oload_method_static): Verify index is a proper value.
* valarith.c (value_user_defined_cpp_op): Search for and handle
both member and non-member operators.
(value_user_defined_cpp_op): New function.
(value_user_defined_op): New function.
(value_x_unop): Use value_user_defined_op.
(value_x_binop): Ditto.
* cp-support.c (make_symbol_overload_list_using): Added block
iteration.
Add check for namespace aliases and imported declarations.

2010-06-07  Sami Wagiaalla  <swagiaal@redhat.com>

* gdb.cp/koenig.exp: Test for ADL operators.
* gdb.cp/koenig.cc: Added ADL operators.
* gdb.cp/operator.exp: New test.
* gdb.cp/operator.cc: New test.

14 years ago * gold-threads.cc (Lock_impl_threads::Lock_impl_threads): Correct
Ian Lance Taylor [Mon, 7 Jun 2010 15:00:44 +0000 (15:00 +0000)] 
* gold-threads.cc (Lock_impl_threads::Lock_impl_threads): Correct
#ifdef typo.

14 years agogdb/
Jan Kratochvil [Mon, 7 Jun 2010 13:39:10 +0000 (13:39 +0000)] 
gdb/
* breakpoint.h (owner): Extend the comment.

14 years agogdb/
Jan Kratochvil [Mon, 7 Jun 2010 13:38:25 +0000 (13:38 +0000)] 
gdb/
Clear stale specific bp_location from former whole breakpoint.
* breakpoint.c (delete_breakpoint): Move the stale referencing clear
code ...
(free_bp_location): ... here.  Rename there the called function to
bpstat_remove_bp_location_callback.
(bpstat_remove_breakpoint_callback): Rename to ...
(bpstat_remove_bp_location_callback): ... here, change DATA resolution
to struct bp_location.  Change the called function to
bpstat_remove_bp_location.  Create new declaration for the function.
(bpstat_remove_breakpoint): Rename to ...
(bpstat_remove_bp_location): ..., change the parameter to loc, adjust
code for the new parameter type.

14 years ago * gas/testsuite/gas/arm/thumb-eabi.d: Add case for divided syntax encoding of movs.
Matthew Gretton-Dann [Mon, 7 Jun 2010 10:43:52 +0000 (10:43 +0000)] 
* gas/testsuite/gas/arm/thumb-eabi.d: Add case for divided syntax encoding of movs.
* gas/testsuite/gas/arm/thumb.d: Likewise.
* gas/testsuite/gas/arm/thumb.s: Likewise.
* gas/testsuite/gas/arm/thumb2_it.d: Update for change in lsls/movs disassembly.
* gas/testsuite/gas/arm/thumb2_it_auto.d: Liekwise.
* gas/testsuite/gas/arm/thumb32.d: Likewise.
* ld/testsuite/ld-arm/arm-call.d: Handle change in lsls/movs disassembly.
* ld/testsuite/ld-arm/farcall-thumb-arm-short.d: Likewise.
* ld/testsuite/ld-arm/farcall-thumb-thumb-blx-pic-veneer.d: Likewise.
* ld/testsuite/ld-arm/farcall-thumb-thumb-blx.d: Likewise.
* ld/testsuite/ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise.
* ld/testsuite/ld-arm/farcall-thumb-thumb-m.d: Likewise.
* ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise.
* ld/testsuite/ld-arm/farcall-thumb-thumb.d: Likewise.
* ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad-noeabi.d: Likewise.
* ld/testsuite/ld-arm/thumb2-bl-as-thumb1-bad.d: Likewise.
* ld/testsuite/ld-arm/thumb2-bl-bad-noeabi.d: Likewise.
* ld/testsuite/ld-arm/thumb2-bl-bad.d: Likewise.
* opcodes/arm-dis.c (thumb-opcodes): Add disassembly for movs.

14 years ago * README: Make version-agnostic.
Nathan Sidwell [Mon, 7 Jun 2010 07:42:49 +0000 (07:42 +0000)] 
* README: Make version-agnostic.

14 years agodaily update
Alan Modra [Mon, 7 Jun 2010 00:00:05 +0000 (00:00 +0000)] 
daily update

14 years ago*** empty log message ***
gdbadmin [Mon, 7 Jun 2010 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agodaily update
Alan Modra [Sun, 6 Jun 2010 00:00:05 +0000 (00:00 +0000)] 
daily update

14 years ago*** empty log message ***
gdbadmin [Sun, 6 Jun 2010 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agogdb/
Jan Kratochvil [Sat, 5 Jun 2010 14:11:54 +0000 (14:11 +0000)] 
gdb/
Fix duplicate types for single DIE.
* dwarf2read.c (read_structure_type): Move set_descriptive_type after
set_die_type.
(read_array_type): Remove type initialization.  Recheck get_die_type
after initial die_type.  Move set_die_type before set_descriptive_type.
(read_set_type): New variable domain_type.  Recheck get_die_type after
initial die_type.  Move attr initialization later.
(read_tag_pointer_type, read_tag_reference_type): New variable
target_type.  Recheck get_die_type after initial die_type.
(read_tag_ptr_to_member_type): Recheck get_die_type after initial
die_type and die_containing_type.
(read_tag_const_type, read_tag_volatile_type, read_subroutine_type):
Recheck get_die_type after initial die_type.
(read_subrange_type): Recheck get_die_type after initial die_type.
Move set_die_type before set_descriptive_type.
(set_die_type): Extend the function comment.  Call complaint if DIE has
some type already set.

14 years ago * mi/mi-main.c (mi_cmd_list_thread_groups): Adjust
Vladimir Prus [Sat, 5 Jun 2010 05:56:02 +0000 (05:56 +0000)] 
* mi/mi-main.c (mi_cmd_list_thread_groups): Adjust
for current naming of thread groups (iN, not N).

14 years ago*** empty log message ***
gdbadmin [Sat, 5 Jun 2010 00:00:36 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agodaily update
Alan Modra [Sat, 5 Jun 2010 00:00:07 +0000 (00:00 +0000)] 
daily update

14 years ago2010-06-04 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 4 Jun 2010 23:09:15 +0000 (23:09 +0000)] 
2010-06-04  Michael Snyder  <msnyder@vmware.com>

* gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.

14 years ago2010-06-04 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 4 Jun 2010 22:15:29 +0000 (22:15 +0000)] 
2010-06-04  Michael Snyder  <msnyder@vmware.com>

* gdb.base/pending.exp: Replace gdb_test_multiple with gdb_test.

14 years ago2010-06-04 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 4 Jun 2010 21:45:04 +0000 (21:45 +0000)] 
2010-06-04  Michael Snyder  <msnyder@vmware.com>

* gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.

14 years ago2010-06-04 Sergio Durigan Junior <sergiodj@redhat.com>
Sergio Durigan Junior [Fri, 4 Jun 2010 21:39:47 +0000 (21:39 +0000)] 
2010-06-04  Sergio Durigan Junior  <sergiodj@redhat.com>

* ada-lang.c (ada_operator_length): Constify `struct expression'.
* parse.c (operator_length): Likewise.
(operator_length_standard): Likewise.
* parser-defs.h (operator_length): Likewise.
(operator_length_standard): Likewise.
(struct exp_descriptor <operator_length>): Likewise.

14 years agoremove trailing whitespace in previous checkin
Doug Evans [Fri, 4 Jun 2010 21:20:21 +0000 (21:20 +0000)] 
remove trailing whitespace in previous checkin

14 years ago Add support for enabling/disabling individual pretty-printers.
Doug Evans [Fri, 4 Jun 2010 18:18:28 +0000 (18:18 +0000)] 
Add support for enabling/disabling individual pretty-printers.
* python/py-prettyprint.c (search_pp_list): Skip disabled printers.
* python/python-internal.h (gdbpy_enabled_cst): Declare.
* python/python.c (gdbpy_enabled_cst): Define.
(_initialize_python): Initialize gdbpy_enabled_cst.
* NEWS: Add entry.

doc/
* gdb.texinfo (Python API): New node `Disabling Pretty-Printers'.

testsuite/
* gdb.python/py-prettyprint.exp: Add new test for enabled and
disabled printers.
* gdb.python/py-prettyprint.py (disable_lookup_function): New function.
(enable_lookup_function): New function.

14 years agogdb/
Jan Kratochvil [Fri, 4 Jun 2010 16:48:02 +0000 (16:48 +0000)] 
gdb/
* breakpoint.c (update_global_location_list): Fix comment typo.

14 years ago * gdb.python/py-value.exp (test_value_hash): Don't test equality
Tom Tromey [Fri, 4 Jun 2010 16:40:15 +0000 (16:40 +0000)] 
* gdb.python/py-value.exp (test_value_hash): Don't test equality
of hash and id.

14 years agogdb/testsuite/
Jan Kratochvil [Fri, 4 Jun 2010 14:26:52 +0000 (14:26 +0000)] 
gdb/testsuite/
* gdb.base/commands.exp (add printf tbreak command): Remove trailing
newline.
* gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
(empty verbose non-noisy clear, empty verbose noisy clear)
(empty non-verbose noisy clear): Likewise.

14 years ago2010-06-04 Hui Zhu <teawater@gmail.com>
Hui Zhu [Fri, 4 Jun 2010 02:39:16 +0000 (02:39 +0000)] 
2010-06-04  Hui Zhu  <teawater@gmail.com>

* dwarf2loc.c (disassemble_dwarf_expression): Change ul to l.

14 years agodaily update
Alan Modra [Fri, 4 Jun 2010 00:00:08 +0000 (00:00 +0000)] 
daily update

14 years ago*** empty log message ***
gdbadmin [Fri, 4 Jun 2010 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

14 years ago2010-06-03 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Thu, 3 Jun 2010 23:54:18 +0000 (23:54 +0000)] 
2010-06-03  Michael Snyder  <msnyder@vmware.com>

* gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
* gdb.base/display.exp: Ditto.
* gdb.base/find.exp: Ditto.
* gdb.base/ifelse.exp: Ditto.
* gdb.base/multi-forks.exp: Ditto.
* gdb.base/recurse.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/value-double-free.exp: Ditto.
* gdb.base/watch-vfork.exp: Ditto.
* gdb.base/watch_thread_num.exp: Ditto.
* gdb.base/watchpoint-solib.exp: Ditto.
* gdb.base/watchpoint.exp: Ditto.
* gdb.base/watchpoints.exp: Ditto.

* gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
* gdb.cp/overload.exp: Ditto.
* gdb.cp/virtfunc.exp: Ditto.

* gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.

* gdb.reverse/watch-precsave.exp:
Replace gdb_test with gdb_test_no_output.

* gdb.threads/attach-into-signal.exp:
Replace gdb_test with gdb_test_no_output.
* gdb.threads/local-watch-wrong-thread.exp: Ditto.
* gdb.threads/watchthreads.exp: Ditto.
* gdb.threads/watchthreads2.exp: Ditto.

* gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
* gdb.trace/tfind.exp: Ditto.

14 years agodo not emit PASS for gdb_test_no_output test if message is empty string.
Joel Brobecker [Thu, 3 Jun 2010 20:29:27 +0000 (20:29 +0000)] 
do not emit PASS for gdb_test_no_output test if message is empty string.

This patch makes gdb_test_no_output not emit a PASS for a sucessful
test when the message is the empty string. As requested, this makes
it consistent with what gdb_test does.

2010-06-03  Joel Brobecker  <brobecker@adacore.com>

        * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
        successful test if message is the empty string.

14 years ago * gdbint.texinfo (Coding): Add subsection on command names.
Doug Evans [Thu, 3 Jun 2010 19:06:59 +0000 (19:06 +0000)] 
* gdbint.texinfo (Coding): Add subsection on command names.

14 years ago * configure.ac: Don't fail if python is unusable when
Doug Evans [Thu, 3 Jun 2010 18:58:39 +0000 (18:58 +0000)] 
* configure.ac: Don't fail if python is unusable when
configured with --with-python=auto.
* configure: Regenerate.

14 years ago PR gold/11658
Sriraman Tallam [Thu, 3 Jun 2010 18:01:19 +0000 (18:01 +0000)] 
PR gold/11658
* output.cc
(Output_section::Input_section_sort_entry::compare_section_ordering):
Change to return non-zero correctly.
(Output_section::Input_section_sort_section_order_index_compare
::operator()): Change to fix ambiguity in comparisons.

14 years ago2010-06-02 Quentin Neill <quentin.neill@amd.com>
Sebastian Pop [Thu, 3 Jun 2010 17:00:30 +0000 (17:00 +0000)] 
2010-06-02  Quentin Neill  <quentin.neill@amd.com>

* config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.

14 years agomerge from gcc
DJ Delorie [Thu, 3 Jun 2010 16:54:11 +0000 (16:54 +0000)] 
merge from gcc

14 years agoRemove redundant naming of symbol from new_symbol.
Sami Wagiaalla [Thu, 3 Jun 2010 15:39:43 +0000 (15:39 +0000)] 
Remove redundant naming of symbol from new_symbol.

2010-06-03  Sami Wagiaalla  <swagiaal@redhat.com>

* dwarf2read.c (new_symbol): Remove redundant naming of symbol.

14 years ago2010-06-02 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 3 Jun 2010 07:36:04 +0000 (07:36 +0000)] 
2010-06-02  Tristan Gingold  <gingold@adacore.com>

* as.h: Remove conditionnal definition of HAVE_STDARG_H,
USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
Remove conditionnal inclusion of stdarg.h and varargs.h.
Assume ISO C.
* config.in: Regenerate.
* configure: Regenerate.
* configure.in: Remove stdarg.h and varargs.h from
AC_CHECK_HEADERS list.
* messages.c (as_tsktsk): Remove non ISO C version.
(as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.

14 years ago * valprint.h (get_array_bounds): Change low and high parameter types
Pierre Muller [Thu, 3 Jun 2010 06:50:49 +0000 (06:50 +0000)] 
* valprint.h (get_array_bounds): Change low and high parameter types
to LONGEST *.
* valprint.c (get_array_bounds): Use get_discrete_bounds call to
compute bounds.
(val_print_array_elements): Adapt to change above.
* ada-valprint.c (print_optional_low_bound): Adapt to change above.
* p-valprint.c (pascal_val_print): Likewise.

14 years agoImport AC_CHECK_DECL for C++ fixes from git Autoconf.
Ralf Wildenhues [Thu, 3 Jun 2010 06:33:10 +0000 (06:33 +0000)] 
Import AC_CHECK_DECL for C++ fixes from git Autoconf.

config/:
Sync from GCC:
PR bootstrap/42798
* override.m4 (_AC_CHECK_DECL_BODY, _AC_CHECK_DECLS): Import
definitions from git Autoconf.

14 years agodaily update
Alan Modra [Thu, 3 Jun 2010 00:00:05 +0000 (00:00 +0000)] 
daily update

14 years ago*** empty log message ***
gdbadmin [Thu, 3 Jun 2010 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agogdb/
Jan Kratochvil [Wed, 2 Jun 2010 23:01:01 +0000 (23:01 +0000)] 
gdb/
* symfile.c (init_filename_language_table): New extensions .for, .FOR,
.ftn, .FTN, .fpp, .FPP, .f90, .F90, .f95, .F95, .f03, .F03, .f08 and
.F08.

gdb/testsuite/
* gdb.fortran/module.exp (stopped language detection): New test.

14 years agogdb/
Jan Kratochvil [Wed, 2 Jun 2010 22:41:56 +0000 (22:41 +0000)] 
gdb/
Support DW_TAG_module as separate namespaces.
* dwarf2read.c (typename_concat): New parameter physname.
(read_module_type): New function and declaration.
(scan_partial_symbols): Scan also DW_TAG_module children.
(partial_die_parent_scope): Accept scope even from DW_TAG_module. Pass
to typename_concat backward compatible physname value 0.
(partial_die_full_name, read_namespace_type): Pass to typename_concat
backward compatible physname value 0.
(add_partial_module, read_module): Remove FIXME comment.
(process_die) <DW_TAG_module>: Set PROCESSING_HAS_NAMESPACE_INFO.
(die_needs_namespace) <DW_TAG_variable>: Allow returning true even for
DIEs under DW_TAG_module.
(dwarf2_compute_name): Move the ada block for DW_AT_linkage_name and
DW_AT_MIPS_linkage_name first, extend it for language_fortran
&& physname and return there instead of just setting NAME.  Extend
the main block for language_fortran.  Pass physname parameter to the
typename_concat call.
(read_import_statement, read_func_scope, get_scope_pc_bounds)
(load_partial_dies, determine_prefix): Support also DW_TAG_module.
(new_symbol): Fill in cplus_specific.demangled_name if it is still
missing from SYMBOL_SET_NAMES in the language_fortran case.
(new_symbol) <DW_TAG_variable>: Force LOC_UNRESOLVED for gfortran module
variables.
(read_type_die) <DW_TAG_module>: New.
(MAX_SEP_LEN): Increase to 7.
(typename_concat): New parameter physname.  New variable lead.  Support
also language_fortran.
* f-exp.y (yylex): Consider : also as a symbol name character class.
* f-lang.c: Include cp-support.h.
(f_word_break_characters, f_make_symbol_completion_list): New functions.
(f_language_defn): Use cp_lookup_symbol_nonlocal,
f_word_break_characters and f_make_symbol_completion_list.
* f-typeprint.c (f_type_print_base) <TYPE_CODE_MODULE>: New.
* gdbtypes.h (enum type_code) <TYPE_CODE_MODULE>: New.
* symtab.c (symbol_init_language_specific): Support language_fortran.
(symbol_find_demangled_name): New comment on language_fortran.
(symbol_natural_name, symbol_demangled_name): Use demangled_name even
for language_fortran.
(lookup_symbol_aux_local): Check imports also for language_fortran.
(default_make_symbol_completion_list): Rename to ...
(default_make_symbol_completion_list_break_on): ... this name.  New
parameter break_on, use it.
(default_make_symbol_completion_list): New stub.
* symtab.h (default_make_symbol_completion_list_break_on): New
prototype.

gdb/testsuite/
Support DW_TAG_module as separate namespaces.
* gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
gdb.fortran/library-module-lib.f90: New.
* gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
(print i): Remove.
(continue to breakpoint: i-is-1, print var_i value 1)
(continue to breakpoint: i-is-2, print var_i value 2)
(continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
(print var_d, print var_i value 14, ptype modmany, complete `modm)
(complete `modmany, complete `modmany`, complete `modmany`var)
(show language, setting breakpoint at module): New tests.
* gdb.fortran/module.f90 (module mod): Remove.
(module mod1, module mod2, module modmany, subroutine sub1)
(subroutine sub2, program module): New.

14 years agogdb/testsuite/
Jan Kratochvil [Wed, 2 Jun 2010 22:24:15 +0000 (22:24 +0000)] 
gdb/testsuite/
* gdb.cp/anon-union.exp (pass): Rename to ...
(print z 2): ... here.

This page took 0.05961 seconds and 4 git commands to generate.