From 6a564e94d58292db4b1a25ceb0445a6995d30603 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 5 Feb 2004 01:19:14 +0000 Subject: [PATCH] 2004-02-04 Jeff Johnston * gdb.base/pendshr.c (pendfunc): New function that calls pendfunc1. * gdb.base/pending.c: Call pendfunc instead of pendfunc1. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.base/pending.c | 8 ++++---- gdb/testsuite/gdb.base/pendshr.c | 5 +++++ 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 58b74a60fc..c41ce00360 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2004-02-04 Jeff Johnston + + * gdb.base/pendshr.c (pendfunc): New function that calls + pendfunc1. + * gdb.base/pending.c: Call pendfunc instead of pendfunc1. + 2004-02-04 Fred Fish * gdb.arch/gdb1431.c: Add underbar prefixed version of global diff --git a/gdb/testsuite/gdb.base/pending.c b/gdb/testsuite/gdb.base/pending.c index 42c3655e0b..a83a451b94 100644 --- a/gdb/testsuite/gdb.base/pending.c +++ b/gdb/testsuite/gdb.base/pending.c @@ -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; } diff --git a/gdb/testsuite/gdb.base/pendshr.c b/gdb/testsuite/gdb.base/pendshr.c index 5097f94f43..672fe8ab7e 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); +} -- 2.11.0