mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
This is the result of: ... $ git rm -rf gdb/testsuite $ git commit -a -m tmp $ git revert HEAD $ git rebase --whitespace=fix HEAD^ ... Tested on x86_64-linux. PR build/33616 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33616
11 lines
225 B
C
11 lines
225 B
C
/* This is a sample program for the HP/DDE debugger. */
|
|
#include <stdio.h>
|
|
|
|
int sum(int *list, int low, int high)
|
|
{
|
|
int i = 0, s = 0; /* stop-in-sum */
|
|
for (i = low; i <= high; i++)
|
|
s += list[i];
|
|
return(s);
|
|
}
|