Commit graph

1646 commits

Author SHA1 Message Date
Stu Grossman
c9de302ba5 * infrun.c (wait_for_inferior): Allow user to single step within
a stack dummy.
1993-09-16 20:18:26 +00:00
Jim Kingdon
2670a1dd47 * dbxread.c (copy_pending): Deal with END NULL.
(process_one_symbol): Add comments about what common_block NULL means.
1993-09-16 19:54:47 +00:00
Stu Grossman
f2e21136eb * sparc-stub.c (_trap_low): Do restore/save sequence after
setting sp to ensure that we load the previous window from the
right place on the stack.
1993-09-16 19:16:19 +00:00
Peter Schauer
85999c054b * mipsread.c: Many changes for alpha ecoff format:
Correct sizeof(int) == sizeof(long) assumptions.
	Replace stParsed hack by putting the parsed types on the pending chain.
	Replace mips specific ecoff mapping by ECOFF_REG_TO_REGNUM macro,
	provide default for cross debugging.
	Swapping the symbol back is no longer needed as the symbol is not
	modified anymore.
	Add new alpha basic types, handle btTypedef, handle stStaticProc
	external symbols .
	Update and clean up cross_ref for alpha cc cross ref variations.
	Allocate types on the type_obstack to inhibit storage leaks.
	* config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM):  Define.
	* gdbtypes.c (recursive_dump_type):  Dump TYPE_TAG_NAME if it is set.
1993-09-16 07:38:42 +00:00
Jim Kingdon
ddf5d7e82e * paread.c, coffread.c, elfread.c, dwarfread.c:
Include <time.h> and <sys/types.h> before libbfd.h.
1993-09-15 16:45:44 +00:00
Jim Kingdon
5ed0ccafca * stabsread.c (read_type): Process "s" (size) type attribute.
If type is defined to another type, copy the type.
1993-09-15 00:46:55 +00:00
Ian Lance Taylor
aa8fe9070c * config/i386/i386v4.mh (NATDEPFILES): Move exec.o from here...
* config/i386/i386v4.mt (TDEPFILES): ...to here.
1993-09-14 22:41:49 +00:00
K. Richard Pixley
b70b042d02 fix serial.h inclusion 1993-09-14 20:08:23 +00:00
K. Richard Pixley
a94abe5bb7 use remote-utils facilities for baud_rate 1993-09-14 19:34:15 +00:00
Jim Kingdon
fc77365385 * paread.c, coffread.c, elfread.c: Include <time.h> before libbfd.h. 1993-09-14 18:10:42 +00:00
Jim Kingdon
1225fcbd24 * paread.c: Include <time.h> before libbfd.h.
* paread.c: Define BYTES_IN_WORD before including aout/aout64.h.
1993-09-14 17:32:45 +00:00
Jim Kingdon
899931b638 * Makefile.in (a29k-tdep.o): Depend on $(defs_h).
* config/a29k/tm-a29k.h (SAVED_PC_AFTER_CALL): Use gr122 not lr0
	if this	is a transparent procedure.
1993-09-14 16:22:07 +00:00
Jim Kingdon
55fea07b55 * remote.c: Define remote_debug to 0 and #if 0 baud_rate. Temporary
hack so this file compiles again.

	* remote-utils.c (gr_multi_scan): Cast return value from alloca.
	(gr_multi_scan): #if 0 never-reached return(-1).
1993-09-14 01:08:22 +00:00
K. Richard Pixley
c6f494e8be collect some remote things into remote-utils 1993-09-13 22:12:16 +00:00
Jim Kingdon
37c99ddb4e * inferior.h, infrun.c, thread.c, infcmd.c: Remove all uses of
pc_changed.  If it was ever set to a non-zero value, it was before
	GDB 2.8.  It doesn't seem to have any useful function.
1993-09-13 20:54:00 +00:00
Jim Kingdon
e3c16900cd * defs.h: Don't define NORETURN (see comment). 1993-09-13 20:13:03 +00:00
Jim Kingdon
f46ffb9ebd More gcc lint:
* exec.c (ignore): Return 0.
	* stack.c (return_command): Fetch lazy value directly, not via
	VALUE_CONTENTS, to avoid "value computed is not used".
	* inflow.c (new_tty): Move osigttou inside #if.

	* remote.c (remote_fetch_registers): If remote reply is short, just
	note that fact and keep going (reading extra registers as all bits 0).
	(remote_store_registers): Send number of registers that were found
	by remote_fetch_registers.
	* m68k-tdep.c, config/m68k/tm-m68k.h, config/m68k/tm-*.h: Remove
	HAVE_68881.  Define CANNOT_STORE_REGISTER if ptrace() can't write
	floating registers.
	* config/m68k/{tm-m68k-nofp.h,m68k-nofp.mt,tm-m68k-fp.h,m68k-fp.mt}:
	Remove, replaced by {tm-m68k-em.h,m68k-em.mt}.
	* Makefile.in, configure.in: Change accordingly.
1993-09-09 18:33:44 +00:00
Peter Schauer
da398610b5 * mipsread.c (cross_ref): Allow SGI extended symbol types as cross
reference targets.
	* symmisc.c (print_symbol):  Use TYP_TAG_NAME not TYPE_NAME to avoid
	printing of identities.
1993-09-09 12:02:59 +00:00
Jim Kingdon
93bb0afaf6 * breakpoint.c (breakpoint_1): Deal with step resume breakpoint. 1993-09-09 00:33:22 +00:00
K. Richard Pixley
89812a0ed5 gcc lint 1993-09-08 21:45:46 +00:00
K. Richard Pixley
c323585b89 gcc lint 1993-09-08 21:45:17 +00:00
K. Richard Pixley
fee933f19c gcc lint 1993-09-08 21:30:33 +00:00
K. Richard Pixley
72cd0384f2 gcc lint 1993-09-08 21:23:41 +00:00
K. Richard Pixley
6406a86740 gcc lint 1993-09-08 21:16:23 +00:00
K. Richard Pixley
e7bf1152a9 gcc lint 1993-09-08 21:04:59 +00:00
K. Richard Pixley
0ac0a9f6f1 gcc lint 1993-09-08 20:57:08 +00:00
K. Richard Pixley
46c28185ab some gcc lint 1993-09-08 20:15:34 +00:00
Jim Kingdon
78ae813613 Back out this change; it doesn't work.
Tue Sep  7 13:06:44 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)

	* dbxread.c (process_one_symbol): If the value of an N_FUN for a
	function is zero, use minimal symbols to get the address.
1993-09-08 19:03:21 +00:00
Jim Kingdon
bf6608851f * Makefile.in (mipsread.o): Depend on $(bfd_h). 1993-09-08 15:48:03 +00:00
Ian Lance Taylor
4f8a48e5a2 * remote.c (remote_wait): Don't call error. Instead, call warning
inside a loop.  User can ^C to get out.
1993-09-07 22:15:15 +00:00
Jim Kingdon
8467b44674 * gdbserver/Makefile.in (TAGS): config files are in
$(srcdir)/../config, not $(srcdir)/config.
1993-09-07 21:39:47 +00:00
Jim Kingdon
ed1a07ad1f * config/pa/tm-hppa.h: Declare target_read_pc and target_write_pc.
(STORE_RETURN_VAULE): Pass the correct offset of the return
	register to write_register_bytes.
	* hppa-tdep.c: Use target_write_pc if PCOQ_TAIL_REGNUM was not saved.
1993-09-07 19:57:45 +00:00
Ian Lance Taylor
4a87a64ad3 * config/m68k/tm-m68k.h (FIX_CALL_DUMMY): Changed name of swapping
routine to match BFD name change.
	* config/z8k/tm-z8k.h (FIX_CALL_DUMMY): Likewise.
1993-09-07 18:36:47 +00:00
Jim Kingdon
8adcfb97ad * dbxread.c (process_one_symbol): If the value of an N_FUN for a
function is zero, use minimal symbols to get the address.
1993-09-07 18:12:26 +00:00
Jeffrey Wheat
538b206806 Changed elf32_symbol_type to elf_symbol_type 1993-09-06 22:08:31 +00:00
Ian Lance Taylor
758aeb93fc * remote.c (remote_wait): Added 'W' and 'N' responses. 1993-09-06 19:46:43 +00:00
Jim Kingdon
9e19dee1f0 * main.c, utils.c: Add comments about immediate_quit. 1993-09-03 22:53:45 +00:00
Jim Kingdon
5ec3ba257b * elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
to minimal symbols.
1993-09-03 16:27:35 +00:00
Jim Kingdon
38c5f504d1 * target.c (pop_target): Don't try to deal with the stack becoming
empty.  Shouldn't happen and the code that tried was broken.
1993-09-03 15:34:13 +00:00
Jim Kingdon
ac7a377f64 * dcache.c: Cast return value from xmalloc.
* remote.c: Move setting of immediate_quit from remote_open to
	remote_start_dummy and set it back to zero when done.
1993-09-03 14:26:29 +00:00
Jim Kingdon
eba94f7d0d * m88k-tdep.c: Remove a bunch of unused #includes. 1993-09-02 21:23:16 +00:00
Jim Kingdon
a3178c64fd * language.h: Add comment about current_language. 1993-09-02 19:12:37 +00:00
Jim Kingdon
fb27a96270 * mips-tdep.c (_initialize_mips_tdep): Change heuristic-fence-post
from var_uinteger to var_zinteger.
1993-09-02 16:50:45 +00:00
Jim Kingdon
f9440640b2 * m88k-tdep.c: Include sys/dir.h before sys/user.h.
Include sys/types.h regardless of USG.

	* configure.in: Fix typo (delta88r4 -> delta88v4).

	* config/m88k/xm-delta88.h: Don't include sys/siginfo.h.  It was
	to make this work on SVR4 before SVR4 had its own configuration,
	and it breaks SVR3.
1993-09-02 06:20:20 +00:00
Jim Kingdon
7f5a51a460 * config/m88k/delta88v4.h (NATDEPFILES): Remove infptrace.o inftarg.o. 1993-09-02 06:13:28 +00:00
Jim Kingdon
d9a23ef770 * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
* config/m88k/m88k.mh: Use xm-dgux.h.
	* config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER,
	MAKEVA_END and MAKEVA_ARG.
	* config/m88k/xm-*.h: Include m88k/xm-m88k.h.
	* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
1993-09-02 05:57:33 +00:00
Jim Kingdon
22202966ce * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
* config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER,
	MAKEVA_END and MAKEVA_ARG.
	* config/m88k/xm-*.h: Include m88k/xm-m88k.h.
	* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
1993-09-02 05:35:49 +00:00
Jim Kingdon
a80193badd * remote-udi.c (udi_wait): Call warning' not error'. 1993-09-02 05:00:48 +00:00
Jim Kingdon
67a64bec4e * symtab.c (COMPLETION_LIST_ADD_SYMBOL): If the symbol has a
demangling, don't put the mangled form in the completion list.
1993-09-02 02:25:34 +00:00
Jim Kingdon
996ccb3043 * symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c,
symfile.h, stabsread.c, minsyms.c, solib.c, nlmread.c, dwarfread.c
	partial-stab.h, symmisc.c, gdbtypes.c: Lint.  Remove (or put
	inside #if) unused variables and labels.  Fix unclosed comment.
	Deal with enumeration values unhandled in switch statements.  Make
	sure non-void functions return values.  Include appropriate
	headers.
	* dbxread.c (elfstab_build_psymtabs): Don't check for unsigned
	value < 0.
1993-09-02 01:41:40 +00:00