From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29323 invoked by alias); 6 Aug 2004 18:31:29 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 29146 invoked from network); 6 Aug 2004 18:31:28 -0000 Received: from unknown (HELO ext-ch1gw-3.online-age.net) (216.34.191.37) by sourceware.org with SMTP; 6 Aug 2004 18:31:28 -0000 Received: from int-ch1gw-5.online-age.net (int-ch1gw-5 [3.159.232.69]) by ext-ch1gw-3.online-age.net (8.12.9/8.12.9/990426-RLH) with ESMTP id i76IVP42008879 for ; Fri, 6 Aug 2004 14:31:26 -0400 (EDT) Received: from cinmlef01.e2k.ad.ge.com (localhost [127.0.0.1]) by int-ch1gw-5.online-age.net (8.12.9/8.12.3/990426-RLH) with ESMTP id i76IUp7b013853 for ; Fri, 6 Aug 2004 14:31:23 -0400 (EDT) Received: from cinmlvem03.e2k.ad.ge.com ([3.159.213.60]) by cinmlef01.e2k.ad.ge.com with Microsoft SMTPSVC(5.0.2195.6673); Fri, 6 Aug 2004 14:11:41 -0400 Subject: question about using gdb in emacs MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Fri, 06 Aug 2004 18:31:00 -0000 Message-ID: <4B7CBC6E0614B242B2341EFA909D8D6D1C344E87@CINMLVEM03.e2k.ad.ge.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Li, Jindong \(GE Infrastructure, Non GE\)" To: X-OriginalArrivalTime: 06 Aug 2004 18:11:42.0184 (UTC) FILETIME=[D3579680:01C47BE0] X-SW-Source: 2004-08/txt/msg00109.txt.bz2 I am using emacs 21.3. I want to use gdb in emacs. I did the following: 1. open emacs 2. go to my application directory 3. M-x shell to start shell 4. If I type "gdb" in the shell prompt, the gdb window was opened.=20 But I don't want to use gdb this way (but this proves that "gdb" is rec= ognized by the shell). 5. type the command `M-x gdb' followed by `Return' 6. The Emacs message bar will now display the message: Run gdb (like this): gdb Enter the name of my executable program test.exe 7. I got the erro message:=20 searching for program: no such file or directory, gdb Question:Why "gdb" is not recognized in the second way? I used gdb in emacs a lot before. The only change here is I just installed = the emacs 21.3. Was it something I set wrong? Thanks. jli