[commit/obvious] Fix call to get_raw_print_options on mt-tdep.c (was: Re: [patch] Rename "prettyprint" to "prettyformat")

Sergio Durigan Junior sergiodj@redhat.com
Wed Jul 10 03:18:00 GMT 2013


On Tuesday, July 09 2013, Doug Evans wrote:

> Committed.

Hi Doug,

Your patch did not update mt-tdep.c, which was causing a compilation
error for me.  I committed the following patch as obvious.

      http://sourceware.org/ml/gdb-cvs/2013-07/msg00055.html

-- 
Sergio

2013-07-10  Sergio Durigan Junior  <sergiodj@redhat.com>

	* mt-tdep.c (mt_registers_info): Call
	get_no_prettyformat_print_options instead of
	get_raw_print_options (regression by last patch from Doug
	Evans).

diff --git a/gdb/mt-tdep.c b/gdb/mt-tdep.c
index a863cee..22e1cbc 100644
--- a/gdb/mt-tdep.c
+++ b/gdb/mt-tdep.c
@@ -718,7 +718,7 @@ mt_registers_info (struct gdbarch *gdbarch,
 	  print_spaces_filtered (15 - strlen (gdbarch_register_name
 					        (gdbarch, regnum)),
 				 file);
-	  get_raw_print_options (&opts);
+	  get_no_prettyformat_print_options (&opts);
 	  opts.deref_ref = 1;
 	  val_print (register_type (gdbarch, regnum), buf,
 		     0, 0, file, 0, NULL,



More information about the Gdb-patches mailing list