projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use malloc/free in the dbgapi callbacks
[deliverable/binutils-gdb.git]
/
gdb
/
event-top.c
diff --git
a/gdb/event-top.c
b/gdb/event-top.c
index a5f8c68be98e8ef9b928b6fb82607ecd0853c22f..3f10b21280d6626382932b30ffce702c9c814167 100644
(file)
--- a/
gdb/event-top.c
+++ b/
gdb/event-top.c
@@
-1137,12
+1137,16
@@
async_disconnect (gdb_client_data arg)
exception_print (gdb_stderr, exception);
}
exception_print (gdb_stderr, exception);
}
- try
- {
- pop_all_targets ();
- }
- catch (const gdb_exception &exception)
+ for (inferior *inf : all_inferiors ())
{
{
+ switch_to_inferior_no_thread (inf);
+ try
+ {
+ pop_all_targets ();
+ }
+ catch (const gdb_exception &exception)
+ {
+ }
}
signal (SIGHUP, SIG_DFL); /*FIXME: ??????????? */
}
signal (SIGHUP, SIG_DFL); /*FIXME: ??????????? */
This page took
0.023775 seconds
and
4
git commands to generate.