Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Debugger plugin: GDB MI interface features and issues
ollydbg:
4G, but I don't think that's the crash reason. gdb takes 180M.
oBFusCATed:
Ollydbg: I've committed your patch, thank you.
ollydbg:
--- Quote from: MortenMacFly on April 21, 2012, 06:02:11 am ---
--- Quote from: ollydbg on April 21, 2012, 05:24:26 am ---So, I add such code snippet:(in src\cmd_queue.h)
--- Code: ---typedef int int32_t;
typedef long int int64_t;
--- End code ---
--- End quote ---
You should better include <cstdint> (stdint.h).
--- End quote ---
@OBF, can you add this?
In my PCXMinGW 4.6.3, if I wrote:
--- Code: ---#include <cstdint>
--- End code ---
I will have a build error
--- Code: ---In file included from e:\code\gcc\pcxmingw463\bin\../lib/gcc/i686-w64-mingw32/4.6.3/include/c++/cstdint:35:0,
from src\cmd_queue.h:17,
from src\cmd_queue.cpp:1:
e:\code\gcc\pcxmingw463\bin\../lib/gcc/i686-w64-mingw32/4.6.3/include/c++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
--- End code ---
It means I need to set some extra compiler options.
But using
--- Code: ---#include "stdint.h"
--- End code ---
works OK.
BTW:
Can you make the macro replacement on the GDB initial command?
I would like such:
--- Code: ---source $(TARGET_COMPILER_DIR)bin\my.gdb
--- End code ---
instead of
--- Code: ---source E:\code\gcc\PCXMinGW463\bin\my.gdb
--- End code ---
Thanks.
oBFusCATed:
--- Quote from: ollydbg on April 27, 2012, 03:27:46 am ---But using
--- Code: ---#include "stdint.h"
--- End code ---
works OK.
--- End quote ---
Why would you use quotes instead of angled brackets? If it works with the brackets I could change it...
--- Quote from: ollydbg on April 27, 2012, 03:27:46 am ---Can you make the macro replacement on the GDB initial command?
--- End quote ---
OK
ollydbg:
--- Quote from: oBFusCATed on April 27, 2012, 08:16:13 am ---
--- Quote from: ollydbg on April 27, 2012, 03:27:46 am ---But using
--- Code: ---#include "stdint.h"
--- End code ---
works OK.
--- End quote ---
Why would you use quotes instead of angled brackets? If it works with the brackets I could change it...
--- End quote ---
Oh, this is a mistake. It should be
--- Code: ---#include <stdint.h>
--- End code ---
Because its a system header. So, I changed it, and it works Ok.
--- Quote ---
--- Quote from: ollydbg on April 27, 2012, 03:27:46 am ---Can you make the macro replacement on the GDB initial command?
--- End quote ---
OK
--- End quote ---
Thanks. I'm also hoping this gdb_mi plugin be put in the C::B trunk. :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version