Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » CDT » running gdb as root without running eclipse as root
running gdb as root without running eclipse as root [message #187264] Wed, 07 March 2007 05:35 Go to previous message
Eclipse User
Originally posted by: lambert_anne.club.lemonde.fr

Hi,

I am developing a small program that uses the libpcap library. For the
program to work I need to start it as root. By using setuid I managed to
have the program working when using the Run perspective but how do I get
the same with the debugger??
I tried adding an alias: gdb sudo gdb but when started with eclipse I am
still the owner of the process... If I try to start gdb outside of
Eclipse, no problem, owner is root.

Any idea?
Thanks for any help
Anne
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Indexer with multiple projects
Next Topic:Eclipse-CDT and Makefiles
Goto Forum:
  


Current Time: Wed May 22 10:33:09 EDT 2013

Powered by FUDForum. Page generated in 0.01642 seconds