aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-09-06Note fix to lib/gdb.exp.Per Bothner1-0/+5
1994-09-06 Add new style linker support to COFF backend. a29k only for now.Ian Lance Taylor11-245/+2788
* cofflink.c: New file. * libcoff-in.h: Include bfdlink.h. (obj_coff_external_syms, obj_coff_strings): Define accessor macro. (obj_coff_sym_hashes): Define accessor macro. (struct coff_tdata): Add fields external_syms, strings, and sym_hashes. (struct coff_link_hash_entry): Define. (struct coff_link_hash_table): Define. (coff_link_hash_lookup, coff_link_hash_traverse): Define. (coff_hash_table): Define. (_bfd_coff_link_hash_table_create): Declare. (_bfd_coff_link_add_symbols, _bfd_coff_final_link): Declare. * coffcode.h (bfd_coff_backend_data): Add fields _bfd_relsz, _bfd_coff_swap_reloc_in, _bfd_coff_sym_is_global, _bfd_coff_compute_section_file_positions, _bfd_coff_relocate_section. (bfd_coff_relsz, bfd_coff_swap_reloc_in): Define. (bfd_coff_sym_is_global): Define. (bfd_coff_compute_section_file_positions): Define. (bfd_coff_relocate_section): Define. (coff_mkobject_hook): Initialize obj_raw_syment_count and obj_conv_table_size. (coff_compute_section_file_positions): Set target_index of all sections. Set output_has_begun field. (coff_write_object_contents): Don't set target_index; now done by coff_compute_section_file_positions. Remove obsolete handling of scn_base and data_base. Don't bother to check that target_index is positive, since it always is. Remove use of pad, which is always zero. Check obj_raw_syment_count, not bfd_get_symcount, for the number of symbols, but only write them out if bfd_get_symcount is non-zero. (coff_slurp_symbol_table): Use obj_raw_syment_count, not bfd_get_symcount for the number of symbols. Don't set obj_conv_table_size. (coff_sym_is_global): New static function or macro. (coff_slurp_reloc_table): Call coff_swap_reloc_in, not bfd_swap_reloc_in. (coff_bfd_link_hash_table_create): If coff_relocate_section is defined, define as _bfd_coff_link_hash_table_create. (coff_bfd_link_add_symbols): Similar change. (coff_bfd_final_link): Similar change. (coff_relocate_section): Define as NULL if not defined. (bfd_coff_std_swap_table): Initialize new fields. * coffgen.c (coff_real_object_p): Don't set obj_raw_syment_count and obj_conv_table_size here. (coff_count_linenumbers): Reindent. If bfd_get_symcount is zero, add up the line numbers from the sections. (coff_write_symbols): Don't set bfd_get_symcount. (coff_pointerize_aux): Don't pointerize a nonpositive x_endndx field. (coff_get_normalized_symtab): Use obj_raw_syment_count, not bfd_get_symcount. (coff_print_symbol): If auxp->fix_end, print x_endndx value. * coffswap.h (coff_swap_reloc_in): Rename from bfd_swap_reloc_in. Reindent. Change argument type to PTR. * coff-a29k.c (coff_a29k_relocate_section): New static function. (coff_relocate_section): Define. * configure.in (a29kcoff_big_vec): Compile cofflink.o. * coff-alpha.c (alpha_ecoff_backend_data): Initialize new fields. * coff-mips.c (mips_ecoff_backend_data): Likewise. * libcoff.h: Rebuilt. * Makefile.in: Rebuilt dependencies. (BFD32_BACKENDS): Add cofflink.o. (CFILES): Add cofflink.c.
1994-09-06* coffgen.c (coff_print_symbol, case bfd_symbol_print_all): Check for sectionKen Raeburn2-1/+17
symbol, and print its aux fields with appropriate labels.
1994-09-06Makefile.in (ALL_MACHINES): ADded cpu-arm.o.Ken Raeburn2-2/+7
1994-09-06 * config/tc-mips.c (mips_cpu): New static variable.Ian Lance Taylor2-21/+123
(insns_since_cache_access): New static variable. (md_begin): Set mips_cpu as well as mips_isa. (append_insn): If mips_cpu is 4600, require four nop instructions between an instruction which accesses the cache and certain CACHE instructions. Keep track of the number of instructions seen since an instruction which accesses the cache. (md_parse_option): Set mips_cpu as well as mips_isa. PR 5433.
1994-09-06 * mips-opc.c: Set INSN_STORE_MEMORY flag for all instructionsIan Lance Taylor2-35/+55
which store a value into memory. PR 5433.
1994-09-06 * mips.h (INSN_STORE_MEMORY): Define.Ian Lance Taylor2-3/+21
PR 5433.
1994-09-06 * gdb.c++/demangle.exp (test_arm_style_demangling): RemovePeter Schauer1-0/+5
linefeed from expect pattern for repeated types with indices > 9.
1994-09-05 * ch-typeprint.c (chill_type_print_base): Make TYPE_CODE_RANGEPer Bothner2-14/+17
case more robust. This fixes PR 5016.
1994-09-05TiposIan Lance Taylor1-2/+2
1994-09-05* doc/Makefile.in (VPATH): Define using @srcdir@.Ken Raeburn1-0/+6
(prefix, program_transform_name, exec_prefix): Use autoconf style @-substitutions.
1994-09-05ARM Acorn/RISCiX target and host patches from Richard EarnshawKen Raeburn19-51/+722
1994-09-04 * i960-tdep.c (signal.h): Don't include.Stan Shebs2-1/+2
1994-09-04 * gdbint.texinfo: Removed mentions of some incorrectly placed andStan Shebs1-0/+5
obsolete conditionals, described some others.
1994-09-04 * cxux-nat.c (target_is_m88110): Remove definition.Stan Shebs2-2/+2
1994-09-04Update to reflect changes in config filesStan Shebs5-5/+14
1994-09-04 * configure.in (config/nm-empty.h): If cross only, use insteadStan Shebs9-8/+129
of config/nm-trash.h. * config/nm-trash.h: Remove. * config/nm-empty.h: New file. * config/i386/nm-m3.h: New file, includes config/nm-m3.h. * config/mips/nm-m3.h: New file, includes config/nm-m3.h. * config/m68k/nm-sysv4.h: New file, includes config/nm-sysv4.h. * config/mips/nm-sysv4.h: New file, includes config/nm-sysv4.h. * config/sparc/nm-sysv4.h: New file, includes config/nm-sysv4.h.
1994-09-03 * configure.in: Don't ln gdbtk.tcl if it's already there.Stu Grossman2-1/+5
1994-09-03Fix a typo in last changeStan Shebs1-1/+1
1994-09-03* configure.in: No longer looks for nm, tm, and xm headers inJ.T. Conklin2-17/+10
config/<header>; they are always in config/<cpu>/<header>.
1994-09-03 * objfiles.c (allocate_objfile): Add the newly-created objfile toStan Shebs6-276/+256
the end of the list of objfiles, instead of at the beginning. * xcoffread.c (allocate_include_entry): New function, abstracted from code in record_include_begin. (record_include_begin, record_include_end): Call it. * blockframe.c (reinit_frame_cache): Test inferior_pid instead of target_has_stack to decide whether to create a real stack frame for the cache. * coffread.c (process_coff_symbol) [CXUX_TARGET]: Ignore vendor section. * config/m88k/tm-cxux.h (CXUX_TARGET): Define. * h8300-tdep.c: Include "dis-asm.h" instead of <dis-asm.h>.
1994-09-03Add gdbserve.mt.Stu Grossman1-0/+1
1994-09-03Add .Sanitize.Stu Grossman1-0/+33
1994-09-03Add nlm subdir.Stu Grossman1-0/+1
1994-09-02 * ecoff.c (add_file): Don't try to generate line numbers if theIan Lance Taylor2-9/+32
symbol table has been frozen.
1994-09-02* reloc.c (enum bfd_reloc_code_real): Rewrote definition to use new "chew"Ken Raeburn4-302/+567
commands for simultaneous definition of enumerator and enumerator name table. (bfd_get_reloc_code_name): New function, for retrieving a symbolic name associated with an enumerator. * libbfd.h, bfd-in2.h: Regenerated.
1994-09-02* config/sparc/tm-nbsd.h: Add #defines to map NetBSD struct andJ.T. Conklin1-0/+22
field names into what is expected by sparc-nat.c.
1994-09-02 * config/unix.exp: If nm.new does not exist, use [transform nm].Ian Lance Taylor2-1/+6
* config/default.exp: Likewise.
1994-09-02 * c-typeprint.c (c_typedef_print): Add missing Chill support.Per Bothner2-1/+12
1994-09-01Create a .Sanitize file.Stu Grossman1-0/+49
1994-09-01 * rs6000-pinsn.c (print_insn): Use powerpc disassembler whenStu Grossman4-11/+5
doing Power PC. * config/powerpc/tm-ppc-nw.h: Define GDB_TARGET_POWERPC. * config/i386/i386lynx.mh, config/m68k/m68klynx.mh, config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh: Enable ser-tcp. * nlm/Makefile.in: Get rid of NWSOURCE. * nlm/alpha-io.S (inVti, outVti): Remove extraneous ldha's. * nlm/gdbserve.o: Add dummy __main routine. * nlm/gdbserve.def: Turn on debug.
1994-09-01 * rs6000-pinsn.c (print_insn): Use powerpc disassembler whenStu Grossman6-3/+27
doing Power PC. * config/powerpc/tm-ppc-nw.h: Define GDB_TARGET_POWERPC. * config/i386/i386lynx.mh, config/m68k/m68klynx.mh, config/rs6000/rs6000lynx.mh, config/sparc/sparclynx.mh: Enable ser-tcp. * nlm/Makefile.in: Get rid of NWSOURCE. * nlm/alpha-io.S (inVti, outVti): Remove extraneous ldha's. * nlm/gdbserve.o: Add dummy __main routine. * nlm/gdbserve.def: Turn on debug.
1994-09-01temporary change so that hppa doesn't build tkKaren Christiansen1-1/+1
1994-09-01* config/xm-nbsd.h: Don't define SET_STACK_LIMIT_HUGE; it is obsolete.Jim Kingdon2-3/+4
1994-09-01Commit again, CVS botched this last time.J.T. Conklin5-97/+0
1994-09-01* config/tm-nbsd.h: New file, support for all NetBSD targets.J.T. Conklin8-7/+174
* config/xm-nbsd.h: fix typo. * config/sparc/{nm,tm,xm}-nbsd.h: New files, renamed from {nm,tm,xm}-sparcnbsd.h to conform to prefered file naming conventions. * configure.in: (sparc-*-netbsd): use config/sparc/nbsd.m[ht].
1994-09-01* config/tm-nbsd.h: New file, support for all NetBSD targets.J.T. Conklin2-2/+10
* config/sparc/{nm,tm,xm}-nbsd.h: New files, renamed from {nm,tm,xm}-sparcnbsd.h to conform to prefered file naming conventions. * configure.in: (sparc-*-netbsd): use config/sparc/nbsd.m[ht].
1994-09-01 * gprof.h (kfromlist, ktolist, flist, Flist, elist, Elist): MakeJeff Law2-6/+11
decls extern to keep native HP compiler quiet.
1994-09-01* configure.in (*-*-netware): don't configure libg++, libio, librx, orJ.T. Conklin1-2/+5
newlib.
1994-09-01remove alloca stuff from atof-generic.cKen Raeburn1-0/+2
1994-09-01* as.h (volatile): Don't test or define here; not needed.Ken Raeburn2-2/+5
(alloca): Replace alloca-conf.h inclusion with code recommended in autoconf documentation. Include config.h first. Makefile.in (INCLUDES): Deleted last patch (using -I..).
1994-09-01autoconf bug fix -- config.status exit status should be 0Ken Raeburn1-0/+1
1994-08-31Makefile.in (INCLUDES): Include "-I.." for libiberty/alloca-conf.h.Ken Raeburn2-3/+4
1994-08-31* Makefile.in (prefix, exec_prefix): Use @-subtitutions.Ken Raeburn5-234/+153
* aclocal.m4 (AC_OUTPUT_LINKS): Deleted redefinition, since autoconf 1.109 has this fixed. * configure.in: Don't change quote characters around AC_MSG_ERROR invocation. Don't use AC_HEADER_STDC, since it requires running a program. Cache NEED_*_DECLARATION values. * configure, conf.in: Regenerated with a modified autoconf 1.109.
1994-08-31Wed Aug 31 14:40:33 1994 Jason Molenda (crash@phydeaux.cygnus.com)Jason Molenda2-2/+7
* remote-udi.c (udi_read_inferior_memory,udi_write_inferior_memory): change typeo in error msg (`inferrior' -> `inferior').
1994-08-31 * inflow.c (set_sigint_trap, clear_sigint_trap): Check forJim Kingdon4-13/+15
attach_flag (this check was performed by the callers). Also check inferior_thisrun_terminal. * inftarg.c (child_wait), lynx-nat.c (child_wait), procfs.c (wait_fd), symm-nat.c (child_wait): Don't check attach_flag in deciding whether to call set_sigint_trap and clear_sigint_trap.
1994-08-31 * configure.in (alpha-dec-osf*): Use osf*, not osf1*. Don'tIan Lance Taylor2-2/+11
configure ld--it works, but it doesn't support shared libraries.
1994-08-31 * value.h (struct value): Change literal_data from PTR to char *,Jim Kingdon1-0/+5
since that is the way it is used.
1994-08-31Add HP-Pro as a configuration. This is for the Pro target board line.Rob Savoye1-5/+42
1994-08-31 * configure.in, configure: Initialize bfd_gas to no.Ian Lance Taylor3-0/+9