Assuming types for PC

Luis Machado <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
Hi,

I see gdb.base/ptype.exp assuming PC needs to be of type void (*)().

   # Test ptype of user register
   gdb_test "ptype \$pc" "void \\(\\*\\)\\(\\)" "ptype \$pc"

Is there any reason we should assume that? Some targets use "long long" 
or "int32_t" for PC.

If PC should not have a fixed type, i think it would be best to remove 
this check.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.