Inline abbrev lookup
[deliverable/binutils-gdb.git] / gdb / nios2-tdep.c
index cb669da24802bdfcc1d37a99a4f6d4e8801b885c..acc287350354b0fe14da665be2a1abda14d7a05a 100644 (file)
@@ -24,7 +24,7 @@
 #include "frame-unwind.h"
 #include "frame-base.h"
 #include "trad-frame.h"
-#include "dwarf2-frame.h"
+#include "dwarf2/frame.h"
 #include "symtab.h"
 #include "inferior.h"
 #include "gdbtypes.h"
@@ -2236,7 +2236,7 @@ nios2_get_longjmp_target (struct frame_info *frame, CORE_ADDR *pc)
 static ULONGEST
 nios2_type_align (struct gdbarch *gdbarch, struct type *type)
 {
-  switch (TYPE_CODE (type))
+  switch (type->code ())
     {
     case TYPE_CODE_PTR:
     case TYPE_CODE_FUNC:
This page took 0.025025 seconds and 4 git commands to generate.