Re: Problems with the pager of fatfs

2002-04-22 Thread Marco Gerards
Ludovic Courtès wrote: >Hi, > >>After reading from the pager there happens a weird thing: >> >>Breakpoint 1, pager_read_page (pager=0x8055528, page=0, >>buf=0x128bd7c,writelock=0x128bd80) at pager.c:554 >>554 { >>(gdb) p pager >>$1 = (struct user_pager_info *) 0x0 >>(gdb) p (struct user_

Re: Problems with the pager of fatfs

2002-04-22 Thread Marcus Brinkmann
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 Hu

Re: Problems with the pager of fatfs

2002-04-22 Thread Ludovic Courtès
Hi, > After reading from the pager there happens a weird thing: > > Breakpoint 1, pager_read_page (pager=0x8055528, page=0, > buf=0x128bd7c,writelock=0x128bd80) at pager.c:554 > 554 { > (gdb) p pager > $1 = (struct user_pager_info *) 0x0 > (gdb) p (struct user_pager_info *) pager_get_up

Problems with the pager of fatfs

2002-04-20 Thread Marco Gerards
Hi, I'm working on fatfs now and noticed fat32 didn't work so I'm trying to fix it. I ran into a little problem, it only exists for fat32. When I try to read a filelist from the root directory (which is a "normal" file for fat32 and a reserved continues block for fat12/16) fatfs crashes. The