diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2011-07-26 15:17:47 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2011-07-26 15:17:47 +0000 |
commit | 2eff07b325d8e8d6719844464d744c008860a6a3 (patch) | |
tree | 778268c4bde6feaa3d7be73daa3b6d1b82dd8dd2 /gdb/progspace.h | |
parent | 53d780c93d81fe0dbcce1a93252ee638937032c7 (diff) | |
download | gdb-2eff07b325d8e8d6719844464d744c008860a6a3.zip gdb-2eff07b325d8e8d6719844464d744c008860a6a3.tar.gz gdb-2eff07b325d8e8d6719844464d744c008860a6a3.tar.bz2 |
2011-07-26 Paul Pluzhnikov <ppluzhnikov@google.com>
* progspace.h (struct program_space): Add solib_add_generation.
* infcmd.c (post_create_inferior): Only call solib_add if not
already done.
* solib.c (solib_add): Increment solib_add_generation.
Diffstat (limited to 'gdb/progspace.h')
-rw-r--r-- | gdb/progspace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/progspace.h b/gdb/progspace.h index 5d3ed95..76e8080 100644 --- a/gdb/progspace.h +++ b/gdb/progspace.h @@ -185,6 +185,9 @@ struct program_space solib.c. */ struct so_list *so_list; + /* Number of calls to solib_add. */ + unsigned solib_add_generation; + /* Per pspace data-pointers required by other GDB modules. */ void **data; unsigned num_data; |