On Tue, Jun 22, 2010 at 7:47 PM, Jason Molenda <[email protected]> wrote: > > On Jun 22, 2010, at 7:33 PM, Eli Friedman wrote: > >> On Tue, Jun 22, 2010 at 7:25 PM, Charles Davis <[email protected]> >> wrote: >>> On Jun 22, 2010, at 8:01 PM, Eli Friedman wrote: >>>> (lldb) file /tmp/a >>>> Current executable set to '/tmp/a' (x86_64). >>> Well there's your problem! >>> >>> The file indeed belongs to the ELF32 class (I checked), but LLDB >>> misidentified it as an ELF64 object. >> >> The arch printed after the filename has nothing to do with the actual >> file. (Probably a bug, but not really the one I'm asking about...) > > Hi Eli, > > Right now disassemble doesn't work until you've started execution. Gotta fix > that when I get a chance.
Ah. I'm not anywhere near getting "run" working, so I guess I'll have to wait for that. > On Mac OS X lldb defaults to assuming it is looking at an x86_64 file. If > you are running it on a 32-bit file you need to explicitly invoke it 'lldb -a > i386 filename'. I don't know if this will hold true on Linux as well. I'll try messing with it once I get some real output. -Eli _______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
