hi,
I am using win98/gcc/emulator. the following error came while I debug my
program.
I didn't set any breakpoints. And I am totally confused. what would be
the problem?
Thank You,
Dinesh.
------------------------------------
Remote debugging under PalmOS using localhost:2000
Waiting... (Press Ctrl-C to connect to halted machine)
Program received signal SIGTRAP, Trace/breakpoint trap.
0x48164 in PilotMain (launchCode=0, cmdPBP=0x0, launchFlags=142) at
Ivox.c:153
(gdb) n
(gdb) n
(gdb) n
Too many break points, break point not installed
Cannot insert breakpoint 0:
Error accessing memory address 0x48170: Not owner.
(gdb)
----------------------------------------
initial code part :
DWord PilotMain(Word launchCode, Ptr cmdPBP, Word launchFlags)
{
Err err;
if (launchCode == sysAppLaunchCmdNormalLaunch)
if ((err = StartApplication()) == 0) {
EventLoop();
StopApplication();
}
}
return err;
}
static Err StartApplication(void)
{
FrmGotoForm(IvoxForm);
return 0;
}
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/