forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user