This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 4/4 take 2] Improved linker-debugger interface
- From: Gary Benson <gbenson at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 19 Sep 2012 10:49:34 +0100
- Subject: Re: [RFA 4/4 take 2] Improved linker-debugger interface
- References: <20120719110518.GE16185@redhat.com> <20120815172346.GA5696@host2.jankratochvil.net>
Hi Jan,
Jan Kratochvil wrote:
> solib-svr4.c is current not used by with gdbsrver and its recent
> linux_qxfer_libraries_svr4.
>
> Your testcases is skipped if [is_remote target], with the current
> general goal to unify linux-nat with gdbserver and drop linux-nat
> afterwards I do not think we should accept more patches increasing
> the linux-nat vs. gdbserver gap. The testcase should be
> specifically compatible with gdbserver.
>
> To give the background: solib-svr4.c is more general and it is kept
> for all possible corner cases, it also supports more OSes than just
> GNU/Linux. Compared to it linux-low.c can be easier, this is why it
> is reimplemented and not shared with solib-svr4.c (it could be
> shared more but it is not). Therefore maybe your extensions on top
> of it all are not feasible for gdb/common/ but they should be at
> least reimplemented also for linux-low.c
How do I configure/build/test gdb so that it is using linux-low.c?
I've updated the tests to work with gdbserver, but with my current
setup solib-svr4.c is being used, so all the tests are passing.
Thanks,
Gary
--
http://gbenson.net/