Skip to content
Permalink
Browse files

gc references to panicstr and fix gdb help

  • Loading branch information...
nigoroll committed Nov 7, 2019
1 parent e1853a3 commit f2947248a5d64f3e7cc70a0774e424d81fe836a2
Showing with 3 additions and 4 deletions.
  1. +3 −2 bin/varnishd/cache/cache_panic.c
  2. +0 −2 bin/varnishd/flint.lnt
@@ -52,12 +52,13 @@
#include "vcs.h"

/*
* The panic string is constructed in memory, then copied to the
* The panic string is constructed in a VSB, then copied to the
* shared memory.
*
* It can be extracted post-mortem from a core dump using gdb:
*
* (gdb) printf "%s", panicstr
* (gdb) p *(char **)((char *)pan_vsb+8)
*
*/

static struct vsb pan_vsb_storage, *pan_vsb;
@@ -131,8 +131,6 @@
-esym(759, vcc_ProcAction) // could be moved to module
-esym(714, vcc_ProcAction) // not ref.

-esym(765, panicstr) // Could be static

-emacro(506, isnan, isfinite) // constant value boolean
-emacro(736, isfinite) // loss of precision
-emacro(774, HTTPH) // always false

0 comments on commit f294724

Please sign in to comment.
You can’t perform that action at this time.