Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-08

Lazarus assembler debug window format

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

ABorka

Is there a way to see the assembler debug window in Intel format instead of AT&T?
It seems the code is always displayed in AT&T syntax.

Tried in Win32/Win64, latest SVN Lazarus and FPC build.

Reply by email

ABorka
to leledumbo

Thanks, this helped.

Using this "disassembly-flavor" variable I found this old thread on the forums
http://www.lazarus.freepascal.org/index.php?topic=8741.0

and from there I was able to figure it out and set this in Lazarus -> Tools -> Options -> Debugger -> General The "Debugger_Startup_Options" value to

-eval-command="set disassembly-flavor intel"

and voila, it works.

AB

leledumbo wrote 18 lines
I don't see any way to interact with the debugger, so it's not possible ATM. GDB can be set to display disassembly in intel syntax through "set disassembly-flavor intel" but we need a way to feed it to GDB. Please file a feature request. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Lazarus-assembler-debug-window-format-tp4025922p4025923.html Sent from the Free Pascal - Lazarus mailing list . -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Martin
to leledumbo: I don't see any way to interact with the debugger, so it's not possible ATM. GDB can be…
leledumbo wrote 5 lines
I don't see any way to interact with the debugger, so it's not possible ATM. GDB can be set to display disassembly in intel syntax through "set disassembly-flavor intel" but we need a way to feed it to GDB. Please file a feature request.

It should be possible to add this to the debugger startup options. there is a field in the option dialog.
But you must specify it for being passed as command-line.

Reply by email

Martin
to leledumbo
leledumbo wrote
Oh, I didn't know what that field is for. If only it's named "Debugger command line options" or something it similar it would be clearer to me. I can get the feature running as well now, thanks :)

Unfortunately, those options are currently using the published property names (object inspector like).
So changing them, will mean a lot of work, because old data, would no longer load.

Reply by email