Home
last modified time | relevance | path

Searched refs:gdb (Results 1 – 25 of 256) sorted by relevance

1234567891011

/external/llvm-project/polly/lib/External/isl/
Dlibisl-gdb.py1 import gdb
14 void_ptr = gdb.lookup_type('void').pointer()
16 printer = gdb.parse_and_eval("isl_printer_to_str(isl_"
19 printer = gdb.parse_and_eval("isl_printer_print_"
23 string = gdb.parse_and_eval("(char*)isl_printer_get_str("
25 gdb.parse_and_eval("isl_printer_free(" + str(printer) + ")")
39 void_ptr = gdb.lookup_type('void').pointer()
42 context = gdb.parse_and_eval("isl_ctx_alloc()")
43 printer = gdb.parse_and_eval("isl_printer_to_str("
45 printer = gdb.parse_and_eval("isl_printer_print_isl_int("
[all …]
/external/llvm-project/libcxx/test/libcxx/gdb/
Dgdb_pretty_printer_test.py19 import gdb
25 class CheckResult(gdb.Command):
29 "print_and_compare", gdb.COMMAND_DATA)
37 compare_frame = gdb.newest_frame().older()
47 gdb.newest_frame().select()
80 s = gdb.execute("p value", to_string=True)
85 s = gdb.execute("p " + clean_expression_str, to_string=True)
101 gdb.execute("set height 0")
102 gdb.execute("set python print-stack full")
105 test_bp = gdb.Breakpoint("StopForDebugger")
[all …]
/external/mesa3d/src/intel/tools/
Dintel_stub_gpu.in10 -g, --gdb Launch GDB
21 gdb=""
26 --gdb)
27 gdb=1
31 gdb=1
69 if [ -z $gdb ]; then
72gdb -iex "set exec-wrapper env LD_PRELOAD=$ld_preload INTEL_STUB_GPU_PLATFORM=$platform" --args "$…
/external/llvm-project/debuginfo-tests/
DCMakeLists.txt7 add_llvm_executable(check-gdb-llvm-support
8 llvm-prettyprinters/gdb/llvm-support.cpp
10 target_link_libraries(check-gdb-llvm-support PRIVATE LLVMSupport)
21 check-gdb-llvm-support
26 add_llvm_executable(check-gdb-mlir-support
27 llvm-prettyprinters/gdb/mlir-support.cpp
29 …target_include_directories(check-gdb-mlir-support PRIVATE ${LLVM_EXTERNAL_MLIR_SOURCE_DIR}/include)
30 target_link_libraries(check-gdb-mlir-support PRIVATE MLIRIR)
31 list(APPEND DEBUGINFO_TEST_DEPS check-gdb-mlir-support)
/external/llvm-project/lldb/docs/use/
Dmap.rst29 <b>(gdb)</b> run
31 <b>(gdb)</b> r
47 <b>(gdb)</b> run &lt;args&gt;
49 <b>(gdb)</b> r &lt;args&gt;
65 <b>%</b> gdb --args a.out 1 2 3
67 <b>(gdb)</b> run
70 <b>(gdb)</b> run
91 <b>(gdb)</b> set args 1 2 3
93 <b>(gdb)</b> run
96 <b>(gdb)</b> run
[all …]
/external/python/cpython2/Tools/gdb/
Dlibpython.py47 import gdb
62 return gdb.lookup_type('char').pointer() # char*
66 return gdb.lookup_type('unsigned char').pointer() # unsigned char*
70 return gdb.lookup_type('void').pointer().sizeof
390 return gdb.lookup_type(cls._typename).pointer()
450 _PyObject_VAR_SIZE._type_size_t = gdb.lookup_type('size_t')
472 type_PyVarObject_ptr = gdb.lookup_type('PyVarObject').pointer()
805 if gdb.lookup_type('digit').sizeof == 2:
1102 _type_Py_UNICODE = gdb.lookup_type('Py_UNICODE')
1223 if type.code != gdb.TYPE_CODE_PTR:
[all …]
/external/llvm-project/llvm/docs/
DDebuggingJITedCode.rst89 $ gdb --quiet --args $BINPATH/lli -jit-kind=mcjit showdebug.ll 5
91 (gdb) b showdebug.c:6
95 (gdb) r
101 (gdb) p n
103 (gdb) p f
105 (gdb) n
107 (gdb) p f
109 (gdb) b showdebug.c:9
111 (gdb) c
116 (gdb) p f
[all …]
/external/llvm/docs/
DDebuggingJITedCode.rst89 $ gdb --quiet --args $BINPATH/lli -use-mcjit showdebug.ll 5
91 (gdb) b showdebug.c:6
95 (gdb) r
101 (gdb) p n
103 (gdb) p f
105 (gdb) n
107 (gdb) p f
109 (gdb) b showdebug.c:9
111 (gdb) c
116 (gdb) p f
[all …]
/external/llvm-project/mlir/utils/gdb-scripts/
Dprettyprinters.py3 import gdb.printing
13 ptr = (self.entry + 1).cast(gdb.lookup_type('char').pointer())
39 pointer_type = gdb.lookup_type('mlir::Type').pointer()
68 pointer_type = gdb.lookup_type('mlir::Location').pointer()
105 concrete_type = gdb.lookup_type(type_name)
107 storage = gdb.parse_and_eval(
109 except gdb.error:
160 pp = gdb.printing.RegexpCollectionPrettyPrinter('MLIRSupport')
239 gdb.printing.register_pretty_printer(gdb.current_objfile(), pp)
/external/python/cpython3/Tools/gdb/
Dlibpython.py48 import gdb
63 return gdb.lookup_type('char').pointer() # char*
67 return gdb.lookup_type('unsigned char').pointer() # unsigned char*
71 return gdb.lookup_type('unsigned short').pointer()
75 return gdb.lookup_type('unsigned int').pointer()
79 return gdb.lookup_type('void').pointer().sizeof
418 return gdb.lookup_type(cls._typename).pointer()
480 _PyObject_VAR_SIZE._type_size_t = gdb.lookup_type('size_t')
502 type_PyVarObject_ptr = gdb.lookup_type('PyVarObject').pointer()
743 ent_ptr_t = gdb.lookup_type('PyDictKeyEntry').pointer()
[all …]
/external/llvm-project/llvm/utils/gdb-scripts/
Dprettyprinters.py5 import gdb.printing
6 import gdb.types
30 return escape_bytes(begin.cast(gdb.lookup_type('char').pointer()), self.val['Size'])
114 gdb.lookup_type('llvm::ErrorInfoBase').pointer()).dereference())
158 is_equal = gdb.parse_and_eval(n + '::isEqual')
159 empty = gdb.parse_and_eval(n + '::getEmptyKey()')
160 tombstone = gdb.parse_and_eval(n + '::getTombstoneKey()')
214 entry_ty = gdb.lookup_type('llvm::StringMapEntry<{}>'.format(value_ty.name))
215 tombstone = gdb.parse_and_eval('llvm::StringMapImpl::TombstoneIntVal');
227 str_data = (entry_ptr + 1).cast(gdb.lookup_type('char').const().pointer())
[all …]
/external/skia/tools/gdb/
Dbitmap.py17 import gdb
43 class sk_bitmap(gdb.Command):
48 gdb.COMMAND_SUPPORT,
49 gdb.COMPLETE_FILENAME)
52 frame = gdb.selected_frame()
65 process = gdb.selected_inferior()
/external/skqp/tools/gdb/
Dbitmap.py17 import gdb
43 class sk_bitmap(gdb.Command):
48 gdb.COMMAND_SUPPORT,
49 gdb.COMPLETE_FILENAME)
52 frame = gdb.selected_frame()
65 process = gdb.selected_inferior()
/external/openssh/regress/
Dagent-ptrace.sh20 if have_prog gdb ; then
50 gdb ${SSHAGENT} ${SSH_AGENT_PID} > ${OBJ}/gdb.out 2>&1 << EOF
57 ….*Permission denied.|procfs:.*: Invalid argument.|Unable to access task ' >/dev/null ${OBJ}/gdb.out
59 rm -f ${OBJ}/gdb.out
/external/tensorflow/tensorflow/lite/micro/kernels/vexriscv/utils/
DREADME.md21 In the following guide with GDB, we will be using the example gdb script
54 Example: `/opt/zephyr-sdk/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gdb \ -x
55 profiling.gdb \
61 (gdb) target remote :8833
62 (gdb) monitor start
63 (gdb) continue
66 (gdb) poor_profile 1000
69 ### Interrupt the gdb script regularly with a shell command
72 for i in $(seq 1000); do echo $i...; killall -INT riscv64-zephyr-elf-gdb; sleep 5; done
84 python log_parser.py [INPUT] --regex=gdb_regex.json --visualize --top=7 --source=gdb
[all …]
/external/catch2/contrib/
Dgdbinit2 # This file provides a way to skip stepping into Catch code when debugging with gdb.
4 # With the gdb "skip" command you can tell gdb to skip files or functions during debugging.
5 # see https://xaizek.github.io/2016-05-26/skipping-standard-library-in-gdb/ for an example
7 # Basically the following line tells gdb to skip all functions containing the
/external/llvm-project/lld/test/ELF/
Dgdb-index-invalid-ranges.s3 # RUN: ld.lld --gdb-index -e main %t.o -o /dev/null 2>&1 | FileCheck %s
4 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/gdb-index-invalid-ranges.obj.s -o %t…
6 # RUN: ld.lld --gdb-index -e main %t2.o %t.a -o /dev/null 2>&1 | FileCheck --check-prefix=ARCHIVE %s
8 # CHECK: ld.lld: warning: {{.*}}gdb-index-invalid-ranges.s.tmp.o:{{(\(\.debug_info\):)?}} decoding …
9 # ARCHIVE: ld.lld: warning: {{.*}}gdb-index-invalid-ranges.s.tmp.a(gdb-index-invalid-ranges.s.tmp.o…
Dgdb-index.s3 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/gdb-index.s -o %t2.o
4 # RUN: ld.lld --gdb-index %t1.o %t2.o -o %t
7 # RUN: llvm-dwarfdump -gdb-index %t | FileCheck %s --check-prefix=DWARF
11 # RUN: %p/Inputs/gdb-index.s -o %t2.o
12 # RUN: ld.lld --gdb-index %t1.o %t2.o -o %t
15 # RUN: llvm-dwarfdump -gdb-index %t | FileCheck %s --check-prefix=DWARF
51 # RUN: ld.lld --gdb-index --no-gdb-index %t1.o %t2.o -o %t2
/external/llvm-project/lldb/examples/test/tmp/
Dlldb_log-x86_64-clang-TestBreakpointCommand.BreakpointCommandTestCase.test_with_dwarf.txt11 <lldb.process.gdb-remote.async> ProcessGDBRemote::AsyncThread (arg = 0x7fabc0997600, pid = 0) threa…
12 <lldb.process.gdb-remote.async> ProcessGDBRemote::AsyncThread (arg = 0x7fabc0997600, pid = 0) liste…
37 <lldb.process.gdb-remote.async> ProcessGDBRemote::AsyncThread (arg = 0x7fabc1882000, pid = 55289) G…
38 <lldb.process.gdb-remote.async> ProcessGDBRemote::AsyncThread (arg = 0x7fabc1882000, pid = 55289) g…
39 <lldb.process.gdb-remote.async> ProcessGDBRemote::AsyncThread (arg = 0x7fabc1882000, pid = 55289) t…
52 <lldb.process.gdb-remote.async> ProcessGDBRemote::AsyncThread (arg = 0x7fabc0bed200, pid = 55292) G…
53 <lldb.process.gdb-remote.async> ProcessGDBRemote::AsyncThread (arg = 0x7fabc0bed200, pid = 55292) g…
54 <lldb.process.gdb-remote.async> ProcessGDBRemote::AsyncThread (arg = 0x7fabc0bed200, pid = 55292) t…
/external/llvm-project/llvm/test/DebugInfo/
Ddwarfdump-dump-gdbindex.test1 RUN: llvm-dwarfdump -gdb-index %p/Inputs/dwarfdump-gdbindex-v7.elf-x86-64 | FileCheck %s
9 ; gold --gdb-index test.o test2.o -o dwarfdump-gdbindex-v7.elf-x86-64
11 ; Info about gdb-index: https://sourceware.org/gdb/onlinedocs/gdb/Index-Section-Format.html
/external/llvm/utils/gdb-scripts/
Dprettyprinters.py1 import gdb.printing
11 return begin.cast(gdb.lookup_type("char").pointer()).string(length = end - begin)
102 pp = gdb.printing.RegexpCollectionPrettyPrinter("LLVMSupport")
107 gdb.printing.register_pretty_printer(gdb.current_objfile(), pp)
/external/python/cpython2/Misc/
Dgdbinit1 # If you use the GNU debugger gdb to debug the Python C runtime, you
3 # ~/.gdbinit file and it'll get loaded into gdb automatically when you
4 # start it up. Then, at the gdb prompt you can do things like:
6 # (gdb) pyo apyobjectptr
11 # (gdb)
13 # NOTE: If you have gdb 7 or later, it supports debugging of Python directly
15 # See Tools/gdb/libpython.py and http://bugs.python.org/issue8032.
22 # info - assigning just prevents gdb from printing the
91 ### Use these at your own risk. It appears that a bug in gdb causes it
112 # Here's a somewhat fragile way to print the entire Python stack from gdb.
/external/python/cpython3/Misc/
Dgdbinit1 # If you use the GNU debugger gdb to debug the Python C runtime, you
3 # ~/.gdbinit file and it'll get loaded into gdb automatically when you
4 # start it up. Then, at the gdb prompt you can do things like:
6 # (gdb) pyo apyobjectptr
11 # (gdb)
13 # NOTE: If you have gdb 7 or later, it supports debugging of Python directly
15 # See Tools/gdb/libpython.py and http://bugs.python.org/issue8032.
19 # info - assigning just prevents gdb from printing the
99 ### Use these at your own risk. It appears that a bug in gdb causes it
120 # Here's a somewhat fragile way to print the entire Python stack from gdb.
/external/pigweed/targets/lm3s6965evb-qemu/
Dtarget_docs.rst53 -gdb tcp::3333 -S
61 $ arm-none-eabi-gdb path/to/firmare.elf
62 (gdb) target remote :3333
63 (gdb) break SomeFunction()
64 (gdb) continue
/external/pigweed/targets/stm32f429i-disc1/
Dtarget_docs.rst124 $ arm-none-eabi-gdb -ex "target remote :3333" \
131 (gdb) set print pretty on
132 (gdb) load
133 (gdb) mon reset init
134 (gdb) continue
166 Info : starting gdb server for stm32f4x.cpu on 3333
167 Info : Listening on port 3333 for gdb connections
176 $ arm-none-eabi-gdb -ex "target remote :3333" \
184 GNU gdb (GNU Arm Embedded Toolchain 9-2020-q2-update) 8.3.1.20191211-git
193 <http://www.gnu.org/software/gdb/bugs/>.
[all …]

1234567891011