Commit graph

4443 commits

Author SHA1 Message Date
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
J.T. Conklin
7e63dc5fb2 This config file didn't belong here 1994-07-19 21:33:15 +00:00
Stan Shebs
844750e31e * main.c: Include <ctype.h>. 1994-07-19 20:28:00 +00:00
J.T. Conklin
3e304ddfab * gdb.base/bitfields.exp: Simplify by using delete_breakpoints and
gdb_test.
* lib/gdb.exp (gdb_test): if match times out, don't call fail if
  message is "".
1994-07-19 17:33:52 +00:00
Kung Hsu
b0a0ee5272 Modified Files:
remote-mips.c ChangeLog

        * remote-mips.c (mips_readchar): Fix a bug in checking <IDT>
        prompt.
1994-07-18 22:35:33 +00:00
J.T. Conklin
98f6da4f02 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
return,signals,twice}.exp: Handle non-existant binaries
  consistantly.
1994-07-18 22:27:07 +00:00
Stan Shebs
b0fbe5a26d (is there an echo in here?)
* solib.c (look_for_base): Don't deref exec_bfd if NULL.
1994-07-18 21:37:18 +00:00
J.T. Conklin
8f2d75fcf4 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
* gdb.base/Makefile.in: Don't try to generate a core dump, we
  might testing a cross development system.
1994-07-18 19:25:50 +00:00
Fred Fish
005234f563 (This is the change that should have gone in the main tree ...)
* Makefile.in (VERSION):  Bump to 4.12.4.
1994-07-17 23:08:07 +00:00
Fred Fish
0f221a6949 * Makefile.in (VERSION): Bump to 4.12.85. 1994-07-17 22:40:25 +00:00
Stan Shebs
356bc67bc5 * gdb.texinfo: Add some more credits.
* gdbint.texinfo: Capitalize GDB consistently, describe some
	macros and remove some.
1994-07-17 21:17:23 +00:00
Stan Shebs
f66c90b6bf * config/m88k/delta88.mh (MUNCH_DEFINE): Remove.
* config/m88k/delta88.mt, config/m88k/delta88v4.mh: Format
	consistently.
1994-07-17 21:10:21 +00:00
Stan Shebs
670a8e09e9 Harris CX/UX support, from Bob Rusk (rrusk@mail.csd.harris.com).
* configure.in (m88*-harris-cxux*): New configuration.
	* cxux-nat.c, config/m88k/cxux.mh, config/m88k/cxux.mt,
	config/m88k/xm-cxux.h, config/m88k/tm-cxux.h, config/m88k/nm-cxux.h:
	New files.
	* config/m88k/tm-m88k.h: Add comment about Harris OS.
	(TARGET_WRITE_PC): Pass pid through to register writers.

	* configure.in (m68*): Put vendor-only-specified host configs
	after vendor-and-os-specified configs.
	(m68*-atari-sysv4*, m68*-cbm-sysv4*): Replace with m68*-*-sysv4.
1994-07-17 21:08:42 +00:00
Peter Schauer
00306b1e9e * elfread.c (elf_symtab_read): Handle error return from
bfd_get_dynamic_symtab_upper_bound gracefully.
1994-07-17 06:42:14 +00:00
Stan Shebs
62a5dabced * inferior.h (ARCH_NUM_REGS): New macro, actual number of
registers in use by the inferior.
	* coredep.c (fetch_core_registers, register_addr): Use it.
	* findvar.c (registers_changed, registers_fetched,
	read_register_bytes): Ditto.
	* infcmd.c (do_registers_info, registers_info): Ditto.
	* infptrace.c (fetch_inferior_registers,
	store_inferior_registers): Ditto.
	* stack.c (frame_info): Ditto.

	* coredep.c (CORE_REGISTER_ADDR): New macro.
	(fetch_core_registers): Use it.
1994-07-17 00:00:36 +00:00
Stan Shebs
49b476bd20 * breakpoint.c (ignore, condition): Add usage notes to help strings.
* symfile.c (add-symbol-file): Add usage note to help string.
	(add_shared_symbol_files_command): New command.

	gcc -Wall lint.
	* inferior.h (read_pc_pid): Declare.
	* breakpoint.c (watchpoint_check): Cache breakpoint in local
	variable b, remove unused variable other_type_used.
	* main.c (inferior.h, call-cmds.h): Include.
	(gdb_init): Declare.
	* remote.c (remote_wait): Return 0 by default.
1994-07-16 22:57:23 +00:00
Stan Shebs
0568ccb0ac Stop printing at null char option, from Oliver Meyer
(omeyer@i3.informatik.rwth-aachen.de).
	* valprint.h, valprint.c (stop_print_at_null): New global.
	* valprint.c (_initialize_valprint): New print set subcommand
	"null-stop".
	* c-valprint.c (c_val_print): If stop_print_at_null is on, and
	printing a char	array, adjust the number of chars to print.
1994-07-15 23:53:04 +00:00
Stan Shebs
08f32e322b From Kevin A. Buettner (kev@cujo.geg.mot.com).
* m88k-tdep.c (examine_prologue): Modified to handle prologues for
	pic code in addition to prologues where an instruction from the
	prologue gets moved into the delay slot of a branch instruction
	immediately following the prologue.  A table of potential prologue
	instructions (prologue_insn_tbl) is now used for picking apart a
	function prologue.
	(frame_find_saved_regs): Changed the way in which limit gets set
	so that the delay slot of branch instructions immediately
	following the prologue gets examined.
	(pushed_size, store_parm_word, store_parm, push_parameters,
	collect_returned_value):  Deleted.
1994-07-15 21:37:30 +00:00
Peter Schauer
0b0ee55e42 * infrun.c (wait_for_inferior): Handle stepping into leaf
functions whose prologue consists of gp loading code only.
1994-07-15 08:15:13 +00:00
Stan Shebs
cdc647da07 * gdbint.texinfo: Removed mentions of many incorrectly placed and
obsolete conditionals, described some others.
1994-07-15 01:48:01 +00:00
Stan Shebs
802a2b00a9 * gdb.base/signals.exp: Allow for optionality of breakpoint
address.
1994-07-14 22:37:53 +00:00
Stan Shebs
8e3ff82354 * dbxread.c: Don't include libbfd.h.
* dwarfread.c, elfread.c somread.c: Don't include libbfd.h,
	<time.h>, or <sys/types.h>.
	* elfread.c (elf_symfile_read): Use only standard BFD functions to
	collect information about the stab and stab string sections.
1994-07-14 21:34:09 +00:00
Kung Hsu
8dbe58d843 Modified Files:
stabsread.c ChangeLog

        * stabsread.c (read_huge_number): handle large unsigned number
        for stabs generated by os9k C compiler.
1994-07-14 20:20:49 +00:00
Jim Kingdon
7f5f5630fc * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test. 1994-07-14 18:31:46 +00:00
Stan Shebs
9f5772857f Breakpoint hit counts, from Bob Rusk (rrusk@mail.csd.harris.com).
* breakpoint.h (hit_count): New breakpoint field.
	* breakpoint.c (show_breakpoint_hit_counts): New variable.
	(clear_breakpoint_hit_counts): New function.
	(bpstat_stop_status): Increment the hit count.
	(breakpoint_1): Display the hit count.
	* infcmd.c (run_command): Reset breakpoint hit counts.
	* target.c (generic_mourn_inferior): Don't clear ignore counts if
	displaying hit counts.
1994-07-14 02:15:39 +00:00
J.T. Conklin
6380e4d28e Minor tweaks 1994-07-12 22:23:25 +00:00
J.T. Conklin
cdb181cb64 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
for size_t definition.
* gdb.c++/templates.cc: Likewise
1994-07-12 21:56:28 +00:00
J.T. Conklin
c14cb8ce80 * config/mt-i386-netware: New file. 1994-07-12 20:12:01 +00:00
J.T. Conklin
f3c8d0971b * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
defined.
1994-07-12 20:07:49 +00:00
J.T. Conklin
29a3db493f * gdb.base/Makefile.in: Added support for systems that name core
files by appending "core" to the program name.
* gdb.base/a1-selftest.exp: Likewise.
1994-07-12 19:33:37 +00:00
Peter Schauer
a4ae37021c * gdb.texinfo (help targets): Changed to `help target', which
is the correct gdb command.
1994-07-12 19:30:14 +00:00
Peter Schauer
6d9b8a93f9 * elfread.c (elf_symfile_read): Unconditionally add dynamic
symbols for all symbol files.  Makes skipping over the
	trampoline code work when stepping from a function in a shared
	library into a function in a different shared library for Irix 5.
	Other ELF targets do not have enough information in their
	dynamic symbol tables to make this work.
	(elf_symtab_read):  Relocate mst_solib_trampoline address.
1994-07-12 19:29:04 +00:00
Peter Schauer
c3ac803fe6 * gdb.base/return.exp: Add comment and message for `return double'
test failure on Sparc Solaris.
1994-07-12 07:04:15 +00:00
Stan Shebs
08df328495 Various updates 1994-07-12 01:43:09 +00:00
Stan Shebs
02176ddb29 Atari support, from Uwe Seimet (seimet@chemie.uni-kl.de).
* configure.in (m68*-atari-sysv4*): New configuration.
	(m68*-cbm-sysv4*): Use m68kv4 instead of amix.
	* m68k-tdep.c (R_PS): Define as R_SR if necessary.
	* config/m68k/m68kv4.mh, config/m68k/m68kv4.mt,
	config/m68k/tm-m68kv4.h, config/m68k/xm-m68kv4.h: New files.
	* config/m68k/amix.mh, config/m68k/amix.mt,
	config/m68k/tm-amix.h, config/m68k/xm-amix.h: Removed, superseded
	by m68kv4 files.
1994-07-12 00:36:42 +00:00
Peter Schauer
defa6c748a * symtab.c (find_function_start_sal): New function to find
the start of a function from a function symbol.
	(decode_line_1, decode_line_2):  Use it instead of open coded
	partial copies of the code.
	(list_symbols):  Quote symbol name before passing it to
	break_command to enable proper handling of mangled symbols.
1994-07-09 23:30:21 +00:00
Per Bothner
ad86f71799 * ch-exp.y (match_simple_name_string): Don't lower-case here.
* ch-exp.y (yylex):  First try name lookup using exact name
	typed by user;  if that fails, try lower-cased name.
1994-07-07 03:27:48 +00:00
Peter Schauer
cef0333efd * dbxread.c, elfread.c, mipsread.c, nlmread.c, os9kread.c:
Move "no debugging symbols found" test to symfile.c.
	* symfile.c (syms_from_objfile, reread_symbols):  Add
	"no debugging symbols found" test.
	* coffread.c (init_stringtab):  Handle stripped files with a
	stringtab offset of zero gracefully.
	* osfsolib.c (solib_create_inferior_hook):  Use DYNAMIC flag from
	BFD instead of stop_pc heuristic to determine if it is a dynamically
	linked object file.
	* procfs.c (wait_fd):  Handle ENOENT error return from PIOCWSTOP
	ioctl, it indicates that the process has exited.
1994-07-06 08:01:52 +00:00
Jeff Law
0fc2728985 * hppa-tdep.c (read_unwind_info): ELF unwind information is in the
.PARISC.unwind section now.
1994-07-05 01:32:46 +00:00
Stan Shebs
51684caad1 * breakpoint.c (mention): Always show breakpoint address if no
source file.
1994-07-05 00:15:49 +00:00
Peter Schauer
fb1b2bd0af * config/sparc/tm-sun4sol2.h (HANDLE_SVR4_EXEC_EMULATORS):
Define to enable handling of shared libraries for a.out executables,
	run under Solaris BCP.
1994-07-02 08:55:43 +00:00
Stan Shebs
7f6572f512 * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.
* ser-mac.c (MacSerial.h): Include instead of Serial.h.
1994-07-01 18:44:26 +00:00
Jim Kingdon
018d94f53c * infrun.c (wait_for_inferior): Print "Program exited normally"
regardless of batch_mode.
	* defs.h, top.c (batch_mode): Removed.
1994-06-30 21:24:57 +00:00
Stan Shebs
8d9171304f Fix a booboo 1994-06-30 03:25:02 +00:00
Stan Shebs
054308add9 * Makefile.in (dcache_h): Remove redundant definition.
(init.c): Add a comment.
	(top.c): Remove explicit compile action.
	* breakpoint.c (mention): Share code indicating location of
	break/watchpoints, don't print address if addressprint is off.
	* breakpoint.c, c-typeprint.c, c-valprint.c, energize.c, symtab.h
	(demangle): Remove redundant declarations.
	* eval.c: Remove redundant function declarations.
	* objfiles.h: Cosmetic and grammatical improvements.
	* TODO: Various updates.
1994-06-30 02:51:50 +00:00
Stan Shebs
7d13174e08 * remote-mips.c: Replace all \r chars with \015.
(mips_receive_header): Display control characters readably.
	(mips_xfer_memory): Add a simple progress display.
1994-06-30 01:59:36 +00:00
Stan Shebs
c2f2c6fa6c * mpw-make.in: Use {s} instead of {srcdir} everywhere.
(bindir, libdir): Remove extra colon.
	(source.c): Compile with C instead of gC.
	(c-exp.tab.c, ch-exp.tab.c, m2-exp.tab.c): Add {o}.
	(install-only): Don't install MacGDB.
	* source.c (openp) [MPW]: Add a debugging display.
	(open_source_file) [MPW]: Use MPW basename finders.
	[MPW_C]: Briefer versions of help for line and list commands.
1994-06-30 01:52:15 +00:00
Steve Chamberlain
402b0d2e55 * remote-e7000.c (e7000_open): Don't try a tcp open if we're
using go32.
	* remote-hms.c (flush): New function.
	(expect): Get edge case right.
	(hms_read_inferior_memory): Be more tolerant of line noise.
1994-06-29 20:20:42 +00:00
Jean Marie Diaz
3563094ddc * configure.in: Use i386m3.mh and i386m3.mt as names of host and
target files, not non-existent mach3.mh and mach3.mt.
1994-06-29 13:15:51 +00:00
Peter Schauer
8959745750 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
from optimizing them away.
	* gdb.c++/classes.exp, gdb.c++/inherit.exp:  Update ptype expect
	patterns to include default constructors and assignment operators,
	to match gcc versions beyond 2.5.8.
1994-06-29 07:35:00 +00:00
Peter Schauer
ca694bfdd7 * dbxread.c (dbx_symfile_read): Unconditionally add dynamic
symbols for all symbol files.  Makes skipping over the
	trampoline code work when stepping from a function in a shared
	library into a function in a different shared library.
	(read_dbx_dynamic_symtab):  Relocate mst_solib_trampoline address.
1994-06-29 07:31:53 +00:00
Stu Grossman
320f93f714 * dbxread.c, partial-stab.h (near N_SO): SO stabs with blank
names mean end of .o file.
	* infrun.c (wait_for_inferior):  Clean up multi-thread logic near
	top of routine.  Handle new thread notification cleanly.
	* lynx-nat.c (child_wait):  General cleanups, handle new LynxOS
	thread notification scheme.
	* (child_resume):  General cleanups, handle resumption of all
	threads properly.
1994-06-28 23:36:52 +00:00