Try in gdb:

p 'module_name.glob_var'


argh, the single quotes. Thanks, now it works if the global is declared shared. But if it isn't, print shows just the init value, no changed data. Any idea ?

--
mk

Reply via email to