On Fri, Aug 15, 2003, Adrian Chadd wrote:
> On Fri, Aug 15, 2003, Robert Collins wrote:
> >
> > you built with -g ?
>
> -g -ggdb. Unless, of course, the damned linker didn't link it
> with -g -ggdb...
>
...
(gdb) frame 7
#7 0x0808483e in comm_old_write (fd=32, buf=0x82d1668 "GET /w08db4503.5efd14a7:00000004/t01/_00000282 HTTP/1.0\r\nAccept: */*\r\nHost: 130.95.86.152:8080\r\nX-Xact: 08db4503.5efd14a7:00000002 08db4503.5efd14a7:00002524\r\nX-Loc-World: 08db4503.5efd14a7:00000006 -"..., size=492, handler=0x80a28c0 <HttpStateData::SendComplete(int, char*, unsigned, comm_err_t, void*)>, handler_data=0x40d9f5b8, free_func=0x80b8c4a <memFree2K>) at comm.cc:2177
2177 fatalf ("comm_write: fd_table[%d].wstate != NULL\n", fd);
(gdb) print fd_table[fd]
cannot subscript something of type `<data variable, no debug info>'
(gdb) print fd_table[fd].wstate
cannot subscript something of type `<data variable, no debug info>'
(gdb) print fd
$3 = 32
(gdb) print fd_table
$4 = 1076506632
(gdb) print *fd_table
$5 = 1
(gdb) print fd_table[fd]
cannot subscript something of type `<data variable, no debug info>'
(gdb) print (fde_t *)fd_table[fd]
No symbol "fde_t" in current context.
(gdb) print (fde_t *)fd_table[fd]
No symbol "fde_t" in current context.
(gdb)
.. sigh.
adrian
Received on Fri Aug 15 2003 - 01:48:17 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:29 MST