On Tue, Jan 18, 2011 at 18:53, Keith Seyffarth <w...@weif.net> wrote: > > Chuck Swiger <cswi...@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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"