aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-11-23 * pex-unix.c (pex_child_error): Improve warning avoidance byBen Elliston2-2/+11
checking the results of write(3) and exiting with -2 if any write returns a negative value.
2009-11-23 * cgen-engine.h (EXTRACT_MSB0_LGSINT, EXTRACT_MSB0_LGUINT): Define.Doug Evans43-957/+1072
(EXTRACT_LSB0_LGSINT, EXTRACT_LSB0_LGUINT): Define. (EXTRACT_FN, SEMANTIC_FN): Use CGEN_INSN_WORD in prototype instead of CGEN_INSN_INT. plus, cgen files: Regenerate.
2009-11-23 * cgen.h: Include bfd_stdint.h.Doug Evans2-0/+11
(CGEN_INSN_LGSINT, CGEN_INSN_LGUINT): New types.
2009-11-23*** empty log message ***gdbadmin1-1/+1
2009-11-22daily updateAlan Modra1-1/+1
2009-11-22 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)Pedro Alves2-3/+13
(do_syscall_tests_without_xml): Set data-directory to /the/path/to/nowhere.
2009-11-22 * cgen-trace.h (trace_extract): Add cast to fix warning.Doug Evans2-1/+5
2009-11-22merge from gccDJ Delorie2-1/+5
2009-11-22 Make hardware breakpoints work for process repord.Pedro Alves2-22/+39
* record.c (record_wait): Only adjust PC on software breakpoints hits.
2009-11-22 Make hardware watchpoints work for process record.Pedro Alves4-9/+136
* breakpoint.c (hardware_watchpoint_inserted_in_range): New. * breakpoint.h (hardware_watchpoint_inserted_in_range): Declare. * record.c (record_beneath_to_stopped_by_watchpoint) (record_beneath_to_stopped_data_address, record_hw_watchpoint): New globals. (record_exec_insn): Check for watchpoint hits. (tmp_to_stopped_by_watchpoint, tmp_to_stopped_data_address): New globals. (record_open): Set tmp_to_stopped_by_watchpoint, tmp_to_stopped_data_address, record_beneath_to_stopped_by_watchpoint and record_beneath_to_stopped_data_address. (record_wait): Report watchpoint hits to the core. Update and extend comments. (record_stopped_by_watchpoint): New. (record_stopped_data_address): New. (init_record_ops): Install them. (init_record_core_ops): Ditto.
2009-11-22*** empty log message ***gdbadmin1-1/+1
2009-11-21daily updateAlan Modra1-1/+1
2009-11-21 * breakpoint.c (update_watchpoint): Skip creating locations andPedro Alves2-53/+117
reading the selected frame if there's no execution. (bpstat_stop_status): Use is_hardware_watchpoint. If not stopping, update watchpoints and the global location list, instead of removing and inserting all breakpoints. (breakpoint_address_is_meaningful): Hardware watchpoints also have a meaningful target address. (watchpoint_locations_match): New. (breakpoint_locations_match): New. (watch_command_1): Create the watchpoint breakpoint without any location initially. Use update_watchpoint to create the watchpoint locations. (update_global_location_list): Use breakpoint_locations_match, so watchpoint locations are handled too. Also detect duplicate watchpoint locations.
2009-11-21 gdb/Pedro Alves6-2/+267
* breakpoint.h (struct breakpoint) <watchpoint_thread>: New field. * breakpoint.c (watchpoint_in_thread_scope): New. (update_watchpoint): Skip if the local watchpoint's thread doesn't match the current thread, or if the current thread is running. (watchpoint_check): Ditto. (watch_command_1): Set the watchpoint's watchpoint_thread field. gdb/testsuite/ * gdb.threads/local-watch-wrong-thread.c, gdb.threads/local-watch-wrong-thread.exp: New files.
2009-11-21 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don'tPedro Alves2-2/+7
assume new `regsub' syntax available.
2009-11-21*** empty log message ***gdbadmin1-1/+1
2009-11-20daily updateAlan Modra1-1/+1
2009-11-20gdb/Jan Kratochvil2-14/+12
* breakpoint.c (bp_location_compare): Change parameter a to ap and b to bp. New variables a and b. (bp_location_compare_for_qsort): Remove. (update_global_location_list): Use now bp_location_compare.
2009-11-20gdb/Jan Kratochvil9-8/+221
Fix repeated rwatch output. * amd64-linux-nat.c (amd64_linux_dr_set, amd64_linux_dr_set_control) (amd64_linux_dr_set_addr, amd64_linux_dr_reset_addr) (amd64_linux_dr_get_status): New comments. (amd64_linux_dr_unset_status): New function. (_initialize_amd64_linux_nat): Install it. * i386-linux-nat.c (i386_linux_dr_get, i386_linux_dr_set) (i386_linux_dr_set_control, i386_linux_dr_set_addr) (i386_linux_dr_reset_addr, i386_linux_dr_get_status): New comments. (i386_linux_dr_unset_status): New function. (_initialize_i386_linux_nat): Install it. * i386-nat.c (I386_DR_WATCH_MASK): New macro. (I386_DR_WATCH_HIT): Use I386_DR_WATCH_MASK. (i386_insert_aligned_watchpoint): Call i386_dr_low.unset_status. * i386-nat.h (struct i386_dr_low_type): Extend comments for set_control, set_addr, reset_addr and get_status. New unset_status. * breakpoint.c (update_watchpoint): Extend the comment. gdb/testsuite/ * gdb.base/watchpoint-hw-hit-once.exp, gdb.base/watchpoint-hw-hit-once.c: New.
2009-11-20gdb/Pedro Alves6-2/+584
2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com> Pedro Alves <pedro@codesourcery.com> Fix reordered watchpoints triggered in other threads during all-stop. * linux-nat.c (resume_callback, linux_nat_resume): Clear stopped_by_watchpoint. (save_sigtrap, linux_nat_stopped_by_watchpoint) (linux_nat_stopped_data_address): New. (stop_wait_callback, linux_nat_filter_event): Call save_sigtrap. (linux_nat_add_target): Install linux_nat_stopped_by_watchpoint and linux_nat_stopped_data_address. * linux-nat.h (struct lwp_info): New fields stopped_by_watchpoint, stopped_data_address_p and stopped_data_address. gdb/testsuite/ 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com> * gdb.base/watchthreads-reorder.exp, gdb.base/watchthreads-reorder.c: New.
2009-11-202009-10-25 Michael Snyder <msnyder@vmware.com>Michael Snyder7-3/+449
* target.h (struct target_ops): New methods to_get_bookmark and to_goto_bookmark. (target_get_bookmark): New macro. (target_goto_bookmark): New macro. * target.c (dummy_get_bookmark): New function, default implementation. (dummy_goto_bookmark): New function, default implementation. (update_current_target): Inherit new methods. * record.c (record_get_bookmark): New function. (record_goto_bookmark): New function. (init_record_ops): Set to_get_bookmark and to_goto_bookmark methods. * reverse.c (struct bookmark): New type. (save_bookmark_command): New function (command). (delete_bookmark_command): New function (command). (goto_bookmark_command): New function (command). (bookmarks_info): New function (command). (_initialize_reverse): Add new bookmark commands. * command.h (enum command_class): Add class_bookmark. * NEWS: Mention bookmark commands.
2009-11-20 * readelf.c: Include xc16x.h.Nick Clifton2-1/+24
(dump_relocations): Handle relocations for the xc16x target. (get_machine_name): Accept EM_C166 for xc16x targets. (is_32bit_abs_reloc): Add support for xc16c 32-bit absolute reloc. (is_16bit_abs_reloc): Add support for xc16c 16-bit absolute reloc. (is_none_reloc): Add support for xc16c null reloc.
2009-11-20ld/Thomas Schwinge18-71/+87
2009-11-20 Thomas Schwinge <thomas@codesourcery.com> * emulparams/armelf.sh (OTHER_READONLY_SECTIONS) <__exidx_start, __exidx_end>: Use PROVIDE_HIDDEN. * emulparams/armelf_linux_eabi.sh (OTHER_READONLY_SECTIONS) <__exidx_start, __exidx_end>: Likewise. * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS) <.ARM.exidx$$Base, __exidx_start, __exidx_end, .ARM.exidx$$Limit>: Likewise. ld/testsuite/ 2009-11-20 Thomas Schwinge <thomas@codesourcery.com> * ld-arm/arm-dyn.ld: Adapt to main linker script changes. * ld-arm/arm-lib.ld: Likewise. * ld-arm/armthumb-lib.sym: : Adjust expected results. * ld-arm/farcall-mixed-app-v5.d: Likewise. * ld-arm/farcall-mixed-app.d: Likewise. * ld-arm/farcall-mixed-app.sym: Likewise. * ld-arm/farcall-mixed-lib.d: Likewise. * ld-arm/mixed-app-v5.d: Likewise. * ld-arm/mixed-app.d: Likewise. * ld-arm/mixed-app.sym: Likewise. * ld-arm/mixed-lib.sym: Likewise. * ld-arm/preempt-app.sym: Likewise. * ld-arm/tls-app.d: Likewise.
2009-11-20 * breakpoint.c (update_global_location_list): Fix duplicatePedro Alves2-19/+37
locations detection.
2009-11-20 * infrun.c (handle_inferior_event): Hardware hatchpoint traps arePedro Alves3-13/+73
never random signals. * breakpoint.c (update_global_location_list): Always delete immediately delete hardware watchpoint locations and other locations whose target address isn't meaningful. Update comment explaining the hazard of moribund locations.
2009-11-20sync config with gcc:Paolo Bonzini2-1/+5
2009-10-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * acx.m4 (ACX_CHECK_CYGWIN_CAT_WORKS): Use = with test.
2009-11-202009-11-20 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini3-12/+23
* config.guess: Sync with upstream and gcc. * config.sub: Sync with upstream and gcc.
2009-11-20 * Makefile.am (syslex.o): Use $(NO_WERROR) not -Wno-error.Ben Elliston3-8/+14
(sysinfo.o): Likewise. * Makefile.in: Regenerate.
2009-11-20*** empty log message ***gdbadmin1-1/+1
2009-11-19daily updateAlan Modra1-1/+1
2009-11-19 * ada-lang.c (discrete_type_p): TYPE_CODE_BOOL is also a discrete type.Joel Brobecker2-0/+5
2009-11-19 * completer.c (complete_line_internal): Make sure the commandJoel Brobecker2-2/+7
completer is not NULL before calling it.
2009-11-19 * ada-lang.c (packed_array_type): Rename to...Joel Brobecker5-54/+138
(constrained_packed_array_type): ...and update comment. (decode_packed_array, decode_constrained_packed_array): Ditto. (decode_packed_array_type, decode_constrained_packed_array_type): Ditto. (ada_is_constrained_packed_array_type): New function. (ada_is_unconstrained_packed_array_type): New function. (decode_packed_array_bitsize): New function, extracted from decode_packed_array_type. (ada_type_of_array): Add support for unconstrained packed arrays. (ada_coerce_to_simple_array_ptr, ada_coerce_to_simple_array) (ada_array_bound_from_type, ada_array_bound, ada_array_length) (ada_prefer_type, to_fixed_array_type, ada_evaluate_subexp): Resync. * ada-lang.h (ada_is_packed_array_type, ada_is_constrained_packed_array_type): Renaming. * ada-valprint.c (ada_val_print_1): Resync. * ada-typeprint.c (print_array_type, ada_print_type): Resync.
2009-11-19 Wrong function used to perform address addition/subtraction.Joel Brobecker2-8/+10
* ada-lang.c (ada_type_match): Stop making TYPE_CODE_VOID a wildcard matching any type. For types that we don't already handle specifically, make sure that both types have the same code.
2009-11-19 * ada-lang.c (ada_decode): Add handling of "TB" suffixes forJoel Brobecker2-0/+12
task bodies.
2009-11-19 * ada-lang.c (ada_remove_Xbn_suffix): New function.Joel Brobecker2-5/+38
(find_old_style_renaming_symbol): Add handling for function suffixes present in the name of various procedures. Do not overwrite the function symbol's name.
2009-11-19 * pex-unix.c (pex_child_error): Define writeerr macro to avoidBen Elliston2-1/+8
unused result warnings from write(3) calls. Undefine writeerr after all uses.
2009-11-19 * breakpoint.c (breakpoint_address_bits): Visit all locations'Pedro Alves2-1/+6
gdbarchs, not the breakpoint's gdbarch.
2009-11-19Allow lock on cmpxch16b.H.J. Lu7-2/+19
gas/testsuite/ 2009-11-19 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/lock-1.s: Add cmpxchg16b test. * gas/i386/lock-1-intel.d: Updated. * gas/i386/lock-1.d: Likewise. opcodes/ 2009-11-19 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.tbl: Add IsLockable to cmpxch16b. * i386-tbl.h: Regenerated.
2009-11-19 PR binutils/10924Nick Clifton9-36/+68
* gas/arm/arch4t-eabi.d: Restore previous expected dissambly of instructions using Immediate Offset addressing with an offset of zero. * gas/arm/arch4t.d: Likewise. * gas/arm/arm7t.d: Likewise. * gas/arm/xscale.d: Likewise. * gas/arm/wince-inst.d: Remove 'p' suffix from cmp, cmn, teq and tst instructions. PR binutils/10924 * arm-dis.c (print_insn_arm): Do not print an offset of zero when decoding Immediaate Offset addressing.
2009-11-192009-11-19 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-32/+40
* coff-rs6000.c (rs6000coff_vec): Use generic routines instead of hard-coded casts. (pmac_xcoff_vec): Ditto. * coff64-rs6000.c (rs6000coff64_vec): Ditto. (aix5coff64_vec): Ditto.
2009-11-19gas/Jan Beulich2-0/+6
2009-11-19 Jan Beulich <jbeulich@novell.com> * read.c (pseudo_set): Also call copy_symbol_attributes() for undefined target symbol.
2009-11-192009-11-18 Sebastian Pop <sebastian.pop@amd.com>Sebastian Pop4-93/+107
opcodes/ PR binutils/10973 * i386-dis.c (get_vex_imm8): Do not increment codep. Avoid incrementing bytes_before_imm when OP_E_memory has already forwarded the codep pointer. (OP_EX_VexW): Increment codep to skip mod/rm byte. gas/testsuite/ * gas/i386/x86-64-xop.d: Update patterns.
2009-11-19 PR ld/9863Alan Modra2-1/+7
* emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE with __data_start.
2009-11-19binutils/Ben Elliston5-1/+16
* arlex.l: Enable noinput, nounput flex options. * syslex.l: Likewise. ld/ * ldlex.l: Enable nounput flex option.
2009-11-19*** empty log message ***gdbadmin1-1/+1
2009-11-18daily updateAlan Modra1-1/+1
2009-11-18 * cli/cli-script.c (process_next_line): Recognize 'end'Vladimir Prus2-10/+21
even when the line has leading space and we're not parsing commands.
2009-11-182009-11-18 Sebastian Pop <sebastian.pop@amd.com>Sebastian Pop16-2871/+2507
gas/ * config/tc-i386.c (cpu_arch): Remove cvt16. (md_show_usage): Same. * doc/c-i386.texi: Same. gas/testsuite/ * gas/i386/cvt16.d: Removed. * gas/i386/cvt16.s: Removed. * gas/i386/x86-64-cvt16.d: Removed. * gas/i386/x86-64-cvt16.s: Removed. * gas/i386/i386.exp: Remove cvt16 and x86-64-cvt16 tests. opcodes/ * i386-dis.c (VEX_LEN_XOP_08_A0): Removed. (VEX_LEN_XOP_08_A1): Removed. (xop_table): Remove entries for VEX_LEN_XOP_08_A0 and VEX_LEN_XOP_08_A1. (vex_len_table): Same. * i386-gen.c (CPU_CVT16_FLAGS): Removed. (cpu_flags): Remove field for CpuCVT16. * i386-opc.h (CpuCVT16): Removed. (i386_cpu_flags): Remove bitfield cpucvt16. (i386-opc.tbl): Remove CVT16 instructions. * i386-init.h: Regenerated. * i386-tbl.h: Regenerated.
2009-11-18Remove suffix on fxsave.H.J. Lu2-9/+13
2009-11-18 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/rex.d: Remove suffix on fxsave.