简体   繁体   English

如何使用gdb调试在linux下用fasm编写的程序?

[英]How to debug programms written in fasm under linux using gdb?

I wrote simple "hello, world" in fasm, and its works, but how i can generate debug info for gdb and edb (Evan's Debugger)? 我在fasm中编写了简单的“hello,world”及其作品,但我如何为gdb和edb(Evan的调试器)生成调试信息? Fasm compiler could only produce debugging symbols in its specific format - "fas", which of course gbd couldn't understood. Fasm编译器只能生成特定格式的调试符号 - “fas”,当然gbd无法理解。

It's not possible at the moment. 目前还不可能。 GDB does not understand the .fas format so you first need to convert the .fas file to DWARF , but no such converter exists. GDB不了解.fas格式,因此您首先需要将.fas文件转换为DWARF ,但不存在此类转换器。 Tomasz has asked for help with format converters so if you feel you're up for the task you should give it a shot. Tomasz已经请求格式转换器的帮助 ,所以如果你觉得你已经完成了任务,你应该试一试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM