This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Ignore the first entry returned by svr4_current_sos_via_xfer_libraries for dynamically linked programs
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Ben Cheng <bccheng at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 4 Jun 2013 22:57:00 +0200
- Subject: Re: [PATCH] Ignore the first entry returned by svr4_current_sos_via_xfer_libraries for dynamically linked programs
- References: <CAPk6zkCTrkS960JAG70PdTaTAE=FQ1y4V2CneiNutSu6CG8rwA at mail dot gmail dot com> <20130604180722 dot GA23588 at host2 dot jankratochvil dot net> <CAPk6zkAcnGG4Jg=S_N_zBXefsaW0QjMc-m3B7Z-riQgZfkL24Q at mail dot gmail dot com> <20130604202301 dot GA8999 at host2 dot jankratochvil dot net> <CAPk6zkC0a-9DrKpDfn4d5mxQ1Tgm0hJ9pLMfoFhZr6OGJa34yQ at mail dot gmail dot com> <CAPk6zkB9aaTp097EcTX97UqhwQ1UasLcBcOYXsox_p2cv681rg at mail dot gmail dot com>
On Tue, 04 Jun 2013 22:45:22 +0200, Ben Cheng wrote:
> And it looks like reversing the order of checks for lm_prev and
> libname in gdbserver/linux_qxfer_libraries_svr4:linux_qxfer_libraries_svr4()
> is a possible fix for this problem.
I agree.
Jan