mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user