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]

[commit] fix comment on c_type_print_modifier


Hi.

fyi, I checked this in.

2010-10-11  Doug Evans  <dje@google.com>

	* c-typeprint.c (c_type_print_modifier): Add note that this prints
	the address space id too.

Index: c-typeprint.c
===================================================================
RCS file: /cvs/src/src/gdb/c-typeprint.c,v
retrieving revision 1.60
diff -u -p -r1.60 c-typeprint.c
--- c-typeprint.c	28 Jun 2010 20:39:28 -0000	1.60
+++ c-typeprint.c	11 Oct 2010 19:23:24 -0000
@@ -321,7 +321,8 @@ c_type_print_varspec_prefix (struct type
     }
 }
 
-/* Print out "const" and "volatile" attributes.
+/* Print out "const" and "volatile" attributes,
+   and address space id if present.
    TYPE is a pointer to the type being printed out.
    STREAM is the output destination.
    NEED_SPACE = 1 indicates an initial white space is needed */


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