Skip to content

Use MacPorts's ggdb on macOS #249

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

Open
sampotter opened this issue Mar 15, 2021 · 0 comments
Open

Use MacPorts's ggdb on macOS #249

sampotter opened this issue Mar 15, 2021 · 0 comments

Comments

@sampotter
Copy link

If you install gdb using macOS, it gets renamed to ggdb. (E.g., see this SO post.)

It would be helpful to have cgreen-debug check for this automatically, which can be done easily by switching the last few lines of the script to:

if command -v cgdb ; then
    debugger=cgdb
elif command -v ggdb ; then
    debugger=ggdb # MacPorts renames gdb "ggdb" to avoid name collisions
else
    debugger=gdb
fi

(This issue is a reminder to myself to fix this, which I plan on doing once #246 is merged.)

thoni56 added a commit that referenced this issue May 18, 2021
thoni56 added a commit that referenced this issue May 18, 2021
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

No branches or pull requests

1 participant