gdb Bad symbol - type is N_SECT
I just installed gdb and I'm getting "Bad symbol - type is N_SECT" errors followed by the application crashing when I attach. The only pkgs I could find were from '09 so maybe they're out of date or it's the way I installed it.
Can someone some me how to correct this or point me to gdb installation instructions for IOS 4.3.3
Here's how I installed:
Lots of docs reference gcc on saurik but Cydia search turned up nil. I did some digging and found the packages in Index of /cydia-3.7/debs/
I manually downloaded and installed gcc and all of it's dependencies.
Next I grabbed toolchain2.0 for Cydia which was now happy since gcc was installed.
I was under the impression toolchain had gdb but it did not so I grabbed it from Index of /cydia-3.7/debs/ and installed it.
When Cydia was started it noticed some of the libraries that were manually installed were out of date which is interesting since the search could find them before I installed. I updated them. (Mistake?)
At this point I have a gdb executable. It appears to function normally until I attach and it freaks reading the library symbol info.
GNU gdb 188.8.131.5250815-cvs (Sat Sep 19 05:37:57 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=arm-apple-darwin9 --target=".
/private/var/mobile/Applications/..../7250: No such file or directory
Attaching to process 7250.
Reading symbols for shared libraries . done
Reading symbols for shared libraries ..
warning: Bad symbol - type is N_SECT but section is 236
warning: Bad symbol - type is N_SECT but section is 168
warning: Bad symbol - type is N_SECT but section is 224