Commit Graph

12931 Commits

Author SHA1 Message Date
Ken Raeburn d8a1c247ae Fix for PR6697:
(nopic_need_relax): New static function, split out from
md_estimate_size_before_relax.
(md_estimate_size_before_relax): Call it.
(load_address, macro): In NO_PIC branches, if nopic_need_relax returns nonzero,
don't attempt GP optimization.
1995-04-11 01:29:49 +00:00
Ken Raeburn b79de3a178 Don't explicitly include config.h. Deleted a bunch of "#if 0" code and useless
comments.
(struct m68k_cpu): New type.
(archs, n_archs): New variables, with single list of name/enum mapping and
aliases.
(m68k_ip): Delete the table here.
(m68k_init_after_args): Use the new table here instead of open-coding it.
(md_parse_option, case 'm'): Ditto.
1995-04-11 01:03:07 +00:00
Kung Hsu 73dab896d4 * valprint.c (print_longest): Fix a syntax error in #ifdef
PRINTF_HAS_LONG_LONG.
1995-04-11 00:04:41 +00:00
Kung Hsu c08c3640c7 * config/mips/xm-irix5.h: turn on CC_has_LONG_LONG and
PRINTF_HAS_LONG_LONG.
	* config/mips/tm-irix5.h: turn on FORCE_LONG_LONG.
1995-04-10 23:53:52 +00:00
Stan Shebs 7a4f107d38 always keep MPW support files 1995-04-10 22:59:42 +00:00
Stan Shebs 1e0956858e Merge MPW ChangeLog with generic ChangeLog 1995-04-10 22:59:03 +00:00
Jason Molenda 67bbb4058c * Makefile.in: move {all,check,install}-gdb from *_MODULES
to *_X11_MODULES due to gdbtk needing X include files et al.
1995-04-10 21:39:32 +00:00
David H. Webster 8e97d2906b Added "regPacket.h" to "Things to Keep" 1995-04-10 21:18:02 +00:00
David H. Webster 1b186bc331 Added the following files to "Things to Keep":
est.exp
      rom68k.exp
      slite-gdb.exp
1995-04-10 21:16:26 +00:00
David H. Webster 4450511306 Added "remote-vx68.c" and "remote-vx960.c" to "Things to Keep" 1995-04-10 21:10:09 +00:00
David H. Webster 42530986be Removed alpha-regdef.h from "Things to Lose" 1995-04-10 21:01:22 +00:00
David H. Webster 981192e960 Removed the following files from "Things to Keep":
alpha-nw.mt
     gdbserve.mt
     tm-alphanw.h
1995-04-10 20:59:24 +00:00
David H. Webster 87de5f0628 Removed "nlmstub.def" from "Things to Keep" 1995-04-10 20:53:40 +00:00
David H. Webster 50a218c937 Removed the following files from "Things to Keep":
README-ALPHA-NETWARE
      aio.h
      alpha-io.S
      alpha.c
      alpha.h
      altdebug.h
1995-04-10 20:49:18 +00:00
Stan Shebs 3c7c1a8870 always keep MPW support files 1995-04-10 20:26:39 +00:00
Stan Shebs c9eb701e0d Merge MPW changes into general ChangeLog 1995-04-10 20:18:22 +00:00
Ken Raeburn 7015284b09 doc changes 1995-04-10 20:11:48 +00:00
Ken Raeburn ae6cd60f9e * doc/internals.texi: Add loud disclaimer. Refill to 79 columns, specify
fill-column in local-variables section.  Change subheadings to subsections so
they can be cross-referenced.  Describe broken words, frags, frag chains,
generic relaxation, relax table, m68k relaxation, m68k addressing modes, test
suite code.  Add a few words about various file formats.
1995-04-10 20:06:48 +00:00
Stan Shebs 7f390875ca no longer sanitize out MPW support files 1995-04-10 20:05:48 +00:00
Stan Shebs 8993849cb4 Merge MPW ChangeLog into generic ChangeLog 1995-04-10 19:44:46 +00:00
Ken Raeburn b3a05d571b * lib/gas-defs.exp (pass_phase): New proc.
(run_dump_test): Note passing or failing of each phase of this test, instead of
failure of phases or passing of complete test.  Ensure test file name is in
reported message.
1995-04-10 19:40:00 +00:00
Ken Raeburn 3af166f1cf Nuke RCS string. Fix comment. 1995-04-10 19:38:56 +00:00
David Edelsohn 02465e5628 Fix patterns. 1995-04-10 08:12:12 +00:00
David Edelsohn 5ceb5916f0 Delete illegal insns. 1995-04-10 08:11:59 +00:00
David Edelsohn c39cd01b14 (test_template_insn): Delete .s/.d files afterwards.
(main body): Run ld, st tests.
1995-04-10 07:36:06 +00:00
David Edelsohn d1f32b4e46 * gas/arc/{ld.[sd],st.[sd]}: New files. 1995-04-10 07:34:05 +00:00
David Edelsohn 4bc30d8131 Tests for ld, lr, st, sr insns. 1995-04-10 07:32:57 +00:00
David Edelsohn d874fb48fa shimm values "are always signed" 1995-04-10 06:54:14 +00:00
Jim Kingdon 4dc75a28f8 * gdb.base/recurse.exp: Fix comment.
* TODO: Remove item about printing variables in nodebug.exp.  Add
	item about enabling tests which are only run on some targets.

	* gdb.base/watchpoint.exp: Various cleanups (make each test pass or
	fail, make test names unique, use new gdb_test convention
	regarding pattern, use gdb_test more, etc.).
1995-04-09 21:05:37 +00:00
Jim Kingdon 06ce5be9c9 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
fail, make test names unique, etc.).
1995-04-09 17:10:57 +00:00
David Edelsohn 4028415325 More ARC stuff. 1995-04-09 00:47:26 +00:00
David Edelsohn c4ec94c9d6 Test extended shifts, mul64/mulu64 insns. 1995-04-09 00:22:54 +00:00
David Edelsohn 3a5e9b6e86 (test_template_insn): Document usage.
New parameter `cpu', callers updated.
(main body): Test host/graphics/audio extensions.
Test ext/sex insns.
1995-04-08 23:43:39 +00:00
David Edelsohn 48fb4d9f90 Tests for various insn3 insns (eg: ext, sex). 1995-04-08 23:25:34 +00:00
David Edelsohn d4e91451d7 * gas/arc/{arc.exp,math.[sd],flag.[sd],j.[sd]}: New files.
* gas/arc/{branch.[sd],alias.[sd],sshift.[sd]}: New files.
1995-04-08 23:10:39 +00:00
David Edelsohn 04b8d170c1 More tests. 1995-04-08 23:09:56 +00:00
David Edelsohn 32b1930be2 Tests for single bit versions of asr, lsr, ror, rrc. 1995-04-08 23:09:22 +00:00
David Edelsohn 673f0762f6 Testcases for mov, rlc, asl. 1995-04-08 22:31:23 +00:00
David Edelsohn 4f1fc8f9c2 Stay away from duplicate arguments, will collide with aliases (eg: and->mov). 1995-04-08 22:06:24 +00:00
David Edelsohn e6d7eb499e Testcases for b, bl, and lp insns. 1995-04-08 20:33:35 +00:00
David Edelsohn 02cc32c5c3 Start of ARC testsuite. 1995-04-08 19:58:59 +00:00
David Edelsohn ac2bed8708 keep arc subdir if keep-arc. 1995-04-08 19:53:24 +00:00
David Edelsohn 003587bd1f * lib/gas-defs.exp (run_dump_test): Handle arguments with paths.
Always resolve testcase status before returning.
	If `slurp_options' fails, return and don't do test.
	(slurp_options): Fix "can't open" error message.
	Return -1 to indicate error.
1995-04-08 19:51:42 +00:00
David Edelsohn 91e3b58270 *** empty log message *** 1995-04-08 19:50:44 +00:00
Peter Schauer 6b61e21dbb * gdb.base/nodebug.c: Change return type of top and middle to
short.
	* gdb.base/nodebug.exp:  Remove xfails for ecoff systems, they
	are fixed by the recent mdebugread.c changes. Allow `short ()'
	as type for top and middle.
1995-04-08 10:00:31 +00:00
Peter Schauer 4127057156 * mdebugread.c (parse_symbol): Use new variable
nodebug_var_symbol_type as type of variables which don't have any
	ecoff debug info associated with them.
	(parse_symbol, parse_procedure):  Use heuristics to determine if
	functions were compiled without debugging info and change their
	type to nodebug_function_symbol_type.
	(_initialize_mdebugread):  Initialize nodebug_*_symbol_type.

	* source.c (line_info):  Clear sal.pc for `info line' without
	arguments.
1995-04-08 09:59:02 +00:00
Jim Kingdon 6d3055cb47 * configure.in (host_libs): Remove glob, since it is gone from the
sources.
1995-04-08 02:36:15 +00:00
Stu Grossman 0ac704d288 * config/pa/tm-hppa.h: Define lots register offsets needed by
w89k-rom.c.
1995-04-08 01:10:34 +00:00
Stu Grossman 7952bce6fc * monitor.c: make_xmodem_packet and print_xmodem_packet go away.
send_xmodem_packet shows up to do the obvious.  Lots of fixes to
	xmodem downloads including resetting of block number at start of
	new transfers, fix for buffer overrun problem, addition of CRC
	generation code.
	* (monitor_open):  loadtype_str and loadproto_str now default to
	first entry in monitor_ops->loadtypes.
	* (monitor_wait):  Lengthen register dump buf, because of verbose
	Winbond monitor.
	* (monitor_fetch_register):  Report unimplemented registers as 0.
	* (monitor_read_memory):  Only do 16 byte aligned transfers
	because of formatting weirdness with the Winbond monitor.  Also,
	ignore non-hex, non-whitespace formatting between bytes (same
	monitor).
	* (monitor_load):  Clean up logic.
	* (monitor_load_srec):  Re-do xmodem support.  Move lots of it
	into send_xmodem_packet.
	* (getacknak):  Get rid of polls and timeouts.  Handle CRC
	requests from receiver.
	* (monitor_make_srec):  Efficiency improvements.  Don't call
	sprintf to output two digit hex numbers.
	* (crcinit, docrc):  New, CRC-16 support routines.
	* (send_xmodem_packet):  New routine to generate either CRC-16 or
	checksummed xmodem packets.

	* remote-est.c (est_loadtypes), rom68k-rom.c (rom68k_loadtypes):
	Reduce tables down to only the load types supported by each
	monitor.

	* w89k-rom.c  (w89k_supply_register):  Parses output of Winbond
	register dumps.
	* (w89k_loadtypes, w89k_loadprotos):  Reduce to just srec/xmodem.
	* (w89k_cmds):  Add clear all breakpoints, memory fill, and dump
	registers commands.
1995-04-08 01:05:01 +00:00
David Edelsohn 1a56be5c4f * arc-dis.c (print_insn): New parameter `big_p'. Callers updated.
Call arc_get_opcode_mach to map bfd mach number to opcode value.
	(print_insn_*): Pass bfd mach number, not opcode version.
	* arc-opc.c (arc_get_opcode_mach): New function.
1995-04-07 03:54:08 +00:00