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: Tom Tromey <tromey at redhat 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: Wed, 04 Feb 2009 12:19:39 -0700
- 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> <m3d4e0ptoq.fsf@fleche.redhat.com> <1233665501.14735.7.camel@localhost.localdomain> <m3r62fjtzv.fsf@fleche.redhat.com> <1233751023.14735.40.camel@localhost.localdomain>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:
Thiago> You're worried about complexity in the code for c_get_string, or its
Thiago> callers? The former is not a problem because we get this behaviour for
Thiago> free from read_string, which is also called by val_print_string. This
Thiago> function uses a partial result.
FYI -- we talked about this on irc, and Thiago is going to change
la_getstr to return void and throw an exception on a short read.
Tom