X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fnios2-tdep.h;h=7f83b2adca241b9ea06bde4515c6cc9fc33d2551;hb=50d036364fb2a71b3ac9a0b0cdbe58296832a1b2;hp=097975ea30ecf778f8bb914b75217684bf672f48;hpb=e2882c85786571175a0b0bfc3bcd2f14620b1ea3;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/nios2-tdep.h b/gdb/nios2-tdep.h index 097975ea30..7f83b2adca 100644 --- a/gdb/nios2-tdep.h +++ b/gdb/nios2-tdep.h @@ -1,5 +1,5 @@ /* Target-dependent header for the Nios II architecture, for GDB. - Copyright (C) 2012-2018 Free Software Foundation, Inc. + Copyright (C) 2012-2020 Free Software Foundation, Inc. Contributed by Mentor Graphics, Inc. This file is part of GDB. @@ -74,6 +74,9 @@ struct gdbarch_tdep CORE_ADDR (*syscall_next_pc) (struct frame_info *frame, const struct nios2_opcode *op); + /* Returns true if PC points to a kernel helper function. */ + bool (*is_kernel_helper) (CORE_ADDR pc); + /* Offset to PC value in jump buffer. If this is negative, longjmp support will be disabled. */ int jb_pc;