projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60b4775
)
2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
author
H.J. Lu
<hjl.tools@gmail.com>
Wed, 9 Jan 2008 01:24:07 +0000
(
01:24
+0000)
committer
H.J. Lu
<hjl.tools@gmail.com>
Wed, 9 Jan 2008 01:24:07 +0000
(
01:24
+0000)
* i386-gen.c (set_bitfield): Use fail () on error.
opcodes/ChangeLog
patch
|
blob
|
history
opcodes/i386-gen.c
patch
|
blob
|
history
diff --git
a/opcodes/ChangeLog
b/opcodes/ChangeLog
index 8db2966c0f8557a91320e2e6a0ca4ea6b99d0d0c..5afdccfb91a20b3d6e2cc70b47bdd076a4297544 100644
(file)
--- a/
opcodes/ChangeLog
+++ b/
opcodes/ChangeLog
@@
-1,3
+1,7
@@
+2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386-gen.c (set_bitfield): Use fail () on error.
+
2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (lineno): New.
diff --git
a/opcodes/i386-gen.c
b/opcodes/i386-gen.c
index 1db9660356385019c9083b3a6fd26faddd132edb..d7e3d16f69b8062dfc9095ece3572a5d462ce289 100644
(file)
--- a/
opcodes/i386-gen.c
+++ b/
opcodes/i386-gen.c
@@
-451,9
+451,7
@@
set_bitfield (const char *f, bitfield *array, unsigned int size)
return;
}
- printf ("%s: %d: Unknown bitfield: %s\n",
- filename, lineno, f);
- abort ();
+ fail (_("%s: %d: Unknown bitfield: %s\n"), filename, lineno, f);
}
static void