Commit Graph

2411 Commits

Author SHA1 Message Date
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