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 /gdb/ChangeLog | |
parent | 98d1b8dcd84bb39ba5d0731162f241890d4ce5f5 (diff) | |
download | gdb-a41f2563d040d86954ccda7faa4a8ad7bdbcae88.zip gdb-a41f2563d040d86954ccda7faa4a8ad7bdbcae88.tar.gz gdb-a41f2563d040d86954ccda7faa4a8ad7bdbcae88.tar.bz2 |
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 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5ff3b59..c8d4ab5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2014-04-01 Tristan Gingold <gingold@adacore.com> + + * 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. + 2014-03-31 Doug Evans <dje@google.com> * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local |