summaryrefslogtreecommitdiff
path: root/lib/python2.7/test/gdb_sample.py
blob: a732b25b4d2917bc3a88da32269bf13f42244b54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Sample script for use by test_gdb.py

def foo(a, b, c):
    bar(a, b, c)

def bar(a, b, c):
    baz(a, b, c)

def baz(*args):
    print(42)

foo(1, 2, 3)