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

GDBGUI _ when gdb is missing. #457

Open
duaneellissd opened this issue Apr 1, 2023 · 0 comments
Open

GDBGUI _ when gdb is missing. #457

duaneellissd opened this issue Apr 1, 2023 · 0 comments

Comments

@duaneellissd
Copy link

Describe the bug
A better error case is required when the GDB executable is not found.

To Reproduce
Specify a non-existent GDB executable on the command line when you start GDB-GUI
On Linux, gdbgui proceeds and launches the browser
The browser gives a strange/weird error "the connection closed"
And the console terminal where GDBGUI was invoked does not give a good error message.

Expected behavior
A proper error message, ie: "GDB" executable is not found and/or failed to execute.

Screenshots

Please complete the following information:

  • OS:
  • gdbgui version (gdbgui -v): 0.15.1.0
  • gdb version (gdb -v): GNU GDB (SiFive GDB-Metal 10.1.0-2020-12.8) 10.1
  • browser [e.g. chrome, safari]: FireFox
  • python packages (pip freeze): Not easy to get this output from my linux server right ow

Additional context
I came across this bug because I did something wrong, and it took a while to figure out what was wrong.
A fix for this would make it easier for users to do better with GDBGUI.

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