[PATCH libstdc++ v5] - Add xmethods for std::vector and std::unique_ptr
Tom Tromey
tom@tromey.com
Thu Aug 28 17:15:00 GMT 2014
>>>>> "Siva" == Siva Chandra <sivachandra@google.com> writes:
Tom> Yeah, that's my view.
Siva> I am probably not understanding it right again.
It's ok. I am having some trouble myself.
Siva> Are you suggesting that in hook.in, we just have single function
Siva> call like this:
Siva> register_python_hooks (gdb.current_objfile ())
Siva> and, this function register_python_hooks lives somewhere else and
Siva> calls register_libstdcxx_printers and register_libstdcxx_xmethods?
Yeah. I think it's better to put as little as possible in the hook file.
I realize this may sound ridiculous given all the code that is already
there; but that's an artifact of gcc's install-relocatability requirement.
Tom
More information about the Gcc-patches
mailing list