gdbserver attach fails, no such file or dir, using separate project and source dirs

  • From: "minghua" < >
  • To:
  • Subject: gdbserver attach fails, no such file or dir, using separate project and source dirs
  • Date: Tue, 29 Jan 2013 17:04:14 -0500

Hi, NetBeans Experts, 

I'm building an embedded project on windows and run it on an ARM target with 
gdbserver. When attaching gdbserver from NetBeans, it fails with debugger 
error: 

C:/nbprojs/src/: No such file or directory.

Where the directory is the project directory. The source files locate in a 
different directory. And the built binaries in another directory. 

What does the message tell, and how to configure netbeans to get around this? 

The project debug properties are set like: 

Debug command: C:\arm\bin\arm-none-linux-gnueabi-gdb.exe
Working dir: C:\src\build-dir
Source dirs: C:/src
Substitute path: C:/nbprojs/src/        C:/src/

The binary to run is under build-dir. It looks to me the gdb command is not 
the problem because I can run it manually and also when an earlier version is 
used it does not show this command. The gdb command is also set in build 
tools page. 

Thanks!






gdbserver attach fails, no such file or dir, using separate project and source dirs

minghua 01/29/2013

gdbserver attach fails, no such file or dir, using separate project and source dirs

minghua 01/29/2013

Project Features

About this Project

CND was started in November 2009, is owned by Leonid Lenyashin, and has 130 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