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

31 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

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

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

31 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

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

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

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

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

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

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

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

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

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

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

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

Make sure ansidecl.h is included where needed.

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

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

31 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

31 years ago * write.c: Don't use short int in a prototype.
Ian Lance Taylor [Fri, 30 Jul 1993 05:22:12 +0000 (05:22 +0000)]
* write.c: Don't use short int in a prototype.

31 years ago * expr.c (operand): Make return value simply depend on contents of
Ian Lance Taylor [Fri, 30 Jul 1993 05:06:58 +0000 (05:06 +0000)]
* expr.c (operand): Make return value simply depend on contents of
returned expression.

31 years agoremove some sun3 function decls
David D. Zuhn [Fri, 30 Jul 1993 03:22:30 +0000 (03:22 +0000)]
remove some sun3 function decls

31 years ago * cp-valprint.c (cplus_print_value): Don't dump core if the
Jim Kingdon [Fri, 30 Jul 1993 01:42:09 +0000 (01:42 +0000)]
* cp-valprint.c (cplus_print_value): Don't dump core if the
baseclass doesn't have a name.
* values.c (vb_match): New function, which finds the virtual
base class pointer even if the types are nameless.
(baseclass_{addr,offset}): Use it.

31 years agofix ANSI decl conflicts
David D. Zuhn [Fri, 30 Jul 1993 01:40:25 +0000 (01:40 +0000)]
fix ANSI decl conflicts

31 years ago* gdb.stabs/wierd.exp: New test, for nameless baseclasses.
Jim Kingdon [Fri, 30 Jul 1993 01:37:49 +0000 (01:37 +0000)]
* gdb.stabs/wierd.exp: New test, for nameless baseclasses.

31 years ago* remote.texi: (MIPS Remote) make docn for set/show timeout,
Roland Pesch [Thu, 29 Jul 1993 22:11:55 +0000 (22:11 +0000)]
* remote.texi: (MIPS Remote) make docn for set/show timeout,
retransmit-timeout follow same conventions as for other set/show params

31 years agoAdd alpha directory.
Fred Fish [Thu, 29 Jul 1993 21:53:15 +0000 (21:53 +0000)]
Add alpha directory.

31 years agoFix alpha-osf.mh -> alpha-osf1.mh
Fred Fish [Thu, 29 Jul 1993 21:52:51 +0000 (21:52 +0000)]
Fix alpha-osf.mh -> alpha-osf1.mh

31 years ago * hppa-tdep.c: Make "maintenance print unwind" command from old
Jim Kingdon [Thu, 29 Jul 1993 21:42:31 +0000 (21:42 +0000)]
* hppa-tdep.c: Make "maintenance print unwind" command from old
"unwind" command.

31 years ago * remote-udi.c: Remove udi_timer, call to siginterrupt, and associated
Jim Kingdon [Thu, 29 Jul 1993 20:23:09 +0000 (20:23 +0000)]
* remote-udi.c: Remove udi_timer, call to siginterrupt, and associated
obsolete junk which apparently had been copied from the
pre-serial.h remote.c, but which is no longer used.

31 years ago * Makefile.in (NONSRC): Need 29k-share/README, not
Fred Fish [Thu, 29 Jul 1993 20:02:21 +0000 (20:02 +0000)]
* Makefile.in (NONSRC):  Need 29k-share/README, not
29k-share/udi/README.

31 years ago * paread.c (pa_symfile_init): If error reading string table, don't
Jim Kingdon [Thu, 29 Jul 1993 19:19:30 +0000 (19:19 +0000)]
* paread.c (pa_symfile_init): If error reading string table, don't
use errno in cases where it hasn't been set.

31 years ago* ser-unix.c (gdb_setpgid): Pass our pid, not 0, to setpgid.
Jim Kingdon [Thu, 29 Jul 1993 19:02:08 +0000 (19:02 +0000)]
* ser-unix.c (gdb_setpgid): Pass our pid, not 0, to setpgid.

31 years ago * hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
Jim Kingdon [Thu, 29 Jul 1993 18:41:26 +0000 (18:41 +0000)]
* hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
command.  Now we use unwind info by default if we can find it.

31 years agoAdd remote.texi, remove gdbinv-s.texi.
Fred Fish [Thu, 29 Jul 1993 18:30:06 +0000 (18:30 +0000)]
Add remote.texi, remove gdbinv-s.texi.

31 years ago * gdbint.texinfo: Update statement about `some ancient Unix
Jim Kingdon [Thu, 29 Jul 1993 18:21:10 +0000 (18:21 +0000)]
* gdbint.texinfo: Update statement about `some ancient Unix
systems, like Ultrix 4.0' to Ultrix 4.2.

31 years ago * remote-monitor.c (_initialize_monitor): Comment out use of
Jim Kingdon [Thu, 29 Jul 1993 18:11:33 +0000 (18:11 +0000)]
* remote-monitor.c (_initialize_monitor): Comment out use of
connect_command, since connect_command itself is commented out.

* remote-monitor.c (generic_open): Parse arguments the same way
as remote.c.

31 years ago* hppa-tdep.c (pc_in_linker_stub): Fix unclosed comments.
Jim Kingdon [Thu, 29 Jul 1993 17:14:38 +0000 (17:14 +0000)]
* hppa-tdep.c (pc_in_linker_stub): Fix unclosed comments.

31 years ago* h8-cfg.texi, all-cfg.texi: new flag GDBSERVER
Roland Pesch [Thu, 29 Jul 1993 00:53:58 +0000 (00:53 +0000)]
* h8-cfg.texi, all-cfg.texi: new flag GDBSERVER
* Makefile.in: depend on remote.texi rather than gdbinv-s.texi
* remote.texi: (Server) New node on gdbserver.  (Remote Serial,
ST2000 Remote, MIPS Remote): mention `host:port' syntax for TCP.
* remote.texi: new name for former gdbinv-s.texi
* gdb.texinfo: use remote.texi rather than gdbinv-s.texi

31 years ago* config/mips/xm-mips.h: Define HAVE_TERMIOS.
Jim Kingdon [Wed, 28 Jul 1993 23:33:57 +0000 (23:33 +0000)]
* config/mips/xm-mips.h: Define HAVE_TERMIOS.

31 years ago * dbxread.c (record_minimal_symbol): Don't put gcc_compiled or
Jim Kingdon [Wed, 28 Jul 1993 18:50:11 +0000 (18:50 +0000)]
* dbxread.c (record_minimal_symbol): Don't put gcc_compiled or
__gnu_compiled* symbols into the minimal symbols.

31 years agoanother small sco tweak
David D. Zuhn [Wed, 28 Jul 1993 17:59:45 +0000 (17:59 +0000)]
another small sco tweak

31 years ago * config/tc-m68k.c (m68k_ip): If we have a normal constant when we
Ian Lance Taylor [Wed, 28 Jul 1993 15:36:45 +0000 (15:36 +0000)]
* config/tc-m68k.c (m68k_ip): If we have a normal constant when we
expect a bignum, turn it into a bignum.  Output extra zeroes
before a short bignum, rather than after.

31 years ago * gdbinv-s.texi: Documented timeout and retransmit-timeout
Ian Lance Taylor [Wed, 28 Jul 1993 15:29:26 +0000 (15:29 +0000)]
* gdbinv-s.texi: Documented timeout and retransmit-timeout
variables for MIPS remote debugging protocol.

31 years ago * remote-mips.c (_initialize_remote_mips): Added "timeout" and
Ian Lance Taylor [Wed, 28 Jul 1993 15:28:53 +0000 (15:28 +0000)]
* remote-mips.c (_initialize_remote_mips): Added "timeout" and
"retransmit-timeout" variables to set mips_receive_wait and
mips_retransmit_wait, respectively.

31 years ago * symmisc.c (dump_msymbols): Handle new mst_file_* types.
Peter Schauer [Wed, 28 Jul 1993 11:00:53 +0000 (11:00 +0000)]
* symmisc.c (dump_msymbols):  Handle new mst_file_* types.

31 years ago * serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
Jim Kingdon [Wed, 28 Jul 1993 07:51:01 +0000 (07:51 +0000)]
* serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
* nindy-share/*, remote-nindy.c: Extensive hacking to make it
conform to GDB conventions like using memcpy not bcopy, serial.h,
etc.  This is to make it host on Solaris, AIX, etc.
* Makefile.in: Reflect removed nindy-share files.
* config/i960/nindy960.mt (TDEPFILES): Remove ttybreak.o.

31 years ago * serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
Jim Kingdon [Wed, 28 Jul 1993 06:45:35 +0000 (06:45 +0000)]
* serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
* nindy-share/*, remote-nindy.c: Extensive hacking to make it
conform to GDB conventions like using memcpy not bcopy, serial.h,
etc.  This is to make it host on Solaris, AIX, etc.
* Makefile.in: Reflect removed nindy-share files.

31 years ago* remote-udi.c: Remove old comment about download not implemented.
Jim Kingdon [Wed, 28 Jul 1993 02:43:27 +0000 (02:43 +0000)]
* remote-udi.c: Remove old comment about download not implemented.

31 years ago * stack.c (print_frame_info): Revise comment about `pathological'
Jim Kingdon [Wed, 28 Jul 1993 01:11:32 +0000 (01:11 +0000)]
* stack.c (print_frame_info): Revise comment about `pathological'
case (there was a wrong FIXME about text labels; also asm() can
trigger this as well as versions of ar which truncate .o names).

31 years ago * buildsym.c (start_subfile): If a .c file includes a .C file, set
Jim Kingdon [Wed, 28 Jul 1993 00:22:08 +0000 (00:22 +0000)]
* buildsym.c (start_subfile): If a .c file includes a .C file, set
the language of both of them to C++.

31 years ago * config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and include
Jim Kingdon [Tue, 27 Jul 1993 22:37:51 +0000 (22:37 +0000)]
* config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and include
<memory.h>.
Include <malloc.h> rather than declaring malloc functions ourself.

* ser-unix.c (set_tty_state): Don't ignore errors setting process
group.
* inflow.c (terminal_inferior): If attach_flag set, ignore errors
from set_tty_state.

31 years agosymbols.c: Use DEBUG_SYMS instead of DEBUG.
Ken Raeburn [Tue, 27 Jul 1993 19:58:39 +0000 (19:58 +0000)]
symbols.c: Use DEBUG_SYMS instead of DEBUG.

31 years ago * nlm{32,64}-gen.c (JUMP_TABLE_PREFIX): Delete.
Fred Fish [Tue, 27 Jul 1993 19:56:00 +0000 (19:56 +0000)]
* nlm{32,64}-gen.c (JUMP_TABLE_PREFIX):  Delete.
* nlm{32,64}-gen.c (JUMP_TABLE_INIT):  New macro that works with
older cpp's, that don't do additional replacement on the JUMP_TABLE
macro's argument.
* nlm-target.h (JUMP_TABLE_INIT):  Use new macro in place of
JUMP_TABLE macro.

31 years ago * breakpoint.c (breakpoint_1): Walk the breakpoint chain to decide if
Peter Schauer [Tue, 27 Jul 1993 19:40:57 +0000 (19:40 +0000)]
* breakpoint.c (breakpoint_1):  Walk the breakpoint chain to decide if
we have breakpoints or watchpoints as we might have to ignore internal
breakpoints.

Fix gdb core dumps after `file newfile' commands.
* symtab.h, symfile.c (clear_symtab_users):  New routine which
unconditionally clears symtab users. clear_symtab_users_once
commented out as it was a noop anyway.
* objfiles.c (free_objfile):  Don't call clear_symtab_users_once.
* objfiles.c (free_all_objfiles), symfile.c (new_symfile_objfile),
xcoffexec.c (exec_close):  Call clear_symtab_users if necessary.
* symfile.c (syms_from_objfile):  Install cleanups for errors during
symbol reading.
* coffread.c, dbxread.c, mipsread.c, xcoffread.c (*_symfile_read):
Lint cleanup code, call do_cleanups explicitly.
* symfile.c (symbol_file_add):  Call new_symfile_objfile and
reinit_frame_cache _after_ the new symbols are read in.

31 years agoAdded a $ to Jim's mod
Jason Merrill [Tue, 27 Jul 1993 19:40:12 +0000 (19:40 +0000)]
Added a $ to Jim's mod

31 years ago * dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
Jim Kingdon [Tue, 27 Jul 1993 19:01:11 +0000 (19:01 +0000)]
* dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
N_GSYM functions.

31 years agomips_optimize is also affected by -g.
Ian Lance Taylor [Tue, 27 Jul 1993 18:36:19 +0000 (18:36 +0000)]
mips_optimize is also affected by -g.

31 years ago * Makefile.in (install-dirs): Deal with a prefix like /gnu;
Jim Kingdon [Tue, 27 Jul 1993 18:06:23 +0000 (18:06 +0000)]
* Makefile.in (install-dirs): Deal with a prefix like /gnu;
its parent is '/' not ''.

31 years ago* Makefile.in (DEVO_SUPPORT): Add comments about ChangeLog.
Jim Kingdon [Tue, 27 Jul 1993 17:49:52 +0000 (17:49 +0000)]
* Makefile.in (DEVO_SUPPORT): Add comments about ChangeLog.

31 years ago * fork-child.c (fork_inferior): Only quote exec file if needed.
Jim Kingdon [Tue, 27 Jul 1993 17:43:09 +0000 (17:43 +0000)]
* fork-child.c (fork_inferior): Only quote exec file if needed.

* mipsread.c (parse_symbol): Remove 21 Jul 93 change with
stTypedef inside an stBlock.

31 years ago * config/tc-mips.c (mips_optimize): New static variable.
Ian Lance Taylor [Tue, 27 Jul 1993 15:55:35 +0000 (15:55 +0000)]
* config/tc-mips.c (mips_optimize): New static variable.
(append_insn): If ! mips_optimize, don't swap branches.
(md_parse_option): If -Ox, set mips_optimize accordingly.

31 years ago * config/tc-mips.c (mips_optimize): New static variable.
Ian Lance Taylor [Tue, 27 Jul 1993 15:47:11 +0000 (15:47 +0000)]
* config/tc-mips.c (mips_optimize): New static variable.
(append_insn): If ! mips_optimize, don't swap branches.
(md_parse_option): If -Ox, set mips_optimize accordingly.

31 years ago * mipsread.c (parse_type): Do not set tag name for compiler
Peter Schauer [Tue, 27 Jul 1993 08:59:44 +0000 (08:59 +0000)]
* mipsread.c (parse_type):  Do not set tag name for compiler
generated fake tag names.

31 years ago * Makefile.in (clean): if testsuite does not exist, then skip it.
K. Richard Pixley [Tue, 27 Jul 1993 01:05:23 +0000 (01:05 +0000)]
* Makefile.in (clean): if testsuite does not exist, then skip it.

31 years agoadd exec.o to m88k TDEPFILES.
K. Richard Pixley [Tue, 27 Jul 1993 00:36:08 +0000 (00:36 +0000)]
add exec.o to m88k TDEPFILES.

31 years ago Yet another trad-core variant:
Jim Kingdon [Mon, 26 Jul 1993 22:53:02 +0000 (22:53 +0000)]
Yet another trad-core variant:
* config/esix.mh, hosts/esix.h: New files.
* configure.hosts: Use them.

31 years agonew for esix
Jim Kingdon [Mon, 26 Jul 1993 22:46:42 +0000 (22:46 +0000)]
new for esix

31 years ago * hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
Jim Kingdon [Mon, 26 Jul 1993 22:16:09 +0000 (22:16 +0000)]
* hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
command.  Now we use unwind info by default if we can find it.

* config/sparc: Move VARIABLES_INSIDE_BLOCK and SUN_FIXED_LBRAC_BUG
to tm-sparc.h so they are shared between Solaris and SunOS4.
* dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
N_GSYM functions.

31 years ago * config/pa/tm-hppa.h (REGISTER_NAMES): Use "fr" rather than "fp"
Jim Kingdon [Mon, 26 Jul 1993 20:41:50 +0000 (20:41 +0000)]
* config/pa/tm-hppa.h (REGISTER_NAMES): Use "fr" rather than "fp"
for floating point registers.