Add variable length tests for emit_ref in trace-condition.exp
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.trace / trace-condition.c
index 94bb30cfc9da79504b17317e11b26d3167cd5938..f0b1863a5971336e6e976c1f9e15c42b25f4fccb 100644 (file)
@@ -16,8 +16,9 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "trace-common.h"
+#include <inttypes.h>
 
-int globvar;
+int64_t globvar;
 
 static void
 begin (void)
@@ -25,7 +26,7 @@ begin (void)
 }
 
 static void
-marker (int anarg)
+marker (int8_t arg8, int16_t arg16, int32_t arg32, int64_t arg64)
 {
   FAST_TRACEPOINT_LABEL(set_point);
 }
@@ -41,7 +42,8 @@ main ()
   begin ();
 
   for (globvar = 1; globvar < 11; ++globvar)
-    marker (globvar * 100);
+    marker (globvar, globvar + (1 << 8), globvar + (1 << 16),
+           globvar + (1LL << 32));
 
   end ();
   return 0;
This page took 0.023557 seconds and 4 git commands to generate.