summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/arch/x86/operand.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 28d1fdf..a241f3f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
09-10-04 Cyrille Bagard <nocbos@gmail.com>
* src/arch/x86/operand.c:
+ Fix the rendering of ModRM operands.
+
+09-10-04 Cyrille Bagard <nocbos@gmail.com>
+
+ * src/arch/x86/operand.c:
Fix a bug in relative jump operands.
09-10-04 Cyrille Bagard <nocbos@gmail.com>
diff --git a/src/arch/x86/operand.c b/src/arch/x86/operand.c
index 2c27176..eb6f5f3 100644
--- a/src/arch/x86/operand.c
+++ b/src/arch/x86/operand.c
@@ -623,9 +623,15 @@ static void g_x86_mod_rm_operand_add_to_gtk_buffer(const GX86ModRMOperand *opera
format, syntax, buffer, iter);
if (operand->base != NULL)
+ {
+ g_content_exporter_insert_with_gtk_tag(G_CONTENT_EXPORTER(operand), buffer, iter,
+ "+", 1, RTT_SIGNS);
+
g_content_exporter_add_arch_to_gtk_buffer(G_CONTENT_EXPORTER(operand->base),
format, syntax, buffer, iter);
+ }
+
if (operand->displacement != NULL)
{
if (g_imm_operand_is_negative(operand->displacement))