Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(855)

Unified Diff: gdb/testsuite/gdb.base/annota3.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/gdb.base/annota1.exp ('k') | gdb/testsuite/gdb.base/annota3.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.base/annota3.c
diff --git a/gdb/testsuite/gdb.base/annota3.c b/gdb/testsuite/gdb.base/annota3.c
index 6a13ee9d53d4a6ffdc2c14bcb7fda99e7478cdff..239ea162af6b6591202fb93c57794fb4936c5cee 100644
--- a/gdb/testsuite/gdb.base/annota3.c
+++ b/gdb/testsuite/gdb.base/annota3.c
@@ -1,10 +1,6 @@
#include <stdio.h>
#include <signal.h>
-#ifdef __sh__
-#define signal(a,b) /* Signals not supported on this target - make them go away */
-#endif
-
#ifdef PROTOTYPES
void
@@ -29,7 +25,7 @@ int
main ()
#endif
{
- int my_array[3] = { 1, 2, 3 };
+ int my_array[3] = { 1, 2, 3 }; /* break main */
value = 7;
@@ -43,9 +39,9 @@ main ()
{
int i;
for (i = 0; i < 5; i++)
- value++;
+ value++; /* increment value */
}
- return 0;
+ return 0; /* after loop */
}
« no previous file with comments | « gdb/testsuite/gdb.base/annota1.exp ('k') | gdb/testsuite/gdb.base/annota3.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698