aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTim Wiederhake <tim.wiederhake@intel.com>2017-05-02 11:35:54 +0200
committerTim Wiederhake <tim.wiederhake@intel.com>2017-05-02 11:35:54 +0200
commit14f819c8c5f7d080e5eea9256f0ec7453aac750e (patch)
tree8c2f4e669722328ad54c9430e0d70568a1e9a4ec /gdb/testsuite
parent0ed5da759e34c6e85cb2a9ea0fdc7b680f897a81 (diff)
downloadgdb-14f819c8c5f7d080e5eea9256f0ec7453aac750e.zip
gdb-14f819c8c5f7d080e5eea9256f0ec7453aac750e.tar.gz
gdb-14f819c8c5f7d080e5eea9256f0ec7453aac750e.tar.bz2
Python: Move and rename gdb.BtraceFunction
Remove gdb.BtraceFunctionCall and replace by gdb.FunctionSegment. Additionally, rename prev_segment and next_segment to prev and next.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.python/py-record-btrace.exp4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index f30fa48..9c0d68b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
+ * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
+ to prev and next.
+
+2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
+
* gdb.python/py-record-btrace.exp: Remove test for
gdb.BtraceInstruction.error.
diff --git a/gdb/testsuite/gdb.python/py-record-btrace.exp b/gdb/testsuite/gdb.python/py-record-btrace.exp
index 045e63e..cda822d 100644
--- a/gdb/testsuite/gdb.python/py-record-btrace.exp
+++ b/gdb/testsuite/gdb.python/py-record-btrace.exp
@@ -99,8 +99,8 @@ with_test_prefix "function call" {
gdb_test "python print(c.level)" "$decimal"
gdb_test "python print(len(c.instructions))" "$decimal"
gdb_test "python print(c.up)" "None"
- gdb_test "python print(c.prev_sibling)" "None"
- gdb_test "python print(c == c.next_sibling.prev_sibling)" "True"
+ gdb_test "python print(c.prev)" "None"
+ gdb_test "python print(c == c.next.prev)" "True"
}
with_test_prefix "list" {