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

Debugger plugin: GDB MI interface features and issues

<< < (2/10) > >>

ollydbg:
One tiny feature request is:
Could you add the macro replacement in the "GDB path" and "initial command" edit control. This is already implemented in trunk. Thanks.

MortenMacFly:

--- Quote from: oBFusCATed on April 21, 2012, 08:10:23 am ---@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.

--- End quote ---
Nice to hear. If it seems to work already (maybe not perfect) is there any particular reason not t move it into trunk now? (We don't necessarily need to add it to the build system until you tell though...).

Pecan:

--- Quote from: ollydbg on April 21, 2012, 05:24:26 am ---I have tried OBF's new debugger plugin which use GDB-MI interface.
SVN address

--- Code: ---svn://cmpt.benbmp.org/cb_gdb_mi/debbugger_gdbmi

--- End code ---


Anyway, this plugin works GREAT!!!

--- End quote ---

I can debug small projects with it, but it crashes while it is loading DLL's on my system when I attempt to debug CB with it.

Have you tried to debug CB with it? Did it work?
What system are you running? What version of GCC and GDB are you using?

oBFusCATed:

--- Quote from: ollydbg on April 21, 2012, 11:41:34 am ---Could you add the macro replacement in the "GDB path" and "initial command" edit control. This is already implemented in trunk. Thanks.

--- End quote ---
Yes, I will, I think Pecan showed me a patch somewhere about this, but I've not time to apply it.

Morten: I'm thinking of adding a src/plugin/debuggers/ directory and to put all debugger plugins there.

ollydbg:

--- Quote from: Pecan on April 21, 2012, 01:33:10 pm ---
--- Quote from: ollydbg on April 21, 2012, 05:24:26 am ---I have tried OBF's new debugger plugin which use GDB-MI interface.
SVN address

--- Code: ---svn://cmpt.benbmp.org/cb_gdb_mi/debbugger_gdbmi

--- End code ---


Anyway, this plugin works GREAT!!!

--- End quote ---

I can debug small projects with it, but it crashes while it is loading DLL's on my system when I attempt to debug CB with it.

--- End quote ---
Everything works fine here.  :)

--- Quote ---Have you tried to debug CB with it? Did it work?
--- End quote ---
I can debug CB, and I can debug a wxAPP which link to wx debug library (In this case, I can debug to wxWidget's source code)


--- Quote ---What system are you running? What version of GCC and GDB are you using?

--- End quote ---
WindowsXP, I use GCC 4.6.3 from xunxun(http://pcxprj.googlecode.com/files/MinGW64CRT_gcc4.6.3release_sse2static_win32.7z)
The GDB is build myself using GCC 4.6.3, it is GDB CVS code with some of my patches, See:
http://forums.codeblocks.org/index.php/topic,11301.msg77000.html#msg77000  (This page contains more details)
The GDB is build with python enabled (link to python DLL, so you need to download the python 2.7.x official release).

Oh, I see the page [OT] unofficial MinGW GDB gdb with python released is a 2012-02-16 release, I'm currently use 2012-04-20 CVS build, but I don't think there are much difference. :) If you want/ask to try my new build(2012-04-20), I can make/upload a new release.  :)


--- Quote from: oBFusCATed on April 21, 2012, 01:55:56 pm ---
--- Quote from: ollydbg on April 21, 2012, 11:41:34 am ---Could you add the macro replacement in the "GDB path" and "initial command" edit control. This is already implemented in trunk. Thanks.

--- End quote ---
Yes, I will.

--- End quote ---
Nice to put gdb/mi debugger plugin in the trunk!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version