init
[nethome.git] / bin / diffgdb
1 #! /bin/sh
2 exec diff \
3         -I '^Test Run By ' \
4         -I '^gnatbind ' \
5         -I '^gnatlink ' \
6         -I '^gnatlink: ' \
7         -I '^gnatmake: ' \
8         -I '^gcc ' \
9         -I '^/usr/bin/ld: .* architecture of input file .* is incompatible with .* output$' \
10         -I '^collect2: ' \
11         -I '^UNSUPPORTED: ' \
12         -I '^UNTESTED: ' \
13         -I '^UNRESOLVED: ' \
14         -I '^ERROR: ' \
15         -I '^WARNING: ' \
16         -I '^Running ' \
17         -I '^[^:]*[.]ad[sb]:[0-9]' \
18         -I '^\(PASS\|FAIL\): gdb.server/ext-run.exp: get process list$' \
19         -I '^\(PASS\|FAIL\): gdb.base/checkpoint.exp: info checkpoints with at least 600 checkpoints$' \
20         -I '^\(PASS\|FAIL\): gdb.base/checkpoint.exp: break2 with many checkpoints$' \
21         -I '^\(PASS\|FAIL\): gdb.base/interrupt.exp: ' \
22         -I '^\(PASS\|FAIL\): gdb.base/gdb1250.exp: ' \
23         -I '^KFAIL: gdb.threads/watchthreads2.exp: gdb can drop watchpoints in multithreaded app (PRMS: gdb/10116)$' \
24         -I '^PASS: gdb.threads/watchthreads2.exp: all threads incremented x$' \
25         -I '^FAIL: gdb.base/sigbpt.exp: Verify that SIGSEGV occurs at the last STEPI insn (none 0x[a-f0-9]*)$' \
26         -I '^PASS: gdb.threads/threadcrash.exp: core file: ' \
27         -I '^PASS: gdb.threads/watchthreads.exp: disable [0-9]*$' \
28         -I '^FAIL: gdb.mi/mi-nsmoribund.exp: unexpected stop$' \
29         -I '^PASS: gdb.mi/mi-nsmoribund.exp: resume all, program exited normally$' \
30         -I '^gdb compile failed, ' \
31         -I '^gdb compile failed, /usr/bin/ld: /tmp/[a-zA-Z0-9]*.o: relocation R_X86_64_32S against `a local symbol. can not be used when making a shared object; recompile with -fPIC$' \
32         -I '^/tmp/[a-zA-Z0-9]*.o: could not read symbols: Bad value$' \
33         -I '^# of ' \
34         -I '^/home/' \
35         -I '^PASS: gdb.arch/i386-biarch-core.exp: core-file /home/.*/i386-biarch-core.core$' \
36         -I '^\.\./as-new [0-9.]*$' \
37         -I '^ld/ld-new [0-9.]*$' \
38         -I '^\(PASS\|FAIL\): gdb.mi/mi-break.exp: test hitting breakpoint with commands$' \
39         -I '^\(PASS\|FAIL\): gdb.threads/attach-stopped.exp: threaded: attach2, exit leaves process sleeping$' \
40         -I '^\(PASS\|FAIL\): gdb.threads/attachstop-mt.exp: attach4 stop by interrupt\(\| (timeout)\)$' \
41         -I '^\(PASS\|FAIL\): gdb.threads/attachstop-mt.exp: attach4, exit leaves process sleeping$' \
42         -I '^\(PASS\|FAIL\): gdb.threads/manythreads.exp: info threads$' \
43         -I 'gdb version  [0-9][^ ]* -nw -nx $' \
44         -I '^\(PASS\|FAIL\): gdb.threads/attach-stopped.exp: threaded: attach1, exit leaves process stopped$' \
45 -ru "$@" | grep -v '^diff '