User forums > Embedded development
CodeBlocks and Codesourcery GDB
oBFusCATed:
Yes, your executable (gdb-cb-bridge).
Some notes written before your last post:
See this: http://msdn.microsoft.com/en-us/library/windows/desktop/ms686016%28v=vs.85%29.aspx
The idea is that your application should capture the ctrl-c event and then you send the same event to gdb.
When using remote debugging this is the only way to stop gdb/inferior/debuggee.
ricardo:
--- Quote from: Lost_Byte on March 16, 2012, 06:43:43 am ---OK. Will be brief.
Code Sourcery did not respond. It's not surprising, becouse of Lite is "as is" toolchain, end there is propietary Code Bench.
--- End quote ---
Hello. I'm not CodeSourcery support, but the Lite edition tools do have some community mailing lists associated with them. See http://sourcerytools.com/ for information on how to post to those mailing lists.
Lost_Byte:
--- Quote from: oBFusCATed on March 19, 2012, 12:33:33 pm ---The idea is that your application should capture the ctrl-c event and then you send the same event to gdb.
When using remote debugging this is the only way to stop gdb/inferior/debuggee.
--- End quote ---
ОК. I've implemented that.
It works in command-line debug session: CTRL+C in gdb-cb-brige becomes a CTRL_C_EVENT for gdb, and it stops the inferior and shows command-prompt.
It does not works under C::B Nightly 11 February 2012 build (7789).
New build of gdb-cb-bridge is in attach.
Lost_Byte:
--- Quote from: oBFusCATed on March 19, 2012, 12:33:33 pm ---The idea is that your application should capture the ctrl-c event and then you send the same event to gdb.
When using remote debugging this is the only way to stop gdb/inferior/debuggee.
--- End quote ---
Hi, oBFusCATed !
Have you probed new build of gdb-cb-brige? Is there something wrong in implementation?
oBFusCATed:
I've never tried this bridge, I run linux and also don't use any embedded debugger/compiler.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version