2008-12-16 Christophe Lyon <christophe.lyon@st.com>
authorDenis Pilat <denis.pilat@st.com>
Tue, 16 Dec 2008 13:15:50 +0000 (13:15 +0000)
committerDenis Pilat <denis.pilat@st.com>
Tue, 16 Dec 2008 13:15:50 +0000 (13:15 +0000)
       * gdb.base/expand-psymtabs.c: Insert code in foo so that the
       compiler actually generate code at the expected line number.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/expand-psymtabs.c

index f3932ba05fb1432df3b77a72d76959627a3cd297..e8b18bdb37c772d7b4aad46a64464c5498b25d93 100644 (file)
@@ -1,3 +1,8 @@
+2008-12-16  Christophe Lyon  <christophe.lyon@st.com>
+
+       * gdb.base/expand-psymtabs.c: Insert code in foo so that the
+       compiler actually generate code at the expected line number.
+
 2008-12-15  Jie Zhang  <jie.zhang@analog.com>
 
        * gdb.base/consecutive.exp: Don't use global in gdb_expect.
index 6cb8cf7df558acf9fc6b8f1cab8d83135a755461..64430c31202da373acc91f279f624313d8ca38eb 100644 (file)
@@ -26,10 +26,15 @@ main (void)
   }
 
 #else
+void
+bar (void)
+  {
+  }
+
 void
 foo (void)
   {
-    /* Break here  */
+    bar(); /* Break here  */
   }
 
 #endif