Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Backgroud:
System:CentOS
tools: QTCreator2.0.1
lib: qt/ace

Question
The first question:
there was a warning about this.

&warning: GDB: Failed to set controlling terminal:\346\227\240\346\225\210\347\232\204\345\217\202\346\225\260\n"

The tools->Options->Debugger->Gdb has already chained. /usr/bin/gdb

The second question :
I used the ace libary, used ACE_Dev_Poll_Reactor, it had worked.But When i debuged this,
The QtCreator had outputed "1094719808:work_pending_i:Interrupted system call."
I track ACE code.
C#
int
ACE_Dev_Poll_Reactor::handle_events_i
{
.......
    do{
      result = this->work_pending_i (max_wait_time);
      if (result == -1 && (this->restart_ == 0 || errno != EINTR))
        ACE_ERROR ((LM_ERROR, ACE_TEXT("%t: %p\n"), ACE_TEXT("work_pending_i")));
    }
  while (result == -1 && this->restart_ != 0 && errno == EINTR);
............
}


The message maybe print from here.I am not sure.




[orig. title]
There was a warning "warning :gdb failed to set .." when i had debuged a project with qtcreator.
Posted
Updated 24-Jan-11 1:42am
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900