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: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Daniel Jacobowitz <drow at false dot org>, gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Thu, 05 Feb 2009 15:01:21 -0200
- 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> <20090203170106.GI3964@adacore.com>
El mar, 03-02-2009 a las 09:01 -0800, Joel Brobecker escribiÃ:
> > > 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...
For the time being I committed the patch with default_get_string, but
with Ada and minimal using c_get_string, I hope you don't mind... We can
change this when someone knowledgeable about m2 and fortran speaks up.
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center