PREVIOUS CONTENT OF POST (IRRELEVANT!):
I don't seem to get any errors, and I have the latest toolchain script, as I just downloaded and rebuilt it today, but when I try to build it, nothing comes out. The last few lines of output distress me a bit...
Code: Select all
rm -f *.o *.a *~ init.c-tmp init.l-tmp version.c-tmp
rm -f init.c version.c
rm -f gdb.exe core make.log
rm -f gdb[0-9].exe
rm -f test-cp-name-parser.exe
make[2]: Leaving directory `/tmp/pspdev/gdb-6.4/build-gdb/gdb'
test ! -d gcc/libgcc || \
(cd gcc/libgcc && find . -type d -print) | \
while read d; do rm -f gcc/$d/libgcc.a || : ; done
rm -rf gcc/libgcc
rm -f gcc/stmp-dirs
make[1]: Leaving directory `/tmp/pspdev/gdb-6.4/build-gdb'
rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
And yes, I'm sure it's not there.
Code: Select all
$ find /usr -name gdb
/usr/local/pspdev/psp/sdk/samples/debug/gdb
$ ls -l /usr/local/pspdev/psp/sdk/samples/debug/gdb
total 5
-rw-r--r-- 1 Lukos None 355 Mar 17 12:23 Makefile
-rw-r--r-- 1 Lukos None 2384 Mar 17 12:23 main.c
Edit] Here's the output to STDERR from the toolchain script:
../../libiberty/strsignal.c: In function `psignal':
../../libiberty/strsignal.c:558: warning: comparison between signed and unsigned
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries
../../readline/bind.c: In function `rl_function_of_keyseq':
../../readline/bind.c:584: warning: comparison is always true due to limited range of data type
In file included from ../../readline/bind.c:1394:
../../readline/bind.c: In function `rl_variable_bind':
../../readline/bind.c:1377: warning: passing arg 1 of `bool_to_int' discards qualifiers from pointer target type
../../readline/display.c: In function `rl_character_len':
../../readline/display.c:1697: warning: comparison is always true due to limited range of data type
../../readline/histexpand.c: In function `get_history_event':
../../readline/histexpand.c:214: warning: passing arg 1 of `_rl_adjust_point' discards qualifiers from pointer target type
../../readline/histexpand.c:215: warning: passing arg 1 of `_rl_get_char_len' discards qualifiers from pointer target type
configure: WARNING: no enhanced curses library found; disabling TUI
-I ../../../sim/mips \
-W error \
-W nodiscard \
-F 32,f \
-M mipsIV \
-N 0 \
-G gen-direct-access \
-G gen-zero-r0 \
-B 32 \
-H 31 \
-i ../../../sim/mips/mips.igen \
-o ../../../sim/mips/mips.dc \
-x \
-n icache.h \
-h \
-c tmp-icache.h \
-n icache.c \
-c tmp-icache.c \
-n semantics.h \
-h \
-s tmp-semantics.h \
-n semantics.c \
-s tmp-semantics.c \
-n idecode.h \
-h \
-d tmp-idecode.h \
-n idecode.c \
-d tmp-idecode.c \
-n model.h \
-h \
-m tmp-model.h \
-n model.c \
-m tmp-model.c \
-n support.h \
-h \
-f tmp-support.h \
-n support.c \
-f tmp-support.c \
-n itable.h \
-h \
-t tmp-itable.h \
-n itable.c \
-t tmp-itable.c \
-n engine.h \
-h \
-e tmp-engine.h \
-n engine.c \
-e tmp-engine.c \
-n irun.c \
-r tmp-irun.c \
../../gdb/mips-mdebug-tdep.c:410: warning: initialization from incompatible pointer type
Creating observer.htmp
../../gdb/printcmd.c: In function `printf_command':
../../gdb/printcmd.c:1962: warning: format not a string literal, argument types not checked
../../gdb/printcmd.c:1968: warning: format not a string literal, argument types not checked
../../gdb/printcmd.c:1975: warning: format not a string literal, argument types not checked
../../gdb/printcmd.c:1985: warning: format not a string literal, argument types not checked
../../gdb/event-top.c: In function `gdb_setup_readline':
../../gdb/event-top.c:1113: warning: type defaults to `int' in declaration of `batch_silent'
Creating observer.itmp
../../gdb/utils.c: In function `init_page_info':
../../gdb/utils.c:1649: warning: implicit declaration of function `tgetnum'
ar: creating libgdb.a
rm: cannot remove directory `gdb-6.4/sim/erc32': Device or resource busy
rm: cannot remove directory `gdb-6.4/sim/iq2000': Device or resource busy
rm: cannot remove directory `gdb-6.4/sim/mcore': Device or resource busy
rm: cannot remove directory `gdb-6.4/sim/sh': Device or resource busy
rm: cannot remove directory `gdb-6.4/sim/testsuite/mips64el-elf': Device or resource busy
rm: cannot remove directory `gdb-6.4/sim/testsuite/sim/fr30': Device or resource busy
rm: cannot remove directory `gdb-6.4/sim/testsuite/sim/h8300': Device or resource busy
rm: cannot remove directory `gdb-6.4/sim/v850': Device or resource busy