Commit Graph

5671 Commits

Author SHA1 Message Date
Ian Lance Taylor
9a7d824a26 * app.c (do_scrub_begin): Let line_comment_chars override
comment_chars.
	(do_scrub_next_char): If a line comment character is not at the
	start of a line, treat it as a comment character if it is one.
	For a CPP line comment use pseudo-op .appline rather than .line.
	* input-scrub.c (logical_input_line): Make int rather than
	unsigned.
	(input_scrub_push, input_scrub_begin): Initialize
	logical_input_line to -1 rather than 0.
	(bump_line_counters): Increment logical_input_line.
	(new_logical_line): If line_number is -2, decrement
	logical_input_line.
	(as_where): Use logical_input_line even if it is 0.
	* read.h (s_app_file prototype): Now takes an int argument.
	* read.c (potable): Make .appfile call s_app_file with 1.  New
	.appline pseudo-op calls s_app_line.
	(s_app_file): If .appfile, call new_logical_line with -2 to
	account for newline inserted by do_scrub_next_char.  If listing,
	call listing_source_file.
	(s_app_line): New function to handle fake pseudo-op .appline.
	* config/obj-coff.c (obj_pseudo_table): Make .appline call
	obj_coff_ln.
	(obj_coff_ln): Added argument to indicate whether .appline.
	* config/obj-coffbfd.c (obj_pseudo_table): Make .appline call
	obj_coff_ln.
	(obj_coff_ln): Added argument to indicate whether .appline.
	* config/tc-mips.c (s_file): Pass argument to s_app_file.
1993-05-27 19:29:38 +00:00
Ian Lance Taylor
d34094e8e0 Changed unixware to univel. 1993-05-27 17:36:33 +00:00
Ian Lance Taylor
9c06948623 * config.guess: Added special check for i[34]86-unixware-sysv4*. 1993-05-27 15:07:45 +00:00
Peter Schauer
37ff799b81 * gdb.texinfo: Add `set print symbol-filename' doc. 1993-05-27 13:23:56 +00:00
Peter Schauer
b7ccd8e069 * printcmd.c (print_address_symbolic): Append source filename and
linenumber of the symbol if print symbol-filename is on.
	(initialize_printcmd):  `set print symbol-filename'.
1993-05-27 13:19:26 +00:00
K. Richard Pixley
87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
K. Richard Pixley
7b85349fe8 honor verbose flag 1993-05-27 03:22:48 +00:00
Ian Lance Taylor
4447efa217 * Makefile.in (FLAGS_TO_PASS): Pass down CC and CFLAGS. 1993-05-27 00:28:16 +00:00
Ian Lance Taylor
a9377e86f8 Correct all-cross target for release-info stuff. 1993-05-27 00:18:14 +00:00
Ian Lance Taylor
5375604100 * config.guess: For i[34]86-unknown-sysv4 use UNAME_MACHINE for
the processor rather than assuming i486.
1993-05-26 23:35:19 +00:00
Stu Grossman
6a936870d6 Remove debugging stuff... 1993-05-26 22:23:56 +00:00
Jim Kingdon
a03f27c32c misc fixes 1993-05-26 22:15:49 +00:00
Stu Grossman
799d5b6a5b Sparc version of remote-inflow.c. Hasn't been made portable yet. 1993-05-26 21:47:57 +00:00
Stu Grossman
b8f64f2068 Keep appropriate files in gdbserver directory. 1993-05-26 21:47:00 +00:00
Stu Grossman
5fa46c427a * configure.in: Add config for Lynx target. Configure gdbserver
only for Lynx.  Re-do selective configuration of sparclite.
1993-05-26 20:55:47 +00:00
Stu Grossman
e20520b8f9 * gdbserver/{remote-gutils.c remote-server.c Makefile.in
configure.in remote-inflow.c remote-utils.c}:  New files to
	support GDB remote server.  Currently only works for Lynx.
1993-05-26 20:49:21 +00:00
Stu Grossman
185a1705bb blah blah blah 1993-05-26 20:48:44 +00:00
Jim Kingdon
5bd22ca87b * Move test with enums and partial symbols from gdb.t03/ptype.exp
to gdb.stabs/wierd.exp since GCC has worked around the bug.
1993-05-26 20:06:59 +00:00
Jim Kingdon
12a0960387 * Move test with enums and partial symbols from gdb.t02/ptype.exp
to gdb.stabs/wierd.exp since GCC has worked around the bug.
	gdb.stabs/wierd.{exp,def}: Many new tests.
1993-05-26 20:04:50 +00:00
Jim Kingdon
3d4cf72099 formatting fixes 1993-05-26 18:16:28 +00:00
Jim Kingdon
ee59134ee7 * stabs.texinfo (Arrays): Talk about type definition vs. type
information.
1993-05-26 17:20:50 +00:00
Jim Kingdon
59d69506fb * stabsread.c (define_symbol, case 't'): Only set the name if it
is not a pointer type.

	* stabsread.c (define_symbol): Clean up logic; move the read_type
	calls to inside the switch statement (this improves the error
	handling).
1993-05-26 17:17:02 +00:00
Jim Kingdon
18ef91468f * gdb.t00/default.exp: update info line for new message.
* gdb.t02/{whatis.exp,gdbme.c}:
	Test that "char *" doesn't print as "caddr_t".
1993-05-26 17:06:40 +00:00
Jim Kingdon
3a594d72e5 * mipsread.c (parse_symbol, parse_partial_symbols): Deal with Fortran
common blocks.
1993-05-26 15:33:07 +00:00
Jim Kingdon
a6c508f19a * config.guess: Recognize SunOS6 as Solaris3. 1993-05-26 14:43:25 +00:00
Jim Kingdon
466bdeb266 minor fixes (e.g. typos). Update table of non-stab values for n_type 1993-05-26 06:09:53 +00:00
Per Bothner
5c49a353df * config.guess: Fix typo. Avoid #elif (not in K&R 1).
Recognize SunOS 5.* only (and not [6-9].*) as being Solaris2.
1993-05-26 06:06:37 +00:00
Jim Kingdon
e9f687d59b * stabs.texinfo (Builtin Type Descriptors): Talk about omitting
the trailing semicolon.
1993-05-26 05:30:12 +00:00
Jim Kingdon
8abe819439 punctuation fixes 1993-05-26 05:24:25 +00:00
Jim Kingdon
43795ece80 * printcmd.c (print_formatted, case 'i'): Pass a tab to wrap_here.
* source.c (line_info): Change "pc" to "address" in messages and
	use print_address for addresses.
1993-05-26 04:56:02 +00:00
Jim Kingdon
2f2a70e585 * source.c (line_info): If we don't find a symtab, print more useful
output, including the symbolic address.
1993-05-26 04:29:38 +00:00
Jim Kingdon
b9298844e5 * source.c (line_info): If --fullname, display the source.
(identify_source_line), callers: Take pc as argument, rather than
	assuming innermost frame (emacs doesn't use this, so no one ever
	noticed).
	* symtab.h: Declare frame_file_full_name.
	* main.c: Don't.
1993-05-26 03:27:32 +00:00
Rob Savoye
b64d5e491a configure.in template that supports *only* make check. (for releases) 1993-05-26 01:55:00 +00:00
Rob Savoye
2a775d5158 Makefile fragment that supports *only* make check. (for releases) 1993-05-26 01:44:49 +00:00
Jim Kingdon
63cef7d78f * stabs.texinfo (Line Numbers, Source Files): Re-write these two nodes
and merge in other parts of the document addressing these subjects.
	gdbint.texinfo (XCOFF): Remove info which is now in stabs.texinfo.
1993-05-26 01:31:02 +00:00
Ian Lance Taylor
6354589838 * Makefile.in: configure looks for ####, so remove lines with many
'#' characters.
	* config/irix4.mh, config/i386v.mh: New files; set HOSTING_CRT0
	and HOSTING_LIBS correctly so that ``make check'' will work.
1993-05-25 22:37:41 +00:00
Brendan Kehoe
aea2312bde * breakpoint.c (catch_command_1): Fix typo in error msg. 1993-05-25 22:31:38 +00:00
Ken Raeburn
875607cb0d elf32 updates 1993-05-25 20:39:21 +00:00
Ken Raeburn
cb9914277d elf, cleanup changes 1993-05-25 20:24:24 +00:00
Ken Raeburn
6b346f512e elf, bfd_vma-cast changes 1993-05-25 20:22:09 +00:00
Ken Raeburn
2084a17668 * elfread.c (elf_symfile_read): Update ELF structure and routine
names to specify 32-bit versions.
(elf_symtab_read): Retrieve size field directly from symbol,
instead of using old kludge.
1993-05-25 20:21:06 +00:00
Ken Raeburn
51300bdb0b (elf64.c): Add to list of sources.
(elf64.o): List dependencies; don't build by default.
(elf32.o): Update dependencies.
(archures.o, targets.o): Depend on Makefile, for MINIMIZE &c.
1993-05-25 20:14:57 +00:00
Ken Raeburn
337fd0067c print_insn_* routines want bfd_vma, not CORE_ADDR 1993-05-25 20:12:59 +00:00
Ken Raeburn
9942e68438 Updated for new macro, type, and structure names.
Cleaned up some namespace pollution; renamed elf vectors.
1993-05-25 20:11:26 +00:00
Jim Kingdon
29b34f10a9 * gdb.t00/help.exp: Use .* in place of some help messages which
just changed.
	gdb.t00/default.exp: Update "info frame" test for new message.
	* gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
	Remove some xfails
1993-05-25 19:57:38 +00:00
Jim Kingdon
8cfe3bebde * stabs.texinfo (Subranges): "A offset" and "T offset" are not
AIX extensions.
1993-05-25 19:56:22 +00:00
Ian Lance Taylor
60986901af * build-all.mk (all-cross): New target for Canadian Cross.
Added Q2 go32 targets.
	* test-build.mk: Configure go32 cross sparclite-aout and
	mips-idt-ecoff -with-gnu-ld.  Moved build binary directory from
	PARTIAL_HOLE_DIRS to BUILD_HOLES_DIRS.
1993-05-25 19:48:13 +00:00
Ken Raeburn
da3cd00a63 (COERCE64): Avoid out-of-range numbers 1993-05-25 19:48:12 +00:00
Jim Kingdon
ea753d03d6 * stabsread.c: Remove all uses of error(). Make error_type and
read_type_number static.
	(define_symbol): Don't try to deal with a missing symbol
	descriptor which isn't followed by digit, '(', or '-'.
	* stabsread.h: Don't declare read_type_number here.
	* gdbtypes.h: Don't declare error_type here.
	* xcoffread.c: Remove NO_TYPEDEFS code.
1993-05-25 19:39:41 +00:00
Jim Kingdon
2d10304ee6 x 1993-05-25 19:35:02 +00:00