No breakpoints in remote debug.

Leon Pollak leonp at plris.com
Sat Jan 22 10:28:10 GMT 2011


Volodya, 
Excuse me, please, for tediousness - but please, only one sentence ...:-)

When, at what point are saved breakpoints inserted from kdevelop into gdb?
The rest I'll try to understand by myself...

Excuses again....
----------------------------------------------------------------------------
Sic!: plane gdb works fine.
I debug my application (kdev 4.1.0, gdb 7.2) remotely from my PC to another 
linux target via TCP/IP.
The .gdbinit file is set/written in "Run gdb script" edit box of the "Launch 
configurations" dialogue (two other boxes are blank) and contains:
--
set sysroot /opt/FS/
set remote exec-file /common/csu
file /Projects/CSU/build/csu
target extended-remote 192.168.50.4:44000
--

I can run the application with "run" command from the gdb window - otherwise 
it does not starts (continue button/command causes the gdb to say "the program 
is not been run"). Minor problem - I can add "run" at the end of the .gdbinit

Major problem: 
Running program does not stop at the predefined breakpoints - only at those 
which were inserted in the current session. All my attempts to make it stop at 
predefined BP do not success.

When are the predefined BP inserted?
how can I solve this issue?
-- 
Leon





More information about the KDevelop mailing list