User forums > Embedded development
CodeBlocks and Codesourcery GDB
Lost_Byte:
--- Quote from: oBFusCATed on March 16, 2012, 11:02:38 am ---Can you give detailed explanation how to fix the problem?
--- End quote ---
Explanation...
Sorry, my English is not very well. But I'll try to explain correctly.
Initial conditions:
IDE C::B 10.5
Toolchain: CodeSourcery G++ Lite (arm-2011.03-41 arm-none-linux-gnueabi)
Host: i686-pc
Target (uname -a output): Linux am180x-evm 3.2.0-rc3+ #122 PREEMPT Fri Mar 16 10:54:28 MSK 2012 armv5tejl unknown
Debugging - i.e. remote debugging through TCP, gdbserver is running on target, gdb.exe is running on host.
CodeSourcery gdb.exe stdio passing through the gdb-cb-brige.
Such features as setting breakpoints, disassembling, variable inspecting and other work perfectly until gdbserver inferior (debugging process) is STOPPED. (At break point, after SIGINT, or until "continue" command have not sended since debugging had started)
After "continue" command, (i.e. inferior is RUNNING) there are only two cases, when inferior will stop:
1. Inferior obtains breakpoint setted before "continue" command;
2. Inferior gets a SIGINT signal( to do that just press CTRL+c if inferior is a console app).
When inferior is running, button "Stop debuger" or setting breakpoints and other options do not take effect.
Certainly, because of there are no gdb prompt.
The same behavior takes all combination of IDE+gdb+gdbserver (or GUI-frontend+gdb+gdbserver) i have seen, except gdbs which have been working through JTAG hardware ISE's.
Probably is it a feature of remote debugging? Or maybe I don't understand something?
Of course, it's fine to have ability to stop debugging procces anywhere/anytime, but, in my opinion, that's not really needs in practice.
So, my sketch (gdb-cg-bridge) fixs incompatibility besides C::B and CodeSourcery gdb in my case.
oBFusCATed:
Hm, I thought you've using the latest version of the debugger's branch nightly.
Please try it and then report if the pause button works.
BTW. What is your native OS?
Lost_Byte:
--- Quote from: oBFusCATed on March 16, 2012, 01:05:48 pm ---Hm, I thought you've using the latest version of the debugger's branch nightly.
Please try it and then report if the pause button works.
--- End quote ---
What do you mean in "debugger's branch nightly"?
--- Quote from: oBFusCATed on March 16, 2012, 01:05:48 pm ---BTW. What is your native OS?
--- End quote ---
My HOST OS (for development,and where C::B is running) is WIN-XP SP3
oBFusCATed:
See there: http://forums.codeblocks.org/index.php/board,20.0.html
Lost_Byte:
--- Quote from: oBFusCATed on March 16, 2012, 01:05:48 pm ---Please try it and then report if the pause button works.
--- End quote ---
It does not works.
The same behavior.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version