Recent

Author Topic: Changing the folder for debugging in WinCE  (Read 5062 times)

PeterT

  • Newbie
  • Posts: 4
Changing the folder for debugging in WinCE
« on: December 05, 2009, 10:50:01 am »
Hello,

I need some help in debugging on WinCE.

I need to debug on a real WinCE device, not in the emulator (the device controls some hardware, which is not present in the emulator).

I have st up everything according to the wiki article and it also works OK for trivial test applications.

My problem is that the exe needs a whole subtree of other files to be in the same folder as the exe file.
And the \gdb folder (which is used by gdb to place my debugged exe into) disappears each time when I need to reset the hardware. So I would need to copy each time the whole subtree of files into the \gdb folder and it even may not have enough memory for all my files.

So I need to tell the debugger not to place the exe in the\gdb folder, but into another folder specified by me (on an external storage card). I have not found a way how to tell it, though.

Is there such a possibility - a parameter to gdb or whatever?
« Last Edit: December 05, 2009, 11:18:38 pm by PeterT »

DRIGUS

  • Jr. Member
  • **
  • Posts: 59
Re: Changing the folder for debugging in WinCE
« Reply #1 on: December 07, 2009, 08:45:16 am »
Hi PeterT.

  I maked a patch some time ago in order to pass extra options to gdb:

    http://bugs.freepascal.org/view.php?id=14866

  This should help you.  Hint: You need rev 22267 or higher. Still to do: Save these extra options.


hth,
  Björn
DRIGUS GmbH

 

TinyPortal © 2005-2018