Hello, This is a followup on: http://www.sourceware.org/ml/gdb-patches/2008-01/msg00699.html. I introduced a test for "ptype $pc", and Daniel remarked that some targets where not returning a function pointer type, except that they should. I found that we're not outputing the expected type on ia64 (used ia64-linux to demonstrate the problem), and traced it down to std-regs.c:value_of_builtin_frame_pc_reg which creates a value whose type is builtin_type_void_data_ptr. So this explains why we get "void *" as the type of $pc. 2008-01-31 Joel Brobecker * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned value type to builtin_type_void_func_ptr. Tested on ia64-linux, fixes gdb.base/ptype.exp: ptype $pc. No regression. Does this look OK? Thanks, -- Joel