From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18448 invoked by alias); 12 Nov 2002 20:24:55 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 18441 invoked from network); 12 Nov 2002 20:24:54 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 12 Nov 2002 20:24:54 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 52BA33D0F; Tue, 12 Nov 2002 15:24:54 -0500 (EST) Message-ID: <3DD16396.30801@redhat.com> Date: Tue, 12 Nov 2002 12:24:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Carlton Cc: insight@sources.redhat.com, Keith Seitz , Andrew Cagney Subject: Re: [patch] a few more frame_in_dummy's References: Content-Type: multipart/mixed; boundary="------------080502090601000900090407" X-SW-Source: 2002-q4/txt/msg00097.txt.bz2 This is a multi-part message in MIME format. --------------080502090601000900090407 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 88 [list changed to insight@] Good catch, thanks! I've checked it in for you :-) Andrew --------------080502090601000900090407 Content-Type: message/rfc822; name="mailbox-message://ac131313@movemail/fsf/gdb/patches#8505018" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="mailbox-message://ac131313@movemail/fsf/gdb/patches#8505018" Content-length: 4626 X-Mozilla-Status2: 00000000 Return-Path: Delivered-To: ac131313@localhost.redhat.com Received: from localhost (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 7944D3D04 for ; Mon, 11 Nov 2002 16:27:42 -0500 (EST) Envelope-to: cagney@gnu.org Delivery-date: Mon, 11 Nov 2002 16:23:38 -0500 Received: from fencepost.gnu.org by localhost with IMAP (fetchmail-5.9.13) for ac131313@localhost (single-drop); Mon, 11 Nov 2002 16:27:42 -0500 (EST) Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.10) id 18BM1y-0003Bg-00 for cagney@gnu.org; Mon, 11 Nov 2002 16:23:38 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18BM0K-0006RV-00 for cagney@gnu.org; Mon, 11 Nov 2002 16:22:00 -0500 Received: from sources.redhat.com ([209.249.29.67]) by monty-python.gnu.org with smtp (Exim 4.10) id 18BLuB-0004FY-00 for cagney@gnu.org; Mon, 11 Nov 2002 16:15:35 -0500 Received: (qmail 17750 invoked by alias); 11 Nov 2002 21:15:33 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Delivered-To: mailing list gdb-patches@sources.redhat.com Received: (qmail 17743 invoked from network); 11 Nov 2002 21:15:33 -0000 Received: from unknown (HELO jackfruit.Stanford.EDU) (171.64.38.136) by sources.redhat.com with SMTP; 11 Nov 2002 21:15:33 -0000 Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id gABLFWb20876; Mon, 11 Nov 2002 13:15:32 -0800 X-Authentication-Warning: jackfruit.Stanford.EDU: carlton set sender to carlton@math.stanford.edu using -f To: gdb-patches@sources.redhat.com Subject: [patch] a few more frame_in_dummy's Cc: Keith Seitz , Andrew Cagney From: David Carlton Date: 11 Nov 2002 13:15:31 -0800 Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, hits=-1.4 required=5.0 tests=SPAM_PHRASE_00_01,USER_AGENT,X_AUTH_WARNING version=2.41 X-Spam-Level: Content-length: 1990 Andrew's recent patch deprecating frame_in_dummy missed some instances in gdbtk; here's a patch changing them over. It seems obvious; I'll apply it unless somebody complains. David Carlton carlton@math.stanford.edu 2002-11-11 David Carlton * generic/gdbtk-stack.c (get_frame_name): Replace call to frame_in_dummy with one to deprecated_frame_in_dummy. * generic/gdbtk-cmds.c (gdb_loc): Ditto. Index: gdbtk-stack.c =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-stack.c,v retrieving revision 1.9 diff -u -p -r1.9 gdbtk-stack.c --- gdbtk-stack.c 23 Apr 2002 00:03:09 -0000 1.9 +++ gdbtk-stack.c 11 Nov 2002 21:11:22 -0000 @@ -520,7 +520,7 @@ get_frame_name (Tcl_Interp *interp, Tcl_ enum language funlang = language_unknown; Tcl_Obj *objv[1]; - if (frame_in_dummy (fi)) + if (deprecated_frame_in_dummy (fi)) { objv[0] = Tcl_NewStringObj ("\n", -1); Tcl_ListObjAppendElement (interp, list, objv[0]); @@ -537,7 +537,7 @@ get_frame_name (Tcl_Interp *interp, Tcl_ find_pc_line (fi->pc, fi->next != NULL && !fi->next->signal_handler_caller - && !frame_in_dummy (fi->next)); + && !deprecated_frame_in_dummy (fi->next)); func = find_pc_function (fi->pc); if (func) Index: gdbtk-cmds.c =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v retrieving revision 1.58 diff -u -p -r1.58 gdbtk-cmds.c --- gdbtk-cmds.c 10 Oct 2002 23:55:36 -0000 1.58 +++ gdbtk-cmds.c 11 Nov 2002 21:11:17 -0000 @@ -2273,7 +2273,7 @@ gdb_loc (ClientData clientData, Tcl_Inte sal = find_pc_line (selected_frame->pc, selected_frame->next != NULL && !selected_frame->next->signal_handler_caller - && !frame_in_dummy (selected_frame->next)); + && !deprecated_frame_in_dummy (selected_frame->next)); } else { --------------080502090601000900090407--