aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-12-05 * ld-cris/weakref4.d: Updated pattern match for the message fromNick Clifton10-9/+23
readelf stating that there are no decoded unwind sections. * tls-js1.d: Likewise. * tls-local-63.d: Likewise. * tls-local-64.d: Likewise. * tls-und-38.d: Likewise. * tls-und-42.d: Likewise. * tls-und-46.d: Likewise. * tls-und-50.d: Likewise. * weakref3.d: Likewise. * weakref4.d: Likewise.
2011-12-05 * breakpoint.c: Include record.h.Pedro Alves2-2/+10
(breakpoints_always_inserted_mode): Return false when the record target is in use.
2011-12-05 * tc-arm.c (aeabi_set_public_attributes): Correctly setRichard Earnshaw7-1/+48
Tag_ARM_ISA_use and Tag_Thumb_ISA_use. * gas/arm/attr-any-armv4t.d: New test. * gas/arm/attr-any-armv4t.s: New file. * gas/arm/attr-any-thumbv6.d: New test. * gas/arm/attr-any-thumbv6.s: New file.
2011-12-05 * gas/config/tc-arm.c (arm_cpu_option_table): Add name_len field.Matthew Gretton-Dann5-195/+239
(arm_arch_option_table): Likewise. (arm_option_extension_value_table): Likewise. (ARM_CPU_OPT): New define. (ARM_ARCH_OPT): Likewise. (ARM_EXT_OPT): Likewise. (arm_cpus): Use ARM_CPU_OPT to initialize. (arm_archs): Use ARM_ARCH_OPT to initialize. (arm_extensions): Use ARM_EXT_OPT to initialize. (arm_parse_extension): Ensure option string matching matches the whole string. (arm_parse_cpu): Likewise. (arm_parse_arch): Likewise. * gas/testsuite/gas/arm/cmdline-bad-arch.d: New test case. * gas/testsuite/gas/arm/cmdline-bad-cpu.d: Likewise.
2011-12-052011-12-05 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-4/+10
* mach-o.c (bfd_mach_o_read_symtab_symbol): Accept indirect symbols.
2011-12-05Not 2012 yet...Pedro Alves1-1/+1
2011-12-052012-12-05 Pedro Alves <pedro@codesourcery.com>Pedro Alves4-27/+7
* amd64-linux-nat.c (amd64_linux_dr_get): Remove FIXME comment. Reinstate perror_with_name call on ptrace error. Remove #if 0. * i386-linux-nat.c (i386_linux_dr_get): Likewise. * i386bsd-nat.c (i386bsd_dr_get_status): Likewise.
2011-12-052011-12-05 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+11
* mach-o.c (bfd_mach_o_write_contents): Handle LC_LOAD_UPWARD_DYLIB. (bfd_mach_o_read_dylib): Likewise. (bfd_mach_o_read_command): Likewise. (bfd_mach_o_bfd_print_private_bfd_data): Likewise.
2011-12-052011-12-05 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-18/+12
* mach-o.c (bfd_mach_o_read_command): Add the bfd in the error message. (bfd_mach_o_openr_next_archived_file): Use arch name as member name. (bfd_mach_o_fat_extract): Ditto.
2011-12-05* breakpoint.c (init_breakpoint_sal): Remove nested definitions ofAndrey Smirnov2-4/+10
`i'(-Wshadow).
2011-12-05* bcache.c (bcache): Rename `bcache' to `cache'(-Wshadow).Andrey Smirnov2-2/+7
2011-12-05* amd64-tdep.c (amd64_push_dummy_call): Remove nested definitionAndrey Smirnov2-1/+4
of `tdep'(-Wshadow).
2011-12-05*** empty log message ***gdbadmin1-1/+1
2011-12-04daily updateAlan Modra1-1/+1
2011-12-04*** empty log message ***gdbadmin1-1/+1
2011-12-03daily updateAlan Modra1-1/+1
2011-12-03gdb/testsuite/Jan Kratochvil11-26/+94
* gdb.base/break-entry.exp: Move the target use_gdb_stub test before starting GDB. * gdb.base/default.exp: Replace target use_gdb_stub checks by global $use_gdb_stub. * gdb.base/display.exp: Likewise. * gdb.base/ending-run.exp: Likewise. * gdb.base/list.exp (test_listsize): Likewise. * gdb.base/setshow.exp: Likewise. * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1. * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub check by global $use_gdb_stub. (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub. (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub. (default_gdb_init): Unset global $use_gdb_stub. (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check by global $use_gdb_stub. * lib/gdbserver-support.exp: Extend comments for set_board_info gdb_protocol and gdb,socketport. (gdbserver_start_extended): Set global gdbserver_protocol and gdbserver_gdbport. Clear global use_gdb_stub. * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub from target use_gdb_stub. (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
2011-12-03sim: bfin: lookup target strings when tracing system callsMike Frysinger2-10/+41
Parsing target addresses is hard if not generally useless, so use the new cb_get_string function to lookup the associated strings as well. Now the trace output is quickly useful instead of just marginally so. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-12-03sim: export cb_get_string for people to useMike Frysinger4-3/+15
The common sim code provides a useful "get_string" function which reads a C string out of the target's memory space. So rename and export it for other people to use. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-12-03gdb/Jan Kratochvil2-24/+31
Fix compilation --without-expat. * solib-svr4.c (svr4_free_so, svr4_free_library_list): Move them here from ... [HAVE_LIBEXPAT] (svr4_free_so, svr4_free_library_list): ... here.
2011-12-03sim: generate build dependencies on the flyMike Frysinger78-233/+7988
Lift the code that GDB is using to generate dependencies on the fly and port it over to the sim. Now people shouldn't have to manually maintain these in their Makefile's. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-12-03 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.Doug Evans2-8/+44
(gdb_step_for_stub): Add comments.
2011-12-032011-12-03 David Daney <david.daney@cavium.com>David Daney2-2/+7
* ld-bootstrap/bootstrap.exp: Use consistent flags for final link in ia64 and mips cases.
2011-12-03gas/testsuite/Richard Sandiford2-25/+56
* gas/mips/mips.exp (run_dump_test_arch): Add an opts parameter. (run_dump_test_arches): Allow additional options to be passed. (run_list_test_arch): Add opts to the name. (run_list_test_arches): Allow the options to be elided. (mips4-fp, mips5-fp): Run twice, one with -32 and once with -mabi=o64. (mips64r2-ill, octeon-ill): Remove empty options string.
2011-12-03 PR ld/13468Alan Modra2-6/+9
* elflink.c (bfd_elf_final_link): Don't segfault when checking for DT_TEXTREL and .dynamic does not exist.
2011-12-03 PR ld/13470Alan Modra3-8/+27
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Revert substantive change in 2011-07-01 commit. Comment. * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
2011-12-03*** empty log message ***gdbadmin1-1/+1
2011-12-02 * lib/gdb.exp (gdb_expect): Pass all the exception conditions upMaciej W. Rozycki2-10/+8
to the caller. (gdb_test_multiple): Likewise.
2011-12-02daily updateAlan Modra1-1/+1
2011-12-02gdb/testsuite/Jan Kratochvil2-9/+21
Fix gdb.mi/mi-solib.exp without system debug info installed. * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from' expect attribute, return 0 for it. Update comments.
2011-12-02gdb/Jan Kratochvil15-7/+764
* Makefile.in (XMLFILES): Add library-list-svr4.dtd. * features/library-list-svr4.dtd: New file. * remote.c (PACKET_qXfer_libraries_svr4): New. (remote_protocol_features): new entry for PACKET_qXfer_libraries_svr4. (remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES_SVR4. * solib-svr4.c (struct svr4_library_list): New. [HAVE_LIBEXPAT]: Include xml-support.h. [HAVE_LIBEXPAT] (svr4_library_list_start_library) [HAVE_LIBEXPAT] (svr4_library_list_start_list, svr4_library_attributes) [HAVE_LIBEXPAT] (svr4_library_list_children) [HAVE_LIBEXPAT] (svr4_library_list_attributes) [HAVE_LIBEXPAT] (svr4_library_list_elements, svr4_parse_libraries) [HAVE_LIBEXPAT] (svr4_current_sos_via_xfer_libraries) [!HAVE_LIBEXPAT] (svr4_current_sos_via_xfer_libraries): New. (svr4_read_so_list): Extend the corruption message by addresses. (svr4_current_sos): New variable library_list, call svr4_current_sos_via_xfer_libraries. * target.h (enum target_object): New TARGET_OBJECT_LIBRARIES_SVR4. gdb/gdbserver/ * linux-low.c (get_phdr_phnum_from_proc_auxv, get_dynamic, get_r_debug) (read_one_ptr, struct link_map_offsets, linux_qxfer_libraries_svr4): New. (struct linux_target_ops): Install linux_qxfer_libraries_svr4. * linux-low.h (struct process_info_private): New member r_debug. * server.c (handle_qxfer_libraries): Call the_target->qxfer_libraries_svr4. (handle_qxfer_libraries_svr4): New function. (qxfer_packets): New entry "libraries-svr4". (handle_query): Check QXFER_LIBRARIES_SVR4 and report libraries-svr4. * target.h (struct target_ops): New member qxfer_libraries_svr4. * remote.c (remote_xfer_partial): Call add_packet_config_cmd for PACKET_qXfer_libraries_svr4. gdb/doc/ * gdb.texinfo (Requirements, Remote Protocol): Reference also `Library List Format for SVR4 Targets'. (General Query Packets): New item qXfer:libraries-svr4:read. (Library List Format for SVR4 Targets): New node. gdb/testsuite/ * gdb.base/solib-corrupted.exp: Suppress test on is_remote target. (corrupted list): Adjust the expectation.
2011-12-02 * readelf.c (ia64_process_unwind): Turn into a void funtion.Nick Clifton2-68/+132
(hppa_process_unwind): Likewise. (arm_process_unwind): Likewise. (process_unwind): Likewise. (arm_get_section_word): Rename to get_unwind_section_word. Add sym_name parameter to return the offset into the string table of the symbol associated with the reloc applied to the word. (decode_tic6x_unwind_regmask): Add NULL argument to invocation of get_unwind_section_word. (dump_arm_unwind): Likewise. (decode_arm_unwind_bytecode): Prepend a comma when *not* the first register in a list. (decode_arm_unwind): If the returned function address is 0 and a valid symname offset is provided use that to compute the name associated with the entry. Add extra checks of the compact model index entry.
2011-12-02gdb/Jan Kratochvil8-1/+230
PR threads/13448 * dwarf2read.c (decode_locdesc): Handle DW_OP_const8u. For DW_OP_GNU_push_tls_address increment the value, new comment for it. gdb/testsuite/ PR threads/13448 * gdb.dwarf2/dw2-var-zero-addr.S: New file. * gdb.dwarf2/dw2-var-zero-addr.exp: New file. * gdb.threads/tls-var-main.c: New file. * gdb.threads/tls-var.c: New file. * gdb.threads/tls-var.exp: New file.
2011-12-02gdb/testsuite/Jan Kratochvil4-16/+29
PR testsuite/12649 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt. Protect gdb_test_multiple by final $gdb_prompt match. * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise. * gdb.trace/tstatus.exp (run_trace_experiment): Likewise. (test_tracepoints): Likewise.
2011-12-02gdb/Jan Kratochvil8-2/+471
PR breakpoints/13346 * dwarf2read.c (process_psymtab_comp_unit): Set PSYMTABS_ADDRMAP_SUPPORTED. * psympriv.h (struct partial_symtab): Comment textlow and texthigh validity. New field psymtabs_addrmap_supported. * psymtab.c (find_pc_sect_psymtab_closer): New gdb_assert on psymtabs_addrmap_supported. (find_pc_sect_psymtab): Do not fallback to TEXTLOW and TEXTHIGH for !PSYMTABS_ADDRMAP_SUPPORTED. (dump_psymtab, maintenance_info_psymtabs): Print also psymtabs_addrmap_supported. gdb/testsuite/ PR breakpoints/13346 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file. * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file. * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
2011-12-02 * python/py-type.c (type_object_methods): Fix "array" doc string.Doug Evans2-2/+8
2011-12-02*** empty log message ***gdbadmin1-1/+1
2011-12-01Make sure all types in gdb.ada/homonym testcase are used...Joel Brobecker4-0/+56
Otherwise, the compiler does not generate any debug info for them. This fixes 3 FAILs: FAIL: gdb.ada/homonym.exp: ptype local_type_subtype at BREAK_1 FAIL: gdb.ada/homonym.exp: ptype int_type at BREAK_1 FAIL: gdb.ada/homonym.exp: ptype local_type_subtype at BREAK_2 gdb/testsuite/ChangeLog: * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files. * gdb.ada/homonym/homonym.adb: For use of all types defined locally inside both Get_Value subprograms.
2011-12-01daily updateAlan Modra1-1/+1
2011-12-01gdb/testsuite/Jan Kratochvil2-1/+7
Fix racy FAILs. * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead of send_gdb.
2011-12-01 * gdb.texinfo (Writing a Pretty-Printer): Use append method, notTom Tromey2-1/+6
add.
2011-12-01 * elf32-m68k.c (elf_m68k_check_relocs) <R_68K_8, R68K_16, R_68K_32>: ForNick Clifton2-2/+11
non-SEC_ALLOC sections break before GOT and PLT accounting.
2011-12-01 * emultempl/spuelf.em (spu_elf_relink): Use pex_one in placeNick Clifton2-3/+19
of execvp.
2011-12-01http://sourceware.org/ml/gdb-patches/2011-11/msg00778.htmlAndrew Burgess2-4/+11
* source.c (print_source_lines_base): Fix missing braces on else clause leading to additional output.
2011-12-01 * elf32-cris.c (cris_elf_check_relocs) <plt accounting forHans-Peter Nilsson2-5/+12
R_CRIS_8, R_CRIS_16, and R_CRIS_32>: Move early break for non-SEC_ALLOC sections before GOT and PLT accounting.
2011-12-01*** empty log message ***gdbadmin1-1/+1
2011-11-30daily updateAlan Modra1-1/+1
2011-11-30ChangeLog:Ulrich Weigand11-142/+319
* s390-nat.c (SUBOFF): Remove. (s390_native_supply, s390_native_collect): New functions. (supply_gregset, supply_fpregset): Use s390_native_supply. (fill_gregset, fill_fpregset): Use s390_native_collect. * s390-tdep.c (s390_pseudo_register_reggroup_p): Update comment. (s390_unwind_pseudo_register): New function. (s390_prologue_frame_unwind_cache): Unwind PSW address and mask registers instead of PC and CC. (s390_backchain_frame_unwind_cache): Likewise. (s390_sigtramp_frame_unwind_cache): Do not unwind PC, CC, or full GPR pseudos. (s390_trad_frame_prev_register): New function. (s390_frame_prev_register): Use it. (s390_sigtramp_frame_prev_register): Likewise. (s390_dwarf2_prev_register): Use s390_unwind_pseudo_register. (s390_dwarf2_frame_init_reg): Unwind PSW address and mask. Use special callback to unwind any pseudo. * features/s390-core32.xml: Add pswm/pswa to save/restore group. * features/s390-core64.xml: Likewise. * features/s390x-core64.xml: Likewise. * features/s390-linux32.c: Regenerate. * features/s390-linux64.c: Likewise. * features/s390x-linux64.c: Likewise. gdbserver/ChangeLog: * linux-s390-low.c (s390_collect_ptrace_register): Fully convert PSW address/mask between 8-byte and 16-byte formats. (s390_supply_ptrace_register): Likewise. (s390_get_pc, s390_set_pc): 4-byte PSW address always includes basic addressing mode bit.
2011-11-30 * s390-tdep.c (s390_gdbarch_init): Call set_gdbarch_get_siginfo_type.Ulrich Weigand2-0/+6
2011-11-30 * s390-tdep.c (s390_displaced_step_fixup): Fix processing of LARLUlrich Weigand2-3/+15
instruction. Add more diagnostic output.