Commit Graph

3562 Commits

Author SHA1 Message Date
Steve Chamberlain
e8437082be * remote-e7000.c (e7000_wait): Cope with H8/300 register dump.
* config/h8300/h8300hms.mt: Add remote-e7000.
1993-11-23 07:49:49 +00:00
Peter Schauer
09305cbdfc * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
* gdb.stabs/ecoff.sed:  Escape inserted blanks with backslashes, embed
	.stabs directives in comments.
1993-11-22 21:26:36 +00:00
Fred Fish
abab73c4dd * gdb/config/m88k/delta88.mh (NATDEPFILES): Added corelow.o and
coredep.o to this list.
	* gdb/m88k-nat.c (m88k_register_u_addr):  Avoid error when passed
	the number for an M88110 extended register by just returning the
	address of r0.
1993-11-22 19:08:33 +00:00
Fred Fish
d8b8343dc7 * go32-xdep.c (re_comp, re_exec): Remove stubs now that gdb
always uses it's own version of regex.
1993-11-20 17:22:28 +00:00
Kung Hsu
f68fd5c0b0 Modified Files:
ChangeLog valops.c symtab.c

        * valops.c(value_struct_elt_for_reference): enhance  search operator in
        c++.
        * symtab.c(decode_line_1): same as above.
1993-11-20 02:28:03 +00:00
Jim Kingdon
dbdf5a2a04 * symtab.c (decode_line_1): Add comment about use of
return_to_top_level directly instead of error.  Add comment saying
	that the '' should not be needed--that the completer should be fixed.
1993-11-19 21:16:16 +00:00
Jim Kingdon
d910c7e938 * TODO: New file, describing tests we could write.
* gdb.t09/corefile.exp: Move description of tests to write to TODO.
1993-11-19 20:24:02 +00:00
Jim Kingdon
b0f4ec40fc * TODO: New file, describing tests we could write.
* gdb.t06/corefile.exp: Move description of tests to write to TODO.
1993-11-19 20:22:34 +00:00
Kung Hsu
7e6deb7a27 Modified Files:
ChangeLog symtab.c

        * symtab.c(decode_line_1): fix the inconsistency of setting
        breakpoint with '' or without them. The '' is needed when you
        want name completion.
1993-11-19 19:13:41 +00:00
Jim Kingdon
1562fc8325 New file, for known lacks in testsuite 1993-11-19 17:20:18 +00:00
Kung Hsu
6ebc9cddfc Modified Files:
ChangeLog valops.c

        * valops.c(search_struct_method): to use unified search so type
	conversion operator works in calling method. (this file should be
	checked in with last commit, I missed it).
1993-11-18 18:54:11 +00:00
Fred Fish
7855533586 Fix for PR 3978:
* valprint.c (val_print_string):  When looking for a null
	terminator compare current bufsize to fetchlimit to determine
	when to stop, instead of computing buffer+fetchlimit which
	may overflow for very large limits (like "unlimited").
1993-11-18 16:34:43 +00:00
Kung Hsu
4f65eece26 Modified Files:
ChangeLog eval.c valarith.c

        * eval.c(evaluate_subexp): to use unified search so type conversion
        operator works in calling method.
        * valarith.c(value_x_binop, value_x_unop): same as above.
1993-11-18 02:30:33 +00:00
Ian Lance Taylor
4f09de58cd * mipsread.c: Change use of ECOFF information to correspond to
changes in bfd/libecoff.h.
	(mipscoff_symfile_offsets): Made static.
1993-11-17 23:58:46 +00:00
Kung Hsu
4062025808 Modified Files:
ChangeLog eval.c valops.c

        * valops.c (typecmp): improve prototype matching when calling
        a method. Make 'p (*(ostream *) &cout) << "lll" ' to work.
        * eval.c(evalute_subexp): fix operator search problem when call
        like  p x.'operator+'(i).
1993-11-17 18:07:58 +00:00
Stu Grossman
38ee1de094 Please CVS, let me kill this file! 1993-11-17 17:40:24 +00:00
Stu Grossman
4451055367 Please CVS, let me kill these files... 1993-11-17 17:39:00 +00:00
Stu Grossman
92d47a66ec * i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. Move
common code into lynx-nat.c.
	* lynx-nat.c:  New module.  Contains portable code for Lynx native
	stuff (mostly ptrace related).
	* config/i386/i386lynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o
	* config/m68k/m68klynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o

	* config/nm-lynx.h, config/tm-lynx.h:  New files to contain
	non-architecture specific native and target defs.
	* config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h,
	config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h:  Move all
	(arch) portable stuff into ../{tm nm}-lynx.h.
1993-11-17 07:56:28 +00:00
Stu Grossman
d3225ea0ac * i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. Move
common code into lynx-nat.c.
	* lynx-nat.c:  New module.  Contains portable code for Lynx native
	stuff (mostly ptrace related).
	* config/i386/i386lynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o
	* config/m68k/m68klynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o

	* config/nm-lynx.h, config/tm-lynx.h:  New files to contain
	non-architecture specific native and target defs.
	* config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h,
	config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h:  Move all
	(arch) portable stuff into ../{tm nm}-lynx.h.
1993-11-17 07:17:45 +00:00
Jim Kingdon
d47a7f52cf * symtab.c (gdb_mangle_name): Only assume that the physname is
the entire mangled name if it looks like the mangled name of a
	constructor.  Needed for testsuite to work with GCC 2.4.5.
1993-11-17 04:24:34 +00:00
Jim Kingdon
dfbaacfa1f * gdb.t06/signals.exp: Add kludge to force re-sync. 1993-11-17 03:59:25 +00:00
Jim Kingdon
641436212f * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
to xgdb instead of gdb, get out of gdb.
1993-11-17 03:11:30 +00:00
Stu Grossman
069e056621 * i386ly-nat.c, i386lynx-nat.c, m68kly-nat.c: Remove. Move
common code into lynx-nat.c.
	* lynx-nat.c:  New module.  Contains portable code for Lynx native
	stuff (mostly ptrace related).
	* config/i386/i386lynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o
	* config/m68k/m68klynx.mh (NATDEPFILES):  i386ly-nat.o -> lynx-nat.o

	* config/nm-lynx.h, config/tm-lynx.h:  New files to contain
	non-architecture specific native and target defs.
	* config/i386/nm-i386lynx.h, config/i386/tm-i386lynx.h,
	config/m68k/nm-m68klynx.h, config/m68k/tm-m68klynx.h:  Move all
	(arch) portable stuff into ../{tm nm}-lynx.h.
1993-11-17 01:38:11 +00:00
Jim Kingdon
6e03b2b87e * a68v-nat.c: Replace with new version from Troy Rollo. The
version	I am replacing appears to be an old copy of sun3-nat.c.
	* dstread.c (dst_symfile_read): Replace sort_all_symtab_syms call
	with loop.
1993-11-16 20:29:03 +00:00
Jim Kingdon
f0c8468387 * Makefile.in (TAGS): Depend on TAGFILES_{NO,WITH}_SRCDIR.
* Makefile.in: (HFILES,TAGFILES): Split into _WITH_SRCDIR and
	_NO_SRCDIR versions.
	(TAGS): Only add srcdir to TAGFILES_NO_SRCDIR.
	(This is part of a long saga involving me putting srcdir on
	everything (perhaps for now-obsolete reasons, I forget), Rich
	removing the srcdir from everything, Stu putting it back some
	places for Sun make, and me just now getting around to fixing
	`make TAGS' again).
1993-11-16 19:51:59 +00:00
Jim Kingdon
92a6c3cc31 Add ChangeLog entry for change by Rob 1993-11-16 16:27:54 +00:00
Jim Kingdon
2ede707a97 Correct typos in sac ChangeLog entry 1993-11-16 16:25:21 +00:00
Kung Hsu
9ed1a1d9ca Modified Files:
ChangeLog stack.c

        * stack.c(print_frame_info): print demangled function name
        ansi style.
1993-11-16 02:58:42 +00:00
Steve Chamberlain
1b68cb4fb3 How many times do I have to do this... 1993-11-15 23:49:21 +00:00
Steve Chamberlain
2f5e17369c Use remote-e7000.c 1993-11-15 23:29:56 +00:00
Jim Kingdon
5a356fb84f * config/i386/linux.mh: Remove XM_CLIBS, TERMLIB, SYSV_DEFINE, and
REGEX.
	* config/i386/xm-linux.h: Don't include xm-i386v.h.  Define
	HOST_BYTE_ORDER ourselves.  Define HAVE_TERMIOS not HAVE_TERMIO.
	Define NEED_POSIX_SETPGID.  Include unistd.h.
1993-11-15 23:29:10 +00:00
Steve Chamberlain
863099f41e * remote-e7000.c: New file to cope with the Hitachi E7000 ICE.
* remote-utils.c, remote-utils.h (gr_load_image): New function to
	download to target.
	* h8300-tdep.c, h8500-tdep.c, remote-z8k.c, sh-tdep.c z8k-tdep.c
	(sim_load): delete.
	* remote-sim.c (sim_load): Use gr_load_image.
	* config/sh/sh.mt: Add remote-e7000
1993-11-15 23:26:56 +00:00
Steve Chamberlain
cdf73c5c3b Initial revision 1993-11-15 23:25:03 +00:00
Steve Chamberlain
ef419d261c Why does cvs keep core dumping? 1993-11-15 23:22:31 +00:00
Steve Chamberlain
bf2429ab86 * remote-utils.c, remote-utils.h (gr_load_image): New function to
download to target.
1993-11-15 23:21:29 +00:00
Kung Hsu
adbdb5276a Modified Files:
ChangeLog symtab.c

        * symtab.c(gdb_mangle_name): fix the problem with constructor
        name mangling.
1993-11-15 20:40:03 +00:00
Jim Kingdon
dda398c369 * gdbtypes.h: Add TYPE_FLAG_TARGET_STUB.
* gdbtypes.c (check_stub_type): On TYPE_FLAG_TARGET_STUB, do
	what cleanup_undefined_types does for arrays, except we clear
	TYPE_FLAG_TARGET_STUB if we fix up the type.
	* stabsread.c (cleanup_undefined_types): Add comments about how
	doing arrays here is no longer the clean way to do it.
	(read_array_type): Set TYPE_FLAG_TARGET_STUB as well as calling
	add_undefined_type.
	* c-typeprint.c, ch-typeprint.c: Move call to check_stub_type
	outside switch so it happens for all type codes.
	* cp-valprint.c (cp_print_value_fields): Recurse to val_print,
	instead of c_val_print, so that check_stub_type gets called.

	* gdbtypes.h, gdbtypes.c, m2-lang.c, ch-lang.c, c-lang.c: Remove
	TYPE_FLAG_SIGNED.  It was inconsistently set, never checked
	(except in recursive_dump_type), and is pointless.
1993-11-15 20:13:30 +00:00
Jeff Law
db98e4d85e * paread.c (pa_symfile_init): Look for the $TEXT$ section rather
than the .text section.
1993-11-15 08:42:01 +00:00
Jim Kingdon
f6d7df5638 * stabsread.c: Remove #if 0'd dbx_class_complaint. We now handle
this (more or less) gracefully, and complain() was never a good
	way of dealing with this.
1993-11-15 05:36:36 +00:00
Jeff Law
20fde16acc * gdb.stabs/hppa.mt: A makefile fragment for the PA.
* gdb.stabs/configure.in (hppa*-*-*): Use it.
	* gdb.stabs/hppa.sed: New sed script for the PA.
1993-11-14 07:20:53 +00:00
Jim Kingdon
dd06d920c8 * gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp.  sed is portable and POSIX; cpp is neither.
1993-11-14 06:50:42 +00:00
Jim Kingdon
79cf7e1f33 * stabsread.c (read_type): Skip the colon when reading a
cross-reference.  Only complain, not error_type, on unrecognized
	cross-reference types.  error_type, not dump core, if the colon is
	missing.
1993-11-14 06:40:47 +00:00
Jim Kingdon
f50cb1a34d * stabs.texinfo (Nested Symbols): New node.
(String Field, Symbol Descriptors, Cross-References): Refer to it.
1993-11-14 06:33:55 +00:00
Jim Kingdon
68702ea3dd * gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp.  sed is portable and POSIX; cpp is neither.
1993-11-14 05:57:47 +00:00
Jim Kingdon
aad143dc5d * gdb.stabs: Re-write weird.def and configuration to use sed
instead of cpp.  sed is portable and POSIX; cpp is neither.
1993-11-14 05:35:22 +00:00
Stu Grossman
537eba71b1 * config/m68k/tm-sun3.h: Disable use of alternate breakpoint insn
when doing remote stuff.
1993-11-13 00:26:06 +00:00
Jim Kingdon
963ee102f2 * c-exp.y (yylex): Call lookup_symtab not lookup_partial_symtab. 1993-11-13 00:06:49 +00:00
Jim Kingdon
9d271503e8 * partial-stab.h: Ignore ':' symbol descriptors. Same case as
Kung's stabsread.c change.
1993-11-12 22:30:05 +00:00
Jim Kingdon
397f9dcdb9 * stabs.texinfo (Nested Symbols): New node.
(String Field, Symbol Descriptors): Refer to it.
1993-11-12 22:18:29 +00:00
Jim Kingdon
b219511b11 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed. 1993-11-12 21:32:42 +00:00