diff options
author | Michael Chastain <mec@google.com> | 2003-09-08 21:30:52 +0000 |
---|---|---|
committer | Michael Chastain <mec@google.com> | 2003-09-08 21:30:52 +0000 |
commit | 04ed252fc113049bd1a05997f51b24d932f6fa09 (patch) | |
tree | 1445a5aaa2f7305768bfbb3704bb07680e93cbc1 | |
parent | 73b65bb0693827163135f5af96ebba03470badd4 (diff) | |
download | gdb-04ed252fc113049bd1a05997f51b24d932f6fa09.zip gdb-04ed252fc113049bd1a05997f51b24d932f6fa09.tar.gz gdb-04ed252fc113049bd1a05997f51b24d932f6fa09.tar.bz2 |
2003-09-08 Michael Chastain <mec@shout.net>
* gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/gdb1250.c | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 21d4cd2..dda10d7 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-09-08 Michael Chastain <mec@shout.net> + + * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'. + 2003-09-07 Michael Chastain <mec@shout.net> * gdb.cp/classes.exp: Accommodate both 'syntax error' and diff --git a/gdb/testsuite/gdb.base/gdb1250.c b/gdb/testsuite/gdb.base/gdb1250.c index 9d73f67..0af58d9 100644 --- a/gdb/testsuite/gdb.base/gdb1250.c +++ b/gdb/testsuite/gdb.base/gdb1250.c @@ -25,7 +25,11 @@ int global = 0; -void gamma (int *parray) +/* Foo, gcc thinks 'gamma' is a reserved identifier. + http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12213 + I am not interested in testing that point so just avoid the word. + -- chastain 2003-09-08. */ +void my_gamma (int *parray) { return; } @@ -37,7 +41,7 @@ void beta () array [1] = global++; array [2] = global++; array [3] = global++; - gamma (array); + my_gamma (array); abort (); } |