From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26155 invoked by alias); 21 Jul 2009 17:57:18 -0000 Received: (qmail 26145 invoked by uid 22791); 21 Jul 2009 17:57:17 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-2.vmware.com (HELO smtp-outbound-2.vmware.com) (65.115.85.73) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 21 Jul 2009 17:57:08 +0000 Received: from mailhost3.vmware.com (mailhost3.vmware.com [10.16.27.45]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 5B65E2F002; Tue, 21 Jul 2009 10:57:05 -0700 (PDT) Received: from [10.20.94.141] (msnyder-server.eng.vmware.com [10.20.94.141]) by mailhost3.vmware.com (Postfix) with ESMTP id 4C014CD9BC; Tue, 21 Jul 2009 10:57:05 -0700 (PDT) Message-ID: <4A660008.2040204@vmware.com> Date: Tue, 21 Jul 2009 17:57:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: Nick Roberts CC: Marc Khouzam , "gdb@sourceware.org" Subject: Re: [RFC] Queries and frontends References: <6D19CA8D71C89C43A057926FE0D4ADAA07C00023@ecamlmw720.eamcs.ericsson.se> <19045.23703.743876.775308@totara.tehura.co.nz> In-Reply-To: <19045.23703.743876.775308@totara.tehura.co.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2009-07/txt/msg00165.txt.bz2 Nick Roberts wrote: > Here's a revised patch for my original request. It doesn't help with issues > relating to GDB/MI but just uses the "server prefix" instead of a special > option. I have used this trick previously (2007-07-10) to avoid setting the > convenience variable $_ with breakpoints. This seems appropriate as I think > the "server" command was created many years ago by Tom Lord or Jim Kingdon for > use with annotations. I could add a suitable note to the documentation. Kingdon, 1994: Not terribly well documented. Mon Apr 11 10:44:35 1994 Jim Kingdon (kingdon@deneb.cygnus.com) * main.c (main): Accept --annotate=N option and make --fullname the same as --annotate=1. (command_line_input): Print annotatation before and after prompt. * blockframe.c (flush_cached_frames): Print annotation. * Rename frame_file_full_name to annotation_level and move it from symtab.h to defs.h. * source.c (identify_source_line): If annotation_level > 1, change output format. * breakpoint.c: Print annotation whenever a breakpoint changes. * main.c: New variable server_command. (command_line_input): Parse "server " and set server_command. (dont_repeat): Check server_command.