Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f0a6ce90f94ac4483e9a86b5280028ba43dec32c
Ticket: 3124554fffffffffffffffffffffffffffffffff
Move WishPanic from Tk to Tcl
User & Date: nijtmans on 2010-12-16 18:31:00
Changes

  1. icomment:
    (1)  In tclsh, you will never see a MessageBox, that's only for
    wish when there is no debugger. The panic string will
    be printed to stderr.
    (2) See below. It looks like gdb implements Microsoft's
    API as well. That's the point: Tcl/Tk compiled with mingw
    should be 100% binary compatible with Tcl/Tk compiled
    with MSVC.
    
    ================================
    $ gdb tcltest.exe
    GNU gdb (GDB) 7.2
    Copyright (C) 2010 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "mingw32".
    For bug reporting instructions, please see:
    <http://www.gnu.org/software/gdb/bugs/>...
    Reading symbols from tcltest.exe...(no debugging symbols found)...done.
    (gdb) run
    Starting program: tcltest.exe
    [New Thread 5864.0x1310]
    warning: The Panic Message
    
    Program received signal SIGILL, Illegal instruction.
    0x6d5a9d91 in Tcl_PanicVA ()
       from C:\\workspace\tcl8.6\win\tcl86.dll
    (gdb)
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"