OLD | NEW |
1 # Copyright 2008, 2010-2012 Free Software Foundation, Inc. | 1 # Copyright 2008-2013 Free Software Foundation, Inc. |
2 | 2 |
3 # This program is free software; you can redistribute it and/or modify | 3 # This program is free software; you can redistribute it and/or modify |
4 # it under the terms of the GNU General Public License as published by | 4 # it under the terms of the GNU General Public License as published by |
5 # the Free Software Foundation; either version 3 of the License, or | 5 # the Free Software Foundation; either version 3 of the License, or |
6 # (at your option) any later version. | 6 # (at your option) any later version. |
7 # | 7 # |
8 # This program is distributed in the hope that it will be useful, | 8 # This program is distributed in the hope that it will be useful, |
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 9 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
11 # GNU General Public License for more details. | 11 # GNU General Public License for more details. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 gdb_test "up" "#1 .*func1.*" "up from bar (2)" | 43 gdb_test "up" "#1 .*func1.*" "up from bar (2)" |
44 gdb_test "info frame" ".*inlined into frame.*" "func1 inlined (2)" | 44 gdb_test "info frame" ".*inlined into frame.*" "func1 inlined (2)" |
45 | 45 |
46 gdb_test "continue" ".*set breakpoint 1 here.*" "continue to bar (3)" | 46 gdb_test "continue" ".*set breakpoint 1 here.*" "continue to bar (3)" |
47 gdb_test "backtrace" "#0 bar.*#1 .*func1.*#2 .*func2.*#3 .*main.*" \ | 47 gdb_test "backtrace" "#0 bar.*#1 .*func1.*#2 .*func2.*#3 .*main.*" \ |
48 "backtrace from bar (3)" | 48 "backtrace from bar (3)" |
49 gdb_test "up" "#1 .*func1.*" "up from bar (3)" | 49 gdb_test "up" "#1 .*func1.*" "up from bar (3)" |
50 gdb_test "info frame" ".*inlined into frame.*" "func1 inlined (3)" | 50 gdb_test "info frame" ".*inlined into frame.*" "func1 inlined (3)" |
51 gdb_test "up" "#2 .*func2.*" "up from func1 (3)" | 51 gdb_test "up" "#2 .*func2.*" "up from func1 (3)" |
52 gdb_test "info frame" ".*inlined into frame.*" "func2 inlined (3)" | 52 gdb_test "info frame" ".*inlined into frame.*" "func2 inlined (3)" |
OLD | NEW |