Click here to Skip to main content
11,502,559 members (63,972 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: QT
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.
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 23-Jan-11 22:31pm
Edited 24-Jan-11 1:42am
(no name)81.2K
v3

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



Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 24 Jan 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100