Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Debugger plugin: GDB MI interface features and issues

(1/10) > >>

ollydbg:
I have tried OBF's new debugger plugin which use GDB-MI interface.
GIT source address

--- Code: ---https://github.com/obfuscated/cb_gdbmi

--- End code ---

EDIT 2013-05-09 : the current status of this plugin is Here

I build it under MinGW 4.6.x, and here is what I changed:
It looks like int32_t and int64_t is not defined.

So, I add such code snippet:(in src\cmd_queue.h)

--- Code: ---typedef int int32_t;
typedef long int int64_t;
--- End code ---

I adjust some include search path, I think the whole src folder can be put under:
cb_trunk\src\plugins
So that only relative include search path is needed. (Just like other plugin sources), also using this way, the pack.bat maybe are not needed.

Anyway, this plugin works GREAT!!!

MortenMacFly:

--- Quote from: ollydbg on April 21, 2012, 05:24:26 am ---So, I add such code snippet:(in src\cmd_queue.h)

--- Code: ---typedef int int32_t;
typedef long int int64_t;
--- End code ---

--- End quote ---
You should better include <cstdint> (stdint.h).

In fact, I never tried - can it run in parallel to the existing debugger? (I mean do I need to disable the other plugin?)

ollydbg:

--- Quote from: MortenMacFly on April 21, 2012, 06:02:11 am ---
--- Quote from: ollydbg on April 21, 2012, 05:24:26 am ---So, I add such code snippet:(in src\cmd_queue.h)

--- Code: ---typedef int int32_t;
typedef long int int64_t;
--- End code ---

--- End quote ---
You should better include <cstdint> (stdint.h).

--- End quote ---
OK, I will try it, thanks.


--- Quote ---In fact, I never tried - can it run in parallel to the existing debugger? (I mean do I need to disable the other plugin?)

--- End quote ---
Yes, you can either select the existing debugger or the gdb-mi debugger in the "Compiler setting“ dialog. There is a new tree item in the "debugger setting" dialog which is for configuring gdb-mi feature. Many UI parts I believe are shared together.

oBFusCATed:
@ollydbg: Use <cstdint> as Morten said
@morten: Yes you can use both and it should work, that is the idea of the api redesign in fact. Also if you find bugs please report them.


@admins: Can you move the topic in the plugins section?

Jenna:

--- Quote from: oBFusCATed on April 21, 2012, 08:10:23 am ---@admins: Can you move the topic in the plugins section?

--- End quote ---
Done !

Navigation

[0] Message Index

[#] Next page

Go to full version