https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117320

--- Comment #5 from Paul Eggert <eggert at cs dot ucla.edu> ---
(In reply to Andrew Pinski from comment #4)
> I also suspect `b backtrace_function`
> will work correctly and point to the locations, it is just printing of the
> value of backtrace_function which is broken.
Yes, GDB's "b backtrace_function" command says:

  Breakpoint 1 at 0x6e4b7: backtrace_function. (10 locations)

which suggests that at least one of the breakpoints will work.

However, Emacs developers need GDB to cause the debugged Emacs process to call
backtrace_function, and that doesn't work (Emacs crashes) due to the GDB bug.

Reply via email to