Commit graph

2608 commits

Author SHA1 Message Date
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
Jim Kingdon
ab425a9ba0 * README: Move most stuff about hacking GDB to doc/gdbint.texinfo.
(Known bugs): Remove AIX bugs, revise SPARC struct bug description.
1993-04-27 22:59:03 +00:00
Peter Schauer
f661c4ca08 * expprint.c (print_subexp): Fix bug with OP_SCOPE operator output. 1993-04-27 20:46:25 +00:00
Jim Kingdon
ebe8362f90 * remote-vx.c (net_connect): Allow numeric IP address for host. 1993-04-27 17:27:24 +00:00
Steve Chamberlain
9faacb925f Support for Hitachi SH 1993-04-27 01:17:32 +00:00
Jim Kingdon
9aa31e91d6 * rs6000-tdep.c (branch_dest): Deal with stepping through system call. 1993-04-26 16:44:03 +00:00
Jim Kingdon
194d98c69e * symtab.h, xcoffread.c: Revise linetable sorting comments. 1993-04-26 14:20:57 +00:00
Peter Schauer
24d45a6319 * valops.c (value_cast): A cast might also change the object
representation in C++.
	* dbxread.c (end_psymtab): Copy subpst read_symtab function from pst
	to get the proper read_symtab function when called from mipsread.c.
	* mipsread.c (mipscoff_psymtab_to_symtab, psymtab_to_symtab_1):
	Set cur_bfd in psymtab_to_symtab_1 as CURBFD(pst) is invalid
	for dummy psymtabs, inhibit processing of dummy psymtabs.
1993-04-25 09:33:49 +00:00
Jim Kingdon
87237c5250 * Changes from (or inspired by) AMD:
* remote-udi.c (udi_attach): Assignments to Space and Offset were
	switched, fix it.
	(udi_wait): Make error message (UDIGetStdout) match error.
	(udi_wait): Handle UDIStdinNeeded.
	* command.c [CANT_FORK]: Use system().
	* utils.c (prompt_for_continue): Allow quit with 'q'.
1993-04-25 04:49:34 +00:00
Jim Kingdon
8cba9703cd * solib.c (solib_add): Don't call special_symbol_handling if there
were errors in symbol_add_stub.  Also set so->from_tty before
	calling symbol_add_stub.
1993-04-25 03:02:32 +00:00
K. Richard Pixley
b6423cec40 switch from configuration from subdirs to configdirs 1993-04-24 01:16:18 +00:00
Roland Pesch
a64a6c2b7d gdbinv-s.texi, gdb.texinfo: include Hitachi SH target
gdb.texinfo: advance manual revision dates to present

gdbinv-s.texi, gdb.texinfo, all-config.texi, h8-config.texi:
stop using silly Roman numerals in @set variable names
1993-04-24 00:29:01 +00:00
Stu Grossman
66a1aa071e * Merge in HPPA/BSD patches from Utah:
* defs.h:  Add const to 2nd arg of psignal prototype.
	* hppah-tdep.c:  Renamed to hppa-tdep.c 'cuz it's common code with
	BSD now.
	* hppab-core.c:  Deleted.  No longer useful.
	* hppab-nat.c:  #include more files.  Use PT_WUREGS, not
	PT_WRITE_U.
	* hppab-tdep.c:  Deleted.  Supplanted by hppa-tdep.c.
	* config/pa/hppabsd.mh (NATDEPFILES):  Remove hppab-core.o.
	* config/pa/hppabsd.mt (TDEPFILES):  hppab-tdep.o => hppa-tdep.o
	* config/pa/hppahpux.mt (TDEPFILES):  hppab-tdep.o => hppa-tdep.o
	* config/pa/xm-hppab.h:  #define SET_STACK_LIMIT_HUGE.
1993-04-23 23:43:18 +00:00
Stu Grossman
b5728692b4 * Fix two bugs found by deja-gnu. One is the incorrect reporting
of the PC being in a stack dummy when looking at a core file
	without symbols.  The other is the incorrect passing of char
	arguments during expression evaluation (ie: p foo('a','b') would
	mess up the passing of it's args because it wasn't coercing the
	char's to ints).
	* hppah-tdep.c:  Rename global functions to have consistent hppa_
	prefix.  Make more functions static.  Drop hp_ prefix from static
	functions.  (hppa_push_arguments):  Call value_arg_coerce to cast
	char to int args if necessary.  (hppa_fix_call_dummy):  Create
	this routine from FIX_CALL_DUMMY macro in tm-hppa.h.
	* inferior.h (PC_IN_CALL_DUMMY):  Check for frame_address being
	valid (ie: != 0) before doing comparison against PC.
	* valops.c (call_function_by_hand):  Adjust call to FIX_CALL_DUMMY
	to reflect new arguments.
	* config/pa/tm-hppa.h (POP_FRAME, PUSH_ARGUMENTS):  Use new hppa_
	prefix for func	name.  (FIX_CALL_DUMMY):  Move code into
	hppah-tdep.c.

	* testsuite/gdb.t16/gdbme.c, testsuite/gdb.t17/gdbme.c:  Add calls
	to malloc() so that we can test GDB eval of dynamically created
	arrays (like char strings in `print "foo"').
1993-04-23 18:01:02 +00:00
Jim Kingdon
c156f3c1c9 more on Parameters 1993-04-23 16:27:10 +00:00
Jim Kingdon
9c5c272236 Doc fixes to previous doc fixes. 1993-04-23 15:12:25 +00:00
Jim Kingdon
ed9708e289 * stabs.texinfo (Parameters): Keep trying to get this right. 1993-04-23 14:51:06 +00:00
Jim Kingdon
a2a2eac845 * stabs.texinfo (Parameters): Keep trying to get this right. 1993-04-23 14:51:03 +00:00
Peter Schauer
7586127f7e * printcmd.c (print_address_symbolic): Search symtabs as well as the
minimal symbols for a nearby symbol.
1993-04-23 08:42:03 +00:00
John Gilmore
158a071143 Comment changes around minimal symbol recording. 1993-04-23 02:46:00 +00:00
K. Richard Pixley
4c16b95752 document FRAME_SAVED_PC and FRAME_CHAIN. 1993-04-22 23:38:30 +00:00
K. Richard Pixley
f936e20d33 comment changes only 1993-04-22 23:34:57 +00:00
K. Richard Pixley
3127785acd * mips-tdep.c (heuristic_fence_post): new static variable.
(heuristic_proc_start): use heuristic_fence_post, print better
	  warnings, but only if not stop_soon_quietly.
	  (_initialize_mips_tdep): add_set_cmd for heuristic-fence-post.
1993-04-22 23:32:33 +00:00
Jim Kingdon
5afa2040f4 Thu Apr 22 14:50:05 1993 Jim Kingdon (kingdon@cygnus.com)
* symtab.h: Fix LOC_REF_ARG comment.

Wed Apr 22 20:21:30 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
			  and Jim Kingdon (kingdon@cygnus.com)

	* stabsread.c (define_symbol): Combine a 'p', 'r' arg pair to a
	LOC_REGPARM symbol.
	* config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Revise comments.
	symfile.c (compare_symbols): Don't check first character; STRCMP
	does that.

	* stabsread.c (define_symbol): Generate a LOC_REGPARM_ADDR for
	structures that are passed by address in a register.
	* symtab.h (enum address_class): Add LOC_REGPARM_ADDR.
	* findvar.c (read_var_value),
	printcmd.c (address_info, print_frame_args),
	stack.c (print_frame_arg_vars), symmisc.c (print_{,partial_}symbol),
	* symtab.c (lookup_block_symbol): Deal with it.
1993-04-22 22:27:25 +00:00
Jim Kingdon
4365c36c9b * objfiles.h (obj_section), objfiles.c (build_objfile_section_table):
Add objfile field.
	* objfiles.c (find_pc_section): Return a struct obj_section *.
	* sparc-tdep.c (in_solib_trampoline): Deal with find_pc_section return.
	* symfile.c (syms_from_objfile) [IBM6000_TARGET]:
	Don't use obj_section hack.
	* xcoffexec (vmap_symtab): Relocate obj_sections.
	* printcmd.c (containing_function_bounds): Use find_pc_section.
1993-04-22 20:42:37 +00:00
Fred Fish
87fe2d9df2 Save the README file for gdb snapshots here for now. Make note in
the .Sanitize file that snapshots.readme is explicitly not kept by
default.
1993-04-22 18:31:36 +00:00
Jim Kingdon
fce30fa15e * symtab.h: Clean up SYMBOL_VALUE comments. 1993-04-22 16:12:31 +00:00
Ian Lance Taylor
5959dcea09 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
works.
1993-04-22 15:33:31 +00:00
Jim Kingdon
fc312cc6f9 revise comment for last change 1993-04-22 04:05:51 +00:00
Jim Kingdon
98ef6f3188 * stabs.texinfo (Parameters): More on "local parameters". 1993-04-21 22:21:41 +00:00
Jim Kingdon
31258e4f6f * stack.c (print_frame_arg_vars), printcmd.c (print_frame_args):
Expand comments about LOC_ARG/LOC_LOCAL pairs.
1993-04-21 22:20:53 +00:00
Jim Kingdon
f2c365f517 * coffread.c (read_coff_symtab): Use rewind before fseek. 1993-04-21 21:49:07 +00:00
Per Bothner
32d8a6d3e4 * ch-exp.y: Removed unused structure_primitive_value and FIXME_23.
* Makefile.in:  Add $(YFLAGS) when using $(YACC).
	* Makefile.in:  Remove message to expect conflicts and unused
	rules in ch-exp.y, since there no longer are any such.
1993-04-21 21:29:03 +00:00
David D. Zuhn
1b5c6c0542 fix stabs.texinfo xref bugs 1993-04-21 20:29:16 +00:00
Rob Savoye
d27960e794 Fixed typos so paths for executables works again. 1993-04-21 04:18:11 +00:00
Roland Pesch
b0157555b6 (1) reduce the amount of text highlighted in warning at end of
"Program variables" section
(2) introduce a few blank lines in menus to work around remaining makeinfo bugs
1993-04-21 00:29:58 +00:00
Roland Pesch
1a39a97f4e This is the real generic configuration. Earlier versions checked in
seem to be copies of H8 config.
1993-04-21 00:09:38 +00:00
Fred Fish
fbc3492c31 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
in explicit rules.  Apparently this is not supported by some makes.
1993-04-20 20:41:42 +00:00
Jim Kingdon
4cdcf3b9b3 * xcoffexec.c (xcoff_relocate_core): If no exec file, error()
rather than dumping core.
1993-04-20 20:21:40 +00:00
Jim Kingdon
24c2857c22 * Makefile.in: Add ${srcdir}/ to all source files.
(alldeps.mak): Add "${srcdir}/" to files in alldeps.mak.
	(TAGS): Deal with srcdir and new config directory scheme.
	createtags: Remove.
	Makefile.in (NONSRC): Remove createtags.
	alldeps.mak: Updated.
1993-04-20 19:29:06 +00:00
Jim Kingdon
cee86be37f * rs6000-tdep.c: Delete unused function print_frame.
* frame.h (struct frame_info): Doc fix for next_frame.
	New field signal_handler_caller.
	blockframe.c (create_new_frame, get_prev_frame_info),
	config/rs6000/tm-rs6000.h (INIT_EXTRA_FRAME_INFO): Set it (needs
	INIT_FRAME_PC_FIRST).
	stack.c (print_frame_info), rs6000-tdep.c (rs6000_frame_chain):
	Check it.
1993-04-20 18:02:54 +00:00
Stu Grossman
01f5a1f825 * irix4-nat.c (fetch_core_registers): Special version of this for
Irix 4.x, which stores regs a bit differently from other /proc
	based systems.
	* procfs.c, core-svr4.c:  Move fetch_core_registers from procfs.c
	to new file core-svr4.c.
	* config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh,
	config/i386/ncr3000.mh, config/sparc/sun4sol2.mh:  Add core-svr4.o
	to NATDEPFILES.
	* config/mips/irix4.mh:  Add corelow.o to NATDEPFILES.
1993-04-20 17:06:36 +00:00
Fred Fish
33c01d94ca Remove CVS directory from list of things to keep. 1993-04-20 16:49:33 +00:00
Stu Grossman
9583b29548 * irix4-nat.c (fetch_core_registers): Special version of this for
Irix 4.x, which stores regs a bit differently from other /proc
	based systems.
	* procfs.c, core-svr4.c:  Move fetch_core_registers from procfs.c
	to new file core-svr4.c.
	* config/i386/i386sol2.mh, config/i386/i386v4.mh, config/m68k/amix.mh,
	config/i386/ncr3000.mh, config/sparc/sun4sol2.mh:  Add core-svr4.o
	to NATDEPFILES.
	* config/mips/irix4.mh:  Add corelow.o to NATDEPFILES.
1993-04-20 06:01:56 +00:00
Jim Kingdon
3f06498af4 changes for SVR3.2 1993-04-19 18:34:55 +00:00
Jim Kingdon
058eb7667b * xcoffread.c: Nuke NO_DEFINE_SYMBOL code. There is no going back.
* stabsread.c (define_symbol): 'R' is synonym for 'P', not 'r'.
	xcoffread.c (process_xcoff_symbol, case C_RPSYM):
	Don't muck with SYMBOL_CLASS.
1993-04-19 17:39:24 +00:00
Jim Kingdon
b82ea042b4 * stabs.texinfo (Parameters): Re-do "local parameters" section. 1993-04-19 15:02:51 +00:00
John Gilmore
512e5f9469 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh. 1993-04-19 08:56:05 +00:00
Rob Savoye
cc49ffa06b Back to creating a local config fil to be safe. Pass --target for "make
check"
1993-04-19 05:04:41 +00:00
Rob Savoye
faea916b2f Minor indenting changes. 1993-04-19 05:03:42 +00:00
Jim Kingdon
497e44a5f8 * stabs.texinfo (Symbol descriptors): Re-do using @table and @xref.
(Parameters): Rewrite.
	(xcoff-differences, Sun-differences): Minor changes.
1993-04-18 17:38:35 +00:00
Stu Grossman
04c6a64fdd * munch: Don't use head command. It doesn't exist everywhere. 1993-04-17 00:39:55 +00:00
Fred Fish
5aefc1ca23 Remove chill sanitizations, which are no longer necessary. 1993-04-16 23:22:41 +00:00
Fred Fish
b1086bf532 Remove chill sanitization stuff and add chill files to keep list. 1993-04-16 22:26:21 +00:00
Fred Fish
fbf22c8b31 Remove chill sanitize lines that are no longer needed. 1993-04-16 22:21:33 +00:00
Fred Fish
9c22565940 * inflow.c (new_tty): Remove spurious 'o' character at end
of #endif line.
1993-04-16 22:15:26 +00:00
Peter Schauer
e157305cd9 * mips-tdep.c (mips_skip_prologue): Always skip the typical prologue
instructions and nothing more.
	* mipsread.c (add_line): Add comment why we have to combine line number
	entries for the same line number.
1993-04-16 19:29:14 +00:00
Jim Kingdon
95330ec393 More doc fixes 1993-04-16 17:46:01 +00:00
Jim Kingdon
0b28c26082 * symtab.{c,h}: Doc fixes (remove symseg references, last relevant
in gdb 2.8!).
1993-04-16 17:36:49 +00:00
Peter Schauer
987b4233ae * config/unix-gdb.exp: Add back missing return 0 which mysteriously
disappeared.
1993-04-16 16:39:49 +00:00
Fred Fish
dd052d9a4b * depend, alldeps.mak: Update, now that gcc -MM bug is fixed. 1993-04-16 04:19:09 +00:00
Jim Kingdon
9fa59efdd9 * source.c (select_source_symtab): Clean up comment. Also, if
we have a current_source_symtab, and s is NULL, return without
	doing anything.
	xcoffread.c (xcoff_symfile_read): Don't call select_source_symtab.
	breakpoint.c (breakpoint_re_set): Don't call select_source_symtab.
1993-04-15 20:11:01 +00:00
John Gilmore
6f49b01e47 * dbxread.c (unknown_symchar_complaint): Add new complaint.
* stabsread.h:  Declare it.
* partial-stab.h:  Use it.
1993-04-15 09:43:33 +00:00
John Gilmore
65ce5df44f * dbxread.c (unknown_symchar_complaint): Add new complaint.
* stabsread.c:  Declare it.
* partial-stab.h:  Use it.

* utils.c (malloc_botch):  Don't forward-declare if NO_MMALLOC.
1993-04-15 09:41:59 +00:00
John Gilmore
4d7f562d49 Minor cleanup. 1993-04-15 09:35:54 +00:00
John Gilmore
acb771de03 Avoid $< in explicit rule. 1993-04-15 09:28:58 +00:00
Jim Kingdon
df2a1bd7d9 * stack.c (print_frame_info): Print specially if dummy frame. 1993-04-15 03:36:02 +00:00
Jim Kingdon
fa99ebe19f * breakpoint.c: Add comments regarding within_scope future direction. 1993-04-15 01:45:35 +00:00
Jim Kingdon
ee7e82fedb Version 4.8.3 1993-04-15 01:13:52 +00:00
Jim Kingdon
3a8bc841b0 minor xcoff changes 1993-04-15 00:33:51 +00:00
Jim Kingdon
486b440e04 * xcoffread.c (record_include_{begin,end}): Change fatal to complain. 1993-04-15 00:14:37 +00:00
Fred Fish
a08317af9f * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
watchpoint problem that is now fixed.
	* gdb.t30/chexp.exp:  Remove setup_xfail for printing
	uninitialized convenience variables.
	* gdb.t31/chillvars.exp:  Fix expected patterns for printing
	structures.
1993-04-14 23:43:51 +00:00
Per Bothner
c9a9bf776c * ch-exp.y: Fix thinko that broke parsing of FALSE. 1993-04-14 21:04:50 +00:00
Peter Schauer
39cb3d0488 * stabsread.c (read_member_functions): Initialize domain for stubbed
member functions to avoid gdb core dumps when printing pointers
	to member functions.
	* cp-valprint.c (cp_print_class_method): Check for stubbed member
	functions.
1993-04-14 19:53:11 +00:00
Per Bothner
b54a2f2d90 Note changes to gdb.t31/chillvars.exp. 1993-04-14 06:21:34 +00:00
Jim Kingdon
e2ff731bf7 * expprint.c (print_subexp): If opcode not found in op_print_tab,
stop with an error().
	eval.c (evaluate_subexp): Change error message.
1993-04-13 19:18:37 +00:00
Jim Kingdon
ccd87bf2b4 * objfiles.c (build_objfile_section_table): Cast return value
from obstack_finish.
1993-04-13 15:31:29 +00:00
Jim Kingdon
f36492275c * config/rs6000/tm-rs6000.h, rs6000-tdep.c: Move FRAME_CHAIN
to rs6000_frame_chain and deal with it if we're in a signal handler.
	(FRAME_SAVED_PC): Use rs6000_frame_chain.
1993-04-13 06:15:14 +00:00
Rob Savoye
ce30725700 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path. 1993-04-12 22:27:06 +00:00
Rob Savoye
32a02b2a49 Make sure $GDB contains a real program. 1993-04-12 22:15:10 +00:00
Jim Kingdon
0a819c0429 * breakpoint.c (within_scope): New function.
(enable_breakpoint, watchpoint_check): Use it.
1993-04-12 21:22:46 +00:00
Jim Kingdon
affc968624 source.c (openp): Handle "exec-file ./ls" correctly. 1993-04-12 18:21:25 +00:00
Jim Kingdon
0a62ff3608 (breakpoint_1): use wrap_here before "at" 1993-04-12 17:56:35 +00:00
Ian Lance Taylor
9a9a88c18f Fix typo, change appropriate instances of -2 to SERIAL_TIMEOUT, add
explicit != 0 tests, improve comments.
1993-04-10 20:25:54 +00:00
Per Bothner
5a7c9cceb7 * ch-exp.y: Clean up lexing of identifiers and
reserved words.  (E.g. don't recognize FALSEXXX as the
	keyword FALSE followed by the identifier XXX.)
	Also, convert identifiers to lower case.
1993-04-10 08:35:32 +00:00
Stu Grossman
1724c671da * remote-mips.c, remote-monitor.c, remote-st2000.c: Convert to
new serial interface.
1993-04-09 22:55:00 +00:00
Stu Grossman
4febd10272 * remote.c (remote_open): Use SERIAL_OPEN instead of serial_open.
(putpkt, getpkt):  Use new return codes for SERIAL_READCHAR.
	* ser-go32.c:  Return -1 on most failures, 0 on most successes,
	and use new return codes for go32_readchar().
	* ser-unix.c:  Ditto.  Also, move error handling up to caller for
	SERIAL_SETBAUDRATE().
	* serial.c (serial_open):  Internal call, not SERIAL_OPEN to get
	to specific routine.
	(serial_close):  New routine to wrap around device close routine.
	serial.h:  Clean & document return values more clearly.
1993-04-09 22:14:04 +00:00
Jim Kingdon
944c1c2f31 * rs6000-pinsn.c (print_operand): Deal with no operand instructions.
* rs6000-pinsn.c (print_operand, case LI): Print condition register
	operand in decimal rather than wrong textual versions.
1993-04-09 20:54:02 +00:00
Jim Kingdon
21486670ae * printcmd.c (_initialize_printcmd): Clean up docstring for "x"
(mention 't', remove false thing about 'g' only good with 'f').
1993-04-09 18:06:45 +00:00
Jim Kingdon
ddc6e6f785 * breakpoint.h: move "struct breakpoint" and friends to top of
file so that bpstat_find_breakpoint prototype works.
1993-04-09 17:51:40 +00:00
Jim Kingdon
a80c7bf67c * solib.c (struct so_list): Add bfd field.
(solib_map_sections): Leave bfd open and scratch_pathname allocated.
	Put the bfd in bfd field of the so_list.
	(clear_solib): Free bfd name and close_bfd on the bfd.
1993-04-09 17:43:59 +00:00