This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] backtrace in mixed language applications (take 2)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]