summaryrefslogtreecommitdiffstats
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-03-28 20:22:52 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-03-28 20:22:52 +0000
commit11c8145561ebaf02170cf601bcd9b393cdb82916 (patch)
tree2de8b8e93fb83f27e1169e2ca7aa718add3b21af /gdb/symtab.h
parent0875794a962c041bde76423e980875a467bb0bbe (diff)
downloadppe42-binutils-11c8145561ebaf02170cf601bcd9b393cdb82916.tar.gz
ppe42-binutils-11c8145561ebaf02170cf601bcd9b393cdb82916.zip
gdb/
GDB find_pc_partial_function support for STT_GNU_IFUNC. * blockframe.c (cache_pc_function_is_gnu_ifunc): New variable. (clear_pc_function_cache): Clear it. (find_pc_partial_function): Rename to ... (find_pc_partial_function_gnu_ifunc): ... this function. New parameter is_gnu_ifunc_p, describe it. Set *IS_GNU_IFUNC_P. (find_pc_partial_function): New wrapper for this function. * symtab.h (find_pc_partial_function_gnu_ifunc): New declaration.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 9e24828094..0645515f3f 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -956,6 +956,11 @@ extern struct symbol *find_pc_function (CORE_ADDR);
extern struct symbol *find_pc_sect_function (CORE_ADDR, struct obj_section *);
+extern int find_pc_partial_function_gnu_ifunc (CORE_ADDR pc, char **name,
+ CORE_ADDR *address,
+ CORE_ADDR *endaddr,
+ int *is_gnu_ifunc_p);
+
/* lookup function from address, return name, start addr and end addr. */
extern int find_pc_partial_function (CORE_ADDR, char **, CORE_ADDR *,
OpenPOWER on IntegriCloud