Proposition for GDB Pretty Printing feature for libc++

Hello,

I made a GDB pretty printing component for libc++. I actually ported
the GDB pretty printing component for libstdc++ to the implementation
of libc++. I needed this because I prefer libc++ for my C++0x
development, so I did it. The component I wrote depends of the
implementation of libc++, so I thought it would be a better idea to
make it a part of the libc++ repository on llvm.org instead of putting
it on external sites. I am asking for advice on whether I should put
my work on libcxx.llvm.org repository, or keep it outside.

Thank you for your time.

Isn’t GDB code GPL licensed?

Yaron

Yes it is GPL licensed.

More imporantly
1) Does the code you wrote link against GDB?
2) Did you copy/paste any GDB/GPL code?

If you wrote it from scratch and it doesn't link against GDB - what's the problem?

Yes it is GPL licensed.

More imporantly
1) Does the code you wrote link against GDB?

The code uses the GDB packages that are required to provide the pretty
printing feature.

2) Did you copy/paste any GDB/GPL code?

Yes, I ported the libstdc++ pretty printers to the implementation of
libc++. So I started by modifying the GPL-lisenced code of libstdc++
of GCC.

Toss the code upon github - never know.. it may be useful to someone even if it can't be immediately accepted into libc++

Okay. I put it on github for the moment:
https://github.com/koutheir/libcxx-pretty-printers