Commit Graph

2868 Commits

Author SHA1 Message Date
Ian Lance Taylor
e906e7fa5f * 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.
1993-08-03 20:27:06 +00:00
Fred Fish
511e0322b9 * Makefile.in (SFILES): Add thread.c 1993-08-03 18:02:19 +00:00
David Edelsohn
6eb0b28399 * remote-sp64sim.c (simif_create_inferior): Add FIXME regarding
sim_set_args return code.
1993-08-03 17:25:23 +00:00
Stu Grossman
b367204f7f Keep server.h. 1993-08-03 08:51:51 +00:00
K. Richard Pixley
90fcdfbfcf Bumped version to 4.9.4. 1993-08-03 00:59:45 +00:00
K. Richard Pixley
203a8d5488 Added remote-bug.c. 1993-08-03 00:55:55 +00:00
K. Richard Pixley
5905161c08 * 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.
1993-08-02 23:54:27 +00:00
Fred Fish
b5ed6e32c2 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.
1993-08-02 23:29:32 +00:00
Steve Chamberlain
a305925112 * h8300-tdep.c: Use new variable h8300hmode. 1993-08-02 22:54:01 +00:00
Steve Chamberlain
969699760a Use variable h8300hmode. 1993-08-02 22:52:34 +00:00
Jim Kingdon
802d630846 * 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.
1993-08-02 22:41:50 +00:00
Jim Kingdon
3082244d35 * thread.c (thread_switch): Define as static.
(add_thread): Cast return value from xmalloc.
1993-08-02 22:13:32 +00:00
Jim Kingdon
ac88287fa2 * gdbtypes.c (fill_in_vptr_fieldno): Call check_stub_type.
* gdbtypes.{c,h}: Improve comments on vptr_fieldno.
1993-08-02 19:21:04 +00:00
Fred Fish
c178776de4 (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.
1993-08-02 19:03:15 +00:00
Stu Grossman
da0baf42e1 Mon Aug 2 11:30:57 1993 Stu Grossman (grossman at cygnus.com)
* i386lynx-nat.c, thread.c, thread.h:  Update copyrights.
1993-08-02 18:33:21 +00:00
Jim Kingdon
a92499baaf * 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).
1993-08-02 17:38:08 +00:00
Jim Kingdon
afa2499d88 * Makefile.in (ALLDEPFILES): Add i386lynx-nat.c. 1993-08-02 17:22:13 +00:00
Jim Kingdon
38867a454f Fix sanitization 1993-08-02 16:44:11 +00:00
Stu Grossman
0bea8fb147 Add i386lynx-nat.c. 1993-08-02 16:21:30 +00:00
Stu Grossman
6a21c756fa Add thread.c and thread.h. 1993-08-02 15:58:36 +00:00
Stu Grossman
db691e4b55 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.
1993-08-02 15:48:42 +00:00
Stu Grossman
884914bf03 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.
1993-08-02 15:41:49 +00:00
Stu Grossman
25286543da 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.
1993-08-02 06:25:36 +00:00
John Gilmore
804d23f31d Say that bug-gdb is also the place to send requests for help with GDB. 1993-08-01 20:03:51 +00:00
Fred Fish
84b5df3255 * Makefile.in (make-proto-gdb-1): Use -f opt on rm of Makefile. 1993-08-01 19:31:56 +00:00
Fred Fish
d144532707 * h8500-tdep.c: Add parens around a few macro args. 1993-08-01 16:43:32 +00:00
Jim Kingdon
77eb2e8f11 * TODO: Remove items about unix-to-unix/rapp debugging (now we
have gdbserver), moving xm files to subdirectory, ptype yylval,
	and file-local symbols.
1993-07-31 03:28:27 +00:00
Jim Kingdon
c4978d689e * gdb.t17/interrupt.exp: Add xfail for hppa. 1993-07-31 00:56:26 +00:00
Jim Kingdon
6ea34847c6 * stabs.texinfo (Procedures): Improve stuff on nested functions. 1993-07-30 23:31:14 +00:00
Jim Kingdon
eec03ebb50 * gdbtypes.h: Improve comments about C++ methods. 1993-07-30 23:06:37 +00:00
Fred Fish
bcca9a08dc * c-exp.y: Add missing 5th arg for one call to lookup_symbol, cast
NULL in all other calls to correct pointer types.
1993-07-30 21:20:56 +00:00
Jim Kingdon
6cfec92912 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.
1993-07-30 20:49:52 +00:00
Peter Schauer
a4fbb03e2d Fix typo in previous ChangeLog entry. 1993-07-30 20:12:28 +00:00
Peter Schauer
69aa789bb2 * 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.
1993-07-30 20:04:34 +00:00
Peter Schauer
f5a197a256 * 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.
1993-07-30 20:02:45 +00:00
Jim Kingdon
96c68efaf7 * c-exp.y (yylex): Detect C++ nested types. 1993-07-30 19:50:29 +00:00
David Edelsohn
38cbb25c2b * 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.
1993-07-30 19:12:33 +00:00
David Edelsohn
b562a1861c 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.
1993-07-30 18:57:41 +00:00
David Edelsohn
9be4f7b466 New file remote-sim.h. 1993-07-30 18:50:42 +00:00
David Edelsohn
3b22d69a5f sp64.mt: New file.
tm-sp64.h (FRAME_CHAIN, FRAME_SAVED_PC): Deleted.
(PRINT_REGISTER_HOOK): Call new fn sparc_print_register_hook.
1993-07-30 18:40:05 +00:00
Fred Fish
d50261e598 Add ptx.mh to Things-to-keep list. 1993-07-30 17:18:23 +00:00
Fred Fish
6879f0db79 * Makefile.in (ALLCONFIG): Add config/i386/ptx.mh 1993-07-30 17:16:48 +00:00
Fred Fish
1a94dd0ce2 Add dfe and include to Things-to-lose list. 1993-07-30 17:11:51 +00:00
Jim Kingdon
d3862cae59 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.
1993-07-30 17:01:26 +00:00
Fred Fish
775d4a4096 Add .Sanitize to Things-to-lose list. 1993-07-30 16:46:19 +00:00
Jim Kingdon
247145e6f0 * 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.
1993-07-30 15:52:26 +00:00
Jim Kingdon
ca33fca1f9 * symtab.c (gdb_mangle_name): Deal with it if type lacks a name. 1993-07-30 15:31:26 +00:00
Fred Fish
ebb962cda1 * NEWS: Add note that DEC alpha support is host only, not native. 1993-07-30 14:51:17 +00:00
Fred Fish
598db9ee39 * README: Emphasize that C++ support works best with GNU C++ and
stabs debugging format.
	* delta68-nat.c:  Add missing FSF copyright.
1993-07-30 14:42:31 +00:00
Jim Kingdon
3cde1ffa4b * paread.c (pa_symtab_read): Put file-local symbols in minimal symbols. 1993-07-30 14:17:41 +00:00