import gdb-1999-06-28 snapshot

This commit is contained in:
Jason Molenda
1999-06-28 23:04:32 +00:00
parent 9cd2c67bac
commit 74cf13956f
20 changed files with 2620 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
/* This is a sample program for the HP/DDE debugger. */
#include <stdio.h>
#ifdef PROTOTYPES
int sum(int *list, int low, int high)
#else
int sum(list, low, high)
int *list, low, high;
#endif
{
int i = 0, s = 0;
for (i = low; i <= high; i++)
s += list[i];
return(s);
}