On Thu, Aug 28, 2014 at 10:15 AM, Tom Tromey <t...@tromey.com> wrote: > 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.
OK. Do you think I could do this as a follow up? May be not considerable, but seems to me like it distracts the intent of this patch? Thanks, Siva Chandra