This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA v2 2/6] Handle alignof and _Alignof


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro>  - alignof(typedef)

Pedro>    (to make sure we're not missing a check_typedef
Pedro>    call somewhere.  e.g., add "typedef arrstruct arrstruct_t",
Pedro>    then add arrstruct_t to the list of tested types.

This one is in the patch already:

+    puts $outfile "typedef $type t_$utype;"
+    puts $outfile "t_$utype item_t_$utype;"
[...]
+    gdb_test "print alignof(t_$utype)" " = $expected"

I'll add the others though.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]