summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gas
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-09-17 15:41:25 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-09-17 15:41:25 +0000
commita5e97a885f4176e165f02c94efc448f19a95df43 (patch)
tree331810aaf91cea8b02c1a07e9e67da34a200777b /gnu/usr.bin/gas
parent96a515f62608c4c3aabb36523b73718b08287a2d (diff)
slightly better error message
Diffstat (limited to 'gnu/usr.bin/gas')
-rw-r--r--gnu/usr.bin/gas/config/tc-i386.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/gas/config/tc-i386.c b/gnu/usr.bin/gas/config/tc-i386.c
index 98d16751635..b54b105bd39 100644
--- a/gnu/usr.bin/gas/config/tc-i386.c
+++ b/gnu/usr.bin/gas/config/tc-i386.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tc-i386.c,v 1.8 2001/09/05 08:27:31 espie Exp $ */
+/* $OpenBSD: tc-i386.c,v 1.9 2001/09/17 15:41:24 espie Exp $ */
/* i386.c -- Assemble code for the Intel 80386
Copyright (C) 1989, 1991, 1992 Free Software Foundation.
@@ -27,7 +27,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: tc-i386.c,v 1.8 2001/09/05 08:27:31 espie Exp $";
+static char rcsid[] = "$OpenBSD: tc-i386.c,v 1.9 2001/09/17 15:41:24 espie Exp $";
#endif
#include "as.h"
@@ -1462,7 +1462,7 @@ char *operand_string;
break;
default:
seg_unimplemented:
- as_bad("Unimplemented segment type %d in parse_operand", exp_seg);
+ as_bad("Unimplemented segment type %d in parse_operand(%s)", exp_seg, operand_string);
return 0;
}
/* shorten this type of this operand if the instruction wants