This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: FIXME for CB_SYS_argvlen and CB_SYS_argv
- From: "Jie Zhang" <jzhang918 at gmail dot com>
- To: gdb at sources dot redhat dot com
- Date: Fri, 10 Nov 2006 10:55:36 +0800
- Subject: Re: FIXME for CB_SYS_argvlen and CB_SYS_argv
- References: <6f48278f0610262354l7ab20f62gc6eb9ccb8071a213@mail.gmail.com>
Hi,
This is follow up of myself email.
On 10/27/06, Jie Zhang <jzhang918@gmail.com> wrote:
Does anyone know why there is a FIXME in
sim/common/syscall.c:cb_syscall () for CB_SYS_argvlen and CB_SYS_argv
and the source code for these two cases are commented out?
Seems no one remembers this. It reasonable, since It was there since
the sourceware CVS was created and never touched.
Since I cannot make SYS_argvlen and SYS_argv work, I use the same
method used by sh port: using SYS_argc, SYS_argnlen and SYS_argn.
These three syscall numbers has been added into the common syscall.h
in libgloss, hope other ports may want to reuse it[1]. I can fix that
FIXME by replacing these new set syscalls when I can contribute to
GDB.
Jie
[1] http://sourceware.org/ml/newlib/2006/msg00883.html