eclipse-cdt debugging doesn't work on FreeBSD 7.0 amd64?

2008-11-10 Thread Mungyung Ryu
Hello BSD guys,

My system information is like this.
- FreeBSD 7.0-RELEASE amd64
- gcc 4.2.1
- gdb 6.1.1
- eclipse-cdt-3.1.2_1

I used ports tree to compile and install eclipse-cdt-3.1.2_1.
Running eclipse and compiling my C++ project are fine.
But, when I try to debug, an error dialog box pops up and says 'Target
selection failed'.
The verbose console mode of the debugger option prints below.

46-gdb-set confirm off
46^done
(gdb)
47-gdb-set width 0
47^done
(gdb)
48-gdb-set height 0
48^done
(gdb)
49-interpreter-exec console echo
49^done
(gdb)
50-gdb-show prompt
50^done,value=(gdb) 
(gdb)
51-gdb-set auto-solib-add on
51^done
(gdb)
52-gdb-set stop-on-solib-events 0
52^done
(gdb)
53-gdb-set stop-on-solib-events 1
53^done
(gdb)
54-gdb-set remotebaud 115200
54^done
(gdb)
55-target-select remote /dev/ttyS0
/dev/ttyS0: No such file or directory.\n
/dev/ttyS0: No such file or directory.
55^error,msg=/dev/ttyS0: No such file or directory.
(gdb)
56-gdb-exit
56^exit

The default debugger option of the eclipse is below.

Debugger: gdbserver Debugger
GDB debugger: gdb
GDB command file: .gdbinit
GDB command set: Standard
Protocol: mi
Connection
  Type: Serial
  Device: /dev/ttyS0
  Speed: 115200

As the error message says, there is no file or directory at /dev/ttyS0 in my
system.

I've also tried another debugger connection option like below.
Connection
  Type: TCP
  Host name or IP address: localhost
  Port number: 1

It prints message like this.

68-gdb-set confirm off
68^done
(gdb)
69-gdb-set width 0
69^done
(gdb)
70-gdb-set height 0
70^done
(gdb)
71-interpreter-exec console echo
71^done
(gdb)
72-gdb-show prompt
72^done,value=(gdb) 
(gdb)
73-gdb-set auto-solib-add on
73^done
(gdb)
74-gdb-set stop-on-solib-events 0
74^done
(gdb)
75-gdb-set stop-on-solib-events 1
75^done
(gdb)
76-target-select remote localhost:1
localhost:1: Connection refused.\n
localhost:1: Connection refused.
76^error,msg=localhost:1: Connection refused.
(gdb)
77-gdb-exit
77^exit

I'm using PF for a firewall and opened TCP connection for port 1 and
I even disabled PF, but it has same error.

There is anybody who've had and solved this kind of problem of eclipse?
I'll really appreciate your solution.
Going back to the command line gdb is quite miserable.
I really wanna use eclipse for C++ debugging.

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Questions drivers for VGA and NIC

2008-10-01 Thread Mungyung Ryu
Hi BSD folks!

I installed FreeBSD 7 Release - amd64.
I have ATI Radeon HD2600 pro VGA card but ATI is sucks for supporting driver
for Linux or FreeBSD!
So, I'm considering to replace the dam ATI card with NVIDIA Geforce.
I don't wanna play 3D games on FreeBSD, so just cheap Geforce card would be
enough,
but it should support 1920x1200 resolution.
I wonder if what Geforce model is supported by the FreeBSD 7R - amd64.
Anybody can recommend?

Second, I want to use zero-copy facility of FreeBSD.
As far as I know, the hardware (NIC) support (Scatter-Gather DMA) is needed
for that as well as using sendfile() api.
Among the NIC products which has SGDMA function in the market,
which one is the most well supported by FreeBSD 7R - amd64?
I got a technical support from Intel, and they said there is no Intel NIC
which supports SGDMA.
That is so surprising.. isn't it?

The driver issue is killing me on FreeBSD.

Thanks.

-- 
**
Mungyung Ryu
Ph.D. Student.
College of Computing
Georgia Institute of Technology, Atlanta
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freeBSD 7.0 supports ACE Proactor?

2008-09-17 Thread Mungyung Ryu
 freebsd-questions@freebsd.orgHi freeBSD users,

I've developed couple of server applications on Windows platform with ACE
Proactor
and it worked quite well. But, because of the expensive Windows Server,
I wanna move to Linux or freeBSD.

Recently, I'm considering to build a server application on freeBSD but the
important issue
is whether the freeBSD supports ACE Proactor framework.
I googled about it and Linux doesn't support it well because Linux doesn't
support AIO (asynchronous I/O) on socket.
Moreover, most of the ACE professionals recommend to use Reactor framework
on Linux.

My questions is..

1. freeBSD supports AIO on socket?

2. I can use ACE Proactor on freeBSD 7.0 without any problem? Is it stable?

-- MK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]