aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/c-typeprint.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5f3b259..a9ebb8f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix attaching to re-prelinked executables on ppc64.
diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c
index 926ae2f..c7cadc0 100644
--- a/gdb/c-typeprint.c
+++ b/gdb/c-typeprint.c
@@ -321,7 +321,8 @@ c_type_print_varspec_prefix (struct type *type, struct ui_file *stream,
}
}
-/* 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 */