]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
- up to 8.3
[packages/gdb.git] / gdb-6.6-buildid-locate-misleading-warning-missing-debuginfo-rhbz981154.patch
index a25057ec30d85c4094a6975a257409d0a59dbc1e..985cb6a5d99839e96fd0464d5b359a77e49f98c5 100644 (file)
@@ -25,21 +25,6 @@ Comments by Sergio Durigan Junior <sergiodj@redhat.com>:
   NULL after it is free'd, otherwise the code below thinks that it is still
   valid and doesn't print the necessary warning ("Try: yum install ...").
 
-diff --git a/gdb/build-id.c b/gdb/build-id.c
---- a/gdb/build-id.c
-+++ b/gdb/build-id.c
-@@ -581,7 +581,10 @@ build_id_to_debug_bfd (size_t build_id_len, const bfd_byte *build_id,
-         do_cleanups (inner);
-         if (abfd == NULL)
--          continue;
-+          {
-+            filename = NULL;
-+            continue;
-+          }
-         if (build_id_verify (abfd.get(), build_id_len, build_id))
-           break;
 diff --git a/gdb/testsuite/gdb.base/rhbz981154-misleading-yum-install-warning.exp b/gdb/testsuite/gdb.base/rhbz981154-misleading-yum-install-warning.exp
 new file mode 100644
 --- /dev/null
This page took 0.079825 seconds and 4 git commands to generate.