This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 1/2] nios2-tdep: set default frame base


2014-02-11  Sanimir Agovic  <sanimir.agovic@intel.com>

	* nios2-tdep.c (nios2_gdbarch_init): Call frame_base_set_default.


Signed-off-by: Sanimir Agovic <sanimir.agovic@intel.com>
---
 gdb/nios2-tdep.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gdb/nios2-tdep.c b/gdb/nios2-tdep.c
index 8f18739..b83c8a5 100644
--- a/gdb/nios2-tdep.c
+++ b/gdb/nios2-tdep.c
@@ -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);
 
   /* Single stepping.  */
   set_gdbarch_software_single_step (gdbarch, nios2_software_single_step);
-- 
1.8.4.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]