From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6623 invoked by alias); 20 Dec 2002 18:09:50 -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 6615 invoked from network); 20 Dec 2002 18:09:45 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by 209.249.29.67 with SMTP; 20 Dec 2002 18:09:45 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id gBKHh9g00975 for ; Fri, 20 Dec 2002 12:43:09 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gBKI9X215936 for ; Fri, 20 Dec 2002 13:09:33 -0500 Received: from localhost.redhat.com (romulus-int.sfbay.redhat.com [172.16.27.46]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gBKI9VL14300 for ; Fri, 20 Dec 2002 13:09:31 -0500 Received: by localhost.redhat.com (Postfix, from userid 469) id B7EF4FF79; Fri, 20 Dec 2002 13:13:56 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15875.24035.153991.390184@localhost.redhat.com> Date: Fri, 20 Dec 2002 10:19:00 -0000 To: gdb-patches@sources.redhat.com Subject: [RFA/PATCH] breakpoint.c: fix until command X-SW-Source: 2002-12/txt/msg00585.txt.bz2 This fixes the problem reported in: http://sources.redhat.com/ml/gdb/2002-11/msg00144.html testsuite patch coming Elena 2002-12-20 Elena Zannoni Fix PR breakpoints/898. * breakpoint.c (until_break_command): Don't use selected_frame, but the null frame. Index: breakpoint.c =================================================================== RCS file: /cvs/uberbaum/gdb/breakpoint.c,v retrieving revision 1.104 diff -u -p -r1.104 breakpoint.c --- breakpoint.c 17 Dec 2002 17:27:44 -0000 1.104 +++ breakpoint.c 20 Dec 2002 18:06:27 -0000 @@ -5615,9 +5615,7 @@ until_break_command (char *arg, int from resolve_sal_pc (&sal); - breakpoint = - set_momentary_breakpoint (sal,get_frame_id (deprecated_selected_frame), - bp_until); + breakpoint = set_momentary_breakpoint (sal, null_frame_id, bp_until); if (!event_loop_p || !target_can_async_p ()) old_chain = make_cleanup_delete_breakpoint (breakpoint);