| Index: gdb/gnulib/import/frexpl.c
 | 
| diff --git a/gdb/gnulib/import/mbsrtowcs.c b/gdb/gnulib/import/frexpl.c
 | 
| similarity index 69%
 | 
| copy from gdb/gnulib/import/mbsrtowcs.c
 | 
| copy to gdb/gnulib/import/frexpl.c
 | 
| index e3ec8767c33a7280b4a641b15a22873f40b27548..b74ceeb56f815890e3515790dce9f33bd614a4c9 100644
 | 
| --- a/gdb/gnulib/import/mbsrtowcs.c
 | 
| +++ b/gdb/gnulib/import/frexpl.c
 | 
| @@ -1,6 +1,5 @@
 | 
| -/* Convert string to wide string.
 | 
| -   Copyright (C) 2008-2012 Free Software Foundation, Inc.
 | 
| -   Written by Bruno Haible <bruno@clisp.org>, 2008.
 | 
| +/* Split a 'long double' into fraction and mantissa.
 | 
| +   Copyright (C) 2007, 2009-2012 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
 | 
| @@ -17,16 +16,20 @@
 | 
|  
 | 
|  #include <config.h>
 | 
|  
 | 
| -/* Specification.  */
 | 
| -#include <wchar.h>
 | 
| +#if HAVE_SAME_LONG_DOUBLE_AS_DOUBLE
 | 
|  
 | 
| -#include <errno.h>
 | 
| -#include <limits.h>
 | 
| -#include <stdlib.h>
 | 
| +/* Specification.  */
 | 
| +# include <math.h>
 | 
|  
 | 
| -#include "strnlen1.h"
 | 
| +long double
 | 
| +frexpl (long double x, int *expptr)
 | 
| +{
 | 
| +  return frexp (x, expptr);
 | 
| +}
 | 
|  
 | 
| +#else
 | 
|  
 | 
| -extern mbstate_t _gl_mbsrtowcs_state;
 | 
| +# define USE_LONG_DOUBLE
 | 
| +# include "frexp.c"
 | 
|  
 | 
| -#include "mbsrtowcs-impl.h"
 | 
| +#endif
 | 
| 
 |