Re: [rfa][testsuite] Consolidade Python test functions in lib/gdb.exp.

Thiago Jung Bauermann
2009-05-20T15:10:52Z

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