Commit graph

9056 commits

Author SHA1 Message Date
Jeff Law
7d25181670 * configure.in (hppa*-*-*): Also configure and build stabs-only
tests.
1994-01-30 07:32:26 +00:00
Jeff Law
d64956faaf * paread.c (read_unwind_info)
* paread.c (pa_symtab_read): Update the "check_strange_names"
        filter to match GCC's current output.  Filter out section symbols
        (which the HP linker sometimes puts in the wrong place).
1994-01-30 07:28:03 +00:00
Jim Kingdon
3a479851ff * serial.h (SERIAL_SET_TTY_STATE): Comment return value.
* remote-es.c: Extensive changes to update to current conventions.
1994-01-29 19:07:02 +00:00
Jim Kingdon
a0b352c098 * Makefile.in (TAGS): Just echo one line, rather than the whole thing.
* Makefile.in: Remove all references to sparcly-nat.c.

	* Makefile.in (HFILES_NO_SRCDIR): Include dcache.h remote-utils.h
	remote-sim.h directly, rather than via $(remote_utils_h).  This avoids
	duplicating serial.h and target.h.

	* Makefile.in: Don't set M_INSTALL and M_UNINSTALL.  These variables
	are not used anywhere (a 5 Oct 1993 change removed the uses).
1994-01-29 17:30:44 +00:00
Jim Kingdon
7a78db151e * Makefile.in: Don't set M_INSTALL and M_UNINSTALL. These variables
are not used anywhere (a 5 Oct 1993 change removed the uses).
1994-01-29 17:17:28 +00:00
Jim Kingdon
895efe6b57 * config/m68k/monitor.mt (TDEPFILE): Add remote-es.o.
* config/m68k/es1800.mt: Add comment.
	* remote-es.c: Comment out entire file until it can be fixed.
1994-01-29 17:13:42 +00:00
Jim Kingdon
9db58d3ab4 * ser-unix.c (wait_for, hardwire_readchar) [HAVE_TERMIO, HAVE_TERMIOS]:
If the timeout is too big to fit in c_cc[VTIME], then do multiple reads
	to achieve the desired timeout.
	* serial.h (serial_t): Add field timeout_remaining.
1994-01-29 16:12:35 +00:00
Jim Kingdon
f28c6e3813 * c-exp.y (yylex): Reenable nested type code. 1994-01-29 00:59:50 +00:00
Ken Raeburn
098630a0e0 * hosts/vaxbsd.h (HOST_STACK_END_ADDR): Vax BSD doesn't define
KERNBASE, so hard-code 0x80000000 instead.
1994-01-28 23:42:25 +00:00
Jim Kingdon
7f2ffa58eb * a29k-tdep.c (examine_tag): Add comment regarding argcount. 1994-01-28 22:42:31 +00:00
Jim Kingdon
796d1fd3fb * remote-mips.c (mips_ops): Fix docstring. 1994-01-28 22:06:01 +00:00
Jim Kingdon
97cc042806 * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments.
* infptrace.c (kill_inferior): Add comments.
	* main.c (quit_command): Call target_close after we kill or
	detach.
	* remote-udi.c (udi_close): Don't error() if QUITTING.
1994-01-28 21:58:12 +00:00
Jim Kingdon
39f0852416 * remote-bug.c (bug_ops): Remove spurious newline from docstring. 1994-01-28 21:34:58 +00:00
David MacKenzie
288897f490 * ldmisc.c (vfinfo): For `%I', if the file is in an archive, print
the archive filename too.
1994-01-28 21:20:11 +00:00
Jim Kingdon
ddd0223e94 * config/m68k/tm-monitor.h: Changes to bring this into accordance
with the old tm-m68k-em.h:
	(GDBINIT_FILENAME, DEFAULT_PROMPT): Remove.
	(HAVE_68881): Don't undefine; this #define is obsolete.
	(REGISTER_NAMES): Don't muck with it; what tm-m68k.h has is fine.
	Add FIXME regarding GET_LONGJMP_TARGET.
1994-01-28 21:10:07 +00:00
Jim Kingdon
b09f44d2c9 * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments. 1994-01-28 20:43:59 +00:00
Ken Raeburn
52fa9d667a * configure (while loop): Don't use "break 2" inside case
statement -- the case statement isn't an enclosing loop.
1994-01-28 20:32:19 +00:00
Ken Raeburn
9b928d3419 get rid of rcs crud 1994-01-28 20:17:18 +00:00
Ken Raeburn
6e0a904fd0 Fix test case to be valid ANSI C++.
Don't require use of fixed C++ header files, so "../gcc/xgcc -B../gcc/" ought
to work for CXX.

In cdtest.exp: Combine "rm" lines.  Added some commentary on things still
broken in this test case.
1994-01-28 20:09:26 +00:00
Ken Raeburn
57e5ec0783 * lib/ld.exp (simple_diff): Indicate failure if files have different numbers of
lines.  Don't muck with $differences to avoid indicating a pass, just return.

Also got rid of trailing whitespace on some lines.
1994-01-28 20:05:56 +00:00
David MacKenzie
fb55f9b8ae * ldlex.l: Add rule to catch invalid input characters instead of
printing them.  Include "ldmain.h" for program_name decl.
	(lex_warn_invalid): New function.
	* Makefile.in: Add dependency.
1994-01-28 19:36:53 +00:00
Rob Savoye
0ffba0293e * configure.in: Make m68k-coff and aout add monitor support in
addition to the standard serial support.
1994-01-28 18:58:54 +00:00
Ken Raeburn
f3c6455fda * Makefile.in (check): Don't bother running any tests of
cross-linker until the test suite no longer assumes native mode.
1994-01-28 18:02:43 +00:00
Ken Raeburn
e2f9f0f639 keep test suite 1994-01-28 17:19:22 +00:00
Jim Kingdon
bb7cb9828e * mdebugread.c (psymtab_to_symtab_1): Don't complain on stLabel with
index indexNil.
1994-01-28 16:56:58 +00:00
Ian Lance Taylor
1f029792a2 * config/obj-coff.c (obj_coff_section_header_append): Do not
declare if BFD_ASSEMBLER.
	(stack_pop): Correct test for stack underflow.
	(obj_coff_endef, obj_coff_dim, obj_coff_line, obj_coff_size,
	obj_coff_scl, obj_coff_tag, obj_coff_type, obj_coff_val): Declare
	type of ignored argument to avoid gcc warning.
	(align): Removed unused function.
1994-01-28 16:30:29 +00:00
Jim Kingdon
9fdb3f7aad * config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS.
* elfread.c (record_minimal_symbol_and_info),
	dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it.
1994-01-28 16:25:25 +00:00
Ken Raeburn
0b233d31df removed rcs cruft 1994-01-28 05:38:41 +00:00
Roland Pesch
05a0e43b83 Many scattered edits, primarily on recent mods.
Ancient "Internals" text deleted.
1994-01-28 04:32:37 +00:00
Jim Kingdon
6202263d81 * i386-stub.c: Add ".text" right before "mem_fault:". 1994-01-28 02:50:18 +00:00
Jim Kingdon
9c41f6a680 * main.c (baud_rate): Add FIXME comment about printing -1 value.
* remote-utils.c (usage): Fix message to be accurate and conform
	more closely to normal conventions.

	* remote-utils.c (gr_files_info): Have the exec_bfd test control
	whether to show information about exec_bfd, and not control whether
	to show information about device and speed.

	* remote-utils.c (gr_open): If sr_get_device returns NULL, give
	usage message, don't dump core.

	* remote-bug.c (bug_write_memory): Use alloca, not GCC extension
	for variable size array.
	(bug_fetch_register, bug_store_register): Rename "value" to
	"fpreg_buf" because some compilers don't like variables whose
	names are the same as types.
	(bug_store_register): Use a cast when converting char * to
	unsigned char *.
1994-01-28 02:18:39 +00:00
Ken Raeburn
81f6013aa2 Various changes: alpha support, fx_done handling, EMIT_SECTION_SYMBOLS, ... 1994-01-28 01:42:05 +00:00
Ken Raeburn
d5bd8e851d Comment change: Soften recommendations against supplying sym+addend operands,
since it works, and gas does it.  It's merely wasteful of space.
1994-01-28 01:40:22 +00:00
Ken Raeburn
5749c49700 New Alpha support files, based on files from CMU.
Still to do:
 - fix floating-point handling
 - figure out if we can adapt to using ../opcodes/alpha-opc.h
 - gcc bootstrap testing
 - 32-bit mode support?
 - test cross-assembly
1994-01-28 01:37:02 +00:00
Steve Chamberlain
804c860185 Thu Jan 27 17:19:54 1994 Steve Chamberlain (sac@jonny.cygnus.com)
* ldlang.c (print_one_symbol, print_input_section):  Print
	global symbols in symbol table again.
1994-01-28 01:26:25 +00:00
Ken Raeburn
98c6bbbe43 * as.h: If __GNUC__ and inline are both undefined, define inline away.
* write.c (cvt_frag_to_fill): Don't assume that fr_var for rs_align or rs_org
frags will be 1.
(relax_segment): For rs_align, if fr_var is not 1, complain if
required padding is not a multiple of the size of the pad pattern.
(fixup_segment): Leave gp-relative relocations alone.  For pcrel relocations
referring to the same segment, clear fx_pcrel when clearing fx_addsy.
* as.h: Adjust comments on rs_align.

* write.c, config/obj-{aout,bout,coff*}.c, config/tc-sparc.c: Query the fx_done
field instead of fx_addsy to see if the fixup still needs to be applied.  Set
fx_done and clear fx_addsy both, for now.  If TC_HANDLES_FX_DONE isn't defined,
assume md_apply_fix will only clear fx_addsy, and set fx_done accordingly after
returning.
* config/tc-sparc.h (TC_HANDLES_FX_DONE): Define.

* config/obj-coff.c (dot_text_symbol, dot_data_symbol, dot_bss_symbol): Defined
here, static.

* config/obj-aout.c [BFD_ASSEMBLER]: Undef NO_RELOC before including aout/aout64.h.

* write.c (write_object_file): If EMIT_SECTION_SYMBOLS is false, don't write
out a section symbol even if it's used in a relocation; assume relocations will
handle section numbers somehow.  Rename "punt_it" label to "punt_it_if_unused"
to reflect it's true use.
(EMIT_SECTION_SYMBOLS): Default to 1.
(adjust_reloc_syms): Don't create a new symbol for an absolute
reference; just use the absolute section symbol.
(write_relocs): Make printout of reloc values dependent on flag DEBUG3, not
DEBUG2.
* config/obj-aout.h (EMIT_SECTION_SYMBOLS): Define as 0.
* config/obj-ecoff.h (EMIT_SECTION_SYMBOLS): Ditto.
1994-01-28 01:21:53 +00:00
Jim Kingdon
a98b5a1d52 * chardefs.h: Only declare strrchr if it is not #define'd. 1994-01-28 01:05:39 +00:00
Ken Raeburn
351878df5a whitespace/formatting changes 1994-01-28 00:58:00 +00:00
Jim Kingdon
d5c551c9df * symmisc.c (maintenance_print_symbols): Don't refer to the name
of the command in error message (the text was referring to the old
	name of the command).

	* symmisc.c (dump_symtab): Fix args to fprintf_filtered.
1994-01-28 00:46:43 +00:00
Ken Raeburn
c1b625be7b whitespace/comment changes 1994-01-28 00:21:03 +00:00
Ken Raeburn
eec0de3f43 * symbols.c (dot_text_symbol, dot_data_symbol, dot_bss_symbol): Deleted.
(symbol_begin): Moved to end of file, so function inlining can work better.
(fb_label_count, fb_label_max): Default C static initializers are sufficient.
* symbols.h (dot_text_symbol, dot_data_symbol, dot_bss_symbol): Declarations
deleted.
1994-01-28 00:03:38 +00:00
Jim Kingdon
0e4ad984b1 * c-typeprint.c (c_type_print_base): Have SHOW == 0 mean to print
full details on structure elements without names.  This partially
	reverts the changes of 1 Jul 1993 and 31 Aug 1993; I think this aspect
	of those changes was accidental.
1994-01-27 23:55:10 +00:00
Ken Raeburn
6221fe2090 * atof-generic.c: Some reformatting.
(atof_generic): Be careful when mixing signed/unsigned values of different
sizes.
1994-01-27 23:39:00 +00:00
Ian Lance Taylor
ec7a69ea23 * read.c (lex_type): No longer make '{' a valid character for
symbol names.
1994-01-27 23:10:19 +00:00
Jim Kingdon
7e17041f34 * gdb.texinfo (Selection, Frame Info): Update information about
arbitrary frame specficiations.
1994-01-27 22:01:52 +00:00
Ian Lance Taylor
fe9205735e * as.c (main): Print long values using %ld. 1994-01-27 21:53:17 +00:00
Ian Lance Taylor
a57180adea * messages.c (as_warn_internal): New static function.
(as_warn, 3 versions): Use as_warn_internal.
	(as_warn_where, 3 versions): New function.
	* as.h (as_warn_where): Declare.
1994-01-27 21:50:46 +00:00
Jim Kingdon
577da8cbbd * stack.c (parse_frame_specification): If SETUP_ARBITRARY_FRAME is
defined, make it an error to specify a single argument which is not
	a frame number.
1994-01-27 21:44:40 +00:00
David MacKenzie
7b40f2b169 * ldmain.c ldmain.h ldgram.y: If -v -V or --version was given,
exit successfully instead of complaining if no input files are
	given.
1994-01-27 20:49:21 +00:00
Jim Kingdon
a28d16d380 * Makefile.in (version.c), main.c (print_gdb_version): Use
host_alias and target_alias, not host_canonical and
	target_canonical, to print configuration.
1994-01-27 20:19:13 +00:00