winaddr2line shows no output
winaddr2line shows no output
Has anyone else had a problem with the winaddr2line application showing no results when attempting to decode a program counter? I've seen where it shows the "???" before when it can't find the code to reference, but this is different, the output window is just blank. I'm pointing to the elf file properly and entering the hex address from the trap message, but I get nothing. I tried setting up a default project just to make sure it wasn't something with my project, but that didn't help. I tried on both nndk 2.6.8. and 2.6.7. I know I've used it successfully in the past but I can't think of what might have changed since then.
Re: winaddr2line shows no output
Oh, at first I thought you were referring to m68k-elf-addr2line (which winaddr2line calls behind the scenes). I've had it where m68k-elf-addr2line fails for some strange reason. The workaround I've used is to use m68k-elf-objdump to disassemble the elf and match up the address in that output. You'll want to use the flags '-dS' for 'disassemble' and 'Source'. Then just grep for the address.
-Dan
Code: Select all
m68k-elf-objdump -dS ourApp.elf > ourApp.ds
Dan Ciliske
Project Engineer
Netburner, Inc
Project Engineer
Netburner, Inc