Commit graph

6217 commits

Author SHA1 Message Date
David MacKenzie
ba7c8e2905 * strings.c, strings.1: New files.
* binutils.texi: Document strings.
1993-06-26 06:37:17 +00:00
Jim Kingdon
2de1aa1cc9 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test. 1993-06-26 03:30:24 +00:00
Jim Kingdon
11d1934593 revisions to just-checked-in stuff re common blocks 1993-06-26 03:25:03 +00:00
Jim Kingdon
e0020f272e * stabs.texinfo (Common Blocks): Say what Sun FORTRAN does. 1993-06-26 02:39:05 +00:00
Jim Kingdon
751b4006af * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
CALL_DUMMY between different 68k machines.
1993-06-26 02:05:54 +00:00
Jim Kingdon
ea2455a939 * config/m68k/tm-m68k.h: Remove obsolete comment about duplicating
CALL_DUMMY between different 68k machines.
1993-06-26 01:44:56 +00:00
Ken Raeburn
d086adf85a Elf bfd routines and types are now size-independent again. 1993-06-26 00:47:23 +00:00
Stu Grossman
41e170e271 * gdbserver/Makefile.in: Add dependancies on server.h.
* gdbserver/remote-gutils.c:  Remove lots of unused functions and
	variables.
	* gdbserver/remote-inflow.c:  Remove lots of unused variables and
	#includes.  Also, use PTRACE_* symbols instead of constants.
	(mywait):  Surround calls to wait() with enable/disable_async_io()
	so that we can be interrupted from GDB while waiting for the
	child.  Also, handle child exit more gracefully.
	* gdbserver/remote-server.c:  Remove lots of unused variables.
	Move all extern defs into server.h.  Redo main loop so that
	failure from getpkt() causes communications to be re-established.
	Fix 'k' command so that it restarts the child.
	* gdbserver/remote-utils.c:  Remove lots of unloved vars and
	subrs.  Move many extern decls into server.h.  (remote_open):  For
	tcp, seperate usage of proto fd from connected fd.  Close proto
	fd after getting connection.  (putpkt/getpkt):  Pay attention to
	errors when reading/writing.  Report these to the caller.  New
	routines input_interrupt/enable_async_io/disable_async_io to make
	it possible to get an I/O interrupt when data arrives from the
	comm link.
	* serial.h:  New file to contain common defs for all remote files.
1993-06-26 00:41:00 +00:00
Stu Grossman
a037b21e75 * remote.c: Add arg names to prototypes, in a modest effort at
clarification.  Also add prototypes for some new functions.
	* (remote_wait):  Better error reporting for 'T' responses.
	* ser-go32.c (strncasecmp):  Make str1 & str2 be const.
	* (dos_async_init):  Make usage message reflect requested port #.
	* ser-tcp.c (tcp_open):  Terminate hostname properly to prevent
	random hostname lookup failures.  Add nicer message for unknown
	host error.  (wait_for):  Wake up in case of exceptions.  Also,
	restart select() if we got EINTR.
	* ser-unix.c (wait_for):  Restart select() if we got EINTR.
	* serial.c: (serial_close):  Clean up code.
1993-06-26 00:22:30 +00:00
Roland Pesch
2685ead7d6 * Makefile.in: (REFEDITS) new var to control whether PS or CM
fonts and whether US or A4 paper for GDB refcard; (refcard.dvi)
	collect sed edits if any, apply to refcard before formatting;
	(refcard.ps) stop implying PS fonts if PS output requested;
	(lrefcard.ps) delete extra target for variant PS fonts

	* refcard.tex: parametrize papersize dependent info, collect
	  in easily replaced spot

	* a4rc.sed: new file, edits to refcard for A4 paper
1993-06-25 23:20:43 +00:00
Jim Kingdon
a4cb75b801 add comment 1993-06-25 22:34:44 +00:00
Jim Kingdon
16e1d1d361 doc fix 1993-06-25 22:30:46 +00:00
Jim Kingdon
f3fe62b125 * Makefile.in (*.tab.c): Use ./c-exp.tab.c not just c-exp.tab.c.
Make comment explaining this comprehensible.
	(TAGFILES): Include ALLDEPFILES.
	(ALLDEPFILES): udi2soc.c and udr.c are in 29k-share/udi, not
	29k-share/udi/udi.
	(update-alldeps): Remove; obsolete.
1993-06-25 20:28:06 +00:00
Jim Kingdon
e50ebec874 * remote.c: Move comments regarding packets to top of file with the
rest of the protocol comments.
	Fix incorrect description of 'T' response.
1993-06-25 19:44:18 +00:00
Jim Kingdon
3576a41210 * README (Reporting Bugs): Refer people to the GDB manual. 1993-06-25 19:35:35 +00:00
Jim Kingdon
455c860321 * stabs.texinfo (Negative Type Numbers): Type -16 is 4 bytes. 1993-06-25 19:32:18 +00:00
Jim Kingdon
7e71985c9e * c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
* stabsread.c: Type -16 is 4 bytes.
1993-06-25 19:29:45 +00:00
Jim Kingdon
a38b1233c2 * remote-udi.c: Improve docstring. 1993-06-25 19:11:22 +00:00
Fred Fish
872dd3fe12 * elf_symfile_read (bfd_elf32_find_section): Revert back to
calling bfd_elf_find_section to track bfd changes.
1993-06-25 18:51:11 +00:00
David Edelsohn
83f26cee7b * config/sparc.c (sparc_ip): Remove support for %d/%q fp regs.
All fp regs are now specified as %f.
(priv_reg_table): fpq -> fq.
1993-06-25 17:50:22 +00:00
Jim Kingdon
f788cf78fd * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
generating comp-info.exp which works for cross-compilation.
1993-06-25 17:16:44 +00:00
Jim Kingdon
ef3986bbe1 * config/mips/xm-riscos.h: Define USG. 1993-06-25 16:31:24 +00:00
Jim Kingdon
f75ad5da8f * config/mips/riscos.mh (REGEX{,1}, MUNCH_DEFINE, MH_CFLAGS): Define. 1993-06-25 16:27:51 +00:00
Ken Raeburn
ed9638af53 (tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP22 relocation.
(s_local) [OBJ_ELF]: New function.
(md_pseudo_table) [OBJ_ELF]: Call it for "local".
(s_common): Rearrange to handle Solaris .common pseudo, which may sometimes use
bss space instead of common.
(md_parse_option) [OBJ_ELF]: Print version id for -V.  Ignore -Q and -s options
for now.
1993-06-25 09:51:47 +00:00
Jim Kingdon
a32ebcfd6b * main.c (filename_completer): Don't complete to files ending in ~.
* NEWS: Mention filename completion and "info line" enhancements.

	* main.c (symbol_completion_function): On "info t foo", return NULL,
	don't error().

	* main.c (symbol_completion_function): Don't use readline word
	breaking.  Use new calling convention for c->completer and
	complete_on_cmdlist.
	* command.h (struct command): Change arguments; now the text passed
	to completer does not have any word breaking done.  New arg word.
	* symtab.{c,h} (make_symbol_completion_list): Do word breaking.  Take
	word argument.
	* {main.c,gdbcmd.h} ({filename,noop}_completer): Take word argument.
	* command.{c,h} (complete_on_cmdlist): Take word argument.

	* command.c (lookup_cmd_1): Doc fix.
1993-06-25 03:47:12 +00:00
Fred Fish
6ba7b81886 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
"*-*-sysv4.*".
1993-06-24 23:56:35 +00:00
Rob Savoye
453592cae0 Add RUNTEST so make can use the right one. 1993-06-24 23:19:51 +00:00
K. Richard Pixley
b8774958a0 define OP_INCLUDE 1993-06-24 23:16:00 +00:00
David MacKenzie
7ce122a201 * gprof.c (main): Get whoami from argv, instead of hardcoding.
Use it in usage message.  Split usage message to fit in 80 cols.
1993-06-24 21:44:34 +00:00
Ken Raeburn
998ce1e0c7 Thu Jun 24 17:25:51 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
* elfcode.h (elf_new_section_hook): Do nothing for now.
	(elf_write_object_contents): Output common symbols the way ELF
	wants them.

Wed Jun 23 16:20:07 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)

	* libelf.h (struct elf_obj_tdata and associated macros): Moved
	here from elfcode.h.  A couple of size-specific structure pointers
	were changed to PTR; uses fixed appropriately.
	(elf32_symbol_type, elf64_symbol_type): Separated definitions.
	(bfd_elf_mkobject): Renamed from bfd_elf32_mkobject.
	(bfd_elf32_mkobject, bfd_elf64_mkobject, elf_mkobject): New
	temporary macros to ease name change.
	* elf.c (elf_read, elf_mkobject, elf_get_str_section,
	elf_string_from_elf_section, bfd_elf_find_section): Moved here
	from elfcode.h.
	* doc/Makefile.in (libbfd.h): Process elf.c too.
	* Makefile.in (elf.o): Note new dependencies.

	* elfcode.h: Lots of stuff moved elsewhere.  Deleted some unused
	code, tweaked some debug hooks.
	(elf_slurp_reloca_table): Translate ELF section symbols into BFD
	section symbols.
1993-06-24 21:30:26 +00:00
K. Richard Pixley
e704cf435b * config/i386/ncr3000.mh, config/i386/i386v4.mh,
config/i386/i386sol2.mh, config/m68k/hp300hpux.mh,
config/m68k/amix.mh, config/mips/irix[34].mh, config/m88k/delta88.mh,
config/sparc/sun4sol2.mh (ALLOCA, ALLOCA1): macros removed.

* config/mips/decstation.mh, config/rs6000/rs6000.mh (MMALLOC_LIB):
renamed to MMALLOC.
1993-06-24 20:53:06 +00:00
Steve Chamberlain
f6fba99573 Checkpoint. 1993-06-24 20:52:58 +00:00
Steve Chamberlain
ef323d7076 Get 64bit stuff right. 1993-06-24 20:45:31 +00:00
David Edelsohn
1835992e85 * run.c (main): Fix parsing of args.
* compile.c (sim_resume): Fix shll insn.
1993-06-24 20:43:41 +00:00
Jim Kingdon
4ae030b938 * partial-stab.h: Consolidate case statements for N_LSYM and N_FUN.
* dbxread.c: Change comment regarding acc.
1993-06-24 00:44:54 +00:00
K. Richard Pixley
97090015dd remove lines with only tabs 1993-06-23 23:54:57 +00:00
K. Richard Pixley
f4cc789c22 -I$(BFD_DIR) rather than including from the library proper. Hmph. 1993-06-23 23:41:40 +00:00
K. Richard Pixley
7ae7b9191e Makefile rework 1993-06-23 22:59:35 +00:00
K. Richard Pixley
baa3837246 remove redundant include of symtab.h 1993-06-23 22:17:35 +00:00
K. Richard Pixley
be17ae1f0e do not keep alloca.c 1993-06-23 22:14:18 +00:00
K. Richard Pixley
fbca751901 removed alloca.c which is now in libiberty 1993-06-23 22:13:19 +00:00
K. Richard Pixley
8860783950 new M_UNINSTALL macro 1993-06-23 22:09:27 +00:00
K. Richard Pixley
c2df19bdb1 new M_UNINSTALL macro 1993-06-23 22:06:58 +00:00
Per Bothner
a561909f11 taz rule: Simplify chmod; add xiberty to libg++.tar.gz. 1993-06-23 21:25:42 +00:00
Per Bothner
4a01dc5294 Add install.sh 1993-06-23 20:29:28 +00:00
Jim Kingdon
dcb9e8698f * stabs.texinfo (Negative Type Numbers): Minor character cleanups. 1993-06-23 20:06:07 +00:00
Per Bothner
5600fbd262 * Makefile.in: Define VERSION (for cd ..; make taz).
* Makefile.in:  Set to version 2.3.91.
	* Makefile.in (diststuff):  Needed for distributions.
	* Makefile (dts):  Rip out.  Subsumed by stuff in ../Makefile.in.
1993-06-23 20:01:29 +00:00
Jim Kingdon
6ffbfcc2a5 * config/ns32k/{merlin.mh,xm-merlin.h}: Be consistent about name
of gdb-sh.
1993-06-23 19:44:05 +00:00
Jim Kingdon
ec06a3cb25 * dbxread.c (copy_pending): Change name and function of begi argument
to endi, since that is what the caller needs.
1993-06-23 19:20:49 +00:00
Jim Kingdon
d297ca717f * hosts/riscos.h: New file. 1993-06-23 18:38:41 +00:00