>>>>> "Siva" == Siva Chandra <sivachan...@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