This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cli/1211: set


The following reply was made to PR cli/1211; it has been noted by GNATS.

From: David Carlton <carlton@math.stanford.edu>
To: vera0010@sina.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: cli/1211: set
Date: 16 May 2003 09:15:27 -0700

 On 16 May 2003 02:13:12 -0000, vera0010@sina.com said:
 
 > gdb> set i=0
 > You'll get a error message as:  i undefined ....
 > But I'm sure I've defined it in my program.
 
 We'll need a more precise recipe for reproducing this bug: you'll need
 to give us a program that we can compile together with steps for how
 to reproduce it.
 
 One possibility is that the variable has been optimized away; are you
 compiling with optimization?  Does 'print i' show a value for the
 variable?
 
 David Carlton
 carlton@math.stanford.edu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]