aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-09-08* config/arm/xm-linux.h, config/ia64/xm-linux.h,Mark Kettenis7-18/+5
config/m68k/xm-linux.h, config/mips/xm-linux.h, config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove redundant inclusion of <unistd.h>.
2001-09-08* gdbint.texinfo (Host Definition): Remove description ofMark Kettenis2-5/+5
HAVE_SIGSETMASK.
2001-09-08* gdbtypes.h (struct block): Add forward declaration.Mark Kettenis2-0/+7
2001-09-08 * elf32-i386.c (elf_i386_relocate_section): Check !DEF_REGULARAlan Modra3-6813/+6833
as well as DEF_DYNAMIC in test for avoided copy relocs. (allocate_plt_and_got_and_discard_relocs): Likewise. * elf32-i386.c (elf_i386_relocate_section): Likewise. (allocate_plt_and_got_and_discard_relocs): Likewise.
2001-09-08mischeckin. fixed.Eric Christopher3-4/+4
2001-09-082001-09-07 Eric Christopher <echristo@redhat.com>Eric Christopher3-4/+9
* gas/mips/mips64.d: Change to use mipsisa64. * gas/mips/mips32.d: Change to use mipsisa32.
2001-09-08 * config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq withRichard Henderson2-27/+37
require_seq and allow_seq. Let !literal omit the sequence number. (tokenize_arguments): Reject sequence numbers of !allow_seq.
2001-09-08*** empty log message ***gdbadmin1-1/+1
2001-09-07 * config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGEJakub Jelinek2-0/+6
section symbols the same way as externs.
2001-09-07* defs.h (enum return_reason): Renumber so that all values areAndrew Cagney3-40/+134
negative. (RETURN_MASK): Negate reason. (catch_exception_ftype): Declare. (catch_exceptions): Declare. * top.c (catcher): New function, based on catch_errors. Add in parameter func_uiout and out parameters func_val, func_caught and func_cleanup. Change type of func to catch_exceptions_ftype. Save/restore uiout. (struct catch_errors_args): Define. (do_catch_errors): New function. (catch_errors): Rewrite, use do_catch_errors and catcher. (catch_exceptions): New function, use catcher.
2001-09-07Correctly parse register values provided by the monitor.Jim Blandy3-2/+92
* rom68k-rom.c: #include "value.h". (is_hex_digit, hex_digit_value, is_whitespace, rom68k_supply_one_register): New static functions. (rom68k_supply_register): Call rom68k_supply_one_register, instead of monitor_supply_register; the latter was incorrectly parsing the values. * Makefile.in (rom68k-rom.o): Note that this now #includes value.h.
2001-09-07 * emulparams/h8300helf.sh: Move stack to a much higher memory address.Jeff Law3-2/+7
* emulparams/h8300self.sh: Similarly.
2001-09-07* config/rs6000/xm-rs6000.h (setpgrp): Remove macro. GDB defaultsMark Kettenis2-4/+5
to using setpgid if available now.
2001-09-07 Fix wrong ChangeLog entriesThiemo Seufer1-10/+11
2001-09-07 Reallow unrestricted use of .set mipsX pseudo-op in gas.Thiemo Seufer13-10/+63
Update testcases accordingly.
2001-09-07 * elf32-mips.c (mips_elf_calculate_relocation): Fix overflow handlingThiemo Seufer15-14/+165
of R_MIPS_PC16. * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL. (macro_build): Use BFD_RELOC_16_PCREL_S2 only for embedded PIC, BFD_RELOC_16_PCREL for the rest. (mips_ip): Likewise. (md_pcrel_from): return the right offset for the differently shifted pcrel relocs. (md_apply_fix): Handle BFD_RELOC_16_PCREL. * gas/mips/beq.d: Check branches to external labels. * gas/mips/beq.s: Likewise. * gas/mips/bge.d: Likewise. * gas/mips/bge.s: Likewise. * gas/mips/bgeu.d: Likewise. * gas/mips/bgeu.s: Likewise. * gas/mips/blt.d: Likewise. * gas/mips/blt.s: Likewise. * gas/mips/bltu.d: Likewise. * gas/mips/bltu.s: Likewise. * gas/mips/elempic.d: Switch from R_MIPS_GNU_REL16_S2 to R_MIPS_PC16. * gas/mips/empic.d: Likewise. * gas/mips/empic.s: Likewise. * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise.
2001-09-07*** empty log message ***gdbadmin1-1/+1
2001-09-06 * elf64-mips.c (mips_elf64_howto_table_rel): Fix relocation HOWTOThiemo Seufer2-6953/+6908
definitions. (mips_elf64_howto_table_rel): Likewise.
2001-09-06 From Ian Roxborough <irox@redhat.com>Keith Seitz3-424/+407
* configure.in: Use ITCL_LIB_FULL_PATH and ITK_LIB_FULL_PATH to set Itcl and Itk dependancies for gdb. * configure: Regenerated.
2001-09-06Don't use error result from find_stab_function_addr().Kevin Buettner3-6/+47
2001-09-06 * gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16Thiemo Seufer2-0/+39
relocations, tradtional variant.
2001-09-06Fix import symbols for AIX.Tom Rix9-76/+114
2001-09-062001-09-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+18
* gdbint.texinfo (Target Architecture Definition): Add explanation of TARGET_PRINT_INSN macro.
2001-09-06*** empty log message ***gdbadmin1-1/+1
2001-09-052001-09-05 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni13-19/+94
* gdbarch.sh: Move include of dis-asm.h so it is generated earlier in gdbarch.h. (TARGET_PRINT_INSN): Multiarch. * gdbarch.h: Regenerate. * gdbarch.c: Regenerate. * arch-utils.c (legacy_print_insn): New function. * arch-utils.h (legacy_print_insn): Export. * cris-tdep.c (cris_delayed_get_disassembler): Use TARGET_PRINT_INSN, instead of tm_print_insn. * d10v-tdep.c (print_insn): Ditto. * d30v-tdep.c (print_insn): Ditto. * m32r-tdep.c (dump_insn): Ditto. * v850-tdep.c (v850_scan_prologue): Ditto. * mcore-tdep.c (mcore_dump_insn): Ditto. * sh-tdep.c (sh_gdbarch_init): Set print_insn gdbarch field.
2001-09-05Fix typo.Michael Snyder1-1/+6
2001-09-05* gdbtypes.h (struct type): Doc fix.Jim Blandy2-15/+27
2001-09-052001-08-31 Jason Molenda (jmolenda@apple.com)Michael Snyder1-1/+0
* c-valprint.c (c_val_print): Second call to check_typedef () is no longer necessary.
2001-09-05 * config/tc-ia64.c (FUNC_IPLT_RELOC): New.Richard Henderson2-1/+34
(pseudo_func): Add @iplt. (pseudo_opcode): Add data16 and data16.ua. (md_begin): Set iplt pseudo. (ia64_cons_fix_new): Handle 16 byte iplt reloc specially.
2001-09-05Set correct value for default (PE) stack size.Nick Clifton2-1/+6
2001-09-05 * elf64-alpha.c (SKIP_HOWTO): New.Richard Henderson5-237/+74
(elf64_alpha_howto_table): Use it to remove dead ECOFF relocs. Fix sizes of 16-bit mem format relocs. (elf64_alpha_reloc_map): Update to match. (elf64_alpha_relax_with_lituse): Use GPREL16 as appropriate. (elf64_alpha_relax_without_lituse): Likewise. (elf64_alpha_check_relocs): Handle GPREL16. (elf64_alpha_relocate_section): Likewise. * reloc.c (BFD_RELOC_ALPHA_USER_*): Remove. (BFD_RELOC_ALPHA_GPREL_HI16, BFD_RELOC_ALPHA_GPREL_LO16): New. * bfd-in2.h, libbfd.h: Rebuild.
2001-09-05 * alpha.h (R_ALPHA_OP*, R_ALPHA_IMMED*, R_ALPHA_GPVALUE): Remove.Richard Henderson2-17/+14
(R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.
2001-09-052001-09-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni4-6/+21
From Daniel Jacobowitz <drow@mvista.com> * dbxread.c (free_header_files): Make global. (init_header_files): Likewise. * stabsread.h (free_header_files): Add prototype. (init_header_files): Likewise. * mdebugread.c (mdebug_build_psymtabs): Initialize properly before using the stabs debug reader.
2001-09-05 * alpha.h (struct alpha_operand): Pack elements into bitfields.Richard Henderson2-4/+8
2001-09-05 * config/tc-alpha.c (struct alpha_insn): Make sequence scalar long.Richard Henderson16-851/+731
(MACRO_LITERAL, MACRO_BASE, MACRO_BYTOFF, MACRO_JSR): Remove. (alpha_macros): Remove occurrences of same. (O_lituse_addr, O_gprel): New. (DUMMY_RELOC_LITUSE_*): New. (s_alpha_ucons, s_alpha_arch): Prototype. (alpha_reloc_op): Construct elements via DEF macro. (ALPHA_RELOC_SEQUENCE_OK): Remove. (struct alpha_reloc_tag): Rename from alpha_literal_tag; rename members to not be literal specific. (next_sequence_num): New. (md_apply_fix3): Cope with missing GPDISP_LO16. Adjust for added/removed BFD relocations. (alpha_force_relocation, alpha_fix_adjustable): Likewise. (alpha_adjust_symtab_relocs): Handle GPDISP relocs as well. (tokenize_arguments): Parse ! relocations properly. (find_macro_match): Delete unused macro argument types. (assemble_insn): Add reloc parameter; emit that instead of the default as appropriate. (get_alpha_reloc_tag): New. Split from ... (emit_insn): ... here. Allocate a reloc tag for GPDISP. (assemble_tokens): Don't search macros if user relocation present. Copy reloc sequence number to insn struct. (emit_ldgp): Remove user reloc handling. (load_expression, emit_lda, emit_ldah, emit_ir_load): Likewise. (emit_loadstore, emit_ldXu, emit_ldil, emit_stX): Likewise. (emit_sextX, emit_division, emit_jsrjmp, emit_retjcr): Likewise. * config/tc-alpha.h (tc_adjust_symtab): Always define. (struct alpha_fix_tag): Name members less literal specific. * gas/alpha/alpha.exp: New file. * gas/alpha/elf-reloc-1.[sd]: New test. * gas/alpha/elf-reloc-2.[sl]: New test. * gas/alpha/elf-reloc-3.[sl]: New test. * gas/alpha/elf-reloc-4.[sd]: New test. * gas/alpha/fp.exp: Remove file. * gas/alpha/fp.s: Output to .data not .rdata. * gas/alpha/fp.d: Adjust to match.
2001-09-05 * readelf.c: Include elf/h8 for H8 series definitions.Jeff Law4-1/+22
(guess_is_rela): H8 series if RELA. (dump_relocations): Handle H8 series relocations. * testsuite/binutils/all/readelf.exp: Expect readelf -wi to fail for the H8 series.
2001-09-052001-09-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni6-10/+24
From Daniel Jacobowitz <drow@mvista.com> * dbxread.c (dbx_symfile_read): Only reinitialize the psymbol list if mainline or if both static and global lists are empty. * dwarf2read.c (dwarf2_build_psymtabs): Likewise. * dwarfread.c (dwarf_build_psymtabs): Likewise. * xcoffread.c (xcoff_initial_scan): Likewise. * os9kread.c (os9k_symfile_read): Likewise.
2001-09-05Tue Sep 4 20:06:09 2001 Jeffrey A Law (law@cygnus.com)Jeff Law6-113/+129
* gas/all/gas.exp (930509a): Expect failure on the H8/300 ELF port. * gas/h8300/ffxx1-elf.d: Update due to recent changes to H8/300 ELF toolchain. * gas/h8300/h8300-elf.exp: Likewise. * gas/macros/macros.exp: Expect failure on all H8/300 ports. * gas/vtable/vtable.exp: Do not run tests on H8/300 ELF ports.
2001-09-052001-09-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-5/+38
From Daniel Jacobowitz <drow@mvista.com> * mdebugread.c (psymtab_to_symtab_1): Handle N_SO stabs without a name specially.
2001-09-05 * tc-h8300.c (tc_gen_reloc): Give an error if we try to take theJeff Law2-2/+17
address of two symbols in different sections.
2001-09-05*** empty log message ***gdbadmin1-1/+1
2001-09-04merge from gccDJ Delorie3-37/+25
2001-09-04 * elf32-h8300.c (elf32_h8_relax_section): New function.Jeff Law2-0/+867
(elf32_h8_relax_delete_bytes): Likewise. (elf32_h8_symbol_address_p): Likewise. (elf32_h8_get_relocated_section_contents): Likewise. (bfd_elf32_bfd_relax_section): Define. (bfd_elf32_bfd_get_relocated_section_contents): Likewise.
2001-09-04 * elf32-h8300.c (special): New function.Jeff Law2-12/+65
(h8_elf_howto_table): Use it for SPECIAL_FUNCTION field in all relocations. (elf32_h8_final_link_relocate): Treat R_H8_DIR24A8 like 32bit relocations. Fix problems with the true 24bit reloc R_H8_DIR24R8. Fix minor problems with 8bit and 16bit PC relative relocations.
2001-09-04 * i386-dis.c (grps): Don't print the implicit al/ax/eax registerAlan Modra2-8/+13
for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns.
2001-09-04*** empty log message ***gdbadmin1-1/+1
2001-09-032001-08-30 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2-4/+9
* gdb.base/remote.c: Use a small buffer for targets with 16-bit ints.
2001-09-032001-09-03 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2-1/+7
* configure.in: Enable libstdc++-v3 for h8300 targets.
2001-09-03 * emultempl/beos.em: Declare prototypes for comparions functions,Andreas Jaeger2-29/+32
adjust definitions.
2001-09-03 * emultempl/aix.em: Add missing prototype.Andreas Jaeger10-7/+58
* emultempl/lnk960.em: Likewise. * emultempl/vanilla.em: Likewise. * emultempl/armcoff.em: Likewise. * emultempl/armelf_oabi.em: Likewise. * emultempl/beos.em: Likewise. * emultempl/gld960c.em: Likewise. * emultempl/gld960.em: Likewise. * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter for prototype declaration.