diff options
author | Denis Pilat <denis.pilat@st.com> | 2008-12-16 13:15:50 +0000 |
---|---|---|
committer | Denis Pilat <denis.pilat@st.com> | 2008-12-16 13:15:50 +0000 |
commit | bb5ef15eff1baa44a382c9be60383e66cc26badd (patch) | |
tree | 56fab5b1543decf7bfc0fca42b58344ec7260450 /gdb/testsuite | |
parent | af0771d33353ca16455c1d1493d32faf02783ee5 (diff) | |
download | gdb-bb5ef15eff1baa44a382c9be60383e66cc26badd.zip gdb-bb5ef15eff1baa44a382c9be60383e66cc26badd.tar.gz gdb-bb5ef15eff1baa44a382c9be60383e66cc26badd.tar.bz2 |
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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/expand-psymtabs.c | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f3932ba..e8b18bd 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. diff --git a/gdb/testsuite/gdb.base/expand-psymtabs.c b/gdb/testsuite/gdb.base/expand-psymtabs.c index 6cb8cf7..64430c3 100644 --- a/gdb/testsuite/gdb.base/expand-psymtabs.c +++ b/gdb/testsuite/gdb.base/expand-psymtabs.c @@ -27,9 +27,14 @@ main (void) #else void +bar (void) + { + } + +void foo (void) { - /* Break here */ + bar(); /* Break here */ } #endif |