From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29888 invoked by alias); 28 Apr 2004 16:37:01 -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 29877 invoked from network); 28 Apr 2004 16:37:01 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 28 Apr 2004 16:37:01 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i3SGb0KI011717 for ; Wed, 28 Apr 2004 12:37:00 -0400 Received: from localhost.redhat.com (to-dhcp51.toronto.redhat.com [172.16.14.151]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i3SGaxv29140; Wed, 28 Apr 2004 12:36:59 -0400 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 6DB702B9D; Wed, 28 Apr 2004 12:37:01 -0400 (EDT) Message-ID: <408FDDAD.1040504@gnu.org> Date: Wed, 28 Apr 2004 16:37:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-GB; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Clean up print_stack_frame et.al. References: <40892B83.30209@gnu.org> In-Reply-To: <40892B83.30209@gnu.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg00636.txt.bz2 I've checked this in. Andrew > 2004-04-23 Andrew Cagney > > * stack.c (print_stack_frame_stub): Delete declaration. > (struct print_stack_frame_args, print_stack_frame) > (print_frame_info, print_frame): Replace "source" with print what. > Replace "print" with "print_level". Replace "args" with > "print_args". > * frame.h (show_and_print_stack_frame, print_stack_frame) > (print_frame_info): Update declarations. > * stack.c (select_and_print_frame, frame_command) > (current_frame_command, up_command, down_command): Update calls - > use get_selected_frame, pass "enum print_what" for source, do not > call frame_relative_level. > * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Ditto. > * remote-rdp.c (remote_rdp_open): Ditto. > * remote-mips.c (common_open): Ditto. > * remote-e7000.c (e7000_start_remote): Ditto. > * ocd.c (ocd_start_remote): Ditto. > * mi/mi-main.c (mi_cmd_exec_return): Ditto. > * infrun.c (normal_stop): Ditto. > * inflow.c (kill_command): Ditto. > * infcmd.c (finish_command): Ditto. > * corelow.c (core_open): Ditto. > * tracepoint.c (finish_tfind_command): Ditto. > * thread.c (info_threads_command, info_threads_command) > (restore_current_thread, do_captured_thread_select): Ditto. > * ada-tasks.c (task_command): Ditto. >