293e2f9ec5
* gdb.base/ending-run.exp: Match _rt_entry.* for RealView. * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference variable p. * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data. * gdb.base/pointers.exp: Allow long instead of long int. * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI. * gdb.base/step-line.exp: Allow a directory before the source file name.
12 lines
140 B
C
12 lines
140 B
C
/* Simple program to help exercise gdb's convenience variables. */
|
|
|
|
typedef void *ptr;
|
|
|
|
ptr p = &p;
|
|
|
|
int
|
|
main ()
|
|
{
|
|
p = &p;
|
|
return 0;
|
|
}
|