This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/2] nios2-tdep: set default frame base
- From: Yao Qi <yao at codesourcery dot com>
- To: Sanimir Agovic <sanimir dot agovic at intel dot com>
- Cc: <sandra at codesourcery dot com>, <gdb-patches at sourceware dot org>
- Date: Wed, 12 Feb 2014 09:20:49 +0800
- Subject: Re: [PATCH 1/2] nios2-tdep: set default frame base
- Authentication-results: sourceware.org; auth=none
- References: <1392110775-21242-1-git-send-email-sanimir dot agovic at intel dot com> <1392110775-21242-2-git-send-email-sanimir dot agovic at intel dot com>
On 02/11/2014 05:26 PM, Sanimir Agovic wrote:
> @@ -1595,6 +1595,7 @@ nios2_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
> dwarf2_append_unwinders (gdbarch);
> frame_unwind_append_unwinder (gdbarch, &nios2_stub_frame_unwind);
> frame_unwind_append_unwinder (gdbarch, &nios2_frame_unwind);
> + frame_base_set_default (gdbarch, &nios2_stub_frame_base);
Sanimir,
some lines below, we have:
frame_unwind_append_unwinder (gdbarch, &nios2_frame_unwind);
/* Single stepping. */
set_gdbarch_software_single_step (gdbarch, nios2_software_single_step);
/* Hook in ABI-specific overrides, if they have been registered. */
gdbarch_init_osabi (info, gdbarch);
if (tdep->jb_pc >= 0)
set_gdbarch_get_longjmp_target (gdbarch, nios2_get_longjmp_target);
frame_base_set_default (gdbarch, &nios2_frame_base);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
so looks we can remove nios2_stub_frame_base.
--
Yao (éå)