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

Side by Side Diff: gdb/gdbserver/gdbreplay.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 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 unified diff | Download patch
« no previous file with comments | « gdb/gdbserver/dll.c ('k') | gdb/gdbserver/gdbthread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Replay a remote debug session logfile for GDB. 1 /* Replay a remote debug session logfile for GDB.
2 Copyright (C) 1996, 1998-2000, 2002-2003, 2005-2012 Free Software 2 Copyright (C) 1996, 1998-2000, 2002-2003, 2005-2012 Free Software
3 Foundation, Inc. 3 Foundation, Inc.
4 Written by Fred Fish (fnf@cygnus.com) from pieces of gdbserver. 4 Written by Fred Fish (fnf@cygnus.com) from pieces of gdbserver.
5 5
6 This file is part of GDB. 6 This file is part of GDB.
7 7
8 This program is free software; you can redistribute it and/or modify 8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by 9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or 10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version. 11 (at your option) any later version.
12 12
13 This program is distributed in the hope that it will be useful, 13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details. 16 GNU General Public License for more details.
17 17
18 You should have received a copy of the GNU General Public License 18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 19 along with this program. If not, see <http://www.gnu.org/licenses/>. */
20 20
21 #include "config.h" 21 #include "config.h"
22 #include "build-gnulib-gdbserver/config.h"
23
22 #include <stdio.h> 24 #include <stdio.h>
23 #if HAVE_SYS_FILE_H 25 #if HAVE_SYS_FILE_H
24 #include <sys/file.h> 26 #include <sys/file.h>
25 #endif 27 #endif
26 #if HAVE_SIGNAL_H 28 #if HAVE_SIGNAL_H
27 #include <signal.h> 29 #include <signal.h>
28 #endif 30 #endif
29 #include <ctype.h> 31 #include <ctype.h>
30 #if HAVE_FCNTL_H 32 #if HAVE_FCNTL_H
31 #include <fcntl.h> 33 #include <fcntl.h>
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 break; 479 break;
478 case 'c': 480 case 'c':
479 /* Command executed by gdb */ 481 /* Command executed by gdb */
480 while ((ch = logchar (fp)) != EOL); 482 while ((ch = logchar (fp)) != EOL);
481 break; 483 break;
482 } 484 }
483 } 485 }
484 remote_close (); 486 remote_close ();
485 exit (0); 487 exit (0);
486 } 488 }
OLDNEW
« no previous file with comments | « gdb/gdbserver/dll.c ('k') | gdb/gdbserver/gdbthread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698