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

Side by Side Diff: gdb/testsuite/gdb.threads/watchpoint-fork.h

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/testsuite/gdb.threads/tls-var.exp ('k') | gdb/testsuite/gdb.threads/watchpoint-fork.exp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* BFD back-end for 32-bit a.out files. 1 /* Test case for forgotten hw-watchpoints after fork()-off of a process.
2 Copyright 1990, 1991, 1992, 1993, 1994, 2005, 2007
3 Free Software Foundation, Inc.
4 Written by Cygnus Support.
5 2
6 This file is part of BFD, the Binary File Descriptor library. 3 Copyright 2012 Free Software Foundation, Inc.
4
5 This file is part of GDB.
7 6
8 This program is free software; you can redistribute it and/or modify 7 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 8 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 9 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version. 10 (at your option) any later version.
12 11
13 This program is distributed in the hope that it will be useful, 12 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details. 15 GNU General Public License for more details.
17 16
18 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software 18 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 19 Foundation, Inc., 59 Temple Place - Suite 330,
21 MA 02110-1301, USA. */ 20 Boston, MA 02111-1307, USA. */
22 21
23 #define ARCH_SIZE 32 22 #ifdef THREAD
23 #include <pthread.h>
24 24
25 #include "aoutx.h" 25 extern volatile int step;
26 extern pthread_t thread;
27 #endif /* THREAD */
28
29 extern volatile int var;
30
31 extern void marker (void);
32 extern void forkoff (int nr);
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.threads/tls-var.exp ('k') | gdb/testsuite/gdb.threads/watchpoint-fork.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698