aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2022-03-15 17:41:13 +0100
committerMarkus Metzger <markus.t.metzger@intel.com>2022-10-18 14:16:08 +0200
commitad10f44e568806c2399f9405f4588f3e27f7d9ae (patch)
treecdd1a848ecd600d36772511a834bee1c1a148605 /gdb/python/python.c
parent8d56636a0ecbe6c38bf52b0683326ee21693c548 (diff)
downloadbinutils-ad10f44e568806c2399f9405f4588f3e27f7d9ae.zip
binutils-ad10f44e568806c2399f9405f4588f3e27f7d9ae.tar.gz
binutils-ad10f44e568806c2399f9405f4588f3e27f7d9ae.tar.bz2
gdbserver: move main_lm handling into caller
When listing SVR4 shared libraries, special care has to be taken about the first library in the default namespace as that refers to the main executable. The load map address of this main executable is provided in an attribute of the library-list-svr4 element. Move that code from where we enumerate libraries inside a single namespace to where we generate the rest of the library-list-svr4 element. This allows us to complete the library-list-svr4 element inside one function. There should be no functional change.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions