From d5ba7ee05b29a83730bccca9581f3ef4d04eb6d9 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 10 Dec 2015 12:00:31 -0800 Subject: [PATCH] patch ../102430045.patch --- README.google | 5 +++++ gdb/solib-svr4.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.google b/README.google index 96331601e11..020e361e079 100644 --- a/README.google +++ b/README.google @@ -259,3 +259,8 @@ they are an ongoing maintenance burden. + testsuite/ + * gdb.base/sepdebug.exp: Add test to verify two "Reading symbols ..." + messages are printed. +--- README.google 2015-09-05 18:44:15.000000000 -0700 ++++ README.google 2015-09-05 18:49:14.000000000 -0700 +- * solib-svr4.c (svr4_read_so_list): Ignore linux-vdso64.so.1, for ppc. ++ * solib-svr4.c (svr4_read_so_list): Ignore linux-vdso64.so.1, for ppc, ++ and update for -Wc++-compat changes. diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c index cca51b3748e..688f0adffb8 100644 --- a/gdb/solib-svr4.c +++ b/gdb/solib-svr4.c @@ -1398,9 +1398,9 @@ svr4_read_so_list (CORE_ADDR lm, CORE_ADDR prev_lm, #define LINUX_VDSO_NAME "linux-vdso.so.1" #define LINUX_GATE_NAME "linux-gate.so.1" #define LINUX_VDSO64_NAME "linux-vdso64.so.1" /* for ppc */ - if (strcmp (new->so_name, LINUX_VDSO_NAME) == 0 - || strcmp (new->so_name, LINUX_GATE_NAME) == 0 - || strcmp (new->so_name, LINUX_VDSO64_NAME) == 0) + if (strcmp (newobj->so_name, LINUX_VDSO_NAME) == 0 + || strcmp (newobj->so_name, LINUX_GATE_NAME) == 0 + || strcmp (newobj->so_name, LINUX_VDSO64_NAME) == 0) { do_cleanups (old_chain); continue; -- 2.47.2