http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46902

--- Comment #4 from joseph at codesourcery dot com <joseph at codesourcery dot 
com> 2010-12-13 18:53:41 UTC ---
On Mon, 13 Dec 2010, dominiq at lps dot ens.fr wrote:

> I am fluent neither in C nor gdb. Does not "first=0xffffffff <Address
> 0xffffffff out of bounds>" answer the first question? I tried to go a little
> bit further by setting breakpoints at 'add_new_plugin' and
> 'default_plugin_dir_name' and tried to print 'plugindir_string', but ran out 
> of
> idea at
> 
> Breakpoint 3, default_plugin_dir_name () at 
> ../../gcc-4.6-work/gcc/plugin.c:880
> 880      if (!plugindir_string)
> (gdb) p plugindir_string
> No symbol "plugindir_string" in current context.

Thats global_options.x_plugindir_string.  If it's an invalid pointer then 
setting a watchpoint on it might help show when that pointer was stored 
(or there may be other memory debugging tools available on your platform).

In any case, please post the exact cc1 command line.

Reply via email to