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

Side by Side Diff: gdb/testsuite/gdb.base/consecutive.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 unified diff | Download patch
« no previous file with comments | « gdb/testsuite/gdb.base/condbreak.exp ('k') | gdb/testsuite/gdb.base/consecutive.exp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 Purpose of this test: to test breakpoints on consecutive instructions. 2 Purpose of this test: to test breakpoints on consecutive instructions.
3 */ 3 */
4 4
5 int a[7] = {1, 2, 3, 4, 5, 6, 7}; 5 int a[7] = {1, 2, 3, 4, 5, 6, 7};
6 6
7 /* assert: first line of foo has more than one instruction. */ 7 /* assert: first line of foo has more than one instruction. */
8 int foo () 8 int foo ()
9 { 9 {
10 return a[0] + a[1] + a[2] + a[3] + a[4] + a[5] + a[6]; 10 return a[0] + a[1] + a[2] + a[3] + a[4] + a[5] + a[6];
11 } 11 }
12 12
13 main() 13 main()
14 { 14 {
15 #ifdef usestubs
16 set_debug_traps ();
17 breakpoint ();
18 #endif
19 foo (); 15 foo ();
20 } 16 }
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.base/condbreak.exp ('k') | gdb/testsuite/gdb.base/consecutive.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698