aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-10-11 19:24:52 +0000
committerDoug Evans <dje@google.com>2010-10-11 19:24:52 +0000
commit64b00020144068cbfbfcd921227073366b759654 (patch)
tree533516af0c91bde8a4697030ef46db365b3c1851 /gdb
parent44592cc4efed9c61d7ce5dec95e84fd982fdbeab (diff)
downloadfsf-binutils-gdb-64b00020144068cbfbfcd921227073366b759654.zip
fsf-binutils-gdb-64b00020144068cbfbfcd921227073366b759654.tar.gz
fsf-binutils-gdb-64b00020144068cbfbfcd921227073366b759654.tar.bz2
* c-typeprint.c (c_type_print_modifier): Add note that this prints
the address space id too.
Diffstat (limited to 'gdb')
-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 */