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

Unified Diff: gdb/testsuite/gdb.mi/mi-reg-undefined.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 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.mi/mi-reg-undefined.S ('k') | gdb/testsuite/gdb.mi/mi-reg-undefined.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.mi/mi-reg-undefined.c
diff --git a/gdb/testsuite/gdb.arch/i386-dr3-watch.c b/gdb/testsuite/gdb.mi/mi-reg-undefined.c
similarity index 72%
copy from gdb/testsuite/gdb.arch/i386-dr3-watch.c
copy to gdb/testsuite/gdb.mi/mi-reg-undefined.c
index 02ccfbb1252021b8a56f17e362d73b4208080b40..0ba2f0a4ebe7285902b6780e7be77d1ef4606e47 100644
--- a/gdb/testsuite/gdb.arch/i386-dr3-watch.c
+++ b/gdb/testsuite/gdb.mi/mi-reg-undefined.c
@@ -1,6 +1,4 @@
-/* Copyright 2011-2012 Free Software Foundation, Inc.
-
- This file is part of GDB.
+/* Copyright 2013 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -15,29 +13,23 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
-int i1;
-char gap1[32];
-
-int i2;
-char gap2[32];
-
-int i3;
-char gap3[32];
-
-int i4;
+void
+stop_frame ()
+{
+ /* The debug information for this frame is modified in the accompanying
+ .S file, to mark a set of registers as being undefined. */
+}
void
-trigger (void)
+first_frame ()
{
- i1 = 1;
- i2 = 2;
- i3 = 3;
- i4 = 4;
+ stop_frame ();
}
int
main ()
{
- trigger ();
+ first_frame ();
+
return 0;
}
« no previous file with comments | « gdb/testsuite/gdb.mi/mi-reg-undefined.S ('k') | gdb/testsuite/gdb.mi/mi-reg-undefined.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698