mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 13:53:29 +08:00
2000-12-11 Fernando Nasser <fnasser@redhat.com>
* Makefile.in (CONFIG_LOBS): New macro. Configured to the files that must be added to the gdblib itself. (DEPFILES): Use CONFIG_LOBS, not CONFIG_OBS. (INIT_FILES): Include CONFIG_OBS. (gdb$(EXEEXT)): Depend on CONFIG_OBS and link with it. (kdb): Ditto. * configure.in (CONFIG_LOBS): New variable. Object files that must be added to gdblib for the specific configuration. * configure: Regenerate.
This commit is contained in:
@ -1,3 +1,15 @@
|
|||||||
|
2000-12-11 Fernando Nasser <fnasser@redhat.com>
|
||||||
|
|
||||||
|
* Makefile.in (CONFIG_LOBS): New macro. Configured to the files
|
||||||
|
that must be added to the gdblib itself.
|
||||||
|
(DEPFILES): Use CONFIG_LOBS, not CONFIG_OBS.
|
||||||
|
(INIT_FILES): Include CONFIG_OBS.
|
||||||
|
(gdb$(EXEEXT)): Depend on CONFIG_OBS and link with it.
|
||||||
|
(kdb): Ditto.
|
||||||
|
* configure.in (CONFIG_LOBS): New variable. Object files that must
|
||||||
|
be added to gdblib for the specific configuration.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>
|
2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>
|
||||||
|
|
||||||
* sh-tdep.c (sh_extract_struct_value_address): Protoize.
|
* sh-tdep.c (sh_extract_struct_value_address): Protoize.
|
||||||
|
@ -277,6 +277,7 @@ SUBDIR_GDBTK_INSTALL= install-gdbtk
|
|||||||
SUBDIR_GDBTK_UNINSTALL=
|
SUBDIR_GDBTK_UNINSTALL=
|
||||||
|
|
||||||
CONFIG_OBS= @CONFIG_OBS@
|
CONFIG_OBS= @CONFIG_OBS@
|
||||||
|
CONFIG_LOBS= @CONFIG_LOBS@
|
||||||
CONFIG_SRCS= @CONFIG_SRCS@
|
CONFIG_SRCS= @CONFIG_SRCS@
|
||||||
CONFIG_DEPS= @CONFIG_DEPS@
|
CONFIG_DEPS= @CONFIG_DEPS@
|
||||||
CONFIG_INITS= @CONFIG_INITS@
|
CONFIG_INITS= @CONFIG_INITS@
|
||||||
@ -643,7 +644,7 @@ POSSLIBS = gnu-regex.c gnu-regex.h
|
|||||||
# Makefile.in
|
# Makefile.in
|
||||||
|
|
||||||
DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \
|
DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \
|
||||||
$(REMOTE_OBS) $(SIM_OBS) $(CONFIG_OBS)
|
$(REMOTE_OBS) $(SIM_OBS) $(CONFIG_LOBS)
|
||||||
|
|
||||||
SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES) $(CONFIG_SRCS)
|
SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES) $(CONFIG_SRCS)
|
||||||
# Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
|
# Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
|
||||||
@ -775,7 +776,7 @@ uninstall: force $(CONFIG_UNINSTALL)
|
|||||||
# tui-file.c.
|
# tui-file.c.
|
||||||
#
|
#
|
||||||
|
|
||||||
INIT_FILES = $(OBS) $(TSOBS) $(CONFIG_INITS)
|
INIT_FILES = $(OBS) $(TSOBS) $(CONFIG_OBS) $(CONFIG_INITS)
|
||||||
init.c: $(INIT_FILES)
|
init.c: $(INIT_FILES)
|
||||||
@echo Making init.c
|
@echo Making init.c
|
||||||
@rm -f init.c-tmp init.l-tmp
|
@rm -f init.c-tmp init.l-tmp
|
||||||
@ -816,9 +817,11 @@ init.c: $(INIT_FILES)
|
|||||||
init.o: init.c $(defs_h) $(call_cmds_h)
|
init.o: init.c $(defs_h) $(call_cmds_h)
|
||||||
|
|
||||||
# Removing the old gdb first works better if it is running, at least on SunOS.
|
# Removing the old gdb first works better if it is running, at least on SunOS.
|
||||||
gdb$(EXEEXT): main.o libgdb.a $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
|
gdb$(EXEEXT): main.o libgdb.a $(CONFIG_OBS) $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
|
||||||
rm -f gdb$(EXEEXT)
|
rm -f gdb$(EXEEXT)
|
||||||
$(HLDENV) $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) -o gdb$(EXEEXT) main.o libgdb.a $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES)
|
$(HLDENV) $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) -o gdb$(EXEEXT) \
|
||||||
|
main.o libgdb.a $(CONFIG_OBS) $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS)\
|
||||||
|
$(LOADLIBES)
|
||||||
|
|
||||||
nlm: force
|
nlm: force
|
||||||
rootme=`pwd`; export rootme; $(MAKE) $(TARGET_FLAGS_TO_PASS) DO=all DODIRS=nlm subdir_do
|
rootme=`pwd`; export rootme; $(MAKE) $(TARGET_FLAGS_TO_PASS) DO=all DODIRS=nlm subdir_do
|
||||||
@ -887,9 +890,9 @@ tm-sun4os4.h: tm-sparc.h
|
|||||||
xm-vaxult.h: xm-vax.h
|
xm-vaxult.h: xm-vax.h
|
||||||
xm-vaxbsd.h: xm-vax.h
|
xm-vaxbsd.h: xm-vax.h
|
||||||
|
|
||||||
kdb: $(NTSSTART) $(OBS) $(NTSOBS) $(ADD_DEPS) $(CDEPS)
|
kdb: $(NTSSTART) $(OBS) $(CONFIG_OBS) $(NTSOBS) $(ADD_DEPS) $(CDEPS)
|
||||||
ld -o kdb $(NTSSTART) $(OBS) $(NTSOBS) init.o $(ADD_FILES) \
|
ld -o kdb $(NTSSTART) $(OBS) $(CONFIG_OBS) $(NTSOBS) init.o \
|
||||||
-lc $(CLIBS)
|
$(ADD_FILES) -lc $(CLIBS)
|
||||||
|
|
||||||
# Put the proper machine-specific files first, so M-. on a machine
|
# Put the proper machine-specific files first, so M-. on a machine
|
||||||
# specific routine gets the one for the correct machine. (FIXME: those
|
# specific routine gets the one for the correct machine. (FIXME: those
|
||||||
|
449
gdb/configure
vendored
449
gdb/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -40,6 +40,7 @@ CY_GNU_GETTEXT
|
|||||||
dnl List of object files added by configure.
|
dnl List of object files added by configure.
|
||||||
|
|
||||||
CONFIG_OBS=
|
CONFIG_OBS=
|
||||||
|
CONFIG_LOBS=
|
||||||
CONFIG_DEPS=
|
CONFIG_DEPS=
|
||||||
CONFIG_SRCS=
|
CONFIG_SRCS=
|
||||||
CONFIG_INITS=
|
CONFIG_INITS=
|
||||||
@ -407,7 +408,7 @@ if test ${build} = ${host} -a ${host} = ${target} ; then
|
|||||||
if test "$GCC" = "yes" ; then
|
if test "$GCC" = "yes" ; then
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
AC_DEFINE(HAVE_HPUX_THREAD_SUPPORT)
|
AC_DEFINE(HAVE_HPUX_THREAD_SUPPORT)
|
||||||
CONFIG_OBS="${CONFIG_OBS} hpux-thread.o"
|
CONFIG_LOBS="${CONFIG_LOBS} hpux-thread.o"
|
||||||
CONFIG_SRCS="${CONFIG_SRCS} hpux-thread.c"
|
CONFIG_SRCS="${CONFIG_SRCS} hpux-thread.c"
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(no (suppressed because you are not using GCC))
|
AC_MSG_RESULT(no (suppressed because you are not using GCC))
|
||||||
@ -421,7 +422,7 @@ if test ${build} = ${host} -a ${host} = ${target} ; then
|
|||||||
if test -f /usr/lib/libthread_db.so.1 ; then
|
if test -f /usr/lib/libthread_db.so.1 ; then
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
AC_DEFINE(HAVE_THREAD_DB_LIB)
|
AC_DEFINE(HAVE_THREAD_DB_LIB)
|
||||||
CONFIG_OBS="${CONFIG_OBS} sol-thread.o"
|
CONFIG_LOBS="${CONFIG_LOBS} sol-thread.o"
|
||||||
CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c"
|
CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c"
|
||||||
AC_CHECK_LIB(dl, dlopen)
|
AC_CHECK_LIB(dl, dlopen)
|
||||||
if test "$GCC" = "yes" ; then
|
if test "$GCC" = "yes" ; then
|
||||||
@ -560,7 +561,7 @@ no) enable_netrom=no ;;
|
|||||||
esac])
|
esac])
|
||||||
|
|
||||||
if test "${enable_netrom}" = "yes"; then
|
if test "${enable_netrom}" = "yes"; then
|
||||||
CONFIG_OBS="${CONFIG_OBS} remote-nrom.o"
|
CONFIG_LOBS="${CONFIG_LOBS} remote-nrom.o"
|
||||||
CONFIG_SRCS="${CONFIG_SRCS} remote-nrom.c"
|
CONFIG_SRCS="${CONFIG_SRCS} remote-nrom.c"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -962,6 +963,7 @@ AC_SUBST(IGNORE_SIM_OBS)
|
|||||||
AC_SUBST(ENABLE_CFLAGS)
|
AC_SUBST(ENABLE_CFLAGS)
|
||||||
|
|
||||||
AC_SUBST(CONFIG_OBS)
|
AC_SUBST(CONFIG_OBS)
|
||||||
|
AC_SUBST(CONFIG_LOBS)
|
||||||
AC_SUBST(CONFIG_DEPS)
|
AC_SUBST(CONFIG_DEPS)
|
||||||
AC_SUBST(CONFIG_SRCS)
|
AC_SUBST(CONFIG_SRCS)
|
||||||
AC_SUBST(CONFIG_INITS)
|
AC_SUBST(CONFIG_INITS)
|
||||||
|
Reference in New Issue
Block a user