|
[Sponsors] |
July 19, 2011, 09:16 |
WM_COMPILE=Debug, gdb reverse-step breaks
|
#1 |
Senior Member
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21 |
Has anyone had success with the reverse-* commands from the gdb 7?
This is what happens to me: Code:
(gdb) reverse-step Target multi-thread does not support this command. (gdb) Code:
[Thread debugging using libthread_db enabled] |
|
July 21, 2011, 10:30 |
|
#2 |
Senior Member
|
Hi,
i maybe completely wrong, but I read at http://openfoamwiki.net/index.php/Ho...M_with_Eclipse =>GNU Debugger (gdb) version: 6.8 Please be careful choosing the right gdb version! In gdb 7.x a bug seems to occur while debugging and monitoring the variables. So this might be case for you as well. Can you try the older gdb 6 version? |
|
July 21, 2011, 10:43 |
|
#3 | |
Senior Member
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 284
Blog Entries: 5
Rep Power: 21 |
Quote:
however : I'm not using Eclipse, I'm running on Vim + gdb in the console. I'm just keeping things simple, because I'm stupid (KISS). There's no bug, it's just that the reverse-* commands in gdb do not work well with multithreading. I need to see how to exclude libthread from being linked during compilation. I have tried setting the path to libthread in gdb t to the wrong value, but then it got reverted to the system lib. I'll probably dig into this eventually, it would just be nice if I don't have to do so, if someone has already found a way to use reverse-* without libthread. Older version: only gdb 7.* support reverse-* commands. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Time step size and max iterations per time step | pUl| | FLUENT | 31 | October 23, 2020 23:50 |
Transient simulation not converging | skabilan | OpenFOAM Running, Solving & CFD | 14 | December 17, 2019 00:12 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |