This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Add la_getstr member to language_defn
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- Cc: Daniel Jacobowitz <drow at false dot org>, gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Tue, 3 Feb 2009 09:01:06 -0800
- Subject: Re: [RFA] Add la_getstr member to language_defn
- References: <1227417278.28256.183.camel@localhost.localdomain> <20081123161013.GA15069@caradoc.them.org> <1227490821.8533.25.camel@hotblack.bauerhaus> <20081124022858.GA19331@caradoc.them.org> <1227551659.28256.225.camel@localhost.localdomain> <20081124202146.GA1991@caradoc.them.org> <1227564549.28256.248.camel@localhost.localdomain> <1230949603.8380.143.camel@localhost.localdomain> <20090203002336.GB3964@adacore.com> <1233666130.14735.11.camel@localhost.localdomain>
> > I was wondering if it wouldn't be more useful to use the c_get_string
> > function as the default rather than the default_get_string stub.
> > What do you guys think?
>
> I don't have an opinion here, since I know little about how other
> languages represent strings...
I think it's worth a try, but probably Tom and others might want
to comment on that. From my end, for Ada, c_get_string is a good
intermediate solution until the full solution is implemented.
For the "minimal language", I think that this routine would be
the best we could do. Not sure about m2 and Fortran, but maybe
this can equally help...
--
Joel