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...
adrian
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
On Fri, 2003-08-15 at 17:48, Adrian Chadd wrote:
(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)
[EMAIL PROTECTED]:~/source/squid/squid--HEAD--3.0$ grep fde_t src/*.h
[EMAIL
On Fri, Aug 15, 2003, Robert Collins wrote:
[EMAIL PROTECTED]:~/source/squid/squid--HEAD--3.0$ grep fde_t src/*.cc
I think you'll have more luck with
print (fde *)fd_table[fd]
Yeah, I'm stupid. It worked, but having to have casts...
Adrain
On Thu, 2003-08-14 at 23:56, Adrian Chadd wrote:
Any ideas? I forgot how to fix this:
(gdb) print fd
$1 = 28
(gdb) print fd_table[28].wstate
cannot subscript something of type `data variable, no debug info'
(gdb) print fd_table[28].write_method
cannot subscript something of type `data