From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18362 invoked by alias); 18 Mar 2004 19:26:31 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18326 invoked from network); 18 Mar 2004 19:26:29 -0000 Received: from unknown (HELO mail-out4.apple.com) (17.254.13.23) by sources.redhat.com with SMTP; 18 Mar 2004 19:26:29 -0000 Received: from mailgate2.apple.com (a17-128-100-204.apple.com [17.128.100.204]) by mail-out4.apple.com (8.12.11/8.12.11) with ESMTP id i2IJSnUw018522 for ; Thu, 18 Mar 2004 11:28:49 -0800 (PST) Received: from relay2.apple.com (relay2.apple.com) by mailgate2.apple.com (Content Technologies SMTPRS 4.3.6) with ESMTP id ; Thu, 18 Mar 2004 11:26:26 -0800 Received: from [17.201.22.21] (moleja.apple.com [17.201.22.21]) by relay2.apple.com (8.12.11/8.12.11) with ESMTP id i2IJQOTT008672; Thu, 18 Mar 2004 19:26:25 GMT In-Reply-To: References: <6994FFF8-786D-11D8-9229-000393D457E2@apple.com> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <2124EB3A-7912-11D8-A2F0-000393D457E2@apple.com> Content-Transfer-Encoding: 7bit Cc: gdb-patches@sources.redhat.com From: Jason Molenda Subject: Re: RFC patch mi-cmds.c table format (pedantic) Date: Fri, 19 Mar 2004 00:09:00 -0000 To: Eli Zaretskii X-SW-Source: 2004-03/txt/msg00433.txt.bz2 Hi Eli, On Mar 17, 2004, at 9:54 PM, Eli Zaretskii wrote: >> - { "break-insert", { NULL, 0 }, 0, mi_cmd_break_insert}, >> + { "break-insert", { NULL, 0 }, NULL, mi_cmd_break_insert}, >> >> - { "exec-step", { NULL, 0 }, mi_cmd_exec_step}, >> + { "exec-step", { NULL, 0 }, mi_cmd_exec_step, NULL}, >> >> - { NULL, } >> + { NULL, { NULL, 0 }, NULL, NULL} > > Don't these changes require changes to the GDB/MI documentation in > gdb.texinfo? IIRC, there are examples there to what each command > outputs. No, with each of these changes the same code is generated by the compiler. J From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18362 invoked by alias); 18 Mar 2004 19:26:31 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18326 invoked from network); 18 Mar 2004 19:26:29 -0000 Received: from unknown (HELO mail-out4.apple.com) (17.254.13.23) by sources.redhat.com with SMTP; 18 Mar 2004 19:26:29 -0000 Received: from mailgate2.apple.com (a17-128-100-204.apple.com [17.128.100.204]) by mail-out4.apple.com (8.12.11/8.12.11) with ESMTP id i2IJSnUw018522 for ; Thu, 18 Mar 2004 11:28:49 -0800 (PST) Received: from relay2.apple.com (relay2.apple.com) by mailgate2.apple.com (Content Technologies SMTPRS 4.3.6) with ESMTP id ; Thu, 18 Mar 2004 11:26:26 -0800 Received: from [17.201.22.21] (moleja.apple.com [17.201.22.21]) by relay2.apple.com (8.12.11/8.12.11) with ESMTP id i2IJQOTT008672; Thu, 18 Mar 2004 19:26:25 GMT In-Reply-To: References: <6994FFF8-786D-11D8-9229-000393D457E2@apple.com> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: <2124EB3A-7912-11D8-A2F0-000393D457E2@apple.com> Content-Transfer-Encoding: 7bit Cc: gdb-patches@sources.redhat.com From: Jason Molenda Subject: Re: RFC patch mi-cmds.c table format (pedantic) Date: Thu, 18 Mar 2004 19:26:00 -0000 To: Eli Zaretskii X-SW-Source: 2004-03.o/txt/msg00433.txt Message-ID: <20040318192600.R220eJVV8YHcVWAHZ7jizDDB4l5vQ0ptGI29yP7X25A@z> Hi Eli, On Mar 17, 2004, at 9:54 PM, Eli Zaretskii wrote: >> - { "break-insert", { NULL, 0 }, 0, mi_cmd_break_insert}, >> + { "break-insert", { NULL, 0 }, NULL, mi_cmd_break_insert}, >> >> - { "exec-step", { NULL, 0 }, mi_cmd_exec_step}, >> + { "exec-step", { NULL, 0 }, mi_cmd_exec_step, NULL}, >> >> - { NULL, } >> + { NULL, { NULL, 0 }, NULL, NULL} > > Don't these changes require changes to the GDB/MI documentation in > gdb.texinfo? IIRC, there are examples there to what each command > outputs. No, with each of these changes the same code is generated by the compiler. J