Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
debugger plugin feature request about the initial command of GDB
ollydbg:
Yes, gdb was not friendly handle windows style path.
I have manually hack the GDB's source code, and adjust the "data-directory" under Win32. Now, it works OK.
I suppose that we have such file structure
gdb executable is located under:
--- Code: ---PathToMinGW\bin
--- End code ---
and the python script was located under
--- Code: ---PathToMinGW\share\gdb
--- End code ---
the patch can be found in gdb2011-08-08.patch, it includes other windows path handling problem fix.
ironhead:
--- Quote from: ollydbg on August 08, 2011, 05:15:40 pm ---Yes, gdb was not friendly handle windows style path.
I have manually hack the GDB's source code, and adjust the "data-directory" under Win32. Now, it works OK.
I suppose that we have such file structure
gdb executable is located under:
--- Code: ---PathToMinGW\bin
--- End code ---
and the python script was located under
--- Code: ---PathToMinGW\share\gdb
--- End code ---
the patch can be found in gdb2011-08-08.patch, it includes other windows path handling problem fix.
--- End quote ---
This fixes the issue, but it's getting to the point where gdb (at least for windows) needs to be heavily customized to play nice with C::B. Wouldn't an option also be to make the start command for the debugger configurable (or at least allow additional parameters), as per ollydbg's original post?
oBFusCATed:
Yes, I'll add an option, but I guess it won't happen soon.
oBFusCATed:
BTW: have you tried this command: "set data-directory" http://sourceware.org/gdb/onlinedocs/gdb/Data-Files.html ?
reckless:
--- Quote ---reckless: I'm not sure I've understand the second part of your post...
--- End quote ---
just trying to explain how it could be made to work without hacking the code :) most times if not in a posix shell i found that the tools could be made to work if i moved the folders containing data to where the executable is.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version