[Lazarus] [patch] Debugger: CPU registers: resetting display formats on every restart of the application

Bernd prof7bit at googlemail.com
Sun Dec 18 13:20:38 CET 2011


This one has annoyed me a lot during the last few days while debugging
some assembly code: The display of the cpu registers always reverted
to rdDefault (which is decimal for the registers I was interested in)
every time I restarted my application, it was so annoying and time
consuming setting them back to hex (each of them individually!) on
every restart that I started using kdbg instead of Lazarus.

The attached small patch for gdbmidebugger.pp would solve this problem
once and for all. It will prevent the re-initialization of the
FFormats array if it is already initialized (if it already has the
correct size).

Would this patch qualify for inclusion?

Bernd

Attachment: gdbmidebugger_dont_reset_displayformats.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdbmidebugger_dont_reset_displayformats.patch
Type: text/x-diff
Size: 1191 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111218/7f32645e/attachment.patch>


More information about the Lazarus mailing list