From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21219 invoked by alias); 25 Aug 2008 16:41:25 -0000 Received: (qmail 21211 invoked by uid 22791); 25 Aug 2008 16:41:24 -0000 X-Spam-Check-By: sourceware.org Received: from g1t0029.austin.hp.com (HELO g1t0029.austin.hp.com) (15.216.28.36) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 25 Aug 2008 16:40:12 +0000 Received: from g1t0038.austin.hp.com (g1t0038.austin.hp.com [16.236.32.44]) by g1t0029.austin.hp.com (Postfix) with ESMTP id D10A938528 for ; Mon, 25 Aug 2008 16:40:10 +0000 (UTC) Received: from ldl.fc.hp.com (ldl.fc.hp.com [15.11.146.30]) by g1t0038.austin.hp.com (Postfix) with ESMTP id BADFE3010C; Mon, 25 Aug 2008 16:40:10 +0000 (UTC) Received: from localhost (ldl.fc.hp.com [127.0.0.1]) by ldl.fc.hp.com (Postfix) with ESMTP id 73EBE39C0A3; Mon, 25 Aug 2008 10:40:10 -0600 (MDT) Received: from ldl.fc.hp.com ([127.0.0.1]) by localhost (ldl.fc.hp.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xZvRlEUKLbnb; Mon, 25 Aug 2008 10:40:09 -0600 (MDT) Received: from tigger.helgaas (lart.fc.hp.com [15.11.146.31]) by ldl.fc.hp.com (Postfix) with ESMTP id 9BB6F39C06C; Mon, 25 Aug 2008 10:40:09 -0600 (MDT) From: Bjorn Helgaas To: gdb@sourceware.org Subject: read/write arbitrary files Date: Tue, 26 Aug 2008 16:29:00 -0000 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808251040.08733.bjorn.helgaas@hp.com> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-08/txt/msg00272.txt.bz2 I'd like to use gdb to examine and update arbitrary files. In particular, I'd like to disassemble and patch files like /dev/mem that are not in executable or core formats. Is there already a way to do this? If not, could there be? This was a very useful feature of adb. Bjorn