[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with the pager of fatfs
From: |
Marcus Brinkmann |
Subject: |
Re: Problems with the pager of fatfs |
Date: |
Tue, 23 Apr 2002 19:22:46 +0200 |
User-agent: |
Mutt/1.3.28i |
On Tue, Apr 23, 2002 at 06:38:44PM +0200, Ludovic Courtès wrote:
> On Mon, Apr 22, 2002 at 12:59:47PM +0200, Marcus Brinkmann wrote:
> > On Mon, Apr 22, 2002 at 10:30:30AM +0200, Ludovic Courtès wrote:
> > > I got the same kind of problem. First of all, I think you should not
> > > compile
> > > with optimization if you want to debug it with gdb (otherwise you get
> > > weird
> > > think).
> >
> > You should always compile with optimization when compiling the Hurd or
> > glibc (or Hurd components for that matter). Some parts depend on that
> > (notably libthreads).
>
> All right. But never try to debug a program that has been compiled with
> optimization or you'll get confused on what happens (I asked about it not long
> ago).
Well, gdb can trick you into seeing things that are not there. You have to
keep that in mind, sure.
> And what do you mean by "depends on that"?
Try to build the Hurd without optimization, and you will see. AFAIR, it has
to do with inlining.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann GNU http://www.gnu.org marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de