Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Unified Diff: gdb/i386-nat.h

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/i386-linux-tdep.c ('k') | gdb/i386-nat.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/i386-nat.h
diff --git a/gdb/i386-nat.h b/gdb/i386-nat.h
index c06993c910dd3340b92c9ce5849c2096ea40c161..9ce52ab91aeb6e5159c32889455c4146c83de1e7 100644
--- a/gdb/i386-nat.h
+++ b/gdb/i386-nat.h
@@ -3,7 +3,7 @@
Low level functions to implement Oeprating System specific
code to manipulate I386 debug registers.
- Copyright (C) 2009-2012 Free Software Foundation, Inc.
+ Copyright (C) 2009-2013 Free Software Foundation, Inc.
This file is part of GDB.
@@ -20,8 +20,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-#include "defs.h"
-
#ifndef I386_NAT_H
#define I386_NAT_H 1
@@ -112,9 +110,14 @@ extern void i386_set_debug_register_length (int len);
extern void i386_cleanup_dregs (void);
-/* Return a pointer to the the local mirror of the inferior's debug
- registers. */
+/* Return a pointer to the local mirror of the debug registers of
+ process PID. */
+
+extern struct i386_debug_reg_state *i386_debug_reg_state (pid_t pid);
+
+/* Called whenever GDB is no longer debugging process PID. It deletes
+ data structures that keep track of debug register state. */
-extern struct i386_debug_reg_state *i386_debug_reg_state (void);
+extern void i386_forget_process (pid_t pid);
#endif /* I386_NAT_H */
« no previous file with comments | « gdb/i386-linux-tdep.c ('k') | gdb/i386-nat.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698