public inbox for frysk-bugzilla@sourceware.org
help / color / mirror / Atom feed
* [Bug general/5710] New: better variable unavailable error (it needs a message)
@ 2008-02-01 22:04 cagney at redhat dot com
  2008-02-01 22:54 ` [Bug general/5710] " mark at klomp dot org
  2008-02-04 19:48 ` tthomas at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: cagney at redhat dot com @ 2008-02-01 22:04 UTC (permalink / raw)
  To: frysk-bugzilla

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug general/5710] better variable unavailable error (it needs a message)
  2008-02-01 22:04 [Bug general/5710] New: better variable unavailable error (it needs a message) cagney at redhat dot com
@ 2008-02-01 22:54 ` mark at klomp dot org
  2008-02-04 19:48 ` tthomas at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: mark at klomp dot org @ 2008-02-01 22:54 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From mark at klomp dot org  2008-02-01 22:54 -------
(In reply to comment #0)
> Internal Error: frysk.debuginfo.ValueUavailableException

Also note that the exception name is misspelled (note the missing 'n').


-- 


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug general/5710] better variable unavailable error (it needs a message)
  2008-02-01 22:04 [Bug general/5710] New: better variable unavailable error (it needs a message) cagney at redhat dot com
  2008-02-01 22:54 ` [Bug general/5710] " mark at klomp dot org
@ 2008-02-04 19:48 ` tthomas at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tthomas at redhat dot com @ 2008-02-04 19:48 UTC (permalink / raw)
  To: frysk-bugzilla


------- Additional Comments From tthomas at redhat dot com  2008-02-04 19:47 -------
Now:
(fhpd) print some_int 
Error: Value Unavailable - some_int  
-------------------------------------
Commit:
    Show error message on ValueUnavailableException. Fixes bug# 5710.
    
    frysk-core/frysk/debuginfo/ChangeLog
    2008-02-04  Teresa Thomas  <tthomas@redhat.com>
    
    	* ValueUavailableException.java: Renamed to...
    	* ValueUnavailableException.java: this.
    	* ValueUnavailableException.java (ValueUnavailableException): New.
    	* LocationExpression.java (decode): Update.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-04 19:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-01 22:04 [Bug general/5710] New: better variable unavailable error (it needs a message) cagney at redhat dot com
2008-02-01 22:54 ` [Bug general/5710] " mark at klomp dot org
2008-02-04 19:48 ` tthomas at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).