mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 00:10:40 +00:00
break out the backtrace code from PR_RunError into PR_DumpState and use
PR_DumpState instead of PR_RunError in seg_fault_handler so we get both a progs trace /and/ a core file (ulimit allowing)
This commit is contained in:
parent
c7d1f961c3
commit
3a366f4f7e
5 changed files with 49 additions and 39 deletions
|
@ -187,6 +187,8 @@ pr_lineno_t *PR_Find_Lineno (progs_t *pr, unsigned long addr);
|
|||
const char *PR_Get_Source_File (progs_t *pr, pr_lineno_t *lineno);
|
||||
const char *PR_Get_Source_Line (progs_t *pr, unsigned long addr);
|
||||
ddef_t *PR_Get_Local_Def (progs_t *pr, int offs);
|
||||
void PR_DumpState (progs_t *pr);
|
||||
void PR_StackTrace (progs_t * pr);
|
||||
|
||||
extern struct cvar_s *pr_debug;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue