Commit Graph

2396 Commits

Author SHA1 Message Date
Stu Grossman
463a71db70 Add gdbserver directory. 1993-06-03 15:44:56 +00:00
Stu Grossman
bd91ddd176 * Makefile.in: Remove ser-tcp.[co]. (Use XDEPFILES instead.)
* alldeps.mak, depend:  Rebuild to account for ser-tcp.
	* config/sparc/sun4os4.mh:  Add ser-tcp to XDEPFILES.
1993-06-03 10:54:58 +00:00
Stu Grossman
f450d101ea * gdbserver/Makefile.in (gdbserver): Use -lbsd.
* gdbserver/remote-inflow{-sparc}.c (create_inferior):  Don't use a
	shell when running the child, as args have been expanded by the
	time we get here.  Simplify calling convention.
	* gdbserver/remote-server.c (main):  Use new calling convention
	for create_inferior, remove defunct code for coalescing argv.
	Remove extra calls to mywait(), as we no longer have to wade
	through a shell.
1993-06-03 10:52:57 +00:00
Stu Grossman
3af7fb94af * target.c (target_read_memory_partial): Don't deref errnoptr
when checking for null pointer.
1993-06-03 10:36:39 +00:00
Rob Savoye
7724524325 Add m68k-coff to ld so it'll work right. 1993-06-03 05:06:09 +00:00
Rob Savoye
01c0ed641e Removed board dependant stuff. 1993-06-03 04:53:46 +00:00
John Gilmore
2b5773496a * remote-es1800.c: Fix typo.
.Sanitize:  Add comments about what's getting deliberately ignored.
1993-06-03 02:59:50 +00:00
Rob Savoye
84aa54e2b4 Add these from DejaGnu so the testsuites compile for targets again. 1993-06-03 00:57:17 +00:00
Fred Fish
6edfa4877e * gdb.texinfo (set print elements): Note that the number of
elements is set to unlimited by "set print elements 0".
1993-06-02 05:48:52 +00:00
Fred Fish
68feeeedb7 * target.c (target_read_memory_partial): Like target_read_memory,
but does partial reads, such as reads that bump into the end of
	the address space.
	* target.h (target_read_memory_partial):  Add prototype.
	* valprint.c (PRINT_MAX_DEFAULT):  New define, initial value 200.
	* valprint.c (val_print_string):  Complete rewrite to fix bug with
	bumping into end of memory, avoiding unnecessarily long reads, and
	fixing bug when print_max is set to 0 (unlimited print length).
	* valprint.c (_initialize_valprint):  Use PRINT_MAX_DEFAULT to
	initialize print_max.
1993-06-02 04:57:17 +00:00
Fred Fish
46fc723ce3 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
is fixed and PR is closed.
	* gdb.t16 (gdbme.c):  Add simple test string variable.
	* gdb.t16 (printcmds.exp):  Add tests with simple test string
	variable, primarily for boundaries on "set print elements".
1993-06-02 04:35:13 +00:00
Rob Savoye
c112834044 * configure.in: Add support for rom68k and bug boot monitors. 1993-06-02 00:15:39 +00:00
Rob Savoye
d7df19a6c3 These got lost somehow. 1993-06-01 05:22:50 +00:00
Rob Savoye
e535e37532 Add info and install-info targets. 1993-06-01 01:42:24 +00:00
Jim Kingdon
6119aeebea * printcmd.c (print_scalar_formatted): Print integers bigger than
LONGEST in hex no matter how big, and no matter what the format
	and size.
1993-05-31 21:09:04 +00:00
Jim Kingdon
6a51601ee9 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
Make leading 0's optional and don't expect a tab in the middle
	of the number.
1993-05-31 21:08:21 +00:00
Jim Kingdon
36bcda7958 * stabsread.c (read_type): Skip type attributes if present. 1993-05-31 20:14:59 +00:00
Jim Kingdon
05b4279b30 CVS:foo
* gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.

	* gdb.stabs/wierd.def: Type attributes must be preceded by number=.
	* gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
	don't end command passed to gdb_test with newline.
1993-05-31 20:13:49 +00:00
Jim Kingdon
bfcba962cb * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
* gdb.stabs/wierd.def: Type attributes must be preceded by number=.
	* gdb.stabs/wierd.exp: Remove xfails for type attributes.  Also
	don't end command passed to gdb_test with newline.
1993-05-31 20:13:31 +00:00
Jim Kingdon
942a6600ea * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
signed keyword away, don't expect signed bitfields to be signed.

	* gdb.t13/bitfields.exp (bitfield containment): Accept the fields
	printing with only as many 1's as are in the field as well as printing
	with 32 1's (see comment).
1993-05-31 19:10:29 +00:00
Jim Kingdon
574a2a49b7 * stabsread.c (read_huge_number): Don't accept '0' + radix as part
of number, just through '0' + radix - 1.
1993-05-31 18:08:56 +00:00
Jim Kingdon
ded6bcab5c * stabs.texinfo (Builtin Type Descriptors): Try to clarify what
NF_LDOUBLE means.
	(Stab Types): Include Solaris stab types.
	(Procedures): Document Solaris extensions.
1993-05-31 16:32:16 +00:00
Fred Fish
5debf76d5b Keep ChangeLog-92 1993-05-31 06:04:59 +00:00
Fred Fish
5e7861832d Add gdb.stabs to keep and gdb.all to remove. 1993-05-31 06:04:29 +00:00
Fred Fish
d64b05a921 Add config.rel.in and makefile.rel.in 1993-05-31 06:04:00 +00:00
Fred Fish
a09acbdad3 Change snapshot.readme to snapshots.readme 1993-05-31 06:03:21 +00:00
Fred Fish
d8722135c0 Change udiphsun.h to udiphunix.h. 1993-05-31 06:02:33 +00:00
Fred Fish
8f1cc6c6ff * Makefile.in (SER_HARDWIRE): Temporarily comment out ser-tcp.o. 1993-05-31 03:40:06 +00:00
Fred Fish
c701c14c41 * {dbxread.c, dwarfread.c} (read_ofile_symtab): Rewrite to take
single parameter, the pointer to the partial symtab, rather than
	a bunch of args that are derived from the partial symtab.  Change
	prototypes and callers to match.
1993-05-31 00:21:41 +00:00
Fred Fish
2707b48a61 * dbxread.c (read_ofile_symtab): Remove "#if 1" around code to
set demangling style automatically.
	* defs.h (CPLUS_MARKER):  Clarify comment that this is only for
	GNU C++, not C++ in general.
	* symtab.h (general_symbol_info):  Simplify by eliminating one
	structure level for the language dependent info.
1993-05-30 22:41:52 +00:00
Fred Fish
88db2febc8 * gdb.t00/default.exp: Start with a fresh gdb. 1993-05-30 01:33:31 +00:00
Fred Fish
dd294fc006 * configure.in (configdirs): Remove gdb.t31 until the chill
compiler works again.  It no longer is able to find chillrt0
	since it isn't in libchill.a anymore.
1993-05-30 01:14:47 +00:00
Fred Fish
150ab4401d * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
wierd.o, make more modular.
1993-05-30 01:09:32 +00:00
Fred Fish
35c254be70 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
spurious newlines that caused problems.
1993-05-30 00:58:55 +00:00
Fred Fish
86e3a5e40f * c-typeprint.c (c_type_print_base): Avoid dereferencing NULL
names for TYPE_CODE_STRUCT and TYPE_CODE_UNION types.
	TYPE_CODE_ENUM was already testing for this.
1993-05-30 00:03:59 +00:00
Stu Grossman
69b2f0fe81 Use getprotobyname instead of hardwired number (in tcp_open). 1993-05-29 03:14:45 +00:00
Stu Grossman
22aa3d61b8 Add README. 1993-05-29 02:36:03 +00:00
Stu Grossman
17f087a80c Doc for gdbserver! 1993-05-29 02:31:00 +00:00
Stu Grossman
4d551aa31d Add ser-tcp.c. 1993-05-29 01:33:55 +00:00
Stu Grossman
38dc5e123f * Makefile.in: Add new file ser-tcp.c.
* defs.h (memcmp):  Add decl for memcmp to #ifndef MEM_FNS_DECLARED.
	* findvar.c (write_register):  See if we are writing back the same
	value that's already in the register.  If so, don't bother.
	* remote.c (putpkt, getpkt):  Improve handling of communication
	problems.
	* ser-go32.c:  Prototype it to death.  Update serial_ops and add
	dummy routines where appropriate.
	* ser-tcp.c:  New module to implement serial I/O via TCP
	connections.
	* ser-unix.c:  Clean up getting/setting of tty state.  Get rid of
	SERIAL_RESTORE, add SERIAL_{GET|SET}_TTY_STATE interfaces.
	* serial.c:  Add start of support for connect command.
	(serial_open):  Distinguish between tcp and local devices.
	* serial.h (struct serial_ops):  Get rid of restore, add
	get_tty_state and set_tty_state.  Define protoypes and macros for
	this mess.
	* gdbserver/remote-utils.c:  Add tcp support.  (readchar):  Do
	some real buffering.  Handle error conditions gracefully.
	* gdbserver/remote-inflow-sparc.c:  Update to remote-inflow.c
	(Lynx), remove lots of cruft.
1993-05-29 01:33:36 +00:00
David D. Zuhn
633c8b0a9d * printcmd.c (print_address_symbolic): turn this into an assigment
instead of an initialization (many compilers don't accept
	structure initialization).
1993-05-29 00:26:49 +00:00
Rob Savoye
47a488df26 Add a blank install target so the top level makefile won't die. 1993-05-28 04:31:51 +00:00
Jim Kingdon
860b4da38b * xcoffread.c (read_xcoff_symtab): If several program csects in one
source file, give them all the name of the source file, rather than
	the 2nd and subsequent ones having NULL names.
1993-05-27 22:06:12 +00:00
Peter Schauer
37ff799b81 * gdb.texinfo: Add `set print symbol-filename' doc. 1993-05-27 13:23:56 +00:00
Peter Schauer
b7ccd8e069 * printcmd.c (print_address_symbolic): Append source filename and
linenumber of the symbol if print symbol-filename is on.
	(initialize_printcmd):  `set print symbol-filename'.
1993-05-27 13:19:26 +00:00
K. Richard Pixley
87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
Stu Grossman
6a936870d6 Remove debugging stuff... 1993-05-26 22:23:56 +00:00
Jim Kingdon
a03f27c32c misc fixes 1993-05-26 22:15:49 +00:00
Stu Grossman
799d5b6a5b Sparc version of remote-inflow.c. Hasn't been made portable yet. 1993-05-26 21:47:57 +00:00
Stu Grossman
b8f64f2068 Keep appropriate files in gdbserver directory. 1993-05-26 21:47:00 +00:00