[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom ["chandu Reddy" <chandureddy@hclt.com>] (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom ["chandu Reddy" <chandureddy@hclt.com>] (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Tue, 26 Jun 2001 07:56:52 +0200 (CEST)
>From owner-rtl Mon Jun 25 21:51:11 2001
Received: from saraswathi.hclt.co.in ([202.54.64.6])
by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f5Q3pAe08357;
Mon, 25 Jun 2001 21:51:10 -0600
Received: from grofw (router.hclt.co.in [202.54.64.1]) by saraswathi.hclt.co.in with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
id NA8KVKP8; Tue, 26 Jun 2001 09:28:47 +0530
Received: from CHANDUREDDY ([192.168.210.11]) by sakthi.hclt.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
id NTC4K3BD; Tue, 26 Jun 2001 09:15:16 +0530
Message-ID: <001c01c0fe18$0e318350$0bd2a8c0@hclt.com>
From: "chandu Reddy" <chandureddy@hclt.com>
To: <rtl@fsmlabs.com>
Cc: "Michael Barabanov" <baraban@fsmlabs.com>
References: <20010621143416.A4238@fsmlabs.com><012a01c0fcac$92eb4300$0bd2a8c0@hclt.com> <003d01c0fc45$f0f98040$42a8a8c0@ip66>
Subject: Re: [rtl] Re: regd RTL debugger
Date: Tue, 26 Jun 2001 09:14:39 +0100
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Hi
I am not using anythiing related to parallel port,
the following are the functions i used
1. thread creation,
2. thread periodic
3. thread suspend
4 thread suspend
thats all, i created 3 threads, in one thread function i called
breakpoint() function.
Thanks
chandu
> Maybe your code do some work needs -O2,such as open paraport and etc.
> ----- Original Message -----
>
From: "chandu Reddy" <chandureddy@hclt.com>
>
>
> > Hi
> > all
> >
> > i did the same, what u told.
> > i removed the -O2 option in CFLAGS and compiled my code.
> > now its giving error that the unresoved symblos regd schedulre
> > finction names,
> > when i am trying to insert my module in to the kernel.
> > prevoiusly it didn't give any error.
> >
> > and i ghave one more doubt that, can i use the
ebugger( rtl_debug.o)
> > directly for every module programme.
> > or i have to compile the debugger along with perticular module each
> > time.
> > i mean to set archtecture links and all? what is given in the
debugger
> > directory example hello programme.
> >
> >
> > Thanks
> >
> > chandu
> >
> >
> > ----- Original Message -----
> > From: Michael Barabanov <baraban@fsmlabs.com>
> > To: chandu Reddy <chandureddy@hclt.com>
> > Cc: <rtl@fsmlabs.com>
> > Sent: Thursday, June 21, 2001 11:34 AM
> > Subject: [rtl] Re: regd RTL debugger
> >
> >
> > > > whether it is possible to use one module rtl_debug.o to debug
different
> > modules
> > > > separately used by two people, i faced probelm while doing this.
> > >
> > > No, it's not possible. There's no concept of ownership of RTLinux
> > > threads; only root can create them anyway.
> > >
> > > > i am unable to set or print the varianbles some times via gdb
just
> > command line , not using GDB)
> > > > like the context is as follws
> > > > 1) global variables of a file( assume here i am having only one
file)
> > in a module
> > >
> > > Probably a bug in gdb. Try explicitely initializing your global
variables,
> > > for example to 0.
> > >
> > > > 2) local variable in functions otherthan threads.
> > > > printing and setiing the variables in threads is working
> > properly?
> > >
> > > gcc sometimes optimizes local variables away. You need to compile your
> > module
> > > without -fomit-frame-pointer and/or without -O2.
> > >
> > > Michael..
> > >
>
----- End of forwarded message from owner-rtl@fsmlabs.com -----