This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] iRe: [RFC][patch 1/9] initial Python support
Daniel Jacobowitz wrote:
> On Sat, Jul 19, 2008 at 04:36:47PM -0300, Thiago Jung Bauermann wrote:
>> > Can we call it python-utils.c or something else, instead? IMO having
>> > different naming for the source file and object is very confusing.
>>
>> Actually I prefer to keep it this way. I am following the existing
>> convention used to build other GDB components which live in their own
>> subdirectories (cli/, mi/ and tui/).
>>
>> Since by the end of this patch series there will be 13 Python-related .c
>> and .h files, I prefer to put them in their own subdirectory. IMHO having
>> a flat source tree, with all source files lumped together, is more
>> confusing than an object file named differently (but not much) than its
>> source file.
>
> That's not what I meant. Leaving it in python/ is fine. But call it
> python/python-utils.c. All the cli/ sources are prefixed, ditto the
> mi/ sources.
Ah, got it. Fine by me.
Thanks for your suggestions.
--
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center