b0e59b8f1c
Remove the literal line number from a regexp in shlib-call.exp. Add an appropriate eye-catcher to shr2.c and refer to that instead. gdb/testsuite/ChangeLog: * gdb.base/shr2.c: Add eye-catcher. * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal line number.
17 lines
201 B
C
17 lines
201 B
C
#ifdef PROTOTYPES
|
|
int shr2(int x)
|
|
#else
|
|
int shr2(x) int x;
|
|
#endif
|
|
{
|
|
return 2*x; /* shr2-return */
|
|
}
|
|
|
|
#ifdef PROTOTYPES
|
|
int shr2_local(int x)
|
|
#else
|
|
int shr2_local(x) int x;
|
|
#endif
|
|
{
|
|
return 2*x;
|
|
}
|