This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 220254

Summary: gdb embedded remote debugging fails
Product: cnd Reporter: Egor Ushakov <gorrus>
Component: DebuggerAssignee: henk89
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: gdblog

Description Egor Ushakov 2012-10-17 08:58:49 UTC
From users@cnd (matthias@blaicher.com):

I' currently trying to get openocd and netbeans to work. Netbeans starts and runs my program. I can also break on existing breakpoints. But pausing and step out/over etc. do not work.

I think this has something to do with how netbeans parses the gdb answers. I see a lot of stuff like:

Code:

14-exec-run
=thread-exited,id="1",group-id="i1"
=thread-group-exited,id="i1"
=thread-group-started,id="i1",pid="42000"
=thread-created,id="1",group-id="i1"
~"Note: automatically using hardware breakpoints for read-only addresses.\n"
14^running
*running,thread-id="all"
(gdb) 
No answer for: 14-exec-run



Clearly, gdb responded correctly to the -exec-run command. Netbeans just fails to understand it.
Comment 1 Egor Ushakov 2012-10-17 08:59:33 UTC
Created attachment 126059 [details]
gdblog
Comment 2 Egor Ushakov 2012-10-25 15:39:31 UTC
as pause still does not work for such targets, see bug 170488, any actions does not work while gdb is running

*** This bug has been marked as a duplicate of bug 170488 ***