aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-breakpoint.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2016-11-20 10:10:58 -0700
committerTom Tromey <tom@tromey.com>2017-01-10 19:13:59 -0700
commit59e9e83119a528f17afea89ee22195a95322c6d6 (patch)
treeca807d1074d08e02a6c543a5a27e8e738df42ad0 /gdb/python/py-breakpoint.c
parent9de10f6d53dffbec12cec9843662d5764526983d (diff)
downloadbinutils-59e9e83119a528f17afea89ee22195a95322c6d6.zip
binutils-59e9e83119a528f17afea89ee22195a95322c6d6.tar.gz
binutils-59e9e83119a528f17afea89ee22195a95322c6d6.tar.bz2
Use gdbpy_ref in archpy_disassemble
This changes archpy_disassemble to use gdbpy_ref. It also fixes a latent bug where archpy_disassemble was decref'ing the results of a all to PyArg_ParseTupleAndKeywords. This is incorrect because PyArg_ParseTupleAndKeywords returns borrowed references. 2017-01-10 Tom Tromey <tom@tromey.com> * python/py-arch.c (archpy_disassemble): Use gdbpy_ref. Don't decref results of PyArg_ParseTupleAndKeywords.
Diffstat (limited to 'gdb/python/py-breakpoint.c')
0 files changed, 0 insertions, 0 deletions