Bug 5065 - (hpd) ptype <expression>
Summary: (hpd) ptype <expression>
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Teresa Thomas
URL:
Keywords:
Depends on:
Blocks: 2246
  Show dependency treegraph
 
Reported: 2007-09-24 17:04 UTC by Andrew Cagney
Modified: 2008-02-06 21:09 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2007-09-24 17:04:16 UTC
Print the static type of an expression.

The implementation is similar to print but with Value.toPrint(writer) replaced
with Value.getType().toPrint(writer).

A sufficent test is:
   (hpd) ptype i
   <<something about I being an integer>>
Comment 1 Teresa Thomas 2008-02-06 21:09:42 UTC
	2007-09-25  Teresa Thomas  <tthomas@redhat.com>
	
	* PtypeCommand.java: New file.
	* TestPtypeCommand.java: New file.
	* CLI.java (CLI): PtypeCommand added.