Hi Nick,

Here is the exact output....

--------------------------

[root@ralph /]# hostname -i
192.168.0.101
[root@ralph /]# vsdredirect 192.168.0.101:80:8080
[root@ralph /]# ps -A | grep vsdredirect
 4043 ?        00:00:00 vsdredirect
[root@ralph /]# gdb vsdredirect 4043
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...

//4043: No such file or directory.
Attaching to program: /usr/sbin/vsdredirect, Pid 4043
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
0x400cab52 in __libc_accept () from /lib/libc.so.6
(gdb) continue
Continuing.

--------------------------

I am using a standard install from the Idaya freeVSD 1.4.10 CD
(including the default skel)

Thanks,

Ben K


----- Original Message -----
From: "Nick Burrett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 15, 2002 11:09 AM
Subject: Re: vsdredirect crashing?


"Ben Kennish" <[EMAIL PROTECTED]> writes:

> I havent used gdb before but life is about new experiences - I fired
up
> "man gdb" and came up with the following...
>
> bevs -r ralph
> vsdredirect (ip):8080:80
> ps -A
> (look for process ID of vsdredirect)
> gdb vsdredirect (processID)
>
> OK then it said that it was reading in C libs and stuff so all seemed
> ok.  When I realised that it didnt seem to be actually working (i
> couldnt do lynx localhost from another terminal), I typed "continue"
and
> now it does.
>
> I guess I just sit here and wait for a crash to produce some output?

Yep. Ideally you need the source code around and make sure it has
read the symbol table of `vsdredirect'.  You've got problems if the
file is stripped since you'll have lost all debugging code.

Nick.
------------------------- The freeVSD Support
List --------------------------
Subscribe:
mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe:
mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
------------------------------------------------------------------------
-----

------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to