summaryrefslogtreecommitdiffstats
path: root/libpython.py
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2010-02-26 23:51:19 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2010-02-26 23:51:19 -0500
commit64296d87c8db921ec58528d5a460a1f1ded1219c (patch)
treee33649e3a09e5dd91ed969d896279706174d6321 /libpython.py
parent21dc2fe23c9186f67f7170c70e69127e2a317269 (diff)
downloadlibpython-64296d87c8db921ec58528d5a460a1f1ded1219c.tar.gz
libpython-64296d87c8db921ec58528d5a460a1f1ded1219c.tar.xz
libpython-64296d87c8db921ec58528d5a460a1f1ded1219c.zip
Add tests of the handling of corrupt data
Rework get_stack_trace to support the injection of additional gdb commands after hitting the breakpoint, before running "bt" Rework get_gdb_repr so that it captures the value in frame #0 of the backtrace, rather than the value when the breakpoint hits. Add four more unit tests, using the above to corrupt the data before getting the backtrace representation.
Diffstat (limited to 'libpython.py')
0 files changed, 0 insertions, 0 deletions