Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Array of short values
@ 2007-02-14 15:41 Christoph Bartoschek
  2007-02-14 15:43 ` Frederic RISS
  2007-02-14 15:51 ` Daniel Jacobowitz
  0 siblings, 2 replies; 5+ messages in thread
From: Christoph Bartoschek @ 2007-02-14 15:41 UTC (permalink / raw)
  To: gdb

Hi,

is it possible to easily set an array of short as a convenience variable?

set $arr = (short *) {1, 2, 3}

Currently I have to use:

set $arr = (short *) {0x00020001, 0x00000003}

Greetings,
Christoph


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

end of thread, other threads:[~2007-02-15  1:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-14 15:41 Array of short values Christoph Bartoschek
2007-02-14 15:43 ` Frederic RISS
2007-02-14 15:51 ` Daniel Jacobowitz
2007-02-14 17:47   ` Christoph Bartoschek
2007-02-15  8:53     ` Michael Snyder

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