binutils-gdb.git
30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

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

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

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

30 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

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

30 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.

30 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.

30 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.

30 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.

30 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.

30 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

30 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.

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

30 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!

30 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.

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

30 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

30 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.

30 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.

30 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.

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

30 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.

30 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.

30 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.

30 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.

30 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.

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

30 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.

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

30 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.

30 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

30 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

30 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.

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

30 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.

30 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).

30 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.

30 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.

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

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

30 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.

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

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

30 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.

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

30 years agokeep ho-hppaosf.h; m88k.patches is gone
Ken Raeburn [Fri, 30 Jul 1993 22:38:38 +0000 (22:38 +0000)]
keep ho-hppaosf.h; m88k.patches is gone

30 years agoFirst cut at i386 specific NLM backend.
Ian Lance Taylor [Fri, 30 Jul 1993 22:32:45 +0000 (22:32 +0000)]
First cut at i386 specific NLM backend.

30 years ago * nlm32-i386.c: New file. First cut at i386 NLM code.
Ian Lance Taylor [Fri, 30 Jul 1993 22:32:09 +0000 (22:32 +0000)]
* nlm32-i386.c: New file.  First cut at i386 NLM code.
* libnlm.h: Added some more prototypes.
(struct nlm_relent): New structure.
(nlmNAME(symbol_type)): Added rcnt and relocs fields.
(struct nlm_obj_tdata): Added new fields: nlm_symbols,
nlm_text_low, nlm_data_low, nlm_reloc_fixups,
nlm_reloc_fixup_secs.
(struct nlm_backend_data): New structure, with accessor macros.
* nlmcode.h: Use NLM_HIBIT rather than MSB.
(nlm_object_p): Set SEC_RELOC for .text and .data.  Don't set
SEC_DATA for .bss.  Set HAS_RELOC and HAS_SYMS for abfd.  Set the
architecture.
(nlm_swap_fixed_header_out, nlm_swap_variable_header_out,
find_nonzero, nlm_swap_auxiliary_headers_out): New outbound
swapping functions.
(nlm_get_symtab_upper_bound, nlm_slurp_symbol_table): Include
external references in symbol table as undefined symbols.
(nlm_get_symtab, nlm_slurp_symbol_table): Fill in alocation
argument in get_symtab rather than in slurp_symbol_table.
(nlm_slurp_symbol_table): Save symbol information in tdata.
(nlm_print_symbol): New function.
(nlm_slurp_reloc_fixups, nlm_get_reloc_upper_bound,
nlm_canonicalize_reloc): New functions to read relocs.
(nlm_compute_section_file_positions, nlm_set_section_contents,
nlm_external_reloc_compare, nlm_write_object_contents): New
functions to create NLM files.
* nlm-target.h: Define all the nlm functions here either as
default values or in terms of nlmNAME.  Use JUMP_TABLE(nlm).  Set
the backend_data field to TARGET_BACKEND_DATA.
* nlm32-gen.c, nlm64-gen.c: Don't define function macros here;
they are now in nlm-target.h.
(TARGET_BACKEND_DATA): Define as NULL.
* nlm.c (nlm_mkobject): Do allocate the tdata field.
(nlm_set_arch_mach): New function.
* targets.c: Added nlm32_i386_vec.
* Makefile.in (BFD32_BACKENDS): Added nlm32-i386.o.
(CFILES): Added nlm32-i386.c.
(nlm32-gen.o, nlm64-gen.o): Depend on nlm-target.h.
(nlm32-i386.o): New target.

30 years agoelf files changed names; keep i386linux.sh
Ken Raeburn [Fri, 30 Jul 1993 22:30:29 +0000 (22:30 +0000)]
elf files changed names; keep i386linux.sh

30 years ago * c-exp.y: Add missing 5th arg for one call to lookup_symbol, cast
Fred Fish [Fri, 30 Jul 1993 21:20:56 +0000 (21:20 +0000)]
* c-exp.y:  Add missing 5th arg for one call to lookup_symbol, cast
NULL in all other calls to correct pointer types.

30 years ago From Jeffrey Law:
Jim Kingdon [Fri, 30 Jul 1993 20:49:52 +0000 (20:49 +0000)]
From Jeffrey Law:
* tm-hppa.h (TARGET_WRITE_PC): Define.
* hppa-tdep.c (hppa_fix_call_dummy): If in a syscall,
then return the address of the dummy itself rather than
the address of $$dyncall.
(target_write_pc): New function to store a new PC.

30 years agoFix typo in previous ChangeLog entry.
Peter Schauer [Fri, 30 Jul 1993 20:12:28 +0000 (20:12 +0000)]
Fix typo in previous ChangeLog entry.

30 years ago * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
Peter Schauer [Fri, 30 Jul 1993 20:04:34 +0000 (20:04 +0000)]
* gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
gdb.t09/corefile.exp:  Cleanup xfails for fixed mips bugs.
* gdb.t13/bitfields.exp, gdbme.c:  Examine a variable in the inferior
to determine signed-ness of bitfields and use the result to setup
the xfail.
* gdb.t13/gdbme.c:  Add comment to the two indirect call0a lines.
* gdb.t13/funcargs.exp:  Use it to step until the second indirect call
line is reached if necessary.

30 years ago * breakpoint.c (breakpoint_re_set_one): Always reparse breakpoint
Peter Schauer [Fri, 30 Jul 1993 20:02:45 +0000 (20:02 +0000)]
* breakpoint.c (breakpoint_re_set_one):  Always reparse breakpoint
conditions, they might contain symbol table references.
* mipsread.c (parse_symbol):  Handle opaque struct definitions and
type naming for stTypedef symbols.

30 years ago* c-exp.y (yylex): Detect C++ nested types.
Jim Kingdon [Fri, 30 Jul 1993 19:50:29 +0000 (19:50 +0000)]
* c-exp.y (yylex): Detect C++ nested types.

30 years ago* sp64-tdep.c (sparc64_frame_chain, sparc64_frame_saved_pc): Deleted.
David Edelsohn [Fri, 30 Jul 1993 19:12:33 +0000 (19:12 +0000)]
* sp64-tdep.c (sparc64_frame_chain, sparc64_frame_saved_pc): Deleted.
(dump_ccreg, sparc_print_register_hook): New fns.
* remote-sim.h: New file.
* remote-sp64sim.h (sim_*): External fns.  (simif_*): Internal fns.

* config/sparc/sp64.mt: New file.
* config/sparc/tm-sp64.h (FRAME_CHAIN, FRAME_SAVED_PC): Deleted.
(PRINT_REGISTER_HOOK): Call new fn sparc_print_register_hook.

30 years agoremote-sim.h: New file.
David Edelsohn [Fri, 30 Jul 1993 18:57:41 +0000 (18:57 +0000)]
remote-sim.h: New file.
remote-sp64sim.h (sim_*): External fns.  (simif_*): Internal fns.
sp64-tdep.c (sparc64_frame_chain, sparc64_frame_saved_pc): Deleted.
(dump_ccreg, sparc_print_register_hook): New fns.

30 years agoNew file remote-sim.h.
David Edelsohn [Fri, 30 Jul 1993 18:50:42 +0000 (18:50 +0000)]
New file remote-sim.h.

30 years agosp64.mt: New file.
David Edelsohn [Fri, 30 Jul 1993 18:40:05 +0000 (18:40 +0000)]
sp64.mt: New file.
tm-sp64.h (FRAME_CHAIN, FRAME_SAVED_PC): Deleted.
(PRINT_REGISTER_HOOK): Call new fn sparc_print_register_hook.

30 years agod
Steve Chamberlain [Fri, 30 Jul 1993 18:17:38 +0000 (18:17 +0000)]
d

Make sure ansidecl.h is included where needed.

30 years agoDeleted.
Steve Chamberlain [Fri, 30 Jul 1993 17:46:09 +0000 (17:46 +0000)]
Deleted.

30 years agoAdd ptx.mh to Things-to-keep list.
Fred Fish [Fri, 30 Jul 1993 17:18:23 +0000 (17:18 +0000)]
Add ptx.mh to Things-to-keep list.

30 years ago * Makefile.in (ALLCONFIG): Add config/i386/ptx.mh
Fred Fish [Fri, 30 Jul 1993 17:16:48 +0000 (17:16 +0000)]
* Makefile.in (ALLCONFIG):  Add config/i386/ptx.mh

30 years agoAdd dfe and include to Things-to-lose list.
Fred Fish [Fri, 30 Jul 1993 17:11:51 +0000 (17:11 +0000)]
Add dfe and include to Things-to-lose list.

30 years ago From J. Law:
Jim Kingdon [Fri, 30 Jul 1993 17:01:26 +0000 (17:01 +0000)]
From J. Law:
* infcmd.c (read_pc): Remove PA specific code.
* tm-hppa.h (TARGET_READ_PC): Define.
* hppa-tdep.c (target_read_pc): New function.

30 years agoAdd .Sanitize to Things-to-lose list.
Fred Fish [Fri, 30 Jul 1993 16:46:19 +0000 (16:46 +0000)]
Add .Sanitize to Things-to-lose list.

30 years ago * paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.
Jim Kingdon [Fri, 30 Jul 1993 15:52:26 +0000 (15:52 +0000)]
* paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.
* hppa-tdep.c (frame_chain_valid): Check that our function has the
same address as _start, not that it must be the same symbol.

30 years ago* symtab.c (gdb_mangle_name): Deal with it if type lacks a name.
Jim Kingdon [Fri, 30 Jul 1993 15:31:26 +0000 (15:31 +0000)]
* symtab.c (gdb_mangle_name): Deal with it if type lacks a name.

30 years ago * NEWS: Add note that DEC alpha support is host only, not native.
Fred Fish [Fri, 30 Jul 1993 14:51:17 +0000 (14:51 +0000)]
* NEWS:  Add note that DEC alpha support is host only, not native.

30 years ago * README: Emphasize that C++ support works best with GNU C++ and
Fred Fish [Fri, 30 Jul 1993 14:42:31 +0000 (14:42 +0000)]
* README:  Emphasize that C++ support works best with GNU C++ and
stabs debugging format.
* delta68-nat.c:  Add missing FSF copyright.

30 years ago* paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.
Jim Kingdon [Fri, 30 Jul 1993 14:17:41 +0000 (14:17 +0000)]
* paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.

30 years ago* paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.
Jim Kingdon [Fri, 30 Jul 1993 14:14:02 +0000 (14:14 +0000)]
* paread.c (pa_symtab_read): Put file-local symbols in minimal symbols.

30 years agoAdd test1.c to Things-to-lose list.
Fred Fish [Fri, 30 Jul 1993 07:41:20 +0000 (07:41 +0000)]
Add test1.c to Things-to-lose list.

30 years agoAdd remote-inflow-sparc.c and server.h to Things-to-lose list.
Fred Fish [Fri, 30 Jul 1993 07:39:05 +0000 (07:39 +0000)]
Add remote-inflow-sparc.c and server.h to Things-to-lose list.

30 years agoAdd a4rc.sed, config, cyglogo.eps, and cygref.tex to Things-to-lose list.
Fred Fish [Fri, 30 Jul 1993 07:36:56 +0000 (07:36 +0000)]
Add a4rc.sed, config, cyglogo.eps, and cygref.tex to Things-to-lose list.

30 years agoAdd monitor.mt and tm-monitor.h to Things-to-keep list.
Fred Fish [Fri, 30 Jul 1993 07:34:12 +0000 (07:34 +0000)]
Add monitor.mt and tm-monitor.h to Things-to-keep list.

30 years agoAdd delta68.mh, delta68.mt, nm-delta68.h, tm-delta68.h, xm-delta68.h to
Fred Fish [Fri, 30 Jul 1993 07:25:31 +0000 (07:25 +0000)]
Add delta68.mh, delta68.mt, nm-delta68.h, tm-delta68.h, xm-delta68.h to
Things-to-keep list.

30 years ago * Makefile.in (ALLDEPFILES): Add delta68-nat.c
Fred Fish [Fri, 30 Jul 1993 07:23:29 +0000 (07:23 +0000)]
* Makefile.in (ALLDEPFILES):  Add delta68-nat.c
* Makefile.in (delta68-nat.o):  Add dependency.

30 years agoAdd delta68-nat.c to Things-to-keep list.
Fred Fish [Fri, 30 Jul 1993 07:20:31 +0000 (07:20 +0000)]
Add delta68-nat.c to Things-to-keep list.

30 years agoAdd esix.h to Things-to-lose list.
Fred Fish [Fri, 30 Jul 1993 07:10:33 +0000 (07:10 +0000)]
Add esix.h to Things-to-lose list.

30 years ago * value.h (COERCE_ENUM): Use COERCE_REF to coerce refs; value_ind
Jim Kingdon [Fri, 30 Jul 1993 05:34:24 +0000 (05:34 +0000)]
* value.h (COERCE_ENUM): Use COERCE_REF to coerce refs; value_ind
was adequate in gdb 3.5 but not now.

* valops.c (typecmp): An array in t2 matches a pointer in t1.

* valops.c (typecmp): When comparing type1& to type2, compare
type1 and type2 as leniently as if we were comparing type1 to
type2.