Stack trace for x86_64 boxes

We are going to release several patches which are not included in official MySQL releases.
First one is automatically stack trace for x86_64 systems. Currently MySQL resolves stack in crash only for x86 boxes.
You can download patch for 5.0.22 source tree here.
How to use: place stack64.diff into main source dir; execute patch -p1 < stack64.diff. One important one: flag -fno-omit-frame-pointer must be added to CFLAGS and CXXFLAGS, by default GCC uses -fomit-frame-pointer on x86_64 systems (on x86 by default -fno-omit-frame-pointer).

Share this post

Comments (3)

  • pratn Reply

    May I adapt this code into something I’m writing?

    February 21, 2007 at 9:10 pm
  • peter Reply

    Sure go ahead.

    February 22, 2007 at 5:42 am

Leave a Reply