Commit graph

3112 commits

Author SHA1 Message Date
David MacKenzie
7640fe7108 fix a few typos 1993-09-10 13:36:07 +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
Jim Kingdon
5c303f64ca * remote-udi.c (udi_wait, case UDIStdinNeeded): Use a loop calling
getchar() (terminated only on '\n') instead of scanf.  Send the
	'\n' which terminates it to the remote system.
1993-09-09 17:58:46 +00:00
Jim Kingdon
fc7ed03957 * config/m68k/{tm-m68k-nofp.h,m68k-nofp.mt}: Remove.
* config/m68k/{tm-m68k-fp.h,m68k-fp.mt}: Rename to
	{tm-m68k-em.h,m68k-em.mt}.
1993-09-09 16:09:37 +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
Rob Savoye
4adf693011 Made cross testing work better. 1993-09-09 05:12:46 +00:00
Jim Kingdon
3ff8a96f44 * gdb.texinfo: Clarify how well it works with Fortran. 1993-09-09 01:53:36 +00:00
Jim Kingdon
93bb0afaf6 * breakpoint.c (breakpoint_1): Deal with step resume breakpoint. 1993-09-09 00:33:22 +00:00
Jim Kingdon
cd61aa60cb * stabs.texinfo (Stabs In ELF, Statics, ELF Transformations):
More on relocating stabs in ELF files.
1993-09-08 23:05:46 +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
32d71e32d1 * stabs.texinfo (Stabs In ELF, Statics): More on relocating stabs
in ELF files.
1993-09-08 18:30:25 +00:00
Jim Kingdon
3c7d306488 Revert previous change. It doesn't work because it neglects to
consider there may be a file compiled without -g screwing things up
(e.g. we are looking for the minimal symbol for "main" and we get the
one for "start" instead).

This is the change I mean:
	* minsyms.c, symtab.h (lookup_next_minimal_symbol): New function.
	* dbxread.c (process_one_symbol): Use it.
1993-09-08 17:26:31 +00:00
Jim Kingdon
9f1e14f4c9 * minsyms.c, symtab.h (lookup_next_minimal_symbol): New function.
* dbxread.c (process_one_symbol): Use it.
1993-09-08 15:51:39 +00:00
Jim Kingdon
bf6608851f * Makefile.in (mipsread.o): Depend on $(bfd_h). 1993-09-08 15:48:03 +00:00
Jim Kingdon
55f65171f2 add comment 1993-09-08 14:47:10 +00:00
Jim Kingdon
31a932d84c * stabs.texinfo (Stabs In ELF, Statics): More on relocating stabs
in ELF files.
1993-09-08 14:15:35 +00:00
Jim Kingdon
c09bd4433e revise comment 1993-09-08 14:08:43 +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
Jim Kingdon
b7da78d561 * gdb.t15/{return.c,return.exp,Makefile.in}:
New test, currently commented out.
1993-09-07 19:21:12 +00:00
Jim Kingdon
4e9570e867 * stabs.texinfo (Stabs In ELF): Talk about N_FUN value. 1993-09-07 18:49: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
Jim Kingdon
f3bb0be20a * stabs.texinfo (Local Variable Parameters): Talk about nameless
parameters on VAX.
1993-09-07 00:26:57 +00:00
Jeffrey Wheat
538b206806 Changed elf32_symbol_type to elf_symbol_type 1993-09-06 22:08:31 +00:00
Ian Lance Taylor
72dd16ea2c Snapshot of stand alone i386 NLM debugging stub. Currently sanitized
out because it contains Novell proprietary code.
1993-09-06 19:48:43 +00:00
Ian Lance Taylor
758aeb93fc * remote.c (remote_wait): Added 'W' and 'N' responses. 1993-09-06 19:46:43 +00:00
Roland Pesch
6370267a45 @up/@down -> @raisesections/@lowersections 1993-09-04 00:07:46 +00:00
Jim Kingdon
9e19dee1f0 * main.c, utils.c: Add comments about immediate_quit. 1993-09-03 22:53:45 +00:00
Jim Kingdon
bbf1ff10ad * elfread.c (elf_symtab_read): Don't add symbols starting with ".L"
to minimal symbols.
1993-09-03 22:02:59 +00:00
Jim Kingdon
ee5e0932d6 * stabs.texinfo: Make info author notice match the TeX author notice. 1993-09-03 17:12:22 +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
408f6c34c8 * stabs.texinfo: Many minor cleanups. 1993-09-03 16:15:13 +00:00
Jim Kingdon
56bfba9cea * stabs.texinfo: Many minor cleanups. 1993-09-03 16:04:27 +00:00
Jim Kingdon
a1aae90f2e remove obsolete comment about call function stuff being duplicated 1993-09-03 15:56:00 +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