Re: disassemble error on Mac OS X Sierra

Will Senn <[email protected]>
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
That fixed the hang up, here's the results:

[1]> (setq sys::*disassemble-use-live-process* nil)

** - Continuable Error
SETQ(SYSTEM::*DISASSEMBLE-USE-LIVE-PROCESS*): #<PACKAGE SYSTEM> is locked
If you continue (by typing 'continue'): Ignore the lock and proceed
The following restarts are also available:
ABORT          :R1      Abort main loop
Break 1 [2]> continue
NIL
[3]> (DISASSEMBLE #'SYMBOL-NAME)
/tmp/gdbcomm86569:3: Error in sourced command file:
No function contains specified address.
NIL

How can I get the variable, sys::*disassemble-use-live-process*, set 
"permanently"?

Will

On 2/7/17 12:50 PM, Sam Steingold wrote:
> Hi,
>
>> * Will Senn <[email protected]> [2017-02-03 22:35:05 -0600]:
>>
>> When I attempt to disassemble anything, I get the error below and the
>> terminal hangs up:
> terminal hang up can be caused by
>
>
> --8<---------------cut here---------------start------------->8---
>   #ifdef UNIX
>    /* SYS::*DISASSEMBLE-USE-LIVE-PROCESS* is system dependent:
>     We use it where possible, because it allows peeking into dynamically
>     loaded shared libraries.
>     On FreeBSD 4.0, if set to T, gdb stops the clisp process.
>     On Linux ppc64 (sf cf openpower-linux1), if set to T, clisp hangs until C-c.
>     On Woe32, the debugging APIs are flawed, the Cygwin developers say. */
>    #if defined(UNIX_FREEBSD) || defined(UNIX_CYGWIN32) || (defined(UNIX_LINUX) && defined(POWERPC))
>    define_variable(S(disassemble_use_live_process),NIL);
>    #else
>    define_variable(S(disassemble_use_live_process),T);
>    #endif
>   #endif
> --8<---------------cut here---------------end--------------->8---
>
> IOW, you will not get the hang up if you set
> sys::*disassemble-use-live-process* to nil.
>
> please test.
>
>
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.