aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-corefile.c
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2025-10-11 14:03:39 +0100
committerAndrew Burgess <aburgess@redhat.com>2025-10-12 13:46:12 +0100
commit20a08d98518c0587810eb9e24aa22e7c6d56fd17 (patch)
tree3193a8c8214c2e2234ffb0e81b245c62d3cbcc84 /gdb/python/py-corefile.c
parentdef8befb9db26ac20a9b8ebd258b20751f6deccc (diff)
downloadbinutils-20a08d98518c0587810eb9e24aa22e7c6d56fd17.zip
binutils-20a08d98518c0587810eb9e24aa22e7c6d56fd17.tar.gz
binutils-20a08d98518c0587810eb9e24aa22e7c6d56fd17.tar.bz2
gdb/remote: replace use of std::pair with an actual struct
Commit: commit 5edcbe2277db05b77ebf53f9c30b6c889a8729bc Date: Mon Jul 24 17:35:54 2023 +0100 gdb: detect when gdbserver has no default executable set Introduced a use of std::pair as a data structure to hold some per program space information within the program space registry. It was pointed out during review of a later patch[1][2] that the code would be easier to understand if the std::pair was replaced with a struct with named fields. That is what this commit does. Replace the std::pair with a struct, and update all accesses to use the named fields. There should be no user visible changes after this commit. [1] https://inbox.sourceware.org/gdb-patches/69681489-d556-4496-9e3b-8273cab3d8f5@simark.ca [2] https://inbox.sourceware.org/gdb-patches/469655a7-2bcc-4f27-b2d7-3fa8808ca5b5@simark.ca Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/python/py-corefile.c')
0 files changed, 0 insertions, 0 deletions