This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/4 v2] Refactor shared code in i386-{nat,low}.[ch]
- From: Pedro Alves <palves at redhat dot com>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: gbenson at redhat dot com, gdb-patches at sourceware dot org
- Date: Thu, 19 Jun 2014 11:45:16 +0100
- Subject: Re: [PATCH 0/4 v2] Refactor shared code in i386-{nat,low}.[ch]
- Authentication-results: sourceware.org; auth=none
- References: <1403104976-2492-1-git-send-email-gbenson at redhat dot com> <201406181606 dot s5IG6Mud000672 at glazunov dot sibelius dot xs4all dot nl> <53A1B9E8 dot 5010504 at redhat dot com> <201406181748 dot s5IHmM3H005254 at glazunov dot sibelius dot xs4all dot nl> <53A1D408 dot 5020001 at redhat dot com>
On 06/18/2014 07:01 PM, Pedro Alves wrote:
> (The "common" moniker was a not-to-great idea that we're moving away from.
> "common" suggests that what we put there is necessarily "common" between more
> than one thing, instead of suggesting what the code is supposed to do.
> If some change in GDB or GDBserver makes it so that some code in common/ is
> no longer used in one of GDB or GDBserver's, then what to do?
> Thus, "nat/" -- it holds native target specific code. From GDBserver's
> perspective, it's target backends are native targets. This was all
> previously discussed before, months ago, but we haven't updated the wiki
> yet. We should.)
I've now updated the wiki:
https://sourceware.org/gdb/wiki/Common#Where_to_put_shared_code.3F
--
Pedro Alves