We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
--args is a very useful and commonly used command for gdb.
--args
Instead of setting set args A B C everytime when running a program, you can provide arguments to the program using
set args A B C
gdb --args myExecutable -A -B -C D E F
You must make sure that no gdb related arguments come after --args since they will be interpreted as those for the executable, not gdb.
However, the following codes in run.py seems it appends python command after the gdb_args.
gdb_executable + " " + gdb_args + " -ex \\\"python import sys, os; sys.path.insert(0, '"+path+"'); import config, json, base64; config.init(); " + "config.setJSON(base64.b64decode('"+base64.b64encode(json.dumps(arg_config).encode()).decode()+"').decode()); import gdbfrontend\\\"; read;" "\" "
It makes the following code buggy
gdbfrontend -G "--args myExecutable -A -B -C D E F
resulting in a silent error even in a verbose mode.
I would appreciate if you fix this issue so that I can invoke my program with --args.
The text was updated successfully, but these errors were encountered:
Hello, I'll look and fix it soon. Thank you.
Sorry, something went wrong.
No branches or pull requests
--args
is a very useful and commonly used command for gdb.Instead of setting
set args A B C
everytime when running a program, you can provide arguments to the program usingYou must make sure that no gdb related arguments come after
--args
since they will be interpreted as those for the executable, not gdb.However, the following codes in run.py seems it appends python command after the gdb_args.
It makes the following code buggy
resulting in a silent error even in a verbose mode.
I would appreciate if you fix this issue so that I can invoke my program with --args.
The text was updated successfully, but these errors were encountered: