Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debugger: Fix crash with GDB 7.7 #174

Merged
merged 1 commit into from
Feb 19, 2015
Merged

debugger: Fix crash with GDB 7.7 #174

merged 1 commit into from
Feb 19, 2015

Conversation

b4n
Copy link
Member

@b4n b4n commented Oct 22, 2014

GDB 7.7 doesn't understand & as an argument to -exec-run.

Moreover, the code handling errors from GDB has an issue with this
error and leads to a crash.

Closes https://sourceforge.net/p/geany-plugins/bugs/112/


@cesspit Are you OK with this? I think it's important to do something as it leads to a crash when using GDB 7.7 (version is according to your findings). I also think that even if it prevents asynchronous debugging, it's still worth to fix until a proper asynchronous fix is released.

GDB 7.7 doesn't understand `&` as an argument to `-exec-run`.

Moreover, the code handling errors from GDB has an issue with this
error and leads to a crash.

Closes https://sourceforge.net/p/geany-plugins/bugs/112/
@fastfading
Copy link

I install geany 2.4.1 and geany-plugin-debugger 1.24+dfsg-5 in amd64 (Release)
it did work .
However, I can't delete breakpoint while program is on debugging it always pop a window -var-delete: Usage: [-c] EXPRESSION."
it seems the similar problem

@frlan
Copy link
Member

frlan commented Nov 7, 2014

@fastfading Please don't spam the trackers. The issue is reported and the author might be able to fix it. Or maybe somebody else is able to do so.

@frlan
Copy link
Member

frlan commented Feb 18, 2015

Is this ready for merging?

@b4n
Copy link
Member Author

b4n commented Feb 18, 2015

@frlan as @cesspit didn't answer (I understand he's quite busy with other things), I think we can go ahead and decide to merge this. It's easy enough to revert later if it requires a different fix at some point anyway.

@b4n
Copy link
Member Author

b4n commented Feb 18, 2015

(BTW, I have other work to clean up all the GDB parsing code, which while quite a huge set of changes should avoid most possibilities of crashes in this area when GDB gives unexpected answers)

@frlan
Copy link
Member

frlan commented Feb 19, 2015

OK. Going to merge and we will see ;)

frlan added a commit that referenced this pull request Feb 19, 2015
debugger: Fix crash with GDB 7.7
@frlan frlan merged commit 034945a into geany:master Feb 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants