From owner-freebsd-hackers Wed Aug 28 20:12:02 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA07324 for hackers-outgoing; Wed, 28 Aug 1996 20:12:02 -0700 (PDT) Received: (from jmb@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA07302 for hackers; Wed, 28 Aug 1996 20:11:59 -0700 (PDT) From: "Jonathan M. Bresler" Message-Id: <199608290311.UAA07302@freefall.freebsd.org> Subject: [Q] gdb on one box attaching to another? To: hackers Date: Wed, 28 Aug 1996 20:11:59 -0700 (PDT) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk on page 508 of the new daemon book _the_design_and_implementation_of_ _the_4.4BSD_operating_system_ it says: the kernel is also set up so that a gdb debugger running on once machine can attach itself across a serial line to a kernel running on another machine. Once attached, it can set breakpoints, examine and modify kernel dat4a structures, and invoke kernel routines on the machine being debugged. wow...how do we do this? what commands? i feel a justification for getting a second FreeBSD box. probably should be a laptop ;) jmb -- Jonathan M. Bresler FreeBSD Postmaster jmb@FreeBSD.ORG FreeBSD--4.4BSD Unix for PC clones, source included. http://www.freebsd.org/ PGP 2.6.2 Fingerprint: 31 57 41 56 06 C1 40 13 C5 1C E3 E5 DC 62 0E FB