diff options
author | Simon Marlow <marlowsd@gmail.com> | 2016-07-05 08:40:52 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2016-07-05 08:41:25 +0100 |
commit | 18e71e460488785e520aa83d1de291c23e9f0042 (patch) | |
tree | e18b13bffdb538088e77ed2b6a8d12d04c17e175 /rts | |
parent | 0bd7c4b4240a27d4e26290741394b31b48db7671 (diff) | |
download | haskell-18e71e460488785e520aa83d1de291c23e9f0042.tar.gz |
Revert "Fix 32-bit build failures"
This reverts commit 01f449f4ffd2c4f23bfe5698b9f1b98a86276900.
Diffstat (limited to 'rts')
-rw-r--r-- | rts/Linker.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/rts/Linker.c b/rts/Linker.c index 40ea8def96..894a31d80d 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -1477,13 +1477,10 @@ void ghci_find(SymbolAddr *addr) Section *section = &oc->sections[i]; if (addr > section->start && (StgWord)addr < (StgWord)section->start+section->size) { - debugBelch("%p is in ", addr); - if (oc->archiveMemberName) { - debugBelch("%s", oc->archiveMemberName); - } else { - debugBelch("%" PATH_FMT, oc->fileName); - } - debugBelch(", section %d, offset %" FMT_Word "\n", i, + debugBelch("%p is in %" PATH_FMT, addr, + oc->archiveMemberName ? + oc->archiveMemberName : oc->fileName); + debugBelch(", section %d, offset %lx\n", i, (StgWord)addr - (StgWord)section->start); } } |