Hi to all:
This is my first post so I hope I am doing things the right way.
First of all let me say that this question is related to the version of GDB included with XCode 2.2, so I thought this could be the correct place to post. If it is not please let me know if there is an alternative place.
The thing is that I have been starting to play with the GDB/MI interface of gdb and have found some problems relating to "stepping". When issuing an "-exec-step" or "-exec-next" command, gdb returns with:
"*stopped,reason="end-stepping-range",thread-id="1"" with no additional information. If I understood the documentation correctly there should be information regarding the line where gdb stopped but this seems not to be available. Am I doing something wrong or is that a bug?
Additional info:
- The program was compiled with gcc 4.0.1 using the "-g" (and alternatively) "-ggdb" flags and optimization turned off (-O0). - GDB was launched using "-interp=mi" or "-interp=mi1" (as this seems to be the setting used by xCode. - Debugging the same application without the MI interface does work well, reporting the lines where it stops correctly. - Even if there is no line info supported it seems as if GDB correctly steps through the lines as I can see the results as I step (for example a window opening).
Can anybody share some light on that?
Regards and thanks in advance.
|