binutils-gdb.git
31 years ago * config/i386/tm-i386bsd.h (SIGTRAMP_START, SIGTRAMP_END, FRAME_CHAIN,
Peter Schauer [Tue, 17 Aug 1993 08:49:07 +0000 (08:49 +0000)]
* config/i386/tm-i386bsd.h (SIGTRAMP_START, SIGTRAMP_END, FRAME_CHAIN,
FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):
Define to make backtracing through sigtramp work.
* config/vax/tm-vax.h (SIGTRAMP_START, SIGTRAMP_END, TARGET_UPAGES,
FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):  Ditto.

31 years ago * blockframe.c, frame.h (sigtramp_saved_pc): New routine to fetch
Peter Schauer [Tue, 17 Aug 1993 08:47:25 +0000 (08:47 +0000)]
* blockframe.c, frame.h (sigtramp_saved_pc):  New routine to fetch
the saved pc from sigcontext on the stack for BSD signal handling.
* config/i386/tm-i386bsd.h (SIGTRAMP_START, SIGTRAMP_END, FRAME_CHAIN,
FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):
Define to make backtracing through sigtramp work.
* config/vax/tm-vax.h (SIGTRAMP_START, SIGTRAMP_END, TARGET_UPAGES,
FRAME_SAVED_PC, SIGCONTEXT_PC_OFFSET):  Ditto.

31 years ago * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
Jim Kingdon [Tue, 17 Aug 1993 05:07:15 +0000 (05:07 +0000)]
* gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
doesn't exist (due to optimization).

31 years ago * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
Jim Kingdon [Tue, 17 Aug 1993 04:21:55 +0000 (04:21 +0000)]
* gdb.stabs/wierd.exp: Deal with it if echo of "file" command
contains \r because the filename is long.

31 years ago * stabs.texinfo (Stabs-in-elf): Talk about getting the start
Jim Kingdon [Tue, 17 Aug 1993 03:23:50 +0000 (03:23 +0000)]
* stabs.texinfo (Stabs-in-elf): Talk about getting the start
addresses of a source file.  Also revise formatting.
Change "object module" or "object file" to "source file".
Various: Miscellaneous cleanups.

31 years ago * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
Jim Kingdon [Tue, 17 Aug 1993 02:11:23 +0000 (02:11 +0000)]
* gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
'continue'" bug, and change xfail back to i*86-univel-sysv4*.

31 years agouse coffbfd for z8k
David D. Zuhn [Mon, 16 Aug 1993 21:17:04 +0000 (21:17 +0000)]
use coffbfd for z8k

31 years ago * stack.c (frame_info, print_frame_info): Add comment about using
Jim Kingdon [Mon, 16 Aug 1993 18:57:30 +0000 (18:57 +0000)]
* stack.c (frame_info, print_frame_info): Add comment about using
the starting source line number on a line boundary if backtracing
through sigtramp.

31 years ago * config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
Peter Schauer [Mon, 16 Aug 1993 10:13:22 +0000 (10:13 +0000)]
* config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
Define for correct handling of bachtraces through _sigtramp.

31 years ago * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
Peter Schauer [Mon, 16 Aug 1993 10:06:20 +0000 (10:06 +0000)]
* gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
gdb.t08/opaque.exp, gdb.t17/interrupt.exp:  Update for vax running
Ultrix.
* gdb.t02/whatis.exp:  Use procedure to setup xfails on long versus
int tests.
* gdb.t08/opaque.exp:  Use procedure to setup xfails for opaque tests.

31 years ago * blockframe.c (create_new_frame, get_prev_frame_info):
Peter Schauer [Mon, 16 Aug 1993 10:03:57 +0000 (10:03 +0000)]
* blockframe.c (create_new_frame, get_prev_frame_info):
Use the function name when calling IN_SIGTRAMP.
* config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
Define for correct handling of bachtraces through _sigtramp.
* m68k-tdep.c (m68k_find_saved_regs):  Adjust saved sp for fake
sigtramp frames.
* mipsread.c (parse_type):  Handle corrupt TIR info with complaint
instead of core dump.
* mipsread.c (parse_partial_symbols):  Put static symbols into the
mimimal symbol table, use proper mst_types for all minimal symbols.
* stack.c (frame_info, print_frame_info):  Use the starting source
line number on a line boundary if backtracing through sigtramp.

31 years ago * blockframe.c (create_new_frame, get_prev_frame_info):
Peter Schauer [Mon, 16 Aug 1993 09:58:26 +0000 (09:58 +0000)]
* blockframe.c (create_new_frame, get_prev_frame_info):
Use the function name when calling IN_SIGTRAMP.
* config/m68k/tm-m68k.h (SIG_PC_FP_OFFSET, SIG_SP_FP_OFFSET):
Define for correct handling of bachtraces through _sigtramp.
* m68k-tdep.c (m68k_find_saved_regs):  Adjust saved sp for fake
sigtramp frames.
* mipsread.c (parse_type):  Handle corrupt TIR info with complaint
instead of core dump.
* mipsread.c (parse_partial_symbols):  Put static symbols into the
mimimal symbol table, use proper mst_types for all minimal symbols.
* stack.c (frame_info, print_frame_info):  Use the starting source
line number on a line boundary if backtracing through sigtramp.

31 years ago * install.sh: If one command fails, don't try the rest. Don't try
Jim Kingdon [Mon, 16 Aug 1993 02:49:53 +0000 (02:49 +0000)]
* install.sh: If one command fails, don't try the rest.  Don't try
to remove $dsttmp (via trap) unless we have already created it.
If $src doesn't exist, detect it and exit with an error.

31 years ago* configure.host: Make sure all OS fields end in *.
Jim Kingdon [Mon, 16 Aug 1993 02:09:54 +0000 (02:09 +0000)]
* configure.host: Make sure all OS fields end in *.

31 years ago* config.guess: Recognize BSD on hp300.
Jim Kingdon [Mon, 16 Aug 1993 01:50:58 +0000 (01:50 +0000)]
* config.guess: Recognize BSD on hp300.

31 years agoupdate targets
David D. Zuhn [Sat, 14 Aug 1993 20:49:12 +0000 (20:49 +0000)]
update targets

31 years agohacking, whacking, and bug fixing.
K. Richard Pixley [Fri, 13 Aug 1993 23:04:45 +0000 (23:04 +0000)]
hacking, whacking, and bug fixing.

31 years ago * Makefile.in (remote-bug.o): new rule.
K. Richard Pixley [Fri, 13 Aug 1993 21:52:10 +0000 (21:52 +0000)]
* Makefile.in (remote-bug.o): new rule.
  (ALLDEPFILES): added remote-bug.c

31 years ago * remote-hms.c (hms_wait): use -1 for timeout's which means block
K. Richard Pixley [Fri, 13 Aug 1993 21:49:51 +0000 (21:49 +0000)]
* remote-hms.c (hms_wait): use -1 for timeout's which means block
  forever rather than 99999.

31 years ago * ser-unix.c (get_tty_state): if a descriptor is not a tty, then
K. Richard Pixley [Fri, 13 Aug 1993 21:48:39 +0000 (21:48 +0000)]
* ser-unix.c (get_tty_state): if a descriptor is not a tty, then
  simply save encode this fact as the process group and return
  success rather than an error.
  (set_tty_state): if process group is -1, do not reset the
  process group.
  (hardwire_reachar): comment change.

31 years agocomment change
K. Richard Pixley [Fri, 13 Aug 1993 21:47:01 +0000 (21:47 +0000)]
comment change

31 years ago * config/m88k/tm-m88k.h: comment change to remove embedded
K. Richard Pixley [Fri, 13 Aug 1993 21:45:31 +0000 (21:45 +0000)]
* config/m88k/tm-m88k.h: comment change to remove embedded
  comment.
  (SKIP_PROLOGUE): skip_prologue returns a value which is expected
  to reset the pc argument.  So reset it.

31 years agoUse BFD to determine what a symbol prefix is, be better about determining
Sean Eric Fagan [Fri, 13 Aug 1993 21:38:41 +0000 (21:38 +0000)]
Use BFD to determine what a symbol prefix is, be better about determining
which symbols to study, and divide by the correct amount.

31 years ago * nlmcode.h (nlm_write_object_contents): procedure offsets are
Ian Lance Taylor [Fri, 13 Aug 1993 20:38:02 +0000 (20:38 +0000)]
* nlmcode.h (nlm_write_object_contents): procedure offsets are
from start of code segment, not start of file.
* config/i386-nlm.mt (DEFAULT_VECTOR): It's nlm32_i386_vec, not
bfd_nlm32_i386_vec.
* configure.in (SELECT_VECS switch): Likewise.

31 years ago * Makefile.in (VERSION): Bump to 4.10.1 after release and cvs
Fred Fish [Fri, 13 Aug 1993 17:17:16 +0000 (17:17 +0000)]
* Makefile.in (VERSION):  Bump to 4.10.1 after release and cvs
tagging.

31 years ago * gdbserver/Makefile.in: Use GDBSERVER_LIBS and
Jim Kingdon [Fri, 13 Aug 1993 02:05:47 +0000 (02:05 +0000)]
* gdbserver/Makefile.in: Use GDBSERVER_LIBS and
GDBSERVER_DEPFILES.  Also remove much (but not all that could be
removed) crud inherited from gdb Makefile.in.
* config/i386/i386lynx.mh, config/sparc/sun4os4.mh: Define GDBSERVER_*.
* gdbserver/README: Say it works on Sun and change configuration
instructions slightly.

31 years ago * format.c (bfd_check_format): If the target matches the default
David MacKenzie [Fri, 13 Aug 1993 00:34:19 +0000 (00:34 +0000)]
* format.c (bfd_check_format): If the target matches the default
target, set match_count to 1, to ignore any previous matches.

31 years agoremove mention of nm
David MacKenzie [Fri, 13 Aug 1993 00:11:22 +0000 (00:11 +0000)]
remove mention of nm

31 years ago * Makefile.in ($(NM_PROG)): Depend on demangle.o.
David MacKenzie [Fri, 13 Aug 1993 00:02:25 +0000 (00:02 +0000)]
* Makefile.in ($(NM_PROG)): Depend on demangle.o.
(demangle.o): New target.
(cplus-dem.o): Depend on it, to force compilation order when doing
parallel compiles.

* nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg.
(struct output_fns print_symbol_info): Ditto.
(long_options, usage, main): Add -C --demangle option.
(print_symname): New function, demangling if requested.
(print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.

31 years agoadded support for the original "make chech-cdtest"
Jeffrey Wheat [Thu, 12 Aug 1993 23:20:25 +0000 (23:20 +0000)]
added support for the original "make chech-cdtest"

31 years agocleaned up tests to work like they did originally in the makefile
Jeffrey Wheat [Thu, 12 Aug 1993 23:19:09 +0000 (23:19 +0000)]
cleaned up tests to work like they did originally in the makefile

31 years ago * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
Fred Fish [Thu, 12 Aug 1993 22:27:40 +0000 (22:27 +0000)]
* gdb.t17/interrupt.exp:  Fix 'missing Continuing' case so pattern
to match does not match the passing case but still matches the
failing case.

31 years agoTipo.
Ian Lance Taylor [Thu, 12 Aug 1993 22:16:07 +0000 (22:16 +0000)]
Tipo.

31 years ago * coff-aplha.alpha.c (alpha_howto_table, alpha_finish_reloc,
Ian Lance Taylor [Thu, 12 Aug 1993 22:15:25 +0000 (22:15 +0000)]
* coff-aplha.alpha.c (alpha_howto_table, alpha_finish_reloc,
alpha_ecoff_swap_reloc_{in,out}, alpha_bfd_reloc_type_lookup):
Read and write Alpha relocs.  Can't process them yet.
* ecoff.c (ecoff_slurp_reloc_table): Recognize new reloc sections.
If the section does not already exist, create it.

31 years ago * alpha.h (struct external_reloc): Add r_symndx field.
Ian Lance Taylor [Thu, 12 Aug 1993 22:14:35 +0000 (22:14 +0000)]
* alpha.h (struct external_reloc): Add r_symndx field.
(RELSZ): Correct.
(RELOC_BITS*): Correct.
(ALPHA_R_*): Define.
* ecoff.h (RELOC_SECTION_{XDATA,PDATA,FINI,LITA,ABS}): Define.
(r_extern): Undefine.
* internal.h (struct internal_reloc): Make r_vaddr bfd_vma rather
than long.  Add r_extern field.

31 years ago* Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
Jim Kingdon [Thu, 12 Aug 1993 22:05:06 +0000 (22:05 +0000)]
* Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.

31 years agokeep config.bfd
David MacKenzie [Thu, 12 Aug 1993 20:30:39 +0000 (20:30 +0000)]
keep config.bfd

31 years ago* stabs.texinfo: Point to mangling info in gcc's gpcompare.texi.
Jim Kingdon [Thu, 12 Aug 1993 20:17:33 +0000 (20:17 +0000)]
* stabs.texinfo: Point to mangling info in gcc's gpcompare.texi.

31 years ago * Makefile.in (BFD32_BACKENDS): Remove srec.o, add reloc16.o.
David MacKenzie [Thu, 12 Aug 1993 19:09:00 +0000 (19:09 +0000)]
* Makefile.in (BFD32_BACKENDS): Remove srec.o, add reloc16.o.

31 years ago * libecoff.h (ecoff_backend_data): Added constructor_reloc and
Ian Lance Taylor [Thu, 12 Aug 1993 18:47:18 +0000 (18:47 +0000)]
* libecoff.h (ecoff_backend_data): Added constructor_reloc and
finish_reloc fields.
* ecoff.c: Move MIPS reloc support from here...
* coff-mips.c: to here.
* ecoff.c (ecoff_set_symbol_info): Get constructor reloc howto
from backend.
(ecoff_slurp_reloc_table): Removed MIPS specific stuff.  Call
finish_reloc backend function.
(ecoff_write_object_contents): Removed MIPS specific assertions.
* coff-mips.c (mips_finish_reloc): New function.
(mips_ecoff_backend_data): Fill in new fields.
* coff-alpha.c (alpha_ecoff_backend_data): Use NULL for new
fields.
* targets.c: Added extern for ecoffalpha_little_vec.

31 years ago * ecoff.h: Moved MIPS reloc definitions from here...
Ian Lance Taylor [Thu, 12 Aug 1993 18:46:22 +0000 (18:46 +0000)]
* ecoff.h: Moved MIPS reloc definitions from here...
* mips.h: to here.

31 years agodon't use -g in CXXFLAGS
David D. Zuhn [Thu, 12 Aug 1993 18:43:31 +0000 (18:43 +0000)]
don't use -g in CXXFLAGS

31 years ago * configure.in: Add reloc16.o when we add
David MacKenzie [Thu, 12 Aug 1993 18:41:30 +0000 (18:41 +0000)]
* configure.in: Add reloc16.o when we add
coff-h8300.o, coff-h8500.o, coff-sh.o, coff-z8k.o.
Makefile.in (BFD_LIBS): Remove reloc16.o.

31 years agoWed Aug 11 22:57:23 1993 David J. Mackenzie (djm@thepub.cygnus.com)
David MacKenzie [Thu, 12 Aug 1993 18:00:36 +0000 (18:00 +0000)]
Wed Aug 11 22:57:23 1993  David J. Mackenzie  (djm@thepub.cygnus.com)

* Makefile.in: Put CFLAGS last in compilation rules and omit from
linking rules.  Use ARCHDEFS to compile objdump.c.
Update dependencies.
* configure.in: Construct ARCHDEFS based on the BFD target makefile
fragments.
* objdump.c: Conditionalize calls to the print_insn_ARCH functions
according to ARCHDEFS.

31 years agoThu Aug 12 10:32:47 1993 David J. Mackenzie (djm@thepub.cygnus.com)
David MacKenzie [Thu, 12 Aug 1993 17:57:02 +0000 (17:57 +0000)]
Thu Aug 12 10:32:47 1993  David J. Mackenzie  (djm@thepub.cygnus.com)

* config/u68k-coff.mt: Fix typo, DEFAULT_TARGET for
DEFAULT_VECTOR.

* config/h8300-coff.mt, h8500-coff.mt, sh-coff.mt, st2000.mt,
z8k-coff.mt (DEFAULT_VECTOR): Define.  Don't explicitly add
S-records via SELECT_VECS.

* targets.c (target_vector), Makefile.in (BFD_LIBS): Always
support S-records, for convenience.

* config.bfd: New file, broken out of configure.in.
* configure.in: Use it, and use standard target names for
--with-targets, replacing --with-bfd-targets.

31 years agoFinish the minimizing, the right way (using normal target names).
David MacKenzie [Thu, 12 Aug 1993 17:55:52 +0000 (17:55 +0000)]
Finish the minimizing, the right way (using normal target names).

Thu Aug 12 10:32:47 1993  David J. Mackenzie  (djm@thepub.cygnus.com)

* config/u68k-coff.mt: Fix typo, DEFAULT_TARGET for
DEFAULT_VECTOR.

* config/h8300-coff.mt, h8500-coff.mt, sh-coff.mt, st2000.mt,
z8k-coff.mt (DEFAULT_VECTOR): Define.  Don't explicitly add
S-records via SELECT_VECS.

* targets.c (target_vector), Makefile.in (BFD_LIBS): Always
support S-records, for convenience.

* config.bfd: New file, broken out of configure.in.

* configure.in: Use it, and use standard target names for
--with-targets, replacing --with-bfd-targets.

31 years ago * mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b). Similarly
Ian Lance Taylor [Thu, 12 Aug 1993 16:07:37 +0000 (16:07 +0000)]
* mips-opc.c: Added lwc1 E,A(b) to go with lwc1 T,A(b).  Similarly
for swc1.

31 years agocheck targets reimplemented to old way.
Jeffrey Wheat [Thu, 12 Aug 1993 15:54:30 +0000 (15:54 +0000)]
check targets reimplemented to old way.

31 years ago * config/tc-mips.c (mips_ip): Suggested by
Ian Lance Taylor [Thu, 12 Aug 1993 15:52:57 +0000 (15:52 +0000)]
* config/tc-mips.c (mips_ip): Suggested by
davidj@ICSI.Berkeley.EDU (David Johnson): Don't accept symbolic
names for 'E' and 'G' argument types (coprocessor registers) and
don't warn if $1 is used on the coprocessor.

31 years ago * bfd.c (_bfd_host_big_endian): Removed.
Ian Lance Taylor [Thu, 12 Aug 1993 15:33:12 +0000 (15:33 +0000)]
* bfd.c (_bfd_host_big_endian): Removed.
* bfd-in.h (HOST_BYTE_ORDER_BIG_P, bfd_header_twiddle_required):
Removed.
* bfd-in2.h: Regenerated.

31 years ago * ar.c: Removed obsolete and non-functional GNU960 code.
Ian Lance Taylor [Thu, 12 Aug 1993 15:27:38 +0000 (15:27 +0000)]
* ar.c: Removed obsolete and non-functional GNU960 code.

31 years ago* lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
John Gilmore [Thu, 12 Aug 1993 02:51:51 +0000 (02:51 +0000)]
* lib/gdb.exp (gdb_exit):  Move the best version of gdb_exit
to here.
* config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
Remove various versions of gdb_exit.
* config/vx-gdb.exp:  Remove quit_vxgdb, change a caller to call
gdb_exit.
* config/unix-gdb.exp:  gdb_exit remains here, and should override
the generic version, since it's doing a lot of wierd stuff that
the other versions aren't.  FIXME, fold it in, or abandon this
version.

31 years agomore cleanups
David MacKenzie [Thu, 12 Aug 1993 02:32:34 +0000 (02:32 +0000)]
more cleanups

31 years agoreally do last change
David MacKenzie [Wed, 11 Aug 1993 23:24:06 +0000 (23:24 +0000)]
really do last change

31 years ago * configure.in: Include coff-m68k.o for m68kcoffun_vec.
David MacKenzie [Wed, 11 Aug 1993 23:22:06 +0000 (23:22 +0000)]
* configure.in: Include coff-m68k.o for m68kcoffun_vec.
Include nlm32.o and nlm.o for bfd_nlm32_i386_vec.

31 years ago * remote-{monitor,bug}.c: Make bug_ops not static (forward declaration
Jim Kingdon [Wed, 11 Aug 1993 23:12:02 +0000 (23:12 +0000)]
* remote-{monitor,bug}.c: Make bug_ops not static (forward declaration
of statics doesn't work with SunOS4 /bin/cc).
Rename the occurrence in remote-monitor.c to monitor_bug_ops.

31 years ago * Makefile.in (all-send-pr): depends on all-prms
Jason Merrill [Wed, 11 Aug 1993 22:39:09 +0000 (22:39 +0000)]
 * Makefile.in (all-send-pr): depends on all-prms

31 years agoMake bfd_error_vector extern.
David MacKenzie [Wed, 11 Aug 1993 22:37:23 +0000 (22:37 +0000)]
Make bfd_error_vector extern.

31 years ago * blockframe.c (find_pc_partial_function),
Jim Kingdon [Wed, 11 Aug 1993 22:14:09 +0000 (22:14 +0000)]
* blockframe.c (find_pc_partial_function),
mips-tdep.c (find_proc_desc): Deal with "pathological" case.

31 years ago* config.guess: Fix typo (9000/8??:4.3bsd -> 9000/7??:4.3bsd).
Jim Kingdon [Wed, 11 Aug 1993 21:59:50 +0000 (21:59 +0000)]
* config.guess: Fix typo (9000/8??:4.3bsd -> 9000/7??:4.3bsd).

31 years ago * size.c (berkeley_sum): New function.
Ian Lance Taylor [Wed, 11 Aug 1993 20:14:37 +0000 (20:14 +0000)]
* size.c (berkeley_sum): New function.
(bsssize, datasize, textsize): New global variables.
(bss_section_name, data_section_name, text_section_name): Removed.
(print_berkeley_format): Map berkeley_sum over all the sections,
rather than only reporting sizes of specifically named sections.
* Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.

31 years ago* gdb.t24/demangle.exp: Add tests for PR 3220.
Jim Kingdon [Wed, 11 Aug 1993 19:59:27 +0000 (19:59 +0000)]
* gdb.t24/demangle.exp: Add tests for PR 3220.

31 years agoInclude stab-syms.o for a.out/b.out targets and hp300{bsd,hpux}.
David MacKenzie [Wed, 11 Aug 1993 19:16:21 +0000 (19:16 +0000)]
Include stab-syms.o for a.out/b.out targets and hp300{bsd,hpux}.

31 years ago * config/i386v.mh, config/irix4.mh: Use gcc
Ian Lance Taylor [Wed, 11 Aug 1993 19:14:25 +0000 (19:14 +0000)]
* config/i386v.mh, config/irix4.mh: Use gcc
-print-libgcc-file-name rather than $(libdir)/libgcc.a.

31 years agoWrite out all the header information, except the SHARELIB stuff which
Ian Lance Taylor [Wed, 11 Aug 1993 18:30:39 +0000 (18:30 +0000)]
Write out all the header information, except the SHARELIB stuff which
is still not implemented.

31 years ago * nlmcode.h (nlm_compute_section_file_positions): Add the .bss
Ian Lance Taylor [Wed, 11 Aug 1993 18:30:08 +0000 (18:30 +0000)]
* nlmcode.h (nlm_compute_section_file_positions): Add the .bss
section before setting output_has_begun.
(nlm_set_section_contents): Remove argument names from
mangle_relocs_func prototype.
(nlm_write_object_contents): Remove shadowing local variable.
Don't write out debugging symbols if debugInfoOffset is -1.  Add
the codeImageOffset to the start, exit, and check procedure
offsets.
* nlm32-i386.c (nlm_i386_write_reloc, nlm_i386_mangle_relocs):
Don't check partial_inplace field; its value is irrelevant.

31 years ago * config/i386sco.mh: New file; copy of i386v.mh to correspond to
Ian Lance Taylor [Wed, 11 Aug 1993 15:57:39 +0000 (15:57 +0000)]
* config/i386sco.mh: New file; copy of i386v.mh to correspond to
bfd/configure.host change.

31 years ago * Base use of sco-core on host, not target.
Ian Lance Taylor [Wed, 11 Aug 1993 15:56:14 +0000 (15:56 +0000)]
* Base use of sco-core on host, not target.
* configure.host (i[34]86-*-sco*): Use i386sco rather than i386v.
* config/i386-sco.mt (TDEFINES): Removed.
* config/i386sco.mh: New file to use sco-core.
* hosts/i386sco.h: New file; just includes hosts/i386v.h.

Not needed for gdb 4.10.

31 years ago * ecoffswap.h (ecoff_swap_{hdr,ext}_{in,out}): Use signed
Ian Lance Taylor [Wed, 11 Aug 1993 13:42:17 +0000 (13:42 +0000)]
* ecoffswap.h (ecoff_swap_{hdr,ext}_{in,out}): Use signed
conversions for some fields.

31 years ago * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
Fred Fish [Wed, 11 Aug 1993 00:48:54 +0000 (00:48 +0000)]
* gdb.t07/watchpoint.exp:  Clear xfail with "i*86-*-*", not just
"i386-*-*".  Works for i486 as well.

31 years agoRemoved many junk machine-collected "conditionals", described some
Stan Shebs [Wed, 11 Aug 1993 00:02:01 +0000 (00:02 +0000)]
Removed many junk machine-collected "conditionals", described some
legit ones.

31 years ago * gdb.t06/signals.exp: Rework code that recognizes known SVR4
Fred Fish [Tue, 10 Aug 1993 22:49:01 +0000 (22:49 +0000)]
* gdb.t06/signals.exp:  Rework code that recognizes known SVR4
bug, and expand domain of xfail to all SVR4 systems, since the
actual problem is likely to be in generic SVR4 /proc support.

31 years ago* config/unix-gdb.exp (gdb_load): Add eof to expect statement.
Jim Kingdon [Tue, 10 Aug 1993 21:09:41 +0000 (21:09 +0000)]
* config/unix-gdb.exp (gdb_load): Add eof to expect statement.

31 years ago* config/unix-gdb.exp (gdb_load): Add eof to expect statement.
Jim Kingdon [Tue, 10 Aug 1993 20:56:52 +0000 (20:56 +0000)]
* config/unix-gdb.exp (gdb_load): Add eof to expect statement.

31 years ago * objfiles.h (struct objfile): Clean up comments for
Jim Kingdon [Tue, 10 Aug 1993 19:57:41 +0000 (19:57 +0000)]
* objfiles.h (struct objfile): Clean up comments for
{obj,sym}_private to clarify what they are private to.

31 years ago * gdbint.texinfo (Getting Started): Use @itemize, not @table.
Jim Kingdon [Tue, 10 Aug 1993 19:05:52 +0000 (19:05 +0000)]
* gdbint.texinfo (Getting Started): Use @itemize, not @table.

* gdbint.texinfo (Top): Add name to @top line, and re-write the
paragraph which follows.

* gdbint.texinfo (Host): Use @code not @samp for Makefile
variables.  Looks better and avoids overful hbox.

31 years ago * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
Fred Fish [Tue, 10 Aug 1993 18:42:20 +0000 (18:42 +0000)]
* gdb.t17/interrupt.exp:  Set up xfail for *-*-sysv4*, in chain of
xfails for other systems.  Match a missing 'Continuing.' as an
explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.

31 years agoAdded new files.
Ian Lance Taylor [Tue, 10 Aug 1993 17:50:28 +0000 (17:50 +0000)]
Added new files.

31 years agoCheckpoint of NLM conversion program.
Ian Lance Taylor [Tue, 10 Aug 1993 17:49:44 +0000 (17:49 +0000)]
Checkpoint of NLM conversion program.

* nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
convert object files into NetWare Loadable Modules.
* Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
(PROGS): Add NLMCONV_PROG.
(nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
targets.

31 years ago * libnlm.h (struct nlm_backend_data): Added mach field.
Ian Lance Taylor [Tue, 10 Aug 1993 17:41:17 +0000 (17:41 +0000)]
* libnlm.h (struct nlm_backend_data): Added mach field.
(nlm_machine): New accessor macro.
* nlm.c (nlm_mkobject): Set architecture and machine from backend
information.
* nlm32-i386.c (nlm32_i386_backend): Initialize new mach field.

31 years ago * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
Fred Fish [Tue, 10 Aug 1993 17:31:45 +0000 (17:31 +0000)]
* gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
Only issue warning for missing executables if -all option is used.

31 years ago * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
Fred Fish [Tue, 10 Aug 1993 16:58:44 +0000 (16:58 +0000)]
* gdb.stabs/wierd.exp:  Only issue warning for missing wierd.o
file if -all option is used.  It's like an unpredictable XFAIL.

31 years agoReplace calls to sort with shell code
David MacKenzie [Tue, 10 Aug 1993 16:35:12 +0000 (16:35 +0000)]
Replace calls to sort with shell code

31 years agoconfigure.in: Include aout32.o for any a.out/b.out formats.
Ken Raeburn [Tue, 10 Aug 1993 16:23:32 +0000 (16:23 +0000)]
configure.in: Include aout32.o for any a.out/b.out formats.

31 years agomention that [section] is no longer supported
David MacKenzie [Tue, 10 Aug 1993 16:12:30 +0000 (16:12 +0000)]
mention that [section] is no longer supported

31 years agosupport COFF on ELF systems
David MacKenzie [Tue, 10 Aug 1993 05:01:12 +0000 (05:01 +0000)]
support COFF on ELF systems

31 years agoMoved the function hashname from stabsread.c to buildsym.c, since
Stan Shebs [Mon, 9 Aug 1993 23:49:18 +0000 (23:49 +0000)]
Moved the function hashname from stabsread.c to buildsym.c, since
it's a general-purpose function.

31 years agoadd support for dosutils
David D. Zuhn [Mon, 9 Aug 1993 23:07:09 +0000 (23:07 +0000)]
add support for dosutils

31 years ago * gdbcore.h: New variable gnutarget.
Jim Kingdon [Mon, 9 Aug 1993 21:36:49 +0000 (21:36 +0000)]
* gdbcore.h: New variable gnutarget.
* core.c: Add commands to set and show it.
* Callers to bfd_*open*: Pass gnutarget instead of NULL as target.
* environ.c (set_in_environ): For GNUTARGET, use set_gnutarget not
putenv.

31 years ago * remote-udi.c: Make udi_ops extern rather than trying forward
Jim Kingdon [Mon, 9 Aug 1993 21:12:01 +0000 (21:12 +0000)]
* remote-udi.c: Make udi_ops extern rather than trying forward
declaration of a static variable.

31 years agoinclude elf doc
Ken Raeburn [Mon, 9 Aug 1993 20:31:30 +0000 (20:31 +0000)]
include elf doc

31 years agoadd @finalout
David MacKenzie [Mon, 9 Aug 1993 20:23:53 +0000 (20:23 +0000)]
add @finalout

31 years agoconfig/m88k-coff.mt (DEFAULT_VEC -> DEFAULT_VECTOR): renamed.
K. Richard Pixley [Mon, 9 Aug 1993 20:17:40 +0000 (20:17 +0000)]
config/m88k-coff.mt (DEFAULT_VEC -> DEFAULT_VECTOR): renamed.

31 years ago * bfd-in.h (bfd_get_architecture, bfd_get_machine): Removed
Ian Lance Taylor [Mon, 9 Aug 1993 20:08:16 +0000 (20:08 +0000)]
* bfd-in.h (bfd_get_architecture, bfd_get_machine): Removed
obsolete macros.
* bfd-in2.h: Updated.

31 years ago * hppab-nat.c: Define ptrace to call_ptrace and pass the 5th arg
Jim Kingdon [Mon, 9 Aug 1993 20:07:25 +0000 (20:07 +0000)]
* hppab-nat.c: Define ptrace to call_ptrace and pass the 5th arg
there, rather than using an ANSI C specific macro.

31 years ago * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
Jim Kingdon [Mon, 9 Aug 1993 19:52:37 +0000 (19:52 +0000)]
* gdb.t15/funcargs.exp: Add comments that hppa xfails are only
for dynamically linked binaries.

31 years agocode changes to syms.c bfd.c
Ken Raeburn [Mon, 9 Aug 1993 19:27:43 +0000 (19:27 +0000)]
code changes to syms.c bfd.c

31 years agoregenerated
Ken Raeburn [Mon, 9 Aug 1993 19:25:56 +0000 (19:25 +0000)]
regenerated

31 years ago * 29k-share/udi/udr.c: Include fcntl.h not sys/fcntl.h. Also put
Jim Kingdon [Mon, 9 Aug 1993 19:17:04 +0000 (19:17 +0000)]
* 29k-share/udi/udr.c: Include fcntl.h not sys/fcntl.h.  Also put
sys/types.h near the top (just on general principles).

31 years agosanitize targets.c
Ken Raeburn [Mon, 9 Aug 1993 19:16:24 +0000 (19:16 +0000)]
sanitize targets.c