After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 542504 - Support disassembling
Support disassembling
Status: RESOLVED FIXED
Product: nemiver
Classification: Other
Component: general
trunk
Other Linux
: Normal enhancement
: ---
Assigned To: Nemiver maintainers
Nemiver maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-11 10:26 UTC by Dodji Seketeli
Modified: 2010-07-17 21:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
parse asm instruction list in GDB/MI format (92.79 KB, patch)
2008-07-13 22:54 UTC, Dodji Seketeli
none Details | Review
basic support of disassembling to IDebugger (159.14 KB, patch)
2008-08-09 17:31 UTC, Dodji Seketeli
none Details | Review
Updated patch against master (112.93 KB, text/plain)
2009-09-20 15:27 UTC, Dodji Seketeli
  Details
Patch update (112.75 KB, patch)
2009-09-20 20:52 UTC, Dodji Seketeli
none Details | Review

Description Dodji Seketeli 2008-07-11 10:26:29 UTC
The title says it all.
Comment 1 Dodji Seketeli 2008-07-13 22:54:02 UTC
Created attachment 114500 [details] [review]
parse asm instruction list in GDB/MI format

This patch just adds support for parsing asm instructions as returned by GDB in MI format. The patch also adds a unit test for that.

There is no IDebugger API designed to query for the disassembled code from GDB yet. That will be the next step.
Comment 2 Dodji Seketeli 2008-08-09 17:31:01 UTC
Created attachment 116248 [details] [review]
basic support of disassembling to IDebugger

This patch adds support to disassembling to IDebugger and provides a first implementation. A basic diassembling UI can now be attempted on top of this API.

A (regression) test program is provided.
Comment 3 Dodji Seketeli 2008-08-09 17:32:16 UTC
Comment on attachment 116248 [details] [review]
basic support of disassembling to IDebugger

I forgot to say that the patch does not provide any GUI for disassembling yet. That should be the next step.
Comment 4 Jonathon Jongsma 2008-08-09 17:50:37 UTC
It's quite hard to review this since there's so many formatting changes in there as well.  There's a lot of changes to the functions dealing with reading registers.  I can't tell if there's any actual changes or if it's all formatting changes.  But from what I can tell, the new API looks ok.
Comment 5 Dodji Seketeli 2009-09-20 15:27:57 UTC
Created attachment 143533 [details]
Updated patch against master

This patch refreshes the previous one and cleans it up to remove all the cruft not directly related to disassembling. It should be easier to read and review. Pfeww, one year later. Looks like kids are growing.
Comment 6 Dodji Seketeli 2009-09-20 20:52:41 UTC
Created attachment 143545 [details] [review]
Patch update

Another update of the patch against latest master.
Comment 7 Dodji Seketeli 2010-04-24 07:31:59 UTC
This is now work in progress. See my last report on the mailing list at http://mail.gnome.org/archives/nemiver-list/2010-April/msg00000.html
Comment 8 Dodji Seketeli 2010-07-17 21:48:10 UTC
Support for this feature has just been merged into master.