aboutsummaryrefslogtreecommitdiff
path: root/gdb/target-delegates.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2023-07-27 13:32:38 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2023-07-27 13:33:03 -0400
commitb871f5ee3374590a4206da3ca14a32c4e68d0355 (patch)
treefb5cfd7cff4945c6e43f259e50f539ce742a0598 /gdb/target-delegates.c
parent2f01a2b9eaa44cdf5d7c9ec926705831f8ce4c16 (diff)
downloadbinutils-b871f5ee3374590a4206da3ca14a32c4e68d0355.zip
binutils-b871f5ee3374590a4206da3ca14a32c4e68d0355.tar.gz
binutils-b871f5ee3374590a4206da3ca14a32c4e68d0355.tar.bz2
gdb: remove trailing empty line in target-delegates.c
In a review [1], I pointed out that applying the patch, git would say: .git/rebase-apply/patch:147: new blank line at EOF. However, since the empty line is in target-delegates.c (a generated file), there's nothing the author can do about it. To avoid this comment coming up again in the future, change make-target-delegates.py to avoid the trailing empty line. Do this by making it output empty lines before each entity, not after. Since this needs removing a newline output in gdbcopyright, adjust ada-unicode.py and gdbarch.py to avoid changes in the files they generate. [1] https://inbox.sourceware.org/gdb-patches/20230427210113.45380-1-jhb@FreeBSD.org/T/#m083598405bef19157f67c9d97846d3dd90dc7d1c Change-Id: Ic4c648f06443b432168cb76603402c918aa6e5d2 Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/target-delegates.c')
-rw-r--r--gdb/target-delegates.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/target-delegates.c b/gdb/target-delegates.c
index 57b66ce..e4e1438 100644
--- a/gdb/target-delegates.c
+++ b/gdb/target-delegates.c
@@ -4535,4 +4535,3 @@ debug_target::store_memtags (CORE_ADDR arg0, size_t arg1, const gdb::byte_vector
gdb_puts ("\n", gdb_stdlog);
return result;
}
-