diff options
author | Martin Hunt <hunt@redhat.com> | 2004-02-17 18:43:57 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 2004-02-17 18:43:57 +0000 |
commit | 3cb8aa90d62d26ab369f30dfaaf1e9923f850540 (patch) | |
tree | 4715d4fcdd7a402df2995f118b9416304401a54b /gdb/gdbtk/library | |
parent | 4cd304a3b4161a629a72e28e792aee59b86ca610 (diff) | |
download | gdb-3cb8aa90d62d26ab369f30dfaaf1e9923f850540.tar.gz |
2004-02-17 Martin Hunt <hunt@redhat.com>
* generic/gdbtk-register.c (Gdbtk_Register_Init): Replace
calls to register_gdbarch_swap with deprecated_register_gdbarch_swap.
* library/srcwin.itb: Remove an apparently redundant call
to gdbtk_locate_main and location. This actually broken
situations where no source files were found.
Diffstat (limited to 'gdb/gdbtk/library')
-rw-r--r-- | gdb/gdbtk/library/srcwin.itb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/gdbtk/library/srcwin.itb b/gdb/gdbtk/library/srcwin.itb index ad10b5aa0fe..9b1e3833fde 100644 --- a/gdb/gdbtk/library/srcwin.itb +++ b/gdb/gdbtk/library/srcwin.itb @@ -169,10 +169,6 @@ itcl::body SrcWin::_build_win {} { } else { _update $loc } - } else { - if {[set linespec [gdbtk_locate_main]] != ""} { - location BROWSE_TAG $linespec - } } } |