Branch: Tag:


2003-10-20 13:14:28 by Martin Stjernholm <>

Extended debug_get_program_line to optionally handle a pc, and therefore
renamed it to debug_get_line. (Note that in 7.5 there's
low_get_program_line_plain and low_get_line_plain instead.)

Rev: src/program.c:1.482
Rev: src/program.h:1.177

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: program.h,v 1.176 2003/08/18 15:11:38 mast Exp $ + || $Id: program.h,v 1.177 2003/10/20 13:14:28 mast Exp $   */      #ifndef PROGRAM_H
600:    INT32 *linep);   PMOD_EXPORT struct pike_string *get_program_line(struct program *prog,    INT32 *linep); - char *debug_get_program_line(struct program *prog, -  INT32 *linep); + char *debug_get_line(PIKE_OPCODE_T *pc, struct program *prog, INT32 *linep);   PMOD_EXPORT struct pike_string *low_get_line(PIKE_OPCODE_T *pc,    struct program *prog, INT32 *linep);   PMOD_EXPORT struct pike_string *get_line(PIKE_OPCODE_T *pc,