summaryrefslogtreecommitdiff
path: root/devel/flang/files/patch-runtime_flangrti_trace__lin.c
blob: 353a9b46e037678a8ec154055fb82108a43d665b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- runtime/flangrti/trace_lin.c.orig	2017-05-17 00:40:01 UTC
+++ runtime/flangrti/trace_lin.c
@@ -85,7 +85,7 @@ static struct sigs sigs[] = {
     {0, CODNULL, NULL} /* end of list */
 };
 
-static gregset_t *regs; /* pointer to regs at signal  */
+static void *regs; /* pointer to regs at signal  */
 
 /* walk the stack back */
 
@@ -99,7 +99,7 @@ __abort_trace(int skip)
   char **strings;
   size_t i, n;
 
-  if (regs != (gregset_t *)0) {
+  if (regs != (void *)0) {
     dumpregs(regs);
   }