aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-es.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-08-02 06:25:36 +0000
committerStu Grossman <grossman@cygnus>1993-08-02 06:25:36 +0000
commit25286543da71d927d59a7479e7e1bd0a1b9e1321 (patch)
tree1894f048a9b518449080492cc866479a027dffae /gdb/remote-es.c
parent3481ad9a11c96e070c8c29ae19bb2269a7fb7584 (diff)
downloadfsf-binutils-gdb-25286543da71d927d59a7479e7e1bd0a1b9e1321.zip
fsf-binutils-gdb-25286543da71d927d59a7479e7e1bd0a1b9e1321.tar.gz
fsf-binutils-gdb-25286543da71d927d59a7479e7e1bd0a1b9e1321.tar.bz2
Sun Aug 1 22:58:18 1993 Stu Grossman (grossman at cygnus.com)
* Makefile.in (CLIBS): Reorder to make Lynx ld happy. * (HFILES): New file thread.h. * (OBS): New file thread.c. * configure.in: Host config for Lynx/386. * fork-child.c (fork_inferior): Call init_thread_list(). * infrun.c (resume): Add pid to invocation of target_resume(). * (wait_for_inferior): Pay attention to pid from target_wait(). Multi-threading code now uses this to determine what to do. * inftarg.c (child_wait): Conditionalize based on CHILD_WAIT macro. Use target_pid_to_str() macro throughout when printing pid. * inferior.h (child_resume): Add pid to prototype. * hppab-nat.c hppah-nat.c infptrace.c (child_resume): Pass in pid as argument, instead of using inferior_pid. * procfs.c (procfs_resume): Pass in pid as argument. Ignored for now. Use target_pid_to_str() macro throughout for printing process id. * remote-adapt.c (adapt_resume): Pass in pid as argument. * remote-eb.c (eb_resume): Pass in pid as argument. * remote-es.c (es1800_resume): Pass in pid as argument. * remote-hms.c (hms_resume): Pass in pid as argument. * remote-mips.c (mips_resume): Pass in pid as argument. * remote-mm.c (mm_resume): Pass in pid as argument. * remote-monitor.c (monitor_resume): Pass in pid as argument. * remote-nindy.c (nindy_resume): Pass in pid as argument. * remote-sa.sparc.c (remote_resume): Pass in pid as argument. * remote-sim.c (rem_resume): Pass in pid as argument. * remote-sp64sim.c (simif_resume): Pass in pid as argument. * remote-st.c (st2000_resume): Pass in pid as argument. * remote-udi.c (udi_resume): Pass in pid as argument. * remote-vx.c (vx_resume): Pass in pid as argument. * remote-z8k.c (rem_resume): Pass in pid as argument. * remote.c (remote_resume): Pass in pid as argument. * solib.c (solid_create_inferior_hook): Pass inferior_pid to target_resume(). * target.c (normal_pid_to_str): New routine to print out process ID normally. * target.h (struct target_ops): Add pid to prototype at to_resume(). (target_resume): Add pid argument. * (target_pid_to_str): Default definition for normal type pids. * thread.c, thread.c: New modules for multi thread/process control.
Diffstat (limited to 'gdb/remote-es.c')
-rw-r--r--gdb/remote-es.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/remote-es.c b/gdb/remote-es.c
index 1c442d5..f61c1eb 100644
--- a/gdb/remote-es.c
+++ b/gdb/remote-es.c
@@ -161,7 +161,7 @@ static int
es1800_wait PARAMS ((WAITTYPE *));
static void
-es1800_resume PARAMS ((int, int));
+es1800_resume PARAMS ((int, int, int));
static void
es1800_detach PARAMS ((char *, int));
@@ -650,7 +650,8 @@ es1800_detach (args, from_tty)
siggnal - the signal value to be given to the target (0 = no signal) */
static void
-es1800_resume (step, siggnal)
+es1800_resume (pid, step, siggnal)
+ int pid;
int step;
int siggnal;
{