aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-internal.h
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2024-01-07 13:46:29 +0000
committerAndrew Burgess <aburgess@redhat.com>2025-09-21 17:20:57 +0100
commit84dd63f3279dc0d1e13351dbc7b11261800e4758 (patch)
treefd9e20d9419ef1b334364e4ef550385a6dc721fe /gdb/python/python-internal.h
parentd39cae626f2dd80c1a4cd8dbc587a4171de68df9 (diff)
downloadbinutils-84dd63f3279dc0d1e13351dbc7b11261800e4758.zip
binutils-84dd63f3279dc0d1e13351dbc7b11261800e4758.tar.gz
binutils-84dd63f3279dc0d1e13351dbc7b11261800e4758.tar.bz2
gdb: new maintenance command to help debug remote argument issues
Add a new maintenance command 'maint test-remote-args', this command takes an argument string and splits it using gdb::remote_args::split and then joins the result using gdb::remote_args::join and prints all of the results. This is useful for diagnosing problems with remote argument passing. This new command is identical to what the remote argument self-tests do, but while I was working on improving remote argument passing it was far easier to have a command that I could just throw example strings at, rather than having to add new selftests and recompile GDB. I ended up adding a couple of additional helper functions to the gdb::argv_vec class. Reviewed-By: Eli Zaretskii <eliz@gnu.org> Tested-By: Guinevere Larsen <guinevere@redhat.com> Approved-By: Kevin Buettner <kevinb@redhat.com>
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions