aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1994-04-22* config/obj-coff.c (obj_symbol_new_hook): Don't need to strip underscores,Ken Raeburn3-21/+4
since symbol_new will already have done it. * config/obj-coffbfd.c (obj_symbol_new_hook): Ditto.
1994-04-22* listing.c (list_symbol_table): Don't print register symbols as undefined.Ken Raeburn2-29/+73
1994-04-22 Fix ECOFF objcopy to actually copy debugging information.Ian Lance Taylor2-7/+123
* ecoff.c (ecoff_bfd_copy_private_bfd_data): New function. (ecoff_get_extr): Assume that any ECOFF symbol with local clear is an external symbol, rather than checking the symbol flags. Only check the flags for non-ECOFF symbols. * ecofflink.c (bfd_ecoff_debug_externals): Don't crash if the output_section field of the symbol section is NULL. * libecoff.h (ecoff_bfd_copy_private_bfd_data): Declare as function rather than defining as macro.
1994-04-22 * objcopy.c (copy_object): Call bfd_copy_private_bfd_data afterIan Lance Taylor1-0/+4
copying everything else, to let it fiddle with the file in its final state.
1994-04-22 * solib.c (symbol_add_stub): If so->textsection is NULL, don'tJim Kingdon1-0/+5
dump core.
1994-04-22 * targets.c (bfd_target_vector): Add bfd_elf32_powerpc_vec.Ian Lance Taylor1-0/+5
1994-04-22 * objdump.c: Include libiberty.h.Ian Lance Taylor1-0/+8
(display_target_list): If a format fails, just go on to the next one. Check return value of bfd_set_format. (display_info_table): Likewise. Don't increment loop variable in for loop test, since that skips the first element. (display_target_tables): Rewrite loop for clarity. Ensure that it always prints at least one element.
1994-04-22 * aout-adobe.c (aout_adobe_set_arch_mach): Check return value ofIan Lance Taylor2-16/+21
bfd_default_set_arch_mach. Accept bfd_arch_m68k as well as bfd_arch_unknown. * elfcode.h (elf_set_arch_mach): Don't check a list of ELF architectures, just see if the desired architecture matches what the ELF backend permits.
1994-04-22 * sh.h (SH_ARCH_MAGIC): Rename from SHMAGIC. SHMAGIC is used byIan Lance Taylor1-0/+6
several targets to mean a shared library. (SHBADMAG): Corresponding change.
1994-04-22 Follow convention in which each NLM header has an 8 byte stampIan Lance Taylor1-0/+16
followed by a four byte length. * libnlm.h (struct nlm_obj_tdata): Rename nlm_cygnus_section_hdr to nlm_cygnus_ext_header, and change type to Nlm_Internal_Cygnus_Ext_Header. (nlm_cygnus_ext_header): Rename from nlm_cygnus_section_header. * nlmcode.h (nlm_swap_auxiliary_headers_in): Use CyGnUsEx instead of CyGnUsSeCs. Rename from cygnus_section to cygnus_ext. Require length word to be 8. (nlm_swap_auxiliary_headers_out): Rename from cygnus_section to cygnus_ext. Set length word to 8. (nlm_compute_section_file_positions): Rename from cygnus_section to cygnus_ext.
1994-04-22 * nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs forIan Lance Taylor2-4/+8
sections header. Rename from cygnus_sections to cygnus_ext.
1994-04-22 * nlmcode.h (nlm_swap_auxiliary_headers_in): Keep section tableStu Grossman2-10/+10
(from CyGnUsSeCs) in more permanent memory to keep section names from getting trashed.
1994-04-22 * objdump.c (_DUMMY_NAME_): Don't define.Ian Lance Taylor2-12/+20
(display_target_list): Use tmpnam to get a file name rather than using _DUMMY_NAME_. Unlink it when done. (display_info_table): Likewise.
1994-04-22 * utils.c (prompt_for_continue): Annotate prompt.Jim Kingdon2-8/+21
(query): Annotate query. * printcmd.c (print_frame_args): Change syntax of argument annotation to make name and value part of a single group of annotations, not two separate groups. * cp-valprint.c (cp_print_value_fields): Likewise for fields. * valprint.c (val_print_array_elements): Change syntax of annotation to be more concise. * main.c, defs.h (command_line_input): New argument tells what string to include in the annotations. * symtab.c (decode_line_2), main.c (read_command_lines, command_loop): Change callers.
1994-04-21* printcmd.c (print_command_1): Add value-history-value annotation.Jim Kingdon1-0/+1
1994-04-21 * Makefile.in (clean, distclean): Remove configdoc.texi.Ian Lance Taylor2-2/+7
1994-04-21 * Makefile.in (clean): Don't remove GDBvn.texi (apparently on JanJim Kingdon2-1/+6
16 I meant to make this change but did not). Do remove gdb-cfg.texi.
1994-04-21 * breakpoint.c (watch_command): Use (CORE_ADDR)0, not NULL, forJim Kingdon5-8/+27
target null pointer. * blockframe.c (find_frame_addr_in_frame_chain): Likewise. * printcmd.c (output_command): Annotate things we print here too. * Move declaration of print_value_flags from defs.h to value.h. * main.c (command_line_input): Call wrap_here as well as gdb_flush.
1994-04-21 * gdb.t00/default.exp (set write): Allow any number of \r and/orJim Kingdon1-0/+8
\n, not just one of each. * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4 /bin/cc gives a warning if you do.
1994-04-21 * config/tc-mips.c (append_insn): Permit branches to be switchedIan Lance Taylor2-2/+7
with the preceding instruction even if .set nobopt has been seen. .set nobopt actually controls whether to bring up an instruction from the branch target, which gas does not currently support.
1994-04-21Modified Files:Kung Hsu1-0/+5
ChangeLog * gdb.t24/demangle.exp: change expect pattern of __t10ListS_link1ZUiRCUiPT0
1994-04-21 Clean up uses of _bfd_dummy_target (from Peter Schauer).Ian Lance Taylor1-0/+9
* libbfd.c (_bfd_dummy_target): Set bfd_error_wrong_format. * nlm-target.h (nlm_core_file_p): Define as _bfd_dummy_target, not NULL. * srec.c (srec_vec): Use _bfd_dummy_target, not NULL, in _bfd_check_format. (symbolsrec_vec): Likewise. * tekhex.c (tekhex_vec): Likewise.
1994-04-21 * dbxread.c (read_dbx_dynamic_symtab): Reinstall support for sun3,Peter Schauer3-30/+82
BFD handles sun3 dynamic relocations now. * elfread.c (elf_symtab_read, elf_symfile_read): Handle dynamic symbol table.
1994-04-21 * libelf.h (elf_obj_tdata): Add members for dynamic symbol tablePeter Schauer5-28/+122
handling. * elfcode.h (bfd_section_from_shdr): Handle dynamic symbol table. * elfcode.h (elf_slurp_symbol_table): Take additional parameter to select static or dynamic symbol table and return number of symbols slurped or -1 on error. * elfcode.h (elf_get_symtab): Set bfd symcount from elf_slurp_symbol_table result. * elfcode.h (elf_get_dynamic_symtab_upper_bound, elf_canonicalize_dynamic_symtab): New functions to handle dynamic symbol table. * elf32-target.h, elf64-target.h (BFD_JUMP_TABLE_DYNAMIC): Change to handle dynamic symbol table, provide default definitions for dynamic relocs. * aoutx.h (howto_table_std, NAME(aout,swap_std_reloc_out), NAME(aout,swap_std_reloc_in), aout_link_input_section_std, aout_link_reloc_link_order): Handle r_jmptable and r_relative relocations.
1994-04-21 * nlmconv.c (secsec): New static variable.Ian Lance Taylor2-3/+84
(main): Create .nlmsections section in output BFD. Store information about it in sections header. (setup_sections): Allocate space in sections header. (copy_sections): Copy zero sized sections. Put information about each section in the sections header.
1994-04-21 * libnlm.h (struct nlm_obj_tdata): Add nlm_cygnus_section_hdrIan Lance Taylor3-20/+155
field. (nlm_cygnus_section_header): New accessor macro. * nlmcode.h (nlm_object_p): Free new tdata structure if failure. Add fixed sections before swapping in auxiliary headers. After adding sections, treat errors as real, not as wrong format. (nlm_swap_auxiliary_headers_in): Swap in the sections header; add sections to the BFD for each section it describes. (nlm_swap_auxiliary_headers_out): Swap out the sections header. (nlm_compute_section_file_positions): Account for the size of the sections header.
1994-04-21 * internal.h (struct nlm_internal_cygnus_section_header): Define.Ian Lance Taylor3-0/+33
* external.h (struct nlmNAME(external_cygnus_section_header): Define.
1994-04-21 * printcmd.c (print_command_1): Annotate the top-level expressionsJim Kingdon5-1/+88
that we print. (print_frame_args): Annotate each argument. * printcmd.c, defs.h (print_value_flags): New function. * cp-valprint.c (cp_print_value_fields): Annotate each field. * valprint.c (val_print_array_elements): Annotate each array element.
1994-04-20* config/obj-coff.h, config/obj-coff.c: Deleted all code used only whenKen Raeburn3-1744/+82
BFD_ASSEMBLER is not defined, and all conditionals relating to such code. No such targets remain. Fixes for stabs-in-coff: * config/obj-coff.c: Include subsegs.h. (coff_frob_section): New function. (obj_coff_init_stab_section): New function. * config/obj-coff.h (obj_coff_init_stab_section, coff_frob_section): Declare. (obj_frob_section): New macro; uses coff_frob_section. (INIT_STAB_SECTION): New macro; uses obj_coff_init_stab_section.
1994-04-20* config/tc-sparc.c (md_section_align): Always round up to multiple ofKen Raeburn1-1/+4
alignment power specified in bfd target vector.
1994-04-20* gasp.c: Include ctype.h.Ken Raeburn2-0/+5
1994-04-20* coff-sparc.c (sparccoff_vec): Change minimum alignment power to 2, so thatKen Raeburn1-0/+3
stab sections can be multiples of 4 bytes only.
1994-04-20* hosts/i386aix.h: Changes to avoid prototypes conflicts with the ones definedKen Raeburn2-3/+6
in stdlib.h. (From Minh Tran-Le.)
1994-04-20 * findvar.c (read_var_value): Handle LOC_REPARM_ADDR case correctly,Peter Schauer1-0/+5
the register contains a pointer to the type, not the type itself.
1994-04-20 * main.c (main): Accept --annotate=N option and make --fullnameJim Kingdon5-13/+101
the same as --annotate=1. (command_line_input): Print annotatation before and after prompt. * blockframe.c (flush_cached_frames): Print annotation. * Rename frame_file_full_name to annotation_level and move it from symtab.h to defs.h. * source.c (identify_source_line): If annotation_level > 1, change output format. * breakpoint.c: Print annotation whenever a breakpoint changes. * main.c: New variable server_command. (command_line_input): Parse "server " and set server_command. (dont_repeat): Check server_command.
1994-04-20PowerPC NetWare changes.Ian Lance Taylor1-0/+12
1994-04-20start-sanitize-powerpc-netwareIan Lance Taylor3-14/+307
* nlm32-ppc.c: Complete rewrite for new version of PowerPC NetWare. Old code still present, but ifdeffed out. end-sanitize-powerpc-netware * nlmcode.h (nlm_swap_auxiliary_headers_in): Don't assume a particular format for the customer header. Allocate a block of memory and read it into that. (nlm_swap_auxiliary_headers_out): Write out the block of memory. (nlm_compute_section_file_positions): Include length of customer header when computing its size.
1994-04-20start-sanitize-powerpc-netwareIan Lance Taylor2-12/+40
* nlmconv.c (powerpc_build_stubs): Take new outbfd argument. Change caller. Create custom header for new PowerPC NetWare format. end-sanitize-powerpc-netware * Makefile.in (nlmheader.o, nlmconv.o): Update dependencies. * nlmconv.c: Include bfd.h and libiberty.h with "", not <>. * nlmheader.y: Include bfd.h with "", not <>.
1994-04-20nlm_custom_header changes.Ian Lance Taylor1-0/+22
1994-04-20 * internal.h (struct nlm_internal_custom_header): RemoveIan Lance Taylor2-107/+16
debugRecOffset and debugRecLength fields. Add data field. * external.h (struct nlmNAME(external_custom_header)): Remove debugRecOffset and debugRecLength fields.
1994-04-20 * stabs.texinfo (Stab Section Basics): Say what is in .stabJim Kingdon2-3/+14
section, and say n_strx field is compilation unit relative. * stabs.texinfo: Don't use @code for a.out when it is the name of an object file format.
1994-04-20* configure.in: Use mh-posix for sunos4.1*.Jim Kingdon1-0/+4
1994-04-20 * xcoffread.c (xcoff_next_symbol_text): Don't return beforeJim Kingdon2-5/+25
updating raw_symbol and symnum. Return a value in the case where we complained.
1994-04-20 * parse.c: Don't define block_found; it is defined in symtab.c.Jim Kingdon3-2/+5
* parser-defs.h: Add comment regarding block_found.
1994-04-20 * dstread.c, coffread.c: Don't define pending_blocks; buildsym.cJim Kingdon2-2/+5
takes care of it.
1994-04-20Add missing #endif.Jeff Law1-0/+1
1994-04-19 * configure.in: Add recognition of i[34]86-*-bsd386.Bill Cox2-0/+5
1994-04-19 * hppa-tdep.c (internalize_unwind_info): Delete unused indexpJeff Law2-3/+7
argument.
1994-04-19doc, obj-vms.c, ho-sysv.h changesKen Raeburn1-0/+17
1994-04-19added info on warning functions &cKen Raeburn1-0/+55