On Wed, Aug 27, 2014 at 7:11 PM, Tom Tromey <t...@tromey.com> wrote: > Siva> My patch is still using a single function to register libstdc++ > Siva> xmethods. Do you mean there should be a single function for pretty > Siva> printers and xmethods together? > > Yeah, that's my view.
I am probably not understanding it right again. Are you suggesting that in hook.in, we just have single function call like this: register_python_hooks (gdb.current_objfile ()) and, this function register_python_hooks lives somewhere else and calls register_libstdcxx_printers and register_libstdcxx_xmethods? Thanks, Siva Chandra