diff options
author | Pedro Alves <pedro@codesourcery.com> | 2011-05-27 18:39:49 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2011-05-27 18:39:49 +0000 |
commit | 2825bb9e506bf3cd5bc3e01bb414c8afd0f86ea6 (patch) | |
tree | 68c8792d7d8ee8dd69a67f476657eeecd38e75d1 /gdb | |
parent | 811ca069a7ef381ce2f59756f48bcc7dcdcaa258 (diff) | |
download | gdb-2825bb9e506bf3cd5bc3e01bb414c8afd0f86ea6.tar.gz |
2011-05-27 Pedro Alves <pedro@codesourcery.com>
gdb/
* 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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/breakpoint.h | 1 | ||||
-rw-r--r-- | gdb/defs.h | 3 | ||||
-rwxr-xr-x | gdb/observer.sh | 1 | ||||
-rw-r--r-- | gdb/python/python-internal.h | 1 |
5 files changed, 12 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b57fa0821a1..83203a21293 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 2050c6d1d4a..c7ec3116d6d 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 1795297fff8..c637a096a60 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 ba8ba4e192f..e4d5e7766bc 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 d3cb78854ab..b65109d13bd 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; |