aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtk.c
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>1999-01-29 08:56:14 +0000
committerMartin Hunt <hunt@redhat.com>1999-01-29 08:56:14 +0000
commit40a7f1e93a368e0d5711d3804f740f619a7d36c3 (patch)
tree07c45518a0a61e703078af003abc4c7b2a290c09 /gdb/gdbtk.c
parent005b252712e5a89c67ad0a5cefc4cfe10b8b3dec (diff)
downloadbinutils-40a7f1e93a368e0d5711d3804f740f619a7d36c3.zip
binutils-40a7f1e93a368e0d5711d3804f740f619a7d36c3.tar.gz
binutils-40a7f1e93a368e0d5711d3804f740f619a7d36c3.tar.bz2
1999-01-29 Martin Hunt <hunt@cygnus.com>
* gdbtk.c (gdbtk_init): Create tcl warp_pointer command for use with testing. * gdbtk-cmds.c (gdb_loc): Fix for case where there are only minimal symbols. Also make gdb_loc return the shared library the location is in, if it is in one.
Diffstat (limited to 'gdb/gdbtk.c')
-rw-r--r--gdb/gdbtk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbtk.c b/gdb/gdbtk.c
index 6b975cd..61075fb 100644
--- a/gdb/gdbtk.c
+++ b/gdb/gdbtk.c
@@ -493,6 +493,10 @@ gdbtk_init ( argv0 )
/* Path conversion functions. */
if (ide_create_cygwin_path_command (gdbtk_interp) != TCL_OK)
error ("cygwin path command initialization failed");
+#else
+ /* for now, this testing function is Unix only */
+ if (cyg_create_warp_pointer_command (gdbtk_interp) != TCL_OK)
+ error ("warp_pointer command initialization failed");
#endif
/*