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 222269 - gdbserver: configuration
Summary: gdbserver: configuration
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.3
Hardware: PC All
: P3 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-16 12:57 UTC by mariusz_m
Modified: 2016-07-06 14:38 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mariusz_m 2012-11-16 12:57:26 UTC
In my work i'm using gdbserver plugin to connect to j-link gdbserver.
Two options I wish to be added to speed up my work:
- build project if required (same as for "Debug project")
- do not show options popup (or make the button with popup menu like "Debug project" and setup from the popup menu).
Comment 1 mariusz_m 2012-11-23 17:47:17 UTC
Maybe try different approach and do not touch gdbserver plugin:

I found that the only difference between debugging local and 'remote' targets is that for local the gdb is started by command "run", and for remote it should be "continue".

Local: when building and debugging program, using MinGW.
Remote: when building and debugging program using j-link gdb server from Segger.
(this needs gdbinit file to setup remote target connection)

The second case always end with "remote target does not support 'run' - try 'continue'"
Now I have to type "continue" in debugger console each time after debug session started to make target running.

It should not be difficult to add project setting "This is remote target" so the NB will automatically use "continue" to run  GDB instead of "run".
I'm not sure of this, i'm not gdb expert.