binutils-gdb.git
14 years agodaily update
Alan Modra [Mon, 14 Jun 2010 00:00:10 +0000 (00:00 +0000)]
daily update

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

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

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

14 years ago2010-06-11 Stan Shebs <stan@codesourcery.com>
Stan Shebs [Sat, 12 Jun 2010 00:05:22 +0000 (00:05 +0000)]
2010-06-11  Stan Shebs  <stan@codesourcery.com>

Add per-operation permission flags.

* target.h (struct target_ops): New method to_set_permissions.
(target_set_permissions): New macro.
(target_insert_breakpoint): Change macro to function.
(target_remove_breakpoint): Ditto.
(target_stop): Ditto.
(may_write_registers): Declare.
(may_write_memory): Declare.
(may_insert_breakpoints): Declare.
(may_insert_tracepoints): Declare.
(may_insert_fast_tracepoints): Declare.
(may_stop): Declare.
* target.c (may_write_registers, may_write_registers_1): New globals.
(may_write_memory, may_write_memory_1): New globals.
(may_insert_breakpoints, may_insert_breakpoints_1): New globals.
(may_insert_tracepoints, may_insert_tracepoints_1): New globals.
(may_insert_fast_tracepoints, may_insert_fast_tracepoints_1): New
globals.
(may_stop, may_stop_1): New global.
(target_xfer_partial): Test for write permission.
(target_store_registers): Ditto.
(target_insert_breakpoint): New function.
(target_remove_breakpoint): New function.
(target_stop): New function.
(_initialize_targets): Add new set/show variables.
(set_write_memory_permission): New function.
(update_target_permissions): New function.
(set_target_permissions): New function.
(update_current_target): Default to_set_permissions.
(_initialize_targets): Use new globals and setter function.
* tracepoint.c (start_tracing): Test for permission.
* inferior.h (update_observer_mode): Declare.
* infrun.c (non_stop_1): Define earlier.
(observer_mode, observer_mode_1): New globals.
(set_observer_mode, show_observer_mode): New functions.
(update_observer_mode): New function.
(_initialize_infrun): Define "set observer" command.
* remote.c (PACKET_QAllow): New optional packet.
(remote_protocol_features): Add QAllow.
(remote_set_permissions): New function.
(remote_start_remote): Call it.
(init_remote_ops): Add it to target vector.
(_initialize_remote): Add config command for QAllow.

* gdb.texinfo (Observer Mode): New section.
(General Query Packets): Document QAllow.

* gdb.base/permissions.exp: New file.

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

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

14 years ago * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
Ulrich Weigand [Fri, 11 Jun 2010 23:27:22 +0000 (23:27 +0000)]
* gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
does not support ELF executable class.

14 years ago * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
Ulrich Weigand [Fri, 11 Jun 2010 23:25:59 +0000 (23:25 +0000)]
* gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.

14 years agogdb/testsuite/
Jan Kratochvil [Fri, 11 Jun 2010 21:58:20 +0000 (21:58 +0000)]
gdb/testsuite/
* lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
(runto): Catch "The target does not support running in non-stop mode.".

14 years agobfd/
Jan Kratochvil [Fri, 11 Jun 2010 21:12:11 +0000 (21:12 +0000)]
bfd/
* vms-alpha.c (_bfd_vms_write_egsd): Make sname const.

14 years ago2010-06-11 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 11 Jun 2010 20:56:06 +0000 (20:56 +0000)]
2010-06-11  Michael Snyder  <msnyder@vmware.com>

* gdb.base/setshow.exp (set language asm): Don't use
gdb_test_no_output, fails on some targets.

14 years ago * dwarf2read.c (dwarf2_add_member_fn): Handle correct form of
Tom Tromey [Fri, 11 Jun 2010 20:01:06 +0000 (20:01 +0000)]
* dwarf2read.c (dwarf2_add_member_fn): Handle correct form of
DW_AT_vtable_elem_location even when GCC extension is seen.

14 years agoCast to unsigned long for 0x%lx.
H.J. Lu [Fri, 11 Jun 2010 18:52:30 +0000 (18:52 +0000)]
Cast to unsigned long for 0x%lx.

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

* readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
for 0x%lx.

14 years ago * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
Ulrich Weigand [Fri, 11 Jun 2010 17:35:28 +0000 (17:35 +0000)]
* gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
* gdb.cp/pr9167.exp: Likewise.

14 years ago * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
Ulrich Weigand [Fri, 11 Jun 2010 17:34:56 +0000 (17:34 +0000)]
* gdb.python/py-breakpoint.exp: Handle software watchpoints as well.

14 years ago * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
Ulrich Weigand [Fri, 11 Jun 2010 17:34:12 +0000 (17:34 +0000)]
* gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.

14 years ago * gdb.base/charset.c (main): Make sure malloc gets linked in.
Ulrich Weigand [Fri, 11 Jun 2010 17:33:19 +0000 (17:33 +0000)]
* gdb.base/charset.c (main): Make sure malloc gets linked in.

14 years agoinclude/elf
Tristan Gingold [Fri, 11 Jun 2010 15:57:46 +0000 (15:57 +0000)]
include/elf
2010-06-11  Tristan Gingold  <gingold@adacore.com>

* ia64.h (EF_IA_64_VMS_COMCOD, EF_IA_64_VMS_COMCOD_SUCCESS)
(EF_IA_64_VMS_COMCOD_WARNING, EF_IA_64_VMS_COMCOD_ERROR)
(EF_IA_64_VMS_COMCOD_ABORT, EF_IA_64_VMS_LINKAGES): Define.
(VMS_LF_CALL_DEBUG, VMS_LF_NOP0BUFS, VMS_LF_P0IMAGE)
(VMS_LF_MKTHREADS, VMS_LF_UPCALLS, VMS_LF_IMGSTA)
(VMS_LF_INITIALIZE, VMS_LF_MAIN, VMS_LF_EXE_INIT)
(VMS_LF_TBK_IN_IMG, VMS_LF_DBG_IN_IMG, VMS_LF_TBK_IN_DSF)
(VMS_LF_DBG_IN_DSF, VMS_LF_SIGNATURES, VMS_LF_REL_SEG_OFF): Define.
(VMS_STO_VISIBILITY, VMS_ST_VISIBILITY, VMS_STO_FUNC_TYPE)
(VMS_ST_FUNC_TYPE, VMS_SFT_CODE_ADDR, VMS_SFT_SYMV_IDX)
(VMS_SFT_FD, VMS_SFT_RESERVE, VMS_STO_LINKAGE, VMS_ST_LINKAGE)
(VMS_STL_IGNORE, VMS_STL_RESERVE, VMS_STL_STD, VMS_STL_LNK): Define.
(Elf64_External_VMS_IMAGE_FIXUP): New declaration.
(Elf64_External_VMS_IMAGE_RELA): Ditto.
(R_IA64_VMS_DIR8, R_IA64_VMS_DIR16LSB, R_IA64_VMS_CALL_SIGNATURE)
(R_IA64_VMS_EXECLET_FUNC, R_IA64_VMS_EXECLET_DATA, R_IA64_VMS_FIX8)
(R_IA64_VMS_FIX16, R_IA64_VMS_FIX32, R_IA64_VMS_FIX64)
(R_IA64_VMS_FIXFD, R_IA64_VMS_ACC_LOAD, R_IA64_VMS_ACC_ADD)
(R_IA64_VMS_ACC_SUB, R_IA64_VMS_ACC_MUL, R_IA64_VMS_ACC_DIV)
(R_IA64_VMS_ACC_AND, R_IA64_VMS_ACC_IOR, R_IA64_VMS_ACC_EOR)
(R_IA64_VMS_ACC_ASH, R_IA64_VMS_ACC_STO8, R_IA64_VMS_ACC_STO16LSH)
(R_IA64_VMS_ACC_STO32LSH, R_IA64_VMS_ACC_STO64LSH): New.

binutils/
2010-06-11  Tristan Gingold  <gingold@adacore.com>
    Doug Rupp <rupp@gnat.com>

* readelf.c (is_ia64_vms): New function.
(dump_relocations): Use it.
(get_machine_flags): Display IA-64 OpenVMS flags.
(process_program_headers): No error on OpenVMS if no .dynamic section.
(struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
declarations.
(dump_ia64_vms_dynamic_fixups): New function.
(dump_ia64_vms_dynamic_relocs): Ditto.
(process_ia64_vms_dynamic_relocs): Ditto.
(process_relocs): Handle IA-64 OpenVMS relocs.
(VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
(print_vms_time): New function.
(dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
DT_IA_64_VMS_LNKFLAGS.
(get_ia64_symbol_other): New function.
(get_symbol_other): Handle EM_IA_64.

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.