aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2015-12-10 12:00:31 -0800
committerDoug Evans <dje@google.com>2015-12-10 12:00:31 -0800
commit1ccb4ed47ff9b703ca32f020f939b42c4d0ee355 (patch)
tree3e9d114b1ed194484e3b61fe26b638feaf1925a4
parenta72289f4cc52ffa86afcca2b31e8daac34c9de90 (diff)
downloadfsf-binutils-gdb-1ccb4ed47ff9b703ca32f020f939b42c4d0ee355.zip
fsf-binutils-gdb-1ccb4ed47ff9b703ca32f020f939b42c4d0ee355.tar.gz
fsf-binutils-gdb-1ccb4ed47ff9b703ca32f020f939b42c4d0ee355.tar.bz2
patch ../102429533.patch
-rw-r--r--README.google8
-rw-r--r--gdb/breakpoint.c4
2 files changed, 12 insertions, 0 deletions
diff --git a/README.google b/README.google
index 04be03c..a593939 100644
--- a/README.google
+++ b/README.google
@@ -222,3 +222,11 @@ they are an ongoing maintenance burden.
+
+ testsuite/
+ * gdb.python/py-objfile.exp: Add tests for objfile.have_debug_info.
+--- README.google 2015-09-05 18:13:45.000000000 -0700
++++ README.google 2015-09-05 18:20:10.000000000 -0700
++
++2015-09-05 Doug Evans <google.com>
++
++ Ref: 15188412
++ * breakpoint.c (create_solib_event_breakpoint): Apply
++ gdbarch_skip_entrypoint if it's defined.
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index a3683d7..e53c3c7 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -7711,6 +7711,10 @@ create_solib_event_breakpoint_1 (struct gdbarch *gdbarch, CORE_ADDR address,
{
struct breakpoint *b;
+ /* GOOGLE LOCAL: Ref# 15188412. */
+ if (gdbarch_skip_entrypoint_p (gdbarch))
+ address = gdbarch_skip_entrypoint (gdbarch, address);
+
b = create_internal_breakpoint (gdbarch, address, bp_shlib_event,
&internal_breakpoint_ops);
update_global_location_list_nothrow (insert_mode);