Re: Something I don't understand about Squid

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 28 Sep 1999 08:23:50 +0200

Yee Man Chan wrote:

> 1. I added a function to Squid that takes a StoreEntry * e as a parameter. I
> find that even if I did nothing to the parameter, when I step through the
> function, the value of the pointer changes. The same thing happens to e->
> mem_obj as well. Why?

Probably optimization ghosts fooling gdb. Recompile Squid without -O and
things should look better.

--
Henrik Nordstrom
Spare time Squid hacker
Received on Tue Sep 28 1999 - 00:05:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:17 MST