]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: debug: report the task handler's pointer relative to main
authorWilly Tarreau <w@1wt.eu>
Tue, 3 Mar 2020 06:04:42 +0000 (07:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 3 Mar 2020 06:04:42 +0000 (07:04 +0100)
commit516853f1cc144bfe5d0010fc12d5f385341e67ab
tree1af3b3525f0b788a732bb1f8dde76bf3bd8176bf
parent7d9421deca68aed6b37effb91c67c03ae93439c2
MINOR: debug: report the task handler's pointer relative to main

Often in crash dumps we see unknown function pointers. Let's display
them relative to main, that helps quite a lot figure the function
from an executable, for example:

  (gdb) x/a main+645360
  0x4c56a0 <h1_timeout_task>:     0x2e6666666666feeb

This could be backported to 2.0.
src/debug.c