[pushed] darwin: handle recent version of dyld

Message ID 35b986b4-c4b6-57c9-fce2-cb89bebee7e5@adacore.com
State New, archived
Headers

Commit Message

Xavier Roirand July 31, 2017, 9:13 a.m. UTC
  https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=4bbd4ef219c5b4c7d437618ba8937af86dd1032e

commit 8849741f4316212a433180177e857a70fe907195
Author: Xavier Roirand <roirand@adacore.com>
Date:   Fri Jun 9 11:36:36 2017 +0200

     darwin: handle recent version of dyld

     gdb/
             * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
  

Comments

Pedro Alves June 7, 2018, 12:16 p.m. UTC | #1
Hi Xavier,

Saagar found out with a git bisect that this patch caused the
breakage reported in PR22960 [1].  Any ideas?

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=22960

(FYI, I tried to add you to CC on the bug, but looks like
you don't have an account there.)

Thanks,
Pedro Alves

On 07/31/2017 10:13 AM, Xavier Roirand wrote:
> https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=4bbd4ef219c5b4c7d437618ba8937af86dd1032e
> 
> commit 8849741f4316212a433180177e857a70fe907195
> Author: Xavier Roirand <roirand@adacore.com>
> Date:   Fri Jun 9 11:36:36 2017 +0200
> 
>     darwin: handle recent version of dyld
> 
>     gdb/
>             * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
> 
> diff --git a/gdb/solib-darwin.c b/gdb/solib-darwin.c
> index 365192949a..c2b776d320 100644
> --- a/gdb/solib-darwin.c
> +++ b/gdb/solib-darwin.c
> @@ -67,7 +67,7 @@ struct gdb_dyld_all_image_infos
> 
>  /* Current all_image_infos version.  */
>  #define DYLD_VERSION_MIN 1
> -#define DYLD_VERSION_MAX 14
> +#define DYLD_VERSION_MAX 15
> 
>  /* Per PSPACE specific data.  */
>  struct darwin_info
  

Patch

diff --git a/gdb/solib-darwin.c b/gdb/solib-darwin.c
index 365192949a..c2b776d320 100644
--- a/gdb/solib-darwin.c
+++ b/gdb/solib-darwin.c
@@ -67,7 +67,7 @@  struct gdb_dyld_all_image_infos

  /* Current all_image_infos version.  */
  #define DYLD_VERSION_MIN 1
-#define DYLD_VERSION_MAX 14
+#define DYLD_VERSION_MAX 15

  /* Per PSPACE specific data.  */
  struct darwin_info