This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfa][testsuite] Consolidade Python test functions in lib/gdb.exp.
Em Qua, 2009-05-20 Ãs 10:58 -0400, Daniel Jacobowitz escreveu:
> On Wed, May 20, 2009 at 10:18:07AM -0300, Thiago Jung Bauermann wrote:
> > Em Ter, 2009-05-19 Ãs 23:39 -0400, Daniel Jacobowitz escreveu:
> > > On Wed, May 20, 2009 at 12:26:17AM -0300, Thiago Jung Bauermann wrote:
> > > > >From my part, not at all! I would gladly remove the python- prefix from
> > > > everything.
> > >
> > > Note that all source files, unlike test cases, share a namespace: they
> > > all currently get dropped in gdb/*.o. So this may be tricky.
> >
> > If I do the renaming and successfully build GDB and run the python
> > testcases, does it show that there's no problem afoot?
>
> Probably, yes. I don't see how it could work though - python/frame.c
> -> frame.o would clobber gdb/frame.c -> frame.o.
Ah, I didn't think of python-frame.c. It didn't exist when I did this
back then. :-(
The right solution then is to make them not share a namespace.
Tromey, you're the makefile wizard: is there an easy and painless way to
make object files which come from different source directories in gdb/
to have different pathnames?
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center