This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] update gdb.base/shreloc.exp to use new shared library infrastructure


On Sun, May 01, 2005 at 12:18:44AM -0400, Wu Zhou wrote:
> Is it ok to change the following lines in shreloc1.c/shreloc2.c from:
> 
>    ATTRIBUTES void fn_1 (int unused) { } 
>    ATTRIBUTES void fn_2 (int unused) { } 
> 
> to: 
> 
>    ATTRIBUTES void fn_1 (int refered) { static_var_1 = refered; } 
>    ATTRIBUTES void fn_2 (int refered) { static_var_2 = refered; } 
> 
> Please comments. Thanks.

Certainly.  Is that enough to consider them referenced for xlc?

-- 
Daniel Jacobowitz
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]