This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] New inf-procfs module (replacing procfs)
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: brobecker at adacore dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 13 Jan 2006 21:27:57 +0100 (CET)
- Subject: Re: [RFC] New inf-procfs module (replacing procfs)
- References: <20060113173921.GJ10275@adacore.com>
> Date: Fri, 13 Jan 2006 21:39:21 +0400
> From: Joel Brobecker <brobecker@adacore.com>
>
> Note about inf-procfs. I think certain comments should be reformatted,
> but I have deliberatly left them alone for now, to minimize the size
> of the diff. Will take care of that later. Also, building this file
> generates some warnings, some of them being related to the move to
> gdb_byte. I will also take care of that later for the same reason.
Hmm, when Andrew converted infptrace.c into inf-ptrace.c and even more
so when I converted infttrace.c into inf-ttrace.c we took the
opportunity, to do some serious cleanup. In a way, the introduction
of these files offers a unique opportunity to clean things up target
by target. And I really think procfs.c is in need of such a cleanup.
Right now it's a maze of #ifdefs; there are also some Solaris-related
improvements that should be made, but that I haven't done yet, because
I'm too afraid of breaking other targets.
It'd be great if you would be willing to do the cleanup. If not,
could you give me two weeks to finish my (barely started) attempt to
do it?
Mark