Commit graph

14 commits

Author SHA1 Message Date
Doug Evans
1e92854b08 * callback.h (CB_SYSCALL): Comment out arg names in prototypes. 1997-12-01 19:30:53 +00:00
Michael Meissner
be88ccfcd4 Use names for all prototype arguments 1997-11-26 21:48:58 +00:00
Doug Evans
881a60116f * callback.h (CB_SYSCALL): Change byte count arguments to
{read,write}_mem to `int'.  New member `magic'.
	(CB_SYSCALL_MAGIC,CB_SYSCALL_INIT): New macros.
1997-11-26 19:49:13 +00:00
Doug Evans
7de19d317a * callback.h (struct stat): Move forward decl up.
(host_callback): Pass stat struct pointer to stat,fstat.
	(CB_SYS_nnn): Reorganize.
	(CB_SYSCALL): New members p1,p2.
	(cb_host_to_target_stat): Delete fourth arg.
1997-11-25 09:39:56 +00:00
Doug Evans
8d5306e718 * callback.h (CB_TARGET_DEFS_MAP): Renamed from target_defs_map.
(host_callback): Add stat, fstat, syscall_map, errno_map, open_map,
	signal_map, stat_map.
	(errn_map,open_map): Renamed to cb_init_foo_map.
	(cb_host_to_target_errno,cb_target_to_host_open): Renamed from
	host_to_target_errno,target_to_host_open.
	(cb_read_target_syscall_maps): Add prototype.
	(cb_target_to_host_syscall): Likewise.
	(cb_host_to_target_stat): Likewise.
	(cb_syscall): Likewise.
	(CB_SYS_{exit,open,close,read,write,lseek,unlink,getpid,kill,fstat,
	argvlen,argv,chdir,stat,chmod,utime,time}): Define.
	(CB_SYSCALL): New type.
	(CB_RC): New enum.
1997-11-17 22:12:52 +00:00
David Edelsohn
bf008f9852 Undo last change, add comment saying why I think I was wrong. 1997-08-14 20:07:56 +00:00
David Edelsohn
a5120a7e53 * callback.h (cb_printf, cb_eprintf): Declare. 1997-08-14 19:55:37 +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
09e348731e Tweak comment. 1997-04-17 13:46:50 +00:00
Michael Meissner
8902803f75 Fix faulty assumption that va_list is a pointer type 1997-03-28 20:48:12 +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
David Edelsohn
e114415332 * callback.h (host_callback): New member `error'. 1996-12-09 01:12:03 +00:00
David Edelsohn
9d10b92d2a * callback.h: New file, moved here from gdb. 1996-11-20 08:42:22 +00:00