From c889a1eb873d3e87d2fe38b83c7d27a2915eb792 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Tue, 29 Apr 1997 04:27:26 +0000 Subject: Mon Apr 28 21:25:32 1997 Michael Snyder * Makefile.in: Add rule for gnu-nat.o and i386gnu-nat.o (Gnu Hurd) * config/i386/i386gnu.mh: remove rules for [i386]gnu-nat.o, now in Makefile.in (as for other targets); add NATDEPFILE corelow.o to satisfy symbol dependancy in solib.c (core_ops). * target.[ch] conditionalize Mach-specific signals so that they won't show up in non-Mach gdb's! * thread.c: add function thread_id_to_pid; change name of static function "thread_switch" to "switch_to_thread", to avoid conflict with Mach global symbol; move thread_cmd_list to global scope so targets can add their own thread commands. * infrun.c: sig_print_info: allow for long signal names. * gnu-nat.[ch]: tidying up comments. * gnu-nat.c: move several functions to static scope, just for tidy; remove calls to prune_threads and renumber_threads; gnu_wait must not return -1 when inferior exits; attach_to_child will modify inferior_pid in a way that allows fork_inferior to remain unchanged; remove extra arg from startup_inferior; move mach-specific thread commands here from thread.c. --- gdb/gnu-nat.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gdb/gnu-nat.h') diff --git a/gdb/gnu-nat.h b/gdb/gnu-nat.h index 8f0ab7b..84ce64b 100644 --- a/gdb/gnu-nat.h +++ b/gdb/gnu-nat.h @@ -46,8 +46,9 @@ struct proc int cur_sc; /* Implemented suspend count. */ int run_sc; /* Default sc when the program is running. */ int pause_sc; /* Default sc when gdb has control. */ - int resume_sc; /* Sc resulting form the last resume. */ - int detach_sc; /* SC to leave around when detaching from program. */ + int resume_sc; /* Sc resulting from the last resume. */ + int detach_sc; /* SC to leave around when detaching + from program. */ thread_state_data_t state; /* Registers, &c. */ int state_valid : 1; /* True if STATE is up to date. */ -- cgit v1.1