aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-11-29 bfd/Mark Shinwell23-38/+972
* archures.c (bfd_mach_mips_loongson_2e): New. (bfd_mach_mips_loongson_2f): New. * bfd-in2.h (bfd_mach_mips_loongson_2e): New. (bfd_mach_mips_loongson_2f): New. * cpu-mips.c: Add I_loongson_2e and I_loongson_2f to anonymous enum. (arch_info_struct): Add Loongson-2E and Loongson-2F entries. * elfxx-mips.c (_bfd_elf_mips_mach): Handle Loongson-2E and Loongson-2F flags. (mips_set_isa_flags): Likewise. (mips_mach_extensions): Add Loongson-2E and Loongson-2F entries. binutils/ * readelf.c (get_machine_flags): Handle Loongson-2E and -2F flags. gas/ * config/tc-mips.c (mips_cpu_info_table): Add loongson2e and loongson2f entries. * doc/c-mips.texi: Document -march=loongson{2e,2f} options. gas/testsuite/ * gas/mips/mips.exp: Add loongson-2e and -2f tests. * gas/mips/loongson-2e.d: New. * gas/mips/loongson-2e.s: New. * gas/mips/loongson-2f.d: New. * gas/mips/loongson-2f.s: New. include/elf/ * mips.h (E_MIPS_MACH_LS2E): New. (E_MIPS_MACH_LS2F): New. include/opcode/ * mips.h (INSN_LOONGSON_2E): New. (INSN_LOONGSON_2F): New. (CPU_LOONGSON_2E): New. (CPU_LOONGSON_2F): New. (OPCODE_IS_MEMBER): Update for Loongson-2E and -2F flags. opcodes/ * mips-dis.c (mips_arch_choices): Add Loongson-2E and -2F entries. * mips-opc.c (IL2E): New. (IL2F): New. (mips_builtin_opcodes): Add Loongson-2E and -2F instructions. Allow movz and movn for Loongson-2E and -2F. Add movnz entry. Move coprocessor encodings to the end of the table. Allow certain MIPS V .ps instructions on the Loongson-2E and -2F.
2007-11-29 include/opcode/Mark Shinwell4-162/+209
* mips.h (INSN_ISA*): Redefine certain values as an enumeration. Update comments. (mips_isa_table): New. (ISA_MIPS*): Redefine to match enumeration. (OPCODE_IS_MEMBER): Modify to correctly test new INSN_ISA* values. opcodes/ * mips-opc.c (I3_32, I3_33, I4_32, I4_33, I5_33): New. (mips_builtin_opcodes): Use these new I* values.
2007-11-292007-11-29 Martin Schwidefsky <schwidefsky@de.ibm.com>Martin Schwidefsky5-10/+30
* config/tc-s390.c (md_begin): If the -mesa option is specified add zarch opcodes to the hash table only if there is no variant that is available for the esa mode as well. 2007-11-29 Martin Schwidefsky <schwidefsky@de.ibm.com> * gas/s390/esa-z9-109.d: Add check for old version of sske. * gas/s390/esa-z9-109.s: Likewise.
2007-11-29PR ld/5398Nick Clifton2-4/+16
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Do not complain if there is no glue bfd, just return.
2007-11-29 Stop infrun from tracking breakpoint insertion status.Vladimir Prus4-49/+67
The checks of breakpoints_inserted before calling remove_breakpoints are removed, as remove_breakpoint won't touch uninserted breakpoints. In a number of places, we're interested if a breakpoint is inserted at particular PC, and we now use breakpoint_inserted_here_p. In a few places, insert_breakpoints can be called unconditionally, since it won't try to insert already inserted breakpoint. * breakpoint.h (regular_breakpoint_inserted_here_p): New declaration. * breakpoint.c (regular_breakpoint_inserted_here_p): New. (breakpoint_inserted_here_p): Use regular_breakpoint_inserted_here_p. * infrun.c (breakpoints_inserted): Remove. (resume): Don't check for breakpoints_inserted before remove_hw_watchpoints. Use breakpoint_inserted_here_p. (proceed, init_wait_for_inferior): Don't set breakpoints_inserted. (handle_inferior_event): Don't use breakpoints_inserted. Use breakpoints_meant_to_be_inserted and breakpoints_inserted_here_p. (insert_step_resume_breakpoint_at_sal, keep_going): Use breakpoints_meant_to_be_inserted. Don't set breakpoints_inserted. (normal_stop): Don't check for breakpoints_inserted. Don't set breakpoints_inserted. (keep_going): Don't check for breakpoints_inserted. (insert_step_resume_breakpoint_at_sal): Don't insert breakpoints
2007-11-29*** empty log message ***gdbadmin1-1/+1
2007-11-28daily updateAlan Modra1-1/+1
2007-11-28Don't try to delete the output file if we don't know its name yet.Ian Lance Taylor2-1/+7
2007-11-28From Craig Silverstein: Fix up comments.Ian Lance Taylor1-5/+5
2007-11-28* breakpoint.c (watch_command_1): When the watchpoint isn't localJim Blandy2-1/+7
to any frame, initialize watchpoint_frame using null_frame_id, not a memset.
2007-11-28From Craig Silverstein: Better handling of ODR violations which areIan Lance Taylor5-48/+255
not in a function.
2007-11-28 * internal.h (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope withNathan Sidwell2-3/+9
segments at the end of memory.
2007-11-28* elf-m10300.c (mn10300_elf_relax_section): Extend previous fix to cover ↵Nick Clifton7-3/+62
forward jumps. * ld-mn10300/i135409-5.s: New test case. Check for relaxation to a 16-bit backward jump instruction. * ld-mn10300/i135409-5.t: Linker script for the new test. * ld-mn10300/i135409-5.d: Expected disassembly of new test. * ld-mn10300/mn10300.exp: Run the new test.
2007-11-28 * infrun.c (resume): Set right thread even ifVladimir Prus2-1/+7
stepping over breakpoint using software single step.
2007-11-28*** empty log message ***gdbadmin1-1/+1
2007-11-27(print_varobj): Revert change from 2007-08-31.Nick Roberts1-8/+12
(mi_print_value_p): Guard against type = NULL.
2007-11-27*** empty log message ***Nick Roberts1-0/+5
2007-11-27daily updateAlan Modra1-1/+1
2007-11-27 * dfp.c (decimal_from_string): Remove superfluous newline fromThiago Jung Bauermann4-4/+13
error string. (decimal_to_string): Likewise. * printcmd.c (printf_command): Change string buffer to use MAX_DECIMAL_STRING constant. * value.c (value_from_decfloat): Likewise.
2007-11-27 * Makefile.in (ALL_TARGET_OBS): Remove object files that requireUlrich Weigand5-154/+664
64-bit CORE_ADDR and BFD support, move them to ... (ALL_64_TARGET_OBS): ... this new variable. * configure.ac: Check for --enable-64-bit-bfd option. Only add 64-bit targets with --enable-targets=all if BFD supports 64-bit. * configure: Regenerate. * i386-cygwin-tdep.c (i386_cygwin_osabi_sniffer): Do not claim all elf32-i386 executables, only cygwin core files.
2007-11-272007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>Andreas Krebbel1-6/+6
* s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt", "tgxt"): Removed. ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added.
2007-11-272007-11-27 Andreas Krebbel <krebbel1@de.ibm.com>Andreas Krebbel4-12/+25
* s390-opc.txt ("tcet", "tcdt", "tcxt", "tget", "tgdt", "tgxt"): Removed. ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added. 2007-11-27 Andreas Krebbel <krebbel1@de.ibm.com> * gas/s390/zarch-z9-ec.d: ("tcet", "tcdt", "tcxt", "tget", "tgdt", "tgxt"): Removed. ("tdcet", "tdcdt", "tdcxt", "tdget", "tdgdt", "tdgxt"): Added. * gas/s390/zarch-z9-ec.s: Likewise.
2007-11-27Rework merge_map for speed.Ian Lance Taylor3-90/+263
2007-11-27*** empty log message ***gdbadmin1-1/+1
2007-11-26daily updateAlan Modra1-1/+1
2007-11-26 * cxxfilt.c (demangle_it): Don't call printf without format string.Alan Modra2-2/+6
2007-11-26 * config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand.Alan Modra2-1/+6
2007-11-26*** empty log message ***gdbadmin1-1/+1
2007-11-25daily updateAlan Modra1-1/+1
2007-11-25gdb/Jan Kratochvil5-102/+225
* dwarf2read.c (dwarf2_get_pc_bounds): Moved the `DW_AT_ranges' parsing code with its variables OBJFILE, CU_HEADER and OBFD into ... (dwarf2_ranges_read): ... a new function. (read_partial_die): Implemented the parsing of `DW_AT_ranges'. gdb/testsuite/ * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
2007-11-25*** empty log message ***gdbadmin1-1/+1
2007-11-24daily updateAlan Modra1-1/+1
2007-11-24 * win32-nat.c (DR6_CLEAR_VALUE): New define.Pedro Alves3-70/+104
(thread_info_struct): Rename suspend_count to suspended, to be used as a flag. (thread_rec): Only suspend the thread if it wasn't suspended by gdb before. Warn if suspending failed. (win32_add_thread): Set Dr6 to DR6_CLEAR_VALUE. (win32_continue): Set Dr6 to DR6_CLEAR_VALUE. Update usage of the `suspended' flag. Do ContinueDebugEvent after resuming the suspended threads, not before. Set threads' contexts before resuming them, not after. (win32_resume): Set Dr6 to DR6_CLEAR_VALUE.
2007-11-24*** empty log message ***gdbadmin1-1/+1
2007-11-23daily updateAlan Modra1-1/+1
2007-11-23 * breakpoint.c (insert_breakpoints)Vladimir Prus2-4/+5
(insert_bp_location): Remove stale comments.
2007-11-23* mips-linux-tdep.h: Fix some formatting.Maciej W. Rozycki2-8/+12
2007-11-23*** empty log message ***gdbadmin1-1/+1
2007-11-22daily updateAlan Modra1-1/+1
2007-11-22* gdb.trace/backtrace.exp: Fix a typo.Maciej W. Rozycki8-7/+17
* gdb.trace/circ.exp: Likewise. * gdb.trace/collection.exp: Likewise. * gdb.trace/limits.exp: Likewise. * gdb.trace/report.exp: Likewise. * gdb.trace/tfind.exp: Likewise. * gdb.trace/while-dyn.exp: Likewise.
2007-11-22Make Merge_key_less operator() inline.Ian Lance Taylor2-2/+2
2007-11-22Add threading support.Ian Lance Taylor31-437/+1443
2007-11-22*** empty log message ***gdbadmin1-1/+1
2007-11-21daily updateAlan Modra1-1/+1
2007-11-21 * dwarf.c (display_debug_loc): Cast section_end - start to longHans-Peter Nilsson2-1/+6
for output format.
2007-11-21* elf-m10300.c (mn10300_elf_relax_section): Allow for alignment relocs whenNick Clifton7-1/+91
computing whether instructions can be relaxed. * ld-mn10300/i135409-4.s: New test case. Check for relaxation to a 16-bit jump instruction. * ld-mn10300/i135409-4.t: Linker script for the new test. * ld-mn10300/i135409-4.d: Expected disassembly of new test. * ld-mn10300/mn10300.exp: Run the new test.
2007-11-21* dwarf.c (display_debug_loc): Issue a warning if there are bytes at the endNick Clifton2-0/+10
of the .debug_loc section which are not referenced by any attribute in the .debug_info section.
2007-11-212007-11-21 Markus Deuling <deuling@de.ibm.com>Markus Deuling2-6/+12
* stack.c (print_args_stub): Use get_frame_arch to get at the current architecture and replace current_gdbarch. (frame_info): Likewise.
2007-11-21*** empty log message ***gdbadmin1-1/+1
2007-11-20daily updateAlan Modra1-1/+1