Hi,

pstack shows firefox methods for example:

----------------- thread 100583 (running) -----------------
 0x80151cf5a 0x7fffffffd980 __sys_poll (13c2aa0, 8, 0, 0, 12f1e30, 8) + a
in libc.so.7
 0x8013c2aa0 0x7fffffffd9b0 poll (7898b74, 8, ffffda24, 7fff, 0, 0) + 30 in
libc.so.7
 0x807898b74 0x7fffffffda00 PollWrapper(_GPollFD*, unsigned int, int)
(2fb3cc7, 8, 1, 1, 3789540, 8) + 54 in libxul.so
 0x802fb3cc7 0x7fffffffda50 ???????? (2fb3dd4, 8, 1, 0, cb4a400, 8) in
libglib-2.0.so.0
 0x802fb3dd4 0x7fffffffda70 g_main_context_iteration (7898d0b, 8, ffffdae0,
7fff, 7855de5, 8) + 64 in libglib-2.0.so.0
 0x807898d0b 0x7fffffffda80 nsAppShell::ProcessNextNativeEvent(bool)
(7855de5, 8, 128bbe50, 8, 0, 0) + b in libxul.so
 0x807855de5 0x7fffffffdae0
nsBaseAppShell::OnProcessNextEvent(nsIThreadInternal*, bool) (7855f3d, 8,
ffffdbf0, 7fff, 546e69e, 8) + 1b5 in libxul.so
 0x807855f3d 0x7fffffffdaf0 virtual function non-virtual override offset :
-8 nsBaseAppShell::OnProcessNextEvent(nsIThreadInternal*, bool) (546e69e,
8, ffffdb50, 7fff, fae5f80, 8) + d in libxul.so
 0x80546e69e 0x7fffffffdbf0 nsThread::ProcessNextEvent(bool, bool*)
(547110b, 8, ffffdc20, 7fff, 4f27b4d8, a873a41d) + 13e in libxul.so
 0x80547110b 0x7fffffffdc20 NS_ProcessNextEvent(nsIThread*, bool) (5816a0f,
8, cb4a400, 8, 17e09b0, 8) + 4b in libxul.so
 0x805816a0f 0x7fffffffdc60
mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate*) (57d67fb, 8,
9fefc01, 8, 2, 0) + cf in libxul.so
 0x8057d67fb 0x7fffffffdca0 MessageLoop::Run(void) (7855af9, 8, 17e09b0, 8,
17e09b0, 8) + 5b in libxul.so
 0x807855af9 0x7fffffffdcc0 nsBaseAppShell::Run(void) (8dea7a7, 8,
128bbe20, 8, 4f27b4d8, a873a41d) + 29 in libxul.so
 0x808dea7a7 0x7fffffffdcf0 XRE_RunAppShell(void) (57d67fb, 8, ffffdd30,
7fff, 1, 0) + 47 in libxul.so
 0x8057d67fb 0x7fffffffdd30 MessageLoop::Run(void) (8dea48e, 8, 1, 7fff,
1833700, 8) + 5b in libxul.so
 0x808dea48e 0x7fffffffdf10 XRE_InitChildProcess(int, char**, XREChildData
const*) (102d568, 0, 0, 0, 0, 0) + 34e in libxul.so
   0x102d568 0x7fffffffe360 main (102d10b, 0, 0, 0, 15, 0) + 1e8 in firefox
   0x102d10b 0x7fffffffe3b0 _start (1084000, 8, 0, 0, 15, 0) + 10b in
firefox

Information about methods is stored in dwarf2 structures of files. I
suppose it should be enough for debugging by GDB.
Is it not enough?

Thanks!

On Mon, May 6, 2019 at 8:10 AM Robert Huff <roberth...@rcn.com> wrote:

>
> Anders Jensen-Waud writes:
>
> >  On 5/5/19 8:56 am, George Mitchell wrote:
> >  > I tried compiling a debugging version of firefox:
> >  >
> >  > cd /usr/ports/www/firefox; make clean; make WITH_DEBUG=yes install
> >  >
> >  > The resulting binary had no debug symbols.  What did I do wrong?
> >  > -- George
> >  >
> >  WITH_DEBUG may not modify Firefox's actual makefile to do what you
> want.
> >  I would see if you need to monkey patch './configure' with a flag or
> two.
>
>         Has anyone asked the maintainer, which I believe is
> "ge...@freebsd.org"?
>
>
>                         Respectfully,
>
>
>                                 Robert Huff
>
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
>
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to