delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/26/09:28:39

Date: Sun, 26 Jan 1997 16:15:54 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Scott Frazer <frazer AT noneofyourbusiness DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: GDB and static variables
In-Reply-To: <5c849s$rer@cnn.exu.ericsson.se>
Message-ID: <Pine.SUN.3.91.970126161423.6261J-100000@is>
MIME-Version: 1.0

On Thu, 23 Jan 1997, Scott Frazer wrote:

> Yes, the same thing happens without the "-m486".  I have found that
> if I declare things like:
> 
> static int a_variable = { };
> 
> static struct a_struct_type a_struct = { { } };
> 
> GDB will have the proper debugging information.  While this is both
> a pain and ugly, it allows me to continue development.  I downloaded
> the sources for GDB and looked around in the source code hoping for
> something obvious to be wrong, but didn't have any luck.  Maybe 
> someone else can step up to the plate ...

This might be just the right case to post a bug report to 
bug-gnu-utils AT prep DOT ai DOT mit DOT edu and/or bug-gdb AT prep DOT ai DOT mit DOT edu.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019