* server.c (handle_v_attach): Inhibit reporting dll changes.
This commit is contained in:
parent
3c3185ac88
commit
aeba519e76
|
@ -1,3 +1,7 @@
|
||||||
|
2008-07-07 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
|
* server.c (handle_v_attach): Inhibit reporting dll changes.
|
||||||
|
|
||||||
2008-06-27 Pedro Alves <pedro@codesourcery.com>
|
2008-06-27 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* remote-utils.c (prepare_resume_reply): If requested, don't
|
* remote-utils.c (prepare_resume_reply): If requested, don't
|
||||||
|
|
|
@ -1024,6 +1024,11 @@ handle_v_attach (char *own_buf, char *status, int *signal)
|
||||||
pid = strtol (own_buf + 8, NULL, 16);
|
pid = strtol (own_buf + 8, NULL, 16);
|
||||||
if (pid != 0 && attach_inferior (pid, status, signal) == 0)
|
if (pid != 0 && attach_inferior (pid, status, signal) == 0)
|
||||||
{
|
{
|
||||||
|
/* Don't report shared library events after attaching, even if
|
||||||
|
some libraries are preloaded. GDB will always poll the
|
||||||
|
library list. Avoids the "stopped by shared library event"
|
||||||
|
notice on the GDB side. */
|
||||||
|
dlls_changed = 0;
|
||||||
prepare_resume_reply (own_buf, *status, *signal);
|
prepare_resume_reply (own_buf, *status, *signal);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue