diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-02-05 01:19:14 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-02-05 01:19:14 +0000 |
commit | 4d806929015fd76d2d90feb0d722c262fdcbe70d (patch) | |
tree | 654241eb636cbcb00fb2ab23eb9cfa676b7d22df /gdb/testsuite/gdb.base/pendshr.c | |
parent | 212161dfd2b7432ca37aef70efaa0c006af11563 (diff) | |
download | gdb-4d806929015fd76d2d90feb0d722c262fdcbe70d.zip gdb-4d806929015fd76d2d90feb0d722c262fdcbe70d.tar.gz gdb-4d806929015fd76d2d90feb0d722c262fdcbe70d.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite/gdb.base/pendshr.c')
-rw-r--r-- | gdb/testsuite/gdb.base/pendshr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/pendshr.c b/gdb/testsuite/gdb.base/pendshr.c index 5097f94..672fe8a 100644 --- a/gdb/testsuite/gdb.base/pendshr.c +++ b/gdb/testsuite/gdb.base/pendshr.c @@ -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); +} |