aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-07-23oops - omitted from previous deltaNick Clifton1-0/+3
2013-07-23gdb/Yao Qi5-9/+19
* i386-tdep.c (i386_in_stack_tramp_p): Remove unused parameter 'gdbarch'. (i386_stack_tramp_frame_sniffer): Caller update. * i386-linux-tdep.c (i386_linux_core_read_xcr0): Remove parameter 'gdbarch' and 'target'. (i386_linux_core_read_description): Caller update. * amd64-linux-tdep.c (amd64_linux_core_read_description): Likewise. * i386-linux-tdep.h (i386_linux_core_read_xcr0): Update declaration.
2013-07-23 * dwarf2read.c (init_cutu_and_read_dies): Revert patch fromTom Tromey2-14/+24
2013-07-22.
2013-07-23gdb/testsuite/Yao Qi2-3/+8
* gdb.mi/mi-var-cmd.exp: Adjust pattern to match current error message.
2013-07-23daily updateAlan Modra1-1/+1
2013-07-22Fix the following ChangeLog entry:Jan Kratochvil1-2/+4
2013-07-22 Doug Evans <dje@google.com> gdb/ * exec.h (remove_target_sections): Delete arg abfd. * exec.c (exec_close): Update call to remove_target_sections. (remove_target_sections): Delete arg abfd. * solib.c (update_solib_list): Ditto. (reload_shared_libraries_1): Ditto. (clear_solib): Ditto, and unconditionally call remove_target_sections. * target.h (struct target_section): Rename key to owner. All uses updated.
2013-07-222013-07-22 Doug Evans <dje@google.com>Jan Kratochvil5-19/+31
gdb/ * exec.h (remove_target_sections): Delete arg abfd. * exec.c (remove_target_sections): Delete arg abfd. (exec_close): Update call to remove_target_sections. * solib.c (update_solib_list): Ditto. (reload_shared_libraries_1): Ditto. (clear_solib): Ditto, and unconditionally call remove_target_sections.
2013-07-22merge from gccDJ Delorie1-1/+1
2013-07-22fix solib-som.cTom Tromey2-1/+7
som_open_symbol_file_object was leaking a cleanup. * solib-som.c (som_open_symbol_file_object): Call do_cleanups.
2013-07-22fix init_cutu_and_read_diesTom Tromey2-19/+19
init_cutu_and_read_dies creates an outer cleanup and uses its immediately nested inner cleanup conditionally. This seems overly complicated to me; simpler is to just deal with the outer cleanup and drop the inner one. That is what this patch implements. * dwarf2read.c (init_cutu_and_read_dies): Remove 'free_cu_cleanup'. Simplify cleanup handling.
2013-07-22fix dwarf_decode_line_headerTom Tromey2-0/+6
dwarf_decode_line_header has one return that is missing a call to do_cleanups. This patch adds it. This was found using the cleanup checker. * dwarf2read.c (dwarf_decode_line_header): Call do_cleanups on all return paths.
2013-07-22src-release: Fix VER computation for TOOL=gdbJoel Brobecker2-0/+11
Without this patch, the DATE marker in gdb/version.in does not get replaced by the source packaging date, causing the name of the tarball being created to: have the DATE marker in the tarball name and the name of the directory the sources unpack to (Eg: gdb-7.6.50-DATE-cvs.tar instead of gdb-7.6.50-20130710-cvs.tar). ChangeLog: * src-release (VER): Use $(TOOL)/common/create-version.sh if it exists.
2013-07-222013-07-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>Ulrich Weigand2-4/+21
* ppc-linux-nat.c (PPC_DEBUG_FEATURE_DATA_BP_DAWR): New define. (ppc_linux_region_ok_for_hw_watchpoint): Add checking to use the new DAWR interface for longer ranges hardware watchpoint (up to 512 bytes).
2013-07-22oops - omitted fromn previous deltaNick Clifton4-0/+12
2013-07-22 * ld-scripts/script.exp: Use run_dump_test instead ofNick Clifton2-13/+12
ld_simple_link to check the error message. * ld-scripts/align-with-input.d: New file. * ld-scripts/region-alias-1.d: Likewise. * ld-scripts/region-alias-2.d: Likewise. * ld-scripts/region-alias-3.d: Likewise. * ld-scripts/region-alias-4.d: Likewise.
2013-07-222013-07-22 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon2-1/+12
* top.c (print_gdb_version): Add help, apropos description and url to online documentation.
2013-07-222013-07-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>Kyrylo Tkachov2-1/+6
* config/tc-arm.c (s_arm_arch_extension): Improve error message for invalid extension.
2013-07-22daily updateAlan Modra1-1/+1
2013-07-21merge from gccDJ Delorie1-1/+1
2013-07-21daily updateAlan Modra1-1/+1
2013-07-20 PR ld/15762Alan Modra2-1/+8
PR ld/12761 * elflink.c (elf_link_add_object_symbols): Don't clobber .gnu.warning.symbol sections when shared.
2013-07-20daily updateAlan Modra1-1/+1
2013-07-19gold/Roland McGrath5-9/+72
* options.h (General_options): Add -Trodata-segment option. * parameters.cc (Parameters::check_rodata_segment): New function. (Parameters::set_target_once): Call it. * parameters.h (Parameters): Declare it (private member function). * layout.cc (load_seg_unusable_for_headers): New function, broken out of Layout::relaxation_loop_body. If TARGET->isolate_execinstr() then validate rodata segment rather than text segment. (relaxation_loop_body): Call that. (is_text_segment): New function. Don't admit a non-executable segment if TARGET->isolate_execinstr(). (set_segment_offsets): Call it. Honor -Trodata-segment option.
2013-07-19[AArch64, ILP32] Retire -milp32 and -mlp64; use -mabi=ilp32 and -mabi=lp64.Yufeng Zhang6-6/+77
gas/ * config/tc-aarch64.c (enum aarch64_abi_type): New enumeration tag. (AARCH64_ABI_LP64, AARCH64_ABI_ILP32): New enumerators. (aarch64_abi): New variable. (ilp32_p): Change to be a macro. (aarch64_opts): Remove the support for option -milp32 and -mlp64. (struct aarch64_option_abi_value_table): New struct. (aarch64_abis): New table. (aarch64_parse_abi): New function. (aarch64_long_opts): Add entry for -mabi=. * doc/as.texinfo (Target AArch64 options): Document -mabi. * doc/c-aarch64.texi: Likewise. gas/testsuite/ * gas/aarch64/ilp32-basic.d (#as): Update to use -mabi=ilp32
2013-07-19oops - omitted from previous deltaNick Clifton1-0/+12
2013-07-19 * elf32-rx.c (rx_elf_relocate_section): Fix typo: moveNick Clifton2-1/+6
saw_subtract from R_RX_OPdiv to R_RX_OPneg.
2013-07-19 PR binutils/15745Nick Clifton2-7/+13
* readelf.c (get_unwind_section_word): Whilst searching for a reloc section associated with an unwind section, check the type as well as the section number.
2013-07-19 * ldgram.y: Add ALIGN_WITH_INPUT output section attribute.Nick Clifton12-32/+79
* ldlang.c: Likewise. * ldlang.h: Likewise. * ldlex.l: Likewise. * mri.c: Likewise. * ld.texinfo: Document new feature. * NEWS: Mention new feature. * ld-scripts/script.exp: Run align with input test. * ld-scripts/align-with-input.t: New file. * ld-scripts/rgn-at8.d: Likewise. * ld-scripts/rgn-at8.t: Likewise.
2013-07-19gdb/testsuite/gdb.base: Enable disp-step-syscall.exp tests for ARM.Will Newton2-0/+7
disp-step-syscall.exp is not run for ARM targets because ARM syscall instructions have not been added to the list of possible syscall instructions. This patch adds ARM syscall instructions to enable disp-step-syscall.exp tests for ARM targets. Attached patch is tested on ARMv7 and helps pass all disp-step-syscall.exp tests for ARM targets. gdb/testsuite/ChangeLog: 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org> * gdb.base/disp-step-syscall.exp: Add svc and swi syscall instructions and enable disp-step-syscall for arm targets.
2013-07-19gdb/testsuite/gdb.dwarf2: Replace @ with % for ARM compatability.Will Newton5-20/+28
The ARM assembler recognises @ symbol as a comment marker and therefore is unable to assemble some of gdb.dwarf2 testsuite tests. This patch replaces all occurrences of @ symbol with % sign to allow tests stay compatible with both ARM and x86 assembly. This patch has been tested on x86_64 and ARMv7 targets. gdb/testsuite/ChangeLog: 2013-07-19 Omair Javaid <Omair.Javaid@linaro.org> * gdb.dwarf2/fission-reread.S: Replace @ sign with % sign to remove assembler errors on arm. * gdb.dwarf2/mac-fileno.S: Likewise. * gdb.dwarf2/member-ptr-forwardref.S: Likewise. * gdb.dwarf2/pr13961.S: Likewise.
2013-07-192013-07-19 Hui Zhu <hui@codesourcery.com>Hui Zhu4-3/+22
PR gdb/15692 * mi/mi-cmd-break.c (mi_argv_to_format): Handle double quotes. 2013-07-19 Hui Zhu <hui@codesourcery.com> PR gdb/15692 * gdb.mi/mi-dprintf.exp: Add double quotes test.
2013-07-19daily updateAlan Modra1-1/+1
2013-07-18gdb/Yao Qi6-12/+32
* target.c (update_current_target): Change the default action of 'to_traceframe_info' from tcomplain to return_zero. * target.h (struct target_ops) <to_traceframe_info>: Add more comments. * valops.c (read_value_memory): Call traceframe_available_memory unconditionally. gdb/testsuite/ * gdb.trace/read-memory.exp (test_from_remote): Update test. (teset_from_exec): Likewise.
2013-07-18gdb/testsuite/Yao Qi3-0/+213
* gdb.trace/read-memory.c: New. * gdb.trace/read-memory.exp: New.
2013-07-18gdb/testsuite/Yao Qi2-2/+22
* lib/gdb.exp (gdb_compile_shlib): Pass the tail name of $dest to link options if host is remote. Move the generated file to $dest.a on host if host is remote.
2013-07-18 * ar.c (usage): Fix C conformance issue.Nick Clifton4-3/+12
* config/tc-i386-intel.c (i386_intel_operand): Fixed signed vs unsigned comparison.
2013-07-18gdb/testsuite/gdb.threads: Ensure TLS tests link against pthreads.Will Newton4-0/+18
On Ubuntu by default the compiler passes --as-needed to ld which means no DT_NEEDED entry is added for libpthread when building the TLS tests. This causes the test to fail as libpthread is required to look up TLS variables. Add calls to pthread_testcancel to make sure libpthread gets linked. gdb/testsuite/ChangeLog: 2013-07-18 Will Newton <will.newton@linaro.org> * gdb.threads/tls-nodebug.c: Call pthread_testcancel to ensure the test is linked against pthreads. * gdb.threads/tls-var-main.c: Likewise. * gdb.threads/tls-shared.c: Likewise.
2013-07-18 * doc/binutils.texi (nm, objdump): Remove bogus links to STABSNick Clifton2-8/+3
documentation.
2013-07-18 PR ld/15721Nick Clifton2-12/+21
* elf32-msp430.c (R_MSP430_10_PCREL): Use 10-bit source and destination masks. * R_MSP430_2X_PCREL: Likewise. * R_MSP430X_10_PCREL: Likewise. * R_MSP430X_2X_PCREL: Likewise.
2013-07-18 PR binutils/15728Nick Clifton2-6/+15
* basic-ops.h: (SUBWORDSIQI) Make declaration static. * (SUBWORDSIHI): Likewise. * (SUBWORDDIQI): Likewise. * (SUBWORDDIHI): Likewise. * (SUBWORDDISI): Likewise.
2013-07-18 * config/rx-defs.h: Add macros for RX100, RX200, RX600, andNick Clifton5-14/+66
RX610. * config/rx-parse.y: (rx_check_float_support): Add function to check floating point operation support for target RX100 and RX200. * config/tc-rx.c: Add CPU options RX100, RX200, RX600, and RX610. * doc/c-rx.texi: Add -mcpu option to recognize macros for RX100, RX200, RX600, and RX610
2013-07-18 * elf32-arm.c (arm_type_of_stub): Don't use ST_BRANCH_TO_ARM forNick Clifton5-2/+27
thumb only targets. (elf32_arm_final_link_relocate): Likewise. * ld-arm/thumb-b-lks-sym.d: Updated to be more flexible. * ld-arm/thumb-bl-lks-sym.d: Likewise.
2013-07-18 * config/tc-avr.c (md_show_usage): Add avrxmega2 to help textNick Clifton2-0/+5
2013-07-18 * config/tc-avr.c: Make ata6289's ISA to AVR_ISA_AVR4.Nick Clifton3-3/+8
* doc/c-avr.texi: Likewise.
2013-07-18 * mach-o.c (mach_o_section_name_xlat dw): Add entry forNick Clifton2-0/+8
.debug_gdb_scripts
2013-07-18 * elf32-arm.c (elf32_arm_stub_long_branch_arm_nacl): New variable.Nick Clifton11-195/+360
(elf32_arm_stub_long_branch_arm_nacl_pic): New variable. (arm_build_one_stub): Increase MAXRELOCS to 3. (arm_type_of_stub): Use them if GLOBALS->nacl_p. (struct elf32_arm_link_hash_table): Give add_stub_section member's pointee type a third argument. (elf32_arm_create_or_find_stub_sec): Update caller. (elf32_arm_size_stubs): Update argument type. * bfd-in.h (elf32_arm_size_stubs): Update decl. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * emultempl/armelf.em (elf32_arm_add_stub_section): Take third argument ALIGNMENT_POWER, use it instead of constant 3. * ld-arm/farcall-arm-nacl.d: New file. * ld-arm/farcall-arm-nacl-pic.d: New file. * ld-arm/farcall-data-nacl.d: New file. * ld-arm/arm-elf.exp (armeabitests_common): Add extra element to "action" lists for those cases to use a different dump file for NaCl targets. Massage $armeabitests_common to drop the extra element or the one before it, depending on [istarget "arm*-*-nacl*"]. * ld-arm/arm-elf.exp (armelftests_common): Move all "Cortex-A8 erratum fix", Thumb-only and interworking cases to ... (armelftests_nonacl): ... here. (armeabitests_common): Move all "erratum 760522 fix", Thumb-only and interworking cases to ... (armeabitests_nonacl): ... here.
2013-07-18 * readelf.c (process_unwind): Do not return the result of a voidNick Clifton2-1/+9
function.
2013-07-18gdb/testsuite/Yao Qi2-4/+10
* lib/future.exp (gdb_default_target_compile): Use tail name of $destfile as the output name of compile. Move the generated file to $destfile on build.
2013-07-18gdb/testsuite/Yao Qi2-3/+13
* lib/gdb.exp (gdb_compile): Set gdb_saved_set_unbuffered_mode_obj to set_unbuffered_mode_saved.o if host is remote. Invoke remote_download to copy $unbuf_obj to host.
2013-07-18gdb/Yao Qi1-0/+7
Commit the changelog change for my previous commit.