]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Have stamp-init depend on config.status
authorTom Tromey <tromey@adacore.com>
Fri, 30 Oct 2020 16:27:12 +0000 (10:27 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 30 Oct 2020 18:31:29 +0000 (12:31 -0600)
commitb1ec273502937ca128df0ebf3e5961731fdc7272
treef6962011d769ab7b0cc10525e7dc4ee195d90d49
parentb8fd9b80eedff9339b9374c6dcef633be88c5b9e
Have stamp-init depend on config.status

I recently wrote a patch to modify configure.tgt.  However, I did this
incorrectly the first time, and had to go back and add another file.
After building, I was surprised that my changes did not seem to work.
I tracked this down to the fact that init.c had not been rebuilt after
my changes -- because the files I added to the build were already
older than the existing init.c.

This patch changes the gdb Makefile so that init.c will be rebuilt if
config.status changes.  This should cover various scenarios that cause
a re-configure, like editing configure.tgt.

2020-10-30  Tom Tromey  <tromey@adacore.com>

* Makefile.in (stamp-init): Depend on config.status.
gdb/ChangeLog
gdb/Makefile.in