NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/52086 (cannot debug firefox with gdb)



The following reply was made to PR bin/52086; it has been noted by GNATS.

From: scole_mail <scole_mail%gmx.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: martin%NetBSD.org@localhost
Subject: Re: bin/52086 (cannot debug firefox with gdb)
Date: Sun, 29 Oct 2017 12:58:53 -0700

 I tried again with qemu, NetBSD 8
  NetBSD qemu 8.0_BETA NetBSD 8.0_BETA (GENERIC) #1: Thu Oct 12 15:02:52 PDT 2017
   root@qemu:/disk2/obj/sys/arch/i386/compile/GENERIC i386
 and firefox-55.0.3nb1 from pkgsrc-2017Q3.
 
 I started it a couple times and didn't get the same behavior anymore.
 It seemed to run fine:
 
 qemu# ./run-mozilla.sh -g ./firefox
 MOZILLA_FIVE_HOME=.
   LD_LIBRARY_PATH=.:./plugins:.
 DISPLAY=localhost:10.0
 DYLD_LIBRARY_PATH=.:.
      LIBRARY_PATH=
        SHLIB_PATH=.:.
           LIBPATH=.:.
        ADDON_PATH=
       MOZ_PROGRAM=./firefox
       MOZ_TOOLKIT=
         moz_debug=1
      moz_debugger=
 moz_debugger_args=
 /usr/bin/gdb  --args ./firefox
 GNU gdb (GDB) 7.12
 Copyright (C) 2016 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "i486--netbsdelf".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>.
 Find the GDB manual and other documentation resources online at:
 <http://www.gnu.org/software/gdb/documentation/>.
 For help, type "help".
 Type "apropos word" to search for commands related to "word"...
 Reading symbols from ./firefox...(no debugging symbols found)...done.
 (gdb) run
 Starting program: /usr/pkg/lib/firefox/firefox
 [New LWP 12]
 [New LWP 28]
 [New LWP 29]
 /usr/pkg/lib/ffmpeg3/libavcodec.so.57: text relocations
 /usr/pkg/lib/ffmpeg3/libswresample.so.2: text relocations
 /usr/pkg/lib/ffmpeg3/libavutil.so.55: text relocations
 /usr/pkg/lib/libxvidcore.so.4: text relocations
 /usr/pkg/lib/libx264.so.0: text relocations
 ...
 
 I guess you can close the PR unless any others object.
 
 Thanks
 


Home | Main Index | Thread Index | Old Index