On Thu, 26 Apr 2007, Adrian Chadd wrote:
can you please do:
frame 2
print *ctrlp ?
(gdb) frame 2
#2 0x080e729f in aioCheckCallbacks (SD=0x82bb000) at aufs/async_io.c:319
319 done_handler(ctrlp->fd, their_data, ctrlp->bufp,
(gdb) print *ctrlp
$4 = {next = 0x0, fd = 21, operation = 1, done_handler = 0,
done_handler_data = 0x0, result = {aio_return = -1, aio_errno = 22, _data
= 0x8c3ad00, data = 0x8c389c0}, len = 761, bufp = 0x8d09800 "",
free_func = 0, node = {data = 0x8c389c0, prev = 0x0, next = 0x0}}
(gdb)
Cheers.
Adrian
#3 0x080c97b2 in storeDirCallback () at store_dir.c:508
#4 0x0807b710 in comm_select (msec=10) at comm_generic.c:377
#5 0x080a568a in main (argc=2, argv=0xbfbfeb88) at main.c:837
(gdb) frame 1
#1 0x080ed46d in storeCossCompletePendingReloc (fd=21, my_data=0x8d39290,
buf=0x11546038 "", aio_return=290742328, aio_errno=290742328) at
coss/store_io_coss.c:1160
1160 xmemcpy(p, buf, len);
(gdb) print *op
$1 = {type = COSS_OP_NONE, node = {data = 0x0, prev = 0x0, next = 0x0},
pending_op_node = {data = 0x0, prev = 0x0, next = 0x0}, sio = 0x0,
requestlen = 0, requestoffset = 0, reqdiskoffset = 0, requestbuf = 0x0,
completed = 0 '\0', pr = 0x0}
(gdb) print * ((CossPendingReloc *) pr)
oops, try changing pr for my_data; and print p, print len.
adrian
No symbol "pr" in current context.
(gdb)
Still can't look at pr :(
Cheers.
Cheers.
Adrian
--
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
--
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
- $25/pm entry-level bandwidth-capped VPSes available in WA -
--
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