Home
last modified time | relevance | path

Searched full:gdb (Results 1 – 25 of 325) sorted by relevance

12345678910>>...13

/freebsd/usr.sbin/dconschat/
H A Ddconschat.880 .Xr gdb 1 Pq Pa ports/devel/gdb
87 .Xr gdb 1 Pq Pa ports/devel/gdb .
89 .Xr gdb 1 Pq Pa ports/devel/gdb
130 .Xr gdb 1 Pq Pa ports/devel/gdb
170 .Xr gdb 1 Pq Pa ports/devel/gdb
253 .Xr gdb 1 Pq Pa ports/devel/gdb
255 .Xr gdb 1 Pq Pa ports/devel/gdb
260 .Sx "On-line Kernel Debugging Using Remote GDB"
264 .Xr gdb 4
267 % gdb -k kernel.debug
[all …]
/freebsd/contrib/netbsd-tests/usr.bin/gdb/
H A Dt_regress.sh28 # Regression tests for some GDB PRs
34 atf_set "descr" "Test that gdb works with threaded programs"
35 atf_set "require.progs" "gdb"
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
57 atf_set "descr" "Test that gdb works with PIE executables"
58 atf_set "require.progs" "cc gdb"
66 cat <<EOF >test.gdb
70 gdb --batch -x test.gdb ./test >gdb.out 2>&1
[all …]
/freebsd/contrib/kyua/utils/
H A Dstacktrace.cpp68 /// Built-in path to GDB.
76 const char* utils::builtin_gdb = GDB;
79 /// Maximum time the external GDB process is allowed to run for.
101 /// Functor to execute GDB in a subprocess.
103 /// Path to the GDB binary to use.
115 /// \param gdb_ Path to the GDB binary to use.
126 /// Executes GDB.
133 const fs::path gdb_script_path = control_directory / "gdb.script"; in operator ()()
135 // Old versions of GDB, such as the one shipped by FreeBSD as of in operator ()()
141 std::cerr << "Cannot create GDB script\n"; in operator ()()
[all …]
H A Dstacktrace_test.cpp279 utils::builtin_gdb = "/path/to/gdb"; in ATF_TEST_CASE_BODY()
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
[all …]
/freebsd/libexec/kgdb/
H A Dacttrace.py8 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()
49 print("failed to find GDB thread with TID {}".format(tid))
56 gdb.execute("bt")
62 # Registers the command with gdb, doesn't do anything.
/freebsd/share/man/man4/
H A Dnetgdb.430 .Nd protocol for debugging the kernel with GDB over the network
36 .Cd "options GDB"
43 is a UDP-based protocol for communicating with a remote GDB client via an
58 Then it waits for a GDB client to connect.
59 The GDB command to connect is:
66 and the ordinary GDB client, speaking the ordinary GDB remote protocol.
69 session is identical to any other kernel GDB session from the perspective
70 of the GDB debugger.
124 .It Va debug.gdb.netgdb.debug
131 .Xr gdb 4 ,
H A Dgdb.429 .Nm gdb
38 .Xr gdb 1 Pq Pa ports/devel/gdb
86 .Dl "gdb -k -wcore kernel.debug /dev/mem"
91 .Xr gdb 1 Pq Pa ports/devel/gdb
108 .Dl "gdb -k kernel.debug /var/crash/vmcore.29"
249 # gdb kernel.debug
250 GNU gdb 5.2.1 (FreeBSD)
320 # gdb -k kernel.debug /dev/fwmem0.0
321 GNU gdb 5.2.1 (FreeBSD)
337 .Xr gdb 1 Pq Pa ports/devel/gdb ,
[all …]
H A Ddcons.435 .Cd "options GDB"
43 .Cd "options GDB"
64 There are 2 ports, one for the console TTY and another is GDB port,
103 .Xr gdb 1 Pq Pa ports/devel/gdb
114 .Xr gdb 4 ,
/freebsd/sys/gdb/
H A Dnetgdb.c35 * both NetGDB and gdb(1), and pass bidirectional traffic between the two
38 * Second, The NetGDB client is activated much like ordinary 'gdb' and
43 * Finally, the remote (k)gdb(1) uses 'target remote <proxy>:<port>' to connect
46 * NetGDBv1 speaks the literal GDB remote serial protocol, and uses a 1:1
47 * relationship between GDB packets and plain debugnet packets. There is no
79 #include <gdb/gdb.h>
80 #include <gdb/gdb_int.h>
81 #include <gdb/netgdb.h>
156 * The following routines implement a pseudo GDB debugport (an emulated serial
157 * driver that the MI gdb(4) code does I/O with).
[all …]
H A Dgdb_cons.c30 * Support for redirecting console msgs to gdb. We register
31 * a pseudo console to hook cnputc and send stuff to the gdb
48 #include <gdb/gdb.h>
49 #include <gdb/gdb_int.h>
61 "copy console messages to GDB");
64 0, "copy console messages to GDB");
69 sprintf(cp->cn_name, "gdb"); in gdb_cnprobe()
173 CONSOLE_DRIVER(gdb);
H A Dgdb_main.c41 #include <gdb/gdb.h>
42 #include <gdb/gdb_int.h>
44 SYSCTL_NODE(_debug, OID_AUTO, gdb, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
45 "GDB settings");
50 KDB_BACKEND(gdb, gdb_init, NULL, NULL, gdb_trap);
84 printf("GDB: debug ports:"); in gdb_init()
92 printf("GDB: no debug ports present\n"); in gdb_init()
95 printf("GDB: current port: %s\n", gdb_cur->gdb_name); in gdb_init()
162 * EOF when GDB ask in gdb_do_threadinfo()
[all...]
/freebsd/crypto/openssh/regress/
H A Dagent-ptrace.sh20 if have_prog gdb ; then
23 echo "skipped (gdb not found)"
51 gdb ${SSHAGENT} ${SSH_AGENT_PID} > ${OBJ}/gdb.out 2>&1 << EOF
56 fail "gdb failed: exit code $r"
58 …|Invalid argument.|Unable to access task|Inappropriate ioctl for device.' >/dev/null ${OBJ}/gdb.out
60 rm -f ${OBJ}/gdb.out
/freebsd/targets/pseudo/userland/gnu/
H A DMakefile.depend22 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/sbin/savecore/tests/
H A Dlivedump_test.sh24 # Implement kldstat using gdb script.
25 cat >./kldstat.gdb <<'__EOF__'
37 # Use a script to source the main gdb script, otherwise kgdb prints
39 echo "source ./kldstat.gdb" > ./script.gdb
41 kgdb -q ${kernel} ./livecore.0 < ./script.gdb
/freebsd/tools/debugscripts/
H A DREADME2 This directory contains gdb macros for kernel debugging. When you
9 # gdb kernel.debug
10 This GDB was configured as "i386-undermydesk-freebsd"...
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
/freebsd/contrib/file/magic/Magdir/
H A Dti-8x27 >0x00003B byte 0x08 (gdb)
44 >0x00003B byte 0x08 (gdb)
62 >0x00003B byte 0x08 (gdb)
80 >0x00003B byte 0x08 (gdb)
105 >0x00003B byte 0x0D (function GDB)
106 >0x00003B byte 0x0E (polar GDB)
107 >0x00003B byte 0x0F (parametric GDB)
108 >0x00003B byte 0x10 (diffeq GDB)
138 >0x00003B byte 0x0D (function GDB)
139 >0x00003B byte 0x0E (polar GDB)
[all …]
/freebsd/usr.bin/clang/lldb-server/
H A Dlldb-server.159 Runs the server using the gdb\-remote protocol. LLDB can afterwards
60 connect to the server using \fIgdb\-remote\fP command.
175 .SS GDB\-SERVER CONNECTIONS
179 Define a port to be used for gdb\-server connections. Can be specified multiple
190 Specify the range of ports that can be used for gdb\-server connections. Both
234 Use \fIgdb\-remote\fP command to connect to the server:
237 (lldb) gdb\-remote 1234
248 (lldb) gdb\-remote 1234
/freebsd/contrib/llvm-project/lldb/docs/man/
H A Dlldb-server.rst36 Runs the server using the gdb-remote protocol. LLDB can afterwards
37 connect to the server using *gdb-remote* command.
145 GDB-SERVER CONNECTIONS
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/tools/test/stress2/misc/
H A Dfifo3.sh39 # $ gdb /tmp/fifo 19547
40 # GNU gdb 6.1.1 [FreeBSD]
42 # GDB is free software, covered by the GNU General Public License, and you are
45 # There is absolutely no warranty for GDB. Type "show warranty" for details.
46 # This GDB was configured as "amd64-marcel-freebsd"...
53 # (gdb) bt
59 # (gdb) f 3
63 # (gdb)
/freebsd/usr.sbin/crunch/examples/
H A Dreally-big.conf127 # gdb loses too
128 # progs gdb
129 # special gdb srcdir /usr/src/gnu/usr.bin/gdb/gdb
130 # libs /usr/src/gnu/usr.bin/gdb/bfd/obj/libbfd.a
131 # libs /usr/src/gnu/usr.bin/gdb/readline/obj/libreadline.a
132 # libs /usr/src/gnu/usr.bin/gdb/libiberty/obj/libiberty.a
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DTraceGDBRemotePackets.h19 /// See docs/lldb-gdb-remote.txt for more information.
22 /// jLLDBTraceSupported gdb-remote packet
41 /// jLLDBTraceStart gdb-remote packet
62 /// jLLDBTraceStop gdb-remote packet
86 /// jLLDBTraceGetState gdb-remote packet
147 /// jLLDBTraceGetBinaryData gdb-remote packet
/freebsd/usr.bin/gcore/
H A Dgcore.146 .Xr gdb 1 Pq Pa ports/devel/gdb .
96 .Xr gdb 1 Pq Pa ports/devel/gdb .
/freebsd/contrib/kyua/
H A Dconfigure.ac85 AC_PATH_PROG([GDB], [gdb])
86 test -n "${GDB}" || GDB=gdb
/freebsd/sys/dev/firewire/
H A D00README78 dmesg and gdb those are statically linked.
79 You may want to apply GDB-patch in this archive to get same behavior
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 Dcrashinfo.sh47 # Run a single gdb command against a kernel file in batch mode.
56 ${GDB} -batch -ex "$@" $k
159 GDB=/usr/local/bin/gdb
160 if [ ! -x "$GDB" ]; then
162 echo "Please install the devel/gdb port or gdb package."
226 ${GDB%gdb}kgdb -q $KERNEL $VMCORE < $file

12345678910>>...13