From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14179 invoked by alias); 18 Mar 2003 01:49:44 -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 13902 invoked from network); 18 Mar 2003 01:49:42 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sources.redhat.com with SMTP; 18 Mar 2003 01:49:42 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id AD1EAD34B8; Mon, 17 Mar 2003 17:49:44 -0800 (PST) Date: Tue, 18 Mar 2003 01:49:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: [RFA] Add observer notification in normal_stop Message-ID: <20030318014944.GJ16507@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2003-03/txt/msg00383.txt.bz2 Hello, I am currently writing a regression test for observer.c, which will live in testsuite/gdb.gdb. It's using a mechanism similar to xfullpath.exp. But in order for the test to function, observer.o needs to be linked in. This wasn't the case up to now, because there is currently no code using it. This patch is adding a call to observer_notify_normal_stop() inside normal_stop. This notification will be useful later, when the latest version of ada-task.c (from ACT's repository, accessible from libre.act-europe.fr BTW) is contributed. In the meantime, the overhead is really minimal and it allows us to test observer.c by debugging gdb. 2003-03-17 J. Brobecker * infrun.c (observer.h): Add #include. (normal_stop): Add call to observer_notify_normal_stop. * Makefile.in (infrun.o): Add dependency on observer.h. Ok to apply? -- Joel