Date: Tue, 18 Jan 2011 19:43:48 -0800 From: Rob Farmer <rfarmer@predatorlabs.net> To: weif@weif.net Cc: freebsd-questions@freebsd.org Subject: Re: use of menus crashes Firefox? Message-ID: <AANLkTi=G-fWc06hQTyxdMTJkb%2Bg98it0uOFGZdkpdO3i@mail.gmail.com> In-Reply-To: <84vd1l61uf.fsf@maxwell.cjones.org> References: <844o957rei.fsf@maxwell.cjones.org> <90697FB1-79FD-4766-A01B-B06672D1EB7C@mac.com> <84y66h6491.fsf@maxwell.cjones.org> <DE2A236B-F560-4300-B177-9620C405CE85@mac.com> <84vd1l61uf.fsf@maxwell.cjones.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 18, 2011 at 18:53, Keith Seyffarth <weif@weif.net> wrote: > > Chuck Swiger <cswiger@mac.com> writes: > >> On Jan 18, 2011, at 6:01 PM, Keith Seyffarth wrote: >>> $ gdb --exec=firefox3 >>> This GDB was configured as >>> "i386-marcel-freebsd"."/usr/local/bin/firefox3": not in executable >>> format: File format not recognized >> >> What does "file /usr/local/bin/firefox3" say? > > $ file /usr/local/bin/firefox3 > /usr/local/bin/firefox3: Bourne shell script text executable > Right - firefox3 is a script that sets up a couple environment variables and runs the real binary. You need to gdb the real binary (which is in /usr/local/lib/firefox or somesuch - its not in any remotely normal $PATH). Since the environment stuff the script does is required for it to start, temporarily editing the script and running firefox3 is probably the easiest thing to do. -- Rob Farmer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=G-fWc06hQTyxdMTJkb%2Bg98it0uOFGZdkpdO3i>