aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-07-06 * dbxread.c, elfread.c, mipsread.c, nlmread.c, os9kread.c:Peter Schauer7-28/+30
Move "no debugging symbols found" test to symfile.c. * symfile.c (syms_from_objfile, reread_symbols): Add "no debugging symbols found" test. * coffread.c (init_stringtab): Handle stripped files with a stringtab offset of zero gracefully. * osfsolib.c (solib_create_inferior_hook): Use DYNAMIC flag from BFD instead of stop_pc heuristic to determine if it is a dynamically linked object file. * procfs.c (wait_fd): Handle ENOENT error return from PIOCWSTOP ioctl, it indicates that the process has exited.
1994-07-06 * coff-alpha.c (alpha_ecoff_mkobject_hook): New hook toPeter Schauer1-0/+9
additionally copy object type information from the alpha file header to the BFD flags. (alpha_ecoff_backend_data): Use it. (ecoffalpha_little_vec): Add DYNAMIC to object_flags. * aout64.c: Fix typo in conditional QMAGIC definition.
1994-07-06 * hppabsd-core.c (hppabsd_core_core_file_p): Sanity check theJeff Law1-0/+5
value of clicksz to help weed out non HPPA BSD core files.
1994-07-06 * config/tc-ppc.c (ppc_tc): If not OBJ_COFF, force TOC entry toIan Lance Taylor1-0/+5
align to a four byte boundary.
1994-07-05 Mach 3 support.Stan Shebs5-5/+111
* config.bfd (m88*-*-mach3*, mips*-dec-mach3*, mips*-*-mach3*): New targets. * configure.host (i[34]86-*-mach3*, ns32k-*-mach3*): Recognize "mach3" instead of "mach". (m88*-*-mach3*, mips*-dec-mach3*, mips*-*-mach3*): New hosts. * targets.c (m88kmach3_vec): New target vector. (bfd_target_vector): Add i386mach3_vec and m88kmach3_vec, but inside #if 0. * aoutx.h (some_aout_object_p) [MACH]: Recognize executables by checking for execute permission, instead of looking at entry point. * i386mach3.c: Update, define MACH, N_TXTOFF, N_TXTADDR, N_SHARED_LIB, don't include aout/*.h files, etc. * m88kmach3.c: New file, m88k Mach 3 target. * config/m88k-mach3.mt, config/mips-mach3.mt: New files, target makefile fragments. * config/i386mach3.mh, config/m88kmach3.mh, config/mipsmach3.mh: New files, host makefile fragments. * hosts/m88kmach3.h, hosts/mipsmach3.h: New files, host definitions.
1994-07-05some internals doc updatesKen Raeburn1-0/+4
1994-07-05handle 32-bit addends in exprs on alphaKen Raeburn1-2/+8
1994-07-05 * objcopy.c: Include libiberty.h.Ian Lance Taylor1-0/+10
(copy_file): If output_target is NULL, set it to the target of the input file.
1994-07-05 * config/obj-elf.h (S_GET_ALIGN, S_SET_ALIGN): Define.Ian Lance Taylor1-0/+8
* config/obj-elf.c (obj_elf_common): Set alignment of common symbol. * config/tc-sparc.c (s_common): If OBJ_ELF, set alignment of common symbol.
1994-07-05 * elfcode.h (swap_out_syms): Get alignment of common symbol fromIan Lance Taylor2-28/+61
st_value field of saved ELF symbol information, if there is any.
1994-07-05 * scripttempl/hppaelf.sc (__stack_zero): Don't define this name,Jeff Law1-0/+14
it was for the HPUX dynamic loader's use and it creates problems with ELF GDB.
1994-07-05 * hppa-tdep.c (read_unwind_info): ELF unwind information is in theJeff Law2-1/+6
.PARISC.unwind section now.
1994-07-05 * som.h (R_HPPA_COMPLEX): Define.Jeff Law2-0/+86
* elf32-hppa.h (R_HPPA_COMPLEX): Define. (elf32_hppa_reloc_type): Delete R_PARISC_STUB_CALL_17.
1994-07-05Fix thinko in last changeJeff Law1-3/+2
1994-07-05 * config/tc-hppa.c (is_complex): New macro.Jeff Law2-6/+24
(cons_fix_new_hppa): "Handle" complex expressions.
1994-07-05 * breakpoint.c (mention): Always show breakpoint address if noStan Shebs1-0/+16
source file.
1994-07-02 * config/sparc/tm-sun4sol2.h (HANDLE_SVR4_EXEC_EMULATORS):Peter Schauer1-0/+3
Define to enable handling of shared libraries for a.out executables, run under Solaris BCP.
1994-07-01 * Support code for enabling the new style linker for PA ELF.Jeff Law4-57/+35
* elfcode.h (swap_symbol_in, swap_symbol_out): Externalize. (elf_compute_section_file_positions): Pass link_info to the begin_write_processing hook. (bfd_elf_write_object_contents): Pass NULL for new link_info argument to final_write_processing hook. (elf_link_output_sym): Accept new "input_section" argument for the symbols's input section. All callers changed. Call the link_output_symbol_hook if it's defined. (elf_bfd_final_link): Call the final_write_processing hook if it's defined. * libelf.h (elf_backend_link_output_symbol_hook): Declare. (elf_backend_begin_write_processing): Add new "info" argument. (elf_backend_final_write_processing): Likewise. * elf32-target.h (elf_backend_link_output_symbol_hook): Provide a default definition. (elf32_bed): Add elf_backend_link_output_symbol_hook. * elf64-target.h: Likewise. * Major rework of the PA ELF code. Uses the new style BFD linker, major cleanups. * hppa_stubs.h: Rewrite from scratch. Much smaller and simpler. * elf32-hppa.h: Delete all symbol extension related code. (hppa_look_for_stubs_in_section): Delete decl. (elf32_hppa_size_stubs, elf32_hppa_build_stubs): New decls. * elf32-hppa.c: Symbol extension stuff moved form elf32-hppa.h into elf32-hppa.c. Do not include aout64.h. (typdef hppa_stub_type): Delete. (elf32_hppa_stub_name_list_struct): Delete. (elf32_hppa_stub_description_struct): Delete. (arg_reloc_type): Use simpler enumerations. All references changed. (arg_location, arg_reloc_relocation): Likewise. (elf32_hppa_symextn_map_struct): Delete. (get_symbol_value): Delete. (elf32_hppa_get_sym_extn): Delete. (find_stubs, new_stubs, type_of_mismatch): Delete. (find_stub_by_name, add_stub_by_name): Delete. (hppa_elf_stub_finish, hppa_elf_stub_reloc): Delete. (hppa_elf_arg_reloc_needed): Renamed. Simplify. (hppa_elf_build_linker_stub, hppa_elf_create_stub_sec): Delete. (hppa_elf_long_branch_needed_p): Delete. (hppa_look_for_stubs_in_section): Delete. (hppa_elf_get_section_contents): Delete. (elf32_hppa_backend_symbol_processing): Delete. (elf32_hppa_backend_section_processing): Delete. (elf32_hppa_backend_section_from_shdr): Delete. (elf32_hppa_backend_fake_sections): Delete. (elf32_hppa_backend_section_from_bfd_section): Delete. (NEW_INSTRUCTION): Delete. (CURRENT_STUB_OFFSET): Delete. (elf32_hppa_relocate_section): New function. (elf32_hppa_bfd_final_link_relocate): New function. (elf32_hppa_size_symext): New function. (elf32_hppa_link_output_symbol_hook): New function. (elf32_hppa_read_symext_info): New function. (elf32_hppa_add_symbol_hook): New function. (elf32_hppa_name_of_stub): New function. (elf32_hppa_size_of_stub): New function. (elf32_hppa_build_one_sub): New function. (elf32_hppa_build_stubs): New function. (elf32_hppa_size_stubs): New function. (linker, stub and argument hash tables): Add appropriate structures, definitions and functions to implement all three hash tables. (hppa_elf_relocate_insn): Don't need argument location information in this function. (add_entry_to_symext_chain): Accept a symbol's argument location information rather than the symbol itself. All callers changed. (hppa_elf_gen_reloc_type): Simplify. (hppa_elf_set_section_contents): Stub section is no longer special. (hppa_elf_reloc): Greatly simplify. (elf32_hppa_begin_write_processing): Accept link_info argument. Handle being called from the BFD backend linker. (elf32_hppa_final_write_processing): Likewise. (elf_hppa_tc_make_sections): No longer call stub_finish.
1994-07-01 * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.Stan Shebs3-1/+13
* ser-mac.c (MacSerial.h): Include instead of Serial.h.
1994-07-01 * mpw-README: Update the GDB information.Stan Shebs1-0/+4
1994-07-01Add CXXSteve Chamberlain1-1/+3
1994-06-30Elim dup of file namesStan Shebs2-5/+9
1994-06-30* config/default.exp: Look for "as.new" in "$base_dir/..", where it gotKen Raeburn1-2/+0
compiled, not in "$base_dir". * config/unknown.exp: Deleted.
1994-06-30 * rltty.c (control_meta_key_on): Don't compile if __GO32__ isSteve Chamberlain1-0/+10
defined. (rltty_set_default_bindings): Likewise. * display.c (insert_some_chars, delete_chars): row_start should be a short. * parens.c (rl_insert_close): No FD_SET if using __GO32__. * readline.c (rl_gather_tyi): Strip off spurious high bits.
1994-06-30 * infrun.c (wait_for_inferior): Print "Program exited normally"Jim Kingdon2-7/+6
regardless of batch_mode. * defs.h, top.c (batch_mode): Removed.
1994-06-30Some updates for const-ness added to BFD structures.Ken Raeburn1-0/+6
1994-06-30 * config/tc-mips.c (macro): For M_LI_SS, decide how to handle itIan Lance Taylor1-0/+9
based on contents of imm_expr and offset_expr, rather than mips_pic. For M_LI_DD, decide how to handle it based on segment name of offset_expr, rather than mips_pic. (mips_ip): If g_switch_value < 4, use immediate values for 'l'. If g_switch_value < 8, use .rdata rather than .lit for 'L'.
1994-06-30Fix a boobooStan Shebs1-1/+1
1994-06-30 * Makefile.in (dcache_h): Remove redundant definition.Stan Shebs6-23/+27
(init.c): Add a comment. (top.c): Remove explicit compile action. * breakpoint.c (mention): Share code indicating location of break/watchpoints, don't print address if addressprint is off. * breakpoint.c, c-typeprint.c, c-valprint.c, energize.c, symtab.h (demangle): Remove redundant declarations. * eval.c: Remove redundant function declarations. * objfiles.h: Cosmetic and grammatical improvements. * TODO: Various updates.
1994-06-30 * remote-mips.c: Replace all \r chars with \015.Stan Shebs2-5/+26
(mips_receive_header): Display control characters readably. (mips_xfer_memory): Add a simple progress display.
1994-06-30 * mpw-make.in: Use {s} instead of {srcdir} everywhere.Stan Shebs2-74/+75
(bindir, libdir): Remove extra colon. (source.c): Compile with C instead of gC. (c-exp.tab.c, ch-exp.tab.c, m2-exp.tab.c): Add {o}. (install-only): Don't install MacGDB. * source.c (openp) [MPW]: Add a debugging display. (open_source_file) [MPW]: Use MPW basename finders. [MPW_C]: Briefer versions of help for line and list commands.
1994-06-30 * mpw-make.in (as.c): Compile with C not gC.Stan Shebs2-4/+13
(config-stamp): Touch correctly. (install-only): New target. (install): Depend on all and install-only.
1994-06-30 * as.c (show_usage): Break long string into shorter ones.Stan Shebs2-4/+17
(parse_args): Add -v, prints version id and continues. * config/tc-mips.c (md_show_usage): Break long string.
1994-06-30 * ecoffswap.h (ecoff_swap_pdr_in, ecoff_swap_pdr_in) [MPW_C]:Stan Shebs1-0/+5
Alternate versions without ECOFF_64 that chokes MPW C.
1994-06-30 * mpw-build.in: (install-only): New target.Stan Shebs1-1/+5
1994-06-30Fix typoStan Shebs1-1/+1
1994-06-29 * config/solaris2.mh (NATIVE_LIB_DIRS): Define as /usr/ccs/lib.Jean Marie Diaz2-0/+3
1994-06-29 * lexsup.c (parse_args): Accept -Bstatic and -Bdynamic. Do notJean Marie Diaz1-0/+6
accept plain -B. * ld.texinfo: -Bstatic is not ignored.
1994-06-29 * remote-e7000.c (e7000_open): Don't try a tcp open if we'reSteve Chamberlain3-11/+45
using go32. * remote-hms.c (flush): New function. (expect): Get edge case right. (hms_read_inferior_memory): Be more tolerant of line noise.
1994-06-29 * configure.in: Use i386m3.mh and i386m3.mt as names of host andJean Marie Diaz2-2/+7
target files, not non-existent mach3.mh and mach3.mt.
1994-06-29* config.guess: Recognize Mach.Jean Marie Diaz1-0/+4
1994-06-29 * gdb.c++/misc.cc: Instantiate classes to inhibit the compilerPeter Schauer1-0/+8
from optimizing them away. * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect patterns to include default constructors and assignment operators, to match gcc versions beyond 2.5.8.
1994-06-29 * dbxread.c (dbx_symfile_read): Unconditionally add dynamicPeter Schauer1-0/+8
symbols for all symbol files. Makes skipping over the trampoline code work when stepping from a function in a shared library into a function in a different shared library. (read_dbx_dynamic_symtab): Relocate mst_solib_trampoline address.
1994-06-28 * dbxread.c, partial-stab.h (near N_SO): SO stabs with blankStu Grossman4-149/+186
names mean end of .o file. * infrun.c (wait_for_inferior): Clean up multi-thread logic near top of routine. Handle new thread notification cleanly. * lynx-nat.c (child_wait): General cleanups, handle new LynxOS thread notification scheme. * (child_resume): General cleanups, handle resumption of all threads properly.
1994-06-28 * h8300-dis.c, mips-dis.c: Don't use true and false.Stan Shebs2-6/+24
1994-06-28 * mpw-config.in (emulname): Set based on target.Stan Shebs3-1/+26
(ldemul-list.h): Construct. * mpw-make.in (install-only): New target. (install): Depend on install-only.
1994-06-28 * mpw-xconfig.in: Remove ldemul-list.h construction, now inStan Shebs2-12/+7
generic config.
1994-06-28 * ldlex.l: Recognize \r the same as \n.Stan Shebs1-0/+19
1994-06-28 * mpw-config.in: New file, MPW configure fragment for binutils.Stan Shebs3-1/+16
* mpw-make.in (install-only): New target. (install): Also depend on install-only.
1994-06-28Remove more GM-specific stuffStan Shebs3-23/+4