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

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2010-12-13 
18:44:50 UTC ---
> > #0  0x94afe928 in strlen ()
> > #1  0x008b6414 in concat (first=0xffffffff <Address 0xffffffff out of 
> > bounds>)
> > at ../../gcc-4.6-work/libiberty/concat.c:76
> > #2  0x0051e660 in add_new_plugin (plugin_name=0xbfffdac2 "foo") at
> > ../../gcc-4.6-work/gcc/plugin.c:157
>
> Which of the arguments in the call to concat is invalid?  How did that 
> argument get its value?

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.

Reply via email to