[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BOUNCE rtl@rtlinux.org: Approval required: (fwd)



>From owner-rtl Thu Jun 21 04:41:23 2001
Received: from hq.fsmlabs.com (localhost [[UNIX: localhost]])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f5LAfL408929
	for <rtl@fsmlabs.com>; Thu, 21 Jun 2001 04:41:21 -0600
Received: (qmail 4256 invoked by uid 1000); 21 Jun 2001 10:34:16 -0000
Date: Thu, 21 Jun 2001 14:34:16 +0400
From: Michael Barabanov <baraban@fsmlabs.com>
To: chandu Reddy <chandureddy@hclt.com>
Cc: rtl@fsmlabs.com
Subject: Re: regd RTL debugger
Message-ID: <20010621143416.A4238@fsmlabs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <002e01c0fa29$b46e1410$0bd2a8c0@hclt.com>
User-Agent: Mutt/1.3.18i
Organization: FSMLabs

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