This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: minor portability patches
- From: Tom Tromey <tromey at redhat dot com>
- To: "Peter O'Gorman" <gdb-patches at mlists dot thewrittenword dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 21 Sep 2010 12:24:20 -0600
- Subject: Re: minor portability patches
- References: <20100921164814.GC32745@tw.local>
>>>>> "Peter" == Peter O'Gorman <gdb-patches@mlists.thewrittenword.com> writes:
Peter> We just built gdb-7.2 and had a couple of minor issues.
Peter> Patches attached, some I am less sure about than others.
Thanks.
The patches need ChangeLog entries.
Peter> When we build --with-python, IRIX 6.5 needed -lpthread, I don't know if
Peter> this is the correct place to add that though.
Me neither. I'm not sure how we handle static linking against python,
or whether we even support it.
Peter> __FUNCTION__ is a gccism.
BFD patches should go to the binutils list.
Peter> At least solaris cc complained about returning from void functions.
This one and the cplus_struct_default patch are obvious once you have a
ChangeLog entry.
GCC's -Wreturn-type is supposed to complain about this (the void
function thing), at least according to my reading of the docs, but it
doesn't.
Tom