No more symbols in gdb with fennec build

NEW
Unassigned

Status

()

Core
Build Config
6 years ago
6 years ago

People

(Reporter: nical, Unassigned)

Tracking

Trunk
ARM
Android
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
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.
(Reporter)

Updated

6 years ago
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.
You need to log in before you can comment on or make changes to this bug.