This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch/testsuite] gdb.base/gcore.exp: add #include


This is the last #include patch in gdb.base, unless I missed something.

Tested on native i686-pc-linux-gnu, gcc 2.95.3, gcc 3.3.4, gcc 3.4.1,
gcc HEAD 20040804, with dwarf-2 and stabs+.

I am committing this now.

Michael C

===

2004-08-05  Michael Chastain  <mec.gnu@mindspring.com>

	* gdb.base/gcore.c: Include <string.h>.

Index: gdb.base/gcore.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/gcore.c,v
retrieving revision 1.2
diff -c -3 -p -r1.2 gcore.c
*** gdb.base/gcore.c	5 Aug 2004 07:38:42 -0000	1.2
--- gdb.base/gcore.c	5 Aug 2004 07:40:59 -0000
***************
*** 1,4 ****
! /* Copyright 2002 Free Software Foundation, Inc.
  
     This file is part of GDB.
  
--- 1,4 ----
! /* Copyright 2002, 2004 Free Software Foundation, Inc.
  
     This file is part of GDB.
  
***************
*** 22,27 ****
--- 22,28 ----
   */
  
  #include <stdlib.h>
+ #include <string.h>
  
  int extern_array[4] = {1, 2, 3, 4};
  static int static_array[4] = {5, 6, 7, 8};


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]