On Thu, 26 Apr 2007, Adrian Chadd wrote:
oops, try changing pr for my_data; and print p, print len.
(gdb) print * ((CossPendingReloc *) my_data)
$2 = {cs = 0x8297600, node = {data = 0x8d39290, prev = 0x0, next = 0x0},
len = 761, original_filen = 1402, new_filen = 52, ops = {head = 0x8d39410,
tail = 0x8d39410}, p = 0x11546038 "",
locked_membuf = 0x11512010}
(gdb) print p
$3 = 0x11546038 ""
(gdb) print len
No symbol "len" in current context.
(gdb)
Cheers.
--
Mark Powell - UNIX System Administrator - The University of Salford
Information Services Division, Clifford Whitworth Building,
Salford University, Manchester, M5 4WT, UK.
Tel: +44 161 295 4837 Fax: +44 161 295 5888 www.pgp.com for PGP key