From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7148 invoked by alias); 13 May 2013 16:23:19 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 7137 invoked by uid 89); 13 May 2013 16:23:19 -0000 X-Spam-SWARE-Status: No, score=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 13 May 2013 16:23:18 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r4DGNCZC004362 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 13 May 2013 12:23:12 -0400 Received: from barimba (ovpn-113-133.phx2.redhat.com [10.3.113.133]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r4DGNA5U002321 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 13 May 2013 12:23:11 -0400 From: Tom Tromey To: Hui Zhu Cc: Pedro Alves , Eli Zaretskii , Hui Zhu , gdb-patches ml , Marc Khouzam Subject: Re: [PATCH] add -s option to make -break-insert support dprintf References: <515451EA.1000200@mentor.com> <83y5d7wpvq.fsf@gnu.org> <516454DA.9040109@redhat.com> <87ppxzhfqy.fsf@fleche.redhat.com> <516C2549.3060808@redhat.com> <87vc7ithtj.fsf@fleche.redhat.com> <87wqrrll9m.fsf@fleche.redhat.com> <87d2t2tt02.fsf@fleche.redhat.com> <87ehdehnc9.fsf@fleche.redhat.com> Date: Mon, 13 May 2013 16:23:00 -0000 In-Reply-To: (Hui Zhu's message of "Sat, 11 May 2013 10:37:56 +0800") Message-ID: <87li7idf2q.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-05/txt/msg00445.txt.bz2 >>>>> "Hui" == Hui Zhu writes: Hui> 2013-05-11 Hui Zhu Hui> * breakpoint.c (dprintf_breakpoint_ops): Remove its static. Hui> * breakpoint.h (dprintf_breakpoint_ops): Add extern. Hui> * mi/mi-cmd-break.c (ctype.h): New include. Hui> (gdb_obstack.h): New include. Hui> (mi_argv_to_format, mi_cmd_break_insert_1): New. Hui> (mi_cmd_break_insert): Call mi_cmd_break_insert_1. Hui> (mi_cmd_dprintf_insert): New. Hui> * mi/mi-cmds.c (mi_cmds): Add "dprintf-insert". Hui> * mi/mi-cmds.h (mi_cmd_dprintf_insert): New extern. Hui> 2013-05-11 Hui Zhu Hui> * gdb.texinfo (GDB/MI Breakpoint Commands): Describe the Hui> "-dprintf-insert" command. Hui> 2013-05-11 Hui Zhu Hui> * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf". Hui> * gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New. The code bits are ok. Thanks. Tom