From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10346 invoked by alias); 15 Mar 2013 15:55:00 -0000 Received: (qmail 10330 invoked by uid 22791); 15 Mar 2013 15:54:59 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ob0-f178.google.com (HELO mail-ob0-f178.google.com) (209.85.214.178) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 15 Mar 2013 15:54:50 +0000 Received: by mail-ob0-f178.google.com with SMTP id wd20so3365450obb.37 for ; Fri, 15 Mar 2013 08:54:50 -0700 (PDT) X-Received: by 10.60.170.198 with SMTP id ao6mr3243146oec.28.1363362890100; Fri, 15 Mar 2013 08:54:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.60.7 with HTTP; Fri, 15 Mar 2013 08:54:10 -0700 (PDT) In-Reply-To: <87sj3w1xky.fsf@fleche.redhat.com> References: <87sj3w1xky.fsf@fleche.redhat.com> From: Hui Zhu Date: Fri, 15 Mar 2013 15:55:00 -0000 Message-ID: Subject: Re: [DIscussion] some thought about call a editor set the commands of breakpoints and tracepoints To: Tom Tromey Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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: 2013-03/txt/msg00025.txt.bz2 On Fri, Mar 15, 2013 at 11:39 PM, Tom Tromey wrote: >>>>>> "Hui" == Hui Zhu writes: > > Hui> So I thought why not let gdb call a editor set the commands of > Hui> breakpoints and tracepoints? > Hui> For example: > Hui> commands -e 1 > Hui> Then editor come out, the original commands of 1 is inside there. You > Hui> can just change some lines in there to change the commands. > > Hui> What do you think about it? Any comments is always welcome. > > I think it would be a good idea. > Actually I vaguely recall that there was a patch for this before. > > Tom Hi Tom, Do you have a url or title of this patch to make me can find this patch? Thanks, Hui