1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-03 05:20:16 +02:00
Commit graph

10513 commits

Author SHA1 Message Date
Neil Jerram
5b2da4cc18 (Debug on Error): Added paragraph on need to use
debugging evaluator.  Added text on what the Guile REPL code does.
2006-08-29 22:47:41 +00:00
Neil Jerram
b5944f6672 (scm_display_backtrace_with_highlights): Minor
improvements to docstring.
(scm_backtrace_with_highlights): Analogous improvements.
2006-08-28 22:17:26 +00:00
Neil Jerram
fc3d5c436f (Examining the Stack): Minor improvements to
display-backtrace doc.
(Debug on Error): More new text on catching the error stack.
2006-08-28 22:16:42 +00:00
Kevin Ryde
0e1b2e1ed2 *** empty log message *** 2006-08-28 21:52:50 +00:00
Kevin Ryde
4d84f173ef (Dynamic Wind): Reformat example a bit to avoid
going off the right edge of the paper.  Reported by Percy Tiglao.
2006-08-28 21:52:26 +00:00
Neil Jerram
2202fd6cba (Debug on Error): New text on how to catch errors
and the error stack.
2006-08-27 14:06:16 +00:00
Kevin Ryde
bcbecaf7fd *** empty log message *** 2006-08-25 01:44:40 +00:00
Kevin Ryde
364da711cf (open-input-pipe, open-output-pipe): In the "no
duplicate" tests, close parent side of signalling pipe, to hopefully
generate an error instead of a hang if something bad in the child
means it doesn't write anything.
2006-08-25 01:21:39 +00:00
Kevin Ryde
c2696f1f61 primitive-_exit under "scheme functions and syntax" 2006-08-25 00:59:13 +00:00
Kevin Ryde
3d59ecbc90 record type checks 2006-08-25 00:56:49 +00:00
Neil Jerram
01d2ee1585 (Using Guile in Emacs): New text about
available Emacs libraries.
(GDS Introduction): New node, containing GDS-specific introductory
text.
2006-08-23 22:11:24 +00:00
Kevin Ryde
f35ac81fd8 Bit more of:
* configure.in: Test if need braces around PTHREAD_ONCE_INIT, set
	AC_OUTPUT of SCM_I_GSC_NEED_BRACES_ON_PTHREAD_ONCE_INIT.

Need to set SCM_I_GSC_NEED_BRACES_ON_PTHREAD_ONCE_INIT to some value
always, not just when pthreads.
2006-08-22 23:59:49 +00:00
Kevin Ryde
e315794e34 *** empty log message *** 2006-08-21 23:48:25 +00:00
Kevin Ryde
27a33ef9f1 More tests, in particular check for exceptions on
wrong record types passed to accessor and modifier funcs.
2006-08-21 23:46:16 +00:00
Kevin Ryde
02e06553f0 (Internationalization): Cross reference gettext manual on plural forms. 2006-08-21 23:43:52 +00:00
Kevin Ryde
5f749e99dc *** empty log message *** 2006-08-21 23:35:24 +00:00
Kevin Ryde
acc028b0eb (SCM_I_PTHREAD_ONCE_INIT): Use
SCM_NEED_BRACES_ON_PTHREAD_ONCE_INIT to cope with Solaris.
Reported by Claes Wallin.
2006-08-21 23:32:58 +00:00
Kevin Ryde
065366d0df (SCM_NEED_BRACES_ON_PTHREAD_ONCE_INIT): New output to scmconfig.h. 2006-08-21 23:29:48 +00:00
Kevin Ryde
5c2b1ab57b (SCM_I_GSC_NEED_BRACES_ON_PTHREAD_ONCE_INIT): New, set from configure. 2006-08-21 23:27:53 +00:00
Kevin Ryde
33f9e79b8c Test if need braces around PTHREAD_ONCE_INIT, set
AC_OUTPUT of SCM_I_GSC_NEED_BRACES_ON_PTHREAD_ONCE_INIT.
2006-08-21 23:26:32 +00:00
Neil Jerram
fce4b99e9e * gds-server.el (gds-start-server): Change "ossau" to "ice-9".
* gds-scheme.el (gds-start-utility-guile): Change "ossau" to
"ice-9".
2006-08-18 14:21:23 +00:00
Neil Jerram
1e2346ae93 * configure.in: Generate Makefile for emacs subdir.
* Makefile.am (SUBDIRS): Add emacs subdir.

* configure.in: Generate Makefile for ice-9/debugging subdir.
2006-08-18 14:19:44 +00:00
Neil Jerram
e741cbb2ed .cvsignore file 2006-08-18 13:43:09 +00:00
Neil Jerram
8746959cd3 * configure.in: Generate Makefile for ice-9/debugging.
* debugging/trc.scm: New file.

* debugging/traps.scm: New file.

* debugging/trace.scm: New file.

* debugging/steps.scm: New file.

* debugging/load-hooks.scm: New file.

* debugging/ice-9-debugger-extensions.scm: New file.

* debugging/example-fns.scm: New file.

* debugging/breakpoints.scm: New file.

* debugging/Makefile.am: New.

* Makefile.am (SUBDIRS): Add debugging.
2006-08-18 13:41:45 +00:00
Neil Jerram
9837893af2 (Using Guile in Emacs): Unignore extra GDS
intro text.  (I will edit this down later.  For now it's
convenient to have it all appearing, so it's visible on paper.)
2006-08-18 13:14:46 +00:00
Neil Jerram
62ae95577a * scheme-using.texi (Run To Frame Exit): Improved doc for finish.
(Continue Execution): Improved doc for continue.
(Using Guile in Emacs): Lots of new docs about the Emacs
interface.

* api-debug.texi (Low Level Trap Calls): New.
(Using Traps): Removed, material incorporated into Low Level Trap
Calls.
(High Level Traps): New.
(Breakpoints): New.

* scheme-using.texi (Single Stepping): Improve doc for step and
next.

* api-debug.texi (Debug on Error): Note need to handling of errors
in C.
2006-08-11 16:21:14 +00:00
Neil Jerram
5af872e136 (Debugging): New intro text. New subsection
"Evaluation Model".  Moved existing subsections "Capturing the
Stack or Innermost Stack Frame", "Examining the Stack", "Examining
Stack Frames", "Source Properties", "Decoding Memoized Source
Expressions" and "Starting a New Stack" under "Evaluation Model".
(Capturing the Stack or Innermost Stack Frame): Some new text, and
correction to doc for last-stack-frame.
(Debug on Error): Renamed from "Interactive Debugging".
2006-08-11 15:38:19 +00:00
Neil Jerram
b0b0deff2d (scm_last_stack_frame): Correct docstring (returns a
frame, not a stack).
2006-08-11 15:33:41 +00:00
Kevin Ryde
82843d5c26 *** empty log message *** 2006-08-02 00:48:35 +00:00
Kevin Ryde
b0c50494b6 (%record-type-check): New function.
(record-accessor, record-modifier): Use it for a strict type check of
the given record.  Previously an accessor returned #f on a wrong
record type, and modifier silently did nothing.
2006-08-02 00:45:45 +00:00
Neil Jerram
c9ef37410d * api-debug.texi (Breakpoints): Removed (all wrong).
* guile.texi (API Reference): Improved summary for "Debugging"
menu item.
2006-08-01 21:51:12 +00:00
Neil Jerram
46f7666d7f * scheme-debugging.texi (Debug Last Error, Interactive Debugger):
Moved/merged to scheme-using.texi, as REPL features.
(Examples): New.
(Intro to Breakpoints): New introductory text here.  Removed all
subnodes except for Breakpoints Overview.

* scheme-using.texi: New.

* guile.texi (Programming in Scheme): Include new
scheme-using.texi file.

* Makefile.am (guile_TEXINFOS): Include new scheme-using.texi
file.
2006-08-01 21:33:17 +00:00
Kevin Ryde
729ab63afa *** empty log message *** 2006-07-25 00:39:39 +00:00
Kevin Ryde
4a7ad916fd Use "&& exit 1" instead of "!" to
invert the sense of exit statuses, as the latter doesn't work on
Solaris 10.  Reported by Claes Wallin.
2006-07-25 00:39:18 +00:00
Kevin Ryde
3805c7d8c9 *** empty log message *** 2006-07-25 00:26:05 +00:00
Kevin Ryde
158d3dac8a Use scm_boot_guile rather than scm_init_guile, for the benefit of
those systems where we can't implement the latter.
2006-07-25 00:22:45 +00:00
Kevin Ryde
3e494123b6 (AC_CHECK_FUNCS): Add pthread_getattr_np. 2006-07-25 00:10:17 +00:00
Kevin Ryde
3d9ff38eac (get_thread_stack_base): Restrict HAVE_PTHREAD_GETATTR_NP
on pthreads version, since pthread_getattr_np not available on solaris
and macos.  Reported by Claes Wallin.
2006-07-25 00:09:30 +00:00
Kevin Ryde
658b7fa124 bit more comment on sethostname 2006-07-24 23:40:31 +00:00
Kevin Ryde
42522438e9 *** empty log message *** 2006-07-24 01:39:51 +00:00
Kevin Ryde
0a331acc54 (dirfd): Test with #ifndef rather than HAVE_DIRFD, since
it's a macro on MacOS X.  Reported by Claes Wallin.
2006-07-24 01:38:24 +00:00
Kevin Ryde
1fe40cee4c (AC_CHECK_DECLS): Add sethostname for Solaris 10.
(AC_CHECK_FUNCS): Remove dirfd, it's a macro.
Reported by Claes Wallin.
2006-07-24 01:09:41 +00:00
Kevin Ryde
2895b96375 *** empty log message *** 2006-07-24 00:47:23 +00:00
Kevin Ryde
adc72e85fd (sethostname): Give prototype if not HAVE_DECL_SETHOSTNAME,
for the benefit of Solaris 10.  Reported by Claes Wallin.
2006-07-24 00:45:09 +00:00
Kevin Ryde
67fbf55cf7 *** empty log message *** 2006-07-23 22:37:22 +00:00
Kevin Ryde
4fd8558217 add copyright years 2006-07-23 22:31:51 +00:00
Kevin Ryde
77d93b60ee (Fly Evaluation): Add scm_c_eval_string.
(Loading): Add scm_c_primitive_load.
Reported by Jon Wilson.
2006-07-23 22:30:19 +00:00
Kevin Ryde
2d4fd7f194 *** empty log message *** 2006-07-23 22:29:04 +00:00
Kevin Ryde
6867446f57 (htonl, ntohl): New tests. 2006-07-23 22:22:20 +00:00
Kevin Ryde
ec6844790f *** empty log message *** 2006-07-23 22:20:50 +00:00