summaryrefslogtreecommitdiff
path: root/src/arch/instruction.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-03-25 12:36:16 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-03-25 12:36:16 (GMT)
commita174ee784f5d9e554ed09181b8e6d8c0205f8ef5 (patch)
treef5ccfb4c41fcb1f237bc285e8e71bc188b7c8b57 /src/arch/instruction.c
parentbbad297e902022ecac9fab21c01dc109560db8eb (diff)
Scrolled to the selected symbol.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@241 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/instruction.c')
-rw-r--r--src/arch/instruction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/instruction.c b/src/arch/instruction.c
index cfc6e20..6bb10e8 100644
--- a/src/arch/instruction.c
+++ b/src/arch/instruction.c
@@ -2,7 +2,7 @@
/* OpenIDA - Outil d'analyse de fichiers binaires
* instruction.c - gestion générique des instructions
*
- * Copyright (C) 2008-2011 Cyrille Bagard
+ * Copyright (C) 2008-2012 Cyrille Bagard
*
* This file is part of OpenIDA.
*
@@ -609,7 +609,7 @@ static void _g_arch_instruction_print(const GArchInstruction *instr, GCodeBuffer
size_t klen; /* Taille de ce mot clef */
size_t j; /* Boucle de parcours #2 */
- line = g_code_buffer_append_new_line(buffer);
+ line = g_code_buffer_append_new_line(buffer, instr->address);
/* Adresse virtuelle ou physique */