From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 9370 invoked from network); 29 Aug 1998 07:47:41 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 29 Aug 1998 07:47:41 -0000 Received: from earth.terran.org (bryan@earth.terran.org [208.152.24.33]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id DAA25995 for ; Sat, 29 Aug 1998 03:47:45 -0400 Received: from localhost (bryan@localhost) by earth.terran.org (8.8.7/8.8.8) with SMTP id AAA14329; Sat, 29 Aug 1998 00:50:18 -0700 Date: Sat, 29 Aug 1998 00:50:18 -0700 (PDT) From: "B. James Phillippe" To: Jeff Noxon cc: RedHat AXP list Subject: Re: Is there a tool to help find unaligned accesses? In-Reply-To: <19980828131547.A19451@planetfall.com> Message-ID: Organization: Terran.ORG/LinuxWorld.NET X-Subliminal-Message: Use Linux MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 28 Aug 1998, Jeff Noxon wrote: > I'd like to track down some unaligned accesses in a shared library. Is > there a tool to help do this? Have you tried gdb? If you have access to the library's source code, you could recompile it with debugging, wait for it to trap, and then list the address in the debugger to find what source file and line the access is occuring on. -bp -- B. James Phillippe Linux, networks, C++ development http://earth.terran.org/~bryan