From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31311 invoked by alias); 2 May 2005 18:57:24 -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 31111 invoked from network); 2 May 2005 18:57:10 -0000 Received: from unknown (HELO mailhub.lss.emc.com) (168.159.2.31) by sourceware.org with SMTP; 2 May 2005 18:57:10 -0000 Received: from popimap.lss.emc.com (caduseus.lss.emc.com [10.254.140.132]) by mailhub.lss.emc.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id j42Iv6ae007710; Mon, 2 May 2005 14:57:07 -0400 (EDT) Received: from [10.243.8.105] (USENJEZRAD1E.eng.emc.com [10.243.8.105]) by popimap.lss.emc.com (Switch-2.2.8/Switch-2.2.0) with ESMTP id j42Iv4P26685; Mon, 2 May 2005 14:57:04 -0400 (EDT) Message-ID: <427677FF.20308@emc.com> Date: Mon, 02 May 2005 18:57:00 -0000 From: josef ezra User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb-patches@sources.redhat.com Subject: Re: bug when stringify more then one tracepoint (one line patch) References: <4224CB60.1060607@emc.com> <20050501232354.GA4311@nevyn.them.org> In-Reply-To: <20050501232354.GA4311@nevyn.them.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.0.3.0, Antispam-Data: 2005.5.2.22 X-PerlMx-Spam: Gauge=, SPAM=7%, Reasons='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_VERSION 0, __SANE_MSGID 0' X-SW-Source: 2005-05/txt/msg00053.txt.bz2 Hello Daniel Thank you for checking my report. The bug happens when user creates more then one memrange collection items. I have tried to add a test to gdb.trace/collection.exp (the current one collects one chunk of globals), but it keep complaining about “Current target does not support trace”. To follow collection.exp example, the commands: (gdb) file collections (gdb) target remote host_running_collection:9999 (gdb) trace globals_test_func (gdb) actions > collect globalc > collect globald > end (gdb) tstart Would send the target a string with arbitrary characters. - Josef Ezra Daniel Jacobowitz wrote: > On Tue, Mar 01, 2005 at 03:06:56PM -0500, josef ezra wrote: > >>Hello >> >>In this code, since "count" accumulates the length of tracepoints >>bytecode, adding it to "end" caused gaps of arbitrary data at the buffer. >> >> >>2005-03-01 Josef Ezra >> * tracepoint.c (stringify_collection_list): Correcting position of next >>tracepoint to stringify at buffer. > > > Hi Josef, > > Thanks for the patch. It looks correct to me; but could you describe > how to trigger this bug? >