aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorTristan Gingold <tristan.gingold@adacore.com>2014-03-21 16:56:39 +0100
committerTristan Gingold <tristan.gingold@adacore.com>2014-04-01 11:50:36 +0200
commita41f2563d040d86954ccda7faa4a8ad7bdbcae88 (patch)
tree93fd71268e39dd41dfe6b583579d912b79b9c2b8 /sim/common
parent98d1b8dcd84bb39ba5d0731162f241890d4ce5f5 (diff)
downloadgdb-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 'sim/common')
0 files changed, 0 insertions, 0 deletions