diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-05-04 17:55:38 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-05-04 17:55:38 +0000 |
commit | 10efe3f6ab735cdc228d615d25e89fff0623c5cc (patch) | |
tree | cf5204ca2cbda195176bbae174f221ead3ed8d90 /gas/config/tc-i386.c | |
parent | 52b3699b0be907d005616a7f5542c4bbd44b1f7b (diff) | |
download | gdb-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.c | 5 |
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; |