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.
This commit is contained in:
Jeff Johnston
2004-02-05 01:19:14 +00:00
parent 212161dfd2
commit 4d80692901
3 changed files with 15 additions and 4 deletions

View File

@@ -23,13 +23,13 @@
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;
}