Author Topic: gdb 7.3.1 Bug 12843 : fail to set breakpoints on windows  (Read 4396 times)

Offline aweld

  • Single posting newcomer
  • *
  • Posts: 2
gdb 7.3.1 Bug 12843 : fail to set breakpoints on windows
« on: December 19, 2011, 12:33:51 am »
Hi,

I am "suffering" from gdb's Bug 12843 under MinGW :

http://sourceware.org/bugzilla/show_bug.cgi?id=12843

Does anybody know of a workaround when using C::B (10.05 on w7)?  At the moment it doesn't set breakpoints because of the above bug in gdb.

Thank you

aweld

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: gdb 7.3.1 Bug 12843 : fail to set breakpoints on windows
« Reply #1 on: December 19, 2011, 12:39:54 am »
Have you tried this build of gdb: http://forums.codeblocks.org/index.php/topic,11301.0.html

Hint: asmwarrior and ollydbg are the same person:)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5913
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: gdb 7.3.1 Bug 12843 : fail to set breakpoints on windows
« Reply #2 on: December 19, 2011, 04:03:44 am »
Hi,

I am "suffering" from gdb's Bug 12843 under MinGW :

http://sourceware.org/bugzilla/show_bug.cgi?id=12843

Does anybody know of a workaround when using C::B (10.05 on w7)?  At the moment it doesn't set breakpoints because of the above bug in gdb.

Thank you

aweld

This bug was already fixed in the GDB CVS HEAD. You can try my pre-build GDB as OBFUSCATED said. Or, you can download the official mingw GDB 7.3.1 (It integrate a patch to solve this issue).

asmwarrior
ollydbg
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline aweld

  • Single posting newcomer
  • *
  • Posts: 2
Re: gdb 7.3.1 Bug 12843 : fail to set breakpoints on windows
« Reply #3 on: December 19, 2011, 09:52:14 pm »
Thank you very much for your replies.  I have installed the pre-build GDB provided by ollydbg and all seems fine.

Cheers,

aweld