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/solib.c | |
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/solib.c')
-rw-r--r-- | gdb/solib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/solib.c b/gdb/solib.c index 94f8f13..49c1cdb 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -914,6 +914,8 @@ solib_add (char *pattern, int from_tty, { struct so_list *gdb; + current_program_space->solib_add_generation++; + if (pattern) { char *re_err = re_comp (pattern); |