Commit Graph

2598 Commits

Author SHA1 Message Date
Stu Grossman 452b4b001f * ser-go32.c: Clean up lots of compilation nits. 1993-06-04 00:38:04 +00:00
Stu Grossman e835b5e7fa * Patches from Jeffrey Law <law@cs.utah.edu>.
* hppab-nat.c: Eliminate unnecessary ifdefs for
	FETCH_INFERIOR_REGISTERS, CANNOT_FETCH_REGISTER, and
	CANNOT_STORE_REGISTER.
	(fetch_register): Delete code to handle CANNOT_FETCH_REGISTER.
	* hppa-pinsn.c: Support 'I', 'J', and 'K' in output
	templates for 1.1 FP computational instructions.
1993-06-03 23:44:24 +00:00
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
Stu Grossman 5fa46c427a * configure.in: Add config for Lynx target. Configure gdbserver
only for Lynx.  Re-do selective configuration of sparclite.
1993-05-26 20:55:47 +00:00
Stu Grossman e20520b8f9 * gdbserver/{remote-gutils.c remote-server.c Makefile.in
configure.in remote-inflow.c remote-utils.c}:  New files to
	support GDB remote server.  Currently only works for Lynx.
1993-05-26 20:49:21 +00:00
Stu Grossman 185a1705bb blah blah blah 1993-05-26 20:48:44 +00:00
Jim Kingdon 5bd22ca87b * Move test with enums and partial symbols from gdb.t03/ptype.exp
to gdb.stabs/wierd.exp since GCC has worked around the bug.
1993-05-26 20:06:59 +00:00
Jim Kingdon 12a0960387 * Move test with enums and partial symbols from gdb.t02/ptype.exp
to gdb.stabs/wierd.exp since GCC has worked around the bug.
	gdb.stabs/wierd.{exp,def}: Many new tests.
1993-05-26 20:04:50 +00:00
Jim Kingdon 3d4cf72099 formatting fixes 1993-05-26 18:16:28 +00:00
Jim Kingdon ee59134ee7 * stabs.texinfo (Arrays): Talk about type definition vs. type
information.
1993-05-26 17:20:50 +00:00
Jim Kingdon 59d69506fb * stabsread.c (define_symbol, case 't'): Only set the name if it
is not a pointer type.

	* stabsread.c (define_symbol): Clean up logic; move the read_type
	calls to inside the switch statement (this improves the error
	handling).
1993-05-26 17:17:02 +00:00
Jim Kingdon 18ef91468f * gdb.t00/default.exp: update info line for new message.
* gdb.t02/{whatis.exp,gdbme.c}:
	Test that "char *" doesn't print as "caddr_t".
1993-05-26 17:06:40 +00:00
Jim Kingdon 3a594d72e5 * mipsread.c (parse_symbol, parse_partial_symbols): Deal with Fortran
common blocks.
1993-05-26 15:33:07 +00:00
Jim Kingdon 466bdeb266 minor fixes (e.g. typos). Update table of non-stab values for n_type 1993-05-26 06:09:53 +00:00
Jim Kingdon e9f687d59b * stabs.texinfo (Builtin Type Descriptors): Talk about omitting
the trailing semicolon.
1993-05-26 05:30:12 +00:00
Jim Kingdon 8abe819439 punctuation fixes 1993-05-26 05:24:25 +00:00
Jim Kingdon 43795ece80 * printcmd.c (print_formatted, case 'i'): Pass a tab to wrap_here.
* source.c (line_info): Change "pc" to "address" in messages and
	use print_address for addresses.
1993-05-26 04:56:02 +00:00
Jim Kingdon 2f2a70e585 * source.c (line_info): If we don't find a symtab, print more useful
output, including the symbolic address.
1993-05-26 04:29:38 +00:00
Jim Kingdon b9298844e5 * source.c (line_info): If --fullname, display the source.
(identify_source_line), callers: Take pc as argument, rather than
	assuming innermost frame (emacs doesn't use this, so no one ever
	noticed).
	* symtab.h: Declare frame_file_full_name.
	* main.c: Don't.
1993-05-26 03:27:32 +00:00
Rob Savoye b64d5e491a configure.in template that supports *only* make check. (for releases) 1993-05-26 01:55:00 +00:00
Rob Savoye 2a775d5158 Makefile fragment that supports *only* make check. (for releases) 1993-05-26 01:44:49 +00:00
Jim Kingdon 63cef7d78f * stabs.texinfo (Line Numbers, Source Files): Re-write these two nodes
and merge in other parts of the document addressing these subjects.
	gdbint.texinfo (XCOFF): Remove info which is now in stabs.texinfo.
1993-05-26 01:31:02 +00:00
Brendan Kehoe aea2312bde * breakpoint.c (catch_command_1): Fix typo in error msg. 1993-05-25 22:31:38 +00:00
Ken Raeburn 6b346f512e elf, bfd_vma-cast changes 1993-05-25 20:22:09 +00:00
Ken Raeburn 2084a17668 * elfread.c (elf_symfile_read): Update ELF structure and routine
names to specify 32-bit versions.
(elf_symtab_read): Retrieve size field directly from symbol,
instead of using old kludge.
1993-05-25 20:21:06 +00:00
Ken Raeburn 337fd0067c print_insn_* routines want bfd_vma, not CORE_ADDR 1993-05-25 20:12:59 +00:00
Jim Kingdon 29b34f10a9 * gdb.t00/help.exp: Use .* in place of some help messages which
just changed.
	gdb.t00/default.exp: Update "info frame" test for new message.
	* gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
	Remove some xfails
1993-05-25 19:57:38 +00:00
Jim Kingdon 8cfe3bebde * stabs.texinfo (Subranges): "A offset" and "T offset" are not
AIX extensions.
1993-05-25 19:56:22 +00:00
Jim Kingdon ea753d03d6 * stabsread.c: Remove all uses of error(). Make error_type and
read_type_number static.
	(define_symbol): Don't try to deal with a missing symbol
	descriptor which isn't followed by digit, '(', or '-'.
	* stabsread.h: Don't declare read_type_number here.
	* gdbtypes.h: Don't declare error_type here.
	* xcoffread.c: Remove NO_TYPEDEFS code.
1993-05-25 19:39:41 +00:00
Jim Kingdon 2d10304ee6 x 1993-05-25 19:35:02 +00:00
Jim Kingdon 16b00357e8 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
Remove some xfails
1993-05-25 19:32:19 +00:00
Ian Lance Taylor 619ccb2426 * mips-tdep.c: Removed #include of many header files, and #define
of MIPSMAGIC; no longer used.
1993-05-25 16:37:53 +00:00
Jim Kingdon 6fe90fc83f * Many places: replace "the inferior" in messages with "the program"
or "the program being debugged".
	* inflow.c (try_writing_regs): Remove; it's been #if 0'd forever
	and I'm getting sick of maintaining it.
1993-05-25 16:22:41 +00:00
Jim Kingdon 30ffb593f8 * config/i386/linux.mh: Don't use \ newline; the awk scripts don't
support it.

	* config/i386/go32.mh: Define SER_HARDWIRE.
	* Makefile.in: Define SER_HARDWIRE.
	(DEPFILES): Use it.
	(alldeps.mak): Add SER_HARDWIRE.
	Remove all references to ser-hardwire.{c,o}.
	* configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
1993-05-25 15:47:28 +00:00
Jim Kingdon fd382d28ef * config/i386/linux.mh: Don't use \ newline; the awk scripts don't
support it.

	* config/i386/go32.mh: Define SER_HARDWIRE.
	* Makefile.in: Define SER_HARDWIRE.
	(DEPFILES): Use it.
	(alldeps.mak): Add SER_HARDWIRE.
	Remove all references to ser-hardwire.{c,o}.
	* configure.in: Remove all ser_hardwire and gdb_serial_driver stuff.
1993-05-25 15:41:49 +00:00
Peter Schauer 1b71de8ea4 * sparc-nat.c (store_inferior_registers): Fill in all members of
inferior_fp_registers by reading them from the inferior before
	modifying and writing them back.
	Fixes unexplainable inferior FP exceptions after calls to the inferior
	or setting of floating point registers.
	* mips-tdep.c (mips_skip_prologue):  Skip move of argument register
	to register which is generated by gcc-2.4.
1993-05-25 06:52:54 +00:00
Ken Raeburn 3b17ee1bad try to make hppa opcode table, updated for gas, still be compatible with gdb 1993-05-25 04:46:09 +00:00
David D. Zuhn 8a6d5d4f93 INFO-DIR-ENTRY formatting tweaks 1993-05-24 22:33:43 +00:00
Stu Grossman c0ab114cd6 Add lynx files. 1993-05-24 21:05:43 +00:00
Stu Grossman 8e481e13e2 * config/i386/{i386lynx.mh i386lynx.mt nm-i386lynx.h tm-i386lynx.h
xm-i386lynx.h}:  New configuration for Lynx.
1993-05-24 20:58:41 +00:00
Fred Fish 225501b7d8 * snapshots.readme: Clarify when obvious and non-obvious bugs
should be reported.
1993-05-24 18:10:14 +00:00
Jim Kingdon 87c942a80c * mipsread.c (parse_symbol): Deal with scVar and scVarRegister.
* symtab.h: Comment that LOC_REGPARM_ADDR can be call by reference.
1993-05-24 16:45:16 +00:00
Jim Kingdon 46351197fc * stabs.texinfo (Stabs Format): Misc fixes. 1993-05-24 16:33:12 +00:00
Jim Kingdon 8789d972a3 * c-typeprint.c (c_type_print_base): Don't print typedef'd names
as struct, union, or enum tags.
1993-05-24 15:44:12 +00:00
Jim Kingdon c6d700126c * gdb.t03/{gdbme.c,ptype.exp}:
Add tests for typedef'd struct and union without tags.
1993-05-24 15:34:49 +00:00
Peter Schauer 8537c754ba * symmisc.c (dump_msymbols): Avoid gdb coredump with stripped
executable.
1993-05-24 08:11:47 +00:00
Jim Kingdon f43c2f0581 x 1993-05-24 06:37:08 +00:00
Jim Kingdon e726f3b519 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
PRMS 1823; the bug still exists but isn't reproduced by this test
	anymore), and remove rs6000 XFAIL (the bug is fixed).

	* gdb.t03/ptype.exp: Comment out a lot of tests which are basically
	duplicated from whatis.exp.  For those that are left, accept
	"long", "long int", or "int" for long variables (whatis.exp already
	has an XFAIL for "int", so no need to fail it here).

	* gdb.t02/whatis.exp, gdb.t10/crossload.exp:
	Deal with GCC's names for types now that GDB uses the compiler's names.

	* gdb.t02/{Makefile.in,gdbme.c,whatis.exp}:  If not GCC, do some
	setup_xfail's for sunos4.  If we #defined the signed keyword away,
	don't expect GDB to know that char it is signed.

	* gdb.t00/teststrategy.exp: Update for symbolic signal names.
1993-05-24 06:29:48 +00:00
Rob Savoye a1092b5df4 Fix bug in how GDB gets set that chokes runtest *only* using /bin/sh. 1993-05-23 22:21:17 +00:00
Fred Fish 0b3c22dfbb * configure.in (configdirs): Add gdb.t24 for C++ tests that
should work on any system, regardless of debugging format.
	* gdb.t21/demangle.exp:  Move to gdb.t24.
	* gdb.t24/demangle.exp:  Move from gdb.t21.
	* gdb.t24/{Makefile.in, configure.in}:  New files.
1993-05-23 15:49:17 +00:00
Jim Kingdon 2632d6dff0 * infrun.c (wait_for_inferior),
infcmd.c (program_info, signal_command):  Use symbolic signal names.
1993-05-22 22:46:46 +00:00
Jim Kingdon 6b82a761cb * inftarg.c (child_wait): Deal with EINTR and include message from
strerror if printing an error message.

	* main.c (command_line_input): Use STOP_SIGNAL not SIGTSTP.
1993-05-22 20:49:04 +00:00
Jim Kingdon c778826d74 x 1993-05-22 19:47:55 +00:00
Jim Kingdon f52bde21f9 * stabsread.c: Remove most uses of lookup_fundamental_type.
(define_symbol): Use read_type for type of enum constant,
	not just read_type_number.  Also don't call error().
	(define_symbol): For unrecognized constant type, one complaint (the
	one from error_type) is	enough.  Don't make our own in addition.
	(define_symbol): Don't treat an N_FUN 'R' as a prototype.
	* gdbtypes.h: Doc fixes.
1993-05-22 19:20:37 +00:00
Jim Kingdon 1d3f5383e2 Remove <<<< stuff from CVS. Not sure how it got here 1993-05-22 18:29:17 +00:00
Jim Kingdon b273dc0f02 * stabs.texinfo (Constants): Allow an `e' constant to be non-enum.
(Traditional builtin types): Document convex convention for long long.
	(Negative builtin types): Discuss type names, and misc fixes.
1993-05-22 18:27:12 +00:00
Peter Schauer b5ec0a8e8a * config/mips/tm-irix3.h: Add sigcontext offsets for Irix. 1993-05-22 10:35:55 +00:00
Peter Schauer 7cf92dd250 Fix stack unwinding through _sigtramp on Irix. These patches are from
Paul Flinders <ptf@delcam.co.uk>.
	* mipsread.c (fixup_sigtramp): Find _sigtramp on Irix even when the
	executable uses sigvec.
	* mips-tdep.c (read_next_frame_reg): Allow tm-file to override
	sigcontext offsets.
	* config/mips/tm-irix3.h: Add sigcontext offsets for Irix.
1993-05-22 10:34:47 +00:00
Peter Schauer 101b7f9ca5 * infrun.c (wait_for_inferior): Clear stop_signal if it should not
be passed to the inferior to make "handle <signal> nopass nostop" work.
1993-05-22 07:40:40 +00:00
Peter Schauer ac8cf67dca * config/mips/tm-irix3.h: Clean up, use tm-bigmips.h and redefine
the necessary bits.
	* findvar.c (value_from_register): Fix uninitialized first_addr
	which caused problems with assignment of doubles to register variables
	on some targets.
	* mipsread.c: Remove TM_FILE_OVERRIDE, include tm.h and provide the
	missing mips definitions if necessary.

	Fix handling of double register variables for mips targets and big
	endian hosts. These patches are from Paul Flinders <ptf@delcam.co.uk>.
	* config/mips/tm-mips.h: Increase MAX_REGISTER_{RAW,VIRTUAL}_SIZE to
	  8 bytes for doubles.
	* config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): New macro for
	  conversion of type held in multiple registers to host format.
	* config/mips/tm-mips.h (REGISTER_CONVERT_FROM_TYPE): New macro,
	  companion to REGISTER_CONVERT_TO_TYPE.
	* config/mips/tm-mips.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE):
	  Convert to function calls.
	* config/mips/tm-mips.h (FIX_CALL_DUMMY): New code for big endian
	  mips targets.
	* mips-tdep.c (mips_print_register): Raw buffer now needs just
	  MAX_REGISTER_RAW_SIZE bytes.
	* mips-tdep.c (mips_print_register): Use REGISTER_CONVERT_TO_TYPE
	  (if defined) for doubles.
	* mips-tdep.c: (mips_extract_return_value, mips_store_return_value):
	  New functions, take care of REGISTER_CONVERT_TO/FROM_TYPE.
	* valops.c (value_assign): Use REGISTER_CONVERT_TO_TYPE if
	  defined.
	* findvar.c (value_from_register): Use REGISTER_CONVERT_TO_TYPE if
	  defined.
1993-05-22 07:26:25 +00:00
Jim Kingdon e23a689677 ISC changes 1993-05-21 22:17:31 +00:00
Jim Kingdon 5e27c0544a fix typo 1993-05-21 20:44:43 +00:00
Jim Kingdon b646b43826 * complaint.c: Make sure all complain() pass the address of the struct.
* xcoffread.c: Make sure all struct complaints are static not auto.
1993-05-21 20:43:16 +00:00
Sean Eric Fagan d0e1e015dc Slight changes for the 29k-udi target. 1993-05-21 18:32:01 +00:00
Sean Eric Fagan f2e349a242 Change the configuration, for target 29k-udi, a little bit. 1993-05-21 18:07:23 +00:00
Sean Eric Fagan 31589e1ec0 Change the configuration a little bit. 1993-05-21 18:06:53 +00:00
Sean Eric Fagan e13f0d9e35 Renamed the udi "sun"-host file to a "unix"-host file. These are necessary
support changes.
1993-05-21 17:58:36 +00:00
Sean Eric Fagan 976a7ee0b7 Changed the configuration scheme a bit, to be saner, cleaner, etc.
Also, the so-called sun-dependent files were not very sun-dependent,
so renamed it to "unix."
1993-05-21 17:51:50 +00:00
Sean Eric Fagan 498ca01db7 Renamed it to "udiphunix.h". 1993-05-21 17:50:43 +00:00
Jim Kingdon b1285bd9eb Further revisions (for xcoff mostly) to test case logged in ChangeLog yesterday 1993-05-21 16:40:05 +00:00
Jim Kingdon 1a8b566849 * stabs.texinfo (Builtin Type Descriptors): Document the floating
point types used with @samp{R} type descriptor.
	(Symbol Descriptors): Describe how to handle conflict between
	different meanings of @samp{P} symbol descriptor.
1993-05-21 16:29:24 +00:00
Jim Kingdon c41e08c472 * Makefile.in: Add rule for xcoffexec.o like that for paread.o.
* xcoffread.c (process_xcoff_symbol, case C_LSYM): Use define_symbol.
1993-05-21 14:42:14 +00:00
Jim Kingdon 7326242025 * xcoffread.c (process_xcoff_symbol, case C_LSYM): Use define_symbol. 1993-05-21 14:08:17 +00:00
Jim Kingdon e18faa8ab9 * configure.in: Do gdb.stabs and C++ tests only for stabs. 1993-05-21 01:32:23 +00:00
Jim Kingdon 1458f956e9 New directory 1993-05-21 01:31:26 +00:00
Jim Kingdon 8c59ee1150 * stabs.texinfo: Remove node Quick Reference and put its children
directly under the main menu.

	* stabs.texinfo: Many more changes to bring it into line with
	AIX documentation and reality.  I think it now has all the
	information from the AIX documentation, except that I burned
	out when I got to variant records (Pascal and Modula-2) and
	all the COBOL types.  Oh well, we can add them later when we're
	worrying more about those languages.

	* stabs.texinfo (Automatic variables): Talk about what it means
	to omit the symbol descriptor.
1993-05-20 18:41:17 +00:00
Jim Kingdon 2c6af8c021 x 1993-05-20 00:37:32 +00:00
K. Richard Pixley ee3d350d13 fixed typo in tm-m68k.h 1993-05-19 22:48:25 +00:00
K. Richard Pixley 80ddbedc45 fix typo 1993-05-19 22:44:08 +00:00
Stu Grossman f3fe87c79e * config/pa/nm-hppab.h: Comment PTRACE_ARG3_TYPE. 1993-05-19 22:43:06 +00:00
Jim Kingdon 5b40415c63 * Makefile.in (INSTALLED_LIBS): New variable. 1993-05-19 17:56:18 +00:00
Jim Kingdon 8ce07a211b * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
not just "Quit anyway?".
1993-05-19 03:29:10 +00:00
Jim Kingdon 94d5034070 * main.c (quit_command): In the "quit anyway?" message, tell the user
whether we are planning to detach or kill the program.
	* config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
	not just "Quit anyway?".
1993-05-19 02:17:38 +00:00
Jim Kingdon cdaa790509 * config/vax/vaxbsd.mh: Add "NAT_FILE= nm-vax.h".
* config/vax/xm-vaxbsd.h: Use <sys/param.h> not <machine/limits.h>
1993-05-19 02:01:05 +00:00
Jim Kingdon 15f7860275 * infcmd.c (read_pc): Doc fix. 1993-05-19 01:25:43 +00:00
Jim Kingdon 511933e73b * printcmd.c (print_address_symbolic): Use %u not %d for offset. 1993-05-19 01:20:09 +00:00
Jim Kingdon 993583e53b * blockframe.c (get_prev_frame_info): If pc in sigtramp, set
signal_handler_caller.
	* tm-68k.h (FRAME_{CHAIN,SAVED_PC}): Deal with sigtramp.
	* tm-hp300bsd.h: Define SIGTRAMP_{START,END} not IN_SIGTRAMP.
	* inferior.h (IN_SIGTRAMP): Definition moved from infrun.c.
	Use SIGTRAMP_START if defined.
	* infcmd.c (step_1): Use SIGTRAMP_{START,END} if needed.
	* infrun.c (wait_for_inferior): Check IN_SIGTRAMP before SKIP_PROLOGUE.
1993-05-19 00:57:48 +00:00
Fred Fish 27daf1a914 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
that all setup_xfails are immediately followed by clear_xfails.
1993-05-19 00:13:56 +00:00
Jim Kingdon 7f8253c71c * infptrace.c: Remove unused KERNEL_U_ADDR_HPUX code. 1993-05-18 23:53:28 +00:00
Jim Kingdon b1b4a89ec3 * infcmd.c (step_1): Fix poorly worded error message. 1993-05-18 23:42:16 +00:00
Jim Kingdon 865e574b06 * config/{i386/linux.mh,m68k/isi.mh} (NATDEPFILES):
Comment out corelow.c because core dumps are broken on these machines.
1993-05-18 23:16:00 +00:00
Jim Kingdon 23aed4497c * stabs.texinfo (Parameters): Add "(sometimes)" when describing
gcc2 behavior with promoted args.
1993-05-18 23:01:58 +00:00
Jim Kingdon 31d16514c8 * Makefile.in (depend): Put "${srcdir}" in generated dependencies
if srcdir is not ".".
	Also put in -I${BFD_DIR} or -I${READLINE_DIR} for files which need it.
	(INCLUDE_CFLAGS):  Remove BFD_DIR and READLINE_DIR.
	* depend:  Update to latest automatically built version.
1993-05-18 22:38:12 +00:00
Fred Fish 6e50aeb481 * ChangeLog, ChangeLog-92: Split ChangeLog at 1993.
* Makefile.in (NONSRC):  Add ChangeLog-92
1993-05-18 15:16:01 +00:00
Jim Kingdon f49cf58940 * findvar.c ({read,write}_register): Use REGISTER_RAW_SIZE
not typo RAW_REGISTER_SIZE.

	* frame.h, inferior.h: Doc fixes.
1993-05-18 15:06:47 +00:00
Stu Grossman 35247ccd31 * findvar.c (write_register): Add sanity check for register size.
(read_register):  Fixup sanity check for register size to be
	consistent with write_register().
1993-05-17 22:48:07 +00:00
Roland Pesch da24340ca3 Now that makeinfo node defaulting works, include readline appendices in
Info form of manual as well as printed form.
(Thanks for spotting this, Zoo!)
1993-05-15 04:38:03 +00:00
K. Richard Pixley d968d5b48f back out malloc/xmalloc patch 1993-05-14 22:14:45 +00:00
Ian Lance Taylor 09c6a0aa0f * remote-nindy.c: Removed declaration of coffstrip.
* nindy-share/nindy.c: #if 0 coffstrip routine; no longer used.
1993-05-13 14:37:02 +00:00
Fred Fish 377f53d2a9 * Makefile.in (VERSION): Bump to 4.9.1 after release and cvs
tagging.
1993-05-12 19:59:57 +00:00
Fred Fish 965a33af59 * README: Update known bugs to include the Solaris bug that
leaves core dumps in the current directory when restarting the
	inferior with "run".  Expand on the testsuite information.
1993-05-11 17:45:22 +00:00
Fred Fish 415e62080d * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
	gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
	gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
	gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
	gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
	gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
	gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
	gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
	gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
	gdb.t31/chillvars.exp, lib/gdb.exp:
	Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
	bug-gdb@prep.ai.mit.edu.
1993-05-11 16:15:41 +00:00
John Gilmore af34c75d69 Remove CVS-merge trash from ChangeLog. 1993-05-11 07:26:45 +00:00
Jim Kingdon d2712f0267 * config/m68k/xm-hp300bsd.h: Include <sys/param.h> to avoid INT_MAX
redefined warnings.
1993-05-11 05:17:40 +00:00
Fred Fish 0a4a0f097b * README, NEWS: Update for gdb 4.9 release. 1993-05-11 03:45:47 +00:00
John Gilmore 57ffffe3fe * ch-exp.y (MAX, MIN): Rename to MAX_TOKEN, MIN_TOKEN.
* target.c (MIN):  #undef before defining.
1993-05-11 02:49:40 +00:00
Jim Kingdon 4a2383c1f8 Patch from Jeffrey Law:
* gdb/config/pa/nm-hppab.h (PTRACE_ARG3_TYPE): Define as caddr_t.
1993-05-10 23:10:46 +00:00
Ian Lance Taylor 1edc5cd26d * hppa-tdep.c (hppa_push_arguments): Allocate correct amount of
memory.
1993-05-10 22:30:34 +00:00
Fred Fish f39a2631d9 * ch-exp.y (start): Apply work-around to avoid bison warning. 1993-05-10 20:18:05 +00:00
Fred Fish 0b81fc4394 * Makefile.in (BISON): Remove double quotes around BISON
definition when bison is used.
1993-05-10 00:53:27 +00:00
Fred Fish 8f59e92be9 * configure.in (hppa*-hp-bsd): Change to hppa*-hp-bsd*
* configure.in (hppa*-hp-hpux):  Change to hppa*-hp-hpux*
	* configure.in (m68*-hp-bsd):  Change to m68*-hp-bsd*
	* configure.in (m68*-hp-hpux):  Change to m68*-hp-hpux*
	* configure.in (hppa*-*-bsd):  Change to hppa*-*-bsd*
	* configure.in (hppa*-*-hpux):  Change to hppa*-*-hpux*
	* configure.in (m68*-hp-bsd):  Change to m68*-hp-bsd*
	* configure.in (m68*-hp-hpux):  Change to m68*-hp-hpux*
1993-05-10 00:15:12 +00:00
Fred Fish 67d2bd1a4b * Makefile.in (VERSION): Bump to 4.8.6. 1993-05-09 14:26:25 +00:00
Fred Fish 64c5ac4f6d * config/pa/xm-hppah.h (MALLOC_INCOMPATIBLE): Define it, and
include declarations for malloc/realloc/free.  Both malloc and
	realloc return 'void *' for non-ANSI compilations.
1993-05-08 19:42:07 +00:00
Peter Schauer 1adf2ba9db * coffread.c (read_coff_symtab): Don't fclose stream as it is no
longer opened twice.
1993-05-08 08:41:41 +00:00
Roland Pesch c5f69ff8a7 * gdbinv-s.texi (Remote Serial): describe new ^C behavior in
target remote.

	* gdb.texinfo (Machine Code): more index entries for disassemble
1993-05-07 19:00:17 +00:00
Fred Fish 95addf559c Remove dangling 'fi'. 1993-05-07 18:37:37 +00:00
Fred Fish d240e67158 * Clarify the intended use of the gdb-testers and gdb-patches
mailing lists, and shrink gzip comment.
1993-05-07 17:14:05 +00:00
Jim Kingdon 7a758f71eb * solib.c (clear_solib): Don't close bfd if it is NULL. 1993-05-07 04:34:01 +00:00
Fred Fish c787ca552d Add note about testsuite. 1993-05-07 04:06:32 +00:00
Fred Fish 34b70237d2 * core.c (dis_asm_read_memory): Cast second arg of
target_read_memory to "char *".
	* breakpoint.c (watchpoint_check):  Change arg type from PTR to
	"char *", to match other functions called by catch_errors().
1993-05-07 04:02:16 +00:00
Jim Kingdon 372d09c3fd check in serial.h change that grossman made but forgot to check in 1993-05-07 04:00:42 +00:00
Roland Pesch 75f844cce7 * gdb.texinfo (Shell Commands): do not mention SHELL env var in
DOSHOST configuration of manual.  (At least for the nonce, since
precisely how this works under DOS seems to depend on mysteries known
only to DJ Delorie, which are not easily fathomed from his source.)
1993-05-07 00:49:33 +00:00
Roland Pesch c60e53b958 *** empty log message *** 1993-05-07 00:08:35 +00:00
Roland Pesch 572867a8c2 * gdb.texinfo (MIPS Stack): new node. 1993-05-07 00:07:58 +00:00
Roland Pesch 34ae25cd87 New material for MIPS Remote thanks to Ian, and minor miscellany:
* all-config.texi (MIPS) new switch.

	* gdbinv-s.texi (Nindy Options) Remove two instances of future
	tense; (MIPS Remote) new node.

	* gdb.texinfo (passim) rephrases to work around makeinfo @value
	bug; (Environment) less passive, other small cleanups in text about
	.cshrc/.bashrc; (Invoking GDB) new MIPS Remote menu entry;
	(Remote) new MIPS Remote menu entry.
1993-05-06 23:48:43 +00:00
Stu Grossman 2c298c0922 * More patches from Jeffrey Law (law@cs.utah.edu).
* gdb/config/pa/tm-hppah.h (millicode_start, millicode_end):
	Delete unnecessary declarations.
1993-05-06 22:51:32 +00:00
Stu Grossman 9e15da4ac4 * ser-unix.c (wait_for): Use VTIME to do timeouts instead of
poll() for termio{s}.
1993-05-06 22:17:10 +00:00
Jim Kingdon dfa592fb5a * i386-tdep.c (i386_frame_num_args): Always return -1. 1993-05-06 18:10:16 +00:00
Ian Lance Taylor 8b946797f7 Mention support for IDT MIPS board. 1993-05-06 16:18:02 +00:00
Fred Fish c66429de62 Fix typo, meant --srcdir not --subdir. 1993-05-06 16:16:39 +00:00
Fred Fish 838a1ac1a5 * snapshots.readme: Add notes for UNIX make and GNU make. 1993-05-06 15:52:30 +00:00
Stu Grossman e22a9870fd * Patches from Jeffrey Law <law@cs.utah.edu>.
* gdb/hppa-tdep.c: Declare frame_saved_pc.
	(frameless_function_invocation): New function.
	(frame_saved_pc, init_extra_frame_info): Use
	frameless_function_invocation.
	* gdb/config/pa/tm-hppa.h (SAVED_PC_AFTER_CALL): Use saved_pc_after
	call instead of just grabbing the value currently in %r2.
	(FRAMELESS_FUNCTION_INVOCATION): Use frameless_function_invocation.
	* gdb/config/pa/tm-hppah.h (SAVED_PC_AFTER_CALL): Delete private
	definition and use the common one in tm-hppa.h.
1993-05-05 23:53:50 +00:00
Stu Grossman f45e781f14 Fix directory on edit log. 1993-05-05 23:53:09 +00:00
Stu Grossman 8fa7488059 * Patches from Jeffrey Law <law@cs.utah.edu>.
* gdb/hppa-tdep.c: Declare frame_saved_pc.
	(frameless_function_invocation): New function.
	(frame_saved_pc, init_extra_frame_info): Use
	frameless_function_invocation.
	* gdb/config/tm-hppa.h (SAVED_PC_AFTER_CALL): Use saved_pc_after
	call instead of just grabbing the value currently in %r2.
	(FRAMELESS_FUNCTION_INVOCATION): Use frameless_function_invocation.
	* gdb/config/tm-hppah.h (SAVED_PC_AFTER_CALL): Delete private
	definition and use the common one in tm-hppa.h.
1993-05-05 23:52:10 +00:00
Stu Grossman 4b01383bcd * Patches from Jeffrey Law <law@cs.utah.edu>.
* gdb/hppa-tdep.c (frame_chain_valid): If "use_unwind" is true, then
	use unwind descriptors to determine if the frame chain is valid.
1993-05-05 22:39:23 +00:00
Stu Grossman b227992a76 * Patches from Jeffrey Law <law@cs.utah.edu>.
* gdb/hppa-tdep.c (find_dummy_frame_regs):  Rework so that
	it does not assume %r4 is the frame pointer.
1993-05-05 22:35:32 +00:00
Stu Grossman 68c8d698d4 * Patches from Jeffrey Law <law@cs.utah.edu>.
* gdb/hppa-pinsn.c (print_insn): Handle 'r' and 'R' for break, rsm,
	and ssm instructions.
	* gdb/hppa-tdep.c (extract_5r_store, extract_5R_store): New
	helper functions for print_insn.
1993-05-05 22:26:57 +00:00
Stu Grossman a34d4bc178 * Patches from Jeffrey Law <law@cs.utah.edu>.
* gdb/hppa-tdep.c (gcc_p, hpux_cc_p): Delete unused functions.
1993-05-05 22:23:07 +00:00
Stu Grossman d83a671068 * gdb/config/pa/tm-hppa.h (ABOUT_TO_RETURN): Handle a return
which nullifies the following instruction.  (From law@cs.utah.edu).
1993-05-05 22:19:00 +00:00
Fred Fish 199d3bb81b Update again to latest automatically generated version. 1993-05-05 05:54:43 +00:00
Jim Kingdon a7edcb254c * Makefile.in (depend): Don't include command for *.tab.c. 1993-05-05 03:32:02 +00:00
Fred Fish d39fbfe3b9 * Makefile.in (VERSION): Bump to 4.8.5
* Makefile.in (INCLUDE_CFLAGS):  Add BFD_DIR and READLINE_DIR
	directories to include search path.
	* Makefile.in (CLIBS, CDEPS, ADD_FILES, ADD_DEPS):  Clean up
	whitespace.
	* Makefile.in (depend):  For gcc -MM line, use INTERNAL_CFLAGS
	* Makefile.in (main.o, dbxread.o, coffread.o, mipsread.o,
	elfread.o, dwarfread.o, stabsread.o, xcoffread.o, xcoffexec.o,
	xdr_ld.o, xdr_rdb.o, nindy.o, Onindy.o, ttybreak.o, ttyflush.o,
	udr.o, udip2soc.o):  Remove explicit rules, use the ones that
	are automatically generated in "depend".
	* Makefile.in (paread.o):  Document why a dependency doesn't get
	automatically generated in "depend" and leave this explicit rule
	in for now (FIXME).
	* depend:  Update to latest automatically generated version.
1993-05-05 02:48:28 +00:00
Jim Kingdon 67240bb8bd Doc fix 1993-05-04 23:16:27 +00:00
Fred Fish a07c5a3f10 Update list of things explicitly sanitize away. 1993-05-04 20:11:25 +00:00
Jim Kingdon 5b8462fa63 * Makefile.in (depend): Include $(CC) command in generated output. 1993-05-04 19:25:24 +00:00
K. Richard Pixley 3ed8101170 * nindy-share/Onindy.c, nindy-share/nindy.c: convert malloc calls
to xmalloc.  Include defs.h.  Rename local macro from
	  REGISTER_BYTES to NINDY_REGISTER_BYTES to avoid conflict with
	  defs.h.
1993-05-04 06:40:01 +00:00
Fred Fish 5287eacdc2 * Makefile.in (NONSRC): Remove ${srcdir}/putenv.c.
* Makefile.in (SFILES):  Add ${srcdir}/putenv.c.
	* depend:  Update to latest automatically built version.
1993-05-04 05:57:03 +00:00
Stu Grossman f202f77810 * sparclite/Makefile.in: Create default target that does nothing
in order to force user to build by hand.
1993-05-04 02:42:36 +00:00
Stu Grossman 1e8005d0f0 * sparclite/Makefile: Remove. It's not necessary anymore. 1993-05-04 02:31:44 +00:00
Stu Grossman 9775789df6 * ser-unix.c (wait_for): New routine to handle read timeouts,
etc.  Uses poll() if HAVE_TERMIO[S] is defined, select() otherwise.
1993-05-04 02:22:14 +00:00
Fred Fish 7508b5b278 * snapshots.readme: Clarify bison/byacc/yacc notes. 1993-05-04 00:08:41 +00:00
Steve Chamberlain 8ae56378a0 Info on simulators. 1993-05-03 22:33:09 +00:00
Ian Lance Taylor 588cca9021 * mips-pinsn.c (print_insn): Return value. 1993-05-03 20:55:40 +00:00
Fred Fish ffcb19aa30 Update the last changed date. 1993-05-03 01:19:46 +00:00
Fred Fish 0f805efc73 Add info about bison, byacc, and yacc. 1993-05-03 00:57:36 +00:00
Fred Fish d8aaff820c * Makefile.in (NONSRC): Add 29k-share/README.
* Makefile.in (HFILES):  Add 29k-share/udi/udiids.h.
1993-05-02 22:27:05 +00:00
Fred Fish fa7303a42a Remove commented out copies of monitor.h and remote-montor.c 1993-05-02 22:00:25 +00:00
Fred Fish ebd99d5409 * defs.h (UINT_MAX, LONG_MAX, INT_MAX, INT_MIN): Replace hex
constants with slightly more portable definitions (still depends
	on 2's complement arithmetic though).
	* config/i386/nm-linux.h:  Define NO_SYS_REG_H for no <sys/reg.h>.
	* i386v-nat.c (sys/reg.h):  Conditionalize include on
	NO_SYS_REG_H.  Linux doesn't have <sys/reg.h>.
	* ser-unix.c (termio.h):  Include <termio.h> like other files that
	include termio.h, not <sys/termio.h> which may not exist (on
	linux for example).
1993-05-02 18:57:03 +00:00
Fred Fish 9b25bb09ce * valprint.c (print_longest): Change format parameter from a
'char' to an 'int'.  We can't have 'char' parameters with the
	current coding style, where we mix prototypes with pre-ANSI
	style declarations.
	* value.h (print_longest):  Change format parameter in prototype
	from a 'char' to an 'int'.
1993-05-01 23:09:11 +00:00
Peter Schauer 23654371e6 Fix typo in last ChangeLog message. 1993-05-01 09:59:16 +00:00
Peter Schauer 0142214462 * config/mips/tm-mips.h (STABS_REG_TO_REGNUM): Match it with the gcc
definition.
	* config/mips/tm-irix3.h (STABS_REG_TO_REGNUM): Add.
1993-05-01 09:56:13 +00:00
Peter Schauer dea149ce8d * config/mips/tm-mips.h (STABS_REG_TO_REGNUM): Match it with the gcc
definition.
	* config/mips/tm-irix3.h (STABS_REG_TO_REGNUM): Add.
	* irix4-nat.c (fill_fpregset): Fix bug with indexing into fpregsetp.
1993-05-01 09:55:01 +00:00
Stu Grossman 55bee667d8 * The following patches are from Jeffrey Law <law@cs.utah.edu>.
* config/pa/hppabsd.mh:  Add more files to NATDEPFILES.
	* config/pa/xm-hppa[bh].h: Define FIVE_ARG_PTRACE.
	* hppab-nat.c: Delete WANT_NATIVE_TARGET ifdefs.
	ptrace needs 5 arguments, #define ptrace to always
	pass zero as the 5th argument.
1993-05-01 01:39:20 +00:00
Stu Grossman 023a56c9df * remote-udi.c (udi_wait): Use SIGURG, as Solaris doesn't have SIGLOST. 1993-05-01 01:22:02 +00:00
Stu Grossman 2f1c04d17d * The following patches are from Jeffrey Law <law@cs.utah.edu>.
* config/pa/hppabsd.mh:  Add more files to NATDEPFILES.
	* config/pa/xm-hppa[bh].h: Define FIVE_ARG_PTRACE.
	* hppab-nat.c: Delete WANT_NATIVE_TARGET ifdefs.
	ptrace needs 5 arguments, #define ptrace to always
	pass zero as the 5th argument.
1993-05-01 01:19:43 +00:00
Steve Chamberlain 24725cfeeb Lint. 1993-05-01 00:51:36 +00:00
Steve Chamberlain a493d9a667 Try again. Cvs core dumped. 1993-05-01 00:51:23 +00:00
Steve Chamberlain c7cb90647b * configure.in: Match z8k-*-sim for z8000.
* config/h8500/tm-h8500.h, h8500-tdep.c: Lint.
	* remote-hms.c: Update to use new serial protocol.
1993-05-01 00:50:27 +00:00
K. Richard Pixley 5084717f91 * mips-tdep.c: remove include of sys/dir.h. Doesn't seem
necessary and Solaris doesn't have it.
1993-05-01 00:41:53 +00:00
K. Richard Pixley 0139c441ea do not echo recursion lines 1993-05-01 00:34:05 +00:00
K. Richard Pixley 8317b39ff3 * udip2soc.c (UDIConnect): replace union wait with int. 1993-05-01 00:31:02 +00:00
K. Richard Pixley 13b464b2cf * config/sparc/sun4sol2.mh (XM_CLIBS): add -lsocket which is
required target ports which use sockets (like a29k-udi).
1993-05-01 00:15:19 +00:00
K. Richard Pixley 5385e525fe * remove-udi.c (udi_wait): ifdef around SIGLOST usage. Eg,
Solaris doesn't have SIGLOST so use SIGURG as a backup.
1993-05-01 00:06:46 +00:00
Jim Kingdon eca2963437 * ser-unix.c [USE_{TERMIO,ALARM}_TIMEOUT]: New code to deal with
systems lacking select().
1993-04-30 22:15:28 +00:00
Jim Kingdon db7c818b4d * Makefile.in (TAGS): Doc fix. Deal with empty DEPFILES. 1993-04-30 22:08:46 +00:00
Jim Kingdon 8d57a263f5 doc fix 1993-04-30 18:06:32 +00:00
Fred Fish 496ca67cbd * alldeps.mak, depend: Update with latest automatically built
versions.
1993-04-30 17:08:02 +00:00
Fred Fish fb40210a5f * Makefile.in (GDBFLAGS): Set to -nx.
* Makefile.in (site.exp):  Use GDBFLAGS.
1993-04-30 16:45:40 +00:00
Fred Fish d5f608a465 * Makefile.in (SFILES): Add ser-unix.c and ser-go32.c. 1993-04-30 06:44:59 +00:00
Fred Fish 97e72c06bd * Makefile.in (make-proto-testsuite.dir): New target to make
prototype testsuite tree.
	* Makefile.in (TAGS):  Remove use of DEPFILES, it may be empty.
	In any case, it is a subset of the ALLDEPFILES list, which is
	part of SOURCES, which is part of TAGFILES, so it's redundant.
1993-04-30 06:28:30 +00:00
Fred Fish 3717e95b5d Bump version to 4.8.4 for gdb 4.9 prerelease testing. 1993-04-29 19:05:22 +00:00
Jim Kingdon 6897f9ec2e * stabs.texinfo: Many changes to include information from the
AIX documentation.
1993-04-29 18:32:19 +00:00
Jim Kingdon ff580c7b96 * stabsread.c (define_symbol): If unrecognized constant type,
complain() not error().
1993-04-29 17:19:11 +00:00
Jim Kingdon 562a18b21b * gdb.texinfo (Environment): Mention pitfall with .cshrc. 1993-04-29 16:38:20 +00:00
Fred Fish f43aec2e91 * infptrace.c: Add missing close paren to test for
FIVE_ARG_PTRACE defined.
1993-04-29 16:09:33 +00:00
Fred Fish 7efb57c33d * defs.h (CC_HAS_LONG_LONG): Set up to define CC_HAS_LONG_LONG
when compiling with gcc, but disable it for now.  See comment.
	* defs.h (LONGEST):  Define as either "long" or "long long"
	based on CC_HAS_LONG_LONG.
	* defs.h (longest_to_int):  Use CC_HAS_LONG_LONG to control
	how longest_to_int is defined.
	* c-valprint.c (c_val_print):  Call print_longest.
	* expprint.c (dump_expression):  Use PRINTF_HAS_LONG_LONG
	instead of LONG_LONG.
	* {printcmd.c, gdbtypes.h} (LONG_LONG):  Replace usages with
	CC_HAS_LONG_LONG.
	* printcmd.c (print_scalar_formatted):  Call print_longest
	and let it figure out what to do for PRINTF_HAS_LONG_LONG.
	* typeprint.c (print_type_scalar):  Call print_longest and let
	it figure out what to do for PRINTF_HAS_LONG_LONG.
	* valprint.c (val_print_type_code_int):  Call print_longest
	and let it figure out what to do for PRINTF_HAS_LONG_LONG.
	* stabsread.c (LONG_LONG):  Replace usages with CC_HAS_LONG_LONG.
	* value.h (struct value):  Replace usage of LONG_LONG with
	CC_HAS_LONG_LONG.
	* value.h (print_longest):  Add prototype.
	* values.c (LONG_LONG):  Replace usages with CC_HAS_LONG_LONG.
	* values.c (unpack_double):  Collapse code that was unnecessarily
	dependent on CC_HAS_LONG_LONG.  Use LONGEST instead of direct types.
	* values.c (value_from_longest):  Remove dependency on
	CC_HAS_LONG_LONG and just use LONGEST.
	* solib.c (solib_map_sections):  Use bfd_get_filename
	to access filename field.
	* solib.c (clear_solib):  Save filename and free it later, after
	bfd_close, since bfd_close may reference it.  Use bfd_get_filename
	to access the field.
	* config/convex/xm-convex.h (LONG_LONG):  Replace with
	CC_HAS_LONG_LONG.  Add define for PRINTF_HAS_LONG_LONG.
	* doc/gdbint.texinfo (LONG_LONG):  Replace with CC_HAS_LONG_LONG.
	Add PRINTF_HAS_LONG_LONG references.
1993-04-29 07:07:39 +00:00
Jim Kingdon 31b567269a * inflow.c (kill_command), infcmd.c (attach_command),
remote.c (remote_interrupt_twice): In messages for the user, call it
	"the program" or "the program being debugged" not "the inferior".
1993-04-28 23:34:24 +00:00
K. Richard Pixley ab8603eae5 add just-check target so that tests can be run without a noop build
pass.
1993-04-28 23:18:10 +00:00
Jim Kingdon 0626f40d92 * hp300ux-nat.c: Cast second arg to supply_register calls.
(_initialize_kernel_u_addr, getpagesize): New functions.
	(store_inferior_register_1): Change arg name from value to val.
	(fetch_core_registers): Make arg core_reg_size unsigned.
	Pass 5 args to ptrace.
	* config/m68k/xm-hp300hpux.h: Define FIVE_ARG_PTRACE.
	Remove KERNEL_U_ADDR stuff.
	* infptrace.c [FIVE_ARG_PTRACE]: Pass 5th arg to ptrace.
	* config/m68k/hp300hpux.m{t,h}:
	Move exec.o from NATDEPFILES to TDEPFILES
	* config/m68k/hp300hpux.mt: Mention GAS requirement.  Remove
	hp-include stuff.  Add m68k-tdep.o to TDEPFILES.
1993-04-28 21:20:40 +00:00
Peter Schauer d8f233201b * ch-exp.y (yylex): Don't STREQ with simplename if it is NULL. 1993-04-28 20:36:48 +00:00
K. Richard Pixley c1fb4e4913 Add CFALGS = -g to all subdir Makefile.in's. 1993-04-28 20:32:09 +00:00
Jim Kingdon 08bb261766 * config/sparc/xm-sun4os4.h [__STDC__]: Don't use MALLOC_INCOMPATIBLE. 1993-04-28 19:17:50 +00:00
Roland Pesch caa53d6d61 changes 1993-04-28 18:48:20 +00:00
Roland Pesch a1eff6c2ed Changes thanks to Jim Kingdon's vigilance:
* doc/gdb.texinfo: make node "Shell Commands" unconditional;
	describe `set demangle-style arm' (not cfront);
	mention can type `q' to discard output, when gdb pages
1993-04-28 18:44:58 +00:00
Peter Schauer 212e10cfdb * valops.c (search_struct_field): Fix gdb core dump with incomplete
stabs info.
1993-04-28 18:41:59 +00:00
Jim Kingdon ebdb9ade17 * remote.c: Change timeout to 2.
(remote_open): Use unpush_target not remote_close.
	(remote_resume): If siggnal != 0, give warning not error().
	(remote_wait, remote_interrupt, remote_interrupt_twice):
	If we get two interrupts, let the user get out if they want.
	(remote_{kill,mourn}): New functions.
	i386-stub.c (handle_exception, case 'k'): Don't BREAKPOINT.
1993-04-28 17:48:00 +00:00
Ian Lance Taylor c0f2f39c1c * config/sparc/sun4sol2.mh (XM_CLIBS): Define to be -lnsl. 1993-04-28 16:29:35 +00:00
Jim Kingdon 71607f9d62 * Remote targets (mourn): Call unpush_target. 1993-04-28 15:33:20 +00:00
Jim Kingdon e82980e4ec * config/sparc/xm-sun4os4.h: Declare free() to return int.
Remove twisted use of PARAMS.
1993-04-28 13:51:26 +00:00
Jim Kingdon 609e1c577b * config/rs6000/xm-rs6000.h: Don't define MALLOC_INCOMPATIBLE now
that ansidecl.h assumes ANSI on AIX.
1993-04-28 13:42:43 +00:00
Jim Kingdon a5e7f25953 * gdbint.texinfo (new node Debugging GDB, elsewhere):
Move a bunch of information from ../README.
	(Getting Started): New node.
1993-04-27 23:00:39 +00:00