* README: Remove note about gcc warnings on alpha, these should be
gone now. * c-exp.y, ch-exp.y, core.c, corelow.c, eval.c, fork-child.c, m2-exp.y, minsyms.c, nlmread.c, parse.c, putenv.c, regex.c remote-utils.c, stabsread.c: Include <string.h>. * regex.c: Include "defs.h", change re_comp argument to const char *. * infptrace.c (fetch_register, store_inferior_registers): Change regaddr to type CORE_ADDR. * config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS): Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR.
This commit is contained in:
parent
7c202d3775
commit
ba47c66add
15 changed files with 98 additions and 72 deletions
12
gdb/regex.c
12
gdb/regex.c
|
@ -32,14 +32,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|||
|
||||
#else /* not emacs */
|
||||
|
||||
/* Make alloca work the best possible way. */
|
||||
#ifdef __GNUC__
|
||||
#define alloca __builtin_alloca
|
||||
#else
|
||||
#ifdef sparc
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
#endif
|
||||
#include "defs.h"
|
||||
#include <string.h>
|
||||
|
||||
/*
|
||||
* Define the syntax stuff, so we can do the \<...\> things.
|
||||
|
@ -1556,7 +1550,7 @@ static struct re_pattern_buffer re_comp_buf;
|
|||
|
||||
char *
|
||||
re_comp (s)
|
||||
char *s;
|
||||
const char *s;
|
||||
{
|
||||
if (!s)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue