aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2018-04-26 13:01:26 +0100
committerPedro Alves <palves@redhat.com>2018-04-26 13:07:25 +0100
commita0aca7b0e13d884f43ba77c4c6d752d9140cb54b (patch)
treec3aeeaa0c3ff84bc0e8f0f90b82952a75d69e334 /gdb/symtab.h
parentBreakpoints, don't skip prologue of ifunc resolvers with debug info (diff)
downloadbinutils-gdb-a0aca7b0e13d884f43ba77c4c6d752d9140cb54b.tar.gz
binutils-gdb-a0aca7b0e13d884f43ba77c4c6d752d9140cb54b.tar.bz2
binutils-gdb-a0aca7b0e13d884f43ba77c4c6d752d9140cb54b.zip
Eliminate find_pc_partial_function_gnu_ifunc
Not used anywhere any longer. If this is ever reinstated, note that this case: cache_pc_function_is_gnu_ifunc = TYPE_GNU_IFUNC (SYMBOL_TYPE (f)); was incorrect in that regular symbols never have type marked as GNU ifunc type, only minimal symbols. At some point I had some fix that checking the matching minsym here. But in the end I ended up just eliminating need for this function, so that fix was not necessary. gdb/ChangeLog: 2018-04-26 Pedro Alves <palves@redhat.com> * blockframe.c (cache_pc_function_is_gnu_ifunc): Delete. Remove all references. (find_pc_partial_function_gnu_ifunc): Rename to ... (find_pc_partial_function): ... this, and remove references to 'is_gnu_ifunc_p'. (find_pc_partial_function): Delete old implementation. * symtab.h (find_pc_partial_function_gnu_ifunc): Delete.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 017a6906330..a89d5978a37 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1665,11 +1665,6 @@ extern struct symbol *find_pc_sect_function (CORE_ADDR, struct obj_section *);
extern struct symbol *find_symbol_at_address (CORE_ADDR);
-extern int find_pc_partial_function_gnu_ifunc (CORE_ADDR pc, const 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, const char **, CORE_ADDR *,