Commit Graph

700 Commits

Author SHA1 Message Date
Andrew Cagney
8517f62b16 Ref gdb/11763 - can't stop a running simulator:
o	Provide poll_quit callback to simulators
		so that they can poll for SIGINT on
		clueless OS's.

	o	Add sim_stop to simulators so that clients
		can request a halt (eg gdbtk's STOP button)
		Works for PPC!

	o	Re-arange remote-sim.c so that the
		hard work is moved from gdbsim_resume()
		to gdbsim_wait() (where it should be).
1997-04-18 12:24:52 +00:00
David Edelsohn
09e348731e Tweak comment. 1997-04-17 13:46:50 +00:00
David Edelsohn
a1cb1f4b9c * remote-sim.h (struct _bfd): Declare.
(sim_load): Return SIM_RC.  New arg `abfd'.
	(sim_create_inferior): Return SIM_RC.  Delete arg `start_address'.
1997-04-17 09:19:45 +00:00
Andrew Cagney
87e43259f1 Cleanups to compile under FreeBSD 1997-04-17 06:05:19 +00:00
David Edelsohn
9b64639572 * cgen.h (<cpu>_cgen_assemble_insn): New arg for errmsg.
(cgen_parse_operand_fn): Declare.
	(cgen_init_parse_operand): Declare.
	(cgen_parse_operand): Renamed from cgen_asm_parse_operand,
	new argument `want'.
	(enum cgen_parse_operand_result): Renamed from cgen_asm_result.
	(enum cgen_parse_operand_type): New enum.
1997-04-10 23:39:08 +00:00
David Edelsohn
fe2dd6424b * cgen.h (<cpu>_cgen_assemble_insn): New arg for errmsg.
(cgen_asm_parse_operand_fn): Declare.
1997-04-10 21:55:09 +00:00
Ian Lance Taylor
c0d7b5346d * i386.h: Revert last patch for the NON_BROKEN_OPCODES cases. 1997-04-05 18:15:32 +00:00
David Edelsohn
df8b2c02b3 cgen header file 1997-04-04 19:48:32 +00:00
Ian Lance Taylor
80aeca1402 update copyright 1997-04-04 19:06:12 +00:00
Ian Lance Taylor
c00435ed04 * i386.h: Correct opcode values for fsubp, fsubrp, fdivp, and
fdivrp.
1997-04-04 19:03:15 +00:00
David Edelsohn
38498962ba (sim_open): Update comment. 1997-04-02 23:47:49 +00:00
David Edelsohn
b0d8c28f61 * remote-sim.h (SIM_OPEN_KIND, SIM_RC): New enums.
(sim_open): New argument `kind'.
1997-04-02 23:24:25 +00:00
Ian Lance Taylor
64d2004922 * COPYING: Update FSF address. 1997-04-02 19:51:31 +00:00
Ian Lance Taylor
9582f9abec remove m32r sanitization 1997-04-01 04:12:20 +00:00
Michael Meissner
8902803f75 Fix faulty assumption that va_list is a pointer type 1997-03-28 20:48:12 +00:00
Ian Lance Taylor
b26ac9e1e8 Fri Mar 28 15:44:41 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
* libiberty.h (basename): Add prototype for glibc and linux.
1997-03-28 20:45:38 +00:00
Ian Lance Taylor
0585a29283 * i386.h: Add iclr. 1997-03-24 19:38:27 +00:00
David Edelsohn
482a7cddc3 remove m32r sanitization 1997-03-22 19:38:00 +00:00
Ian Lance Taylor
527cabaf29 * i386.h: Change DW to W for cmpxchg and xadd, since they don't
take a direction bit.
1997-03-21 00:53:24 +00:00
J.T. Conklin
53bcc60c44 * m68k.h (mcfmac, mcfdiv): New macros. 1997-03-19 14:27:26 +00:00
Ian Lance Taylor
bc68afb237 * objalloc.h: New file. 1997-03-18 00:22:33 +00:00
Andrew Cagney
05e4e44f95 * remote-sim.h: New file, copied in from gdb/remote-sim.h. One
day this will be placed in a directory of its own.
1997-03-17 14:19:23 +00:00
Ian Lance Taylor
9ef62ee107 x 1997-03-16 00:05:49 +00:00
Ian Lance Taylor
ea3f963dd6 * obstack.h: Update to current FSF version. 1997-03-16 00:00:59 +00:00
Ian Lance Taylor
5583be2433 * sparc.h: Include <ansidecl.h>. Update function declarations to
use prototypes, and to use const when appropriate.
1997-03-14 20:22:46 +00:00
David Edelsohn
efa8608055 Add copyright, tweak some comments. 1997-03-13 17:13:15 +00:00
Andrew Cagney
6d68593763 Extend callback interface to support vprintf, flush and error printing.
Corresponding change for gdb directory can be checked in later.
1997-03-12 12:27:30 +00:00
Jeff Law
39c65f8d83 Fix typo in last change. 1997-03-06 23:13:31 +00:00
Jeff Law
35106aae73 * mn10300.h (MN10300_OPERAND_RELAX): Define.
Bringing over changes from the mn10200 port.  Getting ready to start on
the relaxing assembler.
1997-03-06 21:19:51 +00:00
Jim Wilson
54d26e151e Correct d10v sanitization errors. 1997-03-03 00:22:35 +00:00
Martin Hunt
713495a9e6 Sanitize out d30v stuff. 1997-02-27 01:49:49 +00:00
Dawn Perchik
2fedd0a135 * mips.h: Add macros for cop0, cop1 cop2 and cop3.
Change mips_opcodes from const array to a pointer,
	and change bfd_mips_num_opcodes from const int to int,
	so that we can increase the size of the mips opcodes table
	dynamically.
1997-02-23 22:24:49 +00:00
Martin Hunt
ca5ef3cb83 Fri Feb 21 16:34:18 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30v.h (FLAG_X): Remove unused flag.
1997-02-22 00:34:58 +00:00
David Edelsohn
8a733d7109 * m32r.h (enum reloc_type): Add R_M32R_SDA16.
(SHN_M32R_SCOMMON): Define.
1997-02-21 21:01:40 +00:00
Michael Meissner
c6c7035cfb Since d10v is public now, remove all sanitization statements 1997-02-20 16:05:18 +00:00
Ian Lance Taylor
56c4200b35 From Eric Youngdale <eric@andante.jic.com>:
* external.h, internal.h, common.h: Added new structures and
	definitions for ELF versions.
1997-02-19 20:36:23 +00:00
Martin Hunt
3acdeb5eee Tue Feb 18 17:40:36 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* common.h (EM_CYGNUS_D30V): Define.
1997-02-19 01:41:48 +00:00
Martin Hunt
a048df0758 Tue Feb 18 17:37:20 1997 Martin M. Hunt <hunt@pizza.cygnus.com>
* d30v.h: New file.
1997-02-19 01:39:32 +00:00
Gavin Romig-Koch
276c2d7dc8 Add r5900 1997-02-11 13:26:34 +00:00
Fred Fish
394de41870 * tic80.h (tic80_symbol_to_value): Change prototype to match
change in function, added class parameter.
1997-02-10 17:34:59 +00:00
Fred Fish
12e8f8af1f * tic80.h (TIC80_OPERAND_ENDMASK): Add for flagging TIc80
endmask fields, which are somewhat weird in that 0 and 32 are
	treated exactly the same.
1997-02-07 00:28:19 +00:00
Fred Fish
f996c7d898 One minor fix I forgot in last checkin. 1997-01-30 21:18:55 +00:00
Fred Fish
c2717a801f * tic80.h: Change all the OPERAND defines to use the form (1 << X)
rather than a constant that is 2**X.  Reorder them to put bits for
	operands that have symbolic names in the upper bits, so they can
	be packed into an int where the lower bits contain the value that
	corresponds to that symbolic name.
	(predefined_symbo): Add struct.
	(tic80_predefined_symbols): Declare array of translations.
	(tic80_num_predefined_symbols): Declare size of that array.
	(tic80_value_to_symbol): Declare function.
	(tic80_symbol_to_value): Declare function.
1997-01-30 20:56:33 +00:00
Jeff Law
53bdb44c10 * mn10200.h (MN10200_OPERAND_RELAX): Define.
Checking in some of the assembler branch relaxing code.
1997-01-29 16:38:25 +00:00
Ian Lance Taylor
8f6c6a6549 * internal.h (R_IPRMED, R_OPTCALL, R_OPTCALLX): Move definitions
from here...
	* i960.h (R_IPRMED, R_OPTCALL, R_OPTCALLX): ...to here.
1997-01-27 18:35:21 +00:00
Fred Fish
360e38f138 * tic80.h (TIC80MAGIC): Renamed to TIC80_AOUTHDR_MAGIC. 1997-01-23 03:12:41 +00:00
Fred Fish
102b9af5f9 * tic80.h (TIC80_NO_R0_DEST): Add for opcodes where r0 cannot
be the destination register.
1997-01-19 22:22:01 +00:00
Fred Fish
ac5f447d60 * tic80.h (struct tic80_opcode): Change "format" field to "flags".
(FMT_UNUSED, FMT_SI, FMT_LI, FMT_REG): Delete.
	(TIC80_VECTOR): Define a flag bit for the flags.  This one means
	that the opcode can have two vector instructions in a single
	32 bit word and we have to encode/decode both.
1997-01-17 03:53:46 +00:00
Fred Fish
ed6e7b0897 * tic80.h (TIC80_OPERAND_FLOAT): Add for floating point operands. 1997-01-13 22:59:20 +00:00
Fred Fish
547435564c * tic80.h (TIC80_OPERAND_SCALED): Operand may have optional
":s" modifier for scaling.
1997-01-06 17:51:13 +00:00