This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfc] New files "memory.[hc]"
On Oct 27, 10:39am, Andrew Cagney wrote:
> > On Oct 24, 4:48pm, Andrew Cagney wrote:
> >
> >> What do people think of putting the new (with target parameter) methods,
> >> that wrap target_{read,write} in a new file "memory.[hc]"? I think they
> >> are going to end up cluttering up "target.[hc]".
> >
> > Sounds okay to me.
>
> But is it a good idea, as in will it make the code easier to read, find,
> and understand? The old target-memory routines are all "hidden" (well i
> think they are :-) in gdbcore.h and corefile.c
I know it's kind of long, but how about "target-memory.[hc]" ?
Kevin