This is the mail archive of the 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: build/2404: gdb 6.7.1 fails to build with gcc-4.2.2 on aix 5.2


> >>    The code looks a bit different now, though perhaps not
> >>    different enough.
> >>    Could you send this patch to gdb-patches, as a unidiff
> >>    or a context diff?  that way someone will see it and
> >>    respond.  Thanks.

Thanks for bringing this to our attention. It's usually better if
you send a patch against CVS head, but in this case I got the idea :).
Attached is what I ended up checking in - this is very very close to
what you suggested, except for the first hunk, which where you introduced
a local variable which I thought was unnecessary (as well as being
different from your other changes).

Given the small size of your change and the fact that we don't seem
to have any other change from you in our records, I checked the patch
in without requiring an FSF copyright assignment.  But if you are
interested in contributing to the GDB project, you might want to have
one in place. Please contact me if you are interested.

2008-03-21  Thomas Mittelstaedt  <>  (tiny change)

        * aix-thread.c (pdc_read_regs): Fix compiler warning.
        (pdc_write_regs, aix_thread_resume, fetch_regs_kernel_thread)
        (store_regs_kernel_thread): Likewise.

Checked in HEAD and branch (in other words, 6.8 will include this change).
Tested on ppc-aix with GCC 4.2.3.


Attachment: aix-thread.diff
Description: Text document

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