This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Remove HAVE_UINTPTR_T from gdb_thread_db.h
On Mon, 2011-05-16 at 13:40 +0800, Yao Qi wrote:
> On 05/15/2011 01:07 AM, Joel Brobecker wrote:
> >> When I am trying to move gdb_thread_db.h to common/ dir,
> >
> > I am so sorry for not having the time to work on this project,
> > and so it make me uncomfortable saying this without offering
> > advice, but I still feel uncomfortable about not having a clear
> > plan, and not knowing where we are going with this. I'm afraid
> > that the end result might be a tighter inter-dependency between
> > GDB and GDBserver instead of GDB and GDBserver sitting on top
> > of a common API (we could call it a mini libgdb).
>
> I wrote up plan in wiki http://sourceware.org/gdb/wiki/Common . I am
> not good at naming a project, so I name it as "Common" temporally.
>
> The plan is not done. I will complete it, and fill in with more details.
>
> Comments are welcome, and thanks in advance to put up with my writing.
I'm not familiar with gdbserver but would it make sense to make
gdbserver internally use the target_ops vector? That would make GDB's
-nat.c files usable without modification in gdbserver. Then it would be
a matter of porting the gdbserver's additional features which GDB native
doesn't have.
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center