diff options
Diffstat (limited to 'gdb/testsuite/gdb.stabs/hppa.mt')
-rw-r--r-- | gdb/testsuite/gdb.stabs/hppa.mt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.stabs/hppa.mt b/gdb/testsuite/gdb.stabs/hppa.mt index d7a6e86..32a09ca 100644 --- a/gdb/testsuite/gdb.stabs/hppa.mt +++ b/gdb/testsuite/gdb.stabs/hppa.mt @@ -1,3 +1,12 @@ weird.o: $(srcdir)/weird.def $(srcdir)/hppa.sed sed -f $(srcdir)/hppa.sed <$(srcdir)/weird.def >weird.s - $(AS) weird.s -o weird.o + if $(CC) -c weird.s 2>errs; then \ + true; \ + else \ + if grep 'Directive name not recognized - STABS' errs \ + >/dev/null; then \ + echo HP assembler in use--skipping stabs tests; true; \ + else \ + cat errs; false; \ + fi; \ + fi |