[RFA 2/5] Darwin: Handle unrelocated dyld.

Tom Tromey tom@tromey.com
Tue Sep 18 21:23:00 GMT 2018


>>>>> "Simon" == Simon Marchi <simon.marchi@polymtl.ca> writes:

>> +      if (start == 0)
>> +       notifier = 0;
[...]
>> +  /* Add the breakpoint which is hit by dyld when the list of solib is
>> +     modified.  */
>> +  if (notifier != 0)
>> +    create_solib_event_breakpoint (target_gdbarch (), notifier);
>> }

Simon> Also, if the process of finding the notifier address fails at any
Simon> point, could we display a warning?

This is the one spot -- but I didn't know what to put in the comment,
because I don't know the circumstances under which start==0 can happen.

Tom



More information about the Gdb-patches mailing list