Author Topic: [OT] unofficial MinGW GDB gdb with python released  (Read 174257 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5230
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: [OT] unoffcial MinGW GDB gdb-7.2 with python released
« Reply #105 on: September 08, 2010, 01:20:39 pm »
The build steps( corss build windows gdb from linux) are list here in

http://code.google.com/p/qp-gcc/wiki/CrossbuildGDB


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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5230
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: [OT] unoffcial MinGW GDB gdb-7.2 with python released
« Reply #106 on: December 13, 2010, 03:35:28 pm »
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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5230
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: [OT] unoffcial MinGW GDB gdb with python released
« Reply #107 on: December 14, 2010, 01:38:47 am »
strange, my last post
Quote
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!!!

was list in the Recent Posts

but when I click the link :
http://forums.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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5230
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: [OT] unoffcial MinGW GDB gdb with python released
« Reply #108 on: December 17, 2010, 03:56:55 am »
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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5230
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: [OT] unoffcial MinGW GDB gdb with python released
« Reply #109 on: January 10, 2011, 04:09:33 am »
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.

Offline Borr

  • Multiple posting newcomer
  • *
  • Posts: 29
Re: [OT] unoffcial MinGW GDB gdb with python released
« Reply #110 on: March 10, 2011, 08:42:11 am »
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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12061
    • Travis build status
Re: [OT] unoffcial MinGW GDB gdb with python released
« Reply #111 on: March 10, 2011, 10:14:30 am »
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!]

Offline Borr

  • Multiple posting newcomer
  • *
  • Posts: 29
Re: [OT] unoffcial MinGW GDB gdb with python released
« Reply #112 on: March 10, 2011, 10:22:32 am »
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

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5230
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: [OT] unoffcial MinGW GDB gdb with python released
« Reply #113 on: March 29, 2011, 03:10:17 pm »
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
« Last Edit: April 02, 2011, 03:24:29 am by 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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5230
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: [OT] unoffcial MinGW GDB gdb with python released
« Reply #114 on: May 09, 2011, 09:36:12 am »
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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5230
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: [OT] unoffcial MinGW GDB gdb with python released
« Reply #115 on: May 12, 2011, 01:31:56 pm »
FYI:
I create a wiki page on how to build gdb under msys+mingw.
see:
http://code.google.com/p/qp-gcc/wiki/build_gdb_msys_en
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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5230
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: [OT] unoffcial MinGW GDB gdb with python released
« Reply #116 on: June 06, 2011, 07:50:04 am »
updated the gdb cvs mingw build on 2011-06-04
see [OT] unoffcial 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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5230
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: [OT] unofficial MinGW GDB gdb with python released
« Reply #117 on: August 03, 2011, 05:20:31 am »
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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5230
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: [OT] unofficial MinGW GDB gdb with python released
« Reply #118 on: August 04, 2011, 05:12:25 am »
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.

Offline codeur

  • Multiple posting newcomer
  • *
  • Posts: 113
    • Code::Blocks EDU-Portable
Re: [OT] unofficial MinGW GDB gdb with python released
« Reply #119 on: August 05, 2011, 06:27:42 am »
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!