[nbusers] Attach to gdbserver for remote debugging

  • From: "mafaneh" < >
  • To:
  • Subject: [nbusers] Attach to gdbserver for remote debugging
  • Date: Mon, 26 Nov 2012 23:34:18 -0500

Hi rbwilliams2,

I ran into the same issue a couple of months ago. I am not in front of my 
work PC at the moment but I believe I was able to fix it by typing in the 
target field:

target remote <IP>:<port>

Hope this works for you!

-Mohammad


rbwilliams2 wrote:
> I just installed Netbeans 7.2.1. ( I was using 7.0.1)
> 
> I use Netbeans IDE for C++ development for an embedded ARM system that is
> running gdbserver. My host system is RedHat Enterprise Linux.
> 
> My target is running gdbserver for port 1111.
> 
> I have a USB connection between host and target. The target is mounted as an
> NDIS device. From the host, I can telnet and ssh into the embedded Linus
> running on the device.
> 
> I attempt  to attach Netbeans IDE to the embedded gdbserver. I click Debug
> -> Attach Debugger.
> In the dialog box, I choose gdbserver as the Debugger. This enables the
> following two lines:
> 
> Target:
> Project:
> 
> For target, I tried the IP:port of my target system 192.168.0.150:1111, but
> that gives me the error:
> 
> Debugger Error
> Undefined target command:\"192.168.0.150:111\. Try \"help target\".
> 
> What are the correct entries for target:?
> 
> 
> Incidentally, in the older 7.0.1 Netbeans, the Attach Debugger dialog box
> had separate entry lines for host address and port number. This worked fine
> to attach to the gdbserver.
> 
> Thanks,
> 
> Rich
> 
> 
> 
> --
> View this message in context: 
> http://netbeans-org.1045718.n5.nabble.com/Attach-to-gdbserver-for-remote-debugging-tp5717460.html
> Sent from the Netbeans IDE Users mailing list archive at Nabble.com.







[nbusers] Attach to gdbserver for remote debugging

rbwilliams2 11/26/2012

<Possible follow-up(s)>

[nbusers] Attach to gdbserver for remote debugging

mafaneh 11/27/2012

[nbusers] Re: [External] Attach to gdbserver for remote debugging

Williams, Richard [USA] 11/28/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close