-
Notifications
You must be signed in to change notification settings - Fork 202
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
The GDB interface does not support comments in the command #923
Comments
Hi @andrei132, The bug you reported here is a GDB issue. CDT does "the right thing" AFAICT and this is the MI sent to GDB:
Please report this bug to GDB. PS the version of GDB in your screenshot is unfortunately ancient. While this issue exists in latest GDB, I recommend reporting the bug with a more recent screenshot. |
Your screenshot does not show gdb doing the correct thing - it shows GDB in CLI mode, not MI mode. The bug is that If you want CDT to resolve (workaround) the issue, you can suggest a patch. I will reopen the issue in the hope you provide such a patch. For example you can add some interpretation of commands users types to edit command before passing them to PS I note that your host machine is Windows - the other (and probably better) option would be to implement |
Describe the bug
GDB comment commands are not supported by eclipse. Any GDB comment cannot be executed successfully and give Undefined command: "". Try "help".
To Reproduce
It can be reproduced using any view that allows giving commands to GDB. I will give DebuggerConsole as an example.
Observed behavior
Undefined command: "". Try "help".
Expected behavior
The command must be given successfully without displaying errors
Version Information (please complete the following information):
The text was updated successfully, but these errors were encountered: