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.
This commit is contained in:
Denis Pilat 2008-12-16 13:15:50 +00:00
parent af0771d333
commit bb5ef15eff
2 changed files with 11 additions and 1 deletions

View 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.

View File

@ -26,10 +26,15 @@ main (void)
}
#else
void
bar (void)
{
}
void
foo (void)
{
/* Break here */
bar(); /* Break here */
}
#endif