This is the mail archive of the frysk-bugzilla@sourceware.org mailing list for the frysk 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]

[Bug general/5710] New: better variable unavailable error (it needs a message)


consider:

    60   int main(){
    61     int some_int = 1;
->  62     first(some_int);
    63     return 0;
    64   }
(fhpd) print some_int 
Internal Error: frysk.debuginfo.ValueUavailableException
   at frysk.debuginfo.LocationExpression.decode(fhpd)
   at frysk.debuginfo.LocationExpression.decode(fhpd)
   at frysk.value.Variable.getValue(fhpd)
   at frysk.debuginfo.ObjectDeclarationSearchEngine.getValue(fhpd)
   at frysk.expr.CExprEvaluator.expr(fhpd)
   at frysk.expr.CExprEvaluator.expr(fhpd)
   at frysk.expr.Expression.getValue(fhpd)
   at frysk.hpd.EvalCommands$1.print(fhpd)
   at frysk.hpd.EvalCommands.eval(fhpd)
   at frysk.hpd.EvalCommands.access$0(fhpd)
   at frysk.hpd.EvalCommands$Print.interpret(fhpd)
   at frysk.hpd.ParameterizedCommand.interpret(fhpd)
   at frysk.hpd.MultiLevelCommand.interpret(fhpd)
   at frysk.hpd.CLI.execCommand(fhpd)
   at frysk.bindir.fhpd.main(fhpd)

the name of the variable would be ideal

-- 
           Summary: better variable unavailable error (it needs a message)
           Product: frysk
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: frysk-bugzilla at sourceware dot org
        ReportedBy: cagney at redhat dot com
                CC: swagiaal at redhat dot com,tthomas at redhat dot com
OtherBugsDependingO 2246
             nThis:


http://sourceware.org/bugzilla/show_bug.cgi?id=5710

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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