This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: duplicated code in gdb and gdbserver
> Thanks for your pointers and suggestions. Looks like it is not a
> small piece of work, and IMO, merging common parts of gdb's
> ${target}-nat.c and gdbserver's ${target}-low.c can be a starting
> point. I'll write patches for this.
I don't know how this fits into the plan, but I think that the
wait_for_inferior/handle_inferior_event bits in infrun.c should be
shared too.
I'm very excited to see someone interested in that project, regardless
of the areas that you decide to work on.
--
Joel