Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When running as a non-root user on the host no useful error is printed #28

Open
apopple opened this issue Mar 28, 2018 · 1 comment
Open
Assignees

Comments

@apopple
Copy link
Collaborator

apopple commented Mar 28, 2018

Running on the host requires access to /sys/kernel/debug/powerpc/scom/* which requires root access. Without it the following error it returned:

alistair@garrison2:~/Source/pdbg$ ./pdbg -p0 getscom 0xf000f
No valid targets found or specified. Try adding -p/-c/-t options to specify a target.
Alternatively run /home/alistair/Source/pdbg/.libs/lt-pdbg -a probe to get a list of all valid targets

It would be nicer if the user was told to run as root.

@apopple
Copy link
Collaborator Author

apopple commented May 31, 2018

@RashmicaG any chance you can take a look at this? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants