This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] backtrace in mixed language applications (take 2)
- From: Daniel Jacobowitz <drow at false dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Jerome Guitton <guitton at adacore dot com>, gdb-patches at sources dot redhat dot com
- Date: Tue, 29 Jan 2008 13:00:25 -0500
- Subject: Re: [RFA] backtrace in mixed language applications (take 2)
- References: <20070810100313.GA29799@adacore.com> <20080109204712.GJ21281@adacore.com>
On Wed, Jan 09, 2008 at 12:47:12PM -0800, Joel Brobecker wrote:
> @@ -366,7 +366,8 @@ print_frame_args (struct symbol *func, s
> if (val)
> {
> common_val_print (val, stb->stream, 0, 0, 2,
> - Val_no_prettyprint);
> + Val_no_prettyprint,
> + language_def (SYMBOL_LANGUAGE (sym)));
> ui_out_field_stream (uiout, "value", stb);
> }
> else
The patch looks sane to me, except for this, which ignores "set
language" - compare to the code in select_frame. Do you think we
ought to honor it here if it's been set?
--
Daniel Jacobowitz
CodeSourcery