Board index » kylix » integrated debugging under 2.6.x kernels

integrated debugging under 2.6.x kernels


2007-02-14 06:48:19 PM
kylix1
I've recently had to upgrade my Slackware 11 system up to kernel
2.6.17.13 and along with that integrated debugging is now broken. I
remember an old thread in mid-/late 2005 where 2.6.11 broke debugging
under the IDE. Is this still sadly the case or has somebody ever
discovered a workaround?
Cheers,
trane
--
/////////////////////////////////////////////////////////
// Trane Francks XXXX@XXXXX.COM Tokyo, Japan
// Practice random kindness and senseless acts of beauty.
 
 

Re:integrated debugging under 2.6.x kernels

If this is the only problem, have you applied the ptrace_interposer ?
www.theo.ch/kylix/suse10.html
 

Re:integrated debugging under 2.6.x kernels

On 2007-02-15 02:37 +0900, theo wrote:
Quote
If this is the only problem, have you applied the ptrace_interposer ?

www.theo.ch/kylix/suse10.html
Hi, Theo.
Thank you very much for reminding me of this workaround. It's perhaps a
little bit slow, but it _does_ fix the problem. About the only thing
that is a little strange is that delphi and wineserver remain in memory
after exiting the kylix IDE. That is solved by "killall delphi" afterward.
Thanks for helping! I really appreciate it.
trane
--
/////////////////////////////////////////////////////////
// Trane Francks XXXX@XXXXX.COM Tokyo, Japan
// Practice random kindness and senseless acts of beauty.
 

{smallsort}

Re:integrated debugging under 2.6.x kernels

Trane,
When I applied the ptrace_interposer some months ago (onto Slackware
10.2; 11 might be coming <g>), I had to modify it according to the
instructions at:
andy.jgknet.de/oss/kylix/Forum/viewtopic.php
Did you (not) need to do this? That fix took me a while to find; I'm
surprised there hasn't been more mention of it, or that the .c file
hasn't been changed.
Thanks. As explanation: I'm getting a little worried about being able
to "reconstitute" my software setups if machines get nuked. (A storm
earlier this year took down power lines, and sent massive charges
"backwards" up the ground lines, and fried all sorts of stuff.) I'm
trying to put together all the files and instructions needed to get
everything back up and running on a new machine.
 

Re:integrated debugging under 2.6.x kernels

On 2007-03-23 07:23 +0900, John Seward wrote:
Quote
Trane,
Hi, John.
Quote
When I applied the ptrace_interposer some months ago (onto Slackware
10.2; 11 might be coming <g>), I had to modify it according to the
instructions at:

andy.jgknet.de/oss/kylix/Forum/viewtopic.php

Did you (not) need to do this? That fix took me a while to find; I'm
surprised there hasn't been more mention of it, or that the .c file
hasn't been changed.
On Slackware 11.0, I had no trouble with it at all. It compiled straight
up. I installed it according to the README and it seems to work just
fine. The only "gotcha" I have is that with kernel 2.4.33.3, Kylix
exited correctly and with 2.6.17.13, delphi needs to be killed manually.
Oh, and I need to use LD_ASSUME_KERNEL=2.4.33.3.
trane
--
/////////////////////////////////////////////////////////
// Trane Francks XXXX@XXXXX.COM Tokyo, Japan
// Practice random kindness and senseless acts of beauty.
 

Re:integrated debugging under 2.6.x kernels

Trane Francks wrote:
Quote
The only "gotcha" I have is that with kernel 2.4.33.3, Kylix exited
correctly and with 2.6.17.13, delphi needs to be killed manually.
Thanks, I'll remember to pack the shotgun. On a more serious note...
with 2.6.13 (Slack 10.2 straight off the CDs) Kylix also exits
correctly.
If possible, I'll just keep the development on the existing machine,
and deploy onto later versions. I may be gettin' too old for all this
'stallin' <g>...
 

Re:integrated debugging under 2.6.x kernels

John Seward wrote:
Quote
Trane Francks wrote:

>The only "gotcha" I have is that with kernel 2.4.33.3, Kylix exited
>correctly and with 2.6.17.13, delphi needs to be killed manually.

Thanks, I'll remember to pack the shotgun. On a more serious note...
with 2.6.13 (Slack 10.2 straight off the CDs) Kylix also exits
correctly.

If possible, I'll just keep the development on the existing machine,
and deploy onto later versions. I may be gettin' too old for all this
'stallin' <g>...
ptrace_interposer works with kernel 2.6.20 also, just take care about
distros with glibc>2.3 (eg. 2.4.XX, 2.5.XX) kylix won't start on such
distros, so you have to leave your development on any distro glibc < 2.4
based.
 

Re:integrated debugging under 2.6.x kernels

Hi !
Could we hope to have one day the source of Kylix ?? Maybe if all the users
made a petition !!
Regards,
Lionel
"zeljko" < XXXX@XXXXX.COM >a écrit dans le message de news:
XXXX@XXXXX.COM ...
Quote
John Seward wrote:

>Trane Francks wrote:
>
>>The only "gotcha" I have is that with kernel 2.4.33.3, Kylix exited
>>correctly and with 2.6.17.13, delphi needs to be killed manually.
>
>Thanks, I'll remember to pack the shotgun. On a more serious note...
>with 2.6.13 (Slack 10.2 straight off the CDs) Kylix also exits
>correctly.
>
>If possible, I'll just keep the development on the existing machine,
>and deploy onto later versions. I may be gettin' too old for all this
>'stallin' <g>...

ptrace_interposer works with kernel 2.6.20 also, just take care about
distros with glibc>2.3 (eg. 2.4.XX, 2.5.XX) kylix won't start on such
distros, so you have to leave your development on any distro glibc < 2.4
based.

 

Re:integrated debugging under 2.6.x kernels

Lionel Reynaud wrote:
Quote
Could we hope to have one day the source of Kylix ?? Maybe if all the
users made a petition !!
I'm not sure that's possible ... ask guys from CodeGear maybe they'll know
more about it.