Re: minor portability patches

Tom Tromey
2010-09-21T18:24:32Z

>>>>> "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