aboutsummaryrefslogtreecommitdiff
path: root/contrib/ChangeLog
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2020-09-25 10:24:29 -0400
committerSimon Marchi <simon.marchi@efficios.com>2020-09-25 10:24:44 -0400
commitee1b8b9477b7e49ecc0bf40be0f60726815eb4ca (patch)
treeb70fc7ab14b6ca5f996e7541f268270d80ce456f /contrib/ChangeLog
parente851246a2a04b814632ab7b205faa84655c2acdc (diff)
downloadgdb-ee1b8b9477b7e49ecc0bf40be0f60726815eb4ca.zip
gdb-ee1b8b9477b7e49ecc0bf40be0f60726815eb4ca.tar.gz
gdb-ee1b8b9477b7e49ecc0bf40be0f60726815eb4ca.tar.bz2
Import mklog.py from gcc repo
I've been using the mklog utility from the gcc repo for a while to generate skeleton of ChangeLog entries. It recently got a rewrite as a Python script. Unfortunately, to find the repository root, and eventually to find in which ChangeLog file each entry goes, the new script assumes it is located in the same git repository that it generates ChangeLog entries for. This means that if you make a change in the gcc source tree and run mklog.py from that same source tree, it works. But if you make changes in your ~/src/binutils-gdb tree and run ~/src/gcc/contrib/mklog.py, it won't work. IIRC, the old script required that you ran it with the project's root directory as the CWD. The simplest way to fix this is to import the script in binutils-gdb and use it from there. It's also nice because we can use it without having a clone of the gcc repo. I also thought of adding a "--root" switch to the script to override the project's base directory. However: 1) It is more work. 2) If the script still lives in the gcc repo, it's less convenient than having it in binutils-gdb. This patch imports contrib/mklog.py from the gcc repo, revision c560591408440f441b8b327f5b41f9328d20b67b. contrib/ChangeLog: * mklog.py: New file, imported from gcc. Note: the ChangeLog entry above was generated using `git show | ./mklog.py`! Change-Id: I955592ce6397681986dc82a09593c32d8b8de54f
Diffstat (limited to 'contrib/ChangeLog')
-rw-r--r--contrib/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index b2867e6..87526af 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2020-09-25 Simon Marchi <simon.marchi@polymtl.ca>
+
+ * mklog.py: New file, imported from gcc.
+
2020-05-15 Andrew Burgess <andrew.burgess@embecosm.com>
* dg-extract-results.py: Update from gcc repo.