Make MOZ_CRASH() stop debuggers on the line containing it (or MOZ_ASSERT) on Linux, not in abort()

RESOLVED FIXED in mozilla16

Status

()

Core
MFBT
--
minor
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: Waldo, Assigned: Waldo)

Tracking

unspecified
mozilla16
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Created attachment 630368 [details] [diff] [review]
Patch

With this change, I can't explain why the #elif defined(__APPLE__) bit is needed, since it's identical to the #else.  Is there some reason I shouldn't common up the two?

(I'm going to put the mozalloc_abort change we discussed in a separate bug, FYI.)
Attachment #630368 - Flags: review?(ted.mielczarek)
Comment on attachment 630368 [details] [diff] [review]
Patch

Review of attachment 630368 [details] [diff] [review]:
-----------------------------------------------------------------

Definitely merge the common cases.
Attachment #630368 - Flags: review?(ted.mielczarek) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/ca61695732aa
Target Milestone: --- → mozilla16

Comment 3

5 years ago
https://hg.mozilla.org/mozilla-central/rev/ca61695732aa
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.