Commit graph

134 commits

Author SHA1 Message Date
Andrew Cagney
fafce69ab1 Add ABFD argument to sim_create_inferior. Document.
Add file sim-hload.c - generic load for hardware only simulators.
Review each simulators sim_open, sim_load, sim_create_inferior so that
they more closely match required behavour.
1997-08-27 04:44:41 +00:00
Andrew Cagney
247fccdeb5 Add ABFD argument to sim_open call. Pass through to sim_config so
that image properties such as endianness can be checked.

More strongly document the expected behavour of each of the sim_*
interfaces.

Add default endian argument to simulator config macro
SIM_AC_OPTION_ENDIAN.  Use in sim_config.
1997-08-25 23:14:25 +00:00
David Edelsohn
a5120a7e53 * callback.h (cb_printf, cb_eprintf): Declare. 1997-08-14 19:55:37 +00:00
Ian Lance Taylor
1ca82cc0dc * libiberty.h (PEXECUTE_*): Define.
(pexecute, pwait): Declare.
1997-07-22 22:00:09 +00:00
Andrew Cagney
aa02a0b0f2 sim_kill() isn't used. 1997-06-06 03:02:51 +00:00
Andrew Cagney
1fa0cc2dfc Restrict simulator commands to an enabled simulator. 1997-05-22 04:59:25 +00:00
Andrew Cagney
50a2a69182 Watchpoint interface. 1997-05-21 06:54:13 +00:00
Andrew Cagney
24aa2b57af Depreciate sim_set_callbacks() function. Set simulator callbacks
during sim_open().
1997-05-20 00:05:27 +00:00
Andrew Cagney
2e61a3ad9c Graft sim/common event and other code onto the mips simulator. 1997-05-19 13:30:30 +00:00
Mark Alexander
2ce0e027f4 * obstack.h (obstack_specify_allocation_with_arg, obstack_chunkfun,
obstack_freefun): Eliminate compile warnings in gdb.
1997-05-15 08:30:04 +00:00
Nick Clifton
46686c7839 Added support for storing ARM Procedure Calling Standard variant, and ARM
architecture variant in the BFD and COFF structures.  This goes towards
fixing PRs 11709 and 11326 and will integrate with future updates to LD and
GCC.
1997-05-14 17:00:43 +00:00
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
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
Ian Lance Taylor
64d2004922 * COPYING: Update FSF address. 1997-04-02 19:51:31 +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
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
ea3f963dd6 * obstack.h: Update to current FSF version. 1997-03-16 00:00:59 +00:00
Michael Meissner
c6c7035cfb Since d10v is public now, remove all sanitization statements 1997-02-20 16:05:18 +00:00
Dawn Perchik
753b59c270 * libiberty.h: Checkin again; last checkin failed due to sticky tag. 1996-11-18 23:35:05 +00:00
David Edelsohn
e468146789 * ansidecl.h (VPARAMS,VA_START): Define. 1996-10-31 22:59:20 +00:00
David Edelsohn
db2d85c616 * dis-asm.h (print_insn_m32r): Declare. 1996-10-17 18:18:12 +00:00
Ian Lance Taylor
684d50a53e * libiberty.h: Declare parameter types for xmalloc and xrealloc. 1996-10-15 03:57:09 +00:00
Ian Lance Taylor
fa8e5931d8 * fnmatch.h: New file. 1996-10-03 17:45:45 +00:00
Jeff Law
ae1b99e42d Grrr. The mn10200 and mn10300 are _not_ similar enough to easily support
with a single generic configuration.  So break them up into two different
configurations.  See the individual ChangeLogs for additional detail.
1996-10-03 16:42:22 +00:00
Jeff Law
cad8350fd3 * dis-asm.h (print_insn_mn10x00): Declare.
Getting started on Matsushita.
1996-10-03 03:27:10 +00:00
Fred Fish
77f7bfd835 * libiberty.h: Remove #ifndef PRIVATE_XMALLOC. 1996-10-01 03:01:33 +00:00
Stu Grossman
9d896be306 * ansidecl.h: Change WIN32 to _WIN32. 1996-08-13 00:04:17 +00:00
Fred Fish
21b849e3cd * libiberty.h (PRIVATE_XMALLOC): Enclose xmalloc/xrealloc
definitions inside #ifndef so that programs that want to
	can define PRIVATE_XMALLOC and then define xmalloc and
	xrealloc anyway they want.
	(basename): Document in source that we can't declare
	the parameter type because it is declared inconsistently across
	different systems.
1996-07-26 05:05:35 +00:00
Ian Lance Taylor
04cf159485 Mon Jul 22 13:16:13 1996 Richard Henderson <rth@tamu.edu>
* dis-asm.h (print_insn_alpha): Don't declare.
	(print_insn_alpha_osf, print_insn_alpha_vms): Declare.
1996-07-22 17:18:55 +00:00
Martin Hunt
770e082760 start-sanitize-d10v
Wed Jul 17 14:45:12 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
        * dis-asm.h: (print_insn_d10v): Declare.
end-sanitize-d10v
1996-07-18 00:41:43 +00:00
Stu Grossman
a29322f785 * dis-asm.h: Get rid of decls for print_insn_i8086,
print_insn_sparc64 and print_insn_sparclite.
	* (INIT_DISASSEMBLE_INFO):  Split into two pieces.  One,
	INIT_DISASSEMBLE_INFO_NO_ARCH inits everything except for endian,
	mach, and arch.
1996-07-15 23:59:26 +00:00
Stu Grossman
979ce1e806 * dis-asm.h (print_insn_i8086): Declare. 1996-07-12 17:20:17 +00:00
Jeff Law
16cf520e5f No longer need to sanitize away h8s stuff. 1996-07-05 18:46:54 +00:00
Ian Lance Taylor
a570d4b2d3 Tue Jun 18 15:11:33 1996 Klaus Kaempf <kkaempf@progis.de>
* fopen-vms.h: New file.
1996-06-18 19:14:57 +00:00
David Edelsohn
2b20fd720f * dis-asm.h (INIT_DISASSEMBLE_INFO): Set endian to BFD_ENDIAN_UNKNOWN. 1996-01-23 17:53:04 +00:00
David Edelsohn
3e496fff5a * dis-asm.h (disassemble_info): New members arch, mach, endian.
(INIT_DISASSEMBLE_INFO): Initialize them.
	(DISASM_RAW_INSN{,FLAG}): Define.
1996-01-23 00:39:54 +00:00
Ian Lance Taylor
5826ca4cee * demangle.h (cplus_demangle_opname): Change opname parameter to
const char *.
	(cplus_mangle_opname): Change return type and opname parameter to
	const char *.
1996-01-18 16:33:36 +00:00
Ian Lance Taylor
e61e7bcbfe * ieee.h (enum ieee_record): Add ieee_asn_record_enum,
ieee_at_record_enum, ieee_ty_record_enum, ieee_atn_record_enum,
	ieee_bb_record_enum, and ieee_be_record_enum.
1996-01-05 05:02:15 +00:00
Fred Fish
655492f4ff * obstack.h: Update copyright to 1996.
(_obstack_memory_used): Declare.
	(obstack_memory_used): Define macro.
1996-01-03 21:58:13 +00:00
Michael Meissner
29a766d2d4 Add ifndef wrappers 1995-12-21 19:51:55 +00:00
Kim Knuttila
4e0785aa05 Added some NT defines 1995-11-07 20:00:23 +00:00
Ian Lance Taylor
bd830e07d4 * bfdlink.h (struct bfd_link_info): Add static_link field. 1995-10-25 01:46:09 +00:00
Steve Chamberlain
9aa83a0dc9 Thu Aug 31 16:51:50 1995 steve chamberlain <sac@slash.cygnus.com>
* internal.h (internal_aouthdr, internal_filehdr):
	don't indirect the pe stuff.
1995-08-31 23:54:04 +00:00
Steve Chamberlain
e2936fc40b * internal.h: (internal_filehdr): Moved PE stuff into
internal_extra_pe_filehdr.
	(internal_aouthdr): Moved PE stuff into
	interanl_extra_pe_aouthdr.

	* bfdlink.h (struct bfd_link_info): Remove PE stuff.
1995-08-22 01:13:43 +00:00
Ian Lance Taylor
8a55336153 * bfdlink.h (struct bfd_link_info): Change type of base_file to
PTR.
1995-07-02 21:49:21 +00:00
Steve Chamberlain
3ca120a5b3 * bfdlink.h (struct bfd_link_info): Added base_file member. 1995-06-29 07:03:35 +00:00
Jason Merrill
856afd1791 Thu May 4 14:36:42 1995 Jason Merrill <jason@phydeaux.cygnus.com>
* demangle.h: Don't include ansidecl.h if IN_GCC.
1995-05-11 19:46:51 +00:00
David Edelsohn
aa396c6858 * dis-asm.h (arc_get_disassembler): Change argument to int.
All callers updated.
1995-02-17 20:41:34 +00:00
David Edelsohn
9c78b44872 * dis-asm.h (print_insn_arc): Deleted.
(arc_get_disassembler): Declare.
1995-02-10 03:48:27 +00:00