This is the mail archive of the gdb-patches@sourceware.org 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: some compile errors fo gdb-7.0.1


On Feb 23, Harald Koenig wrote:

> right now I'm trying to build gdb on AIX 6.1 which right now fails here
> 
>       "gdb-CVS-20100222/gdb/aix-thread.c", line 352.46: 1506-280 (W) Function argument assignment between types "int*" and "unsigned int*" is not allowed.
> 
> where the source reads like this -- hmmmmm....
> 
>   /* getthrds(3) isn't prototyped in any AIX 4.3.3 #include file.  */
>   extern int getthrds (pid_t, struct thrdsinfo64 *,
>                        int, pthdb_tid_t *, int);

with the attached patch AIX 6.1 builds fine, and 5.1 still does so....
(_AIX51 is defined in 5.2/5.3 too!  I've not tested 5.0 though which is 
why I don't check _AIX50 which is defined in 5.1-5.3 too).

but:  6.1 has the same break point problems as 5.3:

- with no breakpoint before 1st run, break points can't be set later at all

- otherwise break points seem to work




Harald Koenig
-- 
"I hope to die                                      ___       _____
before I *have* to use Microsoft Word.",           0--,|    /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen.        <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig                                          \/\/\/\/\/\/\/\/\/
science+computing ag                                    //  /     \\  \
koenig@science-computing.de                            ^^^^^       ^^^^^
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Roland Niemeier, 
Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Michel Lepert
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 

Attachment: aix-thread.c.diff
Description: Text document


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