Branch: Tag:

2002-09-21

2002-09-21 16:29:43 by Martin Stjernholm <mast@lysator.liu.se>

Set a breakpoint on pike_gdb_breakpoint by default when gdb is started. Made
it accessible from pike with "_gdb_breakpoint" to make it convenient to
enter gdb at a specific point in the pike code.

Rev: bin/pike.in:1.11
Rev: src/Makefile.in:1.324
Rev: src/builtin_functions.c:1.439
Rev: src/error.c:1.88

5:   \*/   /**/   #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.438 2002/09/09 08:04:27 grubba Exp $"); + RCSID("$Id: builtin_functions.c,v 1.439 2002/09/21 16:29:43 mast Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
8085: Inside #if defined(PIKE_DEBUG)
   tFunc(tComplex,tVoid), OPT_SIDE_EFFECT);    ADD_EFUN("_dump_backlog", f__dump_backlog,    tFunc(tNone,tVoid), OPT_SIDE_EFFECT); +  ADD_EFUN("_gdb_breakpoint", pike_gdb_breakpoint, +  tFunc(tVoid,tVoid), OPT_SIDE_EFFECT);   #endif       ADD_EFUN("_gc_status",f__gc_status,