diff options
author | Tristan Gingold <tristan.gingold@adacore.com> | 2014-03-21 16:56:39 +0100 |
---|---|---|
committer | Tristan Gingold <tristan.gingold@adacore.com> | 2014-04-01 11:50:36 +0200 |
commit | a41f2563d040d86954ccda7faa4a8ad7bdbcae88 (patch) | |
tree | 93fd71268e39dd41dfe6b583579d912b79b9c2b8 /move-if-change | |
parent | 98d1b8dcd84bb39ba5d0731162f241890d4ce5f5 (diff) | |
download | binutils-gdb-a41f2563d040d86954ccda7faa4a8ad7bdbcae88.tar.gz |
darwin-nat: avoid crash while debugging gdb.
it is possible that gdb gets mach exceptions from an unknown inferior. This
happens when an inferior creates a child and that child gets a signal.
So instead of reporting messages with unknown origins, simply reply to these
notifications. The kernel will then post the unix signal.
gdb/
* darwin-nat.c (darwin_encode_reply): Add prototype.
(darwin_decode_exception_message): Reply to unknown inferiors.
(darwin_decode_message): Handle message by id. Ignore message
to unknown inferior.
(darwin_wait): Discard unknown messages, add debug trace.
Diffstat (limited to 'move-if-change')
0 files changed, 0 insertions, 0 deletions