-
Notifications
You must be signed in to change notification settings - Fork 501
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
statemanager.startup_with_shell_off should be optional #234
Comments
Sorry it was giving you a hard time with that.
gdbgui displays all output it receives from gdb. What is the output that gdb is printing but is not being displayed in gdbgui? Agreed that the error message is not very descriptive, but unfortunately that is the extent of the information gdbgui has about the state of gdb: it tries to read from it, but it's not there. It would display the same message if gdb segfaulted and exited, or if another program sent SIGTERM to it, etc.
gdbgui already lets you pass any arguments you want directly to gdb with the I think the best course of action is to require the user to run gdb like this if running on a mac
While more verbose, it is explicit and configurable. I think I'll print a warning to stderr to users who would have previously had that command auto-inserted. |
I'm trying to use gdbgui with gdb-z80 backend on macOS. As such, gdb-z80 has nothing to do with Darwin. However, when statemanager detects that it runs on Darwin, it inserts extra arguments to gdb command line which happen to be unsupported by my specific version of gdb. This results in a very puzzling error message:
It would be easier to diagnose such problems if the actual error messages from gdb were displayed instead of this enigmatic line.
I hacked this bit off for my purposes, but it would be nice if command-line options passed to gdb at start were explicit and configurable. I imagine any cross-platform debugging setup would run into a similar issue sooner or later. At least it should be possible to do so when custom gdb is specified with -g option.
Platform details:
gdb -v
): GNU gdb (GDB) 7.2.50.20101026-cvsThis GDB was configured as "--host=x86_64-apple-darwin17.5.0 --target=z80"
The text was updated successfully, but these errors were encountered: