This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: Building GDB under GLIBC 2.8
- From: Tom Tromey <tromey at redhat dot com>
- To: "Jim Blandy" <jimb at red-bean dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 15 Dec 2008 13:06:41 -0700
- Subject: Re: RFA: Building GDB under GLIBC 2.8
- References: <8f2776cb0812121804n1008f921h3898bb7bda1581c9@mail.gmail.com>
- Reply-to: tromey at redhat dot com
>>>>> "Jim" == Jim Blandy <jimb@red-bean.com> writes:
Jim> The latest version of Ubuntu (Intrepid Ibex) includes a GLIBC that
Jim> attaches the warn_unused_result attribute to many C library functions.
Jim> The archer project doesn't use the -Wno-unused flag, so I needed to
Jim> fix these to build archer. It seemed to me that submitting the patch
Jim> upstream would be the most helpful thing to do.
Thanks.
One nit from me:
Jim> +static void
Jim> +check_syscall (const char *msg, int result)
Jim> +{
I believe that these days we're asking for intro comments on all new
functions.
I can't approve or reject this, but according to MAINTAINERS, you can :)
Tom