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

Side by Side Diff: sim/common/sim-trace.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 | « sim/common/sim-trace.h ('k') | sim/configure » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
None
OLDNEW
1 /* Simulator tracing/debugging support. 1 /* Simulator tracing/debugging support.
2 Copyright (C) 1997-1998, 2001, 2007-2012 Free Software Foundation, 2 Copyright (C) 1997-1998, 2001, 2007-2012 Free Software Foundation,
3 Inc. 3 Inc.
4 Contributed by Cygnus Support. 4 Contributed by Cygnus Support.
5 5
6 This file is part of GDB, the GNU debugger. 6 This file is part of GDB, the GNU debugger.
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
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 FILE *cfile = TRACE_FILE (CPU_TRACE_DATA (STATE_CPU (sd, i))); 487 FILE *cfile = TRACE_FILE (CPU_TRACE_DATA (STATE_CPU (sd, i)));
488 if (cfile != NULL && cfile != sfile) 488 if (cfile != NULL && cfile != sfile)
489 { 489 {
490 /* If output from different cpus is going to the same file, 490 /* If output from different cpus is going to the same file,
491 avoid closing the file twice. */ 491 avoid closing the file twice. */
492 for (j = 0; j < i; ++j) 492 for (j = 0; j < i; ++j)
493 if (TRACE_FILE (CPU_TRACE_DATA (STATE_CPU (sd, j))) == cfile) 493 if (TRACE_FILE (CPU_TRACE_DATA (STATE_CPU (sd, j))) == cfile)
494 break; 494 break;
495 if (i == j) 495 if (i == j)
496 fclose (cfile); 496 fclose (cfile);

error: old chunk mismatch

OLDNEW
« no previous file with comments | « sim/common/sim-trace.h ('k') | sim/configure » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698