-
Notifications
You must be signed in to change notification settings - Fork 509
Spurious commands being executed in the binary #293
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
Comments
Those commands are frequently automatically sent by gdbgui to refresh the UI. If the tool is I don't know if you redacted the tool and replaced with
|
What is the right way to send the I am using gdb 8.3. The c++ binary I am debugging has a tcl interpreter in it. Even something like pressing the |
It's hard-coded in gdbgui's source code: Line 51 in fded49e
I think the main problem here is that when gdbgui runs gdb as a subprocess, it does so in "non-interactive mode" because gdbgui is not using a pty. This works in most cases, but unfortunately running sub-interpreters like the one you have won't work. This is a deficiency in gdbgui and unfortunately it won't work for you use case until I change gdbgui to to use an interactive pty to launch gdb instead of launching gdb as a non-interactive subprocess. |
Hmm okay. If this can be resolved it would be great. There aren't any other good gui debuggers around for gdb in linux. gdb-dashboard is what I've been using, which is fine for the most part, but scrolling through the source is not possible in the same window. |
Thanks for the feedback. That is good motivation 😃 . I'll let you know if/when I add this. |
Describe the bug
In the command prompt of the tool I am debugging (it uses a csh shell as its prompt), every time I run any command, some extra gdb related commands are executed along with it.
Screenshots
Please complete the following information:
alabaster==0.7.12
argcomplete==1.10.0
attrs==19.1.0
Babel==2.7.0
certifi==2019.6.16
chardet==3.0.4
Click==7.0
distro==1.4.0
docutils==0.15.1
docwriter==1.1.1
Flask==0.12.4
Flask-Compress==1.4.0
Flask-SocketIO==2.9.6
gdbgui==0.13.2.0
gevent==1.4.0
greenlet==0.4.15
idna==2.8
imagesize==1.1.0
itsdangerous==1.1.0
Jinja2==2.10.1
livereload==2.6.1
Markdown==3.1.1
MarkupSafe==1.1.1
meson==0.50.1
mistune==0.8.4
mkdocs==1.0.4
mkdocs-material==4.0.2
msgpack==0.6.1
ninja==1.9.0
packaging==19.1
pycscope==1.2.1
pygdbmi==0.9.0.2
Pygments==2.3.1
pymdown-extensions==6.0
pynvim==0.3.2
pyparsing==2.4.2
python-engineio==3.9.3
python-socketio==4.3.1
pytz==2019.2
PyYAML==5.1
requests==2.22.0
six==1.12.0
snowballstemmer==1.9.1
Sphinx==3.0.0.dev20190906
sphinxcontrib-applehelp==1.0.1
sphinxcontrib-devhelp==1.0.1
sphinxcontrib-htmlhelp==1.0.2
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.2
sphinxcontrib-serializinghtml==1.1.3
tornado==6.0.3
urllib3==1.25.3
userpath==1.2.0
Werkzeug==0.15.6
xdot==1.1
The text was updated successfully, but these errors were encountered: