/frameworks/compile/libbcc/gdb_plugin/ |
android-commands.py | 18 # GDB plugin to allow debugging of apps on remote Android systems using gdbserver. 20 # To use this plugin, source this file from a Python-enabled GDB client, then use: 21 # load-android-app <app-source-dir> to tell GDB about the app you are debugging 28 import gdb namespace 43 # DebugAppInfo - App configuration struct, as far as GDB cares 44 # StartAndroidApp - Implementation of GDB start (for android apps) 45 # RunAndroidApp - Implementation of GDB run (for android apps) 46 # AttachAndroidApp - GDB command to attach to an existing android app process 109 raise gdb.GdbError("Unable to read ANDROID_BUILD_TOP. " \ 152 raise gdb.GdbError("Error starting background adb " + str(largs) [all...] |
/external/chromium_org/tools/gdb/ |
gdb_chrome.py | 5 """GDB support for Chrome types. 7 Add this to your gdb by amending your ~/.gdbinit as follows: 10 sys.path.insert(0, "/path/to/tools/gdb/") 14 This module relies on the WebKit gdb module already existing in 18 (gdb) p /r any_variable 23 import gdb namespace 27 # (gdb) python del sys.modules['gdb_chrome'] 28 # (gdb) python import gdb_chrome 33 pp_set = gdb.printing.RegexpCollectionPrettyPrinter("chromium") 39 By default, gdb would print just the address, which takes mor [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.7/share/gdb/python/gdb/ |
printing.py | 19 import gdb namespace 20 import gdb.types namespace 34 it is defined (objfile, progspace, or global(gdb)), and should 118 if gdb.parameter("verbose"): 119 gdb.write("Registering global %s pretty-printer ...\n" % name) 120 obj = gdb 122 if gdb.parameter("verbose"): 123 gdb.write("Registering %s pretty-printer for %s ...\n" % 137 # PERF: gdb records printers in a list, making this inefficient. 201 typename = gdb.types.get_basic_type(val.type).ta [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/share/gdb/python/gdb/ |
printing.py | 19 import gdb namespace 20 import gdb.types namespace 34 it is defined (objfile, progspace, or global(gdb)), and should 118 if gdb.parameter("verbose"): 119 gdb.write("Registering global %s pretty-printer ...\n" % name) 120 obj = gdb 122 if gdb.parameter("verbose"): 123 gdb.write("Registering %s pretty-printer for %s ...\n" % 137 # PERF: gdb records printers in a list, making this inefficient. 201 typename = gdb.types.get_basic_type(val.type).ta [all...] |
/external/valgrind/main/gdbserver_tests/ |
mcbreak.stderrB.exp | 1 relaying data between gdb and process ....
|
mchelp.stdoutB.exp | 8 v.set gdb_output : set valgrind output to gdb 10 v.set mixed_output : set valgrind output to log, interactive output to gdb 37 v.set gdb_output : set valgrind output to gdb 39 v.set mixed_output : set valgrind output to log, interactive output to gdb
|
/art/test/etc/ |
push-and-run-test-jar | 13 GDB="n" 36 elif [ "x$1" = "x--gdb" ]; then 37 GDB="y" 123 if [ "$GDB" = "y" ]; then 124 gdb="gdbserver :5039" 135 $INVOKE_WITH $gdb dalvikvm $gdbargs -XXlib:$LIB $ZYGOTE $JNI_OPTS $INT_OPTS $DEBUGGER_OPTS -Ximage:/data/art-test/core.art -cp $DEX_LOCATION/$TEST_NAME.jar Main"
|
/external/eigen/debug/gdb/ |
printers.py | 12 # This is still pretty basic as the python extension to gdb is still pretty basic. 29 import gdb namespace 43 # The gdb extension does not support value template arguments - need to extract them by hand 45 if type.code == gdb.TYPE_CODE_REF: 76 if self.data.type.code == gdb.TYPE_CODE_STRUCT: 134 # The gdb extension does not support value template arguments - need to extract them by hand 136 if type.code == gdb.TYPE_CODE_REF: 183 obj = gdb 191 if type.code == gdb.TYPE_CODE_REF:
|
/external/valgrind/main/tests/ |
check_makefile_consistency | 74 for f in $(ls -d *.exp* *.gdb *.vgtest 2>/dev/null) 76 if [ "$f" = "*.exp*" -o "$f" = "*.gdb" -o "$f" = "*.vgtest" ]; then
|
/ndk/build/tools/ |
build-gcc.sh | 47 register_option "--gdb-version=<version>" do_gdb_version "Specify gdb version" "$GDB_VERSION" 159 if [ ! -d $SRC_DIR/gdb/gdb-$GDB_VERSION ] ; then 160 echo "ERROR: Missing gdb sources: $SRC_DIR/gdb/gdb-$GDB_VERSION" 161 echo " Use --gdb-version=<version> to specify alternative." 178 dump "Auto-config: --gdb-version=$GDB_VERSION" 181 if [ ! -d $SRC_DIR/gdb/gdb-$GDB_VERSION ] ; the [all...] |
download-toolchain-sources.sh | 201 toolchain_clone gdb 219 toolchain_checkout "" $BRANCH gdb gdb-7.3.x gdb-7.6
|
/external/chromium_org/build/android/ |
adb_gdb | 62 DEFAULT_PULL_LIBS_DIR=/tmp/$USER-adb-gdb-libs 86 GDBEXEPOSTFIX=gdb 209 Attach gdb to a running Android $PROGRAM_NAME process. 216 Attach gdb to a running Android $PROGRAM_NAME process. 234 - host gdb client (e.g. arm-linux-androideabi-gdb) 241 the script will use it to find the gdb and gdbserver binaries. You can 261 --gdb and --symbol-lib options to specify everything manually. 263 An alternative to --gdb=<file> is to use --toollchain=<path> to specify 284 gdb command script with the --script=<file> option. Note that its command [all...] |
/prebuilts/python/darwin-x86/2.7.5/share/pretty-printers/libstdcxx/gcc-4.6/ |
printers.py | 18 import gdb namespace 76 nodetype = gdb.lookup_type('std::_List_node<%s>' % itype).pointer() 78 nodetype = gdb.lookup_type('std::__norm::_List_node<%s>' % itype).pointer() 100 nodetype = gdb.lookup_type('std::_List_node<%s>' % itype).pointer() 102 nodetype = gdb.lookup_type('std::__norm::_List_node<%s>' % itype).pointer() 133 nodetype = gdb.lookup_type('__gnu_cxx::_Slist_node<%s>' % itype).pointer() 149 nodetype = gdb.lookup_type('__gnu_cxx::_Slist_node<%s>' % itype).pointer() 199 self.is_bool = val.type.template_argument(0).code == gdb.TYPE_CODE_BOOL 300 self.visualizer = gdb.default_visualizer(val['c']) 359 nodetype = gdb.lookup_type('std::_Rb_tree_node < %s >' % valuetype [all...] |
/prebuilts/python/linux-x86/2.7.5/share/pretty-printers/libstdcxx/gcc-4.6/ |
printers.py | 18 import gdb namespace 76 nodetype = gdb.lookup_type('std::_List_node<%s>' % itype).pointer() 78 nodetype = gdb.lookup_type('std::__norm::_List_node<%s>' % itype).pointer() 100 nodetype = gdb.lookup_type('std::_List_node<%s>' % itype).pointer() 102 nodetype = gdb.lookup_type('std::__norm::_List_node<%s>' % itype).pointer() 133 nodetype = gdb.lookup_type('__gnu_cxx::_Slist_node<%s>' % itype).pointer() 149 nodetype = gdb.lookup_type('__gnu_cxx::_Slist_node<%s>' % itype).pointer() 199 self.is_bool = val.type.template_argument(0).code == gdb.TYPE_CODE_BOOL 300 self.visualizer = gdb.default_visualizer(val['c']) 359 nodetype = gdb.lookup_type('std::_Rb_tree_node < %s >' % valuetype [all...] |
/external/chromium_org/tools/valgrind/ |
valgrind.sh | 20 GDB=gdb 23 # Prefer a gdb that matches the executable if it's available. 25 GDB="/usr/bin/gdb32"; 27 GDB="/usr/bin/gdb64"; 31 # Prompt to attach gdb when there was an error detected. 32 DEFAULT_TOOL_FLAGS=("--db-command=$GDB -nw %f %p" "--db-attach=yes" \ 33 # Keep the registers in gdb in sync with the code.
|
/external/llvm/utils/ |
codegen-diff | 30 print "opened gdb output file $filename\n" if $DEBUG; 40 } elsif (/^(0x[0-9a-f]*):\t$/) { # deal with gdb's line breaker 87 codegen-diff [-d] I<OBJDUMP-OUTPUT-FILE> I<GDB-DISASSEMBLY-FILE> 98 Second, you create I<GDB-DISASSEMBLY-FILE> by running B<gdb>, with my patch 129 L<gdb(1)>, L<objdump(1)>, L<script(1)>. 131 You will need my B<gdb> patch: 133 http://llvm.cs.uiuc.edu/~gaeke/gdb-disassembly-print-bytes.patch
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/share/gdb/python/gdb/command/ |
pretty_printers.py | 17 """GDB commands for working with pretty-printers.""" 20 import gdb namespace 41 argv = gdb.string_to_argv(arg); 84 class InfoPrettyPrinter(gdb.Command): 85 """GDB command to list all registered pretty-printers. 100 gdb.COMMAND_DATA) 157 """GDB calls this to perform the command.""" 159 self.invoke1("global pretty-printers:", gdb.pretty_printers, 161 cp = gdb.current_progspace() 165 for objfile in gdb.objfiles() [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/share/gdb/python/gdb/command/ |
pretty_printers.py | 17 """GDB commands for working with pretty-printers.""" 20 import gdb namespace 41 argv = gdb.string_to_argv(arg); 84 class InfoPrettyPrinter(gdb.Command): 85 """GDB command to list all registered pretty-printers. 100 gdb.COMMAND_DATA) 157 """GDB calls this to perform the command.""" 159 self.invoke1("global pretty-printers:", gdb.pretty_printers, 161 cp = gdb.current_progspace() 165 for objfile in gdb.objfiles() [all...] |
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/share/gdb/python/gdb/command/ |
pretty_printers.py | 17 """GDB commands for working with pretty-printers.""" 20 import gdb namespace 41 argv = gdb.string_to_argv(arg); 84 class InfoPrettyPrinter(gdb.Command): 85 """GDB command to list all registered pretty-printers. 100 gdb.COMMAND_DATA) 157 """GDB calls this to perform the command.""" 159 self.invoke1("global pretty-printers:", gdb.pretty_printers, 161 cp = gdb.current_progspace() 165 for objfile in gdb.objfiles() [all...] |
/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/share/gdb/python/gdb/command/ |
pretty_printers.py | 17 """GDB commands for working with pretty-printers.""" 20 import gdb namespace 41 argv = gdb.string_to_argv(arg); 84 class InfoPrettyPrinter(gdb.Command): 85 """GDB command to list all registered pretty-printers. 100 gdb.COMMAND_DATA) 157 """GDB calls this to perform the command.""" 159 self.invoke1("global pretty-printers:", gdb.pretty_printers, 161 cp = gdb.current_progspace() 165 for objfile in gdb.objfiles() [all...] |
/prebuilts/python/darwin-x86/2.7.5/share/pretty-printers/libstdcxx/gcc-4.8/ |
printers.py | 18 import gdb namespace 25 import gdb.printing namespace 32 import gdb.types namespace 33 if hasattr(gdb.types, 'TypePrinter'): 46 return gdb.lookup_type(search) 227 self.is_bool = val.type.template_argument(0).code == gdb.TYPE_CODE_BOOL 330 self.visualizer = gdb.default_visualizer(val['c']) 389 nodetype = gdb.lookup_type(typename).strip_typedefs() 501 if wtype.code == gdb.TYPE_CODE_ARRAY: 604 if type.code == gdb.TYPE_CODE_REF [all...] |
/prebuilts/python/linux-x86/2.7.5/share/pretty-printers/libstdcxx/gcc-4.8/ |
printers.py | 18 import gdb namespace 25 import gdb.printing namespace 32 import gdb.types namespace 33 if hasattr(gdb.types, 'TypePrinter'): 46 return gdb.lookup_type(search) 227 self.is_bool = val.type.template_argument(0).code == gdb.TYPE_CODE_BOOL 330 self.visualizer = gdb.default_visualizer(val['c']) 389 nodetype = gdb.lookup_type(typename).strip_typedefs() 501 if wtype.code == gdb.TYPE_CODE_ARRAY: 604 if type.code == gdb.TYPE_CODE_REF [all...] |
/prebuilts/python/darwin-x86/2.7.5/share/pretty-printers/libstdcxx/gcc-4.7/ |
printers.py | 18 import gdb namespace 25 import gdb.printing namespace 37 return gdb.lookup_type(search) 216 self.is_bool = val.type.template_argument(0).code == gdb.TYPE_CODE_BOOL 319 self.visualizer = gdb.default_visualizer(val['c']) 378 nodetype = gdb.lookup_type(typename).strip_typedefs() 490 if wtype.code == gdb.TYPE_CODE_ARRAY: 593 if type.code == gdb.TYPE_CODE_REF: 601 reptype = gdb.lookup_type (str (realtype) + '::_Rep').pointer () 716 # "SubPrettyPrinter" protocol from gdb.printing [all...] |
/prebuilts/python/linux-x86/2.7.5/share/pretty-printers/libstdcxx/gcc-4.7/ |
printers.py | 18 import gdb namespace 25 import gdb.printing namespace 37 return gdb.lookup_type(search) 216 self.is_bool = val.type.template_argument(0).code == gdb.TYPE_CODE_BOOL 319 self.visualizer = gdb.default_visualizer(val['c']) 378 nodetype = gdb.lookup_type(typename).strip_typedefs() 490 if wtype.code == gdb.TYPE_CODE_ARRAY: 593 if type.code == gdb.TYPE_CODE_REF: 601 reptype = gdb.lookup_type (str (realtype) + '::_Rep').pointer () 716 # "SubPrettyPrinter" protocol from gdb.printing [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_gdb.py | 1 # Verify that gdb can pretty-print the various PyObject* types 3 # The code for testing gdb was adapted from similar work in Unladen Swallow's 16 gdb_version, _ = subprocess.Popen(["gdb", "--version"], 19 # This is what "no gdb" looks like. There may, however, be other 21 raise unittest.SkipTest("Couldn't find gdb on the path") 22 gdb_version_number = re.search("^GNU gdb [^\d]*(\d+)\.(\d)", gdb_version) 26 raise unittest.SkipTest("gdb versions before 7.0 didn't support python embedding" 31 'python-gdb.py') 34 """Runs gdb in --batch mode with the additional arguments given by *args. 43 base_cmd = ('gdb', '--batch' [all...] |