summaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-05-06 22:22:03 +0000
committerKevin Buettner <kevinb@redhat.com>2001-05-06 22:22:03 +0000
commit5804effc2da38cf13cabc7a84a2c314dd4bd6d1e (patch)
tree2cc0af23c1ce60fe47549b576a92385dc9437394 /gdb/inferior.h
parent97692badc52dec581548db39d8a94936032dbc2c (diff)
downloadgdb-5804effc2da38cf13cabc7a84a2c314dd4bd6d1e.tar.gz
Consolidate save_inferior_ptid/restore_inferior_ptid implementation to
one source file.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r--gdb/inferior.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 35ac96edf62..91741975941 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -51,6 +51,11 @@ extern void write_inferior_status_register (struct inferior_status
*inf_status, int regno,
LONGEST val);
+/* Save value of inferior_ptid so that it may be restored by
+ a later call to do_cleanups(). Returns the struct cleanup
+ pointer needed for later doing the cleanup. */
+extern struct cleanup * save_inferior_ptid (void);
+
extern void set_sigint_trap (void);
extern void clear_sigint_trap (void);