darwin: handle recent version of dyld

gdb/
	* solib-darwin.c (DYLD_VERSION_MAX): Increase value.
	(darwin_solib_create_inferior_hook): Emit a warning if version
	is unhandled.
This commit is contained in:
Tristan Gingold 2014-03-17 14:01:02 +01:00
parent a2a0d05662
commit d4ccb5e05c
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2014-03-17 Tristan Gingold <gingold@adacore.com>
* solib-darwin.c (DYLD_VERSION_MAX): Increase value.
(darwin_solib_create_inferior_hook): Emit a warning if version
is unhandled.
2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
* python/py-value.c (get_field_flag): Cast flag_name argument to

View File

@ -70,7 +70,7 @@ struct gdb_dyld_all_image_infos
/* Current all_image_infos version. */
#define DYLD_VERSION_MIN 1
#define DYLD_VERSION_MAX 12
#define DYLD_VERSION_MAX 14
/* Per PSPACE specific data. */
struct darwin_info
@ -513,7 +513,10 @@ darwin_solib_create_inferior_hook (int from_tty)
darwin_load_image_infos (info);
if (!darwin_dyld_version_ok (info))
return;
{
warning (_("unhandled dyld version (%d)"), info->all_image.version);
return;
}
create_solib_event_breakpoint (target_gdbarch (), info->all_image.notifier);