From: Cyrill G. <gor...@gm...> - 2015-12-27 09:45:37
|
On Sun, Dec 27, 2015 at 08:45:25AM +0100, Guillermo Bernaldo de Quiros Maraver wrote: > Hi, good morning, > > I'm new in the mailing list, so, my name is Guillermo. I'm learning to > write assembly code with several books such as Duntemann and Irvine books > too so I'm sorry if I ask quite basic questions. > > I've installed an OpenBSD Operating System in a INTEL I7 of 64bit and I'm > trying to debug some applications made by myself with gdb or ddd and built > with nasm (Version 2.11.08). (More information next). > > My problem is when I launch gdb or ddd I can't debug the software. With DDD > for example, I can't put breakpoints or I can't go step by step into the > code and I don't know why. With GDB the problem is similar, in this case at > least I can go step by step but I can't see the source code neither the > instructions. Just I can see the addresses of the instructions and I don't > know why (Next you have the output of a session with GDB). > > Of course, the program was built with debugging support. I tried dwarf and > stabs but neither works to me. > > Someone can help me? I need debug support because I'm learning to program > software and if I don't have a debugger I won't learn anything but a lot of > theory. Hi Guillermo! A fear we've an incomplete support of the debugging formats. Mind to ping guys on forum.nasm.us? IIRC there were some worarounds but I'm not sure. |