Index: sid/component/cfgroot/compConfig.cxx =================================================================== RCS file: /cvs/cvsfiles/devo/sid/component/cfgroot/compConfig.cxx,v retrieving revision 1.86 diff -c -p -r1.86 compConfig.cxx *** sid/component/cfgroot/compConfig.cxx 12 Mar 2006 20:56:23 -0000 1.86 --- sid/component/cfgroot/compConfig.cxx 5 May 2006 22:55:47 -0000 *************** dynamic_configurator_component::function *** 1613,1620 **** function_address_pin.drive (addr); string function = loader->attribute_value("current-function"); ! // If the current function is on the stack, then assume we're ! // returning to it, otherwise assume we're calling it. for (vector < pair >::const_iterator it = config_stack.begin (); it != config_stack.end (); ++it) --- 1613,1626 ---- function_address_pin.drive (addr); string function = loader->attribute_value("current-function"); ! // If the current function is on top of the stack, then assume ! // a local branch. ! assert (config_stack.size () >= 1); ! if (config_stack.back ().first == function) ! return; ! ! // Otherwise, if the current function is not on the stack, then assume we're ! // calling it. Otherwise assume we're returning to it. for (vector < pair >::const_iterator it = config_stack.begin (); it != config_stack.end (); ++it)