Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Ladebug question
@ 1999-07-20  4:00 Fotis Zafeiropoulos
  0 siblings, 0 replies; only message in thread
From: Fotis Zafeiropoulos @ 1999-07-20  4:00 UTC (permalink / 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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-07-20  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-20  4:00 Ladebug question Fotis Zafeiropoulos

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