With split lifetimes, the debugger can ask the user which of the lifetimes the 
user wants to set. 

    debugger-prompt> set A = 3
    Variable 'A' has more than one location.  Choose which to set:
    1.  The location used in lines 112 and 120
    2.  The location used in line 111
    3.  All locations
    4.  None (no change)
    debugger-sub-menu-prompt> 

A less sophisticated debugger might just do this:

   debugger-prompt> set A = 3
    Variable 'A' has no unique location to set.

...based on looking at the 'assign' location list.

_______________________________________________
Dwarf-Discuss mailing list
Dwarf-Discuss@lists.dwarfstd.org
http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org

Reply via email to