Hi,

On Thursday 30 December 2004 22:11, Raphael Manfredi wrote:
> Please do this under gdb:
>
> ------------
> frame 5
> p *d
> p end
> p start
> p total
> p check_content_range
> p requested_size
> ------------
>
> and show me the results.

(gdb) frame 5
#5  0x808ef96 in download_request (d=0x9aeecb0, header=0x145fa400, ok=1) at 
downloads.c:6018
6018                                            file_info_update(d, d->skip, 
end + 1, DL_CHUNK_BUSY);

(gdb) p *d
$1 = {src_handle = 5252,
  error_str = "Queued (slot 2/0) ETA: 0s\000iting\000\000\000range unavailable 
yet", '\000' <repeats 200 times>,
  status = GTA_DL_HEADERS, io_opaque = 0xa035554, bio = 0x0, server = 
0xa9d9f68, list_idx = DL_LIST_RUNNING, file_info = 0x965d1ec,
  record_index = 0, file_name = 0x88510c4 
"urn:sha1:ONZXRT2GRFITKSRPOVQ7AEXQ53M4ZXDP",
  escaped_name = 0x88510c4 "urn:sha1:ONZXRT2GRFITKSRPOVQ7AEXQ53M4ZXDP", 
file_size = 368130048, size = 4974730, skip = 109050882,
  pos = 109050882, range_end = 114025612, socket = 0x14ddb000, file_desc = -1, 
overlap_size = 511, req = 0x0,
  start_date = 1104077859, last_update = 1104080864, last_gui_update = 
1104080757, record_stamp = 1104000729, retry_after = 0,
  header_sent = {tv_sec = 1104080864, tv_usec = 14940}, retries = 0, 
timeout_delay = 105,
  remove_msg = 0x9aeecb4 "Queued (slot 2/0) ETA: 0s", sha1 = 0x884e184 
"ssx�F\211Q5J/ua�\022�����ot localhO", uri = 0x0,
  last_dmesh = 1104080864, ranges = 0x14aee998, ranges_size = 197717182, 
sinkleft = 0, flags = 9, file_size_known = 1,
  keep_alive = 1, visible = 1, push = 0, always_push = 0, got_giv = 0, 
unavailable = 0, cproxy = 0x0, queue_status = 0xb8d9948}

(gdb) p end
$2 = 109050879

(gdb) p start
$3 = 109050371

(gdb) p total
$4 = 368130048

(gdb) p check_content_range
$5 = 509

(gdb) p requested_size
$6 = 4975241


br
j.



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Gtk-gnutella-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to