aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
1994-04-19* Makefile.in, as.texinfo: Renamed asdoc-config.texi to asconfig.texi.Ken Raeburn1-13/+13
* Makefile.in (install-info-as, install-info-gasp): Get file names from source directory without pathname.
1994-04-19(VMS_write_object_file): While looking for register mask, skip empty fill fragsKen Raeburn1-0/+5
caused by enabling listing output.
1994-04-19Include string.h.Ken Raeburn1-0/+1
1994-04-18 * config/tc-hppa.c (pa_parse_space_stmt): Use the built-inJeff Law2-8/+45
defaults for defined, private, and spnum fields for the $TEXT$ and $PRIVATE$ spaces. Do not clobber spnum. Do not reset the segment if just updating a space. (pa_spaces_begin): Set BFD section flags for all built-in subspaces.
1994-04-18 * som.c (som_prep_headers): Get the space's number from theJeff Law1-0/+9
backend private section data rather than target_index. (bfd_som_set_section_attributes): Store the space's number in the backend private section data rather than target_index. * som.h (som_copyable_section_data_struct): Add space_number.
1994-04-18 * dbxread.c (read_dbx_dynamic_symtab): Relocate BFD symbols byPeter Schauer2-1/+19
section vma. Do not read dynamic relocs for sun3 executables to avoid BFD assertion message.
1994-04-18 * nm-hppab.h (KERNEL_U_ADDR): Define.Jeff Law4-20/+46
(FIVE_ARG_PTRACE): Likewise. (CANNOT_STORE_REGISTER): Likewise. * nm-hppah.h (KERNEL_U_ADDR): Define. (FIVE_ARG_PTRACE): Likewise. (CANNOT_STORE_REGISTER): Likewise. (NEED_TEXT_START_END): Likewise. * tm-hppah.h (NEED_TEXT_START_END): Delete definition. * xm-hppah.h (KERNEL_U_ADDR): Delete definition. (FIVE_ARG_PTRACE): Likewise. * xm-hppab.h (KERNEL_U_ADDR): Delete definition. (FIVE_ARG_PTRACE): Likewise. * hppa-tdep.c (read_unwind_info): Make static. (restore_pc_queue): Indirect through the target vector to reload the register state.
1994-04-18Fix typo.Jeff Law1-1/+1