aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-09-30 * gdb-events.sh (selected_thread_changed): New event.Keith Seitz4-0/+42
* gdb-events.c: Regenerated. * gdb-events.h: Regenerated.
2002-09-30 * MAINTAINERS: Add self to Write After Approval list.Hans-Peter Nilsson2-0/+5
2002-09-30 * disasm.c: New file.Fernando Nasser5-379/+457
* disasm.h: New file. * mi/mi-cmd-disas.c (gdb_dis_asm_read_memory): Moved to disasm.c. (compare_lines): Ditto. (dump_insns): Ditto. (do_mixed_source_and_assembly): Moved to disasm.c. Added uiout argument. (do_assembly_only): Ditto. (do_disassembly): Renamed to gdb_disassembly and moved to disasm.c. Sdded uiout argument. * Makefile.in: Add new files. Reorder SFILES list. Update dependencies. Include libgdb.a later in the insight executable.
2002-09-30Fix date in last commit.Richard Sandiford1-1/+1
2002-09-30[gas/]Richard Sandiford17-10/+789
* doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181, vr5400 and vr5500. Add entry for -mfix-vr4122-bugs. * config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros. (hilo_interlocks): True for CPU_VR5500. (gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500. (mips_fix_vr4122_bugs): New. (append_insn): Work around 4122 errors if mips_fix_vr4122_bugs. (mips_emit_delays): Likewise. (macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR. [M_ROLI]: Likewise ror if CPU_HAS_ROR. (validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'. (OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options. (md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs. (OPTION_ELF_BASE): Bump. (md_parse_option): Handle the new options. (mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181, vr5400 and vr5500. [gas/testsuite/] * gas/mips/mips4100.[sd]: Move dmadd16 and madd16 checks to... * gas/mips/vr4111.[sd]: ...this new test. * gas/mips/vr4120.[sd], * gas/mips/vr4122.[sd], * gas/mips/vr5400.[sd], * gas/mips/vr5500.[sd]: New tests. * mips.exp: Run them.
2002-09-30[include/opcode/]Richard Sandiford5-25/+218
* mips.h: Update comment for new opcodes. (OP_MASK_VECBYTE, OP_SH_VECBYTE): New. (OP_MASK_VECALIGN, OP_SH_VECALIGN): New. (INSN_4111, INSN_4120, INSN_5400, INSN_5500): New. (CPU_VR4120, CPU_VR5400, CPU_VR5500): New. (OPCODE_IS_MEMBER): Handle the new CPU_* values and INSN_* flags. Don't match CPU_R4111 with INSN_4100. [opcodes/] * mips-dis.c (print_insn_arg): Handle '[', ']', 'e' and '%'. (mips_isa_type): Handle bfd_mach_mips4120, bfd_mach_mips5400 and bfd_mach_mips5500. * mips-opc.c (V1): Include INSN_4111 and INSN_4120. (N411, N412, N5, N54, N55): New convenience defines. (mips_builtin_opcodes): Add vr4120, vr5400 and vr5500 opcodes. Change dmadd16 and madd16 from V1 to N411.
2002-09-30[include/elf]Richard Sandiford7-6/+92
* mips.h (E_MIPS_MACH_4120, E_MIPS_MACH_5400, E_MIPS_MACH_5500): New. [bfd/] * archures.c (bfd_mach_mips4120, bfd_mach_mips5400): New. (bfd_mach_mips5500): New. * cpu-mips.c (I_mips4120, I_mips5400, I_mips5500): New. (arch_info_struct): Add corresponding entries here. * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_4120, E_MIPS_MACH_5400 and E_MIPS_MACH_5500. (_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4120, bfd_mach_mips5400 and bfd_mach_mips5500. (_bfd_mips_elf_mach_extends_p): New function. (_bfd_mips_elf_merge_private_bfd_data): Use it to help merge the EF_MIPS_MACH flags. * bfd-in2.h: Regenerate.
2002-09-30Add cpu directory.Nick Clifton2-1/+7
2002-09-30 * scripttempl/elfd30v.sc: Order reloc sections placing .plt last.Alan Modra4-49/+51
* scripttempl/elfm68hc11.sc: Likewise. * scripttempl/elfm68hc12.sc: Likewise.
2002-09-30 * gdb.texinfo (Packets): Fix typos "alligned".Hans-Peter Nilsson2-5/+10
Correct z3/Z3 description. Correct z4/Z4 title.
2002-09-302002-09-29 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+19
* config/tc-mips.c (md_apply_fix3): Subtract the symbol value twice if howto->pcrel_offset is true.
2002-09-30 * ld-powerpc/powerpc.exp: Restrict to 32 bit ELF.Alan Modra2-2/+6
2002-09-30 * ld-powerpc/reloc.s, ld-powerpc/reloc.d: New.Alan Modra4-0/+74
* ld-powerpc/powerpc.exp: New.
2002-09-30No need to set OTHER_GOT_RELOC_SECTIONS in emulparams/elf32ppclinux.sh.H.J. Lu2-5/+1
2002-09-30 * ld-i386/reloc.s, ld-i386/reloc.d: New.Alan Modra4-0/+33
* ld-i386/i386.exp: Run new test.
2002-09-30 * emultempl/elf32.em (output_rel_find): Always place orphan loadableAlan Modra2-27/+36
reloc sections just before .rel.plt/.rela.plt. (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code. Only put loadable reloc sections in hold_rel.
2002-09-302002-09-29 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni7-15/+46
* tui.c (tui_show_source): Don't access current_source_symtab, use accessor function instead. Include source.h and symtab.h * tuiDisassem.c (tuiShowDisassemAndUpdateSource, tuiVerticalDisassemScroll): Use accessor functions for current source line and symtab. Include source.h. * tuiLayout.c (_extractDisplayStartAddr): Use accessor functions for current source line and symtab. Include source.h. * tuiWin.c (_makeVisibleWithNewHeight): Ditto. * tuiSourceWin.c (tuiUpdateSourceWindowAsIs, tuiHorizontalSourceScroll): Ditto. * tuiSource.c (tuiVerticalSourceScroll): Ditto.
2002-09-30daily updateAlan Modra1-1/+1
2002-09-30*** empty log message ***gdbadmin1-1/+1
2002-09-292002-09-29 H.J. Lu <hjl@gnu.org>H.J. Lu3-0/+12
* ld/emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New. * ld/emulparams/elf32ppclinux.sh (OTHER_GOT_RELOC_SECTIONS): New.
2002-09-292002-09-29 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-26/+34
Revert below (note that src does not contain Makefile.tpl): * Makefile.tpl: Make subsituted variables more autoconfy. * Makefile.in: Regenerate.
2002-09-292002-09-29 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+7
* config/djgpp/fnchange.lst: Rename bfd/elf64-alpha.c and bfd/elf64-alpha-fbsd.c.
2002-09-292002-09-29 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+7
* config/djgpp/fnchange.lst: Rename i386gnu-nat.c and i386gnu-tdep.c.
2002-09-292002-09-29 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2-48/+100
* configure: Revert accidentally applied changes.
2002-09-292002-09-29 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode5-116/+70
* Makefile.tpl: Make more autoconf-friendly. * Makefile.in: Regenerate. * configure: Make substitution more autoconf-like. 2002-09-28 Richard Earnshaw <rearnsha@arm.com> * configure.in (arm-*-coff, strongarm-*-coff, xscale-*-coff): Use a single entry to handle all these. (arm-*-elf, strongarm-*-elf, xscale-*-elf): Likewise. Also enable libjava on arm-*-elf.
2002-09-29Zap __FUNCTION__.Andrew Cagney3-10/+22
2002-09-29Delete no-longer-needed tests.Andrew Cagney19-4717/+10
2002-09-29*** empty log message ***gdbadmin1-1/+1
2002-09-29daily updateAlan Modra1-1/+1
2002-09-28* elf32-vax.c (elf_vax_size_dynamic_section): Don't stripJason Thorpe2-10/+6
.got sections.
2002-09-28* config/tc-vax.c (md_estimate_size_before_relax): Only try toJason Thorpe2-7/+13
convert undefined references to GOT32/PLT32 if PIC code is requested. Fix comment.
2002-09-28 * sh-tdep.c (sh_use_struct_convention): Use definition according to ABI.Corinna Vinschen2-5/+25
(sh_push_arguments): Store in register with correct endianess. (sh_default_store_return_value): Ditto. (sh_gdbarch_init): Set sizeof long double to 8.
2002-09-28 * elf.c (map_sections_to_segments): Correct test for start ofAlan Modra2-2/+8
writable section in the same page as end of read-only section.
2002-09-28 * configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or theGeoffrey Keating2-0/+8
things that depend on them.
2002-09-28 * gdb.base/annota1.exp (info break): Make directory components ofKevin Buettner3-10/+28
path optional since not all compilers emit this debug information. * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first step ends up stepping out of the function instead of stopping on the epilogue.
2002-09-282002-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>Daniel Jacobowitz6-0/+47
* config/tc-sh.c (sh_force_relocation): Return 0 for some PC relative relocations when not relaxing. * testsuite/gas/sh/pcrel2.s: New. * testsuite/gas/sh/pcrel2.d: New. * testsuite/gas/sh/basic.exp: Add pcrel2 test.
2002-09-28*** empty log message ***gdbadmin1-1/+1
2002-09-28daily updateAlan Modra1-1/+1
2002-09-27Add support for -m option. Fix PR gdb/433.Andrew Cagney2-2/+25
2002-09-27* gas/vax/elf-rel.[ds]: New test.Jason Thorpe4-2/+87
* gas/vax/quad.exp: Move contents to... * gas/vax/vax.exp: ...here. New file.
2002-09-27* elf32-vax.c (elf_vax_check_relocs): Remove unusedJason Thorpe2-72/+104
local_got_refcounts usage. Remove allocation of got slot. (elf_vax_gc_sweep_hook): Remove unused local_got_refcounts usage. Remove de-allocation of got slot. (elf_vax_size_dynamic_section): Fix some indentation. Add hash traversal for elf_vax_instantiate_got_entries. Allow empty .got sections to be GC'ed. (elf_vax_instantiate_got_entries): New function. (elf_vax_relocate_section): Simplify R_VAX_GOT32 handling. Remove tests that are now handled by elf_vax_instantiate_got_entries. Assert GOT entry falls within .got section size. Remove redundant comparisions. Fix comments.
2002-09-27Last ChangeLog entry for defs.h is for both this patch and the previous patch.Mark Kettenis1-5/+5
2002-09-27* defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h".Mark Kettenis2-5/+11
Fix some whitespace problems.
2002-09-272002-09-27 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-1/+6
* hw_disk.c (hw_disk_init_address): Set device type to "block", not "disk".
2002-09-272002-09-27 David Carlton <carlton@math.stanford.edu>David Carlton8-6/+28
* Makefile.in (cris-tdep.o): Depend on gdb_string_h. (mcore-tdep.o): Ditto. (ns32k-tdep.o): Ditto. (ns32knbsd-tdep.o): Ditto. (sh3-rom.o): Ditto. (vax-tdep.o): Ditto. * cris-tdep.c: #include "gdb_string.h" * mcore-tdep.c: Ditto. * ns32k-tdep.c: Ditto. * ns32knbsd-tdep.c: Ditto. * sh3-rom.c: Ditto. * vax-tdep.c: Ditto.
2002-09-27bfd/Jakub Jelinek28-455/+2333
* reloc.c: Add x86-64 TLS relocs. * bfd-in2.h, libbfd.h: Rebuilt. * elf64-x86-64.c (x86_64_elf_howto): Fix size fields for 32-bit relocs. Add TLS relocs. (x86_64_reloc_map): Add TLS relocs. (elf64_x86_64_info_to_howto): Adjust for added TLS relocs. (struct elf64_x86_64_link_hash_entry): Add tls_type field. (GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE): Define. (elf64_x86_64_hash_entry): Define. (struct elf64_x86_64_obj_tdata): New. (elf64_x86_64_tdata, elf64_x86_64_local_got_tls_type): Define. (struct elf64_x86_64_link_hash_table): Add tls_ld_got. (link_hash_newfunc): Initialize tls_type. (elf64_x86_64_link_hash_table_create): Initialize tls_ld_got. (elf64_x86_64_copy_indirect_symbol): Swap tls_type if necessary. (elf64_x86_64_mkobject): New. (elf64_x86_64_elf_object_p): Allocate struct elf64_x86_64_obj_tdata. (elf64_x86_64_tls_transition): New. (elf64_x86_64_check_relocs): Add r_type variable and use it. Handle TLS relocs. (elf64_x86_64_gc_sweep_hook): Handle TLS relocs. (allocate_dynrelocs): Allocate GOT space for TLS relocs. (elf64_x86_64_size_dynamic_sections): Likewise. (dtpoff_base, tpoff): New. (elf64_x86_64_relocate_section): Handle TLS relocs. (elf64_x86_64_finish_dynamic_symbol): Only handle non-TLS GOT entries. (bfd_elf64_mkobject): Define. * elf32-i386.c (elf_i386_check_relocs) [R_386_TLS_LE]: Set DF_STATIC_TLS if shared. gas/ * config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs. Define them if not BFD_ASSEMBLER. (lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add @tlsld. (md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD, BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF. (tc_gen_reloc): Handle x86-64 TLS relocs. include/ * elf/x86-64.h: Add TLS relocs. ld/testsuite/ * lib/ld-lib.exp (run_ld_link_tests): Add. * ld-sh/sh64/sh64.exp (run_ld_link_tests, regexp_diff, file_contents): Remove. (sh64tests): Add 6th field to the tests array. * ld-i386/i386.exp (run_ld_link_tests): Remove. * ld-x86-64/x86-64.exp: New. * ld-x86-64/tlsbin.dd: New test. * ld-x86-64/tlsbinpic.s: New test. * ld-x86-64/tlsbin.rd: New test. * ld-x86-64/tlsbin.s: New test. * ld-x86-64/tlsbin.sd: New test. * ld-x86-64/tlsbin.td: New test. * ld-x86-64/tlslib.s: New test. * ld-x86-64/tlspic1.s: New test. * ld-x86-64/tlspic2.s: New test. * ld-x86-64/tlspic.dd: New test. * ld-x86-64/tlspic.rd: New test. * ld-x86-64/tlspic.sd: New test. * ld-x86-64/tlspic.td: New test.
2002-09-272002-09-27 David Carlton <carlton@math.stanford.edu>David Carlton2-1/+10
* config/djgpp/fnchange.lst: Add entries for gdb/testsuite/gdb.c++/m-static files.
2002-09-27Fix bug in support for trap instruction.Jim Wilson2-1/+5
* simops (OP_10007E0): Don't subtract 4 from PC.
2002-09-27 * MAINTAINERS: Add myself to the Write After Approval list.Jim Wilson1-0/+4
2002-09-27Add myself to write-after-approval section with Andrew Cagney's permission.Jim Wilson1-0/+1