Index: library/interface.tcl =================================================================== RCS file: /cvs/src/src/gdb/gdbtk/library/interface.tcl,v retrieving revision 1.53 diff -u -p -r1.53 interface.tcl --- library/interface.tcl 27 Aug 2004 23:13:14 -0000 1.53 +++ library/interface.tcl 7 Jun 2005 01:07:19 -0000 @@ -365,6 +365,11 @@ proc gdbtk_tcl_warning {message} { switch -regexp $message { "Unable to find dynamic linker breakpoint function.*" {return} + "Internal error.*" { gdbtk_tcl_fputs_error $message } + "incomplete CFI.*" { + puts "here i am" + gdbtk_tcl_fputs_error $message + } default {show_warning $message} } } @@ -435,7 +440,8 @@ proc echo {args} { # PROC: gdbtk_tcl_fputs_error - write an error message # ------------------------------------------------------------------ proc gdbtk_tcl_fputs_error {message} { - if {[info exists gdbtk_state(console)] && $::gdbtk_state(console) != ""} { + if {[info exists ::gdbtk_state(console)] && $::gdbtk_state(console) != ""} { + puts "I am here, too" $::gdbtk_state(console) insert $message err_tag update } @@ -445,7 +451,7 @@ proc gdbtk_tcl_fputs_error {message} { # PROC: gdbtk_tcl_fputs_log - write a log message # ------------------------------------------------------------------ proc gdbtk_tcl_fputs_log {message} { - if {[info exists gdbtk_state(console)] && $::gdbtk_state(console) != ""} { + if {[info exists ::gdbtk_state(console)] && $::gdbtk_state(console) != ""} { $::gdbtk_state(console) insert $message log_tag update }