Floating point exception - gdb

1999-10-27 Thread Juergen Leising
Ok, I'm not that familiar with gdb, but anyway - this is the output of "gdb mutt core": (...) Core was generated by `mutt'. Program terminated with signal 8, Floating point exception. Reading symbols from /usr/lib/libncurses.so.4...done. Reading symbols from /lib/libc.so.6...done. Reading symbol

Re: Floating point exception - gdb

1999-10-27 Thread Chris Costello
On Thu, Oct 28, 1999, Juergen Leising wrote: > #0 0x806b7ab in menu_check_recenter (menu=0x8e20fe8) at menu.c:287 > 287 menu->top += menu->pagelen * ((menu->current - menu->top) > / menu->pagelen); Try these: print menu print menu->pagelen print menu->current print menu->top print

Re: Floating point exception - gdb

1999-10-28 Thread John E. Davis
Chris Costello <[EMAIL PROTECTED]> wrote: >print menu >print menu->pagelen >print menu->current >print menu->top >print menu->pagelen I think that you can also use: (gdb) p menu (gdb) p *menu --John

Re: Floating point exception - gdb

1999-10-31 Thread Juergen Leising
On Wed, Oct 27, 1999 at 06:21:57PM -0500, Chris Costello wrote: > On Thu, Oct 28, 1999, Juergen Leising wrote: > > #0 0x806b7ab in menu_check_recenter (menu=0x8e20fe8) at menu.c:287 > > 287 menu->top += menu->pagelen * ((menu->current - menu->top) > > / menu->pagelen); > >Try these