aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-04 17:55:38 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-05-04 17:55:38 +0000
commit10efe3f6ab735cdc228d615d25e89fff0623c5cc (patch)
treecf5204ca2cbda195176bbae174f221ead3ed8d90 /gas/config/tc-i386.c
parent52b3699b0be907d005616a7f5542c4bbd44b1f7b (diff)
downloadgdb-10efe3f6ab735cdc228d615d25e89fff0623c5cc.zip
gdb-10efe3f6ab735cdc228d615d25e89fff0623c5cc.tar.gz
gdb-10efe3f6ab735cdc228d615d25e89fff0623c5cc.tar.bz2
Improve unsupported error message
* config/tc-i386.c (match_template): Improve unsupported error message.
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r--gas/config/tc-i386.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index ae0b436..3e47349 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -4353,8 +4353,9 @@ check_reverse:
err_msg = _("unsupported syntax");
break;
case unsupported:
- err_msg = _("unsupported");
- break;
+ as_bad (_("unsupported `%s'"),
+ current_templates->start->name);
+ return NULL;
case invalid_vsib_address:
err_msg = _("invalid VSIB address");
break;