Commit Graph

6154 Commits

Author SHA1 Message Date
Jim Kingdon
a4374df58d bugfix 1993-06-29 18:53:40 +00:00
Jim Kingdon
64b097786a * config/pa/tm-hppa.h: Remove unused ARGS_GROW_DOC.
(REG_STRUCT_HAS_ADDR): Add comment.
1993-06-29 18:27:56 +00:00
Ian Lance Taylor
64485c8910 * coff-mips.c (ecoff_find_nearest_line): If procedure has no line
number information, return 0 for line number.
1993-06-29 17:51:34 +00:00
Jim Kingdon
366f286982 * gdb.t16/printcmds.exp: Add printf tests. 1993-06-29 17:51:19 +00:00
David D. Zuhn
a828550492 fix HPUX hosting problems 1993-06-29 17:22:03 +00:00
Jim Kingdon
38c41e9209 * gdb.t06/{twice.{c,exp},Makefile.in}: New test. 1993-06-29 17:13:28 +00:00
Jim Kingdon
025abdfbd3 * symtab.h: Add comments about line numbers. 1993-06-29 16:55:29 +00:00
Jim Kingdon
a8c2562115 * infrun.c (wait_for_inferior): Use find_pc_line not find_pc_symtab
to check whether there is line number information.
1993-06-29 16:54:23 +00:00
David D. Zuhn
fe76016acb fix docstring so that it compiles 1993-06-29 16:02:41 +00:00
David D. Zuhn
77641260c5 fix include file ordering problem (bfd.h vs. symfile.h) 1993-06-29 15:30:57 +00:00
Jim Kingdon
fd09c96316 * dbxread.c (process_one_symbol): If we find a LOC_BLOCK where we
don't expect it, change it to LOC_STATIC so at least we don't coredump.

	* c-typeprint.c (c_type_print_base): Don't error() on invalid type.
1993-06-29 15:25:27 +00:00
Jim Kingdon
d63aae7f32 * symtab.h (struct symtab, line_charpos): Fix comment.
* source.c (identify_source_line): Fix off by one bug with line.
1993-06-29 14:47:17 +00:00
Jim Kingdon
b4e899792d * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too. 1993-06-29 14:24:36 +00:00
Jim Kingdon
f9dd88b41e * config/pa/xm-pa.h: New file.
* config/pa/xm-hppa{b,h}.h: Include it.
1993-06-28 22:35:18 +00:00
Jim Kingdon
c702007b17 x 1993-06-28 22:34:29 +00:00
David MacKenzie
59fb874e52 * Makefile.in (scriptdir): Base on tooldir, not datadir. 1993-06-28 19:23:35 +00:00
Jim Kingdon
53fc6c46e9 config/m88k/xm-delta88.h: Remove VPRINTF define, not needed. 1993-06-28 19:18:56 +00:00
Jim Kingdon
6b9561a423 * xcoffread.c: Remove obsolete NO_TYPEDEFS comment. 1993-06-28 17:38:30 +00:00
Steve Chamberlain
3cf013404e Extra stuff for really broken hp compiler. 1993-06-28 15:59:30 +00:00
Jim Kingdon
44443a9b09 * gdb.stabs/wierd.exp: Add xfail for rs6000. 1993-06-28 15:15:23 +00:00
Jim Kingdon
f492b6c11b * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
{BEGIN,END}_COMMON for common block instead of STAB.
1993-06-28 15:03:27 +00:00
Jim Kingdon
09a78a3d12 * hosts/riscos.h: Define NBPG and UPAGES. 1993-06-28 14:58:42 +00:00
Jim Kingdon
884e8cd43e * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
intp_var should be N_GSYM not N_LSYM.
	wierd-aout.S: Use a label for the value of the N_SO.
	wierd.def: Remove all backslashes.
	wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
1993-06-28 14:34:46 +00:00
Peter Schauer
9325d5afa3 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
get the expected next to inheritance3.
1993-06-28 14:23:11 +00:00
David MacKenzie
b26ac61376 * Makefile.in: Note dependencies on bucomm.h.
(cplus-dem.o): Link c++filt with version.o.

	* strings.c: Include bucomm.h and add prototypes to other decls.
	Remove -h option.

	* bucomm.h: Declare xrealloc.

	* nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add
	--help option.  Put "GNU" in the version message.
	(usage): Take stream and exit status as args.
	(main): Pass new args to usage.
1993-06-28 02:17:13 +00:00
Rob Savoye
6214895281 Works again. 1993-06-28 01:43:34 +00:00
Ken Raeburn
36689999e2 elf32.c (slurp_symbol_table): fix cast-as-lvalue bug 1993-06-27 20:32:32 +00:00
Peter Schauer
d2b860e3a7 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
now that gcc-2.4 gets it right.
1993-06-27 19:31:36 +00:00
Peter Schauer
be2860fbf3 * valprint.c (val_print_type_code_int): Fix off by one error with
eliminating leading zeroes for large little endian integers.
1993-06-27 15:56:44 +00:00
Jim Kingdon
42280556eb * config/mips/riscos.mh (CC): Use -systype sysv. 1993-06-27 14:28:30 +00:00
Jim Kingdon
68d2db622d * ser-unix.c: Move #include of <sys/time.h> to HAVE_SGTTY section. 1993-06-27 14:16:34 +00:00
Jim Kingdon
ee0d1b6565 * Makefile.in (ALLPARAM): Add config/mips/{x,n}-{news-mips,riscos}.h. 1993-06-27 14:06:28 +00:00
David D. Zuhn
8c92a7d1c6 add go32 tools to the go32 targetted toolchains 1993-06-27 01:42:27 +00:00
David MacKenzie
bf065bfd97 * ldver.c (help): New function.
* ldver.h: Declare it.
	* ldlex.l, ldgram.y: Recognize new options --help and --version.
1993-06-26 20:13:24 +00:00
David MacKenzie
3caa6924bc * aoutx.h (hash, compare, struct stringtab_entry, add_to_stringtab):
Use unsigned hash values for better hashing.
	(hash): Hash in the string length for long strings.
	* aoutx.h (compare): Replace 3 if's with a subtraction.
	(translate_to_native_sym_flags, add_to_stringtab): Reorder tests
	in decreasing order of success, as an optimization.
	(hash): Take a length arg; ignore chars after #25, for speed.
	(add_to_stringtab): Pass length to hash.
1993-06-26 15:00:47 +00:00
David MacKenzie
fa02194747 * Fix a couple of typos. 1993-06-26 06:42:46 +00:00
David MacKenzie
4f15fb276d * Makefile.in: Add rules for strings. 1993-06-26 06:38:57 +00:00
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