Click here to Skip to main content
13,046,679 members (60,973 online)
Rate this:
Please Sign up or sign in to vote.
See more:
tools: QTCreator2.0.1
lib: qt/ace

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.
      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
Updated 24-Jan-11 1:42am

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 24 Jan 2011
Copyright © CodeProject, 1999-2017
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