| Index: gdb/mips-tdep.h
|
| diff --git a/gdb/mips-tdep.h b/gdb/mips-tdep.h
|
| index 2e85895e5c1f5654a744637e2f1592838e131c32..91d7cb02cdde5a04e6fdf8b4045e12085b9d7555 100644
|
| --- a/gdb/mips-tdep.h
|
| +++ b/gdb/mips-tdep.h
|
| @@ -1,6 +1,6 @@
|
| /* Target-dependent header for the MIPS architecture, for GDB, the GNU Debugger.
|
|
|
| - Copyright (C) 2002-2003, 2007-2012 Free Software Foundation, Inc.
|
| + Copyright (C) 2002-2013 Free Software Foundation, Inc.
|
|
|
| This file is part of GDB.
|
|
|
| @@ -20,6 +20,8 @@
|
| #ifndef MIPS_TDEP_H
|
| #define MIPS_TDEP_H
|
|
|
| +#include "objfiles.h"
|
| +
|
| struct gdbarch;
|
|
|
| /* All the possible MIPS ABIs. */
|
| @@ -184,4 +186,12 @@ extern void mips_write_pc (struct regcache *regcache, CORE_ADDR pc);
|
| extern struct target_desc *mips_tdesc_gp32;
|
| extern struct target_desc *mips_tdesc_gp64;
|
|
|
| +/* Return non-zero if PC is in a MIPS SVR4 lazy binding stub section. */
|
| +
|
| +static inline int
|
| +in_mips_stubs_section (CORE_ADDR pc)
|
| +{
|
| + return pc_in_section (pc, ".MIPS.stubs");
|
| +}
|
| +
|
| #endif /* MIPS_TDEP_H */
|
|
|