Bug 404539 - "Show Source" in Disassembly view causes Eclipse too hang/block while doing GDB hardware debugging
Summary: "Show Source" in Disassembly view causes Eclipse too hang/block while doing G...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf (show other bugs)
Version: 8.1.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-28 06:13 EDT by Roger John CLA
Modified: 2020-09-04 15:26 EDT (History)
3 users (show)

See Also:


Attachments
excerpt of jdb session showing the blocking thread (2.97 KB, text/plain)
2013-03-28 06:13 EDT, Roger John CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roger John CLA 2013-03-28 06:13:53 EDT
Created attachment 229142 [details]
excerpt of jdb session showing the blocking thread

When doing GDB hardware debugging with Eclipse Juno/CDT 8.1.2 with arm-none-eabi-gdb, the following causes Eclipse to lock up:
1. Start hardware debuggung
2. make the target stop by breakpoint
3. Press "Show Source" in Disassembly View
When doing this on the cmdline, everything works fine, so its not gdb.
I made a quick inspection with jdb and think i found the blocking thread, see attached jdb excerpt.
Curiously, when i interrupt this thread and let all resume, Eclipse becomes responsive again and even displays the source in the disassembly view. I may then step through, and everything works as normal.
But when i restart the debug session, Eclipse does lock up for the same reason and can be unlocked again.
Normal C++ debugging does not show this behaviour.