Commit Graph

2711 Commits

Author SHA1 Message Date
Jim Kingdon
75fa3e0fd2 * Remove unused STACK_END_ADDR in the following files (in other
files it is used for something): tm-mips.h, tm-sun2.h, tm-news.h,
	tm-a29k, tm-i386v.h, tm-hppa.h, tm-nindy960.h, tm-amix.h,
	tm-hp300hpux.h, tm-isi.h.
1993-07-02 18:48:44 +00:00
Jim Kingdon
56f413cd8f * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
rather than actually putting it through cpp twice.
1993-07-02 18:26:55 +00:00
Jim Kingdon
79f3218c2a * gdb.t06/signals.exp: Add xfails unixware and rs6000. 1993-07-02 18:11:23 +00:00
Ian Lance Taylor
eae166985b * config/mips-gdb.exp (gdb_exit): Removed close statement which is
no longer needed.
1993-07-02 17:49:32 +00:00
Jim Kingdon
b4ace9d36f * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn. 1993-07-02 17:00:33 +00:00
Jim Kingdon
38e1dd5415 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
C++ features prints as "struct", make it a pass, not an xfail.
1993-07-02 14:13:09 +00:00
Jim Kingdon
b2bebdb0f1 * gdbtypes.h (struct type): Add field tag_name.
* gdbtypes.c (type_name_no_tag), c-typeprint.c (c_type_print_base):
	Use it.
	* {coff,dwarf,mips,stabs}read.c: Set it.
1993-07-02 02:57:06 +00:00
Jim Kingdon
3fe11d4734 * ser-unix.c (hardwire_noflush_set_tty_state): Use an assignment,
not an initializer, to copy the structure.
1993-07-02 02:50:43 +00:00
Jim Kingdon
e5307300ce * config/mips/nm-riscos.h: Define NBPG and UPAGES.
config/mips/xm-riscos.h: Include <sys/types.h>.
1993-07-02 02:48:59 +00:00
Jim Kingdon
b55cc8a268 * gdb.t06/twice.exp: Don't care about the file name GDB prints. 1993-07-02 01:37:50 +00:00
Jim Kingdon
1f72a94a6a * xm-sysv4.h: Undefine HAVE_TERMIO. 1993-07-01 22:04:17 +00:00
Roland Pesch
b78d91ff99 * refcard.tex (\hoffset): correct longstanding error to match
intended offset; avoids cutting off edge on some printers
1993-07-01 21:59:16 +00:00
Jim Kingdon
3762d62487 * mips-nat.c (fetch_core_registers): If KERNEL_U_ADDR is not defined,
we can still process "modern" core files.
1993-07-01 21:07:02 +00:00
Jim Kingdon
0abbc7715f miscellaneous fixes to make RISC/os work; see ChangeLog's 1993-07-01 21:00:15 +00:00
Jim Kingdon
a77a5278a4 * ser-unix.c (hardwire_print_tty_state) [HAVE_TERMIOS]: Don't
print c_line.
	(_initialize_ser_hardwire): Just check whether _POSIX_JOB_CONTROL
	is defined; don't care what it is defined to.
1993-07-01 18:22:02 +00:00
Jim Kingdon
95f2d25323 * config/vax/xm-vaxult2.h: Define FD_SET and FD_ZERO. 1993-07-01 01:10:22 +00:00
Jim Kingdon
907a9cabb8 * stabs.texinfo (Parameters): Say that order of stabs is significant. 1993-06-30 23:28:24 +00:00
Jim Kingdon
e02c07a5ef * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end. 1993-06-30 23:05:47 +00:00
Jim Kingdon
c2e247c4ff * inftarg.c: Remove unused include of terminal.h.
* signals.h: Don't undefine signals anymore.
	* main.c: Use job_control from serial.h.
	* fork-child.c (fork_inferior): Use gdb_setpgid.
	* serial.h, ser-unix.c, ser-go32.c: Provide gdb_setpgid.
	* utils.c (quit): Use current_target->to_terminal_ours to figure
	out whether we care about lack of job control, rather than __GO32__.
	* utils.c: Include serial.h not terminal.h
	(quit): Use job_control not TIOCGPGRP.
	* terminal.h: Don't undefine TIOCGPGRP.
	* serial.h, ser-unix.c, ser-go32.c, ser-tcp.c: Add SERIAL_FLUSH_OUTPUT.
	* utils.c (quit): Use it.
	* serial.h: Add SERIAL_UN_FDOPEN.
	* utils.c (quit): Use it.
	* ser-unix.c: Add process group to ttystate.
	[HAVE_SGTTY]: Add tchars, ltchars, and lmode to ttystate.
	* inflow.c: Include serial.h not terminal.h.
	Use serial.h stuff to replace most of the maze of #ifdef's.
	* inflow.c, main.c, inferior.h: make gdb_has_a_terminal a function.
	* serial.h: Document SERIAL_SET_TTY_STATE as being immediate.
	* ser-unix.c: Use TIOCSETN not TIOCSETP so it is true.
	* serial.h, ser-unix.c, ser-go32.c, ser-tcp.c:
	Add SERIAL_PRINT_TTY_STATE, SERIAL_NOFLUSH_SET_TTY_STATE, and
	SERIAL_SET_PROCESS_GROUP.
	* inflow.c: Use them.
	* config/xm-svr4.h, config/rs6000/xm-rs6000.h, config/sparc/sun4os4.h:
	Define HAVE_TERMIOS.
	* Various: Remove all use of TIOC*_BROKEN.
1993-06-30 22:20:53 +00:00
Peter Schauer
eed6de01f2 * config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define. 1993-06-30 19:23:35 +00:00
Peter Schauer
76a1bd4cc0 * symtab.h (BLOCK_SHOULD_SORT): Do not sort blocks corresponding to
a function to avoid printing of function arguments in wrong order
	due to sorting.
	* symfile.c (compare_symbols):  Remove code for sorting arguments
	as blocks containing arguments are no longer sorted.
	* symtab.c (lookup_block_symbol):  Update comment accordingly.
1993-06-29 20:18:26 +00:00
Jim Kingdon
a4374df58d bugfix 1993-06-29 18:53:40 +00:00
Jim Kingdon
64b097786a * config/pa/tm-hppa.h: Remove unused ARGS_GROW_DOC.
(REG_STRUCT_HAS_ADDR): Add comment.
1993-06-29 18:27:56 +00:00
Jim Kingdon
366f286982 * gdb.t16/printcmds.exp: Add printf tests. 1993-06-29 17:51:19 +00:00
Jim Kingdon
38c41e9209 * gdb.t06/{twice.{c,exp},Makefile.in}: New test. 1993-06-29 17:13:28 +00:00
Jim Kingdon
025abdfbd3 * symtab.h: Add comments about line numbers. 1993-06-29 16:55:29 +00:00
Jim Kingdon
a8c2562115 * infrun.c (wait_for_inferior): Use find_pc_line not find_pc_symtab
to check whether there is line number information.
1993-06-29 16:54:23 +00:00
David D. Zuhn
fe76016acb fix docstring so that it compiles 1993-06-29 16:02:41 +00:00
David D. Zuhn
77641260c5 fix include file ordering problem (bfd.h vs. symfile.h) 1993-06-29 15:30:57 +00:00
Jim Kingdon
fd09c96316 * dbxread.c (process_one_symbol): If we find a LOC_BLOCK where we
don't expect it, change it to LOC_STATIC so at least we don't coredump.

	* c-typeprint.c (c_type_print_base): Don't error() on invalid type.
1993-06-29 15:25:27 +00:00
Jim Kingdon
d63aae7f32 * symtab.h (struct symtab, line_charpos): Fix comment.
* source.c (identify_source_line): Fix off by one bug with line.
1993-06-29 14:47:17 +00:00
Jim Kingdon
b4e899792d * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too. 1993-06-29 14:24:36 +00:00
Jim Kingdon
f9dd88b41e * config/pa/xm-pa.h: New file.
* config/pa/xm-hppa{b,h}.h: Include it.
1993-06-28 22:35:18 +00:00
Jim Kingdon
c702007b17 x 1993-06-28 22:34:29 +00:00
Jim Kingdon
53fc6c46e9 config/m88k/xm-delta88.h: Remove VPRINTF define, not needed. 1993-06-28 19:18:56 +00:00
Jim Kingdon
6b9561a423 * xcoffread.c: Remove obsolete NO_TYPEDEFS comment. 1993-06-28 17:38:30 +00:00
Jim Kingdon
44443a9b09 * gdb.stabs/wierd.exp: Add xfail for rs6000. 1993-06-28 15:15:23 +00:00
Jim Kingdon
f492b6c11b * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
{BEGIN,END}_COMMON for common block instead of STAB.
1993-06-28 15:03:27 +00:00
Jim Kingdon
884e8cd43e * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
intp_var should be N_GSYM not N_LSYM.
	wierd-aout.S: Use a label for the value of the N_SO.
	wierd.def: Remove all backslashes.
	wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
1993-06-28 14:34:46 +00:00
Peter Schauer
9325d5afa3 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
get the expected next to inheritance3.
1993-06-28 14:23:11 +00:00
Rob Savoye
6214895281 Works again. 1993-06-28 01:43:34 +00:00
Peter Schauer
d2b860e3a7 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
now that gcc-2.4 gets it right.
1993-06-27 19:31:36 +00:00
Peter Schauer
be2860fbf3 * valprint.c (val_print_type_code_int): Fix off by one error with
eliminating leading zeroes for large little endian integers.
1993-06-27 15:56:44 +00:00
Jim Kingdon
42280556eb * config/mips/riscos.mh (CC): Use -systype sysv. 1993-06-27 14:28:30 +00:00
Jim Kingdon
68d2db622d * ser-unix.c: Move #include of <sys/time.h> to HAVE_SGTTY section. 1993-06-27 14:16:34 +00:00
Jim Kingdon
ee0d1b6565 * Makefile.in (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h. 1993-06-27 14:06:28 +00:00
Jim Kingdon
2de1aa1cc9 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test. 1993-06-26 03:30:24 +00:00
Jim Kingdon
11d1934593 revisions to just-checked-in stuff re common blocks 1993-06-26 03:25:03 +00:00
Jim Kingdon
e0020f272e * stabs.texinfo (Common Blocks): Say what Sun FORTRAN does. 1993-06-26 02:39:05 +00:00
Jim Kingdon
751b4006af * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
CALL_DUMMY between different 68k machines.
1993-06-26 02:05:54 +00:00
Jim Kingdon
ea2455a939 * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
CALL_DUMMY between different 68k machines.
1993-06-26 01:44:56 +00:00
Stu Grossman
41e170e271 * gdbserver/Makefile.in: Add dependancies on server.h.
* gdbserver/remote-gutils.c:  Remove lots of unused functions and
	variables.
	* gdbserver/remote-inflow.c:  Remove lots of unused variables and
	#includes.  Also, use PTRACE_* symbols instead of constants.
	(mywait):  Surround calls to wait() with enable/disable_async_io()
	so that we can be interrupted from GDB while waiting for the
	child.  Also, handle child exit more gracefully.
	* gdbserver/remote-server.c:  Remove lots of unused variables.
	Move all extern defs into server.h.  Redo main loop so that
	failure from getpkt() causes communications to be re-established.
	Fix 'k' command so that it restarts the child.
	* gdbserver/remote-utils.c:  Remove lots of unloved vars and
	subrs.  Move many extern decls into server.h.  (remote_open):  For
	tcp, seperate usage of proto fd from connected fd.  Close proto
	fd after getting connection.  (putpkt/getpkt):  Pay attention to
	errors when reading/writing.  Report these to the caller.  New
	routines input_interrupt/enable_async_io/disable_async_io to make
	it possible to get an I/O interrupt when data arrives from the
	comm link.
	* serial.h:  New file to contain common defs for all remote files.
1993-06-26 00:41:00 +00:00
Stu Grossman
a037b21e75 * remote.c: Add arg names to prototypes, in a modest effort at
clarification.  Also add prototypes for some new functions.
	* (remote_wait):  Better error reporting for 'T' responses.
	* ser-go32.c (strncasecmp):  Make str1 & str2 be const.
	* (dos_async_init):  Make usage message reflect requested port #.
	* ser-tcp.c (tcp_open):  Terminate hostname properly to prevent
	random hostname lookup failures.  Add nicer message for unknown
	host error.  (wait_for):  Wake up in case of exceptions.  Also,
	restart select() if we got EINTR.
	* ser-unix.c (wait_for):  Restart select() if we got EINTR.
	* serial.c: (serial_close):  Clean up code.
1993-06-26 00:22:30 +00:00
Roland Pesch
2685ead7d6 * Makefile.in: (REFEDITS) new var to control whether PS or CM
fonts and whether US or A4 paper for GDB refcard; (refcard.dvi)
	collect sed edits if any, apply to refcard before formatting;
	(refcard.ps) stop implying PS fonts if PS output requested;
	(lrefcard.ps) delete extra target for variant PS fonts

	* refcard.tex: parametrize papersize dependent info, collect
	  in easily replaced spot

	* a4rc.sed: new file, edits to refcard for A4 paper
1993-06-25 23:20:43 +00:00
Jim Kingdon
a4cb75b801 add comment 1993-06-25 22:34:44 +00:00
Jim Kingdon
16e1d1d361 doc fix 1993-06-25 22:30:46 +00:00
Jim Kingdon
f3fe62b125 * Makefile.in (*.tab.c): Use ./c-exp.tab.c not just c-exp.tab.c.
Make comment explaining this comprehensible.
	(TAGFILES): Include ALLDEPFILES.
	(ALLDEPFILES): udi2soc.c and udr.c are in 29k-share/udi, not
	29k-share/udi/udi.
	(update-alldeps): Remove; obsolete.
1993-06-25 20:28:06 +00:00
Jim Kingdon
e50ebec874 * remote.c: Move comments regarding packets to top of file with the
rest of the protocol comments.
	Fix incorrect description of 'T' response.
1993-06-25 19:44:18 +00:00
Jim Kingdon
3576a41210 * README (Reporting Bugs): Refer people to the GDB manual. 1993-06-25 19:35:35 +00:00
Jim Kingdon
455c860321 * stabs.texinfo (Negative Type Numbers): Type -16 is 4 bytes. 1993-06-25 19:32:18 +00:00
Jim Kingdon
7e71985c9e * c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
* stabsread.c: Type -16 is 4 bytes.
1993-06-25 19:29:45 +00:00
Jim Kingdon
a38b1233c2 * remote-udi.c: Improve docstring. 1993-06-25 19:11:22 +00:00
Fred Fish
872dd3fe12 * elf_symfile_read (bfd_elf32_find_section): Revert back to
calling bfd_elf_find_section to track bfd changes.
1993-06-25 18:51:11 +00:00
Jim Kingdon
f788cf78fd * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
generating comp-info.exp which works for cross-compilation.
1993-06-25 17:16:44 +00:00
Jim Kingdon
ef3986bbe1 * config/mips/xm-riscos.h: Define USG. 1993-06-25 16:31:24 +00:00
Jim Kingdon
f75ad5da8f * config/mips/riscos.mh (REGEX{,1}, MUNCH_DEFINE, MH_CFLAGS): Define. 1993-06-25 16:27:51 +00:00
Jim Kingdon
a32ebcfd6b * main.c (filename_completer): Don't complete to files ending in ~.
* NEWS: Mention filename completion and "info line" enhancements.

	* main.c (symbol_completion_function): On "info t foo", return NULL,
	don't error().

	* main.c (symbol_completion_function): Don't use readline word
	breaking.  Use new calling convention for c->completer and
	complete_on_cmdlist.
	* command.h (struct command): Change arguments; now the text passed
	to completer does not have any word breaking done.  New arg word.
	* symtab.{c,h} (make_symbol_completion_list): Do word breaking.  Take
	word argument.
	* {main.c,gdbcmd.h} ({filename,noop}_completer): Take word argument.
	* command.{c,h} (complete_on_cmdlist): Take word argument.

	* command.c (lookup_cmd_1): Doc fix.
1993-06-25 03:47:12 +00:00
Fred Fish
6ba7b81886 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
"*-*-sysv4.*".
1993-06-24 23:56:35 +00:00
Rob Savoye
453592cae0 Add RUNTEST so make can use the right one. 1993-06-24 23:19:51 +00:00
K. Richard Pixley
b8774958a0 define OP_INCLUDE 1993-06-24 23:16:00 +00:00
K. Richard Pixley
e704cf435b * config/i386/ncr3000.mh, config/i386/i386v4.mh,
config/i386/i386sol2.mh, config/m68k/hp300hpux.mh,
config/m68k/amix.mh, config/mips/irix[34].mh, config/m88k/delta88.mh,
config/sparc/sun4sol2.mh (ALLOCA, ALLOCA1): macros removed.

* config/mips/decstation.mh, config/rs6000/rs6000.mh (MMALLOC_LIB):
renamed to MMALLOC.
1993-06-24 20:53:06 +00:00
Jim Kingdon
4ae030b938 * partial-stab.h: Consolidate case statements for N_LSYM and N_FUN.
* dbxread.c: Change comment regarding acc.
1993-06-24 00:44:54 +00:00
K. Richard Pixley
97090015dd remove lines with only tabs 1993-06-23 23:54:57 +00:00
K. Richard Pixley
f4cc789c22 -I$(BFD_DIR) rather than including from the library proper. Hmph. 1993-06-23 23:41:40 +00:00
K. Richard Pixley
7ae7b9191e Makefile rework 1993-06-23 22:59:35 +00:00
K. Richard Pixley
baa3837246 remove redundant include of symtab.h 1993-06-23 22:17:35 +00:00
K. Richard Pixley
be17ae1f0e do not keep alloca.c 1993-06-23 22:14:18 +00:00
K. Richard Pixley
fbca751901 removed alloca.c which is now in libiberty 1993-06-23 22:13:19 +00:00
K. Richard Pixley
8860783950 new M_UNINSTALL macro 1993-06-23 22:09:27 +00:00
K. Richard Pixley
c2df19bdb1 new M_UNINSTALL macro 1993-06-23 22:06:58 +00:00
Jim Kingdon
dcb9e8698f * stabs.texinfo (Negative Type Numbers): Minor character cleanups. 1993-06-23 20:06:07 +00:00
Jim Kingdon
6ffbfcc2a5 * config/ns32k/{merlin.mh,xm-merlin.h}: Be consistent about name
of gdb-sh.
1993-06-23 19:44:05 +00:00
Jim Kingdon
ec06a3cb25 * dbxread.c (copy_pending): Change name and function of begi argument
to endi, since that is what the caller needs.
1993-06-23 19:20:49 +00:00
Jim Kingdon
853a233b92 * Makefile.in (TAGFILES): Don't include YYFILES.
* Makefile.in (HFILES): Include monitor.h.

	* Makefile.in: Include text that used to be in alldeps.mak.
	Remove config/mips/{bigmips.mh,xm-bigmips} from it.
	* Makefile.in, configure.in: Remove all traces of alldeps.mak.
1993-06-23 15:54:34 +00:00
Jim Kingdon
29f3879c61 * main.c (main): Print help message on stdout not stderr
per standards.texi.
	New option --version per standards.texi.
	In help message, show long options with "--" not "-".
	Don't try to print help message or version until after we have
	called initialize_all_files.
1993-06-23 05:56:42 +00:00
Jim Kingdon
15d4eb2197 * solib.c (solib_add_common_symbols): Don't call lookup_minimal_symbol.
(solib_add): Call special_symbol_handling once, not once per library.
1993-06-22 23:35:35 +00:00
Jim Kingdon
acf7d010ce * stabs.texinfo: Express disapproval of 'D' symbol descriptor
politely rather than rudely.
1993-06-22 21:37:32 +00:00
Jim Kingdon
59ba57dad6 * procfs.c (procfs_resume): Don't pass a SIGTSTP whose action
is SIG_DFL.

	* procfs.c (procfs_resume): Skip the unnecessary PRSVADDR on all
	systems, not just Solaris.
1993-06-22 19:48:52 +00:00
Jim Kingdon
9ddfb9eb20 * stabsread.c: Include <ctype.h>. 1993-06-22 08:20:18 +00:00
Jim Kingdon
3768398df8 * fork-child.c (fork_inferior): Quote exec_file so it can contain
funky characters.
1993-06-22 04:27:00 +00:00
Fred Fish
68eabdd300 * Makefile.in (INCLUDE_CFLAGS): Add BFD_INCLUDES for now, since
bfd.h is included by target.h, which most of gdb includes.
	* depend:  Hand remove BFD_INCLUDES from ${CC} lines, now that
	it's in INCLUDE_CFLAGS.
1993-06-22 00:05:40 +00:00
Jim Kingdon
d628e5b2b6 various revisions to new files 1993-06-21 23:47:51 +00:00
Jim Kingdon
2c7ab4ca35 * config/i386/*aix*, i386aix-nat.c: New files.
* configure.in: Use them.
	* alldeps.mak: List them.
	* coffread.c (decode_base_type): Deal with anonymous enum type.
	* i387-tdep.c (print_387_status_word): Add comment re "top".
	* i386-tdep.c [I386_AIX_TARGET] (i386_extract_return_value): New func.
	* dbxread.c: Use SEEK_SET and SEEK_CUR, not L_*.  Define them if and
	only if not defined by a header file.
	* mipsread.c: Don't define L_SET or L_INCR.
1993-06-21 23:46:49 +00:00
Jim Kingdon
ecee7d0c2d new file 1993-06-21 23:39:59 +00:00
Jim Kingdon
c96d68c281 * config/i386/*aix*: New files.
* alldeps.mak: List them.
1993-06-21 23:14:07 +00:00
Fred Fish
cfb702c1e0 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
	gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
	Makefile.in (distclean, realclean):  Remove gdbme.c from list of
	things to remove.
1993-06-21 22:27:19 +00:00
Fred Fish
200a347093 * Makefile.in (BFD_INCLUDES): Bfd.h is now back in bfd build dir.
* depend:  Hand updated to match.
1993-06-21 22:11:44 +00:00
Fred Fish
733d4e93a9 Bfd.h is now back in BFD_OBJ_DIR, update by hand to match pending Rich's
changes...
1993-06-21 20:18:10 +00:00
Jim Kingdon
550754345f expand on solib_add_common_symbols comment 1993-06-21 18:48:51 +00:00
Jim Kingdon
7edd8068e1 * snapshots.readme: Tell people to always report missing files. 1993-06-21 17:33:06 +00:00
Fred Fish
c1aa3a2fbb Add all the mt-* files as things to keep. 1993-06-21 16:39:46 +00:00
Jim Kingdon
089dc22027 * stabsread.c (read_struct_fields): Don't call read_cpp_abbrev on $_.
(read_cpp_abbrev): Don't complain specially for $_.  Also return 0 if
	we don't recognize the abbrev.
1993-06-20 20:30:31 +00:00
Jim Kingdon
2a4e8cc37d * solib.c (solib_add_common_symbols): Add comment about performance. 1993-06-20 05:28:07 +00:00
David D. Zuhn
8eb5e28936 added stabs-in-elf menu entry, reformatted menus with C-c C-u a (texinfo mode command) 1993-06-19 22:18:24 +00:00
Fred Fish
3d26a081b1 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
test cases from bug reports.
1993-06-19 14:53:17 +00:00
Jim Kingdon
807e8368fa * stabs.texinfo: Document common blocks. 1993-06-19 00:45:34 +00:00
Jim Kingdon
3222c7d01c new files for riscos 1993-06-18 22:21:38 +00:00
Jim Kingdon
7f6175b4dc * config/mips/{{x,n}m-riscos.h,riscos.mh}: New files. 1993-06-18 22:20:49 +00:00
Jim Kingdon
ee06f23011 * config/mips/{{x,n}m-riscos.h,riscos.mh}: New files.
* configure.in (mips-*-sysv*): Use riscos for host, bigmips for target.
1993-06-18 22:20:26 +00:00
Jim Kingdon
89e04499d1 * config/mips/{{x,n}m-news-mips.h,news-mips.mh}: New files.
* config/mips/{bigmips.mh,xm-bigmips.h}: Remove.
	* configure.in (mips-sony-*): Use news-mips for host.
1993-06-18 21:49:24 +00:00
Jim Kingdon
b487ba2e77 * config/mips/{{x,n}m-news-mips.h,news-mips.mh}: New files.
* config/mips/{bigmips.mh,xm-bigmips.h}: Remove.
	* configure.in (mips-sony-*): Use news-mips for host.
1993-06-18 21:39:27 +00:00
Steve Chamberlain
d4bbd6ace2 Make it work in subdirs. 1993-06-18 21:37:12 +00:00
David D. Zuhn
5ebaf24b77 single-quote $program_transform_name 1993-06-18 19:25:38 +00:00
Fred Fish
5e27ed65e2 Add note about endianess of the stabs-in-elf stabs binary data. 1993-06-18 19:24:44 +00:00
Fred Fish
cc4fb84844 * stabs.texinfo: Add some basic info about stabs-in-elf.
(this may require attention from a tex/texinfo wizard..)
1993-06-18 19:15:45 +00:00
Jim Kingdon
6ae55c65c8 * stabs.texinfo (Top): Minor cleanup. 1993-06-18 19:01:43 +00:00
Fred Fish
5c0e7bd6ef * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
* gdb.t12/scope.exp:  Add clear_xfails at appropriate places to
	  avoid spurious xfails.
	* gdb.t20/classes.exp:  Add xfails for longstanding C++ problems.
	* gdb.t21/cplusfuncs.exp:  Add xfails for sparc-sun-solaris2.*.
	* gdb.t22/virtfunc.exp:  Add xfails for longstanding C++ problems.
1993-06-18 17:43:51 +00:00
Jim Kingdon
e64ec645a8 * buildsym.h: Doc fix for processing_acc_compilation. 1993-06-18 17:40:50 +00:00
Jim Kingdon
8715a9f36a * printcmd.c (print_formatted): Don't use tab in wrap_here arg. 1993-06-18 03:12:22 +00:00
Jim Kingdon
c9d8fc9120 * config/m88k/xm-delta88.h: Comment out unused defines which conflict
with system headers.
	* printcmd.c (printf_command): Cast second arg to vprintf to PTR.
	Use VPRINTF macro if defined.
	* config/m88k/xm-delta88.h: Define VPRINTF.  Include <sys/siginfo.h>.
	Define TIOC{GETC,GLTC}_BROKEN.
	* m88k-nat.c: Uncomment include of <sys/ptrace.h>.
	* main.c: Rename initialize_{main,cmd_lists,history} to init_* to
	make things easier on munch (apparently this matters on
	the delta88 with svr3).
1993-06-18 02:33:01 +00:00
Jim Kingdon
fc61e9eeec * Makefile.in (INTERNAL_CFLAGS): Include ../include as well as
${srcdir}/../include.

	* config/m88k/xm-delta88.h: Comment out unused defines which conflict
	with system headers.
	* printcmd.c (printf_command): Cast second arg to vprintf to PTR.
	Use VPRINTF macro if defined.
	* config/m88k/xm-delta88.h: Define VPRINTF.  Include <sys/siginfo.h>.
	Define TIOC{GETC,GLTC}_BROKEN.
	* m88k-nat.c: Uncomment include of <sys/ptrace.h>.
	* main.c: Rename initialize_{main,cmd_lists,history} to init_* to
	make things easier on munch (apparently this matters on
	the delta88 with svr3).
1993-06-18 02:32:27 +00:00
David D. Zuhn
981dfa40c7 remove parentdir support 1993-06-18 01:00:13 +00:00
David D. Zuhn
c8fee4a53e canonicalize install.sh location 1993-06-18 00:35:08 +00:00
Jim Kingdon
d57528d1ce hand-edited 1993-06-17 23:20:46 +00:00
Steve Chamberlain
4ce149f970 Alpha host support. 1993-06-17 22:23:40 +00:00
Steve Chamberlain
7ccb1e4401 * configure.in (alpha-*-osf*), config/alpha/alpha-osf.mh: New
host.
	* sh-tdep.c (frame_find_saved_regs): Use NUM_REGS rather than hard
	wired (and wrong) constant.
	* values.c (unpack_long): Add case to unpack when target object is
	sizeof(int).
	* config/sh/tm-sh.h (REGISTER_NAMES): Know about the news ones the
	simulator defines.
1993-06-17 22:16:07 +00:00
K. Richard Pixley
21cc14d850 start tracking user visible changes 1993-06-16 23:13:57 +00:00
K. Richard Pixley
1c5d60496e rename user settable option from rpcTimeout to vxworks-timeout. 1993-06-16 23:11:46 +00:00
Fred Fish
53f0969be3 * Makefile.in (depend): More makefile diddling.
* alldeps.mak, depend:  Update to latest automatically built
	versions.
1993-06-16 21:34:42 +00:00
Fred Fish
3ef6f6045e * Makefile.in (depend): Bfd.h keeps moving, keep up with it.
* alldeps.mak, depend:  Update to latest automatically built
	versions.
1993-06-16 19:28:19 +00:00
Roland Pesch
d55320a07b * gdb.texinfo (Copying): delete this node and references to it;
RMS says this manual need not carry GPL. (passim): Improvements
from last round at FSF, largely due to Ian Taylor review, and
minor formatting improvements.

* gdbinv-s.texi (passim): Improvements from last round at FSF,
largely due to Ian Taylor review. (Debug Session): minor edits to
new text.
1993-06-16 19:03:53 +00:00
Fred Fish
212f6219c8 * gdb.t00/teststrategy.exp: Rework to provide more useful
description of each test, fix problem with systems that define
	ALIGN_STACK_ON_STARTUP code, other misc cleanups.
	* gdb.t06/break.exp (test_next_with_recursion):  Fix expected
	results for "next over recursive call" so timeouts aren't taken
	by error.
1993-06-16 17:17:55 +00:00
David D. Zuhn
98a7278bc0 remove parentdir support 1993-06-16 00:01:46 +00:00
K. Richard Pixley
568947885c make rpcTimeout user settable 1993-06-15 19:28:40 +00:00
Jim Kingdon
4aadcb0210 add isi-xdep.c 1993-06-14 21:20:56 +00:00
Jim Kingdon
df0f0dcced * main.c, symfile.c, source.c, exec.c, core.c: Use it for
"directory", "source", "cd", "symbol-file" "add-symbol-file",
	"load", "file", "exec-file", "core-file" commands.
1993-06-14 20:50:12 +00:00
Jim Kingdon
bd50d1b077 * main.c, gdbcmd.h: Add function filename_completer.
source.c: Use it for "directory" command.
	(But '/' is a word break, limiting usefulness; see comments).

	* source.c (mod_path): Warning not error if can't find directory.
1993-06-14 19:23:37 +00:00
Jim Kingdon
c76f7bb7c1 * gdb.t12/scope.exp: Test printing of variables before run. 1993-06-14 16:43:24 +00:00
Jim Kingdon
3a6249b1fe * isi-xdep.c: New file.
* config/m68k/isi.mh (XDEPFILES): Add isi-xdep.o
1993-06-14 16:27:39 +00:00
Jim Kingdon
69dbdc0535 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
printed in wrong order due to sorting.
1993-06-14 16:17:30 +00:00
Jim Kingdon
f92d524939 * config/m68k/xm-news.h: Include <sys/param.h>. 1993-06-13 20:19:45 +00:00
Jim Kingdon
a1330c48fa * {all,h8}-config.texi: Rename to *-cfg.texi for 14 char filenames. 1993-06-13 19:55:35 +00:00
Jim Kingdon
b397d5b8e1 * Makefile.in (realclean): Remove info and dvi files too. 1993-06-13 19:54:31 +00:00
Jim Kingdon
dbbf95081c * m88k-tdep.c (IEEE_isNAN): Remove.
config/m88k/tm-m88k.h (INVALID_FLOAT): Return 0.  This was the same
	broken isNAN as on the mips.
1993-06-13 19:41:01 +00:00
Jim Kingdon
198133b9a3 * valprint.c (_initialize_valprint): Use c->function.sfunc not just
c->function.
1993-06-13 18:59:29 +00:00
Jim Kingdon
bc447a3931 * config/m68k/tm-sun3.h: Define SUN_FIXED_LBRAC_BUG to 0. 1993-06-13 18:47:22 +00:00
Jim Kingdon
a5e6391b44 * dbxread.c (process_one_symbol): If SUN_FIXED_LBRAC_BUG is not
defined, don't worry about Sun's silly LBRAC bug.

	* dbxread.c (process_one_symbol): If there's a symbol before an
	N_SO, don't error().
	(case N_BCOMM): complain () not error ().
1993-06-13 18:46:47 +00:00
Jim Kingdon
9748446f53 * defs.h, main.c (catch_errors): Add return_mask arg.
stack.c (print_frame_info): Pass RETURN_MASK_ERROR.
	other callers: Pass RETURN_MASK_ALL.
	(return_to_top_level), callers: Add return_reason arg.
	* utils.c (quit):
	Use return_to_top_level (RETURN_QUIT) instead of error ().
	* main.c (main), tm-nindy960.h (ADDITIONAL_OPTION_HANDLER):
	Use SET_TOP_LEVEL not setjmp (to_top_level).
	* remote-nindy.c: Use catch_errors not setjmp (to_top_level).
1993-06-13 18:16:42 +00:00
Fred Fish
b025842760 Add .Sanitize file. 1993-06-13 18:08:35 +00:00
Jim Kingdon
ff56144ec8 * solib.c (solib_create_inferior_hook) [SVR4_SHARED_LIBS]:
Don't try to get the debug base yet.
1993-06-13 03:18:18 +00:00