Skip to main content



      Home
Home » Newcomers » Newcomers » Starting the debugger as root without starting Eclipse as root
Starting the debugger as root without starting Eclipse as root [message #198416] Thu, 08 March 2007 05:41 Go to next message
Eclipse UserFriend
Originally posted by: lambert_anne.club.lemonde.fr

Hi,

I am developing a small C program that uses the libpcap library. For the
program to work it need to be started it as root. How do I get the
debugger to start itself with root??
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
Re: Starting the debugger as root without starting Eclipse as root [message #198603 is a reply to message #198416] Thu, 08 March 2007 11:01 Go to previous message
Eclipse UserFriend
Hi Anne,

You are more likely to get an answer in the eclipse.tools.cdt newsgroup

HTH
Darins

"Anne Lambert" <lambert_anne@club.lemonde.fr> wrote in message
news:7bab7c9679cc1a2ed79fe78191eae2e2$1@www.eclipse.org...
> Hi,
>
> I am developing a small C program that uses the libpcap library. For the
> program to work it need to be started it as root. How do I get the
> debugger to start itself with root?? 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
>
Previous Topic:Programmatically backup workspace
Next Topic:Error On Startup
Goto Forum:
  


Current Time: Sun May 11 16:53:10 EDT 2025

Powered by FUDForum. Page generated in 0.07344 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top