Re: static globals

From: Russell Browne (russ_at_amc.com)
Date: Tue Sep 01 1998 - 01:40:49 BST


	
Doug Hughes wrote:

> Any chance that debugging of static global variables will be supported
> in an upcoming patch?
> 
> Every once in a while I have to debug a program that has static global structures
> for a particular .c file, and ups doesn't want to expand the structure. It
> always tells me bad address.

This appears to be a bug in the Sparkworks SC4 C compiler ( the C++ compiler
is OK).  For this compiler, ups gets a bogus address for uninitialized
static variables.

Rod is testing a work around for UPS version 3.33.

Russ Browne
Applied MicroSystems Corp.


This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:51:32 GMT