Willy Tarreau 989b02e193 MINOR: debug: place a magic pattern at the beginning of post_mortem
In order to ease finding of the post_mortem struct in core dumps, let's
make it start with a recognizable pattern of exactly 32 chars (to
preserve alignment):

  "POST-MORTEM STARTS HERE+7654321\0"

It can then be found like this from gdb:

  (gdb) find 0x000000012345678, 0x0000000100000000, 'P','O','S','T','-','M','O','R','T','E','M'
  0xcfd300 <post_mortem>
  1 pattern found.

Or easier with any other more practical tool (who as ever used "find" in
gdb, given that it cannot iterate over maps and is 100% useless?).
2024-10-24 16:12:46 +02:00
..
2024-04-02 07:27:33 +02:00
2024-08-20 18:12:27 +02:00
2024-07-12 15:27:04 +02:00
2024-04-26 11:29:25 +02:00
2024-10-04 21:38:14 +02:00
2024-10-24 16:12:46 +02:00
2024-10-04 21:38:14 +02:00
2024-10-04 21:38:14 +02:00
2024-10-10 16:55:15 +02:00