From ce696e0556e9ddc48e7d049356a3c3fe6b7399d8 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Sun, 6 May 2001 22:22:03 +0000 Subject: Consolidate save_inferior_ptid/restore_inferior_ptid implementation to one source file. --- gdb/inferior.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/inferior.h') diff --git a/gdb/inferior.h b/gdb/inferior.h index 35ac96e..9174197 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); -- cgit v1.1