flat assembler
Message board for the users of flat assembler.

Index > Linux > FASM Debugger for Linux 32/64-bit

Author
Thread Post new topic Reply to topic
zab



Joined: 28 May 2012
Posts: 6
zab 01 Jun 2012, 05:31
Hi guys,

Sorry if the question was already answered before (couldn't find any answer in the forum) !

Could someone please point me the a Linux debugger with support of FASM (32/64-bit) ?
I found FDGB (http://board.flatassembler.net/topic.php?t=9689), but it only support Linux 64bits.

Does someone tried IDAPro on Linux?

Thxs
Zab
Post 01 Jun 2012, 05:31
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 01 Jun 2012, 06:38
This is the right debugger for Linux: EDB

The development goes slow and the last version is accessible only in source form (old and disgusting habit of the Linux developers Very Happy) but the debugger is pretty useful and is not front-end of some console tool (another disgusting habit of the Linux developers Very Happy)
Post 01 Jun 2012, 06:38
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
zab



Joined: 28 May 2012
Posts: 6
zab 01 Jun 2012, 07:16
Hi JohnFound,

Thanks for EDB. Any one else Wink ?

/Zab
Post 01 Jun 2012, 07:16
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 01 Jun 2012, 09:13
zab wrote:
Any one else Wink ?

Well, there are bunch of gdb front ends (for example ddd) but all these sucks really.

Also, there is an very interesting pure assembly GUI debugger: AsmBug

Unfortunately, it is long time abandoned and not supported.
I was never able to run it with the recent Linux distributions... Sad
Maybe some day I will try to fix it or to write my own...

_________________
Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9
Post 01 Jun 2012, 09:13
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
zab



Joined: 28 May 2012
Posts: 6
zab 01 Jun 2012, 13:45
OK. So how Fasm guys are doing on Linux?
Are they using EDB?
Post 01 Jun 2012, 13:45
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 841
Location: Jakarta, Indonesia
TmX 01 Jun 2012, 15:36
You may also try ALD.
Well it seems to be abandoned too.
Post 01 Jun 2012, 15:36
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 01 Jun 2012, 15:45
zab wrote:
OK. So how Fasm guys are doing on Linux?
Are they using EDB?


Well, I can write about myself:
1. If it is possible, I am trying to deal with the problem without debugger. Using "debug.asm" library from FreshLib I can easy output debug messages and register and memory values during the program execution, so in the most cases I can live without debugger.

2. In the remaining cases, when I need to stop the program and to examine the stack, and to execute the instructions one by one, I am using EDB, when I am in Linux. (well, moderately using some bad words)
When I am in Windows and need to debug some Linux program, I am using gdb or ddd, furiously swearing. Very Happy

_________________
Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9
Post 01 Jun 2012, 15:45
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Enko



Joined: 03 Apr 2007
Posts: 676
Location: Mar del Plata
Enko 01 Jun 2012, 15:51
Post 01 Jun 2012, 15:51
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 841
Location: Jakarta, Indonesia
TmX 01 Jun 2012, 16:06


I hear that it's very good, albeit expensive.
And the free version is Windows only, no?
Post 01 Jun 2012, 16:06
View user's profile Send private message Reply with quote
zab



Joined: 28 May 2012
Posts: 6
zab 01 Jun 2012, 16:48
Thanks guys. I'll check them all.
Post 01 Jun 2012, 16:48
View user's profile Send private message Reply with quote
gunblade



Joined: 19 Feb 2004
Posts: 209
gunblade 03 Jun 2012, 00:05
I have found no suitable 32/64-bit debugger, sadly.. I simply use FDBG when doing 64-bit assembly in linux (which is my main platform nowadays), and ALD when doing 32-bit assembly. I've tried compiling ALD on a 64-bit system - but its not supported, it has no 64-bit support, and will not even build (let alone run).

I dont mind too much using two seperate programs.. they are quite similar, so its not too much of a hassle to switch between the two. (Both are terminal-based, of course - rather than GUI-based..)

The only other debugger that I know of that will handle both 32-bit and 64-bit is GDB.. however that means dealing with AT&T syntax (although I believe there are ways of making it produce intel-like syntax, but its still pretty ugly), and it was really designed to be used with C, rather than assembly - so it isnt well suited (but it does work, and at a pinch - can be enough, depending what you're attempting to do).
Post 03 Jun 2012, 00:05
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.