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

Side by Side Diff: gdb/observer.sh

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 unified diff | Download patch
« no previous file with comments | « gdb/observer.c ('k') | gdb/opencl-lang.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh -e 1 #!/bin/sh -e
2 2
3 # Make certain that the script is not running in an internationalized 3 # Make certain that the script is not running in an internationalized
4 # environment. 4 # environment.
5 LANG=C ; export LANG 5 LANG=C ; export LANG
6 LC_ALL=C ; export LC_ALL 6 LC_ALL=C ; export LC_ALL
7 7
8 if test $# -ne 3 8 if test $# -ne 3
9 then 9 then
10 echo "Usage: $0 <h|inc> <observer.texi> <observer.out>" 1>&2 10 echo "Usage: $0 <h|inc> <observer.texi> <observer.out>" 1>&2
(...skipping 11 matching lines...) Expand all
22 echo "Creating ${otmp}" 1>&2 22 echo "Creating ${otmp}" 1>&2
23 rm -f ${otmp} 23 rm -f ${otmp}
24 24
25 # Can use any of the following: cat cmp cp diff echo egrep expr false 25 # Can use any of the following: cat cmp cp diff echo egrep expr false
26 # grep install-info ln ls mkdir mv pwd rm rmdir sed sleep sort tar 26 # grep install-info ln ls mkdir mv pwd rm rmdir sed sleep sort tar
27 # test touch true 27 # test touch true
28 28
29 cat <<EOF >>${otmp} 29 cat <<EOF >>${otmp}
30 /* GDB Notifications to Observers. 30 /* GDB Notifications to Observers.
31 31
32 Copyright (C) 2004-2005, 2007-2012 Free Software Foundation, Inc. 32 Copyright (C) 2004-2013 Free Software Foundation, Inc.
33 33
34 This file is part of GDB. 34 This file is part of GDB.
35 35
36 This program is free software; you can redistribute it and/or modify 36 This program is free software; you can redistribute it and/or modify
37 it under the terms of the GNU General Public License as published by 37 it under the terms of the GNU General Public License as published by
38 the Free Software Foundation; either version 3 of the License, or 38 the Free Software Foundation; either version 3 of the License, or
39 (at your option) any later version. 39 (at your option) any later version.
40 40
41 This program is distributed in the hope that it will be useful, 41 This program is distributed in the hope that it will be useful,
42 but WITHOUT ANY WARRANTY; without even the implied warranty of 42 but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 14 matching lines...) Expand all
57 h) cat <<EOF >>${otmp} 57 h) cat <<EOF >>${otmp}
58 #ifndef OBSERVER_H 58 #ifndef OBSERVER_H
59 #define OBSERVER_H 59 #define OBSERVER_H
60 60
61 struct observer; 61 struct observer;
62 struct bpstats; 62 struct bpstats;
63 struct so_list; 63 struct so_list;
64 struct objfile; 64 struct objfile;
65 struct thread_info; 65 struct thread_info;
66 struct inferior; 66 struct inferior;
67 struct trace_state_variable;
67 EOF 68 EOF
68 ;; 69 ;;
69 esac 70 esac
70 71
71 # We are about to set IFS=:, so DOS-style file names with a drive 72 # We are about to set IFS=:, so DOS-style file names with a drive
72 # letter and a colon will be in trouble. 73 # letter and a colon will be in trouble.
73 74
74 if test -n "$DJGPP" 75 if test -n "$DJGPP"
75 then 76 then
76 texi=`echo $texi | sed -e 's,^\([a-zA-Z]\):/,/dev/\1/,'` 77 texi=`echo $texi | sed -e 's,^\([a-zA-Z]\):/,/dev/\1/,'`
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 case $lang in 191 case $lang in
191 h) cat <<EOF >>${otmp} 192 h) cat <<EOF >>${otmp}
192 193
193 #endif /* OBSERVER_H */ 194 #endif /* OBSERVER_H */
194 EOF 195 EOF
195 esac 196 esac
196 197
197 198
198 echo Moving ${otmp} to ${o} 199 echo Moving ${otmp} to ${o}
199 mv ${otmp} ${o} 200 mv ${otmp} ${o}
OLDNEW
« no previous file with comments | « gdb/observer.c ('k') | gdb/opencl-lang.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698