This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: Problem using gdbserver
- From: Niu Liang-yong-A16450 <A16450 at motorola dot com>
- To: Balarama Krishna <balaram at samsung dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 29 Aug 2003 16:22:07 +0800
- Subject: RE: Problem using gdbserver
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å8æ28æ 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.