aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>1997-04-29 04:27:26 +0000
committerMichael Snyder <msnyder@vmware.com>1997-04-29 04:27:26 +0000
commitc889a1eb873d3e87d2fe38b83c7d27a2915eb792 (patch)
tree360276cfbff79e2fe612c4b4ba83ca4346027224 /gdb/gnu-nat.h
parentMon Apr 28 18:21:20 1997 Michael Snyder <msnyder@cleaver.cygnus.com> (diff)
downloadbinutils-gdb-c889a1eb873d3e87d2fe38b83c7d27a2915eb792.tar.gz
binutils-gdb-c889a1eb873d3e87d2fe38b83c7d27a2915eb792.tar.bz2
binutils-gdb-c889a1eb873d3e87d2fe38b83c7d27a2915eb792.zip
Mon Apr 28 21:25:32 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
* 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.
Diffstat (limited to 'gdb/gnu-nat.h')
-rw-r--r--gdb/gnu-nat.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/gnu-nat.h b/gdb/gnu-nat.h
index 8f0ab7b3c82..84ce64bbe17 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. */