From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14022 invoked by alias); 21 Jan 2008 15:47:08 -0000 Received: (qmail 13993 invoked by uid 22791); 21 Jan 2008 15:47:07 -0000 X-Spam-Check-By: sourceware.org Received: from imr2.ericy.com (HELO imr2.ericy.com) (198.24.6.3) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 21 Jan 2008 15:46:40 +0000 Received: from eusrcmw751.eamcs.ericsson.se (eusrcmw751.exu.ericsson.se [138.85.77.51]) by imr2.ericy.com (8.13.1/8.13.1) with ESMTP id m0LFkcWh025502 for ; Mon, 21 Jan 2008 09:46:38 -0600 Received: from ecamlmw720.eamcs.ericsson.se ([142.133.1.72]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Mon, 21 Jan 2008 09:46:38 -0600 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: -var-update using formatted value Date: Mon, 21 Jan 2008 15:47:00 -0000 Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA2DE0A2@ecamlmw720.eamcs.ericsson.se> References: <6D19CA8D71C89C43A057926FE0D4ADAA04290E3C@ecamlmw720.eamcs.ericsson.se><18320.559.863596.871051@kahikatea.snap.net.nz><6D19CA8D71C89C43A057926FE0D4ADAA2DE096@ecamlmw720.eamcs.ericsson.se><18321.5512.90696.545727@kahikatea.snap.net.nz><6D19CA8D71C89C43A057926FE0D4ADAA2DE09C@ecamlmw720.eamcs.ericsson.se> <18321.17566.890207.913917@kahikatea.snap.net.nz> From: "Marc Khouzam" Cc: X-IsSubscribed: yes 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-01/txt/msg00211.txt.bz2 > You can see what Emacs 22.1 does quite easily. You probably don't want t= o look > through thousands of lines of lisp code (gdb-ui.el) but you can just set > gdb-enable-debug to t and look at the value of gdb-debug-log after issuin= g some > commands to GDB in a session in Emacs (M-x gdb) so see the transactions. I downloaded emacs 22.1 a gave it a spin. It's pretty cool, the new GUI fo= r GDB. But I don't know how to set gdb-enable-debug to t or to look at gdb-debug-l= og after. My emacs is pretty darn rusty. I also couldn't figure out how to change the format to hex for a watch expr= ession. I did have a look at gdb-ui.el and I saw pretty much every -var-command use= d but=20 I could not find any reference to -var-set-format... > In fact, I'd be interested to know how well (badly?) GDB in Emacs performs > in an embedded environment. I currently don't have a setup to properly test this, but it is something we will be eventually looking into. At that time, I can give emacs a try. Marc