GDB breakpoint function problem.

Post Reply
belan
Posts: 1
Joined: Thu Jul 22, 2010 7:43 am

GDB breakpoint function problem.

Post by belan » Thu Jul 22, 2010 8:29 am

Dear Sir,


A problem about breakpoint function of arm-eabi-gdb.exe within devkitARM_r31-win32 package

case 1:
(gdb) break panel.c:63
Breakpoint 1 at 0xc0932c: file ..\..\..\SOURCE\HWIF\PANEL\C\/PANEL.C, line 63.
--- Note by Belan : the gdb will create "path" + "/" + "file name". It is ok. ---

case 2:
(gdb) break panel_hw.c:366
No line 366 in file "..\..\..\SOURCE\HWIF\PANEL\C\PANEL_HW.C".
--- Note by Belan : if the file name include "_" character,
the gdb will not add "/" before "file name". It is failed. ---

case 3:
(gdb) break ..\..\..\SOURCE\HWIF\PANEL\C\/PANEL_HW.C:366
Breakpoint 2 at 0xc093e4: file ..\..\..\SOURCE\HWIF\PANEL\C\/PANEL_HW.C, line 366.
--- Note by Belan : if I key in "path" + "/" + "file name" by manaul, it is ok. ---

So, the file name include "_" will effect the breakpoint function.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest