GSoC'11: DWARF2 call frame information

Chagin Dmitry dchagin at freebsd.org
Sun Mar 20 18:19:21 UTC 2011


On Sun, Mar 20, 2011 at 11:24:21PM +0800, Xingxing Pan wrote:
> >>
> >
> > hm, you should add the .cfi directive in each .S file by hand:
> > http://www.logix.cz/michal/devel/gas-cfi/
> >
> > --
> > Have fun!
> > chd
> >
> 
> Thanks for your reply. I think I have got the idea.
> For the object files generated by the toolchain, there's no need to worry about
> DWARF call frame information if the DWARF is supported by the toolchain.But
> the assembly written by hand is an exception.
> Different architecture has different assembly. That means I have to add DWARF
> for all these architectures currently supported by FreeBSD. Maybe I need a
> powerfull script.
> 
> Xingxing Pan

hmm, which script? I think enough amd64, i386 and amd64/ia32.

I suggest to write a example before continuing the conversation
about the GSoC. For example (bcopy || bzero) && cpu_switch.
Is it ok for you?

-- 
Have fun!
chd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20110320/38109e0b/attachment.pgp


More information about the freebsd-hackers mailing list