comp.lang.ada
 help / color / mirror / Atom feed
* Viewing an Unbounded_String in GVD
@ 2002-03-17 16:12 William C. Brennan
  2002-03-18 12:37 ` Marc A. Criley
  0 siblings, 1 reply; 2+ messages in thread
From: William C. Brennan @ 2002-03-17 16:12 UTC (permalink / raw)


1. Maybe I'm missing the obvious, but how does one use GVD to view the relevant 
contents of an Unbounded_String?  (I'm running GNAT 3.13p under Linux.)

2. Assuming that getting to the "meat" of an Unbounded_String may require 
manual specification through many sub-fields, is there a way to configure GVD 
(saved script?) so that I can look at any Unbounded_String *conveniently* 
(i.e., without a bizillion keystrokes)?

A pointer to the relevant portions of the documentation would be great.


Thanks!

-- 
Bill Brennan
brennan@netaxs.com




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Viewing an Unbounded_String in GVD
  2002-03-17 16:12 Viewing an Unbounded_String in GVD William C. Brennan
@ 2002-03-18 12:37 ` Marc A. Criley
  0 siblings, 0 replies; 2+ messages in thread
From: Marc A. Criley @ 2002-03-18 12:37 UTC (permalink / raw)


"William C. Brennan" wrote:
> 
> 1. Maybe I'm missing the obvious, but how does one use GVD to view the relevant
> contents of an Unbounded_String?  (I'm running GNAT 3.13p under Linux.)

In GNAT, the "reference" field of the Unbounded_String variable is a
pointer to the string's characters, so I typically just use the gdb
console window to type:

  p Strvar.reference.all


Marc A. Criley
Consultant
Quadrus Corporation
www.quadruscorp.com



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-18 12:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-17 16:12 Viewing an Unbounded_String in GVD William C. Brennan
2002-03-18 12:37 ` Marc A. Criley

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