www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/20/11:30:51

From: Thomas Demmer <demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De>
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> <Pine DOT NXT DOT 3 DOT 96 DOT 980219231605 DOT 524A-100000 AT neelix DOT iiic DOT ethz DOT ch>
NNTP-Posting-Host: bvb.lstm.ruhr-uni-bochum.de
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 
<Ctrl>F7 
/x *tst <ret>

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                *
*************************************************************

- Raw text -


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