Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: gcc misplacing pointers?
- To: "Andrew S. Howell" <andy@example.com>
- Subject: Re: tlug: gcc misplacing pointers?
- From: Scott Stone <sstone@example.com>
- Date: Wed, 4 Mar 1998 15:17:26 +0900 (JST)
- cc: tlug@example.com
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- In-Reply-To: <19980304150243Q.andy@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
On Wed, 4 Mar 1998, Andrew S. Howell wrote: > Scott> Any idea why gcc would 'lose' the pointer to s0 like that? > > Try 'info locals' in gdb. It will tell what it thinks your local > variables are. > > One last possibility is that something before your function clobbered > memory, making for some very strange behavior. On Solaris I use > "purify" to catch such nasty things, but I don't know if there is a > public domain equivalent. It checks all memory accesses to make sure > nothing funny is going on. If there public domain tool that does the > same, I love to find out about it. Well, this got me thinking, so I went and found it. The url is: http://larch-www.lcs.mit.edu:8001/larch/lclint/ it's called 'LCLint', and it works on any UNIX, OS/2, or Win32. According to them, at least. I'm going to download it now and try it out. -------------------------------------------------- Scott M. Stone <sstone@example.com, sstone@example.com> <sstone@example.com> Linux Developer/Systems Administrator for Pacific HiTech, Inc. http://www.pht.com http://armadillo.pht.co.jp http://www.pht.co.jp http://www.turbolinux.com --------------------------------------------------------------- Next TLUG Nomikai: 11 March Wed 1998 Tengu TokyoEkiMae 19:30 Chuo-ku, Kyobashi 1-1-6, EchiZenYa Bld. B1/B2 03-3275-3691 Next TLUG Meeting: 11 April 1998 Saturday, Tokyo Station Featuring Tague Griffith of Netscape i18n talking on source code --------------------------------------------------------------- a word from the sponsor: TWICS - Japan's First Public-Access Internet System www.twics.com info@example.com Tel:03-3351-5977 Fax:03-3353-6096
- Follow-Ups:
- Re: tlug: gcc misplacing pointers?
- From: "Andrew S. Howell" <andy@example.com>
- References:
- Re: tlug: gcc misplacing pointers?
- From: "Andrew S. Howell" <andy@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: Strange NFS behavior
- Next by Date: Re: tlug: Strange NFS behavior
- Prev by thread: Re: tlug: gcc misplacing pointers?
- Next by thread: Re: tlug: gcc misplacing pointers?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links