platform/upstream/binutils.git
31 years ago* ser-go32.c: Define job_control variable.
Jim Kingdon [Fri, 6 Aug 1993 07:25:02 +0000 (07:25 +0000)]
* ser-go32.c: Define job_control variable.

31 years ago* ser-go32.c: Define job_control variable.
Jim Kingdon [Fri, 6 Aug 1993 07:11:16 +0000 (07:11 +0000)]
* ser-go32.c: Define job_control variable.

31 years agouse mh-hp300
David D. Zuhn [Thu, 5 Aug 1993 23:15:04 +0000 (23:15 +0000)]
use mh-hp300

31 years agohandle z8k-coff
David D. Zuhn [Thu, 5 Aug 1993 22:57:13 +0000 (22:57 +0000)]
handle z8k-coff

31 years agoerror fixes and clarifications
David MacKenzie [Thu, 5 Aug 1993 22:49:26 +0000 (22:49 +0000)]
error fixes and clarifications

31 years agonew file for hp300 hosts
David D. Zuhn [Thu, 5 Aug 1993 22:46:44 +0000 (22:46 +0000)]
new file for hp300 hosts

31 years ago* sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.
Jim Kingdon [Thu, 5 Aug 1993 22:16:40 +0000 (22:16 +0000)]
* sparc-dis.c: Include ansidecl.h before opcodes/sparc.h.

31 years ago(write_object_file): Test DEBUG_SYMS instead of DEBUG for verifying sym chain.
Ken Raeburn [Thu, 5 Aug 1993 21:21:30 +0000 (21:21 +0000)]
(write_object_file): Test DEBUG_SYMS instead of DEBUG for verifying sym chain.
(merge_data_into_text, relax_and_size_all_segments): New fns, split out from
write_object_file.

31 years agoMakefile.in, bfd-in.h, reloc, elf32-i386, elfcode changes
Ken Raeburn [Thu, 5 Aug 1993 19:23:43 +0000 (19:23 +0000)]
Makefile.in, bfd-in.h, reloc, elf32-i386, elfcode changes

31 years ago* 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h.
Jim Kingdon [Thu, 5 Aug 1993 19:06:24 +0000 (19:06 +0000)]
* 29k-share/udi/udip2soc.c: Include sys/types.h before sys/file.h.

31 years agoregenerated
Ken Raeburn [Thu, 5 Aug 1993 18:36:19 +0000 (18:36 +0000)]
regenerated

31 years agoWed Jun 23 06:05:58 1993 Michael Meissner (meissner@osf.org)
Ken Raeburn [Thu, 5 Aug 1993 18:32:50 +0000 (18:32 +0000)]
Wed Jun 23 06:05:58 1993  Michael Meissner  (meissner@osf.org)

* elfcode.h (elf_write_object_contents): Don't drop core if
elf_symbol_from returns a NULL pointer when processing a non-elf
symbol, use a 0 size instead.

Tue Jun 15 14:38:32 1993  Michael Meissner  (meissner@osf.org)

* elfcode.h (elf_hash): Delete macro mapping elf_hash to
bfd_elf32_hash, since the hash table is independent of the 32/64
bit system.

31 years agorewrite comment -- bfd-in2.h is generated too
Ken Raeburn [Thu, 5 Aug 1993 18:27:16 +0000 (18:27 +0000)]
rewrite comment -- bfd-in2.h is generated too

31 years agoadd i386-elf relocs (from Meissner)
Ken Raeburn [Thu, 5 Aug 1993 18:24:21 +0000 (18:24 +0000)]
add i386-elf relocs (from Meissner)

31 years ago(BFD_LIBS): Always include elf.o.
Ken Raeburn [Thu, 5 Aug 1993 18:20:20 +0000 (18:20 +0000)]
(BFD_LIBS): Always include elf.o.
(BFD32_BACKENDS): Don't include elf.o here.
(ofiles): Delete references to ofiles2 and ofiles3.
(do_clean): Delete ofiles.
(BFDIN_H): Changed references to $(srcdir)/bfd-in2.h.
(stmp-bfd.h): Use bfd.h-new as temporary name, not bfd.h2.
(headers): Use bfd-in2.h-new as temporary name, not bfd.h-new.

31 years ago* config/i386/tm-i386bsd.h (NUM_REGS): There are only 10, not 11.
Jim Kingdon [Thu, 5 Aug 1993 17:53:42 +0000 (17:53 +0000)]
* config/i386/tm-i386bsd.h (NUM_REGS):  There are only 10, not 11.

31 years ago * nlmcode.h (nlm_get_reloc_upper_bound): Test return value
Fred Fish [Thu, 5 Aug 1993 17:22:58 +0000 (17:22 +0000)]
* nlmcode.h (nlm_get_reloc_upper_bound):  Test return value
of nlm_slurp_symbol_table as boolean, not pointer.
* nlmcode.h (nlm_canonicalize_reloc):  Test return value
of nlm_slurp_reloc_fixups as boolean, not pointer.

31 years ago* config/unix-gdb.exp (gdb_exit): Add "wait".
Jim Kingdon [Thu, 5 Aug 1993 17:21:51 +0000 (17:21 +0000)]
* config/unix-gdb.exp (gdb_exit): Add "wait".

31 years agoread.c change; yesterdays elf/sparc changes
Ken Raeburn [Thu, 5 Aug 1993 17:14:11 +0000 (17:14 +0000)]
read.c change; yesterdays elf/sparc changes

31 years ago(emit_expr): Use BFD_RELOC_64 fr 8-byte expressions.
Ken Raeburn [Thu, 5 Aug 1993 17:07:22 +0000 (17:07 +0000)]
(emit_expr): Use BFD_RELOC_64 fr 8-byte expressions.

31 years ago* inflow.c: Put all uses of F_GETFL and F_SETFL in #ifdef F_GETFL.
Jim Kingdon [Thu, 5 Aug 1993 16:08:22 +0000 (16:08 +0000)]
* inflow.c: Put all uses of F_GETFL and F_SETFL in #ifdef F_GETFL.

31 years agodon't use $$(CC_FOR_TARGET) because that ends up being bash execute command
Mark Eichin [Thu, 5 Aug 1993 15:03:45 +0000 (15:03 +0000)]
don't use $$(CC_FOR_TARGET) because that ends up being bash execute command
syntax; use $(CC_FOR_TARGET) instead.

31 years ago* 29k-share/udi/udip2soc.c: Include fcntl.h not sys/fcntl.h.
Jim Kingdon [Thu, 5 Aug 1993 14:28:32 +0000 (14:28 +0000)]
* 29k-share/udi/udip2soc.c: Include fcntl.h not sys/fcntl.h.

31 years agoChanges to add dejagnu testsuite support
Jeffrey Wheat [Thu, 5 Aug 1993 04:16:43 +0000 (04:16 +0000)]
Changes to add dejagnu testsuite support

31 years agoNew files for ld testsuites
Jeffrey Wheat [Thu, 5 Aug 1993 04:14:51 +0000 (04:14 +0000)]
New files for ld testsuites

31 years agoadd missing newlines in messages
David MacKenzie [Thu, 5 Aug 1993 02:52:17 +0000 (02:52 +0000)]
add missing newlines in messages

31 years agofix line numbers
David MacKenzie [Thu, 5 Aug 1993 02:47:20 +0000 (02:47 +0000)]
fix line numbers

31 years ago * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
Fred Fish [Thu, 5 Aug 1993 01:36:43 +0000 (01:36 +0000)]
* gdb.t10/Makefile.in (nodebug.o):  Don't use "-c -o", many
compilers don't grok it.
* gdb.t16/gdbme.c (ctable1):  Initialize unsigned char array
with small octal ints rather than character constants, which
are signed and might not fit if first promoted to int.

31 years ago * inflow.c (pass_signal): Signal handlers take one int arg;
Fred Fish [Thu, 5 Aug 1993 01:33:45 +0000 (01:33 +0000)]
* inflow.c (pass_signal):  Signal handlers take one int arg;
supply an unused one to make it type compatible as an arg to
signal().

31 years agomake failure nonfatal
David MacKenzie [Thu, 5 Aug 1993 00:20:27 +0000 (00:20 +0000)]
make failure nonfatal

31 years agov9 changes
Ken Raeburn [Wed, 4 Aug 1993 23:11:31 +0000 (23:11 +0000)]
v9 changes

31 years ago* obj-elf.c (obj_elf_stab_generic, in disabled code): If
Ken Raeburn [Wed, 4 Aug 1993 23:10:43 +0000 (23:10 +0000)]
* obj-elf.c (obj_elf_stab_generic, in disabled code): If
debug section is new, allocate an extra 12 bytes at its start.  If
".stabs" type is N_SO, fill in filename symbol field of that first
entry.  Return early if "goof", to simplify later code slightly.
(adjust_stab_sections): New function.
(elf_frob_file): Apply adjust_stab_sections to each section.

* obj-elf.c (obj_elf_section, obj_elf_previous): No longer static.
* obj-elf.h (obj_elf_section, obj_elf_previous): Declare.
* tc-sparc.c (md_pseudo_table): Call them for "pushsection"
and "popsection", and call cons for "uaword" and "uahalf".

* obj-elf.c (obj_elf_version): Use English in error messages.

* tc-sparc.c (md_apply_fix, case BFD_RELOC_64): New case,
parallel to BFD_RELOC_32.
(tc_gen_reloc): Accept BFD_RELOC_64.

31 years ago * libnlm.h (nlm_backend_data): Added nlm_mangle_relocs.
Ian Lance Taylor [Wed, 4 Aug 1993 20:25:53 +0000 (20:25 +0000)]
* libnlm.h (nlm_backend_data): Added nlm_mangle_relocs.
(nlm_mangle_relocs_func): New macro.
* nlm32-i386.c (nlm_i386_write_reloc): Rewrote correctly.
(nlm_i386_mangle_relocs): New function.
* nlmcode.h (nlm_compute_section_file_positions): Move all common
symbols into the .bss section.
(nlm_set_section_contents): Call the mangle_relocs function.
(nlm_write_object_contents): Treat a reloc against any defined
symbol as an internal reloc.  Fix bug in external reloc counting.
Get the offset and debugging type right for .bss symbols.  Only
output debugging symbols for defined symbols.

31 years agoKeep h8300h.sc
Steve Chamberlain [Wed, 4 Aug 1993 17:24:11 +0000 (17:24 +0000)]
Keep h8300h.sc

31 years agoKeep h8300h.em
Steve Chamberlain [Wed, 4 Aug 1993 17:23:30 +0000 (17:23 +0000)]
Keep h8300h.em

31 years agoKeep m88kbcs.em
Steve Chamberlain [Wed, 4 Aug 1993 17:19:22 +0000 (17:19 +0000)]
Keep m88kbcs.em

31 years ago * coff-h8500.c (rtype2howto): Do an fprintf to stderr rather than
Ian Lance Taylor [Wed, 4 Aug 1993 16:36:10 +0000 (16:36 +0000)]
* coff-h8500.c (rtype2howto): Do an fprintf to stderr rather than
using printf.
* coff-z8k.c (rtype2howto): Likewise.
* coffcode.h (dummy_reloc16_extra_cases): Likewise.
* elf32-i386.c (TRACE): Likewise.
* hp300hpux.c (convert_sym_type, swap_std_reloc_in): Likewise.
* rs6000-core.c (rs6000coff_get_section_contents): Likewise.
* coffgen.c (coff_print_symbol): Do an fprintf to the file
argument rather than using printf.

31 years agoRename sigm insn to sir.
David Edelsohn [Wed, 4 Aug 1993 05:12:50 +0000 (05:12 +0000)]
Rename sigm insn to sir.
Change impdep insn from [1+2],d to 1,2,d.

31 years agoWith these changes, the binutils mostly work on the Alpha, except for
Ian Lance Taylor [Wed, 4 Aug 1993 01:37:25 +0000 (01:37 +0000)]
With these changes, the binutils mostly work on the Alpha, except for
objdump -r.

* coffswap.h: Added macros used when accessing several fields;
default is the same as before.
(coff_swap_aouthdr_{in,out}): Handle the Alpha ECOFF fields.
* coff-alpha.c: Defined macros to use the right sizes in
coffswap.h.
* libecoff.h: Backend information is now in target vector, not
BFD.  Start of backend information is COFF backend information.
* coff-alpha.c, coff-mips.c: Changed accordingly.
* ecoff.c (ecoff_mkobject): New function.
(ARMAP_START): Changed into backend information, since Alpha uses
a different name.
(ecoff_slurp_armap): Don't overlay archive header.
* bfd.c: Include libcoff.h.

31 years ago * config/mips/tm-mips.h: Include bfd.h before coff/sym.h.
Ian Lance Taylor [Wed, 4 Aug 1993 01:35:35 +0000 (01:35 +0000)]
* config/mips/tm-mips.h: Include bfd.h before coff/sym.h.

31 years ago * gdb.t09/Makefile.in (clean): Remove corefile.
Fred Fish [Wed, 4 Aug 1993 01:29:26 +0000 (01:29 +0000)]
* gdb.t09/Makefile.in (clean):  Remove corefile.

31 years ago * Makefile.in (ALLCONFIG): Add config/i386/i386nw.mt,
Fred Fish [Wed, 4 Aug 1993 01:17:30 +0000 (01:17 +0000)]
* Makefile.in (ALLCONFIG):  Add config/i386/i386nw.mt,
config/m68k/delta68.mh, config/m68k/delta68.mt,
config/m68k/dpx2.mh, config/m68k/dpx2.mt, config/mips/riscos.mh,
config/mips/news-mips.mh.
* Makefile.in (ALLPARAM):  Add config/i386/nm-symmetry.h,
config/i386/tm-i386nw.h, config/m68k/nm-delta68.h,
config/m68k/tm-delta68.h, config/m68k/xm-delta68.h,
config/m68k/nm-dpx2.h, config/m68k/tm-dpx2.h,
config/m68k/xm-dpx2.h, config/mips/xm-makeva.h.
* Makefile.in (ALLDEPFILES):  Add dpx2-nat.c.

31 years agofix doc bug
David MacKenzie [Wed, 4 Aug 1993 00:39:19 +0000 (00:39 +0000)]
fix doc bug

31 years agofix syntax error
David MacKenzie [Wed, 4 Aug 1993 00:28:19 +0000 (00:28 +0000)]
fix syntax error

31 years agomake a common extern
David MacKenzie [Tue, 3 Aug 1993 23:37:45 +0000 (23:37 +0000)]
make a common extern

31 years agoadd more info about -warn-common
David MacKenzie [Tue, 3 Aug 1993 23:09:03 +0000 (23:09 +0000)]
add more info about -warn-common

31 years agoadd -warn-common option
David MacKenzie [Tue, 3 Aug 1993 22:47:28 +0000 (22:47 +0000)]
add -warn-common option

31 years ago * nlm_slurp_symbol_table: Don't use '&' on arrays.
Fred Fish [Tue, 3 Aug 1993 22:22:13 +0000 (22:22 +0000)]
* nlm_slurp_symbol_table: Don't use '&' on arrays.

31 years ago * mipsread.c: Updated for BFD ECOFF changes. Now gets the
Ian Lance Taylor [Tue, 3 Aug 1993 20:27:06 +0000 (20:27 +0000)]
* mipsread.c: Updated for BFD ECOFF changes.  Now gets the
swapping routines and external structure sizes via the
ecoff_backend information.  No longer includes coff/mips.h.

31 years ago * config/obj-ecoff.c: Updated for BFD ECOFF changes. Now gets the
Ian Lance Taylor [Tue, 3 Aug 1993 20:25:58 +0000 (20:25 +0000)]
* config/obj-ecoff.c: Updated for BFD ECOFF changes.  Now gets the
swapping routines and external structure sizes via the
ecoff_backend information.  No longer includes coff/mips.h.

31 years ago * ecoff.h: New file.
Ian Lance Taylor [Tue, 3 Aug 1993 20:24:54 +0000 (20:24 +0000)]
* ecoff.h: New file.
* alpha.h, mips.h: Moved common information into ecoff.h.  Moved
external structure definitions in from ecoff-ext.h.
* ecoff-ext.h: Removed; information now in alpha.h and mips.h.

31 years ago * ecoff.c: New file for generic ECOFF functions.
Ian Lance Taylor [Tue, 3 Aug 1993 20:22:47 +0000 (20:22 +0000)]
* ecoff.c: New file for generic ECOFF functions.
* ecoffswap.h: New file for ECOFF swapping functions which differ
only slightly for different targets.
* libecoff.h: Added prototypes for ecoff.c functions.
(ecoff_backend_data): New structure.
(ecoff_tdata): Added backend_data field.  Changed external data
pointers to be PTR rather than to a particular struct.
(ecoff_symbol_struct): Moved in from coff-mips.c.
* coff-alpha.c, coff-mips.c: Moved common functions into ecoff.c.
Added ECOFF backend structures.  Include ecoffswap.h.
* coff-msym.c: Removed; superseded by ecoffswap.h.
* bfd.c: Include coff/internal.h.
* Makefile.in (BFD_LIBS): Removed coff-mips.o and coff-msym.o.
Added ecoff.o.
(BFD64_BACKENDS): Added coff-alpha.o.
(CFILES): Removed coff-msym.c.  Added ecoff.c.
(bfd.o): Added dependency on $(INCDIR)/coff/sym.h.
(coff-mips.o): Added dependency on ecoffswap.h and coff/ecoff.h.
(ecoff.o, coff-alpha.o): New targets.
(coff-msym.o): Removed target.

31 years ago * Makefile.in (SFILES): Add thread.c
Fred Fish [Tue, 3 Aug 1993 18:02:19 +0000 (18:02 +0000)]
* Makefile.in (SFILES): Add thread.c

31 years ago* remote-sp64sim.c (simif_create_inferior): Add FIXME regarding
David Edelsohn [Tue, 3 Aug 1993 17:25:23 +0000 (17:25 +0000)]
* remote-sp64sim.c (simif_create_inferior): Add FIXME regarding
sim_set_args return code.

31 years agoKeep server.h.
Stu Grossman [Tue, 3 Aug 1993 08:51:51 +0000 (08:51 +0000)]
Keep server.h.

31 years ago* elf32-hppa.h, hosts/*: Remove (one more time) all occurrances
John Gilmore [Tue, 3 Aug 1993 06:36:30 +0000 (06:36 +0000)]
* elf32-hppa.h, hosts/*:  Remove (one more time) all occurrances
of EXFUN in the BFD sources.  Heave ho!

31 years agoBumped version to 4.9.4.
K. Richard Pixley [Tue, 3 Aug 1993 00:59:45 +0000 (00:59 +0000)]
Bumped version to 4.9.4.

31 years agoAdded remote-bug.c.
K. Richard Pixley [Tue, 3 Aug 1993 00:55:55 +0000 (00:55 +0000)]
Added remote-bug.c.

31 years agodon't list objfiles... as an option
David MacKenzie [Tue, 3 Aug 1993 00:33:38 +0000 (00:33 +0000)]
don't list objfiles... as an option

31 years ago * remote-monitor.c: updated copyright.
K. Richard Pixley [Mon, 2 Aug 1993 23:54:27 +0000 (23:54 +0000)]
* remote-monitor.c: updated copyright.
  (bug_ops, monitor_desc): now static.
  (monitor_desc): in several places, check and/or set to NULL.

* remote-hms.c (hms_files_info): Add the appropriate items where
  missing in the printf call.

* remote-bug.c: new file for m88k bug support.

* config/m88k/m88k.mt (TDEPFILES): added remote-bug.o.

31 years agoRemove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly
Fred Fish [Mon, 2 Aug 1993 23:29:32 +0000 (23:29 +0000)]
Remove '.Sanitize' from explicit list of Things-to-lose.  It is now implicitly
added to the list by Sanitize, unless Sanitize knows it needs to keep it.

31 years ago * h8300-tdep.c: Use new variable h8300hmode.
Steve Chamberlain [Mon, 2 Aug 1993 22:54:01 +0000 (22:54 +0000)]
* h8300-tdep.c:  Use new variable h8300hmode.

31 years agoUse variable h8300hmode.
Steve Chamberlain [Mon, 2 Aug 1993 22:52:34 +0000 (22:52 +0000)]
Use variable h8300hmode.

31 years ago * valops.c (typecmp): If we are passing a non-reference to a function
Jim Kingdon [Mon, 2 Aug 1993 22:41:50 +0000 (22:41 +0000)]
* valops.c (typecmp): If we are passing a non-reference to a function
which takes a reference, pass the address.
(value_arg_coerce): Don't use COERCE_ENUM; we don't want to dereference
references here.

31 years ago * config/obj-ecoff.c (get_tag): Save tag name in permanent memory
Ian Lance Taylor [Mon, 2 Aug 1993 22:28:25 +0000 (22:28 +0000)]
* config/obj-ecoff.c (get_tag): Save tag name in permanent memory
and in hash_ptr->string.

31 years ago * thread.c (thread_switch): Define as static.
Jim Kingdon [Mon, 2 Aug 1993 22:13:32 +0000 (22:13 +0000)]
* thread.c (thread_switch): Define as static.
(add_thread): Cast return value from xmalloc.

31 years agoMove enum outside of struct defn to avoid warnings.
John Gilmore [Mon, 2 Aug 1993 21:46:23 +0000 (21:46 +0000)]
Move enum outside of struct defn to avoid warnings.

31 years ago * app.c (do_scrub_next_char): Reset state to 0 after .appline if
Ian Lance Taylor [Mon, 2 Aug 1993 21:39:05 +0000 (21:39 +0000)]
* app.c (do_scrub_next_char): Reset state to 0 after .appline if
file name is not seen.

31 years agoConfigure for h8300h too.
Steve Chamberlain [Mon, 2 Aug 1993 21:19:38 +0000 (21:19 +0000)]
Configure for h8300h too.

31 years ago * gdbtypes.c (fill_in_vptr_fieldno): Call check_stub_type.
Jim Kingdon [Mon, 2 Aug 1993 19:21:04 +0000 (19:21 +0000)]
* gdbtypes.c (fill_in_vptr_fieldno): Call check_stub_type.
* gdbtypes.{c,h}: Improve comments on vptr_fieldno.

31 years agoremove some conflicting decls
David D. Zuhn [Mon, 2 Aug 1993 19:18:38 +0000 (19:18 +0000)]
remove some conflicting decls

31 years ago(I could have sworn I checked this change in a couple days ago, but it
Fred Fish [Mon, 2 Aug 1993 19:03:15 +0000 (19:03 +0000)]
(I could have sworn I checked this change in a couple days ago, but it
 showed up in a cvs diff, so here it is again...)
* README:  Elaborate on gdb C++ support and cfront support.

31 years agoadd support for CONFIG_SHELL
David D. Zuhn [Mon, 2 Aug 1993 18:58:17 +0000 (18:58 +0000)]
add support for CONFIG_SHELL

31 years agoadd a trap to ensure tmp files are removed
David D. Zuhn [Mon, 2 Aug 1993 18:52:12 +0000 (18:52 +0000)]
add a trap to ensure tmp files are removed

31 years agoMon Aug 2 11:48:23 1993 Stu Grossman (grossman at cygnus.com)
Stu Grossman [Mon, 2 Aug 1993 18:50:02 +0000 (18:50 +0000)]
Mon Aug  2 11:48:23 1993  Stu Grossman  (grossman at cygnus.com)

* i386lynx.c:  Remove unnecessary def of N_HEADER_IN_TEXT,
redefine TEXT_START_ADDR to be 0.

31 years agoadd nm -B
David MacKenzie [Mon, 2 Aug 1993 18:41:14 +0000 (18:41 +0000)]
add nm -B

31 years agoMon Aug 2 11:30:57 1993 Stu Grossman (grossman at cygnus.com)
Stu Grossman [Mon, 2 Aug 1993 18:33:21 +0000 (18:33 +0000)]
Mon Aug  2 11:30:57 1993  Stu Grossman  (grossman at cygnus.com)

* i386lynx-nat.c, thread.c, thread.h:  Update copyrights.

31 years ago * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
Jim Kingdon [Mon, 2 Aug 1993 17:38:08 +0000 (17:38 +0000)]
* gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
NO_SINGLE_STEP machines.  Fix comment about its cause.  Uncomment
the `continue' test right after it (also xfailed if NO_SINGLE_STEP).

31 years ago* Makefile.in (ALLDEPFILES): Add i386lynx-nat.c.
Jim Kingdon [Mon, 2 Aug 1993 17:22:13 +0000 (17:22 +0000)]
* Makefile.in (ALLDEPFILES): Add i386lynx-nat.c.

31 years ago * scripttempl/elf.sc: Add hooks for .sdata, .sbss, and
Ken Raeburn [Mon, 2 Aug 1993 16:52:10 +0000 (16:52 +0000)]
* scripttempl/elf.sc: Add hooks for .sdata, .sbss, and
target-specific sections, and for changing data section vma.

31 years agoFix sanitization
Jim Kingdon [Mon, 2 Aug 1993 16:44:11 +0000 (16:44 +0000)]
Fix sanitization

31 years agoAdd i386lynx-nat.c.
Stu Grossman [Mon, 2 Aug 1993 16:21:30 +0000 (16:21 +0000)]
Add i386lynx-nat.c.

31 years agoAdd thread.c and thread.h.
Stu Grossman [Mon, 2 Aug 1993 15:58:36 +0000 (15:58 +0000)]
Add thread.c and thread.h.

31 years agoAdd i386lynx.h.
Stu Grossman [Mon, 2 Aug 1993 15:57:14 +0000 (15:57 +0000)]
Add i386lynx.h.

31 years agoMon Aug 2 08:49:30 1993 Stu Grossman (grossman at cygnus.com)
Stu Grossman [Mon, 2 Aug 1993 15:55:05 +0000 (15:55 +0000)]
Mon Aug  2 08:49:30 1993  Stu Grossman  (grossman at cygnus.com)

* wait.h (WEXITSTATUS, WSTOPSIG): Mask down to 8 bits.  This is
for systems that store stuff into the high 16 bits of a wait
status.

31 years agoMon Aug 2 08:42:50 1993 Stu Grossman (grossman at cygnus.com)
Stu Grossman [Mon, 2 Aug 1993 15:48:42 +0000 (15:48 +0000)]
Mon Aug  2 08:42:50 1993  Stu Grossman  (grossman at cygnus.com)

* gdbserver/remote-inflow.c (create_inferior):  Fix comments, and
error msg.  Setup seperate process group for child.
* (write_inferior_memory):  Sleep for 1 second and retry on ptrace
failure.

31 years agoSun Aug 1 22:58:18 1993 Stu Grossman (grossman at cygnus.com)
Stu Grossman [Mon, 2 Aug 1993 15:41:49 +0000 (15:41 +0000)]
Sun Aug  1 22:58:18 1993  Stu Grossman  (grossman at cygnus.com)

* config/i386/i386lynx.mh (NATDEPFILES):  Drop coredep (for now).
* config/i386/nm-i386bsd.h:  Protect from multiple inclusion.
* config/i386/nm-i386lynx.h:  Lotsa new host porting stuff.
* config/i386/tm-i386lynx.h:  Define SAVED_PC_AFTER_CALL and
target_pid_to_str.

31 years agoSun Aug 1 22:58:18 1993 Stu Grossman (grossman at cygnus.com)
Stu Grossman [Mon, 2 Aug 1993 06:25:36 +0000 (06:25 +0000)]
Sun Aug  1 22:58:18 1993  Stu Grossman  (grossman at cygnus.com)

* Makefile.in (CLIBS):  Reorder to make Lynx ld happy.
* (HFILES):  New file thread.h.
* (OBS):  New file thread.c.
* configure.in:  Host config for Lynx/386.
* fork-child.c (fork_inferior):  Call init_thread_list().
* infrun.c (resume):  Add pid to invocation of target_resume().
* (wait_for_inferior): Pay attention to pid from target_wait().
Multi-threading code now uses this to determine what to do.
* inftarg.c (child_wait):  Conditionalize based on CHILD_WAIT macro.
Use target_pid_to_str() macro throughout when printing pid.
* inferior.h (child_resume):  Add pid to prototype.
* hppab-nat.c hppah-nat.c infptrace.c (child_resume):  Pass in pid as
argument, instead of using inferior_pid.
* procfs.c (procfs_resume):  Pass in pid as argument.  Ignored for
now.  Use target_pid_to_str() macro throughout for printing process id.
* remote-adapt.c (adapt_resume):  Pass in pid as argument.
* remote-eb.c (eb_resume):  Pass in pid as argument.
* remote-es.c (es1800_resume):  Pass in pid as argument.
* remote-hms.c (hms_resume):  Pass in pid as argument.
* remote-mips.c (mips_resume):  Pass in pid as argument.
* remote-mm.c (mm_resume):  Pass in pid as argument.
* remote-monitor.c (monitor_resume):  Pass in pid as argument.
* remote-nindy.c (nindy_resume):  Pass in pid as argument.
* remote-sa.sparc.c (remote_resume):  Pass in pid as argument.
* remote-sim.c (rem_resume):  Pass in pid as argument.
* remote-sp64sim.c (simif_resume):  Pass in pid as argument.
* remote-st.c (st2000_resume):  Pass in pid as argument.
* remote-udi.c (udi_resume):  Pass in pid as argument.
* remote-vx.c (vx_resume):  Pass in pid as argument.
* remote-z8k.c (rem_resume):  Pass in pid as argument.
* remote.c (remote_resume):  Pass in pid as argument.
* solib.c (solid_create_inferior_hook):  Pass inferior_pid to
target_resume().
* target.c (normal_pid_to_str):  New routine to print out process
ID normally.
* target.h (struct target_ops):  Add pid to prototype at
to_resume().  (target_resume):  Add pid argument.
* (target_pid_to_str):  Default definition for normal type pids.
* thread.c, thread.c:  New modules for multi thread/process control.

31 years agoSun Aug 1 22:54:08 1993 Stu Grossman (grossman at cygnus.com)
Stu Grossman [Mon, 2 Aug 1993 05:57:29 +0000 (05:57 +0000)]
Sun Aug  1 22:54:08 1993  Stu Grossman  (grossman at cygnus.com)

* configure.host, configure.in, hosts/i386lynx.h:  Lynx/386
host and target info.

31 years ago * Makefile.in (make-gdb.tar.gz): Sed bug reporting address
Fred Fish [Mon, 2 Aug 1993 01:36:13 +0000 (01:36 +0000)]
* Makefile.in (make-gdb.tar.gz):  Sed bug reporting address
in configure script to bug-gdb@prep.ai.mit.edu when building
distribution archive.

31 years agoSay that bug-gdb is also the place to send requests for help with GDB.
John Gilmore [Sun, 1 Aug 1993 20:03:51 +0000 (20:03 +0000)]
Say that bug-gdb is also the place to send requests for help with GDB.

31 years ago * Makefile.in (make-proto-gdb-1): Use -f opt on rm of Makefile.
Fred Fish [Sun, 1 Aug 1993 19:31:56 +0000 (19:31 +0000)]
* Makefile.in (make-proto-gdb-1):  Use -f opt on rm of Makefile.

31 years ago * Makefile.in (COMPRESS): Remove def.
Fred Fish [Sun, 1 Aug 1993 18:39:32 +0000 (18:39 +0000)]
* Makefile.in (COMPRESS):  Remove def.
* Makefile.in (gdb.tar.gz, make-gdb.tar.gz):  Renamed from
gdb.tar.Z and make-gdb.tar.Z respectively.
* Makefile.in (make-gdb.tar.gz):  Now only build gzip'd archive.
* Makefile.in (make-gdb.tar.gz):  Minor changes to move closer
to convergence with 'taz' target in Makefile.in.

31 years ago * h8500-tdep.c: Add parens around a few macro args.
Fred Fish [Sun, 1 Aug 1993 16:43:32 +0000 (16:43 +0000)]
* h8500-tdep.c:  Add parens around a few macro args.

31 years ago * TODO: Remove items about unix-to-unix/rapp debugging (now we
Jim Kingdon [Sat, 31 Jul 1993 03:28:27 +0000 (03:28 +0000)]
* TODO: Remove items about unix-to-unix/rapp debugging (now we
have gdbserver), moving xm files to subdirectory, ptype yylval,
and file-local symbols.

31 years ago* dis-asm.h: Add new fields insn_info_valid, branch_delay_insns,
John Gilmore [Sat, 31 Jul 1993 01:40:26 +0000 (01:40 +0000)]
* dis-asm.h:  Add new fields insn_info_valid, branch_delay_insns,
data_size, insn_type, target, target2.  These are used to return
information from the instruction decoders back to the calling
program.  Add comments, make more readable.

31 years ago* gdb.t17/interrupt.exp: Add xfail for hppa.
Jim Kingdon [Sat, 31 Jul 1993 00:56:26 +0000 (00:56 +0000)]
* gdb.t17/interrupt.exp: Add xfail for hppa.

31 years ago* stabs.texinfo (Procedures): Improve stuff on nested functions.
Jim Kingdon [Fri, 30 Jul 1993 23:31:14 +0000 (23:31 +0000)]
* stabs.texinfo (Procedures): Improve stuff on nested functions.

31 years ago* gdbtypes.h: Improve comments about C++ methods.
Jim Kingdon [Fri, 30 Jul 1993 23:06:37 +0000 (23:06 +0000)]
* gdbtypes.h: Improve comments about C++ methods.

31 years agocommon section fix
David MacKenzie [Fri, 30 Jul 1993 22:45:04 +0000 (22:45 +0000)]
common section fix