nakst / gf

A GDB frontend for Linux.
MIT License
1.82k stars 61 forks source link

Disassembly window does not update when set-disassembly-flavor is set #55

Closed aolo2 closed 3 years ago

aolo2 commented 3 years ago

If I do set disassembly-flavor intel with the disassembly window open the syntax is not updated until I reopen the window by hitting CTRL+D twice.

nakst commented 3 years ago

It would not be difficult to add a check to the update handler to see if the disassembly flavour changes. But I'm not sure the additional complexity is worth it for such a rare issue (how often do you need to change it mid-debugging?), especially when the workaround is so simple.

aolo2 commented 3 years ago

Yeah, if I think about it, I just forgot to add it to .gdbinit. Oops!