Jump to content

8 posts in this topic

Recommended Posts

Posted

Im not sure what the problem is. Im on iOS 9 iPad and when I try to ssh into the iPad, its fine but when I run gdb I get this error.

warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info

 

And then when I try to att blackops I get this error.

warning: error on line 221 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-infthread.c" in function "kern_return_t modify_trace_bit(thread_t, int)": (os/kern) invalid argument (0x4x)

 

When I type continue or c I get this error.

warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info

Error calling thread_get_state for GP registers for thread 0x3843lxerror on line 251 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/arm-macosx-nat-exec.c" in function "void fetch_inferior_registers(int)": (os/kern) invalid argument (0x4)

 

What am I doing wrong? How can I fix this so I can mod Call of Duty Black Ops Zombies?  :/

 

Posted

The first 3 are no errors, the last one is.

 

Does the app continue?


Where did you download GDB from?

Posted

Well the last error happens with every command like set. I installed gnu debugger from the correct source and the app does not continue. I have to quit in order for it to unfreeze.

Posted

I am having the same issue:

 

root# gdb

GNU gdb 6.3.50-20050815 (Apple version gdb-1708 + reverse.put.as patches v0.4) (Mon Apr 16 00:53:47 UTC 2012)
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 "arm-apple-darwin".
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
 
(gdb) attach --waitfor GDB-Demo
Waiting for process 'GDB-Demo' to launch.
Attaching to process 7289.
warning: error on line 221 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-infthread.c" in function "kern_return_t modify_trace_bit(thread_t, int)": (os/kern) invalid argument (0x4x)
warning: error on line 395 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-infthread.c" in function "void prepare_threads_after_stop(struct macosx_inferior_status *)": (os/kern) invalid argument (0x4x)
warning: error on line 221 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-infthread.c" in function "kern_return_t modify_trace_bit(thread_t, int)": (os/kern) invalid argument (0x4x)
warning: error on line 395 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-infthread.c" in function "void prepare_threads_after_stop(struct macosx_inferior_status *)": (os/kern) invalid argument (0x4x)
warning: error on line 221 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-infthread.c" in function "kern_return_t modify_trace_bit(thread_t, int)": (os/kern) invalid argument (0x4x)
warning: error on line 395 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-infthread.c" in function "void prepare_threads_after_stop(struct macosx_inferior_status *)": (os/kern) invalid argument (0x4x)
warning: error on line 221 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-infthread.c" in function "kern_return_t modify_trace_bit(thread_t, int)": (os/kern) invalid argument (0x4x)
warning: error on line 395 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-infthread.c" in function "void prepare_threads_after_stop(struct macosx_inferior_status *)": (os/kern) invalid argument (0x4x)
warning: error on line 221 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-infthread.c" in function "kern_return_t modify_trace_bit(thread_t, int)": (os/kern) invalid argument (0x4x)
warning: error on line 395 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/macosx-nat-infthread.c" in function "void prepare_threads_after_stop(struct macosx_inferior_status *)": (os/kern) invalid argument (0x4x)
warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info
Error calling thread_get_state for GP registers for thread 0x3843lxerror on line 251 of "/Volumes/Builds2/BuildRoot/SourceCache/gdb/gdb-1708/src/gdb/macosx/arm-macosx-nat-exec.c" in function "void fetch_inferior_registers(int)": (os/kern) invalid argument (0x4)
Posted

Hi,

I am using the exactly same version, as above, and have almost same errors.  Any advise? I am trying to run gdb on ios 8.1.  

Further , is there any updated version of gdb which runs on ios 10.2?

 

Thanks in advance

Posted

no, the last error is because you are trying to attach to a 32 bit binary. Download the game on a 32 bit device, crack the binary, then put it on your hacking phone and it will work

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines