aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2019-09-24 23:01:14 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2019-10-31 23:02:59 +0000
commite170989694aecb458d1bbb6a1db6bb712ced707d (patch)
treeca057c9a46b9a5d6162fd900a64d27783381f7da /gdb/ChangeLog
parent165f8965d770708f1dee623e308374ac108e6578 (diff)
downloadgdb-e170989694aecb458d1bbb6a1db6bb712ced707d.zip
gdb-e170989694aecb458d1bbb6a1db6bb712ced707d.tar.gz
gdb-e170989694aecb458d1bbb6a1db6bb712ced707d.tar.bz2
gdb: Don't print a newline in language la_print_typedef methods
When calling the language la_print_typedef method, don't include a newline at the end, instead print the newline from the users of la_print_typedef. This change will be useful in a later commit when the output from la_print_typedef will be placed into an MI output field, in which case the trailing newline is not required. There should be no user visible changes after this commit. gdb/ChangeLog: * ada-typeprint.c (ada_print_typedef): Don't print newline at the end. * c-typeprint.c (c_print_typedef): Likewise. * f-typeprint.c (f_print_typedef): Likewise. * m2-typeprint.c (m2_print_typedef): Likewise. * p-typeprint.c (pascal_print_typedef): Likewise. * rust-lang.c (rust_print_typedef): Likewise. * symtab.c (print_symbol_info): Print a newline after calling typedef_print. Change-Id: I6e697ea1ec0eadaa31aefaea959b2055188d680d
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2bd6726..381147b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,17 @@
2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
+ * ada-typeprint.c (ada_print_typedef): Don't print newline at the
+ end.
+ * c-typeprint.c (c_print_typedef): Likewise.
+ * f-typeprint.c (f_print_typedef): Likewise.
+ * m2-typeprint.c (m2_print_typedef): Likewise.
+ * p-typeprint.c (pascal_print_typedef): Likewise.
+ * rust-lang.c (rust_print_typedef): Likewise.
+ * symtab.c (print_symbol_info): Print a newline after calling
+ typedef_print.
+
+2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
+
* symtab.c (info_module_cmdlist): New variable.
(info_module_command): New function.
(search_module_symbols): New function.