[Differential] [Request, 77 lines] D4714: Fix a crash when gdb produces malformed output.

Aetf noreply at phabricator.kde.org
Wed Feb 22 00:40:11 UTC 2017


qi437103 created this revision.
Restricted Application added a subscriber: kdevelop-devel.

REVISION SUMMARY
  Fix a crash when gdb produces malformed output. The crash was reported in https://bugs.kde.org/show_bug.cgi?id=376595.
  
  It is actually a bug in gdb which can't handle invalid/out-of-scope watchpoints gracefully.
  
  Instead of assert and crash the whole IDE, debugger errors are now reported to the user in a dialog.
  And debug session will automatically end in this case.

TEST PLAN
  A minimal test case from the reporter: https://bugs.kde.org/show_bug.cgi?id=376595#c20

REPOSITORY
  R32 KDevelop

BRANCH
  debugger-error-handling

REVISION DETAIL
  https://phabricator.kde.org/D4714

AFFECTED FILES
  debuggers/common/midebugger.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: qi437103, apol
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170222/c0c3ae87/attachment.html>


More information about the KDevelop-devel mailing list