Red Hat Bugzilla – Bug 5278
gdb 4.18-4 regression: misreading of C debug info
Last modified: 2008-05-01 11:37:51 EDT
Building mozilla from CVS (using egcs-1.12-12), I've been
trying to set breakpoints and inspect code in a certain
function. Specifically, I'm trying to play with mozilla's
If I do "list nsEventStateManager::CheckForAndDispatchClick"
from gdb-4.18-4, I see the following (incorrect) output:
481 return ret;
If I revert back to gdb-220.127.116.11-6 (as shipped with RH6),
that same command produces the following (correct) output:
822 nsresult ret = NS_OK;
823 nsMouseEvent event;
824 nsCOMPtr<nsIContent> mouseContent;
825 PRBool fireClick = PR_FALSE;
If you want help building mozilla or otherwise reproducing
this, I can usually be found on irc.mozilla.org in #mozilla.
This is turning out to be something of a heisenbug: I'm having
problems reproducing this on my machines at work, even
though I've done so before. I'm going to try and see if I can get
it again on my home machine, where I originally discovered the
problem, this evening.
Can re-open this once we've figured out to reproduce it.