aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog9
-rw-r--r--gdb/breakpoint.h1
-rw-r--r--gdb/defs.h3
-rwxr-xr-xgdb/observer.sh1
-rw-r--r--gdb/python/python-internal.h1
5 files changed, 12 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b57fa08..83203a2 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,14 @@
2011-05-27 Pedro Alves <pedro@codesourcery.com>
+ * defs.h (struct thread_info, struct inferior): Delete forward
+ declarations.
+ * breakpoint.h (struct thread_info): New forward declaration.
+ * observer.sh (struct inferior): New forward declaration.
+ * python/python-internal.h (struct inferior): New forward
+ declaration.
+
+2011-05-27 Pedro Alves <pedro@codesourcery.com>
+
* defs.h (struct continuation, continuation_ftype)
(continuation_free_arg_ftype, add_continuation)
(do_all_continuations, do_all_continuations_thread)
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h
index 2050c6d..c7ec311 100644
--- a/gdb/breakpoint.h
+++ b/gdb/breakpoint.h
@@ -29,6 +29,7 @@ struct value;
struct block;
struct breakpoint_object;
struct get_number_or_range_state;
+struct thread_info;
/* This is the maximum number of bytes a breakpoint instruction can
take. Feel free to increase it. It's just used in a few places to
diff --git a/gdb/defs.h b/gdb/defs.h
index 1795297..c637a09 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -730,9 +730,6 @@ extern struct command_line *read_command_lines_1 (char * (*) (void), int,
extern void free_command_lines (struct command_line **);
-struct thread_info;
-struct inferior;
-
/* String containing the current directory (what getwd would return). */
extern char *current_directory;
diff --git a/gdb/observer.sh b/gdb/observer.sh
index ba8ba4e..e4d5e77 100755
--- a/gdb/observer.sh
+++ b/gdb/observer.sh
@@ -64,6 +64,7 @@ struct bpstats;
struct so_list;
struct objfile;
struct thread_info;
+struct inferior;
EOF
;;
esac
diff --git a/gdb/python/python-internal.h b/gdb/python/python-internal.h
index d3cb788..b65109d 100644
--- a/gdb/python/python-internal.h
+++ b/gdb/python/python-internal.h
@@ -106,6 +106,7 @@ struct value;
struct language_defn;
struct program_space;
struct bpstats;
+struct inferior;
extern PyObject *gdb_module;
extern PyTypeObject value_object_type;