Hi Bruno,
I try to run gbd and this is what i get
# gdb U:/test-fflush
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (emx), Copyright 1996 Free Software Foundation, Inc...
U:/test-fflush: No such file or directory.
Dir exits...
Btw: I have to run Gdb after i try to port the software?
I did not find a newer GDB :(
any help ............................
Bruno Haible wrote:
Elbert Pol wrote:
I attach the logs :P
Thanks, this is helpful again.
test-binary-io.c: In function `main':
test-binary-io.c:62: warning: implicit declaration of function `setmode'
Fixing this warning through the patch below.
Killed by SIGFPE
FAIL: test-frexp.exe
Killed by SIGFPE
FAIL: test-frexpl.exe
Killed by SIGFPE
FAIL: test-printf-frexp.exe
Killed by SIGFPE
FAIL: test-printf-frexpl.exe
For these, it would be useful to get the line number and stack trace of the
crash; you can get it by using gdb.
(gdb) run
(gdb) where
Killed by SIGFPE
FAIL: test-signbit.exe
For this one, additionally the instruction of the crash would be interesting.
(gdb) run
(gdb) where
(gdb) x/10i $eip
(gdb) info registers
(gdb) info float
Bruno
2008-04-12 Bruno Haible<[EMAIL PROTECTED]>
* lib/binary-io.h [__EMX__]: Include<io.h>.
*** lib/binary-io.h.orig 2008-04-13 12:39:26.000000000 +0200
--- lib/binary-io.h 2008-04-13 12:38:15.000000000 +0200
***************
*** 1,5 ****
/* Binary mode I/O.
! Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
--- 1,5 ----
/* Binary mode I/O.
! Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
***************
*** 36,49 ****
# undef O_TEXT
#endif
#if O_BINARY
! # if !(defined __EMX__ || defined __DJGPP__ || defined __CYGWIN__)
# define setmode _setmode
# undef fileno
# define fileno _fileno
# endif
- # if defined __DJGPP__ || defined __CYGWIN__
- # include<io.h> /* declares setmode() */
- # endif
# ifdef __DJGPP__
# include<unistd.h> /* declares isatty() */
# /* Avoid putting stdin/stdout in binary mode if it is connected to the
--- 36,48 ----
# undef O_TEXT
#endif
#if O_BINARY
! # if defined __EMX__ || defined __DJGPP__ || defined __CYGWIN__
! # include<io.h> /* declares setmode() */
! # else
# define setmode _setmode
# undef fileno
# define fileno _fileno
# endif
# ifdef __DJGPP__
# include<unistd.h> /* declares isatty() */
# /* Avoid putting stdin/stdout in binary mode if it is connected to the
_______________________________________________
Bug-m4 mailing list
Bug-m4@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-m4