This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Delete stack.c redundant functions
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 13 Jan 2003 19:12:33 -0500
- Subject: Re: [PATCH] Delete stack.c redundant functions
- References: <15905.43998.691811.522932@localhost.redhat.com>
Elena Zannoni writes:
>
> All these functions are doing nothing useful. They were introduced
> when the TUI was written, but were never deleted after Stephane Carrez
> cleaned up their use in the tui.
>
> I'll commit this in a couple of days.
>
> Elena
>
committed
> gdb/ChangeLog
> 2003-01-12 Elena Zannoni <ezannoni@redhat.com>
>
> * stack.c (print_frame_info, print_stack_frame_base_stub,
> print_stack_frame_base, show_and_print_stack_frame_stub,
> show_and_print_stack_frame, print_only_stack_frame_stub,
> print_only_stack_frame): Delete functions.
> (print_stack_frame_stub): Call print_frame_info instead of
> print_frame_info_base.
> (print_frame_info_base): Rename to print_frame_info.
> (backtrace_command_1): Call print_frame_info, instead of
> print_frame_info_base.
> (current_frame_command): Call print_stack_frame, instead of
> print_only_stack_frame.
> (frame_command): Call print_stack_frame, instead of
> show_and_print_stack_frame.
> (up_command): Ditto.
> (down_command): Ditto.
> * frame.h (print_only_stack_frame): Delete prototype.
> * infrun.c (normal_stop): Call print_stack_frame, instead of
> show_and_print_stack_frame.
> * thread.c (info_threads_command): Call print_stack_frame, instead
> of print_only_stack_frame.
>
>
> mi/ChangeLog
> 2003-01-12 Elena Zannoni <ezannoni@redhat.com>
>
> * mi-main.c (mi_cmd_exec_return): Use print_stack_frame instead of
> show_and_print_stack_frame.
>