binutils-gdb.git
30 years ago * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
Jim Kingdon [Fri, 15 Oct 1993 00:36:26 +0000 (00:36 +0000)]
* gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
name of __st* demangling (2 strings).  Did Kung really get the
more than 95 others right without testing them?

30 years agoModified Files:
Kung Hsu [Thu, 14 Oct 1993 23:33:33 +0000 (23:33 +0000)]
Modified Files:
  ChangeLog

* gdb.t24/demangle.exp: clean up XFAILS, more than 100 of them.

30 years agoThu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
Jim Kingdon [Thu, 14 Oct 1993 21:58:58 +0000 (21:58 +0000)]
Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)

* configure.in (configdirs): Add gdb.disasm
* gdb.disasm: New directory for GDB disassembler tests.
* gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.

30 years ago * config/tc-mips.c (md_pseudo_table): Ignore .livereg pseudo-op.
Ian Lance Taylor [Thu, 14 Oct 1993 21:06:52 +0000 (21:06 +0000)]
* config/tc-mips.c (md_pseudo_table): Ignore .livereg pseudo-op.
(s_option): Ignore .option O* and .option pic*.
(s_ent): Skip whitespace between symbol and optional digit.

30 years agoThu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
Jim Kingdon [Thu, 14 Oct 1993 21:03:36 +0000 (21:03 +0000)]
Thu Oct 14 11:40:30 1993  Jeffrey Law  (law@cs.uah.edu)

* configure.in (configdirs): Add gdb.disasm
* gdb.disasm: New directory for GDB disassembler tests.
* gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.

30 years ago * app.c (do_scrub_next_char): Always accept 'x' and 'X' as escape
Ian Lance Taylor [Thu, 14 Oct 1993 21:03:14 +0000 (21:03 +0000)]
* app.c (do_scrub_next_char): Always accept 'x' and 'X' as escape
characters in state 6.
* read.c (next_char_of_string): Accept \Xh* and \xh* where h* are
hexidecimal digits.

30 years ago * config/tc-i386.c (md_apply_fix_1): Make cross segment calls work
Ian Lance Taylor [Thu, 14 Oct 1993 20:54:09 +0000 (20:54 +0000)]
* config/tc-i386.c (md_apply_fix_1): Make cross segment calls work
for ELF by hacking around bizarre bfd_perform_relocation behaviour
that I don't dare change.

30 years ago* gdb.t00/help.exp: Don't test "help set".
Jim Kingdon [Thu, 14 Oct 1993 18:53:31 +0000 (18:53 +0000)]
* gdb.t00/help.exp: Don't test "help set".

30 years ago * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
Jim Kingdon [Thu, 14 Oct 1993 18:40:20 +0000 (18:40 +0000)]
* gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
from within expect statements.  None of these happen anymore and
they cause regressions to be silently unnoticed.

* gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
messages) about known failures with gcc cygnus-2.4.5-930417.

30 years ago * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
Jim Kingdon [Thu, 14 Oct 1993 18:20:52 +0000 (18:20 +0000)]
* gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
from within expect statements.  None of these happen anymore and
they cause regressions to be silently unnoticed.

* gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
messages) about known failures with gcc cygnus-2.4.5-930417.

* gdb.t22/virtfunc.exp: Add notes (in comment and failure message)
about problem with gcc cygnus-2.4.5-930828.

30 years ago * gdb.t20/inherit.exp: Remove all xfails from within expect statements.
Jim Kingdon [Thu, 14 Oct 1993 17:50:24 +0000 (17:50 +0000)]
* gdb.t20/inherit.exp: Remove all xfails from within expect statements.
None of these happen anymore and they cause regressions to be silently
unnoticed.

* gdb.t20/inherit.exp: Add note (in failure message) about known
failure with gcc cygnus-2.4.5-930417.

30 years ago * gdb.t20/inherit.exp: Add note (in failure message) about known
Jim Kingdon [Thu, 14 Oct 1993 17:29:01 +0000 (17:29 +0000)]
* gdb.t20/inherit.exp: Add note (in failure message) about known
failure with gcc cygnus-2.4.5-930417.

* gdb.t22/virtfunc.exp: Add notes (in comments and failure message)
about problem with gcc cygnus-2.4.5-930828.

30 years agoRemove references to shade.
David Edelsohn [Thu, 14 Oct 1993 17:13:29 +0000 (17:13 +0000)]
Remove references to shade.

30 years ago * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
Jim Kingdon [Thu, 14 Oct 1993 16:47:34 +0000 (16:47 +0000)]
* gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
comp-info.exp so it gets built if it doesn't exist.

* gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
it is no longer used.
* gdb.t13/comp-info.c: Removed.

30 years ago * coffcode.h (styp_to_sec_flags): Don't set SEC_DEBUGGING until it
Ian Lance Taylor [Thu, 14 Oct 1993 16:04:35 +0000 (16:04 +0000)]
* coffcode.h (styp_to_sec_flags): Don't set SEC_DEBUGGING until it
is made to work.
(coff_compute_section_file_positions): Remove check for
USE_DISCARDED_SECTIONS_COUNT.
* coff-i386.c: Don't define USE_DISCARDED_SECTIONS_COUNT.  Basing
it on host defines is wrong.

30 years agoThu Oct 14 11:33:25 1993 Michael Meissner (meissner@osf.org)
Ian Lance Taylor [Thu, 14 Oct 1993 15:41:52 +0000 (15:41 +0000)]
Thu Oct 14 11:33:25 1993  Michael Meissner  (meissner@osf.org)

* config/tc-i386.c: (md_begin): Do not zero static arrays.  Don't
call strchr for each character to see if it is a special char,
instead add a second loop over special_chars.  Set alignment
of text, data and bss sections to 4.
(pi, te, pt, pe, ps): Add declarations so that DEBUG386 can be
used again.
(reloc): Don't return 8 and 16 bit non-PC relative relocations on
ELF, since the ELF object format does not have these type of
relocations.  Change the abort into as as_bad and return
BFD_RELOC_NONE to silence compiler warnings.
(md_assemble): Keep track of the instruction size.  Allow white
space between the $ and the constant for compatibility with older
gases and other assemblers.
(i386_operand): Skip spaces between $ and expression.
(tc_gen_reloc): Don't allow anything but 32 bit relocations on
ELF.  Convert abort into an as_bad and assert into as_fatal.

30 years ago* gdb.t06/signals.exp: Add xfail for sun3.
Jim Kingdon [Thu, 14 Oct 1993 06:03:23 +0000 (06:03 +0000)]
* gdb.t06/signals.exp: Add xfail for sun3.

30 years ago * ecoff.c (ecoff_bfd_seclet_link): Don't link a .reginfo section.
Ian Lance Taylor [Thu, 14 Oct 1993 05:13:43 +0000 (05:13 +0000)]
* ecoff.c (ecoff_bfd_seclet_link): Don't link a .reginfo section.
(ecoff_write_object_contents): Don't require the .reginfo section
to be a particular size.

30 years ago * inflow.c: Pass pointer to process group, not process group itself,
Jim Kingdon [Thu, 14 Oct 1993 02:48:33 +0000 (02:48 +0000)]
* inflow.c: Pass pointer to process group, not process group itself,
to TIOCSPGRP ioctl.

30 years agokeep apollo.h
Ken Raeburn [Wed, 13 Oct 1993 23:09:08 +0000 (23:09 +0000)]
keep apollo.h

30 years agoMore "make dep" fixups.
Ken Raeburn [Wed, 13 Oct 1993 23:08:10 +0000 (23:08 +0000)]
More "make dep" fixups.
Apollo 68k support from Troy Rollo <troy@cbme.unsw.edu.au>.

30 years agoOopsie.
Ken Raeburn [Wed, 13 Oct 1993 22:33:48 +0000 (22:33 +0000)]
Oopsie.
Use "[^ ]*", not ".*", in matching filename patterns.
Updated dependencies in Makefile.in.

30 years agoremove inclusion of strings.h
Ken Raeburn [Wed, 13 Oct 1993 21:42:42 +0000 (21:42 +0000)]
remove inclusion of strings.h

30 years agoobj-coffbfd change for wellfleet pic
Ken Raeburn [Wed, 13 Oct 1993 20:54:54 +0000 (20:54 +0000)]
obj-coffbfd change for wellfleet pic

30 years ago * config/obj-coffbfd.c (fixup_segment) [DIFF_EXPR_OK]: If
Ken Raeburn [Wed, 13 Oct 1993 20:54:03 +0000 (20:54 +0000)]
* config/obj-coffbfd.c (fixup_segment) [DIFF_EXPR_OK]: If
sub_symbolP is in the current segment, convert to a PC-relative
fixup and discard the symbol.
(Copied from write.c.)

30 years ago * ldmain.c (enter_global_ref): Just ignore any weak symbol for
Ian Lance Taylor [Wed, 13 Oct 1993 20:04:30 +0000 (20:04 +0000)]
* ldmain.c (enter_global_ref): Just ignore any weak symbol for
which we already have a definition, rather than checking in
several different places whether the symbol is weak.

30 years agocoff-i386.c (i3coff_object_p): Now static.
Ken Raeburn [Wed, 13 Oct 1993 19:17:05 +0000 (19:17 +0000)]
coff-i386.c (i3coff_object_p): Now static.

30 years ago68kcoff, makedep changes
Ken Raeburn [Wed, 13 Oct 1993 19:04:43 +0000 (19:04 +0000)]
68kcoff, makedep changes

30 years agoMake "make dep" easier to work with. Updated lots of dependencies.
Ken Raeburn [Wed, 13 Oct 1993 19:04:08 +0000 (19:04 +0000)]
Make "make dep" easier to work with.  Updated lots of dependencies.

Don't try "make dep" alone; use "make dep DEP=mymkdep", where "mymkdep" has
been hacked to use "gcc -MM"...

30 years agoDefine ONLY_DECLARE_RELOCS, to avoid name conflicts when "--with-targets=all".
Ken Raeburn [Wed, 13 Oct 1993 18:57:21 +0000 (18:57 +0000)]
Define ONLY_DECLARE_RELOCS, to avoid name conflicts when "--with-targets=all".

30 years agofor m68klynx_coff_vec, include coff-m68k.o for now
Ken Raeburn [Wed, 13 Oct 1993 18:56:39 +0000 (18:56 +0000)]
for m68klynx_coff_vec, include coff-m68k.o for now

30 years ago * config/obj-ecoff.c (ecoff_build_symbols): Handle st_End symbol
Ian Lance Taylor [Wed, 13 Oct 1993 18:53:03 +0000 (18:53 +0000)]
* config/obj-ecoff.c (ecoff_build_symbols): Handle st_End symbol
for st_StaticProc just like st_Proc.

30 years ago * inflow.c (terminal_ours_1): Don't print warning on failure to
Jim Kingdon [Wed, 13 Oct 1993 18:29:09 +0000 (18:29 +0000)]
* inflow.c (terminal_ours_1): Don't print warning on failure to
set process group.

30 years ago * printcmd.c (printf_command): Instead of using makeva* and
Jim Kingdon [Wed, 13 Oct 1993 18:17:49 +0000 (18:17 +0000)]
* printcmd.c (printf_command): Instead of using makeva* and
calling vprintf, just make the appropriate calls to printf.
* printcmd.c, config/pa/xm-pa.h, config/mips/xm-makeva.h,
config/alpha/xm-alpha.h, config/m88k/xm-m88k.h: Remove all
traces of makeva*.  My apologies to everyone (including me!)
who spent so much time getting it to work on various machines,
but look at the bright side, at least you won't have to do it
again in the future.

* printcmd.c (printf_command): Make a cleanup for val_args (fixes
a memory leak).

30 years ago * write.c (relax_and_size_all_segments): Moved #endif for OBJ_BOUT
Ian Lance Taylor [Wed, 13 Oct 1993 18:04:53 +0000 (18:04 +0000)]
* write.c (relax_and_size_all_segments): Moved #endif for OBJ_BOUT
so that OBJ_BOUT doesn't forget to adjust all the fragments in the
.bss section.

Fixes critical PR 3600.

30 years ago* config/mips/xm-mips.h: Remove comment about HAVE_SGTTY vs. usleep.
Jim Kingdon [Wed, 13 Oct 1993 04:00:46 +0000 (04:00 +0000)]
* config/mips/xm-mips.h: Remove comment about HAVE_SGTTY vs. usleep.

30 years agoonly configure gdbserver for native environments
David D. Zuhn [Wed, 13 Oct 1993 01:08:40 +0000 (01:08 +0000)]
only configure gdbserver for native environments

30 years ago* gdb.texinfo (Files): Say what address the load command loads it at.
Jim Kingdon [Wed, 13 Oct 1993 00:46:09 +0000 (00:46 +0000)]
* gdb.texinfo (Files): Say what address the load command loads it at.

30 years ago * stabsread.c (read_type): Treat a negative type number at the start
Jim Kingdon [Tue, 12 Oct 1993 23:55:13 +0000 (23:55 +0000)]
* stabsread.c (read_type): Treat a negative type number at the start
of a type as a type reference, not as a definition of a type with
"50=" omitted.  This makes things work on the RS/6000 again (the
14 Sep 1993 change broke it).

30 years agoadd build-latest target
David D. Zuhn [Tue, 12 Oct 1993 23:26:57 +0000 (23:26 +0000)]
add build-latest target

30 years ago * inflow.c: Use 0 (standard input) not scb->fd.
Jim Kingdon [Tue, 12 Oct 1993 23:12:17 +0000 (23:12 +0000)]
* inflow.c: Use 0 (standard input) not scb->fd.
(terminal_ours_1): If printing warning, don't claim it happened in
terminal_inferior.

30 years ago * configure.in (mips-*-elf*): New target; use mipsb-elf32.
Ian Lance Taylor [Tue, 12 Oct 1993 21:46:52 +0000 (21:46 +0000)]
* configure.in (mips-*-elf*): New target; use mipsb-elf32.
* scripttempl/elf.sc: Only use OTHER_READONLY_SECTIONS and
OTHER_READWRITE_SECTIONS if relocating.  Shell variables are not
expanded within them.
* config/mipsb-elf32.mt: New file.
* emulparams/elf32mipb.sh: New file.
* Makefile.in (em_elf32mipb.c): New target.

30 years agoelf32mipb.sh: New emulation parameter file for big endian MIPS ELF.
Ian Lance Taylor [Tue, 12 Oct 1993 21:36:05 +0000 (21:36 +0000)]
elf32mipb.sh: New emulation parameter file for big endian MIPS ELF.

30 years agomipsb-elf32.mt: New configuration file for big endian MIPS ELF.
Ian Lance Taylor [Tue, 12 Oct 1993 21:33:57 +0000 (21:33 +0000)]
mipsb-elf32.mt: New configuration file for big endian MIPS ELF.

30 years ago * config/tc-mips.c: If OBJ_ELF, include elf/mips.h.
Ian Lance Taylor [Tue, 12 Oct 1993 21:31:29 +0000 (21:31 +0000)]
* config/tc-mips.c: If OBJ_ELF, include elf/mips.h.
(mips_regmask_frag): New static variable, if OBJ_ELF.
(md_begin): If OBJ_ELF, create .reginfo section and set
mips_regmask_frag to a frag.
(mips_elf_final_processing): New function, if OBJ_ELF.  Set
mips_regmask_frag to register mask information.
* config/tc-mips.h (elf_tc_final_processing): New macro, defined
if OBJ_ELF.

30 years ago * blockframe.c (get_prev_frame_info): Don't error() if there are no
Jim Kingdon [Tue, 12 Oct 1993 21:22:03 +0000 (21:22 +0000)]
* blockframe.c (get_prev_frame_info): Don't error() if there are no
frames; just return NULL.

30 years ago * elf32-mips.c: Extensive additions to do relocations and to
Ian Lance Taylor [Tue, 12 Oct 1993 21:16:14 +0000 (21:16 +0000)]
* elf32-mips.c: Extensive additions to do relocations and to
handle MIPS specific sections.
* libelf.h (elf_backend_data): Pass fourth argument to
elf_backend_section_from_bfd_section to permit it to control the
section index to use.
(elf_obj_tdata): Add gp and gp_size fields.
(elf_gp, elf_gp_size): New accessor macros.
* elfcode.h: Removed a number of unused local variables.
(elf_fake_sections): Clear section header before calling
elf_backend_fake_sections, not after.
(prep_headers): Return true at end.
(elf_section_from_bfd_section): Pass retval argument to
elf_backend_section_from_bfd_section.
* elf32-hppa.c (elf32_hppa_backend_section_from_bfd_section):
Accept and ignore new retval argument.
* bfd.c: Include libelf.h.
(bfd_set_gp_size): Handle ELF targets.
* Makefile.in (bfd.o): Depends upon libelf.h.
(elf32-mips.o): Depends upon $(INCDIR)/elf/mips.h.

30 years agorecognize mips*- instead of mips-
David D. Zuhn [Tue, 12 Oct 1993 21:14:26 +0000 (21:14 +0000)]
recognize mips*- instead of mips-

30 years ago * xcoffsolib.h, xcoffexec.c: Undo the part of Fred's bfd->abfd
Jim Kingdon [Tue, 12 Oct 1993 20:36:37 +0000 (20:36 +0000)]
* xcoffsolib.h, xcoffexec.c: Undo the part of Fred's bfd->abfd
change which involved structure elements.  It was unnecessary and
was not consistently done.

30 years ago * stabsread.h, stabsread.c, dbxread.c (common_block*, copy_pending):
Jim Kingdon [Tue, 12 Oct 1993 20:02:11 +0000 (20:02 +0000)]
* stabsread.h, stabsread.c, dbxread.c (common_block*, copy_pending):
Move common block handling from dbxread.c to stabsread.c.
Use the name from the BCOMM instead of the ECOMM.
Allocate things on the symbol_obstack.
* xcoffread.c (process_xcoff_symbol): Process C_BCOMM, C_ECOMM,
and C_ECOML.  On unrecognized storage classes, go ahead and call
define_symbol (after the complaint).

* dbxread.c (process_one_symbol): Don't relocate 'S' symbols by
the text offset.

30 years ago * osfsolib.c (solib_create_inferior_hook): Reset stop_soon_quietly
Peter Schauer [Tue, 12 Oct 1993 19:37:14 +0000 (19:37 +0000)]
* osfsolib.c (solib_create_inferior_hook):  Reset stop_soon_quietly
after shared library symbol reading to get rid of warning from
heuristic_proc_start.

30 years agofix unterminated character string
David D. Zuhn [Tue, 12 Oct 1993 19:03:59 +0000 (19:03 +0000)]
fix unterminated character string

30 years ago* stabs.texinfo (Common Blocks): Minor cleanups.
Jim Kingdon [Tue, 12 Oct 1993 19:03:38 +0000 (19:03 +0000)]
* stabs.texinfo (Common Blocks): Minor cleanups.

30 years agomessages.c (as_fatal): use myname in printed message
Ken Raeburn [Tue, 12 Oct 1993 15:48:22 +0000 (15:48 +0000)]
messages.c (as_fatal): use myname in printed message

30 years ago * stabs.texinfo: Update ld stabs in elf relocation to reflect the fact
Jim Kingdon [Tue, 12 Oct 1993 14:59:38 +0000 (14:59 +0000)]
* stabs.texinfo: Update ld stabs in elf relocation to reflect the fact
that Sun has backed away from the linker kludge and thus the relevant
issue is changes to the SunPRO tools, not the Solaris linker.

* stabs.texinfo (Traditional Integer Types): Clean up description
of octal bounds a little bit.  Document extra leading zeroes.

30 years ago * mips.h: New file. MIPS ABI specific information.
Ian Lance Taylor [Tue, 12 Oct 1993 14:29:51 +0000 (14:29 +0000)]
* mips.h: New file.  MIPS ABI specific information.

30 years ago* stabsread.c: Fix comment about gcc 2.3.3 stab for long long int.
Jim Kingdon [Tue, 12 Oct 1993 14:05:22 +0000 (14:05 +0000)]
* stabsread.c: Fix comment about gcc 2.3.3 stab for long long int.

30 years agomore null/empty string fixups
Ken Raeburn [Tue, 12 Oct 1993 08:45:49 +0000 (08:45 +0000)]
more null/empty string fixups

30 years agoChange sp64sim.h to sp64sim.mt in keep_these_too list. Add sp64.mt,
Fred Fish [Tue, 12 Oct 1993 02:48:21 +0000 (02:48 +0000)]
Change sp64sim.h to sp64sim.mt in keep_these_too list.  Add sp64.mt,
tm-sp64.h, sp64sim.mt, tm-sp64sim.h to lose_these_too list if not added
to keep_these_too list.

30 years agoAdd sp64-tdep.c to lose_these_too if it is not added to keep_these_too.
Fred Fish [Tue, 12 Oct 1993 02:46:26 +0000 (02:46 +0000)]
Add sp64-tdep.c to lose_these_too if it is not added to keep_these_too.

30 years agoAdd elf64-sparc.c to lose_these_too if it is not added to keep_these_too.
Fred Fish [Tue, 12 Oct 1993 02:44:07 +0000 (02:44 +0000)]
Add elf64-sparc.c to lose_these_too if it is not added to keep_these_too.

30 years agoAdd chillrt test-chill release release-info to lose_these_too if they
Fred Fish [Tue, 12 Oct 1993 02:42:30 +0000 (02:42 +0000)]
Add chillrt test-chill release release-info to lose_these_too if they
are not added to keep_these_too.

30 years ago fix for pr 3571
Steve Chamberlain [Mon, 11 Oct 1993 23:48:55 +0000 (23:48 +0000)]
fix for pr 3571
* config/tc-h8300.c (get_specific): Special action if 8 bit
address seen. (check_operand): Don't complain if truncating top
bits of an 8 bit address.  (build_bytes): Allow an immediate and
an absolute in the same insn.

30 years ago * m3-nat.c, config/nm-m3.h: Add a target_ops struct and other
Jim Kingdon [Mon, 11 Oct 1993 22:39:54 +0000 (22:39 +0000)]
* m3-nat.c, config/nm-m3.h: Add a target_ops struct and other
various things to try to get this to work.

30 years ago * write.c (write_contents): Don't crash if seginfo is NULL.
Ian Lance Taylor [Mon, 11 Oct 1993 21:40:10 +0000 (21:40 +0000)]
* write.c (write_contents): Don't crash if seginfo is NULL.

* config/obj-ecoff.c (ecoff_frob_file): Write out register masks
by modifying .reginfo section, not by directly modifying BFD
backend data.

30 years ago * ecoff.c (ecoff_mkobject): Check bfd_make_section return value.
Ian Lance Taylor [Mon, 11 Oct 1993 21:38:38 +0000 (21:38 +0000)]
* ecoff.c (ecoff_mkobject): Check bfd_make_section return value.
(ecoff_mkobject_hook): New function.
(ecoff_new_section_hook, ecoff_sizeof_headers,
ecoff_compute_section_file_positions, ecoff_set_section_contents,
ecoff_write_object_contents): Handle dummy REGINFO section.
(ecoff_get_section_contents): New function to handle reading
REGINFO section.
* libecoff.h (ecoff_get_section_contents): Change from macro
definition to function prototype.
(ecoff_mkobject_hook): New prototype.
* coff-alpha.c (alpha_ecoff_mkobject_hook): Removed.
(alpha_ecoff_backend_data): Use ecoff_mkobject_hook.
* coff-mips.c (mips_ecoff_mkobject_hook): Removed.
(mips_ecoff_backend_data): Use ecoff_mkobject_hook.

30 years agoRevert last change. Dumb idea...
Fred Fish [Mon, 11 Oct 1993 21:20:44 +0000 (21:20 +0000)]
Revert last change.  Dumb idea...

30 years agoAdd release-info to Things-to-lose list.
Fred Fish [Mon, 11 Oct 1993 21:19:15 +0000 (21:19 +0000)]
Add release-info to Things-to-lose list.

30 years ago * ecoff.h (REGINFO, struct ecoff_reginfo): Define.
Ian Lance Taylor [Mon, 11 Oct 1993 21:17:50 +0000 (21:17 +0000)]
* ecoff.h (REGINFO, struct ecoff_reginfo): Define.

30 years agoremove extern time() decl
David D. Zuhn [Mon, 11 Oct 1993 21:12:37 +0000 (21:12 +0000)]
remove extern time() decl

30 years ago * messages.c (as_fatal): Do mention that it's the assembler that
Ken Raeburn [Mon, 11 Oct 1993 20:17:28 +0000 (20:17 +0000)]
* messages.c (as_fatal): Do mention that it's the assembler that
got the fatal error.

30 years ago* symtab.h: Fix comments re headers, sharing blockvectors, etc.
Jim Kingdon [Mon, 11 Oct 1993 19:33:57 +0000 (19:33 +0000)]
* symtab.h: Fix comments re headers, sharing blockvectors, etc.

30 years agoupdate REMOTE_O for i960-vxworks to make it compile again
David D. Zuhn [Mon, 11 Oct 1993 18:49:22 +0000 (18:49 +0000)]
update REMOTE_O for i960-vxworks to make it compile again

30 years ago * mipsread.c (parse_partial_symbols): Do not add undefined
Peter Schauer [Mon, 11 Oct 1993 16:25:43 +0000 (16:25 +0000)]
* mipsread.c (parse_partial_symbols):  Do not add undefined
symbols to the partial symbol table.

30 years ago * alpha-tdep.c (init_extra_frame_info): Remove kludge for gcc,
Peter Schauer [Mon, 11 Oct 1993 09:55:41 +0000 (09:55 +0000)]
* alpha-tdep.c (init_extra_frame_info):  Remove kludge for gcc,
gcc has to be compatible with the native tools.
* alpha-tdep.c (alpha_push_arguments):  Rename NUM_ARG_REGS to
ALPHA_NUM_ARG_REGS and move its definition to tm-alpha.h.
* config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS):  Change it to the
way the native tools define it, update comment.

30 years ago * inflow.c: Remove unused includes of sys/param.h and sys/types.h.
Jim Kingdon [Sat, 9 Oct 1993 00:00:56 +0000 (00:00 +0000)]
* inflow.c: Remove unused includes of sys/param.h and sys/types.h.

* inflow.c, ser-unix.c, ser-go32.c, ser-tcp.c, serial.h,
terminal.h, fork-child.c, main.c, utils.c: Move all the process
group stuff back to inflow.c and terminal.h; that's a better place
for it and fixes problems with trying to get/set the process group
of a tty we're doing remote debugging on.
* terminal.h: Skip the redefines and includes if HAVE_TERMIOS.

30 years ago * osfsolib.c, remote-sim.c, remote.c, solib.c, xcoffexec.c,
Fred Fish [Fri, 8 Oct 1993 23:04:45 +0000 (23:04 +0000)]
* osfsolib.c, remote-sim.c, remote.c, solib.c, xcoffexec.c,
xcoffsolib.h:  Use 'abfd' for bfd variables instead of 'bfd'.
Sun cc doesn't like variable names that match their typedef'd type.

30 years ago * libbfd.c (bfd_get*32, bfd_get*64): Prevent ANSI sign extension
Peter Schauer [Fri, 8 Oct 1993 22:27:53 +0000 (22:27 +0000)]
* libbfd.c (bfd_get*32, bfd_get*64):  Prevent ANSI sign extension
by casting the most significant byte to bfd_vma.

30 years ago * inflow.c: Remove unused includes of sys/param.h, etc.
Jim Kingdon [Fri, 8 Oct 1993 22:18:27 +0000 (22:18 +0000)]
* inflow.c: Remove unused includes of sys/param.h, etc.

* inflow.c, ser-unix.c, ser-go32.c, ser-tcp.c, serial.h,
terminal.h: Move all the process group stuff back to inflow.c;
that's a better place for it and fixes problems with trying to get/set
the process group of a tty we're doing remote debugging on.
* terminal.h: Skip the redefine crap if HAVE_TERMIOS.

30 years agoconfigure.in: Put {start,end}-sanitize-for-fsf around code that removes some
Ken Raeburn [Fri, 8 Oct 1993 21:27:13 +0000 (21:27 +0000)]
configure.in: Put {start,end}-sanitize-for-fsf around code that removes some
programs based on host or target; this silent failure to configure isn't
appropriate for the separate one-tool releases FSF puts out.

.Sanitize: Remove that code if "for-fsf" is on command line; remove just the
markers if it isn't.

30 years ago* config.sub: Accept linux*coff and linux*elf as operating systems.
Ken Raeburn [Fri, 8 Oct 1993 21:17:43 +0000 (21:17 +0000)]
* config.sub: Accept linux*coff and linux*elf as operating systems.

30 years ago * findvar.c, value.h (symbol_read_needs_frame): New function.
Jim Kingdon [Fri, 8 Oct 1993 20:33:22 +0000 (20:33 +0000)]
* findvar.c, value.h (symbol_read_needs_frame): New function.
* c-exp.y, m2-exp.y: Call it instead of having our own switch on
the symbol's class.
* valops.c (value_of_variable): Use symbol_read_needs_frame to
decide whether we care about finding a frame.

30 years ago * config/tc-mips.c (mips_gprmask, mips_cprmask): New variables to
Ian Lance Taylor [Fri, 8 Oct 1993 20:01:10 +0000 (20:01 +0000)]
* config/tc-mips.c (mips_gprmask, mips_cprmask): New variables to
hold register masks.
(md_begin): Initialize them to zero.
(append_insn): Update mips_gprmask and mips_cprmask.  Also add
register variables pinfo and prev_pinfo.
* config/tc-mips.h (mips_gprmask, mips_cprmask): Declare.
* config/obj-ecoff.c (ecoff_frob_file): If TC_MIPS, set gprmask
and cprmask from mips_gprmask and mips_cprmask.

30 years ago * config/tc-mips.h: Define TARGET_FORMAT if OBJ_ELF.
Ian Lance Taylor [Fri, 8 Oct 1993 18:24:41 +0000 (18:24 +0000)]
* config/tc-mips.h: Define TARGET_FORMAT if OBJ_ELF.
* config/tc-mips.c (GPOPT): Define if OBJ_ECOFF or OBJ_ELF.
(various): Change all references to GP references to apply if
GPOPT, not if OBJ_ECOFF.
(s_change_sec): Rearrange somewhat.  If OBJ_ELF, use .rodata
instead of .rdata.  If OBJ_ELF, set section flags for .rodata and
.sdata sections.
(s_frame, s_loc, s_mask): Comment out entire functions, rather
than just body.  They're not used anyhow.
* configure.in: Set cpu_type to mips for mips*.  Accept
mips-*-elfl* and mips-*-elf*.

30 years agoUse both h8300 emulations.
Steve Chamberlain [Fri, 8 Oct 1993 17:45:23 +0000 (17:45 +0000)]
Use both h8300 emulations.

30 years agoThu Oct 7 18:36:29 1993 Michael Meissner (meissner@osf.org)
Ian Lance Taylor [Fri, 8 Oct 1993 17:15:03 +0000 (17:15 +0000)]
Thu Oct  7 18:36:29 1993  Michael Meissner  (meissner@osf.org)

* config/obj-elf.c (obj_elf_common): Allow the alignment field to
not be specified.

30 years ago * remote.c (remote_wait): Use strtoul for parsing 'N' message.
Jim Kingdon [Fri, 8 Oct 1993 16:51:14 +0000 (16:51 +0000)]
* remote.c (remote_wait):  Use strtoul for parsing 'N' message.
Add code to relocate symfile_objfile->sections.

30 years ago * blockframe.c (get_frame_block): Do not adjust pc if the frame
Peter Schauer [Fri, 8 Oct 1993 09:54:32 +0000 (09:54 +0000)]
* blockframe.c (get_frame_block):  Do not adjust pc if the frame
function was interrupted by a signal.

30 years ago * alpha-opc.h: Add ldl_l, fix typo for ldq_u.
Peter Schauer [Fri, 8 Oct 1993 09:43:36 +0000 (09:43 +0000)]
* alpha-opc.h:  Add ldl_l, fix typo for ldq_u.
* alpha-dis.c (print_insn_alpha):  Add code for PAL_FORMAT_CODE.

30 years ago * configure.in: Do not define SELECT_VECS, SELECT_ARCHITECTURES
Peter Schauer [Fri, 8 Oct 1993 09:42:42 +0000 (09:42 +0000)]
* configure.in:  Do not define SELECT_VECS, SELECT_ARCHITECTURES
if configuring --with-targets=all.

30 years ago * config/h8300/tm-h8300.h: Don't define sr_get_debug.
Jim Kingdon [Fri, 8 Oct 1993 00:37:19 +0000 (00:37 +0000)]
* config/h8300/tm-h8300.h: Don't define sr_get_debug.
* remote-sim.c: Include remote-utils.h.
* target.h: Add comment about target_has_execution.

30 years ago * compile.c (sim_set_pc): Write to the pc direcly.
Steve Chamberlain [Thu, 7 Oct 1993 23:25:14 +0000 (23:25 +0000)]
* compile.c (sim_set_pc): Write to the pc direcly.
(sim_store_register): Now value is passed by reference. (sim_read,
sim_write): Return number of bytes copied.

30 years agodefine sr_get_debug.
Steve Chamberlain [Thu, 7 Oct 1993 23:22:00 +0000 (23:22 +0000)]
define sr_get_debug.

30 years ago * h8300-tdep.c (sim_load, sim_kill, sim_open, sim_set_args):
Steve Chamberlain [Thu, 7 Oct 1993 23:21:02 +0000 (23:21 +0000)]
* h8300-tdep.c (sim_load, sim_kill, sim_open, sim_set_args):
New functions.
* infrun.c (normal_stop): Don't try and set the pc in the current
frame coredump if there isn't one.
* remote-sim.c (gdbsim_store_register): Don't
SWAP_TARGET_AND_HOST, sim_store_register takes bytes in raw order.
(gdbsim_wait): Set status with WSETSTOP.
* config/h8300/tm-h8300.h (sr_get_debug): Define

30 years ago* aoutx.h (howto_table_std): Correct the "size" field in some entries.
Ken Raeburn [Thu, 7 Oct 1993 21:46:12 +0000 (21:46 +0000)]
* aoutx.h (howto_table_std): Correct the "size" field in some entries.

* reloc.c (reloc_howto_type): Change documentation to dispel any
notion that the "size" field is a power-of-two indicator.

30 years ago * gdb.texinfo (Signaling): Update for symbolic symbol names
Jim Kingdon [Thu, 7 Oct 1993 21:33:37 +0000 (21:33 +0000)]
* gdb.texinfo (Signaling): Update for symbolic symbol names
and add a section explaining the difference between the GDB
signal command and the shell kill utility.

30 years ago New Mach stuff:
Jim Kingdon [Thu, 7 Oct 1993 20:13:08 +0000 (20:13 +0000)]
New Mach stuff:
* config/i386/i386mach.c: Explain this is for the old (probably
non-functional and/or obsolete) Mach stuff.
* m3-nat.c, config/nm-m3.h,
i386m3-nat.c, mipsm3-nat.c, ns32km3-nat.c,
config/i386/{i386m3.mh,i386m3.mt,tm-i386m3.h,xm-i386m3.h},
config/i386/{i386mk.mh,i386mk.mt,tm-i386mk.h,xm-i386mk.h},
config/mips/{mipsm3.mh,mipsm3.mt,tm-mipsm3.h,xm-mipsm3.h},
config/ns32k/{ns32km3.mh,ns32km3.mt,tm-ns32km3.h,xm-ns32km3.h}:
New files.

30 years agonew for mach
Jim Kingdon [Thu, 7 Oct 1993 19:48:20 +0000 (19:48 +0000)]
new for mach

30 years agonew for mach3 (really native not host)
Jim Kingdon [Thu, 7 Oct 1993 19:28:38 +0000 (19:28 +0000)]
new for mach3 (really native not host)

30 years ago * coffswap.h: (bfd_swap_reloc_in): a symndx is signed.
Steve Chamberlain [Thu, 7 Oct 1993 19:24:22 +0000 (19:24 +0000)]
   * coffswap.h: (bfd_swap_reloc_in): a symndx is signed.