aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-30gdb/Jan Kratochvil4-8/+58
PR corefiles/12071. * inferior.c (have_live_inferiors): New variables old_chain, inf and tp. Iterate INFERIOR_LIST and call target_has_execution. gdb/testsuite/ PR corefiles/12071. * gdb.base/corefile.exp (quit with a process, no question: load core) (quit with a core file): New tests.
2010-09-302010-09-30 Doug Kwan <dougkwan@google.com>Doug Kwan2-2/+6
* gold/testsuite/arm_branch_out_of_range.sh: Fix broken tests.
2010-09-30 * mem.c (rx_mem_ptr): When invalidating the decode cache, accountKevin Buettner2-3/+15
for the fact that the instruction decoder never uses swapped addresses.
2010-09-30*** empty log message ***gdbadmin1-1/+1
2010-09-30daily updateAlan Modra1-1/+1
2010-09-29gdb/Jan Kratochvil6-2/+231
Fix GDB crash on inferior calls with self-referencing classes. * gnu-v3-abi.c (gnuv3_pass_by_reference): Do not call itself on static member fields. gdb/testsuite/ Fix GDB crash on inferior calls with self-referencing classes. * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file. * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file. * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
2010-09-29 Workaround for gcc/45682.Doug Evans2-38/+180
* dwarf2read.c (partial_die_info): New fields fixup_called, linkage_name. (guess_partial_die_structure_name): Renamed from guess_structure_name. Move definition next to use. Use linkage_name to determine if class is in a namespace. All callers updated. (fixup_partial_die): Return early if already called. Set fixup_called when done. (guess_full_die_structure_name): New function. (determine_prefix): Call it for class/struct/union dies if c++ and .debug_types section is present and parent is DW_TAG_compile_unit.
2010-09-29 * rx.c (decode_opcode: RXO_int): Only break out of the emulationNick Clifton2-1/+8
loop if rx_syscall() does not return a RX_STEPPED result.
2010-09-29include/Bernd Schmidt7-7/+22
* opcode/tic6x-control-registers.h (tscl): Now read_write. gas/testsuite/ * gas/tic6x/insns-bad-1.s: Remove test for readonly tscl. * gas/tic6x/insns-bad-1.l: Likewise. * gas/tic6x/insns-c674x.d: Add test for writeable tscl. * gas/tic6x/insns-c674x.s: Likewise.
2010-09-29 * gas/all/fwdexp.d, * gas/all/fwdexp.s: New test.Alan Modra4-0/+41
* gas/all/gas.exp: Run it.
2010-09-29 * expr.c (expr): Correct returned segment value.Alan Modra2-10/+25
2010-09-29 * ld-h8300/h8300.exp: Use is_elf_format.Alan Modra2-2/+4
2010-09-29 * ldlang.c (lang_place_orphans): Zero vma when relocatable or non-loadAlan Modra2-0/+9
section for orphans handled here.
2010-09-29 * lib/ld-lib.exp (is_elf_format): Merge with binutils and gas versions.Alan Modra2-46/+78
(is_aout_format): Update target list. (is_pecoff_format): Remove unnecessary line continuation.
2010-09-29 * lib/gas-defs.exp (is_elf_format): Merge with binutils and ld versions.Alan Modra2-34/+82
(is_aout_format): Copy from ld testsuite. (is_pecoff_format): Merge with ld version.
2010-09-29 * lib/utils-lib.exp (is_elf_format): Merge with gas and ld versions.Alan Modra2-23/+45
2010-09-29*** empty log message ***gdbadmin1-1/+1
2010-09-29daily updateAlan Modra1-1/+1
2010-09-28Add a sparc simulator with the sparc bareboard target.Joel Brobecker2-5/+6
gdb/ChangeLog: * configure.tgt (sparc-*-*): Set gdb_sim to ../sim/erc32/libsim.a. (sparc-*-rtems*): Delete, now redundant with the sparc-*-* case.
2010-09-28[doco] document support for Ravenscar profileJoel Brobecker4-0/+45
This announces the support for debugging Ada programs using the Ravenscar Profile, as well as documents the new commands introduced as part of this effort. gdb/ChangeLog: * NEWS: Announce Ravenscar Profile support. gdb/doc/ChangeLog: * gdb.texinfo (Ravenscar Profile): New node.
2010-09-28Add support for GNAT Ravenscar run-time library.Joel Brobecker5-1/+670
gdb/ChangeLog (Jerome Guitton, Joel Brobecker): * ravenscar-thread.c, ravenscar-thread.h, ravenscar-sparc-thread.c: New files. * configure.tgt (sparc-*-*): Add ravenscar-thread.o and ravenscar-sparc-thread.o to gdb_target_obs.
2010-09-28[Ada] Add ada-tasks.c:iterate_over_live_ada_tasksJoel Brobecker3-0/+30
This new function is needed by the ravenscar-thread layer. gdb/ChangeLog: * ada-tasks.c (iterate_over_live_ada_tasks): New function. * ada-lang.h (iterate_over_live_ada_tasks): Declare.
2010-09-282010-09-28 Sriraman Tallam <tmsriram@google.com>Sriraman Tallam5-1/+28
* target.h (Target::can_icf_inline_merge_sections): New virtual function. * x86_64.cc (Target__x86_64::can_icf_inline_merge_sections): New virtual function. * i386.cc (Target_i386::can_icf_inline_merge_sections): New virtual function. * icf.cc (get_section_contents): Inline merge sections only when target allows it.
2010-09-28*** empty log message ***gdbadmin1-1/+1
2010-09-28daily updateAlan Modra1-1/+1
2010-09-27 * amd64-windows-tdep.c (amd64_skip_main_prologue): New function.Pierre Muller2-0/+39
(amd64_windows_init_abi): Register amd64_skip_main_prologue as gdbarch skip_main_prologue method.
2010-09-27merge from gccDJ Delorie4-90/+176
2010-09-27Fix unportable shell quoting.Ralf Wildenhues21-11/+55
/: Sync from GCC: PR bootstrap/44621 * configure.ac: Fix unportable shell quoting. * configure: Regenerate. config/: * po.m4 (AM_PO_SUBDIRS): Fix unportable shell quoting. bfd/: * configure: Regenerate. gas/: * configure: Regenerate. gold/: * configure: Regenerate. intl/: * configure: Regenerate. ld/: * configure: Regenerate. opcodes/: * configure: Regenerate. binutils/: * configure: Regenerate. gprof/: * configure: Regenerate.
2010-09-27 * dwarf2read.c (dwarf2_read_index): Only allow version 3.Tom Tromey2-45/+92
(write_psymbols): Add 'psyms_seen' and 'is_static' arguments. Only emit a given psymbol once. (struct signatured_type_index_data) <psyms_seen>: New field. (write_one_signatured_type): Update. (cleanup_htab): New function. (write_psymtabs_to_index): Update. Create psyms_seen hash. Bump version to 3. (save_gdb_index_command): Update index documentation.
2010-09-27 * bcache.c (expand_hash_table): Use hash_function, not hash.Tom Tromey2-1/+6
2010-09-27 * gdb_wchar.h: Change minimum libiconv to 0x108.Tom Tromey2-5/+8
2010-09-27gas/Bernd Schmidt6-0/+62
* config/tc-tic6x.c (tic6x_fix_adjustable): New function. * config/tc-tic6x.h (tic6x_fix_adjustable): Declare. (tc_fix_adjustable): New macro. gas/testsuite/ * gas/tic6x/got-reloc.s: New test. * gas/tic6x/got-reloc.d: New test.
2010-09-272010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel15-8/+708
* s390-mkopc.c (enum s390_opcde_cpu_val): Add S390_OPCODE_Z196. (main): Recognize the new CPU string. * s390-opc.c: Add new instruction formats and masks. * s390-opc.txt: Add new z196 instructions. 2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * opcode/s390.h: Add S390_OPCODE_Z196 to enum s390_opcode_cpu_val. 2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/tc-s390.c: (md_parse_option): New option -march=z196. * doc/c-s390.texi: Document new option. 2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gas/s390/s390.exp: Run the zarch-z196 test. * gas/s390/zarch-z196.d: Add new instructions. * gas/s390/zarch-z196.s: Likewise. * gas/s390/zarch-z9-109.d: Likewise. * gas/s390/zarch-z9-109.s: Likewise.
2010-09-272010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel17-94/+144
* s390-dis.c (print_insn_s390): Pick instruction with most specific mask. * s390-opc.c: Add unused bits to the insn mask. * s390-opc.txt: Reorder some instructions to prefer more recent versions. 2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gas/s390/esa-g5.d: Adjust serveral instructions. * gas/s390/esa-reloc.d: Likewise. * gas/s390/esa-z990.d: Likewise. * gas/s390/zarch-reloc.d: Likewise. * gas/s390/zarch-z10.d: Likewise. * gas/s390/zarch-z9-ec.d: Likewise. * gas/s390/zarch-z900.d: Likewise. 2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * ld-s390/tlsbin.dd: bcr 0,%r7 -> nopr %r7. * ld-s390/tlsbin_64.dd: Likewise. * ld-s390/tlspic.dd: Likewise. * ld-s390/tlspic_64.dd: Likewise.
2010-09-272010-09-27 Tejas Belagod <tejas.belagod@arm.com>Matthew Gretton-Dann12-2/+89
* gas/config/tc-arm.c (do_neon_ldr_str): Deprecate ARM-mode PC-relative VSTR, issue an error in THUMB mode. * opcodes/arm_dis.c (print_insn_coprocessor): Apply off-by-alignment correction to unaligned PCs while printing comment. * gas/testsuite/gas/arm/vldr.s: New test for pc-relative VLDR disassembly comment. * gas/testsuite/gas/arm/vldr.d: Likewise. * gas/testsuite/gas/arm/vstr-bad.s: New test for PC-relative VSTR. * gas/testsuite/gas/arm/vstr-thumb-bad.l: Likewise. * gas/testsuite/gas/arm/vstr-thumb-bad.d: Likewise. * gas/testsuite/gas/arm/vstr-arm-bad.l: Likewise. * gas/testsuite/gas/arm/vstr-arm-bad.d: Likewise.
2010-09-27*** empty log message ***gdbadmin1-1/+1
2010-09-27daily updateAlan Modra1-1/+1
2010-09-26*** empty log message ***gdbadmin1-1/+1
2010-09-26daily updateAlan Modra1-1/+1
2010-09-25*** empty log message ***gdbadmin1-1/+1
2010-09-25daily updateAlan Modra1-1/+1
2010-09-24gdb/Jan Kratochvil5-3/+200
Fix lost siginfo_t for inferior calls. * infrun.c (struct inferior_thread_state) <siginfo_gdbarch, siginfo_data>: New. (save_inferior_thread_state): New variables regcache, gdbarch and siginfo_data. Initialize SIGINFO_DATA if gdbarch_get_siginfo_type_p. Move INF_STATE allocation later, pre-clear it. Initialize REGISTERS using REGCACHE. (restore_inferior_thread_state): New variables regcache and gdbarch. Restore SIGINFO_DATA for matching GDBARCH. Restore REGISTERS using REGCACHE. Free also SIGINFO_DATA. gdb/testsuite/ Fix lost siginfo_t for inferior calls. * gdb.base/siginfo-infcall.exp: New file. * gdb.base/siginfo-infcall.c: New file.
2010-09-24 * dwarf2read.c (dw2_expand_symtabs_matching): Add missingTom Tromey2-16/+19
MAYBE_SWAPs. (dw2_map_symbol_names): Likewise.
2010-09-24Fix find_oload_champ_namespace_loop memory leak.Sami Wagiaalla2-1/+6
2010-09-24 Sami Wagiaalla <swagiaal@redhat.com> * valops.c (find_oload_champ_namespace_loop): replace incorrect discard_cleanups do_cleanups.
2010-09-24 PR gdb/11842Pedro Alves2-0/+4
gdb/ * amd64-linux-nat.c (compat_siginfo_from_siginfo) (siginfo_from_compat_siginfo): Also copy si_pid and si_uid when si_code is < 0. Check for si_code == SI_TIMER before checking for si_code < 0. gdb/gdbserver/ * linux-x86-low.c (compat_siginfo_from_siginfo) (siginfo_from_compat_siginfo): Also copy si_pid and si_uid when si_code is < 0. Check for si_code == SI_TIMER before checking for si_code < 0.
2010-09-24 gdb/Pedro Alves4-16/+38
* amd64-linux-nat.c (compat_siginfo_from_siginfo) (siginfo_from_compat_siginfo): Also copy si_pid and si_uid when si_code is < 0. Check for si_code == SI_TIMER before checking for si_code < 0. gdb/gdbserver/ * linux-x86-low.c (compat_siginfo_from_siginfo) (siginfo_from_compat_siginfo): Also copy si_pid and si_uid when si_code is < 0. Check for si_code == SI_TIMER before checking for si_code < 0.
2010-09-242010-09-24 Thomas Schwinge <thomas@codesourcery.com>Thomas Schwinge23-59/+66
* elf32-arm.c, elf32-cris.c, elf32-hppa.c, elf32-i370.c, elf32-m32r.c, elf32-m68k.c, elf32-microblaze.c, elf32-ppc.c, elf32-score.c, elf32-score7.c, elf32-sh.c, elf32-vax.c, elf32-xtensa.c, elf64-alpha.c, elf64-hppa.c, elf64-mips.c, elf64-ppc.c, elf64-sparc.c, elfcode.h, elflink.c, elfxx-ia64.c, elfxx-mips.c: Use STN_UNDEF when referring to the zero symbol index.
2010-09-242010-09-24 Thomas Schwinge <thomas@codesourcery.com>Thomas Schwinge2-1/+6
* elflink.c (bfd_elf_reloc_symbol_deleted_p): Compare the symbol index to STN_UNDEF, not SHN_UNDEF.
2010-09-24 * objfiles.h (ALL_OBJSECTIONS): Handle breaks in the inner loop.Pedro Alves2-3/+42
2010-09-24Remove GOTOFF in ld-i386/nogot1.s.H.J. Lu2-1/+6
2010-09-23 H.J. Lu <hongjiu.lu@intel.com> PR ld/11812 * ld-i386/nogot1.s: Don't use GOTOFF.