Commit graph

4394 commits

Author SHA1 Message Date
Stan Shebs
7f4945645b * gdbint.texinfo: Put regex conditionals in their own table. 1994-08-01 22:13:35 +00:00
Kung Hsu
5a04f7d16c Modified Files:
stabsread.c ChangeLog

        * stabsread.c (read_type): Fix a bug in enum size calculation.
1994-08-01 20:41:11 +00:00
Jeff Law
f81eee9deb * hppa-tdep.c (compare_unwind_entries): Add "const" to both
argument types to shut up GCC.
1994-08-01 08:46:51 +00:00
Jeff Law
edd86fb0da * hppa-tdep.c (saved_pc_after_call): If the saved PC is in a
linker stub, then return the address the stub will return to.
	(frame_saved_pc): Correctly restart the search for the saved
	pc when a linker stub is encountered.

	* hppa-tdep.c (inst_saves_gr): Handle 16 and 8 bit instruction
	register stores emitted by the version 9 HP compilers.
	(inst_saves_fr): Relax test for a specific base register (%r1);
	this avoids losing with the version 9 HP compilers.
	(skip_prologue): Try to skip argument stores emitted by the HP
	compilers.  It's not perfect, but it's better than before.
1994-08-01 07:49:59 +00:00
Stu Grossman
43b2064196 * findvar.c (write_pc write_pc_pid): Remove casts to long when
calling write_register_pid.
	* (write_register_pid):  Add prototype.
1994-07-30 06:23:58 +00:00
Steve Chamberlain
205fc02b50 * remote.c (read_frame): Split readchar/checksum calculation into
two parts since evaluation order is undefined.
1994-07-30 05:04:03 +00:00
Fred Fish
0c18c7370b From Kevin A. Buettner (kev@cujo.geg.mot.com).
* Makefile.in (coredep.o):  Add inferior.h as dependency.
	* inflow.c:  Add F_SETOWN to list of defines to check
	around code that uses F_SETOWN.
1994-07-29 21:04:27 +00:00
Stu Grossman
8cb35771db Keep gdbtk.c and gdbtk.tcl. 1994-07-29 18:08:50 +00:00
J.T. Conklin
998b321b93 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): If using newlib,
set the -L and -B directory prefixes so we can link with it.
1994-07-29 17:08:25 +00:00
J.T. Conklin
b933a608ed Obsolete file. 1994-07-29 00:41:04 +00:00
J.T. Conklin
af1fa5e7ca * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
the -B and -L prefixes so we can find the debugging stub.
1994-07-28 23:00:42 +00:00
Stu Grossman
754e5da26e * Makefile.in (INSTALLED_LIBS, CLIBS, DEPFILES): Add support for
--enable-xxx configure option by adding ENABLE_{CLIBS DEPFILES}
	where appropriate.

	* General hackery to support alternate user-interface.
	* breakpoint.c (mention, delete_breakpoint, enable_breakpoint,
	disable_breakpoint):  Call hooks for alternate user-interface.
	* defs.h:  Add declarations for alternate user-interface hooks.
	* main.c (main):  Add --nw (and --nowindows) options to disable
	the GUI.
	* (near call to command_loop):  Call command_loop_hook if set.
	* (fputs_unfiltered):  Call fputs_unfiltered_hook if set.
	* stack.c:  Call print_frame_info_listing_hook if set.
	* top.c (gdb_init):  Initialize targets.c and utils.c prior to
	other files to make sure that calls to error and warning will
	work.  Call init_ui_hook after everything else.
	* utils.c (query):  Call query_hook if set.
	* (gdb_flush):  Call flush_hook if set.
	* Change _initialize_utils to initialize_utils cuz we don't use
	automatic initialization of utils.c anymore.

	* Support for TK GUI.
	* Makefile.in:  Add rule for gdbtk.o.
	* configure.in:  Add support for --enable-gdbtk.
	* gdbtk.c:  New file.  Contains support routines for TK interface.
	* gdbtk.tcl:  New file.  Implements GUI policy.

	* remote.c:  Get rid of #ifdef DONT_USE_REMOTE.  It's no longer
	necessary.
1994-07-28 22:07:02 +00:00
J.T. Conklin
b98612f1fd * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
there and we are using the gcc from the tree.
  (LD_FOR_TARGET): Look for ld in ../ld/ld.new.
1994-07-28 21:57:31 +00:00
J.T. Conklin
d18245ea9a Fix typo 1994-07-28 21:33:56 +00:00
J.T. Conklin
c2926ab7fc * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
there and we are using the gcc from the tree.

* gdb.base/types.c: Removed.
1994-07-28 21:23:28 +00:00
J.T. Conklin
9f70e45075 * gdb.base/configure.in: Look for makefile fragments in ../config.
Recognize i386-*-netware.
* gdb.c++/configure.in: Likewise.
1994-07-28 20:38:45 +00:00
Fred Fish
8aa8690c8b * Makefile.in (annotate.o): Add dependencies. 1994-07-28 18:24:07 +00:00
J.T. Conklin
ff59855b7d * sparclite/aload.c: Added new -q (quiet) option.
return 0 exit status if file was successfully downloaded.
1994-07-28 01:33:45 +00:00
J.T. Conklin
1e47d512c5 * nlm/gdbserve.c: merge in command line argument parsing changes
and bug fixes made to i386-nlmstub.c.
1994-07-27 22:05:46 +00:00
J.T. Conklin
e356aae315 * i386-nlmstub.c: The returnLength field must be initialized
before portConfig is passed to AIOGetPortConfiguration.
  Compare command line arguments with strnicmp(); args are
  case insensitive on netware.
1994-07-27 21:46:06 +00:00
Fred Fish
de19d1ed53 * Makefile.in (DISTSTUFF): Add definition.
(diststuff):  Add for new distribution support.
	(gdb.tar.Z, make-proto-gdb.dir, setup-to-dist,
	gdb-$(VERSION).tar.Z, make-proto-gdb-1, make-proto-testsuite.dir):
	Remove old distribution building rules, now uses standard
	distribution support in parent directory Makefile.in.
1994-07-27 16:32:01 +00:00
Jim Kingdon
f6d5d0061c * target.c (push_target): Cast result from xmalloc. 1994-07-27 05:10:52 +00:00
Stan Shebs
beb773f39f * gdbint.texinfo: Removed mentions of many obsolete conditionals,
described or fixed the descriptions of many others.
1994-07-27 01:35:46 +00:00
Stan Shebs
d54b2c5069 Tue Jul 26 18:20:46 1994 Paul Flinders (ptf@smee)
* elfread.c (elf_symtab_read): Discard compiler labels generated
	by the Solaris 2.1/Intel SunPro compiler.
1994-07-26 22:22:38 +00:00
Peter Schauer
d938d0f96a * gdb.base/corefile.exp: Change else if' to elseif', which is
the correct TCL syntax.
1994-07-26 06:52:38 +00:00
Stu Grossman
4fc5969d1d * target.c (nomemory): Fix prototype and routine to take correct
args.
1994-07-26 01:21:04 +00:00
J.T. Conklin
08104d73b8 * gdb.base/opaque.exp: use runto instead of messing around with
breakpoints.

* gdb.base/bitfields.exp: restart between tests on netware targets
  because breakpoints aren't relocated after target death.  Run
  processes to completion.

* gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
1994-07-25 23:35:10 +00:00
J.T. Conklin
a488d496ec * gdb.base/opaque.exp: use runto instead of messing around with
breakpoints.
1994-07-25 23:34:23 +00:00
Jim Kingdon
1ded65d1aa * Makefile.in (clean): Remove libgdb-files. 1994-07-25 22:43:29 +00:00
Stan Shebs
9a989b1f61 * coredep.c: Include inferior.h. 1994-07-25 18:55:22 +00:00
J.T. Conklin
159f3816fd * Makefile.in (LD_FOR_TARGET): Look for ld in ../ld/ld.new.
* i386-nlmstub.c: Add support for NODE, PORT and BAUD command
  line arguments.
1994-07-25 18:45:14 +00:00
Fred Fish
dedd81f159 * Makefile.in: Remove extra tabs that confuse some versions
of "make".  Use the newly built gdb to test with by default,
	rather than the first one in the tester's search path.
1994-07-24 16:56:45 +00:00
Stan Shebs
73e484b44a * gdb.base/whatis.exp (v_signed_short_array): Fix a typo. 1994-07-23 23:24:05 +00:00
Stan Shebs
9e38b2fa8d * symfile.c (deduce_language_from_filename): Recognize .S as asm,
.cp as C++, alphabetize better.
1994-07-23 22:56:46 +00:00
Stan Shebs
a924cf196d * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
condition help.
1994-07-23 22:09:34 +00:00
Stan Shebs
557f3a0e60 * breakpoint.c (ignore, condition): Move usage note into body of
help text, so first line can be one-line summary.
1994-07-23 22:01:44 +00:00
Stu Grossman
67e947deb2 * target.c (unpush_target): Fix handling of removal of top target. 1994-07-23 08:01:09 +00:00
Stu Grossman
cad1498f8a * Makefile.in: Add stuff to build nlmstub.
* Add rule for annotate.o to keep Sun make happy.
	* configure.in:  Add config for powerpc/Netware.

	* partial-stab.h (near N_SO):  Don't call START_PSYMTAB with null
	filename.  This speeds up handling of trailing N_SO stabs (they
	mark the end of a .o file).

	* target.c, target.h:  Change the way pushing and popping of
	targets work to support target overlays and inheritance.
	* corelow.c, hppa-tdep.c, inflow.c, remote-nindy.c, utils.c:
	Fixup references to current_target, due to previous changes.

	* config/i386/tm-i386nw.h:  Enable longjmp support.  More work is
	needed to get the address of longjmp out of the target.
1994-07-23 00:53:28 +00:00
J.T. Conklin
316567f0ff Upgraded to use gdb_test. 1994-07-22 21:14:03 +00:00
J.T. Conklin
fafc71bab7 Use gdb_run_cmd 1994-07-20 17:38:05 +00:00
J.T. Conklin
959fea03b5 Changed pattern in gdb_run_cmd to match up to the first newline only.
The old pattern used ".*$", which could, and did, swallow up output
that we were attempting to match elsewhere.
1994-07-20 17:29:02 +00:00
J.T. Conklin
4f2ec2eeb8 New implementation of gdb_run_cmd which fixes some subtle bugs. 1994-07-20 16:40:08 +00:00
J.T. Conklin
412c988b1d Temporarily back out last change 1994-07-20 01:03:24 +00:00
J.T. Conklin
b34c14fb19 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd. 1994-07-19 22:57:49 +00:00
J.T. Conklin
27b4d34f08 * gdb.base/funcargs.exp: Use gdb_run_cmd to start program. 1994-07-19 22:57:29 +00:00
J.T. Conklin
4704ece79f * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
* gdb.base/funcargs.exp: Use gdb_run_cmd to start program.
1994-07-19 22:57:13 +00:00
J.T. Conklin
809943cfa9 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
running.
1994-07-19 22:19:41 +00:00
J.T. Conklin
c5ea7f99a4 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program. 1994-07-19 22:19:25 +00:00
J.T. Conklin
3236e9849d * lib/gdb.exp (gdb_run_cmd): New function, used to start program
running.
* gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
1994-07-19 22:18:48 +00:00
J.T. Conklin
940423347b Mostly converted to use gdb_test proc. 1994-07-19 21:42:58 +00:00