Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: gdb/gdbserver/gdbreplay.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/gdbserver/gdb_proc_service.h ('k') | gdb/gdbserver/gdbserver.1 » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/gdbserver/gdbreplay.c
diff --git a/gdb/gdbserver/gdbreplay.c b/gdb/gdbserver/gdbreplay.c
index 5aaa98e20c92896515347dc03e5654701dcb76d8..c076323f3cb7fed8b9b7136ba321757427ae9fef 100644
--- a/gdb/gdbserver/gdbreplay.c
+++ b/gdb/gdbserver/gdbreplay.c
@@ -1,6 +1,5 @@
/* Replay a remote debug session logfile for GDB.
- Copyright (C) 1996, 1998-2000, 2002-2003, 2005-2012 Free Software
- Foundation, Inc.
+ Copyright (C) 1996-2013 Free Software Foundation, Inc.
Written by Fred Fish (fnf@cygnus.com) from pieces of gdbserver.
This file is part of GDB.
@@ -20,6 +19,7 @@
#include "config.h"
#include "build-gnulib-gdbserver/config.h"
+#include "version.h"
#include <stdio.h>
#if HAVE_SYS_FILE_H
@@ -35,15 +35,9 @@
#if HAVE_ERRNO_H
#include <errno.h>
#endif
-#ifdef HAVE_STDLIB_H
#include <stdlib.h>
-#endif
-#ifdef HAVE_STRING_H
#include <string.h>
-#endif
-#ifdef HAVE_UNISTD_H
#include <unistd.h>
-#endif
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
@@ -73,10 +67,6 @@ typedef int socklen_t;
/* Sort of a hack... */
#define EOL (EOF - 1)
-/* Version information, from version.c. */
-extern const char version[];
-extern const char host_name[];
-
static int remote_desc;
#ifdef __MINGW32CE__
@@ -422,7 +412,7 @@ static void
gdbreplay_version (void)
{
printf ("GNU gdbreplay %s%s\n"
- "Copyright (C) 2012 Free Software Foundation, Inc.\n"
+ "Copyright (C) 2013 Free Software Foundation, Inc.\n"
"gdbreplay is free software, covered by "
"the GNU General Public License.\n"
"This gdbreplay was configured as \"%s\"\n",
« no previous file with comments | « gdb/gdbserver/gdb_proc_service.h ('k') | gdb/gdbserver/gdbserver.1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698