Mercurial > hg > octave-terminal
changeset 15595:6e780fb15c14
Make Vdebug_on_interrupt not be static
* sighandlers.cc: Make Vdebug_on_interrupt not be static.
* sighandlers.h: Declare Vdebug_on_interrupt.
* pt-jit.cc: Include sighandlers.h.
author | Max Brister <max@2bass.com> |
---|---|
date | Sun, 04 Nov 2012 16:28:56 -0700 |
parents | a7b22144318a |
children | 5f031158c693 |
files | libinterp/interp-core/pt-jit.cc libinterp/interpfcn/sighandlers.cc libinterp/interpfcn/sighandlers.h |
diffstat | 3 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/interp-core/pt-jit.cc +++ b/libinterp/interp-core/pt-jit.cc @@ -32,6 +32,7 @@ #include "ov.h" #include "pt-all.h" #include "pt-jit.h" +#include "sighandlers.h" #include "symtab.h" #include "variables.h"
--- a/libinterp/interpfcn/sighandlers.cc +++ b/libinterp/interpfcn/sighandlers.cc @@ -61,7 +61,7 @@ bool can_interrupt = false; // TRUE means we should try to enter the debugger on SIGINT. -static bool Vdebug_on_interrupt = false; +bool Vdebug_on_interrupt = false; // Allow users to avoid writing octave-workspace for SIGHUP (sent by // closing gnome-terminal, for example). Note that this variable has