This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Trying to compile gdb-4.17.86 on aix-4.1.5 with the native compiler fails with the following : cc -c -g -I. -I/share/src/gnu/gdb-4.17.86/gdb -I/share/src/gnu/gdb-4.17.86/gdb/config -DHAVE_CONFIG_H -I/share/src/gnu/gdb-4.17.86/gdb/../include/opcode -I/share/src/gnu/gdb-4.17.86/gdb/../readline/.. -I../bfd -I/share/src/gnu/gdb-4.17.86/gdb/../bfd -I/share/src/gnu/gdb-4.17.86/gdb/../include -I../intl -I/share/src/gnu/gdb-4.17.86/gdb/../intl -I/share/src/gnu/gdb-4.17.86/gdb/tui /share/src/gnu/gdb-4.17.86/gdb/rs6000-tdep.c "/share/src/gnu/gdb-4.17.86/gdb/rs6000-tdep.c", line 206.1: 1506-343 (S) Redeclaration of rs6000_software_single_step differs from previous declaration on line 551 of "/share/src/gnu/gdb-4.17.86/gdb/config/rs6000/tm-rs6000.h". "/share/src/gnu/gdb-4.17.86/gdb/rs6000-tdep.c", line 206.1: 1506-381 (I) The type "unsigned int" of parameter 1 in the prototype declaration is not compatible with the corresponding parameter type "enum target_signal" in the nonprototype declaration. gnumake[1]: *** [rs6000-tdep.o] Error 1 Here is a fix : Wed Mar 24 13:49:52 1999 Philippe De Muyter <phdm@macqel.be> * config/rs6000/tm-rs6000.h (rs6000_software_single_step): Fix the type of the first parameter in the prototype to match the type in the definition in `rs6000-tdep.c'. --- ./gdb/config/rs6000/tm-rs6000.h Wed Mar 24 13:43:28 1999 +++ ./gdb/config/rs6000/tm-rs6000.h Wed Mar 24 00:14:19 1999 @@ -548,7 +548,7 @@ /* RS6000/AIX does not support PT_STEP. Has to be simulated. */ #define SOFTWARE_SINGLE_STEP_P 1 -extern void rs6000_software_single_step PARAMS ((unsigned int, int)); +extern void rs6000_software_single_step PARAMS ((enum target_signal, int)); #define SOFTWARE_SINGLE_STEP(sig,bp_p) rs6000_software_single_step (sig, bp_p) /* If the current gcc for for this target does not produce correct debugging