aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-09-11daily updateAlan Modra1-1/+1
2009-09-10Fix typo.Michael Snyder1-1/+1
2009-09-10 PR gas/10623Hans-Peter Nilsson7-1/+88
* gas/mmix/err-swym1.s, gas/mmix/swym-opreg1.d, gas/mmix/swym-opreg1.s, gas/mmix/swym-opreg2.d, gas/mmix/swym-opreg2.s: New tests. * gas/mmix/odd-1.d: Adjust for reloc change.
2009-09-10 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.Doug Evans2-1/+6
Add $gdb_prompt to second breakpoint regexp.
2009-09-10 PR gas/10623Hans-Peter Nilsson2-26/+39
* config/tc-mmix.c (md_assemble) <case mmix_operands_xyz_opt>: Allow register operands for SWYM as for TRIP and TRAP. Correct operand handling and error checking. Never emit BFD_RELOC_MMIX_REG_OR_BYTE for operands to these insns.
2009-09-10Use common memory infrastructure and introduce device tree supportAnthony Green7-289/+823
2009-09-10Recognize new moxie prologuesAnthony Green2-13/+32
2009-09-102009-09-10 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+27
* gdb.texinfo (qSupported): Mention new ReverseContinue and ReverseStep replies to the qSupported query.
2009-09-102009-09-10 Michael Snyder <msnyder@vmware.com>Michael Snyder3-5/+45
* remote.c (PACKET_bc, PACKET_bs): New enums. (remote_protocol_features): Add ReverseStep, ReverseContinue. (remote_resume): Check for reverse capability. (_initialize_remote): Add packet config for "bs" and "bc" packets. * NEWS (new options): Mention set/show for "bs" and "bc" packets.
2009-09-10 Add documentation for set/show interactive-mode.Joel Brobecker2-0/+28
* gdb.texinfo (Other Misc Settings): New node.
2009-09-10 * top.c (interactive_mode): New static variable.Joel Brobecker3-0/+55
(show_interactive_mode): New function. (input_from_terminal_p): If interactive_mode is not auto, then use that rather than checking the stdin settings. (init_main): Add "set/show interactive-mode" command. * NEWS: Add entry for new "set/show interactive-mode" command.
2009-09-10gas/Alan Modra6-20/+41
* config/tc-d10v.c: Include dwarf2dbg.h. (write_long, write_1_short, write_2_short): Call dwarf2_emit_insn. (d10v_frob_label): New function. * config/tc-d10v.h (d10v_frob_label): Declare. (tc_frob_label): Define as d10v_frob_label. gas/testsuite/ * gas/lns/lns-common-1.s: Use two nops between each .loc. * gas/lns/lns.exp: Don't exclude d10v.
2009-09-10 * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label.Alan Modra3-0/+9
* config/tc-frv.c (frv_frob_label): Likewise.
2009-09-10 Updated soruces in binutils/* to compile cleanly with -Wc++-compat.Nick Clifton17-466/+579
* binutils/addr2line.c (slurp_symtab): Fix casts. Introduce variable minisyms to avoid aliasing varning. * binutils/ar.c: Add casts. (normalize): Use name del instead of delete. (display_target_list,display_info_table): Change loop counter variable a to int. * binutils/bucomm.c: Add casts. * binutils/debug.c: Update function to use new names. (struct debug_baseclass): Rename member from virtual to is_virtual. (struct debug_type_s,struct debug_field_s,struct debug_baseclass_s,struct debug_method_s,struct debug_method_variant_s,struct debug_type_s): Rename struct from avoid name collision. * /binutils/debug.h: Use new struct names. * binutils/dwarf.c: Add casts. (free_debug_memory): Change loop counter variable a to int. * binutils/ieee.c: Add casts. (enum ieee_var_kind): Move to top level. (ieee_class_baseclass): Rename parameter virtual to is_virtual. (ieee_class_method_var): Rename variable virtual to is_virtual. * binutils/nm.c: Add casts. * binutils/objcopy.c: Add casts. (copy_archive): Rename variable delete to del. * binutils/objdump.c: Add casts. (dump_dwarf_section): Change loop counter variable i to int. * binutils/prdbg.c: Add casts. (pr_class_baseclass,tg_class_baseclass): Rename parameters virtual to is_virtual. * binutils/readelf.c: Add casts. (struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to top level. * binutils/size.c: Add casts. * binutils/stabs.c (parse_stab_type, parse_stab_range_type) (parse_stab_cpp_abbrev): Rename parameter from typename to type_name. (parse_stab_baseclasses): Rename variable virtual to is_virtual. * binutils/strings.c: Add casts. * binutils/wrstabs.c (stab_class_baseclass): Rename parameter virtual to is_virtual.
2009-09-102009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel2-2/+6
* s390-dis.c (print_insn_s390): Avoid 'long long'.
2009-09-102009-09-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel2-5/+11
* s390-dis.c (s390_extract_operand): Remove the shift for pcrel operands. (print_insn_s390): Signextend and shift pcrel operands before printing.
2009-09-10 * configure.ac: Fix the names of the python source and object filesJoel Brobecker3-4/+10
following the renaming done in an earlier change. * configure: Regenerate.
2009-09-10daily updateAlan Modra1-1/+1
2009-09-10*** empty log message ***gdbadmin1-1/+1
2009-09-09 * gas/sh/sh64/syntax-1.s: Regenerate.Kaz Kojima2-2/+6
2009-09-09 Updated soruces in bfd/* to compile cleanly with -Wc++-compat.Nick Clifton48-575/+714
* bfd/aoutx.h: Add casts. * bfd/archive.c: Add casts. * bfd/archive64.c: Add casts. * bfd/archures.c: Add casts. * bfd/bfd-in2.h: Regenerated. * bfd/bfd.c: Add casts. (enum bfd_direction): Move out to top level. * bfd/bfdio.c: Add casts. * bfd/binary.c: Add casts. * bfd/cache.c (cache_bseek,cache_bread_1,cache_bwrite): Updated parameter to use enum value instead of int. * bfd/coffcode.h: Add casts. * bfd/coffgen.c: Add casts. * bfd/cofflink.c: Add casts. * bfd/compress.c: Add casts. * bfd/dwarf1.c: Add casts. * bfd/dwarf2.c: Add casts. (struct dwarf2_debug): Rename member bfd to bfd_ptr. Update code to use new name. * bfd/elf-attrs.c: Add casts. * bfd/elf-bfd.h (elf_link_virtual_table_entry): Gives name to anonymous struct. (union gotplt_union, struct elf_link_virtual_table_entry): Move to top level. * bfd/elf-eh-frame.c: Add casts. * bfd/elf-strtab.c: Add casts. * bfd/elf.c: Add casts. (_bfd_elm_make_Section_from_phdr): Change argument name from typename to type_name. * bfd/elf32-i386.c: Add casts. * bfd/elf64-x86-64.c: Add casts. * bfd/elfcode.h: Add casts. * bfd/elfcore.h: Add casts. * bfd/elflink.c: Add casts. * bfd/format.c: Add casts. * bfd/hash.c: Add casts. * bfd/ihex.c: Add casts. * bfd/libaout.h (enum aout_subformat, enum aout_magic): Move to top level. * bfd/libbfd.c: Add casts. * bfd/linker.c: Add casts. * bfd/merge.c: Add casts. * bfd/opncls.c: Add casts. * bfd/peXXigen.c: Add casts. * bfd/peicode.h: Add casts. * bfd/reloc.c: Add casts. * bfd/section.c: Add casts. * bfd/simple.c: Add casts. * bfd/srec.c: Add casts. * bfd/stabs.c: Add casts. * bfd/syms.c: Add casts. * bfd/targets.c: Add casts. * bfd/tekhex.c: Add casts. * bfd/verilog.c: Add casts. * include/bfdlink.h (struct bfd_link_hash_common_entry): Move to top level.
2009-09-09merge from gccDJ Delorie2-500/+625
2009-09-09config:Paolo Bonzini4-501/+1126
2009-09-09 Paolo Bonzini <bonzini@gnu.org> * stdint.m4 (GCC_HEADER_STDINT): Revert changes to this macro in the previous two patches. bfd: 2009-09-09 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate.
2009-09-09 bfd/Daniel Jacobowitz4-19/+38
* elf32-arm.c (elf32_arm_final_link_relocate): Set sym_flags for the mode of target PLT entries. (allocate_dynrelocs): Only adjust symbol type if setting its value. ld/testsuite/ * ld-arm/farcall-mixed-lib.d: Update.
2009-09-09 Fix a build failure on AIX.Joel Brobecker2-14/+20
* rs6000-nat.c (vmap_exec): Rewrite using target_get_section_table instead of relying on the to_sections/to_section_end target_ops field, since the latter have been removed in a previous patch.
2009-09-09Checking in this patch for Thiago: Rename python-* files into py-*,Joel Brobecker24-39/+82
more 8+3 friendly. gdb/ * Makefile.in (py-cmd.o): Renamed from python-cmd.o. Updated references. (py-frame.o): Renamed from python-frame.o. Updated references. (py-function.o): Renamed from python-function.o. Updated references. (py-objfile.o): Renamed from python-objfile.o. Updated references. (py-prettyprint.o): Renamed from python-prettyprint.o. Updated +references. (py-type.o): Renamed from python-type.o. Updated references. (py-utils.o): Renamed from python-utils.o. Updated references. (py-value.o): Renamed from python-value.o. Updated references. * py-cmd.o: Renamed from python-cmd.o. * py-frame.o: Renamed from python-frame.o. * py-function.o: Renamed from python-function.o. * py-objfile.o: Renamed from python-objfile.o. * py-prettyprint.o: Renamed from python-prettyprint.o. * py-type.o: Renamed from python-type.o. * py-utils.o: Renamed from python-utils.o. * py-value.o: Renamed from python-value.o. gdb/testsuite/ * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable names, add missing ones. * gdb.python/py-cmd.exp: Rename from python-cmd.exp. * gdb.python/py-frame.c: Rename from python-frame.c. * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust testfile name. * gdb.python/py-function.exp: Rename from python-function.exp. * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust testfile name. * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c. * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp. Adjust testfile name. * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py. * gdb.python/py-template.cc: Rename from python-template.cc. * gdb.python/py-template.exp: Rename from python-template.exp. Adjust testfile name. * gdb.python/py-value.c: Rename from python-value.c. * gdb.python/py-value.exp: Rename from python-value.exp. Adjust testfile name.
2009-09-09 Avoid quadratic behavior when computing the value of a register.Joel Brobecker2-3/+63
* frame.c (frame_stash): New static constant. (frame_stash_add, frame_stash_find, frame_stash_invalidate): New functions. (get_frame_id): Minor reformatting. Add the frame to the frame stash. (frame_find_by_id): Search the frame stash first before walking all frames starting from te current_frame. (reinit_frame_stash): Add call to frame_stash_invalidate ();
2009-09-092009-09-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+7
* i386-dis.c (vex_len_table): Change VEX_LEN_AE_R_X_M0 to VEX_LEN_AE_R_X_M_0 in comments.
2009-09-09 * block.c (contained_in): Return zero for nested functions.Joel Brobecker3-1/+10
* blockframe.c (block_innermost_frame): Delete unreferenced local variable.
2009-09-09merge from gccDJ Delorie2-621/+504
2009-09-09config:Paolo Bonzini4-1115/+525
2009-09-09 Paolo Bonzini <bonzini@gnu.org> * stdint.m4: Store temporary file in $tmp/_GCC_STDINT_H. bfd: 2009-09-09 Paolo Bonzini <bonzini@gnu.org> * configure: Regnerate.
2009-09-09 PR 10478:Nick Clifton5-31/+130
* elf.c (bfd_section_from_shdr): Do not reject sparc binaries with section headers containing sh_link values of SHN_BEFORE or SHN_AFTER. * elfcode.h (elf_object_p): Likewise. readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and SHF_ORDERED. (process_section_headers): Warn about out of range sh_link values. When displaying detailed section header information annote the SHN_BEFORE and SHN_AFTER values.
2009-09-092009-09-09 Tristan Gingold <gingold@adacore.com>Tristan Gingold3-2/+93
Handle DYLD_INFO introduced by Darwin10. * mach-o.h (bfd_mach_o_load_command_type): Add BFD_MACH_O_LC_DYLD_INFO. (bfd_mach_o_dyld_info_command): New type. (bfd_mach_o_load_command): Add dyld_info field. * mach-o.c (bfd_mach_o_scan_read_str): Reduce size of buf. (bfd_mach_o_scan_read_dyld_info): New function. (bfd_mach_o_scan_read_command): Handle BFD_MACH_O_LC_DYLD_INFO. (bfd_mach_o_bfd_print_private_bfd_data): Ditto. (bfd_mach_o_load_command_name): AddB FD_MACH_O_LC_DYLD_INFO. (bfd_mach_o_print_dyld_info): New function.
2009-09-09 * config/obj-coff.h (USE_UNIQUE): Don't define.Alan Modra5-7/+10
* config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE. * symbols.c (an_external_name): Define when TE_PE. (S_SET_EXTERNAL): Assign an_external_name when TE_PE. * tc.h (an_external_name): Declare when TE_PE.
2009-09-09 * ld-elf/sec64k.exp: For frv-linux use "aw" sections.Alan Modra28-4/+188
* ld-elf/seg.d: Cater for GNU_STACK segment. * ld-elf/symbol1ref.s: Use data section. * ld-elf/symbol2ref.s: Likewise. * ld-scripts/empty-address-1.d: Don't run on frv-linux. * ld-scripts/empty-address-2a.d: Likewise. * ld-scripts/empty-address-2b.d: Likewise. * ld-scripts/empty-aligned.d: Likewise. * ld-elf/extract-symbol-1sym.d: Tolerate extra target supplied syms. * ld-scripts/sort_b_a-1.d: Likewise. * ld-scripts/sort_b_a.d: Likewise. * ld-scripts/sort_b_a_a-1.d: Likewise. * ld-scripts/sort_b_a_a-2.d: Likewise. * ld-scripts/sort_b_a_a-3.d: Likewise. * ld-scripts/sort_b_a_n-1.d: Likewise. * ld-scripts/sort_b_a_n-2.d: Likewise. * ld-scripts/sort_b_a_n-3.d: Likewise. * ld-scripts/sort_b_n-1.d: Likewise. * ld-scripts/sort_b_n.d: Likewise. * ld-scripts/sort_b_n_a-1.d: Likewise. * ld-scripts/sort_b_n_a-2.d: Likewise. * ld-scripts/sort_b_n_a-3.d: Likewise. * ld-scripts/sort_b_n_n-1.d: Likewise. * ld-scripts/sort_b_n_n-2.d: Likewise. * ld-scripts/sort_b_n_n-3.d: Likewise. * ld-scripts/sort_no-1.d: Likewise. * ld-scripts/sort_no-2.d: Likewise.
2009-09-09Only provide ENTRY on final link.Alan Modra36-35/+73
2009-09-09 * config/tc-i386.c (i386_target_format): Avoid duplicate case label.Alan Modra2-7/+12
2009-09-092009-09-09 M R Swami Reddy <MR.Swami.Reddy@nsc.com>M R Swami Reddy2-0/+19
* elf32-cr16.c (elf32_cr16_relocate_section): Add code to discard the linkonce or linker script discarded section.
2009-09-09 * elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check.Alan Modra2-4/+4
2009-09-09daily updateAlan Modra1-1/+1
2009-09-09*** empty log message ***gdbadmin1-1/+1
2009-09-08 * target.c (initialize_targets): Fix thinko in stack_cache_enabled_p.Doug Evans2-1/+5
2009-09-08* cpu/mep.opc (mep_cgen_insn_supported_asm): Change the test to aDJ Delorie2-1/+5
preprocessor macro, not an enum.
2009-09-082009-09-08 Michael Snyder <msnyder@vmware.com>Michael Snyder6-1812/+1890
* amd64-linux-tdep.h (enum amd64_syscall): New enum consts, to replace literal consts used in amd64-linux-tdep.c * linux-record.h (enum gdb_syscall): New enum consts, to replace literal consts used in amd64-linux-tdep.c and linux-record.c. * amd64-linux-tdep.c (amd64_canonicalize_syscall): New function, translate from native amd64 Linux syscall id to internal gdb id. (amd64_linux_syscall_record): Switch statement abstracted out and replaced with a call to amd64_canonicalize_syscall. * linux-record.c (record_linux_system_call): Replace literal consts with enum consts. * i386-linux-tdep.c (i386_canonicalize_syscall): New function, trivially translate from native i386 Linux syscalls to gdb syscalls. (i386_linux_intx80_sysenter_record):
2009-09-08 * output.cc (Output_file::open): Add execute permission to empty file.Cary Coutant4-13/+69
* testsuite/Makefile.am (permission_test): New test. * testsuite/Makefile.in: Regenerate.
2009-09-08Fix parallel check//% rule in gdb for non-VPATH build.Ralf Wildenhues2-8/+17
gdb/: * gdb/Makefile.in (check//%): Parse 'config.status --version' output to recreate the configuration from the testsuite directory, rather than running 'config.status --recheck' from a different build directory. Let configure do the recursion rather than doing it manually.
2009-09-08gdb/Jan Kratochvil2-0/+6
* ia64-tdep.c (ia64_memory_remove_breakpoint): Call do_cleanups before a return.
2009-09-08Fix toplevel config.status for HP-UX sed.Ralf Wildenhues3-21/+62
/: * configure.ac: Do not use $extrasub for replacing @if/@endif parts in Makefile; instead, use additional arguments to AC_CONFIG_COMMANDS to do the replacement manually, with several sed invocations, to avoid HP-UX sed command limits. * configure: Regenerate.
2009-09-08gdb/Jan Kratochvil2-6/+25
* ia64-tdep.c (ia64_memory_insert_breakpoint) (ia64_memory_remove_breakpoint): Return immediately if any of memory reads fail. Do not combine the VAL values.
2009-09-08gdb/Jan Kratochvil4-12/+61
Fix ia64 shadowing of breakpoints in multiple slots of a single bundle. * ia64-tdep.c (ia64_memory_insert_breakpoint): New call of make_show_memory_breakpoints_cleanup with parameter 0. Move the reading of SHADOW_CONTENTS to this memory state point of code. Update comment for the memory re-read. gdb/testsuite/ * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize $bpt2address. (Second breakpoint address is valid on ia64) (Third breakpoint on ia64 in the Second breakpoint's bundle): New.