2011-05-27 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Fri, 27 May 2011 18:39:49 +0000 (18:39 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 27 May 2011 18:39:49 +0000 (18:39 +0000)
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.

gdb/ChangeLog
gdb/breakpoint.h
gdb/defs.h
gdb/observer.sh
gdb/python/python-internal.h

index b57fa0821a1d3df8c56744917580895e1c248d7f..83203a21293150919d5a68a21af6230ec4136643 100644 (file)
@@ -1,3 +1,12 @@
+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)
index 2050c6d1d4ad3709b83765fdfdfffdc81aee6e69..c7ec3116d6d84cfed66e99711d457c0263039422 100644 (file)
@@ -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
index 1795297fff80f3239c4b6e286d86d4b5e92d0547..c637a096a60c972fbadadc0ddb2a0987d7256619 100644 (file)
@@ -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;
index ba8ba4e192fee279325064578bf5a9be05b8577c..e4d5e7766bc30255d1cff742de94ae9d891c2ce7 100755 (executable)
@@ -64,6 +64,7 @@ struct bpstats;
 struct so_list;
 struct objfile;
 struct thread_info;
+struct inferior;
 EOF
         ;;
 esac
index d3cb78854aba66c032d63c66c873ea798f9821a9..b65109d13bdc1e0e506631d0959a21cc754288ee 100644 (file)
@@ -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;