[fpc-devel] x86_64 stabs info - patch (sort of)
Willibald Krenn
Willibald.Krenn at gmx.at
Tue Oct 12 11:30:53 CEST 2010
Am 12.10.2010 09:51, schrieb Jonas Maebe:
> There is no stabs64 format, afaik. See
> http://sourceware.org/bugzilla/show_bug.cgi?id=9327
Just checked, this example is working fine on Win64:
PS C:\source\bugs\lokals> gdb test.exe
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\source\bugs\lokals/test.exe...done.
(gdb) break MAINPROC
Breakpoint 1 at 0x40140c: file test.pp, line 5.
(gdb) run
Starting program: C:\source\bugs\lokals/test.exe
[New Thread 8148.0x9a8]
Breakpoint 1, MAINPROC () at test.pp:5
5 x := 5;
(gdb) step
6 writeln('x=',x);
(gdb) print x
$1 = 5
(gdb)
In any case, register indices and offsets are different matters and as
it seems that DWARF indices are fine for stabs, I'd strongly vote for
fixing x86_64 stabs info.
Cheers,
Willi
More information about the fpc-devel
mailing list