Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Assuming types for PC
@ 2013-06-10 14:19 Luis Machado
  2013-06-10 14:31 ` Mark Kettenis
  0 siblings, 1 reply; 12+ messages in thread
From: Luis Machado @ 2013-06-10 14:19 UTC (permalink / raw)
  To: gdb

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.


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

end of thread, other threads:[~2013-06-11 10:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-10 14:19 Assuming types for PC Luis Machado
2013-06-10 14:31 ` Mark Kettenis
2013-06-10 14:34   ` Luis Machado
2013-06-10 14:45     ` Joel Brobecker
2013-06-10 14:49       ` Luis Machado
2013-06-10 14:56         ` Joel Brobecker
2013-06-10 15:04     ` Mark Kettenis
2013-06-10 15:18       ` Luis Machado
2013-06-10 18:04       ` Maciej W. Rozycki
2013-06-10 18:44         ` Mark Kettenis
2013-06-11  9:21           ` Pedro Alves
2013-06-11 10:09             ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox