From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17668 invoked by alias); 3 Sep 2010 14:17:48 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 17644 invoked by uid 22791); 3 Sep 2010 14:17:44 -0000 X-SWARE-Spam-Status: No, hits=-5.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: Oleg Nesterov Cc: Jan Kratochvil , utrace-devel@redhat.com, archer@sourceware.org Subject: Re: gdbstub initial code, v7 References: <20100830185850.GA1132@redhat.com> <20100830192040.GA15431@host1.dyn.jankratochvil.net> <20100831072048.GA26362@host1.dyn.jankratochvil.net> <20100902200632.GA23692@redhat.com> From: fche@redhat.com (Frank Ch. Eigler) Date: Fri, 03 Sep 2010 14:17:00 -0000 In-Reply-To: <20100902200632.GA23692@redhat.com> (Oleg Nesterov's message of "Thu, 2 Sep 2010 22:06:32 +0200") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2010-q3/txt/msg00139.txt.bz2 Oleg Nesterov writes: > [...] To the point, I had to add printk's to utrace.c to understand > what is wrong. Hopefully tomorrow. You might wish to try out systemtap for such purposes. It's easy to insert printk-like tracing at almost any point; monitor variables for changes, pretty-print structs, etc. No recompilation/reboot. - FChE