https://sourceware.org/bugzilla/show_bug.cgi?id=27371

--- Comment #3 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Tom de Vries from comment #1)
Hi Tom,

I do not quite get this:

  > -  int is_rnglists = strstr (section->name, "debug_rnglists") != NULL;
  > +  int is_rnglists = strstr (section->name, ".debug_rnglists") != NULL;

The strstr() function locates a sub-string within a a longer string,
so won't both versions of the code above produce the same results ?

I think that the reason that the test did not include the "." prefix
was that it is meant to work with compressed range list sections as
well, ie .zdebug_rnglists.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to