]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
authorJeff Johnston <jjohnstn@redhat.com>
Thu, 5 Feb 2004 01:19:14 +0000 (01:19 +0000)
committerJeff Johnston <jjohnstn@redhat.com>
Thu, 5 Feb 2004 01:19:14 +0000 (01:19 +0000)
        * gdb.base/pendshr.c (pendfunc): New function that calls
        pendfunc1.
        * gdb.base/pending.c: Call pendfunc instead of pendfunc1.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/pending.c
gdb/testsuite/gdb.base/pendshr.c

index 58b74a60fc9b2c3a009c160470f55addede1b4ef..c41ce00360f51c2977a91ce5ad5d05462bad670b 100644 (file)
@@ -1,3 +1,9 @@
+2004-02-04  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * gdb.base/pendshr.c (pendfunc): New function that calls
+       pendfunc1.
+       * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
+
 2004-02-04  Fred Fish  <fnf@redhat.com>
 
        * gdb.arch/gdb1431.c: Add underbar prefixed version of global
index 42c3655e0b3e5475ce314e217ef1f1e993515747..a83a451b94e52fd6333e632bc981a56bb6cfcc61 100644 (file)
 
 int k = 0;
 
-extern void pendfunc1 (int x);
+extern void pendfunc (int x);
 
 int main()
 {
-  pendfunc1 (3); /* break main here */
-  pendfunc1 (4);
+  pendfunc (3); /* break main here */
+  pendfunc (4);
   k = 1;
-  pendfunc1 (3);
+  pendfunc (3);
   return 0;
 }
index 5097f94f43bd9d8a7ba5d46b0c669bb727e9a57e..672fe8ab7ee44a34815491078fa1de1c4a2b8e09 100644 (file)
@@ -26,3 +26,8 @@ void pendfunc1 (int x)
   int y = x + 4;
   printf ("in pendfunc1, x is %d\n", x);
 }
+
+void pendfunc (int x)
+{
+  pendfunc1 (x);
+}