From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16641 invoked by alias); 29 Aug 2003 08:22:19 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 16411 invoked from network); 29 Aug 2003 08:22:17 -0000 Received: from unknown (HELO motgate6.mot.com) (144.189.100.106) by sources.redhat.com with SMTP; 29 Aug 2003 08:22:17 -0000 Received: from az33exr04.mot.com (az33exr04.mot.com [10.64.251.234]) by motgate6.mot.com (Motorola/Motgate6) with ESMTP id h7T8MHtZ009974 for ; Fri, 29 Aug 2003 01:22:17 -0700 (MST) Received: from zch07exm05.corp.mot.com (ZCH07EXM05.corp.mot.com [200.3.1.211]) by az33exr04.mot.com (Motorola/az33exr04) with ESMTP id h7T8MDtI031628 for ; Fri, 29 Aug 2003 03:22:14 -0500 Received: by ZCH07EXM05.corp.mot.com with Internet Mail Service (5.5.2657.2) id ; Fri, 29 Aug 2003 16:22:13 +0800 Message-ID: <89DEFCC5DB33D411A27F00508BCF8A820FE1D7E3@ZCH07EXM05.corp.mot.com> From: Niu Liang-yong-A16450 To: Balarama Krishna Cc: gdb@sources.redhat.com Subject: RE: Problem using gdbserver Date: Fri, 29 Aug 2003 08:22:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2003-08/txt/msg00322.txt.bz2 gdb@sources.redhat.com I can debug is on Linux pc, the issue ocurres on solaris BR -----Original Message----- From: Balarama Krishna [mailto:balaram@samsung.com] Sent: 2003=E5=B9=B48=E6=9C=8828=E6=97=A5 19:04 To: Niu Liang-yong-A16450 Subject: Re: Problem using gdbserver > When I want to debug a file, but things happen: > > GNU gdb 5.0 > Copyright 2000 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 "sparc-sun-solaris2.7". > (gdb) file filegen > Reading symbols from filegen...done. > (gdb) run > Starting program: /home/a16450/filegen/filegen > chdir: Too many arguments. > > Program exited with code 01. > You can't do that without a process to debug. > > The problem may be with the application, as "chdir" failed, not with the gdb. Regards, Balaram.