This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] update gdb.base/shreloc.exp to use new shared library infrastructure
- From: Wu Zhou <woodzltc at cn dot ibm dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: pgilliam at us dot ibm dot com, gdb-patches at sources dot redhat dot com
- Date: Sun, 1 May 2005 00:45:30 -0400
- Subject: Re: [patch] update gdb.base/shreloc.exp to use new shared library infrastructure
Quoting Daniel Jacobowitz <drow@false.org>:
> 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?
Yes. That is enough for xlc. I had re-worked out a patch and had a test against
xlc and gcc. Both worked. I had also sent out the patch. That is before I receive
the above mail. My mail server seems to be somewhat slow today. :-)
Cheers
- Wu Zhou