From a5e97a885f4176e165f02c94efc448f19a95df43 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Mon, 17 Sep 2001 15:41:25 +0000 Subject: slightly better error message --- gnu/usr.bin/gas/config/tc-i386.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/usr.bin/gas/config') 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 -- cgit v1.2.3