import gdb-1999-06-28 snapshot

This commit is contained in:
Jason Molenda
1999-06-28 16:06:02 +00:00
parent 303f629d61
commit 085dd6e638
146 changed files with 8298 additions and 4750 deletions

View File

@@ -1,15 +1,25 @@
/* Tests regarding examination of prologues. */
#ifdef PROTOTYPES
int
inner (int z)
#else
int
inner (z)
int z;
#endif
{
return 2 * z;
}
#ifdef PROTOTYPES
int
middle (int x)
#else
int
middle (x)
int x;
#endif
{
if (x == 0)
return inner (5);
@@ -17,15 +27,27 @@ middle (x)
return inner (6);
}
#ifdef PROTOTYPES
int
top (int y)
#else
int
top (y)
int y;
#endif
{
return middle (y + 1);
}
#ifdef PROTOTYPES
int
main (int argc, char **argv)
#else
int
main (argc, argv)
int argc;
char **argv;
#endif
{
#ifdef usestubs
set_debug_traps();