mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
* tracepoint.c (set_raw_tracepoint): make sure there's a trailing slash on
the directory name * Merge (lots) with foundry-971118-build * Makefile.in (install-only): install the new gdbtk, not the old * top.h: add declaration of get_prompt * top.c (get_prompt): new function * gdbtk.c (gdbtk_call_command): also run idle hooks for class_trace commands (gdbtk_init): add new commands "gdb_get_locals", "gdb_get_args", "gdb_get_function", "gdb_get_line", "gdb_get_file", "gdb_tracepoint_exists", "gdb_get_tracepoint_info", "gdb_actions", and "gdb_prompt" (gdb_get_vars_command): new function (gdb_get_line_command): new function (gdb_get_file_command): new function (gdb_get_function_command): new function (gdb_get_tracepoint_info): new function (gdbtk_create_tracepoint): new function (gdbtk_delete_tracepoint): new function (tracepoint_notify): new function (tracepoint_exists): new function (gdb_actions_command): new function (gdb_tracepoint_exists_command): new function (gdb_prompt_command): new function * main.tcl: initialize gdbtk_state(readline) * console.tcl (invoke): get realine working (activate): add prompt argument for readline (setprompt): add prompt argument for readline * interface.tcl (gdbtk_tcl_readline): hack to get readline working * lots: Merge with foundry-971118-build * console.tcl (setprompt): get prompt from gdb * prefs.tcl (pref_set_defaults): add tracepoint defaults * interface.tcl (gdbtk_tcl_tracepoint): new function * src.tcl (constructor): set default behavior of left click, make a tracepoint dot, too (fill_files): "new" function: ripped out of "location" (location): use fill_files instead (do_bp): add support for tracepoints (bp_line): add support for tracepoints (set_tracepoint): new function (config_win): add "Set tracepoint here" to right-click menu * actiondlg.tcl: new file to help with tracepoint data collection actions * tracedlg.tcl: new file to help with tracepoints
This commit is contained in:
@ -37,6 +37,7 @@ AC_CANONICAL_SYSTEM
|
||||
dnl List of object files added by configure.
|
||||
|
||||
CONFIG_OBS=
|
||||
CONFIG_DEPS=
|
||||
|
||||
configdirs="doc testsuite"
|
||||
|
||||
@ -340,17 +341,21 @@ if test "${enable_gdbtk}" = "yes"; then
|
||||
esac
|
||||
if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
|
||||
TIXLIB="-L${tixdir} -ltix${TIXVERSION}"
|
||||
TIX_DEPS="${tixdir}/libtix${TIXVERSION}.a"
|
||||
else
|
||||
TIXLIB="-L${tixdir} -ltix`echo ${TIXVERSION} | tr -d .`"
|
||||
TIX_DEPS="${tixdir}/libtix`echo ${TIXVERSION} | tr -d .`.a"
|
||||
fi
|
||||
|
||||
ENABLE_GDBTK=1
|
||||
|
||||
# Include some libraries that Tcl and Tk want.
|
||||
if test "${enable_ide}" = "yes"; then
|
||||
TCL_LIBS='$(IDE) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
|
||||
TCL_LIBS='$(LIBIDE) $(IDE) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
|
||||
CONFIG_DEPS='$(LIBIDE) $(IDE_DEPS) $(ITCL_DEPS) $(TIX_DEPS) $(TK_DEPS) $(TCL_DEPS)'
|
||||
else
|
||||
TCL_LIBS='$(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
|
||||
TCL_LIBS='$(LIBIDE) $(ITCL) $(TIX) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'
|
||||
CONFIG_DEPS='$(LIBIDE) $(ITCL_DEPS) $(TIX_DEPS) $(TK_DEPS) $(TCL_DEPS)'
|
||||
fi
|
||||
# Yes, the ordering seems wrong here. But it isn't.
|
||||
# TK_LIBS is the list of libraries that need to be linked
|
||||
@ -359,7 +364,7 @@ if test "${enable_gdbtk}" = "yes"; then
|
||||
CONFIG_OBS="${CONFIG_OBS} gdbtk.o"
|
||||
|
||||
if test x$gdb_cv_os_cygwin32 = xyes; then
|
||||
WIN32LIBS="${WIN32LIBS} -luser32"
|
||||
WIN32LIBS="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32 -luser32"
|
||||
WIN32LDAPP="-Wl,--subsystem,windows"
|
||||
fi
|
||||
fi
|
||||
@ -371,11 +376,13 @@ AC_SUBST(X_CFLAGS)
|
||||
AC_SUBST(X_LDFLAGS)
|
||||
AC_SUBST(X_LIBS)
|
||||
AC_SUBST(TIXLIB)
|
||||
AC_SUBST(TIX_DEPS)
|
||||
# end-sanitize-gdbtk
|
||||
|
||||
AC_SUBST(ENABLE_CFLAGS)
|
||||
|
||||
AC_SUBST(CONFIG_OBS)
|
||||
AC_SUBST(CONFIG_DEPS)
|
||||
|
||||
# Begin stuff to support --enable-shared
|
||||
AC_ARG_ENABLE(shared,
|
||||
|
Reference in New Issue
Block a user