• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problems with GDB/MI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with GDB/MI


  • Subject: Problems with GDB/MI
  • From: Alex Fischer <email@hidden>
  • Date: Thu, 24 Nov 2005 12:39:10 +0100

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.

Alexander Fischer
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: static lib gets wrong path
  • Next by Date: Re: No such file error?
  • Previous by thread: Re: static lib gets wrong path
  • Next by thread: difference in settings between terminal and crontab
  • Index(es):
    • Date
    • Thread