xulrunner debug symbols are not usable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xulrunner-1.9.1 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xulrunner-1.9.1
1)
$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
2)
$ apt-cache policy xulrunner-1.9.1-dbg
xulrunner-
Installed: 1.9.1.7+
Candidate: 1.9.1.7+
Version table:
1.
50 http://
1.
300 http://
*** 1.9.1.6+
600 http://
600 http://
100 /var/lib/
1.
600 http://
Steps to reproduce:
$ gdb firefox
(gdb) b nsSHistory:
(gdb) r
(gdb) l
3) Expected result:
Source code is printed at breakpoint
4) Actual result:
gdb complains it cannot find source code.
This happens because xulrunner is built "in tree". Whenever gdb is pointed to for source, it tries to find the files in present working directory.
The solution is to use VPATH build (recommended upstream). Package system patch is attached.