Jim Kingdon [Fri, 22 Apr 1994 18:29:23 +0000 (18:29 +0000)]
* solib.c (symbol_add_stub): If so->textsection is NULL, don't
dump core.
Ian Lance Taylor [Fri, 22 Apr 1994 17:38:20 +0000 (17:38 +0000)]
* targets.c (bfd_target_vector): Add bfd_elf32_powerpc_vec.
Ian Lance Taylor [Fri, 22 Apr 1994 17:15:27 +0000 (17:15 +0000)]
* objdump.c: Include libiberty.h.
(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.
Ian Lance Taylor [Fri, 22 Apr 1994 17:11:37 +0000 (17:11 +0000)]
* aout-adobe.c (aout_adobe_set_arch_mach): Check return value of
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.
Ian Lance Taylor [Fri, 22 Apr 1994 17:06:23 +0000 (17:06 +0000)]
* sh.h (SH_ARCH_MAGIC): Rename from SHMAGIC. SHMAGIC is used by
several targets to mean a shared library.
(SHBADMAG): Corresponding change.
Ian Lance Taylor [Fri, 22 Apr 1994 15:16:34 +0000 (15:16 +0000)]
Follow convention in which each NLM header has an 8 byte stamp
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.
Ian Lance Taylor [Fri, 22 Apr 1994 15:15:42 +0000 (15:15 +0000)]
* nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs for
sections header. Rename from cygnus_sections to cygnus_ext.
Stu Grossman [Fri, 22 Apr 1994 05:59:24 +0000 (05:59 +0000)]
* nlmcode.h (nlm_swap_auxiliary_headers_in): Keep section table
(from CyGnUsSeCs) in more permanent memory to keep section names
from getting trashed.
Ian Lance Taylor [Fri, 22 Apr 1994 03:47:57 +0000 (03:47 +0000)]
* objdump.c (_DUMMY_NAME_): Don't define.
(display_target_list): Use tmpnam to get a file name rather than
using _DUMMY_NAME_. Unlink it when done.
(display_info_table): Likewise.
Jim Kingdon [Fri, 22 Apr 1994 03:01:25 +0000 (03:01 +0000)]
* utils.c (prompt_for_continue): Annotate prompt.
(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.
Jim Kingdon [Thu, 21 Apr 1994 23:49:33 +0000 (23:49 +0000)]
* printcmd.c (print_command_1): Add value-history-value annotation.
Ian Lance Taylor [Thu, 21 Apr 1994 21:25:17 +0000 (21:25 +0000)]
* Makefile.in (clean, distclean): Remove configdoc.texi.
Jim Kingdon [Thu, 21 Apr 1994 21:24:30 +0000 (21:24 +0000)]
* Makefile.in (clean): Don't remove GDBvn.texi (apparently on Jan
16 I meant to make this change but did not). Do remove gdb-cfg.texi.
Jim Kingdon [Thu, 21 Apr 1994 21:19:58 +0000 (21:19 +0000)]
* breakpoint.c (watch_command): Use (CORE_ADDR)0, not NULL, for
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.
Jim Kingdon [Thu, 21 Apr 1994 20:08:42 +0000 (20:08 +0000)]
* gdb.t00/default.exp (set write): Allow any number of \r and/or
\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.
Ian Lance Taylor [Thu, 21 Apr 1994 19:53:25 +0000 (19:53 +0000)]
* config/tc-mips.c (append_insn): Permit branches to be switched
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.
Kung Hsu [Thu, 21 Apr 1994 18:56:39 +0000 (18:56 +0000)]
Modified Files:
ChangeLog
* gdb.t24/demangle.exp: change expect pattern of
__t10ListS_link1ZUiRCUiPT0
Ian Lance Taylor [Thu, 21 Apr 1994 18:19:22 +0000 (18:19 +0000)]
Clean up uses of _bfd_dummy_target (from Peter Schauer).
* 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.
Peter Schauer [Thu, 21 Apr 1994 17:09:31 +0000 (17:09 +0000)]
* dbxread.c (read_dbx_dynamic_symtab): Reinstall support for sun3,
BFD handles sun3 dynamic relocations now.
* elfread.c (elf_symtab_read, elf_symfile_read): Handle dynamic
symbol table.
Peter Schauer [Thu, 21 Apr 1994 17:01:12 +0000 (17:01 +0000)]
* libelf.h (elf_obj_tdata): Add members for dynamic symbol table
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.
Ian Lance Taylor [Thu, 21 Apr 1994 16:15:00 +0000 (16:15 +0000)]
* nlmconv.c (secsec): New static variable.
(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.
Ian Lance Taylor [Thu, 21 Apr 1994 16:13:01 +0000 (16:13 +0000)]
* libnlm.h (struct nlm_obj_tdata): Add nlm_cygnus_section_hdr
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.
Ian Lance Taylor [Thu, 21 Apr 1994 15:58:02 +0000 (15:58 +0000)]
* internal.h (struct nlm_internal_cygnus_section_header): Define.
* external.h (struct nlmNAME(external_cygnus_section_header):
Define.
Jim Kingdon [Thu, 21 Apr 1994 04:28:08 +0000 (04:28 +0000)]
* printcmd.c (print_command_1): Annotate the top-level expressions
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.
Ken Raeburn [Wed, 20 Apr 1994 23:01:40 +0000 (23:01 +0000)]
* config/obj-coff.h, config/obj-coff.c: Deleted all code used only when
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.
Ken Raeburn [Wed, 20 Apr 1994 22:58:13 +0000 (22:58 +0000)]
* config/tc-sparc.c (md_section_align): Always round up to multiple of
alignment power specified in bfd target vector.
Ken Raeburn [Wed, 20 Apr 1994 22:48:12 +0000 (22:48 +0000)]
* gasp.c: Include ctype.h.
Ken Raeburn [Wed, 20 Apr 1994 22:44:52 +0000 (22:44 +0000)]
* coff-sparc.c (sparccoff_vec): Change minimum alignment power to 2, so that
stab sections can be multiples of 4 bytes only.
Ken Raeburn [Wed, 20 Apr 1994 22:42:57 +0000 (22:42 +0000)]
* hosts/i386aix.h: Changes to avoid prototypes conflicts with the ones defined
in stdlib.h. (From Minh Tran-Le.)
Peter Schauer [Wed, 20 Apr 1994 20:28:32 +0000 (20:28 +0000)]
* findvar.c (read_var_value): Handle LOC_REPARM_ADDR case correctly,
the register contains a pointer to the type, not the type itself.
Jim Kingdon [Wed, 20 Apr 1994 19:23:30 +0000 (19:23 +0000)]
* main.c (main): Accept --annotate=N option and make --fullname
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.
Ian Lance Taylor [Wed, 20 Apr 1994 18:49:18 +0000 (18:49 +0000)]
PowerPC NetWare changes.
Ian Lance Taylor [Wed, 20 Apr 1994 18:38:22 +0000 (18:38 +0000)]
start-sanitize-powerpc-netware
* 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.
Ian Lance Taylor [Wed, 20 Apr 1994 18:37:13 +0000 (18:37 +0000)]
start-sanitize-powerpc-netware
* 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 <>.
Ian Lance Taylor [Wed, 20 Apr 1994 18:31:56 +0000 (18:31 +0000)]
nlm_custom_header changes.
Ian Lance Taylor [Wed, 20 Apr 1994 18:30:29 +0000 (18:30 +0000)]
* internal.h (struct nlm_internal_custom_header): Remove
debugRecOffset and debugRecLength fields. Add data field.
* external.h (struct nlmNAME(external_custom_header)): Remove
debugRecOffset and debugRecLength fields.
Jim Kingdon [Wed, 20 Apr 1994 18:26:12 +0000 (18:26 +0000)]
* stabs.texinfo (Stab Section Basics): Say what is in .stab
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.
Jim Kingdon [Wed, 20 Apr 1994 17:46:13 +0000 (17:46 +0000)]
* configure.in: Use mh-posix for sunos4.1*.
Jim Kingdon [Wed, 20 Apr 1994 17:07:11 +0000 (17:07 +0000)]
* xcoffread.c (xcoff_next_symbol_text): Don't return before
updating raw_symbol and symnum. Return a value in the case where
we complained.
Jim Kingdon [Wed, 20 Apr 1994 15:48:08 +0000 (15:48 +0000)]
* parse.c: Don't define block_found; it is defined in symtab.c.
* parser-defs.h: Add comment regarding block_found.
Jim Kingdon [Wed, 20 Apr 1994 15:39:20 +0000 (15:39 +0000)]
* dstread.c, coffread.c: Don't define pending_blocks; buildsym.c
takes care of it.
Jeff Law [Wed, 20 Apr 1994 06:01:44 +0000 (06:01 +0000)]
Add missing #endif.
Bill Cox [Tue, 19 Apr 1994 19:14:15 +0000 (19:14 +0000)]
* configure.in: Add recognition of i[34]86-*-bsd386.
Jeff Law [Tue, 19 Apr 1994 16:47:30 +0000 (16:47 +0000)]
* hppa-tdep.c (internalize_unwind_info): Delete unused indexp
argument.
Ken Raeburn [Tue, 19 Apr 1994 01:21:07 +0000 (01:21 +0000)]
doc, obj-vms.c, ho-sysv.h changes
Ken Raeburn [Tue, 19 Apr 1994 01:20:04 +0000 (01:20 +0000)]
added info on warning functions &c
Ken Raeburn [Tue, 19 Apr 1994 01:18:54 +0000 (01:18 +0000)]
* Makefile.in, as.texinfo: Renamed asdoc-config.texi to asconfig.texi.
* Makefile.in (install-info-as, install-info-gasp): Get file
names from source directory without pathname.
Ken Raeburn [Tue, 19 Apr 1994 01:12:48 +0000 (01:12 +0000)]
(VMS_write_object_file): While looking for register mask, skip empty fill frags
caused by enabling listing output.
Ken Raeburn [Tue, 19 Apr 1994 01:08:38 +0000 (01:08 +0000)]
Include string.h.
Jeff Law [Mon, 18 Apr 1994 21:29:28 +0000 (21:29 +0000)]
* config/tc-hppa.c (pa_parse_space_stmt): Use the built-in
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.
Jeff Law [Mon, 18 Apr 1994 21:28:01 +0000 (21:28 +0000)]
* som.c (som_prep_headers): Get the space's number from the
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.
Peter Schauer [Mon, 18 Apr 1994 20:26:32 +0000 (20:26 +0000)]
* dbxread.c (read_dbx_dynamic_symtab): Relocate BFD symbols by
section vma. Do not read dynamic relocs for sun3 executables to
avoid BFD assertion message.
Jeff Law [Mon, 18 Apr 1994 17:18:12 +0000 (17:18 +0000)]
* nm-hppab.h (KERNEL_U_ADDR): Define.
(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.
Jeff Law [Mon, 18 Apr 1994 17:17:23 +0000 (17:17 +0000)]
Fix typo.
Jeff Law [Mon, 18 Apr 1994 17:16:56 +0000 (17:16 +0000)]
* nm-hppab.h (KERNEL_U_ADDR): Define.
(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.
Jeff Law [Sun, 17 Apr 1994 05:22:39 +0000 (05:22 +0000)]
* paread.c (compare_unwind_entries): Delete function. It's been
moved into hppa-tdep.c.
(read_unwind_info): Likewise.
(pa_symfile_read): No longer call read_unwind_info. The unwind
tables will be read in as they are needed.
* hppa-tdep.c (compare_unwind_entries): New function.
(read_unwind_info, internalize_unwinds): Likewise.
(find_unwind_entry): Read in unwind information on demand.
Ian Lance Taylor [Sun, 17 Apr 1994 03:43:18 +0000 (03:43 +0000)]
* ppc-opc.c (powerpc_opcodes): Correct fcir. From David Edelsohn
(edelsohn@npac.syr.edu).
David Edelsohn [Sat, 16 Apr 1994 19:19:24 +0000 (19:19 +0000)]
* config.sub (sparc64-elf): Fix os.
Ian Lance Taylor [Fri, 15 Apr 1994 22:22:07 +0000 (22:22 +0000)]
* coff-a29k.c (reloc_processing): Always set the address of a
R_IHCONST reloc to that of the immediately preceding R_IHIHALF.
gas does this anyhow, but some other assemblers seem to leave
garbage in the R_IHCONST address field.
Stan Shebs [Fri, 15 Apr 1994 21:55:49 +0000 (21:55 +0000)]
Fri Apr 15 11:53:46 1994 Stan Shebs (shebs@andros.cygnus.com)
* source.c (DIRNAME_SEPARATOR): New macro, replaces all references
to : in search path processing.
* defs.h (qsort): Rename argument in prototype.
* symtab.h (SAYMBOL_VALUE): Rename value field, avoids bugs in
some compilers.
* breakpoint.c, exec.c, mdebugread.c, mipsread.c, xcoffexec.c
(false): Eliminate usages.
Ian Lance Taylor [Fri, 15 Apr 1994 19:30:09 +0000 (19:30 +0000)]
* bfd/archive.c: Consistently use ARFMAG; from
schwab@issan.informatik.uni-dortmund.de (Andreas Schwab).
(_bfd_write_archive_contents): Use ARFMAG rather than '`' and
'\012'.
(bsd_write_armap): Likewise.
(coff_write_armap): Likewise.
Steve Chamberlain [Fri, 15 Apr 1994 18:43:07 +0000 (18:43 +0000)]
* h8500-tdep.c (initialize_h8500_tdep, large_command):
All references to value changed to value_ptrlage_command is now
called big_command.
All references to value changed to value_ptr.
* remote-z8k.c (e7000_wait): Use target_waitstatus and SETSTOP
* remote-hms.c (hms_wait): Timeout after five seconds.
* ser-go32.c (dosasync_read): Poll if timeout < 0.
* config/tm/tm-h8500.h (BEFORE_MAIN_LOOP_HOOK): Deleted.
* config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode.
Steve Chamberlain [Fri, 15 Apr 1994 18:41:27 +0000 (18:41 +0000)]
* config/tm/tm-h8500.h (BEFORE_MAIN_LOOP_HOOK): Deleted.
Steve Chamberlain [Fri, 15 Apr 1994 18:41:05 +0000 (18:41 +0000)]
* config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode.
Ian Lance Taylor [Fri, 15 Apr 1994 18:39:31 +0000 (18:39 +0000)]
* ecoff.c (first_proc_ptr): New static variable.
(add_procedure): Set first_proc_ptr if it hasn't been set.
(ecoff_build_lineno): If the first procedure does not start at
address zero, insert a dummy line to compensate.
Ian Lance Taylor [Fri, 15 Apr 1994 18:37:05 +0000 (18:37 +0000)]
* ldlang.c (lang_size_sections): When relaxing, adjust the
position of a padding statement, and adjust dot accordingly.
Ian Lance Taylor [Fri, 15 Apr 1994 18:35:32 +0000 (18:35 +0000)]
* coff-mips.c (mips_relocate_section): When relaxing, adjust local
relocs against the .text section as required.
* ecofflink.c (bfd_ecoff_debug_accumulate): When relaxing, adjust
PDR addresses as required.
Ian Lance Taylor [Fri, 15 Apr 1994 16:29:56 +0000 (16:29 +0000)]
* ecoff.c (ecoff_emit_aggregate): Take fdr argument. Map fdr
index through rfd map if it exists. Check for a couple of cases
which gdb handles specially. Change all callers.
(ecoff_type_to_string): Take fdr argument rather than aux_ptr and
bigendian argument. Change all callers.
(ecoff_print_symbol): Handle stStruct, stUnion and stEnum.
Ian Lance Taylor [Fri, 15 Apr 1994 15:07:31 +0000 (15:07 +0000)]
* Makefile.in (bootstrap, bootstrap2, bootstrap3): Make gasp.new
as well as as.new.
Ian Lance Taylor [Fri, 15 Apr 1994 03:34:25 +0000 (03:34 +0000)]
* Makefile.in (gcc-no-fixedincludes): Touch gcc/include/fixed, not
gcc/stmp-fixproto, to try to prevent fixproto from being run.
Ken Raeburn [Thu, 14 Apr 1994 22:46:53 +0000 (22:46 +0000)]
* Makefile.in: Make $(OBJS) depend on $(ALL_OBJ_DEPS).
* configure.in: Set ALL_OBJ_DEPS in output Makefile.
Based on suggestions from <BAILEY@hmivax.humgen.upenn.edu> (Charles Bailey):
* vmsconf.sh: In generated file, get ".obj" suffix right, build source files
from other directories into objects in the current directory, and specify PSECT
attributes explicitly to linker. Also added missing label.
* Makefile.in (stamp-mk.com): Reference new variable VMS_OTHER_OBJS for list of
non-local object files, instead of listing them here.
(VMS_OTHER_OBJS): New variable, added more libiberty files.
* make-gas.com: Regenerated.
* config/ho-vms.h (unlink): Define as delete.
* config-gas.com: Fix quoting on TARGET_CANONICAL definition. Delete files
before creating them.
Ken Raeburn [Thu, 14 Apr 1994 22:30:22 +0000 (22:30 +0000)]
* expr.c (operand): Try to parse "0f" and "0b" sequences as floating point and
binary numbers respectively; if it doesn't work, treat them as local labels.
Ian Lance Taylor [Thu, 14 Apr 1994 20:39:39 +0000 (20:39 +0000)]
* Makefile.in (de-stage1, de-stage2, de-stage3): Use rm -f.
Stan Shebs [Thu, 14 Apr 1994 18:09:12 +0000 (18:09 +0000)]
Wed Apr 13 11:50:07 1994 Stan Shebs (shebs@andros.cygnus.com)
* coff-sparc.c (sparccoff_vec): Set minimum alignment power to 3.
Ian Lance Taylor [Thu, 14 Apr 1994 17:59:14 +0000 (17:59 +0000)]
Remove assertion that was not intended to be checked in.
Ian Lance Taylor [Thu, 14 Apr 1994 17:40:43 +0000 (17:40 +0000)]
config/tc-mips.[ch] changes.
Ian Lance Taylor [Thu, 14 Apr 1994 17:39:55 +0000 (17:39 +0000)]
* config/tc-mips.h (DIFF_EXPR_OK): Define.
* config/tc-mips.c (macro_build): Permit BFD_RELOC_PCREL_LO16 for
certain cases of 'i', 'j' and 'o'. Change 'u' to take an
argument, the reloc type.
(load_register): Pass reloc type to macro_build for 'u'.
(macro): Likewise. For M_LA_AB permit a difference expression
when generating embedded PIC code between an arbitrary symbol and
a symbol in the .text section.
(mips_force_relocation): Force BFD_RELOC_PCREL_HI16_S and
BFD_RELOC_PCREL_LO16 to be emitted.
(md_apply_fix): Check that most relocs are not PC relative.
Handle BFD_RELOC_PCREL_HI16_S and BFD_RELOC_PCREL_LO16.
(tc_gen_reloc): Change #error to as_fatal. Handle
BFD_RELOC_PCREL_LO16 and BFD_RELOC_PCREL_HI16_S.
Ian Lance Taylor [Thu, 14 Apr 1994 17:33:22 +0000 (17:33 +0000)]
* coff-mips.c (mips_howto_table): Add dummy entries to account for
numbering changes in include/coff/mips.h. Add entries for
MIPS_R_RELHI and MIPS_R_RELLO.
(mips_ecoff_swap_reloc_in): Handle an extra bit for the reloc type
when little endian. Treat internal MIPS_R_RELLO or MIPS_R_RELHI
relocs like MIPS_R_SWITCH, and convert r_offset from 24 to 32
bits.
(mips_ecoff_swap_reloc_out): Likewise.
(mips_adjust_reloc_in): Handle internal MIPS_R_RELLO or
MIPS_R_RELHI relocs like MIPS_R_SWITCH.
(mips_adjust_reloc_out): Likewise.
(mips_relhi_addr, mips_relhi_addend): New static variables.
(mips_relhi_reloc, mips_rello_reloc): New functions.
(mips_bfd_reloc_type_lookup): Turn BFD_RELOC_PCREL_HI16_S into
MIPS_R_RELHI and turn BFD_RELOC_PCREL_LO16 into MIPS_R_RELLO.
(mips_relocate_hi): Rename from mips_relocate_refhi, and add pcrel
argument. Changed all callers.
(mips_relocate_section): Rename got_reflo to got_lo and
reflo_int_rel to lo_int_rel. Handle MIPS_R_RELLO and MIPS_R_RELHI
relocs.
(mips_relax_section): Adjust MIPS_R_RELHI/MIPS_R_RELLO pairs when
expanding a PC relative call.
Ian Lance Taylor [Thu, 14 Apr 1994 17:08:31 +0000 (17:08 +0000)]
* reloc.c (bfd_reloc_code_real_type): Add BFD_RELOC_PCREL_HI16_S
and BFD_RELOC_PCREL_LO16.
* bfd-in2.h: Rebuilt.
Ian Lance Taylor [Thu, 14 Apr 1994 17:02:48 +0000 (17:02 +0000)]
* mips.h (RELOC_BITS3_TYPE_BIG): Changed from 0x1e to 0x3e.
(RELOC_BITS3_TYPEHI_LITTLE): Define.
(RELOC_BITS3_TYPEHI_SH_LITTLE): Define.
(MIPS_R_PCREL16): Change value from 8 to 12 to match Irix 4.
(MIPS_R_RELHI): Define.
(MIPS_R_RELLO): Define.
(MIPS_R_SWITCH): Change value from 9 to 22.
Jeff Law [Thu, 14 Apr 1994 14:16:56 +0000 (14:16 +0000)]
* procfs.c (procfs_wait): Protect watchpoint code with appropriate
#ifdefs.
(procfs_set_watchpoint, procfs_stopped_by_watchpoint): Likewise.
Jeff Law [Thu, 14 Apr 1994 14:04:15 +0000 (14:04 +0000)]
* procfs.c (procfs_wait): Protect watchpoint code with appropriate
#ifdefs.
Jim Kingdon [Thu, 14 Apr 1994 04:35:06 +0000 (04:35 +0000)]
* rltty.c (set_tty_settings): Don't set readline_echoing_p.
(rl_deprep_terminal) [NEW_TTY_DRIVER]: Set readline_echoing_p.
Ian Lance Taylor [Thu, 14 Apr 1994 04:02:34 +0000 (04:02 +0000)]
There is no interesting Irix 5, or PowerPC, or RS/6000 support in the
linker, so don't mention them.
Jim Kingdon [Thu, 14 Apr 1994 03:35:57 +0000 (03:35 +0000)]
(Arguments): Fix typo.
Jim Kingdon [Thu, 14 Apr 1994 03:31:42 +0000 (03:31 +0000)]
* gdb.texinfo: Refer to file names, not path names, per rms
convention.
Jeff Law [Thu, 14 Apr 1994 03:13:52 +0000 (03:13 +0000)]
* config/mips/nm-irix4.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define.
(STOPPED_BY_WATCHPOINT, HAVE_NONSTEPPABLE_WATCHPOINT): Likewise.
(target_{insert,remove}_watchpoint): Likewise.
Ken Raeburn [Wed, 13 Apr 1994 22:46:00 +0000 (22:46 +0000)]
Make tests work again on alpha-osf1 and sun4 native.
* config/unix.exp: Use nm.new, not nm, from newly built tree.
* binutils.all/objdump.exp: Add more wildcards to list of
single-letter options in pattern for usage message.
* binutils.all/nm.exp: Deleted debug-symbols test, since it only
works for a.out/stabs systems. Fixed regexps to make underscores
optional, since some C compilers don't prepend them. Deleted
check for foo.o symbol, since again some systems don't generate
it.
Bill Cox [Wed, 13 Apr 1994 22:30:37 +0000 (22:30 +0000)]
* configure: Make file links cleanly even if Lynx fails on
an NFS symlink (at least fail cleanly).
Jeff Law [Wed, 13 Apr 1994 22:06:01 +0000 (22:06 +0000)]
* gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
on local variables in recursive functions.
* gdb.t07/Makefile.in: Build the new test.
Jeff Law [Wed, 13 Apr 1994 22:02:52 +0000 (22:02 +0000)]
* config/pa/nm-hppab.h (STOPPED_BY_WATCHPOINT): Define.
(HAVE_STEPPABLE_WATCHPOINT): Define.
(TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define.
(target_{insert,delete}_watchpoint): Define.
Jeff Law [Wed, 13 Apr 1994 21:57:00 +0000 (21:57 +0000)]
* breakpoint.h (enum bptype): Add bp_hardware_watchpoint and
bp_watchpoint_scope breakpoints.
(struct breakpoint): Add val_chain and related_breakpoint fields
for use by watchpoints.
* breakpoint.c (within_scope): Delete. No longer used.
(TARGET_CAN_USE_HARDWARE_WATCHPOINT): Provide default definition.
(target_{remove,insert}_watchpoint): Likewise.
(can_use_hardware_watchpoint): New function.
(remove_breakpoint): New function to remove a single breakpoint
or hardware watchpoint.
(insert_breakpoints): Handle insertion of hardware watchpoints.
Store a copy of the value chain derived from the watchpoint
expression.
(remove_breakpoints): Simplify by using remove_breakpoint.
(delete_breakpoint): Likewise.
(watchpoint_check): Delete the watchpoint and watchpoint scope
breakpoints when the watchpoint goes out of scope. Save & restore
the current frame after checking watchpoints.
(breakpoint_init_inferior): Likewise (restarting the program
makes all local watchpoints go out of scope).
(bpstat_stop_status): Handle hardware watchpoints much like normal
watchpoints. Delete the watchpoint and watchpoint scope breakpoint
when the watchpoint goes out of scope. Remove and reinsert all
breakpoints before returning if we stopped when a hardware watchpoint
fired.
(watch_command): Use a hardware watchpoint when possible. If
watching a local expression, build a scope breakpoint too.
(map_breakpoint_numbers): Also call given function for any
related breakpoints.
(disable_breakpoint): Never disable a scope breakpoint.
(enable_breakpoint): Handle hardware breakpoints much like normal
breakpoints, but recompute the watchpoint_scope breakpoint's
frame and address (if we have an associated scope breakpoint).
(read_memory_nobpt): Handle hardware watchpoints like normal
watchpoints. When necessary handle watchpoint_scope breakpoints.
(print_it_normal, bpstat_what, breakpoint_1, mention): Likewise.
(clear_command, breakpoint_re_set_one, enable_command): Likewise.
(disable_command): Likewise.
* blockframe.c (find_frame_addr_in_frame_chain): New function.
Extern prototype added to frame.h
* infrun.c (wait_for_inferior): Set current_frame and select
a frame before checking if we stopped due to a hardare watchpoint
firing. Handle stepping over hardware watchpoints.
(normal_stop): Remove unnecessary call to select_frame.
* value.h (value_release_to_mark): Declare.
* values.c (value_release_to_mark): New function.
* procfs.c (procfs_wait): Add cases for hardware watchpoints.
(procfs_set_watchpoint, procfs_stopped_by_watchpoint): New functions.
* hppab-nat.c (hppa_set_watchpoint): New function.
* config/pa/nm-hppab.h (STOPPED_BY_WATCHPOINT): Define.
(HAVE_STEPPABLE_WATCHPOINT): Define.
(TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define.
(target_{insert,delete}_watchpoint): Define.
Ian Lance Taylor [Wed, 13 Apr 1994 14:54:18 +0000 (14:54 +0000)]
* objdump.c: Do an ifdef on __GO32__, not unix.
Jeff Law [Wed, 13 Apr 1994 03:47:33 +0000 (03:47 +0000)]
Fix typo.
Jeff Law [Wed, 13 Apr 1994 03:46:42 +0000 (03:46 +0000)]
* gdb.t15/gdbme.c (t_func_values): Do not compare function pointers
directly. Instead compare the return values from actual calls.
Stan Shebs [Wed, 13 Apr 1994 02:02:48 +0000 (02:02 +0000)]
Tue Apr 12 18:25:13 1994 Stan Shebs (shebs@andros.cygnus.com)
* subsegs.c (subsegs_begin): Call memset with args in the correct
order.
(subseg_get): Clear newly allocated seginfo, set its pointer slots
to NULL instead of 0.
Fixes a problem observed in sparc-lynx progressive.
Jeff Law [Tue, 12 Apr 1994 20:37:33 +0000 (20:37 +0000)]
* som.c (som_write_fixups): Always emit at least
one relocation for any non-bss section.
Ian Lance Taylor [Tue, 12 Apr 1994 16:39:21 +0000 (16:39 +0000)]
* mh-irix4 (CC): Change -XNh1500 to -XNh2000.
Stu Grossman [Tue, 12 Apr 1994 02:53:09 +0000 (02:53 +0000)]
Mon Apr 11 19:21:27 1994 Stu Grossman (grossman at cygnus.com)
* xcoffread.c (read_xcoff_symtab): Ignore symbols of class C_EXT,
smtyp XTY_LD, sclass XMC_DS (external data segment label). They
often have the same names as debug symbols for functions, and
confuse lookup_symbol().
Bill Cox [Mon, 11 Apr 1994 23:17:18 +0000 (23:17 +0000)]
* Makefile.in (check): Set TCL_LIBRARY for runtest.
This page took 0.040383 seconds and 4 git commands to generate.