summaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index bdf370b0003..8d31ffe41de 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -375,6 +375,12 @@ cannot_register_not (int regnum)
return 0;
}
+CORE_ADDR
+generic_bfd_entry_point (struct gdbarch *gdbarch, bfd *abfd)
+{
+ return bfd_get_start_address (abfd);
+}
+
/* Legacy version of target_virtual_frame_pointer(). Assumes that
there is an DEPRECATED_FP_REGNUM and that it is the same, cooked or
raw. */