binutils-gdb.git
30 years ago * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Don't put a semicolon after
Jim Kingdon [Thu, 10 Mar 1994 18:25:33 +0000 (18:25 +0000)]
* symfile.h (ADD_PSYMBOL_VT_TO_LIST): Don't put a semicolon after
while (0).  That defeats the whole purpose of using do . . . while (0).
* mdebugread.c (parse_partial_symbols): Don't use ?: expression as
list for ADD_PSYMBOL_TO_LIST; the macro takes its address and
using a ?: expression as an lvalue is not portable.

30 years ago * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR, also
Jim Kingdon [Thu, 10 Mar 1994 18:21:02 +0000 (18:21 +0000)]
* stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR, also
convert a LOC_ARG to a LOC_REF_ARG.  Update code which combines
'p' and 'r' symbol descriptors into a single symbol to look for a
LOC_REF_ARG.
* README, config/sparc/tm-sparc.h: Update comments.

30 years ago* TODO: Add suggestions about structure passing tests.
Jim Kingdon [Thu, 10 Mar 1994 16:42:54 +0000 (16:42 +0000)]
* TODO: Add suggestions about structure passing tests.

30 years ago* TODO: Add suggestion about passing a structure as the 7th argument.
Jim Kingdon [Thu, 10 Mar 1994 16:35:54 +0000 (16:35 +0000)]
* TODO: Add suggestion about passing a structure as the 7th argument.

30 years ago * mdebugread.c (parse_type): Do not complain for types with
Peter Schauer [Thu, 10 Mar 1994 09:28:18 +0000 (09:28 +0000)]
* mdebugread.c (parse_type):  Do not complain for types with
an `indexNil' aux index, these are simply undefined types.
Remove indexNil check from caller of parse_type.
* mdebugread.c (parse_partial_symbols):  Do not enter
stGlobal, scCommon symbols into the minimal symbol table, their
value is the size of the common, not its address.
Handle scInit, scFini, scPData and scXData sections.
Use minimal symbol type mst_file_* for stLabel symbols, instead of
mst_*.
Enter stProc symbols into the global_psymbols list once, not into
the static_psymbols_list.
Get rid of dummy psymtab if it is empty, to allow proper detection
of stripped executables.
* mdebugread.c (cross_ref):  Allow cross references to Fortran
common blocks.

30 years ago * stabsread.c (common_block_end, fix_common_block): Stash the
Jim Kingdon [Thu, 10 Mar 1994 03:57:57 +0000 (03:57 +0000)]
* stabsread.c (common_block_end, fix_common_block): Stash the
struct pending * in the SYMBOL_TYPE, not the SYMBOL_NAMESPACE, so
as to not assume that a pointer fits in an enum.

30 years ago* stabs.texinfo (Symbol Descriptors): Add OS9000 symbol descriptor s.
Jim Kingdon [Thu, 10 Mar 1994 03:45:07 +0000 (03:45 +0000)]
* stabs.texinfo (Symbol Descriptors): Add OS9000 symbol descriptor s.

30 years agoModified Files:
Kung Hsu [Thu, 10 Mar 1994 03:13:52 +0000 (03:13 +0000)]
Modified Files:
ChangeLog os9kread.c stabsread.c remote-os9k.c symfile.c
target.c

        * os9kread.c (fill_sym): check compiler verion number for pre-
        UltraC compiler.
        * os9kread.c (os9k_process_one_symbol): address of symbol is
        relative to section not module.
        * stabsread.c (define_symbol): add symbol type 's' as local
        symbol for os9k.
        * remote-os9k.c: add command 'set monitor_log' to turn on or off
        monitor logging.
        * remote-os9k.c: fix bug in delete breakpoint, single step trace.
        * remote-os9k.c: fix bug in 'set remotebaud' function.
        * remote-os9k.c (rombug_link): minimize checking so to improve
        speed.
        * symfile.c (symfile_command): check if failed to link, also make
        the command be able to accept more than one filenames.
        * target.c (target_link): check if failed to link with rombug.

30 years agoCVS:
Kung Hsu [Thu, 10 Mar 1994 03:11:19 +0000 (03:11 +0000)]
CVS:
Modified Files:
tm-i386os9k.h

         * config/i386/tm-i386os9k.h : add #define DECR_PC_AFTER_BREAK 0.

30 years ago * libbfd-in.h: Remove alloca cruft. It was missing some necessary
Jim Kingdon [Thu, 10 Mar 1994 02:33:01 +0000 (02:33 +0000)]
* libbfd-in.h: Remove alloca cruft.  It was missing some necessary
cruft (like the #pragma alloca for AIX).
In addition to that problem, the C alloca calls xmalloc, which
means checking for being out of memory can't work right.  The
following changes remove all uses of alloca from BFD.
* hosts/solaris2.h: Remove alloca cruft.
* som.c: Replace alloca with a fixed size auto array.
* aoutx.h, elfcode.h, nlmcode.h, bout.c, coff-alpha.c, ecoff.c,
ecofflink.c, elf32-hppa.c, elf32-mips.c, linker.c, reloc.c, som.c,
sunos.c: Replace alloca with malloc and appropriate error checking and
freeing.
* linker.c: Replace alloca with obstack_alloc.
* libbfd.h: Rebuilt.

30 years ago* isearch.c, search.c: Include sysdep.h.
Jim Kingdon [Thu, 10 Mar 1994 02:26:43 +0000 (02:26 +0000)]
* isearch.c, search.c: Include sysdep.h.

30 years ago * libbfd-in.h: Remove alloca cruft. It was missing some necessary
Jim Kingdon [Thu, 10 Mar 1994 02:09:10 +0000 (02:09 +0000)]
* libbfd-in.h: Remove alloca cruft.  It was missing some necessary
cruft (like the #pragma alloca for AIX).
In addition to that problem, the C alloca calls xmalloc, which
means checking for being out of memory can't work right.  The
following changes remove all uses of alloca from BFD.
* hosts/solaris2.h: Remove alloca cruft.
* som.c: Replace alloca with a fixed size auto array.
* aoutx.h, elfcode.h, nlmcode.h, bout.c, coff-alpha.c, ecoff.c,
ecofflink.c, elf32-hppa.c, elf32-mips.c, linker.c, reloc.c, som.c:
Replace alloca with malloc and appropriate error checking and
freeing.
* linker.c: Replace alloca with obstack_alloc.
* libbfd.h: Rebuilt.

30 years ago* remote-es.c (es1800_child_ops): Don't declare it static.
Jim Kingdon [Wed, 9 Mar 1994 23:24:31 +0000 (23:24 +0000)]
* remote-es.c (es1800_child_ops): Don't declare it static.

30 years ago * ar.c (move_members): Fix it so that the abi positional modifiers
Steve Chamberlain [Wed, 9 Mar 1994 21:53:54 +0000 (21:53 +0000)]
* ar.c (move_members): Fix it so that the abi positional modifiers
don't delete all archive members following the insert point.

30 years agoa belated reflection of changed MPW files
Stan Shebs [Wed, 9 Mar 1994 20:32:48 +0000 (20:32 +0000)]
a belated reflection of changed MPW files

30 years ago * os9k.h: os9000 target specific header file, the header of the
Jim Kingdon [Wed, 9 Mar 1994 17:34:32 +0000 (17:34 +0000)]
* os9k.h: os9000 target specific header file, the header of the
object file is used now.

30 years agoalpha, coff, i386 changes
Ken Raeburn [Wed, 9 Mar 1994 02:45:29 +0000 (02:45 +0000)]
alpha, coff, i386 changes

30 years agoHandle Alpha load-immediate-FP pseudo-instructions:
Ken Raeburn [Wed, 9 Mar 1994 02:44:00 +0000 (02:44 +0000)]
Handle Alpha load-immediate-FP pseudo-instructions:
* config/alpha-opcode.h (ldif, ldig, ldis, ldit): New patterns.
* config/tc-alpha.c (lit8_sec, lit4_sec, lit8_sym, lit4_sym): New variables.
(create_literal_section): New function.
(create_lita_section): Now a macro.
(get_lit8_offset, get_lit4_offset): New functions.
(maybe_set_gp): New function.
(select_gp_value): Call it.
(load_expression): Preserve addend if symbol is a section symbol.
(alpha_ip): Handle new operand type `F' for floating-point constants; store
them in .lit{4,8} sections.
(alpha_ip, case 'G'): Emit LITUSE relocations for symbol exprs.

30 years ago* config/obj-coff.c: Minor formatting/stylistic changes, plus:
Ken Raeburn [Wed, 9 Mar 1994 02:42:57 +0000 (02:42 +0000)]
* config/obj-coff.c: Minor formatting/stylistic changes, plus:
(obj_coff_section): Declare.
(obj_pseudo_table): Make it available only if MANY_SECTIONS.
(obj_symbol_to_chars) [CROSS_COMPILE]: Some attemps to make this work.  It
still doesn't.  It now fails to compile, instead of silently compiling to do
nothing.
* config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define only if MANY_SECTIONS.
(OBJ_PROCESS_STAB) [! MANY_SECTIONS]: New macro, just emits a warning.

30 years ago * mips-opc.c: It's sqrt.s, not sqrt.w. From
Ian Lance Taylor [Tue, 8 Mar 1994 23:13:30 +0000 (23:13 +0000)]
* mips-opc.c: It's sqrt.s, not sqrt.w.  From
davidj@ICSI.Berkeley.EDU (David Johnson).

30 years ago * config/obj-coffbfd.c (w_strings): Only copy strings out if
Steve Chamberlain [Tue, 8 Mar 1994 22:30:58 +0000 (22:30 +0000)]
* config/obj-coffbfd.c (w_strings): Only copy strings out if
their symbols are going to be written.

30 years ago * coffgrok.[ch]: New files, understand coff objects.
Steve Chamberlain [Tue, 8 Mar 1994 21:53:19 +0000 (21:53 +0000)]
* coffgrok.[ch]: New files, understand coff objects.
* coffdump.c: Uses coffgrok to dump out the debug info of a coff
file.
* sysroff.info: Description of a SYSROFF object file.
* sysinfo.y, syslex.l: Parse info file, generate a reader, writer,
header files and a printer.
* srconv.c: Uses coffgrok.c and sysroff.info to convert a coff
file to a SYSROFF file.

30 years ago * coff-mips.c (mips_relocate_section): Handle MIPS_R_LITERAL like
Ian Lance Taylor [Tue, 8 Mar 1994 20:11:44 +0000 (20:11 +0000)]
* coff-mips.c (mips_relocate_section): Handle MIPS_R_LITERAL like
MIPS_R_GPREL.

30 years ago* config/i386/tm-i386v4.h: Give just macro name, not args, to #undef.
Jim Kingdon [Tue, 8 Mar 1994 19:45:32 +0000 (19:45 +0000)]
* config/i386/tm-i386v4.h: Give just macro name, not args, to #undef.

30 years agoSet Emacs local variables to never use version control.
Ian Lance Taylor [Tue, 8 Mar 1994 19:16:31 +0000 (19:16 +0000)]
Set Emacs local variables to never use version control.

30 years agoSet Emacs local variables to never use version control.
Ian Lance Taylor [Tue, 8 Mar 1994 18:55:57 +0000 (18:55 +0000)]
Set Emacs local variables to never use version control.

30 years agoSet Emacs local variables to never use version control.
Ian Lance Taylor [Tue, 8 Mar 1994 18:41:54 +0000 (18:41 +0000)]
Set Emacs local variables to never use version control.

30 years ago * dbxread.c: New variable lowest_text_address.
Jim Kingdon [Tue, 8 Mar 1994 18:22:56 +0000 (18:22 +0000)]
* dbxread.c: New variable lowest_text_address.
(record_minimal_symbol, read_dbx_symtab): Set it.
(read_dbx_symtab): Use lowest_text_address + text_size instead of
end_of_text_address.
* config/gould/tm-pn.h: Add comment regarding END_OF_TEXT_DEFAULT.

30 years ago * messages.c (as_perror): Declare arguments const.
Ian Lance Taylor [Tue, 8 Mar 1994 16:51:28 +0000 (16:51 +0000)]
* messages.c (as_perror): Declare arguments const.
* as.h (as_perror): Change declaration.

30 years ago * parser-defs.h: Add "extern" to start of variable declarations so
Jim Kingdon [Tue, 8 Mar 1994 15:25:00 +0000 (15:25 +0000)]
* parser-defs.h: Add "extern" to start of variable declarations so
we don't end up with commons.
* parse.c: Define these variables.

30 years ago * irix5-nat.c (find_solib): Cast o_path to CORE_ADDR when using it
Jim Kingdon [Tue, 8 Mar 1994 15:01:55 +0000 (15:01 +0000)]
* irix5-nat.c (find_solib): Cast o_path to CORE_ADDR when using it
as one.

30 years ago* alpha-tdep.c: Change value to value_ptr.
Jim Kingdon [Tue, 8 Mar 1994 14:56:30 +0000 (14:56 +0000)]
* alpha-tdep.c: Change value to value_ptr.

30 years ago * config/i386bsd.mh: New file.
David MacKenzie [Tue, 8 Mar 1994 12:25:06 +0000 (12:25 +0000)]
* config/i386bsd.mh: New file.

30 years ago * solib.c (elf_locate_base): New function to locate the address
Peter Schauer [Mon, 7 Mar 1994 22:01:58 +0000 (22:01 +0000)]
* solib.c (elf_locate_base):  New function to locate the address
of the dynamic linker's runtime structure in the dynamic info section.
* solib.c (locate_base):  Use it instead of iterating over the list
of mapped address segments.
* solib.c (look_for_base, bfd_lookup_symbol):  Removed, no longer
necessary.

30 years ago * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
Peter Schauer [Mon, 7 Mar 1994 21:51:38 +0000 (21:51 +0000)]
* gdb.t03/gdbme.c:  gcc version 1 puts out the wrong stabs for
the primary1 test, use work around if __GNUC__ < 2.
* gdb.t06/signals.c:  Add comments for signals.exp pattern matching.
* gdb.t06/signals.exp:  Add XFAILs for i386 bsd and vax ultrix.
Test for bad output rather than waiting for timeout.  Issue
second continue only if first continue failed.

30 years ago Add lost lines to previous ChangeLog entry.
Peter Schauer [Mon, 7 Mar 1994 21:38:41 +0000 (21:38 +0000)]
Add lost lines to previous ChangeLog entry.

30 years ago * config/tc-mips.c (load_address): When calling frag_grow, allow
Ian Lance Taylor [Mon, 7 Mar 1994 21:12:26 +0000 (21:12 +0000)]
* config/tc-mips.c (load_address): When calling frag_grow, allow
for the (up to) two nops which may be inserted by append_insn if
mips_optimize is 0.
(macro): Likewise.

30 years ago * elf.sc: Permit TEXT_START_SYMBOLS and DATA_START_SYMBOLS to be
Ian Lance Taylor [Mon, 7 Mar 1994 20:26:24 +0000 (20:26 +0000)]
* elf.sc: Permit TEXT_START_SYMBOLS and DATA_START_SYMBOLS to be
defined.
* emulparams/elf32mipb.s (TEXT_START_SYMBOLS): Define _ftext.
(DATA_START_SYMBOLS): Define _fdata.

30 years agoFix typo, value has not been changed to value_ptr in all places.
Peter Schauer [Sat, 5 Mar 1994 22:45:47 +0000 (22:45 +0000)]
Fix typo, value has not been changed to value_ptr in all places.

30 years ago * elf32-hppa.h, elfcode.h: Replace uses of Elf*_Half, Elf*_Word,
Peter Schauer [Sat, 5 Mar 1994 22:41:41 +0000 (22:41 +0000)]
* elf32-hppa.h, elfcode.h:  Replace uses of Elf*_Half, Elf*_Word,
Elf*_Off typedefs by their expansion, the typedefs have been
removed from include/elf/internal.h.

30 years ago * internal.h: Remove Elf32_*, Elf64_* typedefs. These names
Peter Schauer [Sat, 5 Mar 1994 22:39:47 +0000 (22:39 +0000)]
* internal.h:  Remove Elf32_*, Elf64_* typedefs.  These names
cause conflicts with system headers, e.g. link.h in gdb/solib.c.
Combine 32- and 64-bit versions of *_Internal_Dyn.
* common.h:  Replace uses of Elf64_Word, Elf64_Xword typedefs
by their expansion.
* mips.h:  Replace uses of Elf32_Word, Elf32_Sword, Elf32_Addr
typedefs by their expansion. Add DT_MIPS_RLD_MAP definition.

30 years agoFri Mar 4 11:43:47 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Fri, 4 Mar 1994 19:53:16 +0000 (19:53 +0000)]
Fri Mar  4 11:43:47 1994  Stan Shebs  (shebs@andros.cygnus.com)

* ldlang.c (lookup_name): Stomp on a pointer if in MPW.
* mpw-em.c: Edit to reflect changed syntax of compiled-in linker
scripts.

30 years ago * hppa-tdep.c (pc_in_linker_stub): Move decl to beginning of file.
Jeff Law [Fri, 4 Mar 1994 17:54:41 +0000 (17:54 +0000)]
    * hppa-tdep.c (pc_in_linker_stub): Move decl to beginning of file.
        (pc_in_interrupt_handler): New function.  Also add PARAM decl.
        (find_proc_framesize): Deal with HPUX setting SAVE_SP bit for
        signal trampoline and interrupt routines.
        (frame_saved_pc): Handle signal trampolines and interrupt routines.
        (frame_chain, frame_chain_valid): Likewise.
        (hppa_frame_find_saved_regs): Likewise.  Also deal with special
        saved regs convention for SP.

        * tm-hppa[bho].h: FRAME_FIND_SAVED_PC_IN_SIGTRAMP): Define.
        (FRAME_BASE_BEFORE_SIGTRAMP): Define.
        (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Define.

        * tm-hppah.h (IN_SIGTRAMP): Define.

30 years ago * som.h (_PA_RISC_ID): Treat HOST_HPPAOSF just like HOST_HPPABSD.
Jeff Law [Fri, 4 Mar 1994 04:04:48 +0000 (04:04 +0000)]
    * som.h (_PA_RISC_ID): Treat HOST_HPPAOSF just like HOST_HPPABSD.

30 years ago * ch-exp.y (match_simple_name_string): Accept '_' as well as an
Jim Kingdon [Fri, 4 Mar 1994 03:12:05 +0000 (03:12 +0000)]
* ch-exp.y (match_simple_name_string): Accept '_' as well as an
alphabetic character as the start of a name.

30 years ago* sparclite/Makefile.in (all install): Build and install aload.
Jim Kingdon [Fri, 4 Mar 1994 02:58:28 +0000 (02:58 +0000)]
* sparclite/Makefile.in (all install): Build and install aload.

30 years ago* configure.in: For ISC, use mh-sysv, not mh-isc.
Jim Kingdon [Fri, 4 Mar 1994 01:40:39 +0000 (01:40 +0000)]
* configure.in: For ISC, use mh-sysv, not mh-isc.

30 years ago * configure.in: Accept i[34]86-*-*sysv32 because that is what
Jim Kingdon [Fri, 4 Mar 1994 01:38:57 +0000 (01:38 +0000)]
* configure.in: Accept i[34]86-*-*sysv32 because that is what
config.guess and config.sub produce.

30 years ago* i386.h: Reverse last change. It'll be handled in gas instead.
Ken Raeburn [Fri, 4 Mar 1994 00:37:56 +0000 (00:37 +0000)]
* i386.h: Reverse last change.  It'll be handled in gas instead.

30 years ago * configure.in (noconfigdirs for alpha): Remove libg++ and libio.
Per Bothner [Thu, 3 Mar 1994 22:25:16 +0000 (22:25 +0000)]
* configure.in (noconfigdirs for alpha): Remove libg++ and libio.

30 years ago* mips-tdep.c: Change value to value_ptr.
Jim Kingdon [Thu, 3 Mar 1994 20:42:59 +0000 (20:42 +0000)]
* mips-tdep.c: Change value to value_ptr.

30 years ago* config/atof-ieee.c (make_invalid_floating_point_number):
David Edelsohn [Thu, 3 Mar 1994 19:39:12 +0000 (19:39 +0000)]
* config/atof-ieee.c (make_invalid_floating_point_number):
Add cast to avoid warning from gcc.

30 years ago * configure.host: Recognize i[34]86-sequent-*.
Jim Kingdon [Thu, 3 Mar 1994 02:38:24 +0000 (02:38 +0000)]
* configure.host: Recognize i[34]86-sequent-*.

* trad-core.c (trad_unix_core_file_p): A non-zero, not zero,
return from bfd_seek indicates an error.
New macro TRAD_CORE_DSIZE_INCLUDES_TSIZE to replace
TRAD_CORE_STACK_OFFSET.
* hosts/symmetry.h: Define TRAD_CORE_DSIZE_INCLUDES_TSIZE and
TRAD_CORE_USER_OFFSET but not HOST_STACK_OFFSET.

30 years ago* config.guess: Check for ptx.
Jim Kingdon [Thu, 3 Mar 1994 02:35:28 +0000 (02:35 +0000)]
* config.guess: Check for ptx.

30 years agoRemoved comment about internals documentation in as.texi; just say that the
Ken Raeburn [Thu, 3 Mar 1994 02:31:21 +0000 (02:31 +0000)]
Removed comment about internals documentation in as.texi; just say that the
internals need documenting.

30 years ago * breakpoint.c, breakpoint.h, c-valprint.c, ch-valprint.c,
Jim Kingdon [Thu, 3 Mar 1994 01:00:57 +0000 (01:00 +0000)]
* breakpoint.c, breakpoint.h, c-valprint.c, ch-valprint.c,
cp-valprint.c, eval.c, expprint.c, findvar.c, language.c,
objfiles.h, infcmd.c, printcmd.c, stack.c, typeprint.c,
valarith.c, valops.c, valprint.c, value.h, values.c: Replace
value with value_ptr.  This is for the ptx compiler.
* objfiles.h, target.h: Don't declare a "sec_ptr" field using a
"sec_ptr" typedef.
* symm-nat.c: Add a bunch of stuff for symmetry's ptrace stuff.
#if 0 i386_float_info.
* symm-tdep.c (round): Remove.  Also remove sgttyb.
* symm-tdep.c: Remove lots of stuff which duplicates stuff from
i386-tdep.c.  Remove register_addr and ptx_coff_regno_to_gdb.
* i386-tdep.c (i386_frame_find_saved_regs): Put in
I386_REGNO_TO_SYMMETRY check in case it is needed for Dynix
someday.
* config/i386/nm-symmetry.h: Change KERNEL_U_ADDR.  Move
stuff from PTRACE_READ_REGS, PTRACE_WRITE_REGS macros to
symm-nat.c.  Define CHILD_WAIT and declare child_wait().
* config/i386/tm-symmetry.h: Remove call function stuff; stuff in
tm-i386v.h is apparently OK.
* config/i386/xm-symmetry.h [_SEQUENT_]: Define HAVE_TERMIOS not
HAVE_TERMIO.  Define MEM_FNS_DECLARED, NEED_POSIX_SETPGID, and
USE_O_NOCTTY.

30 years ago * som.[ch]: Do not include libhppa.h in som.c, instead include
Jeff Law [Wed, 2 Mar 1994 23:04:29 +0000 (23:04 +0000)]
    * som.[ch]: Do not include libhppa.h in som.c, instead include
        it in som.h.

        * elf32-hppa.[ch]: Do not include libhppa.h in elf32-hppa.c, instead
        include it in elf32-hppa.h.

30 years agoAdd some notes from tege on .align for alpha and i386 that I want to deal with
Ken Raeburn [Wed, 2 Mar 1994 22:43:28 +0000 (22:43 +0000)]
Add some notes from tege on .align for alpha and i386 that I want to deal with
sometime, when I've got time.

30 years ago * som.c (log2): Return -1 on error rather than aborting.
Jeff Law [Wed, 2 Mar 1994 20:32:10 +0000 (20:32 +0000)]
    * som.c (log2): Return -1 on error rather than aborting.
        (setup_sections): Bubble up an error from log2.

30 years ago * osfsolib.c (xfer_link_map_member): Update to use new
Peter Schauer [Wed, 2 Mar 1994 20:14:07 +0000 (20:14 +0000)]
* osfsolib.c (xfer_link_map_member): Update to use new
target_read_string interface.

30 years ago * config/tc-hppa.c: Add a few casts to make HP C compiler happy.
Jeff Law [Wed, 2 Mar 1994 20:02:17 +0000 (20:02 +0000)]
    * config/tc-hppa.c: Add a few casts to make HP C compiler happy.

        * config/obj-som.c (obj_som_version, obj_som_copyright): Be prepared
        to handle an error from bfd_som_attach_aux_hdr.

30 years ago * som.c (hppa_som_gen_reloc_type): Use correct enum type for
Jeff Law [Wed, 2 Mar 1994 19:59:03 +0000 (19:59 +0000)]
    * som.c (hppa_som_gen_reloc_type): Use correct enum type for
        field parameter.
        (bfd_som_set_section_attributes): Use unsigned int rather than
        unsigned char to avoid GNU-C extensions.
        (bfd_som_attach_aux_hdr): Return a boolean to indicate success
        or failure rather than aborting on failure.

        * som.h (bfd_som_set_section_attributes): Fix prototype to match
        som.c changes.
        (bfd_som_attach_aux_hdr): Add prototype.
        (hppa_som-gen_reloc_type): Likewise.

        * elf32-hppa.c: Add a couple casts to make HP compiler happy.
        (hppa_look_for_stubs_in_section): Do not return false on failure
        until rest of code is ready to handle it.  Abort for now.

30 years ago * remote-os9k.c (rombug_wait): Call find_pc_section not
Jim Kingdon [Wed, 2 Mar 1994 18:33:58 +0000 (18:33 +0000)]
* remote-os9k.c (rombug_wait): Call find_pc_section not
find_pc_objfile.

30 years ago * config/tc-hppa.h: Wrap ELF specific decls inside an ifdef.
Jeff Law [Wed, 2 Mar 1994 18:31:57 +0000 (18:31 +0000)]
    * config/tc-hppa.h: Wrap ELF specific decls inside an ifdef.

30 years ago * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
Jim Kingdon [Wed, 2 Mar 1994 18:11:44 +0000 (18:11 +0000)]
* gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
operator[] test with gdb_test because the old code didn't seem to
be getting the quoting right with the new dejagnu.

30 years ago * infrun.c (wait_for_inferior): In checking
Jim Kingdon [Wed, 2 Mar 1994 17:49:45 +0000 (17:49 +0000)]
* infrun.c (wait_for_inferior): In checking
remove_breakpoints_on_following_step, check
through_sigtramp_breakpoint as well as step_resume_breakpoint.

30 years agoChange "error" to "perror".
Rob Savoye [Wed, 2 Mar 1994 05:00:26 +0000 (05:00 +0000)]
Change "error" to "perror".

30 years ago * os9kread.c (os9k_process_one_symbol): Rename
Jim Kingdon [Wed, 2 Mar 1994 03:01:34 +0000 (03:01 +0000)]
* os9kread.c (os9k_process_one_symbol): Rename
VARIABLES_INSIDE_BLOCK to OS9K_VARIABLES_INSIDE_BLOCK.
* symfile.c (symbol_file_command): Check for (CORE_ADDR)-1, not
(CORE_ADDR)0, from target_link, since that is what it uses.
Process name at end, not during parsing (like we did before Kung's
change), so that -readnow and -mapped can appear anywhere.
Make text_relocation a local variable.
* config/i386/i386os9k.mt: Fix comment.
* Makefile.in (ALLDEPFILES): Add remote-os9k.c.
* os9kread.c: Put "comments" after #endif inside /* */.
* stabsread.h: Add os9k_stabs variable.
* stabsread.c (start_stabs), os9kread.c (os9k_process_one_symbol):
Set it.
* stabsread.c (define_symbol): If os9k_stabs, put a 'V' symbol
descriptor in global_symbols not local_symbols.
(read_type): If os9k_stabs, accept 'c', 'i', and 'b' type
descriptors.
(read_type): If os9k_stabs, accept function parameters after 'f'
type descriptor.
(read_array_type): If os9k_stabs, don't expect index type and
expect lower and upper to be separated by ',' not ';'.
(read_enum_type): If os9k_stabs, read a number before the first
enumeration constant.
(os9k_init_type_vector): New function.
(dbx_lookup_type): Call it when starting new type vector.
* config/i386/tm-i386os9k.h: Define BELIEVE_PCC_PROMOTION.
* (os9k_process_one_symbol): Call define_symbol not os9k_define_symbol.
* os9kstab.c: Removed.
* Makefile.in: Update accordingly.
* objfiles.c (objfile_relocate_data): Removed.
* remote-os9k.c (rombug_wait): Call objfile_relocate
not objfile_relocate_data.
* objfiles.h, objfiles.c: Remove find_pc_objfile.
* remote-os9k.c (rombug_wait): Call find_pc_section not
find_pc_objfile.
* main.c (quit_command): Check inferior_pid; revert Kung change.
* remote-os9k.c (rombug_create_inferior): Set inferior_pid.

30 years agoChange "error" to "perror" everywhere.
Rob Savoye [Wed, 2 Mar 1994 02:59:43 +0000 (02:59 +0000)]
Change "error" to "perror" everywhere.

30 years ago * stabs.texinfo (Type Descriptors): Add OS9000 type descriptors c,
Jim Kingdon [Wed, 2 Mar 1994 02:55:42 +0000 (02:55 +0000)]
* stabs.texinfo (Type Descriptors): Add OS9000 type descriptors c,
i, and b.

30 years ago* bfd-in2.h: Rebuilt.
Jim Kingdon [Wed, 2 Mar 1994 02:36:07 +0000 (02:36 +0000)]
* bfd-in2.h: Rebuilt.

30 years agoModified Files:
Kung Hsu [Wed, 2 Mar 1994 02:12:39 +0000 (02:12 +0000)]
Modified Files:
ChangeLog

        * os9k.h: os9000 target specific header file, the header of the
        object file is used now.

30 years agoModified Files:
Kung Hsu [Tue, 1 Mar 1994 23:13:56 +0000 (23:13 +0000)]
Modified Files:
ChangeLog objfiles.c objfiles.h symfile.c target.c main.c
Makefile.in configure.in
Added Files:
os9kread.c os9kstab.c remote-os9k.c

        * os9kread.c: New file to read os9000 style symbo table.
        * os9kstab.c: new file to read os9000 style stabs.
        * remote-os9k.c: remote protocol talking to os9000 rombug monitor.
        * objfiles.c (find_pc_objfile): new function to search objfile
        from pc.
        * objfiles.c (objfile_relocate_data): new function to relocate
        data symbols in symbol table.
        * objfiles.h: Add two aux fields in struct objfile to handle
        multiple symbol table files situation like in os9000.
        * symfile.c: Change so 'symbol-file' command can handle multiple
        files. Also call target_link() to get relocation infos.
        * target.c (target_link): new function to get relocation info when
        a symbol file is requested to load.
        * main.c (quit_command): take out 'inferior_pid != 0' condition,
        because in cross mode there's no inferior pid, bit they need to
        be detached.
        Makefile.in: add os9kread.c os9kstab.c and .o's.
        configure.in: add i386os9k target.
        config/i386/i386os9k.mt: new add.
        config/i386/tm-i386os9k.h: new add.

30 years agoModified Files:
Kung Hsu [Tue, 1 Mar 1994 21:39:28 +0000 (21:39 +0000)]
Modified Files:
  ChangeLog i386os9k.c Makefile.in

        * i386os9k.c: use new functions bfd_set_error and bfd_get_error.
        * Makefile.in: delete an extra blank.

30 years ago * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP): Handle ucbsigvechandler.
Peter Schauer [Tue, 1 Mar 1994 21:20:19 +0000 (21:20 +0000)]
* config/sparc/tm-sun4sol2.h (IN_SIGTRAMP):  Handle ucbsigvechandler.

30 years ago * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP): Handle ucbsigvechandler.
Peter Schauer [Tue, 1 Mar 1994 21:18:53 +0000 (21:18 +0000)]
* config/sparc/tm-sun4sol2.h (IN_SIGTRAMP):  Handle ucbsigvechandler.
* sparc-tdep.c (sparc_frame_saved_pc):  Handle ucbsigvechandler.

30 years agoModified Files:
Kung Hsu [Tue, 1 Mar 1994 21:09:17 +0000 (21:09 +0000)]
Modified Files:
ChangeLog configure.in

       * configure.in : Add i396os9k_vec.

30 years ago * target.c, target.h (target_read_string): Provide error detection to
Jim Kingdon [Tue, 1 Mar 1994 21:00:18 +0000 (21:00 +0000)]
* target.c, target.h (target_read_string): Provide error detection to
caller.  Put string in malloc'd space, so caller need not impose
arbitrary limits.
* solib.c (find_solib): Update to use new interface.
* irix5-nat.c (find_solib): Read o_path from inferior
(clear_solib): Free storage for o_path.
* valprint.c (val_print_string): Add comments.

30 years ago* floatformat.h: New file, intended to replace ieee-float.h.
Jim Kingdon [Tue, 1 Mar 1994 18:57:01 +0000 (18:57 +0000)]
* floatformat.h: New file, intended to replace ieee-float.h.

30 years ago * valprint.c (val_print_string): If errcode is set, always print
Jim Kingdon [Tue, 1 Mar 1994 18:56:33 +0000 (18:56 +0000)]
* valprint.c (val_print_string): If errcode is set, always print
an error, regardless of force_ellipsis.  In the non-EIO case,
just print the error message rather than calling error().  Don't
access *(bufptr-1) if bufptr points to the start of the buffer.
When looking for '\0', don't increment bufptr and addr if bufptr
started out already at limit.  If an error happens on fetching the
first character, don't print the string.

30 years ago * symtab.c (decode_line_1): Handle the case when skip_quoted does not
Peter Schauer [Tue, 1 Mar 1994 07:57:01 +0000 (07:57 +0000)]
* symtab.c (decode_line_1):  Handle the case when skip_quoted does not
advance `p'.

30 years agoRemove trailing space at end of continuation line in def of CFILES.
Stu Grossman [Tue, 1 Mar 1994 03:14:51 +0000 (03:14 +0000)]
Remove trailing space at end of continuation line in def of CFILES.

30 years ago * value.h (struct value): Add modifiable field.
Jim Kingdon [Tue, 1 Mar 1994 02:20:39 +0000 (02:20 +0000)]
* value.h (struct value): Add modifiable field.
* values.c (allocate_value, record_latest_value, value_copy): Set it.
(record_latest_value): Don't mess with VALUE_LVAL of value.
* valops.c (value_assign): Check it.  Reword existing error
message on not_lval.

30 years agoAdded Files:
Kung Hsu [Tue, 1 Mar 1994 01:57:46 +0000 (01:57 +0000)]
Added Files:
i386os9k.mt tm-i386os9k.h

* i386os9k.mt: newly add i386/os9000 make file.
* tm-i386os9k.h: newly add i386/os9000 target dependent .h file.

30 years agoModified Files:
Kung Hsu [Tue, 1 Mar 1994 00:48:55 +0000 (00:48 +0000)]
Modified Files:
ChangeLog config.sub

        * config.sub: Add os9k checking.

30 years ago * mips-tdep.c (mips_step_skips_delay), config/mips/tm-mips.h
Jim Kingdon [Tue, 1 Mar 1994 00:15:07 +0000 (00:15 +0000)]
* mips-tdep.c (mips_step_skips_delay), config/mips/tm-mips.h
(STEP_SKIPS_DELAY): Added.
* infrun.c (proceed) [STEP_SKIPS_DELAY]: Check for a breakpoint in
the delay slot.

30 years agoModified Files:
Kung Hsu [Tue, 1 Mar 1994 00:00:06 +0000 (00:00 +0000)]
Modified Files:
ChangeLog

30 years agoModified Files:
Kung Hsu [Mon, 28 Feb 1994 23:49:08 +0000 (23:49 +0000)]
Modified Files:
ChangeLog targets.c Makefile.in cache.c
Added Files:
i386os9k.c

        * i386os9k.c : new file to handle os9k format bfd.
        * Makefile.in : Handle new file i386os9k.c
        * bfd-in2.h : Add bfd_target_os9k_flavour.
        * targets.c : Add bfd_target_os9k_flavour and i386os9k_vec.
        * cache.c : Initialize cache_sentinel to 0.

30 years ago * valprint.c (val_print_string): If errcode is set, always print
Jim Kingdon [Mon, 28 Feb 1994 22:44:21 +0000 (22:44 +0000)]
* valprint.c (val_print_string): If errcode is set, always print
an error, regardless of force_ellipsis.  In the non-EIO case,
just print the error message rather than calling error().  Don't
access *(bufptr-1) if bufptr points to the start of the buffer.
When looking for '\0', don't increment bufptr and addr if bufptr
started out already at limit.  If an error happens on fetching the
first character, don't print the string.

30 years ago960-coff, alpha changes
Ken Raeburn [Mon, 28 Feb 1994 21:15:06 +0000 (21:15 +0000)]
960-coff, alpha changes

30 years ago(md_atof): Omit warning about FP values.
Ken Raeburn [Mon, 28 Feb 1994 21:13:23 +0000 (21:13 +0000)]
(md_atof): Omit warning about FP values.
(line_comment_chars): Add ! to list.
(md_apply_fix): Do process 32- and 64-bit relocations.

30 years ago* configure.in (i960-*-coff, i960-*-vxworks5.*): Use coffbfd, and gas_target
Ken Raeburn [Mon, 28 Feb 1994 21:11:17 +0000 (21:11 +0000)]
* configure.in (i960-*-coff, i960-*-vxworks5.*): Use coffbfd, and gas_target
ic960coff.
* config/ic960coff.mt: New file.
* config/obj-coffbfd.h [TC_I960]: Include coff/i960.h.
(TARGET_FORMAT) [TC_I960]: Use coff-Intel-little.
* config/te-ic960.h (CROSS_COMPILE): Don't undef this.  We'll always build
little-endian object files.
* config/tc-i960.c (md_reloc_size): Don't define at all if BFD or
BFD_ASSEMBLER is defined.
(mem_fmt): Since COFF doesn't handle callx relocations yet, treat them like
normal 32-bit relocations.
(md_apply_fix): For callx relocations, store zero.
(tc_bout_fix_to_chars): Store symbol idx for all callx relocations, regardless
of link-relax setting.
(tc_coff_fix2rtype, tc_coff_sizemachdep): New functions.
(i960_handle_align) [! OBJ_BOUT]: If link-relax option is selected, print an
error message and clear it.
* config/tc-i960.h (BFD_ARCH, COFF_FLAGS, COFF_MAGIC, TC_COUNT_RELOC,
TC_COFF_FIX2RTYPE, TC_COFF_SIZEMACHDEP, tc_fix_adjustable): New macros.
(tc_coff_fix2rtype, tc_coff_sizemachdep): Declare.

30 years ago(obj_coff_lcomm): Put "#if 0" around the unused parts (most of the function).
Ken Raeburn [Mon, 28 Feb 1994 21:06:26 +0000 (21:06 +0000)]
(obj_coff_lcomm): Put "#if 0" around the unused parts (most of the function).
(obj_coff_init_stab_section): Cast alloca result.

30 years ago* lib/gas-defs.exp (objdump): New proc.
Ken Raeburn [Mon, 28 Feb 1994 20:00:10 +0000 (20:00 +0000)]
* lib/gas-defs.exp (objdump): New proc.
(objdump_start): Deleted unused proc.
(objdump_start_common): Merged into objdump_start_no_subdir.

* gas/alpha/fp.exp: Use objdump instead of objdump_start_no_subdir, since the
former actually waits for objdump to finish.  Specify .rdata section only.
Make comment indicate Alpha architecture rather than SPARC.
* gas/alpha/fp.d: Omit .reginfo patterns.  Just use "." to match
against ASCII code 0x2a ("*", special in regexp).
* gas/sun4/addend.exp: Use objdump instead of objdump_start_no_subdir.

30 years agoMon Feb 28 11:09:48 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Mon, 28 Feb 1994 19:15:10 +0000 (19:15 +0000)]
Mon Feb 28 11:09:48 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-xconfig.in (emulname): Define.

30 years agoLose mpw-build.in
Stan Shebs [Mon, 28 Feb 1994 19:14:06 +0000 (19:14 +0000)]
Lose mpw-build.in

30 years agoMon Feb 28 11:07:41 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Mon, 28 Feb 1994 19:13:40 +0000 (19:13 +0000)]
Mon Feb 28 11:07:41 1994  Stan Shebs  (shebs@andros.cygnus.com)

* mpw-build.in: Remove, subsumed in mpw-make.in.
* mpw-make.in (bindir): Fix pathname.
(install): Move here from mpw-build.in.

30 years agoMon Feb 28 10:59:14 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Mon, 28 Feb 1994 19:05:34 +0000 (19:05 +0000)]
Mon Feb 28 10:59:14 1994  Stan Shebs  (shebs@andros.cygnus.com)

* ldlang.c (cat): Define using ANSI style if ALMOST_STDC defined.

30 years ago * config/m68k/tm-apollo68b.h: Remove HAVE_68881 define; it is
Jim Kingdon [Mon, 28 Feb 1994 06:17:35 +0000 (06:17 +0000)]
* config/m68k/tm-apollo68b.h: Remove HAVE_68881 define; it is
obsolete.

* i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c,
i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c
config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h,
m88k-tdep.c: Use floatformat.h instead of ieee-float.h.
* sparc-tdep.c: Remove now-obsolete ieee-float.h stuff
* findvar.c: Update comment regarding ieee-float.h.

30 years ago* floatformat.h: New file, intended to replace ieee-float.h.
Jim Kingdon [Mon, 28 Feb 1994 06:08:26 +0000 (06:08 +0000)]
* floatformat.h: New file, intended to replace ieee-float.h.