Menu

#599 GDB plugin error when opening terminal

closed
nobody
Plugins (35)
5
2010-12-22
2010-12-12
oz123
No

Hi,

Perhaps this is not a bug - I have found many complaints about it with Eclipse, but I see no solution anywhere ...

I try compiling a simple C file with debug symbols, and I get the following error on the debug terminal:
&"warning: GDB: Failed to set controlling terminal: Operation not permitted\n"

I use geany 0.20 but this is also happening in 0.19.1.

GNU gdb (GDB) 7.0.1-debian

I compiled the source with:
gcc -g -Wall -o "Exe-2.3" "Exe-2.3.c" (in directory: /home/oz/Desktop)

here is the log:

gcc -g -Wall -o "Exe-2.3" "Exe-2.3.c" (in directory: /home/oz/Desktop)
Compilation finished successfully.
Starting gdb (pid=21473)
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
"gnome-terminal" "--title" "Debug terminal" "-x" "/usr/lib/geany-plugins/geanygdb/ttyhelper" "/home/oz/.config/geany/plugins/geanygdb/21355.tty"
Attaching to terminal /dev/pts/3
Started target process. (pid=21482)
Program exited normally.
Target process exited. (pid=21482; code=0)

Discussion

  • oz123

    oz123 - 2010-12-12

    This bug is probably related to GDB itself I guess - just down graded to GDB 6.8 from debian lenny and this error is gone ...

    However, CPU usage is again SPIKING TO 100% (related to 3019827,https://sourceforge.net/tracker/?func=detail&atid=1056532&aid=3019827&group_id=222729)....

    Oh, well ... let's hope we can have both bugs killed :-)

    Oz

     
  • oz123

    oz123 - 2010-12-12

    Oy vey ... Ignore my remark about CPU spike - I was using 0.19...

    Using geany 0.2 with GDB 6.8 - no CPU spike, and no complaints about tty permissions...

    Cheers,

    Oz

     
  • Nick Treleaven

    Nick Treleaven - 2010-12-22

    oz123: Please inform the GDB plugin maintainer or file a bug for
    geany-plugins. It will not be seen by them here.

     
  • Nick Treleaven

    Nick Treleaven - 2010-12-22
    • status: open --> closed
     

Log in to post a comment.