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

debugging xchat with gdb



Greetings earthlings.

My xchat crashes randomly when minimized - meaning i can't pinpoint
why it crashes. I'm still using gnome. I've tried running it from a
terminal but it never crashes when i do so (Murphy loves me). So i
tried with gdb, makes sense huh?

1.
gdb
(gdb) xchat
Undefined command: "xchat".  Try "help".

2.
gdb xchat
This GDB was configured as "x86_64-linux-gnu"...BFD: /usr/bin/xchat:
don't know how to handle OS specific section `.gnu.hash' [0x6ffffff6]
"/usr/bin/xchat": not in executable format: File format not recognized

3.
ls -l /usr/bin/xchat
-rwxr-xr-x 1 root root 600256 2007-06-10 16:31 /usr/bin/xchat

4.
file /usr/bin/xchat
/usr/bin/xchat: ELF 64-bit LSB executable, AMD x86-64, version 1
(SYSV), for GNU/Linux 2.6.1, dynamically linked (uses shared libs),
for GNU/Linux 2.6.1, stripped

5.
apt-get install gdb
	Setting up gdb (6.7.1-1) ...

6.
gdb xchat
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb)

How come gdb won't launch xchat? What's it waiting for?

-- 
Fica bem, porta-te mal.
Be well, misbehave.


Reply to: