Re: gdb doesn't work well with qtcreator

2012-08-15 Thread Luca Pizzamiglio
Hi HU,
I tested QtCreator on a 8-STABLE i386 machine and a 9-STABLE amd64 machine.
In both cases I'm not able to reproduce the error

Regards,
Luca

On 08/14/12 02:29, HU Dong wrote:
 waiting for your furthur reply.
 
 B.R.
 HU Dong
 On Monday, August 13, 2012, Luca Pizzamiglio 
 l.pizzamig...@bally-wulff.de mailto:l.pizzamig...@bally-wulff.de wrote:
   Hi HU,
  
   I tried QtCreator 2.5.0 (Based on Qt 4.8.2 - 32 bit) on my 8-STABLE 
 i386 system.
  
   gdb works good (only one worning about inappropriate ioctl for 
 terminal device), but it works as expected.
  
   If I've time, I could try on a 9-STABLE system.
  
   Regards,
   Luca
  
   On 08/13/12 10:23, HU Dong wrote:
  
   On Mon, Aug 13, 2012 at 4:09 PM, Luca Pizzamiglio
   l.pizzamig...@bally-wulff.de mailto:l.pizzamig...@bally-wulff.de 
 mailto:l.pizzamig...@bally-wulff.de 
 mailto:l.pizzamig...@bally-wulff.de wrote:
  
   Hi.
   Could you provide a simple repro-case? Is your application a
   multi-thread one?
  
   I'm using gdb 7.4.1_4 with KDevelop without problem, but my
   applications are not Qt based...
  
   Regards,
   Luca
  
  
   On 08/09/12 14:02, HU Dong wrote:
  
   On Thu, Aug 9, 2012 at 7:55 PM, Konstantin Tokarev
   annu...@yandex.ru mailto:annu...@yandex.ru 
 mailto:annu...@yandex.ru mailto:annu...@yandex.ru wrote:
  
  
  
   09.08.2012, 15:50, HU Dong itechb...@gmail.com 
 mailto:itechb...@gmail.com
   mailto:itechb...@gmail.com mailto:itechb...@gmail.com:
  
   Hi,all!
 I just installed devel/qtcreator from port.
   Everything seemed to
   work fine except the debugger. At first I set it to
   /usr/bin/gdb, it
   simply crashed when I started debugging, with a dialog
   reporting The
   gdb process crashed. Then I installed devel/gdb and set
   the debugger
   to /usr/local/bin/gdb, qtcreator reported that
   Application process
   could not be stopped:The program is not being run. and
   Cannot
   continue debugged process:The program is not being run.
 I've spent much time searching on the internet,
   but found nothing
   helpful. Did anyone run into the same problem?
  
 Env: FreeBSD  9.0-RELEASE-p3 FreeBSD
   9.0-RELEASE-p3 #0: Tue Jun 12
   01:47:53 UTC 2012
   
 root@i386-builder.daemonology.__net:/usr/obj/usr/src/sys/__GENERIC
 i386
  
  
   Which version og gdb are you using? Qt Creator officially
   requires gdb = 7.2,
   and may have issues with earlier versions.
  
   Maybe it's worthwhile to ask on 
 qt-crea...@qt-project.org mailto:qt-crea...@qt-project.org
   mailto:qt-crea...@qt-project.org 
 mailto:qt-crea...@qt-project.org too.
  
   --
   Regards,
   Konstantin
  
  
   I've tested both gdb 6.1.1 and 7.4.1_4, but with no luck.
  
   I suspect that this problem is kind of freebsd-specific, cause I
   didn't find similar problems reported on the internet.
  
   HU Dong
   _
   freebsd-ports@freebsd.org mailto:freebsd-ports@freebsd.org 
 mailto:freebsd-ports@freebsd.org mailto:freebsd-ports@freebsd.org
   mailing list
   http://lists.freebsd.org/__mailman/listinfo/freebsd-ports
   http://lists.freebsd.org/mailman/listinfo/freebsd-ports
   To unsubscribe, send any mail to
   freebsd-ports-unsubscribe@__freebsd.org http://freebsd.org
   mailto:freebsd-ports-unsubscr...@freebsd.org 
 mailto:freebsd-ports-unsubscr...@freebsd.org
  
  
  
   It's not application-related. I tried hello,world! and the problem
   still existed. The problem happened in Qt Creator, not kdevelop. Anyway,
   thank you!
  
   B.R.
   HU Dong
  
  
 
 -- 
 祝好!  Best Regards,
 胡东  HU Dong
 清华大学电子系 Dept of EE, Tsinghua Univ
 137 5115 5701 +86 137 5115 5701
 

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: gdb doesn't work well with qtcreator

2012-08-15 Thread HU Dong
On Wed, Aug 15, 2012 at 3:17 PM, Luca Pizzamiglio 
l.pizzamig...@bally-wulff.de wrote:

 Hi HU,
 I tested QtCreator on a 8-STABLE i386 machine and a 9-STABLE amd64 machine.
 In both cases I'm not able to reproduce the error

 Regards,
 Luca

 On 08/14/12 02:29, HU Dong wrote:
  waiting for your furthur reply.
 
  B.R.
  HU Dong
  On Monday, August 13, 2012, Luca Pizzamiglio
  l.pizzamig...@bally-wulff.de mailto:l.pizzamig...@bally-wulff.de
 wrote:
Hi HU,
   
I tried QtCreator 2.5.0 (Based on Qt 4.8.2 - 32 bit) on my 8-STABLE
  i386 system.
   
gdb works good (only one worning about inappropriate ioctl for
  terminal device), but it works as expected.
   
If I've time, I could try on a 9-STABLE system.
   
Regards,
Luca
   
On 08/13/12 10:23, HU Dong wrote:
   
On Mon, Aug 13, 2012 at 4:09 PM, Luca Pizzamiglio
l.pizzamig...@bally-wulff.de mailto:l.pizzamig...@bally-wulff.de
  mailto:l.pizzamig...@bally-wulff.de
  mailto:l.pizzamig...@bally-wulff.de wrote:
   
Hi.
Could you provide a simple repro-case? Is your application a
multi-thread one?
   
I'm using gdb 7.4.1_4 with KDevelop without problem, but my
applications are not Qt based...
   
Regards,
Luca
   
   
On 08/09/12 14:02, HU Dong wrote:
   
On Thu, Aug 9, 2012 at 7:55 PM, Konstantin Tokarev
annu...@yandex.ru mailto:annu...@yandex.ru
  mailto:annu...@yandex.ru mailto:annu...@yandex.ru wrote:
   
   
   
09.08.2012, 15:50, HU Dong itechb...@gmail.com
  mailto:itechb...@gmail.com
mailto:itechb...@gmail.com mailto:itechb...@gmail.com
 :
   
Hi,all!
  I just installed devel/qtcreator from port.
Everything seemed to
work fine except the debugger. At first I set it to
/usr/bin/gdb, it
simply crashed when I started debugging, with a
 dialog
reporting The
gdb process crashed. Then I installed devel/gdb and
 set
the debugger
to /usr/local/bin/gdb, qtcreator reported that
Application process
could not be stopped:The program is not being run.
 and
Cannot
continue debugged process:The program is not being
 run.
  I've spent much time searching on the internet,
but found nothing
helpful. Did anyone run into the same problem?
   
  Env: FreeBSD  9.0-RELEASE-p3 FreeBSD
9.0-RELEASE-p3 #0: Tue Jun 12
01:47:53 UTC 2012
   
  root@i386-builder.daemonology.__net:/usr/obj/usr/src/sys/__GENERIC
  i386
   
   
Which version og gdb are you using? Qt Creator officially
requires gdb = 7.2,
and may have issues with earlier versions.
   
Maybe it's worthwhile to ask on
  qt-crea...@qt-project.org mailto:qt-crea...@qt-project.org
mailto:qt-crea...@qt-project.org
  mailto:qt-crea...@qt-project.org too.
   
--
Regards,
Konstantin
   
   
I've tested both gdb 6.1.1 and 7.4.1_4, but with no luck.
   
I suspect that this problem is kind of freebsd-specific,
 cause I
didn't find similar problems reported on the internet.
   
HU Dong
_
freebsd-ports@freebsd.org mailto:freebsd-ports@freebsd.org
  mailto:freebsd-ports@freebsd.org mailto:freebsd-ports@freebsd.org
mailing list
http://lists.freebsd.org/__mailman/listinfo/freebsd-ports
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to
freebsd-ports-unsubscribe@__freebsd.org http://freebsd.org
 
mailto:freebsd-ports-unsubscr...@freebsd.org
  mailto:freebsd-ports-unsubscr...@freebsd.org
   
   
   
It's not application-related. I tried hello,world! and the problem
still existed. The problem happened in Qt Creator, not kdevelop.
 Anyway,
thank you!
   
B.R.
HU Dong
   
   
 
  --



It's kinda weird. I deleted 2.5.0, and tried installing 2.0 with pkg_add -r
command. The debugger worked.

I've submitted debugger log to qt creator bugreport site, hoping they could
find some clues. Thank you very much!

However I've switched to kdevelop and it's OK. Thank you!

B.R.
HU Dong
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: gdb doesn't work well with qtcreator

2012-08-15 Thread HU Dong
On Wed, Aug 15, 2012 at 4:10 PM, HU Dong itechb...@gmail.com wrote:

 On Wed, Aug 15, 2012 at 3:17 PM, Luca Pizzamiglio 
 l.pizzamig...@bally-wulff.de wrote:

 Hi HU,
 I tested QtCreator on a 8-STABLE i386 machine and a 9-STABLE amd64
 machine.
 In both cases I'm not able to reproduce the error

 Regards,
 Luca

 On 08/14/12 02:29, HU Dong wrote:
  waiting for your furthur reply.
 
  B.R.
  HU Dong
  On Monday, August 13, 2012, Luca Pizzamiglio
  l.pizzamig...@bally-wulff.de mailto:l.pizzamig...@bally-wulff.de
 wrote:
Hi HU,
   
I tried QtCreator 2.5.0 (Based on Qt 4.8.2 - 32 bit) on my 8-STABLE
  i386 system.
   
gdb works good (only one worning about inappropriate ioctl for
  terminal device), but it works as expected.
   
If I've time, I could try on a 9-STABLE system.
   
Regards,
Luca
   
On 08/13/12 10:23, HU Dong wrote:
   
On Mon, Aug 13, 2012 at 4:09 PM, Luca Pizzamiglio
l.pizzamig...@bally-wulff.de mailto:l.pizzamig...@bally-wulff.de
  mailto:l.pizzamig...@bally-wulff.de
  mailto:l.pizzamig...@bally-wulff.de wrote:
   
Hi.
Could you provide a simple repro-case? Is your application a
multi-thread one?
   
I'm using gdb 7.4.1_4 with KDevelop without problem, but my
applications are not Qt based...
   
Regards,
Luca
   
   
On 08/09/12 14:02, HU Dong wrote:
   
On Thu, Aug 9, 2012 at 7:55 PM, Konstantin Tokarev
annu...@yandex.ru mailto:annu...@yandex.ru
  mailto:annu...@yandex.ru mailto:annu...@yandex.ru wrote:
   
   
   
09.08.2012, 15:50, HU Dong itechb...@gmail.com
  mailto:itechb...@gmail.com
mailto:itechb...@gmail.com mailto:itechb...@gmail.com
 :
   
Hi,all!
  I just installed devel/qtcreator from port.
Everything seemed to
work fine except the debugger. At first I set it to
/usr/bin/gdb, it
simply crashed when I started debugging, with a
 dialog
reporting The
gdb process crashed. Then I installed devel/gdb
 and set
the debugger
to /usr/local/bin/gdb, qtcreator reported that
Application process
could not be stopped:The program is not being run.
 and
Cannot
continue debugged process:The program is not being
 run.
  I've spent much time searching on the
 internet,
but found nothing
helpful. Did anyone run into the same problem?
   
  Env: FreeBSD  9.0-RELEASE-p3 FreeBSD
9.0-RELEASE-p3 #0: Tue Jun 12
01:47:53 UTC 2012
   
  root@i386-builder.daemonology.__net:/usr/obj/usr/src/sys/__GENERIC
  i386
   
   
Which version og gdb are you using? Qt Creator
 officially
requires gdb = 7.2,
and may have issues with earlier versions.
   
Maybe it's worthwhile to ask on
  qt-crea...@qt-project.org mailto:qt-crea...@qt-project.org
mailto:qt-crea...@qt-project.org
  mailto:qt-crea...@qt-project.org too.
   
--
Regards,
Konstantin
   
   
I've tested both gdb 6.1.1 and 7.4.1_4, but with no luck.
   
I suspect that this problem is kind of freebsd-specific,
 cause I
didn't find similar problems reported on the internet.
   
HU Dong
_
freebsd-ports@freebsd.org mailto:freebsd-ports@freebsd.org
  mailto:freebsd-ports@freebsd.org mailto:freebsd-ports@freebsd.org
mailing list
http://lists.freebsd.org/__mailman/listinfo/freebsd-ports
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to
freebsd-ports-unsubscribe@__freebsd.org 
 http://freebsd.org
mailto:freebsd-ports-unsubscr...@freebsd.org
  mailto:freebsd-ports-unsubscr...@freebsd.org
   
   
   
It's not application-related. I tried hello,world! and the problem
still existed. The problem happened in Qt Creator, not kdevelop.
 Anyway,
thank you!
   
   
   
 
  --



 It's kinda weird. I deleted 2.5.0, and tried installing 2.0 with pkg_add
 -r command. The debugger worked.

 I've submitted debugger log to qt creator bugreport site, hoping they
 could find some clues. Thank you very much!

 However I've switched to kdevelop and it's OK. Thank you!



I found that when I chose to create a CMake-Build project instead of
QMake-Build one, the debugger worked... I don't know what's the difference,
but after being confused for sevral days, it finally works...

-- 
B.R.
HU Dong
___

Re: gdb doesn't work well with qtcreator

2012-08-13 Thread Luca Pizzamiglio

Hi.
Could you provide a simple repro-case? Is your application a 
multi-thread one?


I'm using gdb 7.4.1_4 with KDevelop without problem, but my applications 
are not Qt based...


Regards,
Luca

On 08/09/12 14:02, HU Dong wrote:

On Thu, Aug 9, 2012 at 7:55 PM, Konstantin Tokarev annu...@yandex.ru wrote:



09.08.2012, 15:50, HU Dong itechb...@gmail.com:

Hi,all!
 I just installed devel/qtcreator from port. Everything seemed to
work fine except the debugger. At first I set it to /usr/bin/gdb, it
simply crashed when I started debugging, with a dialog reporting The
gdb process crashed. Then I installed devel/gdb and set the debugger
to /usr/local/bin/gdb, qtcreator reported that Application process
could not be stopped:The program is not being run. and Cannot
continue debugged process:The program is not being run.
 I've spent much time searching on the internet, but found nothing
helpful. Did anyone run into the same problem?

 Env: FreeBSD  9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12
01:47:53 UTC 2012
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386


Which version og gdb are you using? Qt Creator officially requires gdb = 7.2,
and may have issues with earlier versions.

Maybe it's worthwhile to ask on qt-crea...@qt-project.org too.

--
Regards,
Konstantin


I've tested both gdb 6.1.1 and 7.4.1_4, but with no luck.

I suspect that this problem is kind of freebsd-specific, cause I
didn't find similar problems reported on the internet.

HU Dong
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: gdb doesn't work well with qtcreator

2012-08-13 Thread HU Dong
On Mon, Aug 13, 2012 at 4:09 PM, Luca Pizzamiglio 
l.pizzamig...@bally-wulff.de wrote:

 Hi.
 Could you provide a simple repro-case? Is your application a multi-thread
 one?

 I'm using gdb 7.4.1_4 with KDevelop without problem, but my applications
 are not Qt based...

 Regards,
 Luca


 On 08/09/12 14:02, HU Dong wrote:

 On Thu, Aug 9, 2012 at 7:55 PM, Konstantin Tokarev annu...@yandex.ru
 wrote:



 09.08.2012, 15:50, HU Dong itechb...@gmail.com:

 Hi,all!
  I just installed devel/qtcreator from port. Everything seemed to
 work fine except the debugger. At first I set it to /usr/bin/gdb, it
 simply crashed when I started debugging, with a dialog reporting The
 gdb process crashed. Then I installed devel/gdb and set the debugger
 to /usr/local/bin/gdb, qtcreator reported that Application process
 could not be stopped:The program is not being run. and Cannot
 continue debugged process:The program is not being run.
  I've spent much time searching on the internet, but found nothing
 helpful. Did anyone run into the same problem?

  Env: FreeBSD  9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12
 01:47:53 UTC 2012
 root@i386-builder.daemonology.**net:/usr/obj/usr/src/sys/**GENERIC
  i386


 Which version og gdb are you using? Qt Creator officially requires gdb
 = 7.2,
 and may have issues with earlier versions.

 Maybe it's worthwhile to ask on qt-crea...@qt-project.org too.

 --
 Regards,
 Konstantin


 I've tested both gdb 6.1.1 and 7.4.1_4, but with no luck.

 I suspect that this problem is kind of freebsd-specific, cause I
 didn't find similar problems reported on the internet.

 HU Dong
 __**_
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-portshttp://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to 
 freebsd-ports-unsubscribe@**freebsd.orgfreebsd-ports-unsubscr...@freebsd.org
 



It's not application-related. I tried hello,world! and the problem still
existed. The problem happened in Qt Creator, not kdevelop. Anyway, thank
you!

B.R.
HU Dong
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: gdb doesn't work well with qtcreator

2012-08-13 Thread Luca Pizzamiglio

Hi HU,

I tried QtCreator 2.5.0 (Based on Qt 4.8.2 - 32 bit) on my 8-STABLE i386 
system.


gdb works good (only one worning about inappropriate ioctl for terminal 
device), but it works as expected.


If I've time, I could try on a 9-STABLE system.

Regards,
Luca

On 08/13/12 10:23, HU Dong wrote:

On Mon, Aug 13, 2012 at 4:09 PM, Luca Pizzamiglio
l.pizzamig...@bally-wulff.de mailto:l.pizzamig...@bally-wulff.de wrote:

Hi.
Could you provide a simple repro-case? Is your application a
multi-thread one?

I'm using gdb 7.4.1_4 with KDevelop without problem, but my
applications are not Qt based...

Regards,
Luca


On 08/09/12 14:02, HU Dong wrote:

On Thu, Aug 9, 2012 at 7:55 PM, Konstantin Tokarev
annu...@yandex.ru mailto:annu...@yandex.ru wrote:



09.08.2012, 15:50, HU Dong itechb...@gmail.com
mailto:itechb...@gmail.com:

Hi,all!
  I just installed devel/qtcreator from port.
Everything seemed to
work fine except the debugger. At first I set it to
/usr/bin/gdb, it
simply crashed when I started debugging, with a dialog
reporting The
gdb process crashed. Then I installed devel/gdb and set
the debugger
to /usr/local/bin/gdb, qtcreator reported that
Application process
could not be stopped:The program is not being run. and
Cannot
continue debugged process:The program is not being run.
  I've spent much time searching on the internet,
but found nothing
helpful. Did anyone run into the same problem?

  Env: FreeBSD  9.0-RELEASE-p3 FreeBSD
9.0-RELEASE-p3 #0: Tue Jun 12
01:47:53 UTC 2012

root@i386-builder.daemonology.__net:/usr/obj/usr/src/sys/__GENERIC
  i386


Which version og gdb are you using? Qt Creator officially
requires gdb = 7.2,
and may have issues with earlier versions.

Maybe it's worthwhile to ask on qt-crea...@qt-project.org
mailto:qt-crea...@qt-project.org too.

--
Regards,
Konstantin


I've tested both gdb 6.1.1 and 7.4.1_4, but with no luck.

I suspect that this problem is kind of freebsd-specific, cause I
didn't find similar problems reported on the internet.

HU Dong
_
freebsd-ports@freebsd.org mailto:freebsd-ports@freebsd.org
mailing list
http://lists.freebsd.org/__mailman/listinfo/freebsd-ports
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to
freebsd-ports-unsubscribe@__freebsd.org
mailto:freebsd-ports-unsubscr...@freebsd.org



It's not application-related. I tried hello,world! and the problem
still existed. The problem happened in Qt Creator, not kdevelop. Anyway,
thank you!

B.R.
HU Dong


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


gdb doesn't work well with qtcreator

2012-08-13 Thread HU Dong
waiting for your furthur reply.

B.R.
HU Dong
On Monday, August 13, 2012, Luca Pizzamiglio l.pizzamig...@bally-wulff.de
wrote:
 Hi HU,

 I tried QtCreator 2.5.0 (Based on Qt 4.8.2 - 32 bit) on my 8-STABLE i386
system.

 gdb works good (only one worning about inappropriate ioctl for terminal
device), but it works as expected.

 If I've time, I could try on a 9-STABLE system.

 Regards,
 Luca

 On 08/13/12 10:23, HU Dong wrote:

 On Mon, Aug 13, 2012 at 4:09 PM, Luca Pizzamiglio
 l.pizzamig...@bally-wulff.de mailto:l.pizzamig...@bally-wulff.de
wrote:

 Hi.
 Could you provide a simple repro-case? Is your application a
 multi-thread one?

 I'm using gdb 7.4.1_4 with KDevelop without problem, but my
 applications are not Qt based...

 Regards,
 Luca


 On 08/09/12 14:02, HU Dong wrote:

 On Thu, Aug 9, 2012 at 7:55 PM, Konstantin Tokarev
 annu...@yandex.ru mailto:annu...@yandex.ru wrote:



 09.08.2012, 15:50, HU Dong itechb...@gmail.com
 mailto:itechb...@gmail.com:

 Hi,all!
   I just installed devel/qtcreator from port.
 Everything seemed to
 work fine except the debugger. At first I set it to
 /usr/bin/gdb, it
 simply crashed when I started debugging, with a dialog
 reporting The
 gdb process crashed. Then I installed devel/gdb and set
 the debugger
 to /usr/local/bin/gdb, qtcreator reported that
 Application process
 could not be stopped:The program is not being run. and
 Cannot
 continue debugged process:The program is not being run.
   I've spent much time searching on the internet,
 but found nothing
 helpful. Did anyone run into the same problem?

   Env: FreeBSD  9.0-RELEASE-p3 FreeBSD
 9.0-RELEASE-p3 #0: Tue Jun 12
 01:47:53 UTC 2012
 root@i386-builder.daemonology.
__net:/usr/obj/usr/src/sys/__GENERIC
   i386


 Which version og gdb are you using? Qt Creator officially
 requires gdb = 7.2,
 and may have issues with earlier versions.

 Maybe it's worthwhile to ask on qt-crea...@qt-project.org
 mailto:qt-crea...@qt-project.org too.

 --
 Regards,
 Konstantin


 I've tested both gdb 6.1.1 and 7.4.1_4, but with no luck.

 I suspect that this problem is kind of freebsd-specific, cause I
 didn't find similar problems reported on the internet.

 HU Dong
 _
 freebsd-ports@freebsd.org mailto:freebsd-ports@freebsd.org
 mailing list
 http://lists.freebsd.org/__mailman/listinfo/freebsd-ports
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to
 freebsd-ports-unsubscribe@__freebsd.org
 mailto:freebsd-ports-unsubscr...@freebsd.org



 It's not application-related. I tried hello,world! and the problem
 still existed. The problem happened in Qt Creator, not kdevelop. Anyway,
 thank you!

 B.R.
 HU Dong



-- 
祝好!  Best Regards,
胡东  HU Dong
清华大学电子系 Dept of EE, Tsinghua Univ
137 5115 5701 +86 137 5115 5701
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


gdb doesn't work well with qtcreator

2012-08-09 Thread HU Dong
Hi,all!
I just installed devel/qtcreator from port. Everything seemed to
work fine except the debugger. At first I set it to /usr/bin/gdb, it
simply crashed when I started debugging, with a dialog reporting The
gdb process crashed. Then I installed devel/gdb and set the debugger
to /usr/local/bin/gdb, qtcreator reported that Application process
could not be stopped:The program is not being run. and Cannot
continue debugged process:The program is not being run.
I've spent much time searching on the internet, but found nothing
helpful. Did anyone run into the same problem?

Env: FreeBSD  9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12
01:47:53 UTC 2012
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

B.R.
HU Dong
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: gdb doesn't work well with qtcreator

2012-08-09 Thread Konstantin Tokarev


09.08.2012, 15:50, HU Dong itechb...@gmail.com:
 Hi,all!
 I just installed devel/qtcreator from port. Everything seemed to
 work fine except the debugger. At first I set it to /usr/bin/gdb, it
 simply crashed when I started debugging, with a dialog reporting The
 gdb process crashed. Then I installed devel/gdb and set the debugger
 to /usr/local/bin/gdb, qtcreator reported that Application process
 could not be stopped:The program is not being run. and Cannot
 continue debugged process:The program is not being run.
 I've spent much time searching on the internet, but found nothing
 helpful. Did anyone run into the same problem?

 Env: FreeBSD  9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12
 01:47:53 UTC 2012
 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

Which version og gdb are you using? Qt Creator officially requires gdb = 7.2,
and may have issues with earlier versions.

Maybe it's worthwhile to ask on qt-crea...@qt-project.org too.

-- 
Regards,
Konstantin
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: gdb doesn't work well with qtcreator

2012-08-09 Thread HU Dong
On Thu, Aug 9, 2012 at 7:55 PM, Konstantin Tokarev annu...@yandex.ru wrote:


 09.08.2012, 15:50, HU Dong itechb...@gmail.com:
 Hi,all!
 I just installed devel/qtcreator from port. Everything seemed to
 work fine except the debugger. At first I set it to /usr/bin/gdb, it
 simply crashed when I started debugging, with a dialog reporting The
 gdb process crashed. Then I installed devel/gdb and set the debugger
 to /usr/local/bin/gdb, qtcreator reported that Application process
 could not be stopped:The program is not being run. and Cannot
 continue debugged process:The program is not being run.
 I've spent much time searching on the internet, but found nothing
 helpful. Did anyone run into the same problem?

 Env: FreeBSD  9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12
 01:47:53 UTC 2012
 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

 Which version og gdb are you using? Qt Creator officially requires gdb = 7.2,
 and may have issues with earlier versions.

 Maybe it's worthwhile to ask on qt-crea...@qt-project.org too.

 --
 Regards,
 Konstantin

I've tested both gdb 6.1.1 and 7.4.1_4, but with no luck.

I suspect that this problem is kind of freebsd-specific, cause I
didn't find similar problems reported on the internet.

HU Dong
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org