February 17, 2006

A DrScheme Quickie…

Posted in Scheme at 12:43 am by pmatos

DrScheme shipped with pre-release version 301.5 is having some troubles at least under Linux, and sometimes suddenly shuts down? Why?

Well the most curious will:
$ gdb plt-last/bin/drscheme
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"..."/usr/local/plt/plt-301.5/bin/drscheme": not in executable format: File format not recognized

Odd reply, right?

OK, don’t worry… You can still debug it:


$ gdb plt-last/bin/mred
...
(gdb) run -synchronous -mvqM drscheme

Now, that will work! In fact, drscheme is a script to call mred which the correct flags. Yeah, ‘cat drscheme’ and you’ll see what I’m talking about! :)

Have fun!

About the error? Oh well, I really don’t know yet, I’m hoping it will break soon so I can debug it!

1 Comment »

  1. pmatos said,

    Just as a side note… This method doesn’t currently work for drscheme3m. If you try it you’ll get a nasty segmentation fault. :)


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: