This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [mingw] gdb eat a lot of memory and slowly when start an inferior
- From: asmwarrior <asmwarrior at gmail dot com>
- To: gdb at sourceware dot org
- Date: Fri, 27 Jan 2012 21:35:01 +0800
- Subject: Re: [mingw] gdb eat a lot of memory and slowly when start an inferior
- References: <4F228353.3010707@gmail.com> <4F22A3EB.7050204@gmail.com>
On 2012-1-27 21:17, xunxun wrote:
You can try gdb without python to check if it is related with python
modules?
No, it is not related to python, because both two version of gdb has the same python enabled.
I'm currently doing bisect on gdb git.
At least this revision does not have problem:
Author: Jan Kratochvil
Date: 2012-1-25 4:56:33
Message:
gdb/
Code cleanup.
* cli/cli-cmds.c (source_script_from_stream): Never fclose STREAM.
Update the function comment for it.
(source_script_with_search): Call make_cleanup_fclose for STREAM.
* cli/cli-script.c (script_from_file): Do not call make_cleanup_fclose
for STREAM.
----
Modified : gdb/ChangeLog
Modified : gdb/cli/cli-cmds.c
Modified : gdb/cli/cli-script.c
asmwarrior
ollydbg from codeblocks' forum