Subj. Tested with gdb-7.0.50.20091128.
UPD: code needs rework
-exec-jump support
-
- CodeLite Enthusiast
- Posts: 10
- Joined: Sun Jun 14, 2009 6:58 pm
- Contact:
-exec-jump support
Last edited by ndk on Mon Nov 30, 2009 1:04 pm, edited 1 time in total.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: -exec-jump support
Hi,
Can you please provide some information on what this command does?
This is the first time I see it, and I could not find any documentation for it on the web.
In addition, it does not exist in gdb 6.8
Thanks,
Eran
Can you please provide some information on what this command does?
This is the first time I see it, and I could not find any documentation for it on the web.
In addition, it does not exist in gdb 6.8
Thanks,
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 10
- Joined: Sun Jun 14, 2009 6:58 pm
- Contact:
Re: -exec-jump support
gdb >= 7.0 requirederanif wrote:Hi,
Can you please provide some information on what this command does?
This is the first time I see it, and I could not find any documentation for it on the web.
In addition, it does not exist in gdb 6.8
Thanks,
Eran
http://sourceware.org/gdb/current/onlin ... djump-1774
http://sourceware.org/ml/gdb-patches/20 ... 00138.html
http://sourceware.org/ml/gdb-patches/20 ... 00590.html
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: -exec-jump support
On my machine with gdb7.0 it:
- several cases cause gdb crash
- in other cases, the program exited
In addition, many people are still using gdb 6.8 (mostly Linux users) - did u test it with gdb < 7.0?
I am also planing to add support for reverse debugging, but first I need to add mechanism to detect the gdb version, once this is created - you can use it to decide whether this feature should be enabled or not.
Also: You mentioned that you are using gdb 7.0.5, however at SF site, the latest build is 7.0.2, question: where can I get this gdb from?
Eran
- several cases cause gdb crash
- in other cases, the program exited
In addition, many people are still using gdb 6.8 (mostly Linux users) - did u test it with gdb < 7.0?
I am also planing to add support for reverse debugging, but first I need to add mechanism to detect the gdb version, once this is created - you can use it to decide whether this feature should be enabled or not.
Also: You mentioned that you are using gdb 7.0.5, however at SF site, the latest build is 7.0.2, question: where can I get this gdb from?
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 10
- Joined: Sun Jun 14, 2009 6:58 pm
- Contact:
Re: -exec-jump support
W7 x64 + codelite from trunk + tdm mingw 4.4.1 + gdb-7.0.50.20091128 - all okeranif wrote:On my machine with gdb7.0 it:
- several cases cause gdb crash
- in other cases, the program exited
Where i can download your debugger for testing?
it may be like this:In addition, many people are still using gdb 6.8 (mostly Linux users) - did u test it with gdb < 7.0?
I am also planing to add support for reverse debugging, but first I need to add mechanism to detect the gdb version, once this is created - you can use it to decide whether this feature should be enabled or not.
class IDebugger;
class IDebugger2: public IDebugger
class IDebugger3: public IDebugger2
static std::auto_ptr<IDebugger> GetDebugger();
static std::auto_ptr<IDebugger2> GetDebugger2();
static std::auto_ptr<IDebugger3> GetDebugger3();
I build gdb itself with tdm mingw 4.4.1 + last msys. Nothing special:Also: You mentioned that you are using gdb 7.0.5, however at SF site, the latest build is 7.0.2, question: where can I get this gdb from?
./configure --prefix=/usr
make all install
-
- CodeLite Enthusiast
- Posts: 10
- Joined: Sun Jun 14, 2009 6:58 pm
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: -exec-jump support
This is the one I am using:
http://sourceforge.net/projects/mingw/f ... z/download
As a rule, I am always delivering official releases and not weekly / custom builds.
For this reason, codelite will come with gcc4.4.0 (oficial release) and gdb 7.0.2 (in the next release) - unless the MinGW team will release new content until I will release the next codelite version (in 2 weeks time or so)
The inheritance solution is not good, since codelite is the one who is using the interface, so there should be a method something like 'isFeatureEnabled()'
Eran
http://sourceforge.net/projects/mingw/f ... z/download
As a rule, I am always delivering official releases and not weekly / custom builds.
For this reason, codelite will come with gcc4.4.0 (oficial release) and gdb 7.0.2 (in the next release) - unless the MinGW team will release new content until I will release the next codelite version (in 2 weeks time or so)
The inheritance solution is not good, since codelite is the one who is using the interface, so there should be a method something like 'isFeatureEnabled()'
Eran
Make sure you have read the HOW TO POST thread