[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [leeyang <leeyang@powerisernd.com>] (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [leeyang <leeyang@powerisernd.com>] (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Mon, 25 Jun 2001 07:45:34 +0200 (CEST)
>From owner-rtl Sun Jun 24 18:45:21 2001
Received: from public.wh.hb.cn (mail1.wh.hb.cn [202.103.0.118])
by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f5P0jJe01908
for <rtl@fsmlabs.com>; Sun, 24 Jun 2001 18:45:20 -0600
Received: from ip66 ([202.110.140.68])
by public.wh.hb.cn (Sun Internet Mail Server sims.4.0.2000.10.12.16.25.p8)
with SMTP id <0GFG00IL3N0V9B@public.wh.hb.cn> for rtl@fsmlabs.com; Mon,
25 Jun 2001 08:36:41 +0800 (CST)
Date: Sun, 24 Jun 2001 08:37:04 +0800
From: leeyang <leeyang@powerisernd.com>
Subject: Re: [rtl] Re: regd RTL debugger
To: rtl@fsmlabs.com
Message-id: <003d01c0fc45$f0f98040$42a8a8c0@ip66>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT
X-Priority: 3
X-MSMail-priority: Normal
References: <20010621143416.A4238@fsmlabs.com>
<012a01c0fcac$92eb4300$0bd2a8c0@hclt.com>
Maybe your code do some work needs -O2,such as open paraport and etc.
----- Original Message -----
From: "chandu Reddy" <chandureddy@hclt.com>
To: "Michael Barabanov" <baraban@fsmlabs.com>
Cc: <rtl@fsmlabs.com>
Sent: Sunday, June 24, 2001 8:52 PM
Subject: Re: [rtl] Re: regd RTL debugger
> 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 debugger( 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 -----
> > -- [rtl] ---
> > To unsubscribe:
> > echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> > echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> > --
> > For more information on Real-Time Linux see:
> > http://www.rtlinux.org/rtlinux/
> >
>
> ----- End of forwarded message from owner-rtl@fsmlabs.com -----
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/
>
>
----- End of forwarded message from owner-rtl@fsmlabs.com -----