aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/contrib/reghunt/examples/reg-watch.awk
blob: 2334215aed5df5f1248a88b232b29b8e55d2379c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/result for low patch/	{
				sub(".*low patch ","")
				sub(" is as expected","")
				printf ("<-- %4s\n", $0);
				next
			}
/result for high patch/	{
				sub(".*high patch ","")
				sub(" is as expected","")
				printf ("    %4s -->\n", $0);
				next
			}
/patches later/		{
				sub(".*later than ","")
				printf ("<-- %4s\n", $0);
				next
			}
/patches earlier/	{
				sub(".*earlier than ","")
				printf ("    %4s -->\n", $0);
				next
			}
/build failed for/	{
				sub(".*build failed for ","")
				printf ("   [%4s]\n", $0);
				next
			}
/HIGH_PATCH/		{
				printf ("* stopped early *\n")
				next
			}
/changes with/		{
				sub(".*changes with id ","")
				printf ("+----------+\n")
				printf ("|   %4s   |\n", $0)
				printf ("+----------+\n")
				next
			}