NEW ROBOT dandroid (Carset GP36 as first set)
This robot was developed with linux and tested with windows (VC++). It will replace the usr robot step by step. git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5882 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: a8c17821f15be938c3d94e4179e0d10b0c5ee243 Former-commit-id: 68dc770818f18615feeadecc3f404ea7ba1b4b2d
This commit is contained in:
parent
17436d2c90
commit
18c71d167b
2 changed files with 3 additions and 2 deletions
|
@ -2,6 +2,7 @@ INCLUDE(../../cmake/macros.cmake)
|
|||
|
||||
# Official robots.
|
||||
SD_ADD_SUBDIRECTORY(human)
|
||||
SD_ADD_SUBDIRECTORY(dandroid)
|
||||
SD_ADD_SUBDIRECTORY(kilo2008)
|
||||
SD_ADD_SUBDIRECTORY(networkhuman)
|
||||
SD_ADD_SUBDIRECTORY(simplix)
|
||||
|
|
|
@ -493,14 +493,14 @@ void* GfMemoryManagerAlloc (size_t size, uint8 type, void* retAddr)
|
|||
void* b = (void*) (c + 1); //c is still pointing to the data
|
||||
|
||||
// Hunting memory leaks ...
|
||||
#define IDTOSTOP 428767 // ID of block you are looking for
|
||||
#define IDTOSTOP 12144 // ID of block you are looking for
|
||||
char buf[10];
|
||||
snprintf(buf,sizeof(buf),"%p",c->RAdr);
|
||||
buf[0] = 'X';
|
||||
buf[1] = 'X';
|
||||
buf[2] = 'X';
|
||||
buf[3] = 'X';
|
||||
if ((ID == IDTOSTOP) || (strncmp(buf,"XXXXF19F",8) == 0))
|
||||
if ((ID == IDTOSTOP) || (strncmp(buf,"XXXX511C",8) == 0))
|
||||
{
|
||||
ID = 0; // set breakpoint here
|
||||
// to stop at allocation of
|
||||
|
|
Loading…
Reference in a new issue