Hi there!
I'm lucky that there is a Cross Platform Dev environment like Code Blocks! It's really good work, especially the flexible and USABLE compiling interface!! Big thanks for that piece of Software! (this is for the coders/supporters that read this...)
I'm having a problem invoking gdb... my version of gdb isn't accepting the "-args" parameter.
Is there any way to turn that command line option OFF?
That's all. Help would be appriciated! :)
Cheers,
Ole
Quote from: m0n0 on December 19, 2008, 07:38:16 PM
I'm having a problem invoking gdb... my version of gdb isn't accepting the "-args" parameter.
Is there any way to turn that command line option OFF?
No, it's hardcoded.
Which version of gdb do you use ?
The only workaround I see would be to use a batch-file (or shell-script, depending on the platform you are on), that is called instead the real gdb.
The batch-file can call gdb and only use the parameters your gdb knows.
On linux it could look like:
#!/bin/sh
/usr/bin/gdb -nx -fullname -quiet $5But if your version of gdb is too old, you will most likely not be able to use it with C::B.
Hi there,
I'm using version 5.1, cross compiled for ARM builds.
I already tried 2 approaches to use an wrapper. They all ended in an execv (or something of that kind...) return value error.
So I thougt CodeBlocks maybe needs to capture the output of the debugger.
I',ll give your wrapper a try.
Thanks & Greeting!
You will most likely not get a working toolchain, because C::B parses the output of gdb and 5.1 is really old.
Why don't you use a more recent arm-toolchain ?