Hi, request excuses my bad English.
I plan the following and hope for somebody can help me here.
I have a Linux arm host.
I edit the source code only with C::B editor now.
I build the whole in the console.
I would like C::B now, however and GDB use for debugging.
Please help me at the configuration.
Compiling in c::b would not be necessary absolutely.
Please answer in German if possible
THX
Sitt
Google the following:
site:forums.next.codeblocks.org remote debugging
site:forums.next.codeblocks.org embedded
site:forums.next.codeblocks.org arm
Thank you for the help.
Unfortunately, it has not further helped me yet
I have carried out the attitudes:
Project -> Properties -> Debugger tab -> Remote connection
Unfortunately, gdb does not connect himself
Selecting target:
Debug
Adding source dir: /home/xx/codeblocks/xxxxxx/xx/
Adding source dir: /home/xx/codeblocks/xxxxxx/
Adding file: bin/Debug/xx
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Connecting to remote target
Setting breakpoints
Debugger name and version: GNU gdb 6.8-debian
Connected
The program is not being run.
Debugger finished with status 0
Greeting
Sitt
You can enable the debugger's debug log to see what gdb commands are executed and their output:
Settings -> Compiler and Debugger -> Debugger -> Display debugger's log.
Also I advise you to try the latest debugger's branch nightly. There are some improvements in regards to remote debugging.
Thank you for the help.
Today, I have not arrived.
Wanting to try it as soon as possible once again.
QuoteAlso I advise you to try the latest debugger's branch nightly. There are some improvements in regards to remote debugging.
I think I am up-to-date there
Greeting
Sitt
Hi,
I can connect with the gdbserver so now.
The application starts with the Debug/Continue-Button.
Unfortunately, I have not managed yet to put break points or to get back information of the server.
Please still help me at this problem. THX
regards
Sitt
I can't see your log :lol:
Have you read this: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks ?
Hi,
Log comes later if necessary.
Yes, I have read it.
Yes, I have compiled with option -g.
I build but not with C::B but by consols, this is . the next topic :)
I must with console client on the gdbserver locally binary this is give (file ...)
then also must something like that make at C::B or?
regards
Sitt
Cannot compute... :shock:
To be able to remote debug you need to have the same binaries on the remote machine (the one running gdbserver) and on the one running C::B + gdb.
If there are mismatches it won't work reliably.
Hi,
There is no deviation between the file on the server and the host.
This file is mounted over nfs on the server machine.
Where is C::B looking for the file?
regards
Sitt
Read the debugger's debug log and post it probably.
You'll see what C::B is telling gdb to do and what is the response.