From: Thomas Demmer Newsgroups: comp.os.msdos.djgpp Subject: Re: Rhide strings Date: Fri, 20 Feb 1998 16:53:23 +0100 Organization: Lehrstuhl fuer Stroemungsmechanik Lines: 54 Message-ID: <34EDA6F3.DCCCF844@LSTM.Ruhr-UNI-Bochum.De> References: <34EB9D02 DOT D3612F30 AT linux1 DOT aut DOT utt DOT ro> NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Andreas Tscharner wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > On Wed, 18 Feb 1998, Vlad Pambucol wrote: > > > Hello > > > > I rewrite my question: > > I have this program in rhide: > > int *tst; > > .... > > tst=alloca(100); > > > > I want to see all the elements of tst in watch. How could I do > > that?????? > > Type *tst > > Please, help me. > > In Borland C was: tst,100 > > > > Second question: how could I di\ysplay a watch quantitie in hex????? > > printf("%x", number); That is not exactly the answer he was looking for. This is how to print out the value to user screen. What he was looking for was F7 /x *tst to have the value of *tst be displayed in hex in the watch window of RHIDE. I cannot remember the repeat operator off-hand, IIRC it would be something like /100 *tst but I would not believe me but instead check the gdb info files. -- Ciao Tom ************************************************************* * Thomas Demmer * * Lehrstuhl fuer Stroemungsmechanik * * Ruhr-Uni-Bochum * * Universitaetsstr. 150 * * D-44780 Bochum * * Tel: +49 234 700 6434 * * Fax: +49 234 709 4162 * * http://www.lstm.ruhr-uni-bochum.de/~demmer * *************************************************************