summaryrefslogtreecommitdiff
path: root/src/format
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-07-26 19:13:51 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-07-26 19:13:51 (GMT)
commitba30fbc703ff3ad77bb5df6c167809955215d49c (patch)
treeef3b8dda358be68b834503f794836d7dde17dabf /src/format
parenta6c46fc296db67321db3d4bb586346998de90422 (diff)
Avoided fixed columns when filling lines with locations.
Diffstat (limited to 'src/format')
-rw-r--r--src/format/symbol.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/format/symbol.c b/src/format/symbol.c
index d2faf7c..918b006 100644
--- a/src/format/symbol.c
+++ b/src/format/symbol.c
@@ -32,6 +32,7 @@
#include "symbol-int.h"
#include "../glibext/gbinarycursor.h"
#include "../glibext/linegen-int.h"
+#include "../gtkext/gtkblockdisplay.h"
@@ -842,7 +843,9 @@ static void g_binary_symbol_print(GBinSymbol *symbol, GBufferLine *line, size_t
{
char *label; /* Etiquette à insérer */
- g_buffer_line_fill_vmpa(line, get_mrange_addr(&symbol->range), MDS_32_BITS_UNSIGNED, MDS_32_BITS_UNSIGNED);
+ g_buffer_line_fill_phys(line, DLC_PHYSICAL, MDS_32_BITS_UNSIGNED, get_mrange_addr(&symbol->range));
+
+ g_buffer_line_fill_virt(line, DLC_VIRTUAL, MDS_32_BITS_UNSIGNED, get_mrange_addr(&symbol->range));
label = g_binary_symbol_get_label(symbol);