将调试符号从DWARF转换为PDB [英] Converting debug symbols from DWARF to PDB

查看:69
本文介绍了将调试符号从DWARF转换为PDB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将调试信息从binutils的DWARF格式(例如,由Cygwin上的GCC发出)转换为Microsoft PDB(由Visual Studio使用)?

Is there a way to convert the debugging information from binutils' DWARF format (as emitted by GCC on Cygwin, for example) to Microsoft PDB (as consumed by Visual Studio)?

推荐答案

cv2pdb可以做到这一点.我得到的结果好坏参半,有时效果非常好,而其他时候局部和全局变量却丢失了

cv2pdb can do this. I have had mixed results, sometimes it works splendidly while at other times some local and global variables are lost

https://github.com/rainers/cv2pdb

这篇关于将调试符号从DWARF转换为PDB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆