This is the mail archive of the gdb-patches@sourceware.org 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: Testsuite failures


On Mon, Jul 17, 2006 at 12:25:36PM +1200, Nick Roberts wrote:
>  > > It looks good to me.  Also annota3.exp in gdb.cp (patch attached).  It
>  > > might be easier to use the $hex variable but I couldn't get it to work.
>  > 
>  > You probably need a "global hex" somewhere?
> 
> Yes, but where?  It didn't seem to work at top level in annota3.exp.  The
> other files that use $hex have "global hex" but their use is always within a
> procedure.  I can't see where hex is defined (I had thought it would be in
> src/gdb/testsuite/lib/gdb.exp).

If you're not in a procedure you're normally at global scope.  Must
have been some other problem, maybe quoting.  The file already uses
$hex elsewhere.

-- 
Daniel Jacobowitz
CodeSourcery


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