/freebsd/tools/tools/kgdb/ |
H A D | tcplog.py | 77 class TCPLogDump(gdb.Command): 81 "tcplog_dump", gdb.COMMAND_USER 112 inf = gdb.inferiors()[0] # in a coredump this should always be safe 115 hdrlen = gdb.parse_and_eval("sizeof(struct tcp_log_header)") 118 inp = tcpcb.cast(gdb.lookup_type("struct inpcb").pointer()) 121 bufaddr = gdb.parse_and_eval( 123 length = gdb.parse_and_eval("sizeof(struct in_endpoints)") 158 length = gdb.parse_and_eval("sizeof(struct tcp_log_buffer)") 160 length = gdb.parse_and_eval("&((struct tcp_log_buffer *) 0)->tlb_th") 162 bufaddr = gdb.parse_and_eval("&(((struct tcp_log_mem *){})->tlm_buf)".format(eaddr)) [all …]
|
/freebsd/contrib/netbsd-tests/usr.bin/gdb/ |
H A D | t_regress.sh | 41 cat <<EOF >test.gdb 49 gdb --batch -x test.gdb dig >gdb.out 50 atf_check -s exit:1 -o ignore -e ignore grep "Program received signal SIGTRAP" gdb.out 66 cat <<EOF >test.gdb 70 gdb --batch -x test.gdb ./test >gdb.out 2>&1 71 atf_check -s exit:1 -o ignore -e ignore grep "annot access memory" gdb.out
|
/freebsd/libexec/kgdb/ |
H A D | acttrace.py | 8 import gdb 12 return gdb.lookup_global_symbol(name).value() 16 for thread in gdb.inferiors()[0].threads(): 35 class acttrace(gdb.Command): 37 super(acttrace, self).__init__("acttrace", gdb.COMMAND_USER) 41 curthread = gdb.selected_thread() 56 gdb.execute("bt")
|
/freebsd/targets/pseudo/userland/gnu/ |
H A D | Makefile.depend | 22 gnu/usr.bin/gdb/doc \ 23 gnu/usr.bin/gdb/gdb \ 24 gnu/usr.bin/gdb/gdbserver \ 25 gnu/usr.bin/gdb/kgdb \ 26 gnu/usr.bin/gdb/libgdb \
|
/freebsd/crypto/openssh/regress/ |
H A D | agent-ptrace.sh | 20 if have_prog gdb ; then 51 gdb ${SSHAGENT} ${SSH_AGENT_PID} > ${OBJ}/gdb.out 2>&1 << EOF 58 …|Invalid argument.|Unable to access task|Inappropriate ioctl for device.' >/dev/null ${OBJ}/gdb.out 60 rm -f ${OBJ}/gdb.out
|
/freebsd/contrib/kyua/utils/ |
H A D | stacktrace.cpp | 187 const fs::path gdb(builtin_gdb); in find_gdb() local 188 if (gdb.is_absolute()) in find_gdb() 189 return utils::make_optional(gdb); in find_gdb() 191 return fs::find_in_path(gdb.c_str()); in find_gdb() 306 const optional< fs::path > gdb = utils::find_gdb(); in dump_stacktrace() local 307 if (!gdb) { in dump_stacktrace() 323 run_gdb(gdb.get(), program, core_file.get()), in dump_stacktrace()
|
H A D | stacktrace_test.cpp | 280 optional< fs::path > gdb = utils::find_gdb(); in ATF_TEST_CASE_BODY() local 281 ATF_REQUIRE(gdb); in ATF_TEST_CASE_BODY() 282 ATF_REQUIRE_EQ("/path/to/gdb", gdb.get().str()); in ATF_TEST_CASE_BODY() 296 optional< fs::path > gdb = utils::find_gdb(); in ATF_TEST_CASE_BODY() local 297 ATF_REQUIRE(gdb); in ATF_TEST_CASE_BODY() 298 ATF_REQUIRE_EQ(exp_gdb, gdb.get()); in ATF_TEST_CASE_BODY() 307 optional< fs::path > gdb = utils::find_gdb(); in ATF_TEST_CASE_BODY() local 308 ATF_REQUIRE(!gdb); in ATF_TEST_CASE_BODY() 316 optional< fs::path > gdb = utils::find_gdb(); in ATF_TEST_CASE_BODY() local 317 ATF_REQUIRE(!gdb); in ATF_TEST_CASE_BODY() [all …]
|
/freebsd/tools/debugscripts/ |
H A D | README | 2 This directory contains gdb macros for kernel debugging. When you 9 # gdb kernel.debug 17 automatically extracts the path to the kernel source, runs gdb to extract 18 information about kernel modules loaded, and then reruns gdb loading the
|
H A D | dot.gdbinit | 11 # gdb kernel.debug 13 # Read gdb(4) for more details. 72 # trouble here is that it's a pain to use, since gdb doesn't have the 80 # Improvements in gdb should make this go away some day.
|
/freebsd/sbin/savecore/tests/ |
H A D | livedump_test.sh | 25 cat >./kldstat.gdb <<'__EOF__' 39 echo "source ./kldstat.gdb" > ./script.gdb 41 kgdb -q ${kernel} ./livecore.0 < ./script.gdb
|
/freebsd/contrib/llvm-project/lldb/docs/man/ |
H A D | lldb-server.rst | 36 Runs the server using the gdb-remote protocol. LLDB can afterwards 37 connect to the server using *gdb-remote* command. 150 Define a port to be used for gdb-server connections. Can be specified multiple 157 Specify the range of ports that can be used for gdb-server connections. Both 192 Use *gdb-remote* command to connect to the server: 194 (lldb) gdb-remote 1234 202 (lldb) gdb-remote 1234
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteErrno.def | 16 // from gdb's include/gdb/fileio.h
|
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/ |
H A D | qemu-3-deps-vm.sh | 21 fakeroot fio gdb inetutils jq less linux linux-headers lsscsi nfs-utils \ 39 fakeroot fio gdb gdebi git ksh lcov isc-dhcp-client jq libacl1-dev \ 55 gdb gettext gettext-runtime git gmake gsed jq ksh lcov libtool lscpu \ 84 gdb git jq kernel-rpm-macros ksh libacl-devel libaio-devel \
|
/freebsd/sys/dev/firewire/ |
H A D | 00README | 78 dmesg and gdb those are statically linked. 80 as gdb with /dev/mem or want to insert savectx(&dumppcb) into panic(), 91 # gdb -k -c /dev/fwmem0 /sys/i386/compile/GENERIC/kernel.debug 94 remote gdb at 400,000,000 bps :-)
|
/freebsd/usr.sbin/crashinfo/ |
H A D | crashinfo.sh | 159 GDB=/usr/local/bin/gdb 226 ${GDB%gdb}kgdb -q $KERNEL $VMCORE < $file
|
/freebsd/usr.sbin/bhyve/ |
H A D | Makefile | 86 SRCS+= gdb.c 91 SUBDIR+= gdb
|
/freebsd/lib/clang/liblldb/ |
H A D | Makefile | 468 SRCS+= Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp 541 SRCS+= Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp 542 SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp 543 SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 544 SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationHistory.cpp 545 SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp 546 SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp 547 SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp 548 SRCS+= Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp 549 SRCS+= Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp [all …]
|
/freebsd/tools/build/options/ |
H A D | WITH_GDB | 2 .Xr gdb 1 .
|
H A D | WITHOUT_GDB | 2 .Xr gdb 1 .
|
H A D | WITH_DEBUG_FILES | 6 .Xr gdb 1 .
|
/freebsd/sys/ |
H A D | README.md | 39 | gdb | kernel remote GDB stub - `gdb(4)` |
|
/freebsd/contrib/xz/ |
H A D | README | 176 using gdb: 177 $ gdb /path/to/app-binary # Load the app to the debugger. 178 (gdb) core core # Open the coredump. 179 (gdb) bt # Print the backtrace. Copy & paste to bug report. 180 (gdb) quit # Quit gdb.
|
/freebsd/stand/kboot/ |
H A D | README | 41 Add -g -G to have gdb stop and wait for the debugger. This is useful for 45 debugging the trampiline and up to that, use gdb /boot/loader. When debugging
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | ti-8x | 27 >0x00003B byte 0x08 (gdb) 44 >0x00003B byte 0x08 (gdb) 62 >0x00003B byte 0x08 (gdb) 80 >0x00003B byte 0x08 (gdb)
|
/freebsd/usr.sbin/bhyve/gdb/ |
H A D | Makefile | 2 FILESDIR= ${SHAREDIR}/bhyve/gdb
|