Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Fotis Zafeiropoulos <fotis@mimis.ee.man.ac.uk>
Subject: Ladebug question
Date: 1999/07/20	[thread overview]
Message-ID: <37949E6E.ADF57A0D@mimis.ee.man.ac.uk> (raw)

Hi folks,

Working back on VMS the debugger allowed variable contents to 
be listed using syntax like:
a) "examine variable[5][6]" or
b) "examine variable[5]" or
c) "examine variable[5][0:10]"


I am now running (dx)ladebug on DU v4.0D and while I 
can do a) and b) using the "print" command, there is 
no way I can do c).

Because of this, when a pointer is declared (eg. int *array)
and then space is allocated using malloc (eg. for
10 integers) there is no way I can see the contents of
the array using "print array" (it gives me the memory
address), and not being able to do something like c) above,
I have to query the elements of the array one by one.

I also tried to use printf that is supposed to use C syntax
but no luck there either.

Any help will be very much appreciated.
Thanks in advance

Fotis Zafeiropoulos
Speech Processing Group
School of Engineering
University of Manchester
UK



                 reply	other threads:[~1999-07-20  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox