News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

[OT] unofficial MinGW GDB gdb with python released

Started by ollydbg, October 08, 2009, 08:21:52 AM

Previous topic - Next topic

ollydbg

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ollydbg

reminder:

2010-12-13
build a new version link to the python 2.7.1 lib, you can download from:
gdb-7.2.50.20101213.7z
You need to have python 2.7.1 installed on your system.

I'm really appreciate to xunxun1982's help!!!
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ollydbg

strange, my last post
Quote2010-12-13
build a new version link to the python 2.7.1 lib, you can download from:
gdb-7.2.50.20101213.7z
You need to have python 2.7.1 installed on your system.

I'm really appreciate to xunxun1982's help!!!

was list in the Recent Posts

but when I click the link :
http://forums.next.codeblocks.org/index.php/topic,11301.msg93230.html#msg93230

I still can't see that post  :(

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ollydbg

guys, I just update this wiki page GDB to introduce how to upgrade to the latest gdb.

See the last section of GDB.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ollydbg

I just update the original page:

1, a new cvs version is released for download.
2, a full steps description to build gdb on MinGW+MSYS is added.

see:
[OT] unoffcial MinGW GDB gdb with python released

thanks.

ollydbg
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Borr

I have a Unicode build wxWidgets 2.8.10, gdb-7.2.50.20101213 with python, MinGW 4.4.1, OS: WinXP SP3, C::B 10.05.
Quote
(gdb) show charset
The host character set is "auto; currently CP1251".
The target character set is "auto; currently CP1251".
The target wide character set is "auto; currently UTF-16".

My problem is that I can debug wxString (not English). In the debug window I can see is not readable symbols(Is Like "\320\363\367\355\356\351 \357\360\350\365\356\344" instead of "Проба"). Has anyone solved this problem?

oBFusCATed

What is the charset of your string?
Have you tried the python pretty printers for wxWidgets?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Borr

I updated C::B to rev 7017 and it will work.

Quote
What is the charset of your string?

system cp1251; C::B UTF-8; console cp866.

Quote
Have you tried the python pretty printers for wxWidgets?

Yes

ollydbg

#113
FYI:
xunxun1982 has release a gcc mingw 32 package
MinGW_gcc4.5.3.20110324_static_win32.7z
which include a new gdb 7.2.50 20110319 with python support.


I just found that there was a crash using gdb 7.2.50 20110319 when debugging c::b under c::b, and I build a new one
gdb-7.2.50.20110401.7z

welcome to test it. :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ollydbg

FYI:
xunxun1982 has release a gcc mingw 32 package

MinGW_gcc4.5.4.20110428_static_win32.7z
which include a new gdb 7.3.50 20110430 with python support.

also a portable c::b Portable_CodeBlocks_svn7128.7z

More information can be found on his site:pcxprj
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ollydbg

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ollydbg

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ollydbg

update the GDB binary to 20110802 with some Windows Patches.
See [OT] unofficial MinGW GDB gdb with python released for more details.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

ollydbg

Sorry, the 20110802 has some problems, and I fixed it by updating to a new 20110804 build. see [OT] unofficial MinGW GDB gdb with python released for some details.
Sorry for the inconvenience.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

codeur

Thanks ollydbg for maintaining the unofficial MinGW gdb with python, and also for the translation to English of the "wiki page on how to build gdb". Both are very useful!