aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-06-13 18:15:05 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-06-13 18:15:05 +0000
commitdd80ea3c315b22e0751f62d7049969903d9c95ec (patch)
treeb2ce770ffb1fffe3209b1d2860383ead66e5c0e1 /gdb/inferior.h
parentf3b5e28044f6033220a7935ce4d1437a0c5ab38a (diff)
downloadfsf-binutils-gdb-dd80ea3c315b22e0751f62d7049969903d9c95ec.zip
fsf-binutils-gdb-dd80ea3c315b22e0751f62d7049969903d9c95ec.tar.gz
fsf-binutils-gdb-dd80ea3c315b22e0751f62d7049969903d9c95ec.tar.bz2
gdb/
PR build/14003 * inferior.h (struct inferior_suspend_state): Comment out. (struct inferior): Comment out the field suspend. * infrun.c (struct infcall_suspend_state): Comment out the field inferior_suspend. (save_infcall_suspend_state, restore_infcall_suspend_state): Comment out its assignment.
Diffstat (limited to 'gdb/inferior.h')
-rw-r--r--gdb/inferior.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index dfcbda4..3945962 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -397,9 +397,11 @@ struct inferior_control_state
Inferior thread counterpart is `struct thread_suspend_state'. */
+#if 0 /* Currently unused and empty structures are not valid C. */
struct inferior_suspend_state
{
};
+#endif
/* GDB represents the state of each program execution with an object
called an inferior. An inferior typically corresponds to a process
@@ -431,7 +433,9 @@ struct inferior
/* State of inferior process to restore after GDB is done with an inferior
call. See `struct inferior_suspend_state'. */
+#if 0 /* Currently unused and empty structures are not valid C. */
struct inferior_suspend_state suspend;
+#endif
/* True if this was an auto-created inferior, e.g. created from
following a fork; false, if this inferior was manually added by