It would be nice to see it work with objdump also, but not a priority.
With your help guys I was able to get the needed output using the fpc.cfg and the FPC parameters you guys mentioned.

Thanks for the help

<...snip...>
On 8/21/2012 00:19, Sergei Gorelkin wrote:
21.08.2012 10:32, ABorka пишет:
1. The objdump ("objdump.exe" and "x86_64-win64-objdump.exe") utility
from the binutils programs
works and displays the code with the -Mintel option as Intel syntax
from the "*.o" files, however
when I try to see the line numbers (objdump.exe -l ...) and source
code lines (objdump.exe -S ...)
it does not put them in the right places within the disassembled code.

As an example, I used:
objdump.exe -d -Mintel -w -l -S -EL something.o > something.disassembled

This may be an issue to fix (or maybe not, given that gdb usually
locates source lines correctly using the same line information from the
object files).
<...snip...>

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to