summaryrefslogtreecommitdiff
path: root/gdb/inferior.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-06-13 18:15:04 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-06-13 18:15:04 +0000
commitee91c8e0c33a3ebf00fd6b6c5f57317dd5e9d149 (patch)
treed3664968f1a5faeacdbe5001d3167579502c476a /gdb/inferior.h
parentf3951dfe9e62f8c299961125c9e9cd3ffd0b9bf5 (diff)
downloadgdb-ee91c8e0c33a3ebf00fd6b6c5f57317dd5e9d149.tar.gz
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 dfcbda4c2f9..394596251ff 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