tags:

views:

215

answers:

2

Hi All,

I m using gdb on a aix shared lib running on aix 5.3? When i try to run gdb for this file i get a error message saying ""Architecture of file not recognized" Don't know how to get this fixed.

Does anybody know why i get this message ""Architecture of file not recognized"?.

gdb runs fine on other executables compiled by xlc.

Is there some option that i might have used while compiling , which is not compatible with GDB.some processor specific option.

I compiled the shared lib w xlc v9.0 for aix.

Thanks.

A: 
tr9sh
A: 

You don't run GDB on a shared library, you run it on an executable.

If the executable loads your shared library, GDB will know about it.

Employed Russian