summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* daily updateAlan Modra2013-07-231-1/+1
|
* Fix the following ChangeLog entry:Jan Kratochvil2013-07-221-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-22 Doug Evans <dje@google.com>Jan Kratochvil2013-07-225-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.
* merge from gccDJ Delorie2013-07-221-1/+1
|
* fix solib-som.cTom Tromey2013-07-222-1/+7
| | | | | | som_open_symbol_file_object was leaking a cleanup. * solib-som.c (som_open_symbol_file_object): Call do_cleanups.
* fix init_cutu_and_read_diesTom Tromey2013-07-222-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.
* fix dwarf_decode_line_headerTom Tromey2013-07-222-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.
* src-release: Fix VER computation for TOOL=gdbJoel Brobecker2013-07-222-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-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>Ulrich Weigand2013-07-222-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-22 Phil Muldoon <pmuldoon@redhat.com>pmuldoon2013-07-222-1/+12
| | | | | * top.c (print_gdb_version): Add help, apropos description and url to online documentation.
* daily updateAlan Modra2013-07-221-1/+1
|
* merge from gccDJ Delorie2013-07-211-1/+1
|
* daily updateAlan Modra2013-07-211-1/+1
|
* PR ld/15762Alan Modra2013-07-202-1/+8
| | | | | | PR ld/12761 * elflink.c (elf_link_add_object_symbols): Don't clobber .gnu.warning.symbol sections when shared.
* daily updateAlan Modra2013-07-201-1/+1
|
* * elf32-rx.c (rx_elf_relocate_section): Fix typo: moveNick Clifton2013-07-192-1/+6
| | | | saw_subtract from R_RX_OPdiv to R_RX_OPneg.
* gdb/testsuite/gdb.base: Enable disp-step-syscall.exp tests for ARM.willnewton2013-07-192-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.
* gdb/testsuite/gdb.dwarf2: Replace @ with % for ARM compatability.willnewton2013-07-195-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-19 Hui Zhu <hui@codesourcery.com>Hui Zhu2013-07-194-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.
* daily updateAlan Modra2013-07-191-1/+1
|
* gdb/qiyao2013-07-186-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.
* gdb/testsuite/qiyao2013-07-183-0/+213
| | | | | * gdb.trace/read-memory.c: New. * gdb.trace/read-memory.exp: New.
* gdb/testsuite/qiyao2013-07-182-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.
* gdb/testsuite/gdb.threads: Ensure TLS tests link against pthreads.willnewton2013-07-184-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.
* PR ld/15721Nick Clifton2013-07-182-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.
* PR binutils/15728Nick Clifton2013-07-182-6/+15
| | | | | | | | * basic-ops.h: (SUBWORDSIQI) Make declaration static. * (SUBWORDSIHI): Likewise. * (SUBWORDDIQI): Likewise. * (SUBWORDDIHI): Likewise. * (SUBWORDDISI): Likewise.
* * elf32-arm.c (arm_type_of_stub): Don't use ST_BRANCH_TO_ARM forNick Clifton2013-07-182-0/+20
| | | | | | | | 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.
* * mach-o.c (mach_o_section_name_xlat dw): Add entry forNick Clifton2013-07-182-0/+8
| | | | .debug_gdb_scripts
* * elf32-arm.c (elf32_arm_stub_long_branch_arm_nacl): New variable.Nick Clifton2013-07-184-18/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* gdb/testsuite/qiyao2013-07-182-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.
* gdb/testsuite/qiyao2013-07-182-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.
* gdb/qiyao2013-07-181-0/+7
| | | | Commit the changelog change for my previous commit.
* gdb/qiyao2013-07-181-0/+29
| | | | | | | * coffread.c (coff_symfile_read): Iterate over minimal symbols, if the name is prefixed by "__imp_" or "_imp_", look for minimal symbol without prefix. If found, set its type to 'mst_solib_trampoline'.
* daily updateAlan Modra2013-07-181-1/+1
|
* * NEWS: Mention "set print raw frame-arguments".Doug Evans2013-07-1712-2/+289
| | | | | | | | | | | | | | | | | | | * gdbcmd.h (setprintrawlist, showprintrawlist): Declare. * stack.c (print_raw_frame_arguments): New static global. (print_frame_arg): Set opts.raw from print_raw_frame_arguments. (_initialize_stack): New command "set/show print raw frame-arguments". * valprint.c (setprintrawlist, showprintrawlist): New globals. (set_print_raw, show_print_raw): New functions. (_initialize_valprint): New prefix command "set/show print raw". * valprint.h (value_print_options): Improve comments. doc/ * gdb.texinfo (Print Settings): Document "print raw frame-arguments". testsuite/ * gdb.python/py-frame-args.c: New file. * gdb.python/py-frame-args.py: New file. * gdb.python/py-frame-args.exp New file.
* * cli/cli-cmds.c (init_cmd_lists): Delete unnecessary initializationDoug Evans2013-07-172-21/+3
| | | | of all *list variables.
* * gdbcmd.h (togglelist): Delete.Doug Evans2013-07-174-13/+7
| | | | | | * cli/cli-cmds.c (togglelist): Delete. (init_cmd_lists): Update. * cli/cli-cmds.h (togglelist): Delete.
* * dwarf2read.c (dwarf2_per_objfile_free): ClearTom Tromey2013-07-172-0/+9
| | | | dwarf2_per_objfile.
* opcodes/Richard Sandiford2013-07-172-4/+13
| | | | | * mips-formats.h (MAPPED_INT, MAPPED_REG, REG_PAIR): Add ATTRIBUTE_UNUSED.
* * nto-tdep.c (nto_relocate_section_addresses): Update,Doug Evans2013-07-175-4/+14
| | | | | | | target_section.bfd deleted. * ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Ditto. * s390-tdep.c (s390_load): Ditto. * solib-aix.c (solib_aix_relocate_section_addresses): Ditto.
* daily updateAlan Modra2013-07-171-1/+1
|
* Check for NULL character before calling strchr.aburgess2013-07-164-3/+19
| | | | | | | | | | | | | | http://sourceware.org/ml/gdb-patches/2013-07/msg00322.html gdb/ChangeLog * common/format.c (parse_format_string): Add checks for NULL character before calling strchr. gdb/testsuite/ChangeLog * gdb.base/printcmds.exp (test_printf): Add tests for format strings with missing format specifier.
* * solist.h (target_so_ops.find_and_open_solib): Clarify usage ofDoug Evans2013-07-163-3/+10
| | | | | | temp_pathname argument. * nto-tdep.c (nto_find_and_open_solib): Fix setting of temp_pathname when opening the file fails.
* * target.h (struct target_section): Delete member bfd.Doug Evans2013-07-168-39/+67
| | | | | | | | | | | | | | | | | All users updated to use the_bfd_section->owner instead. * exec.c (add_to_section_table): Assert bfd is expected value. Remove initialization of target_section.bfd. (remove_target_sections): Update. (section_table_available_memory): Update. (section_table_xfer_memory_partial): Update. (print_section_info): Update. (exec_set_section_address): Update. * record-full.c (record_full_core_xfer_partial): Update. * solib-svr4.c (svr4_relocate_section_addresses): Update. * solib-target.c (solib_target_relocate_section_addresses): Update. * symfile.c (build_section_addr_info_from_section_table): Update. * target.c (memory_xfer_live_readonly_partial): Update. (memory_xfer_partial_1): Update.
* simple test suite fix in gdb.adaTom Tromey2013-07-162-2/+6
| | | | | | This changes one spot in gdb.ada to use standard_testfile. * gdb.ada/info_types.exp: Use standard_testfile.
* simple test suite fix in gdb.miTom Tromey2013-07-162-8/+15
| | | | | | | | | | | | | | | This is another simple test suite change for the parallelization project. This changes mi-basics.exp to avoid the use of subdir and objdir and instead use standard_output_file. There are still some uses of objdir, but as noted in a new comment in the patch, these uses are parallel-safe. * gdb.mi/mi-basics.exp: Use standard_output_file. (test_dir_specification, test_cwd_specification) (test_path_specification): Use testsubdir, not subdir and objdir.
* test suite fixlet for gdb.traceTom Tromey2013-07-162-2/+6
| | | | | | | | | | This is a minor fix to clean up the last remaining test suite parallelization issue in gdb.trace. mi-traceframe-changed.exp refers to objdir. This patch changes the code to have the same effect, but avoid using that variable. * gdb.trace/mi-traceframe-changed.exp: Don't use objdir.
* daily updateAlan Modra2013-07-161-1/+1
|
* 2013-07-15 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>Ulrich Weigand2013-07-152-92/+113
| | | | | | | | | | | | | | | | | | | * ppc-linux-nat.c: Since the new PowerPC specific ptrace interface is now available for embedded (BookE) and server (BookS) processors, correct mentions of 'booke' and adjust comments accordingly in order to avoid confusion. Rename struct 'booke_debug_info' to 'hwdebug_info'. (have_ptrace_booke_interface): Rename function and variable 'have_ptrace_booke_interface' to 'have_ptrace_hwdebug_interface'. Rename struct 'booke_debug_info' to 'hwdebug_info'. Update all uses. (booke_cmp_hw_point): Rename function 'booke_cmp_hw_point' to 'hwdebug_point_cmp'. Update all uses. (booke_find_thread_points_by_tid): Rename function 'booke_find_thread_points_by_tid' to 'hwdebug_find_thread_points_by_tid'. Update all uses. (booke_insert_point): Rename function 'booke_insert_point' to 'hwdebug_insert_point'. Update all uses. (booke_remove_point): Rename function 'booke_remove_point' to 'hwdebug_remove_point'. Update all uses.
* include/elf/Maciej W. Rozycki2013-07-156-33/+69
| | | | | | | | | | | | | | | | | | | * mips.h (Tag_GNU_MIPS_ABI_FP): Remove comment. (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE, Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT, Val_GNU_MIPS_ABI_FP_64): New enum. bfd/ * elfxx-mips.c (mips_elf_merge_obj_attributes): Replace hardcoded magic numbers with enum values. binutils/ * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic numbers with enum values. gdb/ * mips-tdep.c (mips_gdbarch_init): Replace hardcoded magic numbers with enum values.