Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

integrated debugging under 2.6.x kernels

1 view
Skip to first unread message

Trane Francks

unread,
Feb 14, 2007, 5:48:19 AM2/14/07
to
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 tr...@gol.com Tokyo, Japan
// Practice random kindness and senseless acts of beauty.

theo

unread,
Feb 14, 2007, 12:37:10 PM2/14/07
to
If this is the only problem, have you applied the ptrace_interposer ?

http://www.theo.ch/kylix/suse10.html

Trane Francks

unread,
Feb 15, 2007, 4:33:25 AM2/15/07
to
On 2007-02-15 02:37 +0900, theo wrote:
> If this is the only problem, have you applied the ptrace_interposer ?
>
> http://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.

John Seward

unread,
Mar 22, 2007, 6:23:42 PM3/22/07
to
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:

http://andy.jgknet.de/oss/kylix/Forum/viewtopic.php?t=237

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.

Trane Francks

unread,
Mar 23, 2007, 11:59:53 PM3/23/07
to
On 2007-03-23 07:23 +0900, John Seward wrote:
> Trane,

Hi, John.

> 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:
>
> http://andy.jgknet.de/oss/kylix/Forum/viewtopic.php?t=237
>
> 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.

John Seward

unread,
Mar 24, 2007, 1:30:10 AM3/24/07
to
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>...


zeljko

unread,
Mar 24, 2007, 5:43:46 AM3/24/07
to
John Seward wrote:

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.

Lionel Reynaud

unread,
Mar 24, 2007, 7:25:56 AM3/24/07
to
Hi !

Could we hope to have one day the source of Kylix ?? Maybe if all the users
made a petition !!

Regards,
Lionel


"zeljko" <zel...@holobit.net> a écrit dans le message de news:
4604...@newsgroups.borland.com...

zeljko

unread,
Mar 24, 2007, 10:41:25 AM3/24/07
to
Lionel Reynaud wrote:

> 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.

0 new messages