diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-08-05 16:22:51 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-08-05 16:22:51 +0000 |
commit | cf46733632c7279a9fd0fe6ce26f9185a4ae82a9 (patch) | |
tree | da27775a2161723ef342e91af41a8b51fedef405 /tools/dev/gdb-py/svndbg | |
parent | bb0ef45f7c46b0ae221b26265ef98a768c33f820 (diff) | |
download | subversion-tarball-master.tar.gz |
subversion-1.9.7HEADsubversion-1.9.7master
Diffstat (limited to 'tools/dev/gdb-py/svndbg')
-rw-r--r-- | tools/dev/gdb-py/svndbg/printers.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/dev/gdb-py/svndbg/printers.py b/tools/dev/gdb-py/svndbg/printers.py index da041b4..f1ee085 100644 --- a/tools/dev/gdb-py/svndbg/printers.py +++ b/tools/dev/gdb-py/svndbg/printers.py @@ -145,8 +145,8 @@ cstringType = gdb.lookup_type('char').pointer() apr_hash_count = InferiorFunction('apr_hash_count') apr_hash_first = InferiorFunction('apr_hash_first') apr_hash_next = InferiorFunction('apr_hash_next') -svn__apr_hash_index_key = InferiorFunction('svn__apr_hash_index_key') -svn__apr_hash_index_val = InferiorFunction('svn__apr_hash_index_val') +apr_hash_this_key = InferiorFunction('apr_hash_this_key') +apr_hash_this_val = InferiorFunction('apr_hash_this_val') def children_of_apr_hash(hash_p, value_type=None): """Iterate over an 'apr_hash_t *' GDB value, in the way required for a @@ -156,9 +156,9 @@ def children_of_apr_hash(hash_p, value_type=None): """ hi = apr_hash_first(0, hash_p) while (hi): - k = svn__apr_hash_index_key(hi).reinterpret_cast(cstringType) + k = apr_hash_this_key(hi).reinterpret_cast(cstringType) if value_type: - val = svn__apr_hash_index_val(hi).reinterpret_cast(value_type) + val = apr_hash_this_val(hi).reinterpret_cast(value_type) else: val = '...' try: |