aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-04-12 * configure.ac (ia64*-*-*vms*): Add support for ld.Nick Clifton18-375/+5868
* configure: Regenerate. * scripttempl/ia64vms.sc: New file. * emultempl/vms.em (_before_parse): Support for ia64. (elf64-ia64-vms): New fragment for ia64. * emulparams/elf64_ia64_vms.sh: New file. * configure.tgt (ia64-*-*vms*): Add. * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64_ia64_vms.c (eelf64_ia64_vms.c): New rule. * Makefile.in: Regenerate. * elflink.c (elf_link_output_extsym): Add a guard. (bfd_elf_final_link): Remove assertion. (bfd_elf_final_link): Add a guard. * elfnn-ia64.c (INCLUDE_IA64_VMS): Removed. (elfNN_vms_section_from_shdr, elfNN_vms_object_p) (elfNN_vms_post_process_headers, elfNN_vms_section_processing) (elfNN_vms_final_write_processing, elfNN_vms_close_and_cleanup): Remove. (elfNN-ia64-vms target): Move to ... * elf64-ia64-vms.c: New file. * configure.in (bfd_elf64_ia64_vms_vec): Add elf64-ia64-vms.lo * Makefile.am (BFD64_BACKENDS): Add elf64-ia64-vms.lo. (BFD64_BACKENDS_CFILES): Ad elf64-ia64-vms.c. * configure: Regenerate. * Makefile.in: Regenerate.
2012-04-12gdb: add callback defines for new ARGV handlingMike Frysinger2-0/+9
The common sim code has slightly unfinished support for these already, but even arch ports are unable to handle these if the common header does not define them. This is because the generated callback header includes simple common gdb/sim headers only which causes it to skip the new ARGV syscalls. Plus, it isn't like providing these in the common header will break any sim targets which don't want them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-12 * dwarf2read.c (create_all_type_units): Renamed fromDoug Evans2-6/+9
create_debug_types_hash_table. All callers updated.
2012-04-12 * dwarf2read.c (create_signatured_type_table_from_index): RenameDoug Evans2-52/+65
local type_sig to sig_type, type_offset to type_offset_in_tu. (hash_signatured_type): Renamed from hash_type_signature, all callers updated. (eq_signatured_type): Renamed from eq_type_signature, all callers updated. (create_debug_types_hash_table): Rename local type_sig to sig_type. (process_enumeration_scope): Ditto. (lookup_signatured_type_at_offset): Ditto. (load_full_type_unit, read_signatured_type): Ditto.
2012-04-12gdb/Yao Qi2-2/+8
* remote.c (async_remote_interrupt): Correct function name in debug message. (async_remote_interrupt_twice): Ditto.
2012-04-12daily updateAlan Modra1-1/+1
2012-04-12*** empty log message ***gdbadmin1-1/+1
2012-04-11 * source.c (find_and_open_source): Consistently pass resultingDoug Evans2-1/+15
full path through xfullpath.
2012-04-11gdb/Jan Kratochvil2-1/+14
Provide more specific displaced-stepping memory error message. * infrun.c (displaced_step_prepare): New variable status. Call target_read_memory instead of read_memory, provide more specific error message.
2012-04-11 PR binutils/13897Nick Clifton2-10/+35
* elf64-ppc.c (opd_entry_value): When dealing with sections without relocs, keep the last section loaded in order to avoid unnecessary reloads.
2012-04-11 * objdump.c (dump_bfd): If defaulting to dwarf callNick Clifton2-0/+6
dwarf_select_sections_all to enable displays.
2012-04-112012-04-11 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-16/+5
PR gdb/13901 * darwin-nat.c (darwin_execvp): Revert previous patch.
2012-04-112012-04-11 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-6/+15
PR gdb/13901 * darwin-nat.c (darwin_resume_thread): Call darwin_set_sstep only in case of change.
2012-04-112012-04-11 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+7
* i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix warning.
2012-04-11Fixed a couple of ChangeLog entries.Siva Chandra Reddy2-3/+3
2012-04-112012-04-02 Siva Chandra Reddy <sivachandra@google.com>Siva Chandra Reddy12-2/+1688
New command 'explore' which helps explore values and types in scope. * NEWS: Add an entry about the new 'explore' command. * data-directory/Makefile.in: Add gdb/command/explore.py * python/lib/gdb/command/explore.py: Implemention of the 'explore' command using the GDB Python API. * doc/gdb.texinfo (Examining Data): Document the 'explore' command. * testsuite/gdb.python/Makefile.in: Add py-explore to EXECUTABLES. * testsuite/gdb.python/py-explore.c: C program used for testing the new 'explore' command on C constructs. * testsuite/gdb.python/py-explore.cc: C++ program used for testing the new 'explore' command on C++ constructs. * testsuite/gdb-python/py-explore.exp: Tests for the new 'explore' command on C constructs. * testsuite/gdb-python/py-explore-cc.exp: Tests for the new 'explore' command on C++ constructs.
2012-04-11daily updateAlan Modra1-1/+1
2012-04-11*** empty log message ***gdbadmin1-1/+1
2012-04-10 * mips-tdep.c (mips_skip_pic_trampoline_code): Correct signMaciej W. Rozycki2-2/+7
extension in jump target calculation.
2012-04-10 * mips-tdep.c (mips32_next_pc): Handle JALX.Maciej W. Rozycki2-8/+14
2012-04-10gdb/Yao Qi2-1/+5
* Makefile.in (gnulib/Makefile): Remove duplicated dependency.
2012-04-10gdb/Yao Qi2-0/+7
* Makefile.in (aclocal_m4_deps): Add gnulib/m4/gnulib-cache.m4 and gnulib/m4/gnulib-tool.m4.
2012-04-10 * linux-low.c (get_r_debug): Handle DT_MIPS_RLD_MAP.Maciej W. Rozycki2-7/+44
2012-04-10 * dwarf2read.c (dwarf2_per_cu_data). Clarify comment.Doug Evans2-28/+44
(load_partial_dies): Clarify comment. (find_partial_die): Support rereading type units. Clarify CU handling, if we know offset is in CU, don't search for the containing CU. Add comment regarding memory waste.
2012-04-10merge from gccDJ Delorie4-15/+19
2012-04-10Add x32 XML filesH.J. Lu15-0/+1095
* features/Makefile (WHICH): Add i386/x32, i386/x32-linux, i386/x32-avx and i386/x32-avx-linux. (i386/x32-expedite): New. (i386/x32-linux-expedite): Likewise. (i386/x32-avx-expedite): Likewise. (i386/x32-avx-linux-expedite): Likewise. ($(outdir)/i386/x32.dat): Likewise. ($(outdir)/i386/x32-linux.dat): Likewise. ($(outdir)/i386/x32-avx.dat): Likewise. ($(outdir)/i386/x32-avx-linux.dat): Likewise. * features/i386/x32-avx-linux.xml: New file. * features/i386/x32-avx.xml: Likewise. * features/i386/x32-core.xml: Likewise. * features/i386/x32-linux.xml: Likewise. * features/i386/x32.xml: Likewise. * features/i386/x32-avx-linux.c: New. Generated. * features/i386/x32-avx.c: Likewise. * features/i386/x32-linux.c: Likewise. * features/i386/x32.c: Likewise. * regformats/i386/x32-avx-linux.dat: Likewise. * regformats/i386/x32-avx.dat: Likewise. * regformats/i386/x32-linux.dat: Likewise. * regformats/i386/x32.dat: Likewise.
2012-04-102012-04-10 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-22/+14
* darwin-nat.c (darwin_kill_inferior): Always use the no ptrace code to kill the inferior.
2012-04-10*** empty log message ***gdbadmin1-1/+1
2012-04-10daily updateAlan Modra1-1/+1
2012-04-09 * gdb-index.cc (Gdb_index_info_reader::record_cu_ranges): AllowCary Coutant2-1/+6
low_pc == 0.
2012-04-09* ada-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): NewMark Kettenis9-0/+67
defines. * c-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New defines. * cp-name-parser.y (yyss, yysslim, yyssp, yystacksize, yyvs) (yyvsp): New defines. * f-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New defines. * jv-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New defines. * m2-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New defines. * objc-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New defines. * p-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New defines.
2012-04-09ld/testsuite/Roland McGrath6-4/+27
* ld-elf/eh1.d: Add explicit --64 to as options, and explicit -melf_x86_64 and -Ttext to ld options, so we don't assume every x86_64-*-* target uses --64 (vs --x32) by default or has the same address space layout. * ld-elf/eh2.d: Likewise. * ld-elf/eh3.d: Likewise. * ld-elf/eh4.d: Likewise. * ld-elf/elf.exp: For target *-*-nacl*, use options_regsub(ld) to map -melf_x86_64 to -melf_x86_64_nacl.
2012-04-09bfd/Roland McGrath5-8/+35
* elf.c (_bfd_elf_map_sections_to_segments): Set INFO->user_phdrs. * elf-nacl.c (nacl_modify_segment_map): Do nothing if INFO->user_phdrs. (nacl_modify_program_headers): Likewise. include/ * bfdlink.h (struct bfd_link_info): Add new member user_phdrs.
2012-04-09* sparc64-tdep.c (sparc64_store_arguments)Mark Kettenis2-4/+9
(sparc64_store_arguments): Fix coding style.
2012-04-09sim: bfin: new PINT modelMike Frysinger7-1/+386
Newer BF54x parts feature an updated GPIO block where all the interrupt handling is split off, so create a new model for the pin interrupts. This is missing the port forwarding aspects, but at least the register interface should be there. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-09sim: bfin: new GPIO modelMike Frysinger7-1/+352
Newer BF54x parts feature an updated GPIO block, so create a new model for it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-09sim: bfin: add shift astat testsMike Frysinger4-0/+777
These are randomly generated tests to track down issues in ASTAT handling with shift insns. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-09sim: bfin: fix ASTAT issues in immediate shiftsMike Frysinger2-17/+64
More ASTAT directed fixes, but this time at the dsp32shift insns. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-09sim: bfin: fix ASTAT/correctness issues with arithmetic shiftsMike Frysinger2-10/+67
This improves some of the arithmetic shifts to better match the hardware (especially wrt ASTAT behavior). We hit areas where the published documentation is thin so we have to rely on tests run on the hardware to figure out how things should behave. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-09sim: bfin: more astat testsMike Frysinger3-0/+397
These are the randomly generated tests that directed some of the recent astat related fixes. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-09sim: bfin: enable some parallel testsMike Frysinger5-4/+7
Now that we check for valid sub-insns in parallel insns, we can enable the tests that explicitly validate those code paths. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-09sim: bfin: more parallel insn checksMike Frysinger2-18/+84
Now that we keep track of the exact parallel insn slot we're in, we can make sure that the current insn being decoded is valid for that slot. This brings us much closer to the hardware in flagging invalid parallel insn combinations. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-09sim: bfin: keep track of the exact position of parallel insnsMike Frysinger3-44/+75
Some insns need to know which slot they're in to determine whether they are valid. So add an enum for each slot, and check that rather than the overall insn len. This makes tracking things in the code much clearer. However, this code is functionally the same, so a follow up patch will leverage this more to properly flag invalid parallel insn combos. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-09sim: bfin: unify se_all helpers moreMike Frysinger7-54/+64
Now that we have the se_all helpers together and working, we can see what pieces are duplicated in each test and unify them in the common header file. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-09daily updateAlan Modra1-1/+1
2012-04-09*** empty log message ***gdbadmin1-1/+1
2012-04-08sim: bfin: drop excess space in negation insnMike Frysinger2-1/+5
The amod1 helper includes a leading space so it can expand into the empty string when need be, which means the caller need not add spacing itself. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-08* sparc64-tdep.c (sparc64_store_arguments): Fix handling ofMark Kettenis2-7/+15
complex floats, adjust some related comments and tighten a related assertion. (sparc64_extract_return_value): Handle complex floats.
2012-04-08*** empty log message ***gdbadmin1-1/+1
2012-04-08daily updateAlan Modra1-1/+1