Commit graph

2812 commits

Author SHA1 Message Date
Fred Fish
be0ed5bbb4 Add delta68-nat.c to Things-to-keep list. 1993-07-30 07:20:31 +00:00
Jim Kingdon
5d38a0a818 * value.h (COERCE_ENUM): Use COERCE_REF to coerce refs; value_ind
was adequate in gdb 3.5 but not now.

	* valops.c (typecmp): An array in t2 matches a pointer in t1.

	* valops.c (typecmp): When comparing type1& to type2, compare
	type1 and type2 as leniently as if we were comparing type1 to
	type2.
1993-07-30 05:34:24 +00:00
Jim Kingdon
1410f5f13b * cp-valprint.c (cplus_print_value): Don't dump core if the
baseclass doesn't have a name.
	* values.c (vb_match): New function, which finds the virtual
	base class pointer even if the types are nameless.
	(baseclass_{addr,offset}): Use it.
1993-07-30 01:42:09 +00:00
Jim Kingdon
84123aa604 * gdb.stabs/wierd.exp: New test, for nameless baseclasses. 1993-07-30 01:37:49 +00:00
Roland Pesch
f21c536221 * remote.texi: (MIPS Remote) make docn for set/show timeout,
retransmit-timeout follow same conventions as for other set/show params
1993-07-29 22:11:55 +00:00
Fred Fish
3a91417c9c Add alpha directory. 1993-07-29 21:53:15 +00:00
Fred Fish
f4f650be86 Fix alpha-osf.mh -> alpha-osf1.mh 1993-07-29 21:52:51 +00:00
Jim Kingdon
63757ecd89 * hppa-tdep.c: Make "maintenance print unwind" command from old
"unwind" command.
1993-07-29 21:42:31 +00:00
Jim Kingdon
54a11a1df0 * remote-udi.c: Remove udi_timer, call to siginterrupt, and associated
obsolete junk which apparently had been copied from the
	pre-serial.h remote.c, but which is no longer used.
1993-07-29 20:23:09 +00:00
Fred Fish
9b311b223d * Makefile.in (NONSRC): Need 29k-share/README, not
29k-share/udi/README.
1993-07-29 20:02:21 +00:00
Jim Kingdon
93af329a00 * paread.c (pa_symfile_init): If error reading string table, don't
use errno in cases where it hasn't been set.
1993-07-29 19:19:30 +00:00
Jim Kingdon
d4c22c5233 * ser-unix.c (gdb_setpgid): Pass our pid, not 0, to setpgid. 1993-07-29 19:02:08 +00:00
Jim Kingdon
4432b9f9ff * hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
command.  Now we use unwind info by default if we can find it.
1993-07-29 18:41:26 +00:00
Fred Fish
e661686291 Add remote.texi, remove gdbinv-s.texi. 1993-07-29 18:30:06 +00:00
Jim Kingdon
3238fd0ae7 * gdbint.texinfo: Update statement about `some ancient Unix
systems, like Ultrix 4.0' to Ultrix 4.2.
1993-07-29 18:21:10 +00:00
Jim Kingdon
60a6003252 * remote-monitor.c (_initialize_monitor): Comment out use of
connect_command, since connect_command itself is commented out.

	* remote-monitor.c (generic_open): Parse arguments the same way
	as remote.c.
1993-07-29 18:11:33 +00:00
Jim Kingdon
6e35b037df * hppa-tdep.c (pc_in_linker_stub): Fix unclosed comments. 1993-07-29 17:14:38 +00:00
Roland Pesch
4af6d50262 * h8-cfg.texi, all-cfg.texi: new flag GDBSERVER
* Makefile.in: depend on remote.texi rather than gdbinv-s.texi
* remote.texi: (Server) New node on gdbserver.  (Remote Serial,
ST2000 Remote, MIPS Remote): mention `host:port' syntax for TCP.
* remote.texi: new name for former gdbinv-s.texi
* gdb.texinfo: use remote.texi rather than gdbinv-s.texi
1993-07-29 00:53:58 +00:00
Jim Kingdon
b88edd756e * config/mips/xm-mips.h: Define HAVE_TERMIOS. 1993-07-28 23:33:57 +00:00
Jim Kingdon
c4ed7353fc * dbxread.c (record_minimal_symbol): Don't put gcc_compiled or
__gnu_compiled* symbols into the minimal symbols.
1993-07-28 18:50:11 +00:00
Ian Lance Taylor
e0953e07a9 * gdbinv-s.texi: Documented timeout and retransmit-timeout
variables for MIPS remote debugging protocol.
1993-07-28 15:29:26 +00:00
Ian Lance Taylor
0907dc0932 * remote-mips.c (_initialize_remote_mips): Added "timeout" and
"retransmit-timeout" variables to set mips_receive_wait and
	mips_retransmit_wait, respectively.
1993-07-28 15:28:53 +00:00
Peter Schauer
ffff16b39c * symmisc.c (dump_msymbols): Handle new mst_file_* types. 1993-07-28 11:00:53 +00:00
Jim Kingdon
8805c1ee2c * serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
* nindy-share/*, remote-nindy.c: Extensive hacking to make it
	conform to GDB conventions like using memcpy not bcopy, serial.h,
	etc.  This is to make it host on Solaris, AIX, etc.
	* Makefile.in: Reflect removed nindy-share files.
	* config/i960/nindy960.mt (TDEPFILES): Remove ttybreak.o.
1993-07-28 07:51:01 +00:00
Jim Kingdon
704deef2c0 * serial.h, ser-{unix,go32,tcp}.c: Add flush_input and send_break.
* nindy-share/*, remote-nindy.c: Extensive hacking to make it
	conform to GDB conventions like using memcpy not bcopy, serial.h,
	etc.  This is to make it host on Solaris, AIX, etc.
	* Makefile.in: Reflect removed nindy-share files.
1993-07-28 06:45:35 +00:00
Jim Kingdon
157ea89d77 * remote-udi.c: Remove old comment about download not implemented. 1993-07-28 02:43:27 +00:00
Jim Kingdon
efdd6b6454 * stack.c (print_frame_info): Revise comment about `pathological'
case (there was a wrong FIXME about text labels; also asm() can
	trigger this as well as versions of ar which truncate .o names).
1993-07-28 01:11:32 +00:00
Jim Kingdon
56ad756a85 * buildsym.c (start_subfile): If a .c file includes a .C file, set
the language of both of them to C++.
1993-07-28 00:22:08 +00:00
Jim Kingdon
7706616f20 * config/sparc/xm-sun4os4.h: Define MEM_FNS_DECLARED and include
<memory.h>.
	Include <malloc.h> rather than declaring malloc functions ourself.

	* ser-unix.c (set_tty_state): Don't ignore errors setting process
	group.
	* inflow.c (terminal_inferior): If attach_flag set, ignore errors
	from set_tty_state.
1993-07-27 22:37:51 +00:00
Peter Schauer
0eb22669dc * breakpoint.c (breakpoint_1): Walk the breakpoint chain to decide if
we have breakpoints or watchpoints as we might have to ignore internal
	breakpoints.

	Fix gdb core dumps after `file newfile' commands.
	* symtab.h, symfile.c (clear_symtab_users):  New routine which
	unconditionally clears symtab users. clear_symtab_users_once
	commented out as it was a noop anyway.
	* objfiles.c (free_objfile):  Don't call clear_symtab_users_once.
	* objfiles.c (free_all_objfiles), symfile.c (new_symfile_objfile),
	xcoffexec.c (exec_close):  Call clear_symtab_users if necessary.
	* symfile.c (syms_from_objfile):  Install cleanups for errors during
	symbol reading.
	* coffread.c, dbxread.c, mipsread.c, xcoffread.c (*_symfile_read):
	Lint cleanup code, call do_cleanups explicitly.
	* symfile.c (symbol_file_add):  Call new_symfile_objfile and
	reinit_frame_cache _after_ the new symbols are read in.
1993-07-27 19:40:57 +00:00
Jim Kingdon
3ef0fc8c58 * dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
N_GSYM functions.
1993-07-27 19:01:11 +00:00
Jim Kingdon
38bbfd3795 * fork-child.c (fork_inferior): Only quote exec file if needed.
* mipsread.c (parse_symbol): Remove 21 Jul 93 change with
	stTypedef inside an stBlock.
1993-07-27 17:43:09 +00:00
Peter Schauer
b31ca3dece * mipsread.c (parse_type): Do not set tag name for compiler
generated fake tag names.
1993-07-27 08:59:44 +00:00
K. Richard Pixley
333355f33f add exec.o to m88k TDEPFILES. 1993-07-27 00:36:08 +00:00
Jim Kingdon
b8ec9a798f * hppa-tdep.c: Remove all uses of use_unwind and `set use_unwind'
command.  Now we use unwind info by default if we can find it.

	* config/sparc: Move VARIABLES_INSIDE_BLOCK and SUN_FIXED_LBRAC_BUG
	to tm-sparc.h so they are shared between Solaris and SunOS4.
	* dbxread.c (process_one_symbol): Deal with SunOS4 acc N_STSYM and
	N_GSYM functions.
1993-07-26 22:16:09 +00:00
Jim Kingdon
41c86b695a * config/pa/tm-hppa.h (REGISTER_NAMES): Use "fr" rather than "fp"
for floating point registers.
1993-07-26 20:41:50 +00:00
Jim Kingdon
03ffea6377 * stabs.texinfo (Negative Type Numbers): FORTRAN LOGICAL fix. 1993-07-26 20:36:43 +00:00
Jim Kingdon
1c8961dd35 * mipsread.c (parse_symbol): Put stStaticProc symbols in minimal
symbols as mst_file_text.
1993-07-26 20:33:35 +00:00
Jim Kingdon
01c4b03990 * stabs.texinfo (Negative Type Numbers): FORTRAN LOGICAL fix. 1993-07-26 20:14:41 +00:00
Jim Kingdon
230a3ab0d4 * stabsread.c (rs6000_builtin_type): Make logical types be
TYPE_CODE_BOOL.
1993-07-26 20:04:02 +00:00
Jim Kingdon
08ecd8f3d8 * hppa-tdep.c (pc_in_linker_stub): Return 0 if can't read memory. 1993-07-26 19:19:39 +00:00
Jim Kingdon
91ab5674f8 * stabsread.c (rs6000_builtin_type): Make `logical' be TYPE_CODE_BOOL. 1993-07-26 18:23:59 +00:00
Jim Kingdon
0e84d6ec2d * stabs.texinfo (Negative Type Numbers): FORTRAN LOGICAL fix. 1993-07-26 18:14:20 +00:00
Jim Kingdon
d889f6b7c7 * breakpoint.{c,h} (struct breakpoint): Replace symtab field with
source_file field.
1993-07-26 05:26:55 +00:00
Brendan Kehoe
c3f6638e3e undo previous change 1993-07-24 02:47:55 +00:00
Brendan Kehoe
4015bfb977 * ch-exp.y (yycheck, yydefred, yydgoto, yygindex, yylen, yylhs,
yyrindex, yysccsid, yysindex, yyss, yyssp, yytable, yyvs, yyvss):
        Also define these to chill_{name}, for 386BSD's yacc.
        * m2-exp.y: Likewise.
1993-07-23 22:37:01 +00:00
Jim Kingdon
f47e56c99f * exec.c, corelow.c (target_ops struct): Don't allow
{insert,remove}_breakpoints to be defaulted to
	memory_{insert_remove}_breakpoint.
1993-07-23 18:18:41 +00:00
Jim Kingdon
9aa3aa8c75 * demangle.c: Make it so `help set dem' tells you how to get the
list of demangling styles.

	* Makefile.in: Use REMOTE_O macro not remote.o.
1993-07-23 17:25:20 +00:00
Jim Kingdon
f261333bd3 * Makefile.in: Use REMOTE_O macro not remote.o.
* config/i960/{nindy960,vxworks960}: Don't use remote.o.
1993-07-22 22:47:34 +00:00
Ian Lance Taylor
073c6b2b61 * coredep.c: If NEED_SYS_CORE_H defined, include <sys/core.h>
(can't include it in nm-*.h file because it causes conflicts with
	a.out symbol definitions).
	* hp300ux-nat.c (fetch_core_registers): Commented out; obsolete.
	* config/m68k/hp300hpux.mh (NATDEPFILES): Added coredep.o and
	corelow.o.
	* config/m68k/nm-hp300hpux.h (NEED_SYS_CORE_H): Defined.
	(REGISTER_U_ADDR): Defined.
	* config/m68k/xm-hp300hpux.h (HAVE_TERMIOS): Define instead of
	HAVE_TERMIO.
	* config/pa/xm-hppah.h: Likewise.
1993-07-22 19:49:44 +00:00