mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-22 22:06:50 +00:00
Expand on error message for unsigned OSX binary
If r2 is unsigned the message the user gets when trying to debug with it isn't clear as to what the problem is. Add a line to suggest most likely issue and go see the docs to get a cert.
This commit is contained in:
parent
15c1197636
commit
5ad7b9e2f2
@ -384,6 +384,7 @@ static RIODesc *__open(RIO *io, const char *file, int rw, int mode) {
|
||||
break;
|
||||
case EINVAL:
|
||||
perror ("ptrace: Cannot attach");
|
||||
eprintf ("Possibly unsigned r2. Please see doc/osx.md\n");
|
||||
eprintf ("ERRNO: %d (EINVAL)\n", errno);
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user