]> git.efficios.com Git - deliverable/binutils-gdb.git/commitdiff
* gdb.python/py-value.c (main): Break before return.
authorPaul Koning <pkoning@equallogic.com>
Tue, 4 Oct 2011 17:43:16 +0000 (17:43 +0000)
committerPaul Koning <pkoning@equallogic.com>
Tue, 4 Oct 2011 17:43:16 +0000 (17:43 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-value.c

index 125316eaa0cf3eebdbae061ebb92e6f2587dd42d..68aa02a4c806688ae56419535210fba1e73b858b 100644 (file)
@@ -1,3 +1,7 @@
+2011-10-04  Paul Koning  <paul_koning@dell.com>
+
+       * gdb.python/py-value.c (main): Break before return.
+
 2011-10-04  Kevin Pouget  <kevin.pouget@st.com>
 
        PR python/12691: Add the inferior to Python exited event
index b6bc0f7858b5a267f613045892b1c9c6c457f9ba..1766b56392b0da94bb2a6b8bf533d63863fd548d 100644 (file)
@@ -66,6 +66,8 @@ int func2 (int arg1, int arg2)
   return arg1 + arg2;
 }
 
+char **save_argv;
+
 int
 main (int argc, char *argv[])
 {
@@ -94,5 +96,6 @@ main (int argc, char *argv[])
   ptr_ref(ptr_i);
 #endif
 
-  return 0;      /* break to inspect struct and union */
+  save_argv = argv;      /* break to inspect struct and union */
+  return 0;
 }
This page took 0.049424 seconds and 4 git commands to generate.