From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26798 invoked by alias); 30 Jan 2015 09:12:56 -0000 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 Received: (qmail 26697 invoked by uid 89); 30 Jan 2015 09:12:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SEMBACKSCATTER,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout25.012.net.il Received: from mtaout25.012.net.il (HELO mtaout25.012.net.il) (80.179.55.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 30 Jan 2015 09:12:49 +0000 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NIZ00D00FUNQU00@mtaout25.012.net.il> for gdb@sourceware.org; Fri, 30 Jan 2015 11:07:54 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NIZ00C44G166N20@mtaout25.012.net.il>; Fri, 30 Jan 2015 11:07:54 +0200 (IST) Date: Fri, 30 Jan 2015 10:12:00 -0000 From: Eli Zaretskii Subject: Re: Which piece of code handle the history of commands In-reply-to: To: fei ding Cc: gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: <83vbjoljhw.fsf@gnu.org> References: X-IsSubscribed: yes X-SW-Source: 2015-01/txt/msg00085.txt.bz2 > Date: Fri, 30 Jan 2015 16:51:21 +0800 > From: fei ding > > Is there anyone familiar with the code of handling history of > commands, I want to get the commands which user input in my code when > modifying gdb.Thanks. I think this is done in readline's history features.