This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't debug x86_64 C++ programs.


John Fine wrote:

That still doesn't end up calling setup_architecture_data. I don't know whether I can debug well enough to find out why.

The convoluted path is something like this:


architecture changed event fired from gdb
-> event callback to gdbtk_architecture changed (in C)
--> fires architecture changed event in the Tcl interpreter
---> calls every window's arch_changed method (in Tcl)
----> register window calls gdb_reg_arch_changed (a Tcl command)
-----> gdb_reg_arch_changed is actually aliased directly to set_architecture_data (see Gdbtk_Register_Init where 'gdb_reg_arch_changed' is registered with the Tcl interpreter)


Keith


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]