Browse Source

* server.c (main): Don't report dll events on the initial

connection on attaches.
insight_6_8-branch
Pedro Alves 19 years ago
parent
commit
311de42358
  1. 5
      gdb/gdbserver/ChangeLog
  2. 9
      gdb/gdbserver/server.c

5
gdb/gdbserver/ChangeLog

@ -1,3 +1,8 @@
2007-12-03 Pedro Alves <pedro_alves@portugalmail.pt>
* server.c (main): Don't report dll events on the initial
connection on attaches.
2007-12-03 Pedro Alves <pedro_alves@portugalmail.pt> 2007-12-03 Pedro Alves <pedro_alves@portugalmail.pt>
* server.c (main): Relax numerical bases supported for the pid of * server.c (main): Relax numerical bases supported for the pid of

9
gdb/gdbserver/server.c

@ -908,10 +908,6 @@ main (int argc, char *argv[])
/* We are now (hopefully) stopped at the first instruction of /* We are now (hopefully) stopped at the first instruction of
the target process. This assumes that the target process was the target process. This assumes that the target process was
successfully created. */ successfully created. */
/* Don't report shared library events on the initial connection,
even if some libraries are preloaded. */
dlls_changed = 0;
} }
else else
{ {
@ -926,6 +922,11 @@ main (int argc, char *argv[])
} }
} }
/* Don't report shared library events on the initial connection,
even if some libraries are preloaded. Avoids the "stopped by
shared library event" notice on gdb side. */
dlls_changed = 0;
if (setjmp (toplevel)) if (setjmp (toplevel))
{ {
fprintf (stderr, "Killing inferior\n"); fprintf (stderr, "Killing inferior\n");

Loading…
Cancel
Save