Closed Bug 781668 Opened 12 years ago Closed 3 years ago

No more symbols in gdb with fennec build

Categories

(Firefox Build System :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nical, Unassigned)

Details

With jimDB I have no symbols when debugging fennec.

jrmuizel updated his tree as well today (august 9, 2012) and since then he has no symbol in gdb either.

debugging without symbols is recipe for sadness, therefore we need to fix this.
OS: Linux → Android
Hardware: x86_64 → ARM
(In reply to Nicolas Silva [:nical] from comment #0)
> jrmuizel updated his tree as well today (august 9, 2012) and since then he
> has no symbol in gdb either.

Are you saying it was working until recently?
What does "info sharedlibrary" say, at the gdb prompt?
(In reply to Mike Hommey [:glandium] from comment #1)
> (In reply to Nicolas Silva [:nical] from comment #0)
> > jrmuizel updated his tree as well today (august 9, 2012) and since then he
> > has no symbol in gdb either.
> 
> Are you saying it was working until recently?

Yeah. "info sharedlibrary" says in the appropriate column "No"
Are you running Jelly Bean? There's a bug in the Jelly Bean linker that prevents GDB from properly attaching to the linker. http://code.google.com/p/android/issues/detail?id=34856

I'm going to try the patch in that bug. Also, running "sharedlibrary" manually in GDB should get the symbols back.
(In reply to Jim Chen [:jchen] from comment #4)
> Are you running Jelly Bean? There's a bug in the Jelly Bean linker that
> prevents GDB from properly attaching to the linker.
> http://code.google.com/p/android/issues/detail?id=34856
> 
> I'm going to try the patch in that bug. Also, running "sharedlibrary"
> manually in GDB should get the symbols back.

I was seeing this on a Nexus S running Gingerbread.
Product: Core → Firefox Build System
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.