public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH htdocs] links: stop assuming/requiring top-level "gdb" name
@ 2023-01-12  5:01 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2023-01-12  5:01 UTC (permalink / raw)
  To: gdb-patches

The current code requires the htdocs directory be named "gdb" (or
"htdocs").  If it isn't, then index.sh silently fails and doesn't
actually update any of the files specified.  Further, if the dir
isn't named "gdb", then trying to view the site locally fails as
none of the links work.

Rework the prefix construction code to stop processing when it
sees the index.sh script.  This makes the dir portable, and makes
the generated pages/links simpler.
---
 bugs/index.html          |  74 ++++++++--------
 committee/index.html     |  68 +++++++--------
 contribute/index.html    |  66 +++++++-------
 current/index.html       |  66 +++++++-------
 documentation/index.html |  68 +++++++--------
 download/index.html      |  68 +++++++--------
 index.html               |  78 ++++++++---------
 index.sh                 |  11 +--
 irc/index.html           |  66 +++++++-------
 links/index.html         |  66 +++++++-------
 mailing-lists/index.html |  70 +++++++--------
 mascot/index.html        |  74 ++++++++--------
 news/index.html          | 184 +++++++++++++++++++--------------------
 papers/index.html        |  66 +++++++-------
 schedule/index.html      |  68 +++++++--------
 song/index.html          |  66 +++++++-------
 talks/index.html         |  66 +++++++-------
 testing/index.html       |  66 +++++++-------
 18 files changed, 642 insertions(+), 649 deletions(-)

diff --git a/bugs/index.html b/bugs/index.html
index a9689269d4a6..cf1c1fb1e5d6 100644
--- a/bugs/index.html
+++ b/bugs/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="../images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../../gdb/css/site.css" />
+<link rel="stylesheet" href="../css/site.css" />
 
 <title>Bugs in GDB</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../../gdb/mascot/"> <img border="0"
-src="../../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="../mascot/"> <img border="0"
+src="../images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,7 +46,7 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../../gdb/index.sh -->
+<!-- body, update above using ../index.sh -->
 
 Please report bugs!<p>
 
@@ -77,9 +77,9 @@ the database to see if the problem has already been reported or even
 fixed.<p>
 
 It is also very helpful if you can try reproducing the problem with a
-current GDB snapshot (see <a href="../../gdb/current/">current</a>).
+current GDB snapshot (see <a href="../current/">current</a>).
 Often bugs in the most recent release (see <a
-href="../../gdb/download">download</a>) have already been fixed in the latest
+href="../download">download</a>) have already been fixed in the latest
 development sources.  Regardless, be sure to fill in the
 <b>Release</b> field.<p>
 
@@ -159,30 +159,30 @@ href="https://www.gnu.org/prep/service.html">GNU Service Directory</a>
 
 If you're interested in participating in GDB's development (helping to
 fix bugs, write documentation, develop new code), see the <a
-href="../../gdb/mailing-lists/">mailing list</a> and <a
-href="../../gdb/contribute/">contribute</a> web pages.<p>
+href="../mailing-lists/">mailing list</a> and <a
+href="../contribute/">contribute</a> web pages.<p>
 
 We welcome feedback and contributions.<p>
 
-<!-- /body, update below using ../../gdb/index.sh -->
+<!-- /body, update below using ../index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -196,7 +196,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../../gdb/">the GDB
+<p>This page is maintained by <a href="../">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
diff --git a/committee/index.html b/committee/index.html
index 3a13400ac0cf..daf0f72a3d64 100644
--- a/committee/index.html
+++ b/committee/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="../images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../../gdb/css/site.css" />
+<link rel="stylesheet" href="../css/site.css" />
 
 <title>The Official FSF-appointed GDB Maintainers</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../../gdb/mascot/"> <img border="0"
-src="../../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="../mascot/"> <img border="0"
+src="../images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,7 +46,7 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../../gdb/index.sh -->
+<!-- body, update above using ../index.sh -->
 
 <p>
 These are the maintainers who have been appointed by the FSF and take
@@ -65,7 +65,7 @@ Release Manager</a>.
 <p>
 The current official FSF-appointed GDB Maintainers are listed below,
 in alphabetical order.  The best place to reach them is the gdb <a
-href="../../gdb/mailing-lists/">mailing list</a>.
+href="../mailing-lists/">mailing list</a>.
 </p>
 
 <ul>
@@ -80,25 +80,25 @@ Their maintainership status is individual and not through their
 affiliation, and they act on behalf of the GNU project.
 </small></p>
 
-<!-- /body, update below using ../../gdb/index.sh -->
+<!-- /body, update below using ../index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -112,7 +112,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../../gdb/">the GDB
+<p>This page is maintained by <a href="../">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
diff --git a/contribute/index.html b/contribute/index.html
index 4cd70b0dce4d..fb6e390b4148 100644
--- a/contribute/index.html
+++ b/contribute/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="../images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../../gdb/css/site.css" />
+<link rel="stylesheet" href="../css/site.css" />
 
 <title>Contributing to GDB</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../../gdb/mascot/"> <img border="0"
-src="../../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="../mascot/"> <img border="0"
+src="../images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,7 +46,7 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../../gdb/index.sh -->
+<!-- body, update above using ../index.sh -->
 
 GDB is a collaborative project that relies on contributions.  You can
 help with this!  You may wish to fix bugs, improve testing, port GDB to a
@@ -75,25 +75,25 @@ contributors need to be aware of - for more details please read the
 <a href="https://sourceware.org/gdb/wiki/ContributionChecklist">
 Contribution Checklist</a>.
 
-<!-- /body, update below using ../../gdb/index.sh -->
+<!-- /body, update below using ../index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -107,7 +107,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../../gdb/">the GDB
+<p>This page is maintained by <a href="../">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
diff --git a/current/index.html b/current/index.html
index 38a5dc85789f..edec84e6a8d1 100644
--- a/current/index.html
+++ b/current/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="../images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../../gdb/css/site.css" />
+<link rel="stylesheet" href="../css/site.css" />
 
 <title>Current GDB</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../../gdb/mascot/"> <img border="0"
-src="../../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="../mascot/"> <img border="0"
+src="../images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,7 +46,7 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../../gdb/index.sh -->
+<!-- body, update above using ../index.sh -->
 
 <h3>Source code</h3>
 
@@ -175,25 +175,25 @@ cvs -z9 -d :pserver:anoncvs@sourceware.org:/cvs/gdbadmin co .
 
 Write access to this repository is restricted.<p>
 
-<!-- /body, update below using ../../gdb/index.sh -->
+<!-- /body, update below using ../index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -207,7 +207,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../../gdb/">the GDB
+<p>This page is maintained by <a href="../">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
diff --git a/documentation/index.html b/documentation/index.html
index c9c2ac074cd6..e49831be6c18 100644
--- a/documentation/index.html
+++ b/documentation/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="../images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../../gdb/css/site.css" />
+<link rel="stylesheet" href="../css/site.css" />
 
 <title>GDB Documentation</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../../gdb/mascot/"> <img border="0"
-src="../../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="../mascot/"> <img border="0"
+src="../images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,7 +46,7 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../../gdb/index.sh -->
+<!-- body, update above using ../index.sh -->
 
 <h3>Printed Manuals</h3>
 
@@ -57,7 +57,7 @@ available.
 
 <h3>Online GDB manuals</h3>
 
-Documentation generated from the <a href="../../gdb/current/">current</a>
+Documentation generated from the <a href="../current/">current</a>
 sources are available online:
 
 <dl>
@@ -186,25 +186,25 @@ V850 development</a></li>
 
 </ul>
 
-<!-- /body, update below using ../../gdb/index.sh -->
+<!-- /body, update below using ../index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -218,7 +218,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../../gdb/">the GDB
+<p>This page is maintained by <a href="../">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
diff --git a/download/index.html b/download/index.html
index 4cf914b6199b..aef60cc80666 100644
--- a/download/index.html
+++ b/download/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="../images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../../gdb/css/site.css" />
+<link rel="stylesheet" href="../css/site.css" />
 
 <title>Download GDB</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../../gdb/mascot/"> <img border="0"
-src="../../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="../mascot/"> <img border="0"
+src="../images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,7 +46,7 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../../gdb/index.sh -->
+<!-- body, update above using ../index.sh -->
 
 <h3>The most recent release (<a href="ANNOUNCEMENT">GDB 12.1</a>):</h3>
 
@@ -66,7 +66,7 @@ files with the keyring file from:
 </pre>
 
 Sources to the current development version are also available using
-FTP, git and WWW.  See <a href="../../gdb/current">current</a>.
+FTP, git and WWW.  See <a href="../current">current</a>.
 
 <h3>Ancient versions</h3>
 
@@ -82,25 +82,25 @@ hardware--don't try to use these!
 
 If anyone has an even older release, we're very interested.
 
-<!-- /body, update below using ../../gdb/index.sh -->
+<!-- /body, update below using ../index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -114,7 +114,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../../gdb/">the GDB
+<p>This page is maintained by <a href="../">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
diff --git a/index.html b/index.html
index 2b6470804df4..4f0ed753b661 100644
--- a/index.html
+++ b/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../gdb/css/site.css" />
+<link rel="stylesheet" href="css/site.css" />
 
 <title>GDB: The GNU Project Debugger</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../gdb/mascot/"> <img border="0"
-src="../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="mascot/"> <img border="0"
+src="images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../gdb/bugs/">bugs</a>]
-[<a href="../gdb/committee/">GDB Maintainers</a>]
-[<a href="../gdb/contribute/">contributing</a>]
-[<a href="../gdb/current/">current git</a>]
-[<a href="../gdb/documentation/">documentation</a>]
-[<a href="../gdb/download/">download</a>]
-[<a href="../gdb/">home</a>]
-[<a href="../gdb/irc/">irc</a>]
-[<a href="../gdb/links/">links</a>]
-[<a href="../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../gdb/news/">news</a>]
-[<a href="../gdb/schedule/">schedule</a>]
-[<a href="../gdb/song/">song</a>]
+[<a href="bugs/">bugs</a>]
+[<a href="committee/">GDB Maintainers</a>]
+[<a href="contribute/">contributing</a>]
+[<a href="current/">current git</a>]
+[<a href="documentation/">documentation</a>]
+[<a href="download/">download</a>]
+[<a href="">home</a>]
+[<a href="irc/">irc</a>]
+[<a href="links/">links</a>]
+[<a href="mailing-lists/">mailing lists</a>]
+[<a href="news/">news</a>]
+[<a href="schedule/">schedule</a>]
+[<a href="song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,7 +46,7 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../gdb/index.sh -->
+<!-- body, update above using index.sh -->
 
 <h3>What is GDB?</h3>
 
@@ -89,10 +89,10 @@ GDB supports the following languages (in alphabetical order):
 
 <h3>GDB version 12.1</h3>
 
-Version <a href="../gdb/download/ANNOUNCEMENT">12.1</a> of GDB, the GNU
+Version <a href="../download/ANNOUNCEMENT">12.1</a> of GDB, the GNU
 Debugger, is now available for <a
-href="../gdb/download/">download</a>.  See the <a
-href="../gdb/download/ANNOUNCEMENT">ANNOUNCEMENT</a> for details
+href="../download/">download</a>.  See the <a
+href="../download/ANNOUNCEMENT">ANNOUNCEMENT</a> for details
 including changes in this release.<p>
 
 An errata list (<a
@@ -130,7 +130,7 @@ git clone --branch gdb-13-branch https://sourceware.org/git/binutils-gdb.git
 <dt>May 1st, 2022: <b>GDB 12.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 12.1, is available for <a
-href="../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This version of GDB includes the following changes and enhancements:
 <ul>
@@ -206,7 +206,7 @@ See the <a href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob
 <dt>January 16th, 2022: <b>GDB 11.2 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 11.2, is available for <a
-href="../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 11.1, fixing the following
 issues:
@@ -238,27 +238,27 @@ Late breaking information, such as recently added features, can be
 found in the <a
 href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=gdb/NEWS;hb=HEAD"
 >NEWS</a> file in the gdb source tree.  Old announcements are in the
-news <a href="../gdb/news">archive</a>.
+news <a href="../news">archive</a>.
 
-<!-- /body, update below using ../gdb/index.sh -->
+<!-- /body, update below using index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../gdb/bugs/">bugs</a>]
-[<a href="../gdb/committee/">GDB Maintainers</a>]
-[<a href="../gdb/contribute/">contributing</a>]
-[<a href="../gdb/current/">current git</a>]
-[<a href="../gdb/documentation/">documentation</a>]
-[<a href="../gdb/download/">download</a>]
-[<a href="../gdb/">home</a>]
-[<a href="../gdb/irc/">irc</a>]
-[<a href="../gdb/links/">links</a>]
-[<a href="../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../gdb/news/">news</a>]
-[<a href="../gdb/schedule/">schedule</a>]
-[<a href="../gdb/song/">song</a>]
+[<a href="bugs/">bugs</a>]
+[<a href="committee/">GDB Maintainers</a>]
+[<a href="contribute/">contributing</a>]
+[<a href="current/">current git</a>]
+[<a href="documentation/">documentation</a>]
+[<a href="download/">download</a>]
+[<a href="">home</a>]
+[<a href="irc/">irc</a>]
+[<a href="links/">links</a>]
+[<a href="mailing-lists/">mailing lists</a>]
+[<a href="news/">news</a>]
+[<a href="schedule/">schedule</a>]
+[<a href="song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -272,7 +272,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../gdb/">the GDB
+<p>This page is maintained by <a href="">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
diff --git a/index.sh b/index.sh
index 66c38ffa83d3..139f310f7ab4 100755
--- a/index.sh
+++ b/index.sh
@@ -38,20 +38,13 @@ title=`sed -n -e 's,^.*<title>\(.*\)</title>.*$,\1, p' < index.in`
 date=`date +%Y-%m-%d`
 
 # Create a relative prefix
-prefix="../"
+prefix=""
 dir=`/bin/pwd`
-while true
+while [ ! -e "${dir}/index.sh" ]
 do
-    case ${dir} in
-	*/htdocs ) b=gdb ; break ;;
-	*/gdb ) b=gdb ; break ;;
-	*/insight ) b=insight ; break ;;
-	/ ) exit 1 ;;
-    esac
     prefix="../${prefix}"
     dir=`dirname ${dir}`
 done
-prefix="${prefix}${b}/"
 
 contents ()
 {
diff --git a/irc/index.html b/irc/index.html
index fa481e6f9267..7691862f7951 100644
--- a/irc/index.html
+++ b/irc/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="../images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../../gdb/css/site.css" />
+<link rel="stylesheet" href="../css/site.css" />
 
 <title>The GDB IRC Channel</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../../gdb/mascot/"> <img border="0"
-src="../../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="../mascot/"> <img border="0"
+src="../images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,31 +46,31 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../../gdb/index.sh -->
+<!-- body, update above using ../index.sh -->
 
 There is an IRC channel for discussing GDB use and development.
 Join <b>#gdb</b> on <b>irc.libera.chat</b>, port 6697 (TLS)
 or port 6667 (plaintext).
 
-<!-- /body, update below using ../../gdb/index.sh -->
+<!-- /body, update below using ../index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -84,7 +84,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../../gdb/">the GDB
+<p>This page is maintained by <a href="../">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
diff --git a/links/index.html b/links/index.html
index f04abd3295d5..1074fc9904b5 100644
--- a/links/index.html
+++ b/links/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="../images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../../gdb/css/site.css" />
+<link rel="stylesheet" href="../css/site.css" />
 
 <title>Sites and links related to GDB</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../../gdb/mascot/"> <img border="0"
-src="../../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="../mascot/"> <img border="0"
+src="../images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,7 +46,7 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../../gdb/index.sh -->
+<!-- body, update above using ../index.sh -->
 
 <h3>
 Graphical Interfaces and Integrated Development Environments using GDB
@@ -155,25 +155,25 @@ Debugging with GDB.</a></li>
 
 </ul>
 
-<!-- /body, update below using ../../gdb/index.sh -->
+<!-- /body, update below using ../index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -187,7 +187,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../../gdb/">the GDB
+<p>This page is maintained by <a href="../">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
diff --git a/mailing-lists/index.html b/mailing-lists/index.html
index df6eb69c33e9..86f4618811ca 100644
--- a/mailing-lists/index.html
+++ b/mailing-lists/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="../images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../../gdb/css/site.css" />
+<link rel="stylesheet" href="../css/site.css" />
 
 <title>GDB Mailing Lists</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../../gdb/mascot/"> <img border="0"
-src="../../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="../mascot/"> <img border="0"
+src="../images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,7 +46,7 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../../gdb/index.sh -->
+<!-- body, update above using ../index.sh -->
 
 There are several mailing lists for discussions about GDB
 development, GDB announcements, GDB bug reports, and GDB patches.
@@ -68,7 +68,7 @@ GDB-related subject not covered by another list is appropriate here;
 in practice, most of the discussions are about ideas for future
 changes.  Patches should be sent to the <b><tt>gdb-patches</tt></b>
 mailing-list (see below).  Bugs should be reported
-using the <a href="../../gdb/bugs">Bug Database</a>.</dd>
+using the <a href="../bugs">Bug Database</a>.</dd>
 
 <dt><a href="https://sourceware.org/mailman/listinfo/gdb-patches/"
 name="gdb-patches"> <b>gdb-patches</b></a>
@@ -81,7 +81,7 @@ discussion should go through this list.</dd>
 <b>gdb-prs</b></a>
 (<a href="https://sourceware.org/pipermail/gdb-prs">archives</a>)
 </dt> <dd> A read-only mailing list for bug reports.
-See the <a href="../../gdb/bugs/">Bug Database</a> for information on how to
+See the <a href="../bugs/">Bug Database</a> for information on how to
 submit a bug.</dd>
 
 <!-- what is gdb-gnats for?  -->
@@ -122,25 +122,25 @@ name="bug-gdb"> <b>bug-gdb</b></a>) is the public GDB news group.</dd>
 
 </dl>
 
-<!-- /body, update below using ../../gdb/index.sh -->
+<!-- /body, update below using ../index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -154,7 +154,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../../gdb/">the GDB
+<p>This page is maintained by <a href="../">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
diff --git a/mascot/index.html b/mascot/index.html
index 84b30341d271..1e91fac12fca 100644
--- a/mascot/index.html
+++ b/mascot/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="../images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../../gdb/css/site.css" />
+<link rel="stylesheet" href="../css/site.css" />
 
 <title>GDB's Mascot?</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../../gdb/mascot/"> <img border="0"
-src="../../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="../mascot/"> <img border="0"
+src="../images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,7 +46,7 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../../gdb/index.sh -->
+<!-- body, update above using ../index.sh -->
 
 Jamie Guinan <a
 href="https://sourceware.org/ml/gdb/2001-07/msg00248.html"
@@ -62,14 +62,14 @@ https://www.whozoo.org/Intro2000/rickahlg/RA_ARCHERFISH.htm</a>
 <hr>
 
 <p> Jamie Guinan drew the
-original <a href="../../gdb/images/archer.jpg">Archer Fish Logo</a>.
+original <a href="../images/archer.jpg">Archer Fish Logo</a>.
 
 <p> Carlos O'Donell drew the <a
-href="../../gdb/images/archer-fish.ico">Archer Fish Icon</a>.
+href="../images/archer-fish.ico">Archer Fish Icon</a>.
 
-<p> Andreas Arnez created a <a href="../../gdb/images/archer.svg">vector
+<p> Andreas Arnez created a <a href="../images/archer.svg">vector
 graphics version</a> of Jamie Guinan's Archer Fish Logo.
-An <a href="../../gdb/images/archer-inkscape.svg">Inkscape document</a>
+An <a href="../images/archer-inkscape.svg">Inkscape document</a>
 for easier editing and adaptation is available as well.
 
 <p> Jamie Guinan's original archer fish logo and the vector versions by
@@ -77,25 +77,25 @@ Andreas Arnez are licensed
 under <a href="https://creativecommons.org/licenses/by-sa/3.0/us/">CC
 BY-SA 3.0 US</a>.
 
-<!-- /body, update below using ../../gdb/index.sh -->
+<!-- /body, update below using ../index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -109,7 +109,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../../gdb/">the GDB
+<p>This page is maintained by <a href="../">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
diff --git a/news/index.html b/news/index.html
index 60baffb5e340..478f7656c5e8 100644
--- a/news/index.html
+++ b/news/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="../images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../../gdb/css/site.css" />
+<link rel="stylesheet" href="../css/site.css" />
 
 <title>GDB News</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../../gdb/mascot/"> <img border="0"
-src="../../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="../mascot/"> <img border="0"
+src="../images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,7 +46,7 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../../gdb/index.sh -->
+<!-- body, update above using ../index.sh -->
 
 <dl>
 
@@ -75,7 +75,7 @@ git clone --branch gdb-13-branch https://sourceware.org/git/binutils-gdb.git
 <dt>May 1st, 2022: <b>GDB 12.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 12.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This version of GDB includes the following changes and enhancements:
 <ul>
@@ -161,7 +161,7 @@ git clone --branch gdb-12-branch https://sourceware.org/git/binutils-gdb.git
 <dt>January 16th, 2022: <b>GDB 11.2 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 11.2, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 11.1, fixing the following
 issues:
@@ -183,7 +183,7 @@ See the <a href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob
 <dt>September 13th, 2021: <b>GDB 11.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 11.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This version of GDB includes the following changes and enhancements:
 <ul>
@@ -300,7 +300,7 @@ git clone --branch gdb-11-branch https://sourceware.org/git/binutils-gdb.git
 <dt>Apr 25th, 2021: <b>GDB 10.2 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 10.2, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 10.1, fixing the following
 issues:
@@ -337,7 +337,7 @@ issues:
 <dt>October 24th, 2020: <b>GDB 10.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 10.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This version of GDB includes the following changes and enhancements:
 <ul>
@@ -398,7 +398,7 @@ git clone --branch gdb-10-branch https://sourceware.org/git/binutils-gdb.git
 <dt>May 23rd, 2020: <b>GDB 9.2 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 9.2, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 9.1, fixing the following
 issues:
@@ -416,7 +416,7 @@ issues:
 <dt>February 8th, 2020: <b>GDB 9.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 9.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This version of GDB includes the following changes and enhancements:
 <ul>
@@ -512,7 +512,7 @@ git clone --branch gdb-9-branch https://sourceware.org/git/binutils-gdb.git
 <dt>September 20th, 2019: <b>GDB 8.3.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 8.3.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 8.3, fixing the following
 issues:
@@ -542,7 +542,7 @@ enhancements:
 <dt>May 11th, 2019: <b>GDB 8.3 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 8.3, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This version of GDB includes the following changes and enhancements:
 <ul>
@@ -608,7 +608,7 @@ git clone --branch gdb-8.3-branch ssh://sourceware.org/git/binutils-gdb.git
 <dt>December 23rd, 2018: <b>GDB 8.2.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 8.2.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 8.2, fixing the following
 issues:
@@ -632,7 +632,7 @@ issues:
 <dt>September 5th, 2018: <b>GDB 8.2 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 8.2, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This version of GDB includes the following changes and enhancements:
 <ul>
@@ -673,7 +673,7 @@ See the <a href="https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob
 <dt>July 31st, 2018: <b>GDB 8.1.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 8.1.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 8.1, fixing the following
 issues:
@@ -704,7 +704,7 @@ git clone --branch gdb-8.2-branch ssh://sourceware.org/git/binutils-gdb.git
 <dt>January 31st, 2018: <b>GDB 8.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 8.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -774,7 +774,7 @@ See you all at FOSDEM in Brussels!</p>
 <dt>September 7th, 2017: <b>GDB 8.0.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 8.0.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 8.0, fixing the following
 issues:
@@ -796,7 +796,7 @@ issues:
 <dt>June 4th, 2017: <b>GDB 8.0 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 8.0, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Building this version of GDB now requires the following tools:
 <ul>
@@ -870,7 +870,7 @@ git clone --branch gdb-8.0-branch ssh://sourceware.org/git/binutils-gdb.git
 <dt>Jan 21st, 2017: <b>GDB 7.12.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.12.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 7.12, fixing the following
 issues:
@@ -895,7 +895,7 @@ issues:
 <dt>October 7th, 2016: <b>GDB 7.12 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.12, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -941,7 +941,7 @@ git clone --branch gdb-7.12-branch ssh://sourceware.org/git/binutils-gdb.git
 <dt>May 31st, 2016: <b>GDB 7.11.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.11.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 7.11, fixing the following
 issues:
@@ -963,7 +963,7 @@ issues:
 <dt>February 24th, 2016: <b>GDB 7.11 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.11, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1012,7 +1012,7 @@ git clone --branch gdb-7.11-branch ssh://sourceware.org/git/binutils-gdb.git
 <dt>December 5th, 2015: <b>GDB 7.10.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.10.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 7.10, fixing the following
 issues:
@@ -1031,7 +1031,7 @@ issues:
 <dt>August 28th, 2015: <b>GDB 7.10 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.10, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1074,7 +1074,7 @@ git clone --branch gdb-7.10-branch ssh://sourceware.org/git/binutils-gdb.git
 <dt>May 13th, 2015: <b>GDB 7.9.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.9.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 7.9, fixing the following
 issues:
@@ -1093,7 +1093,7 @@ issues:
 <dt>February 20th, 2015: <b>GDB 7.9 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.9, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1112,7 +1112,7 @@ release includes.
 <dt>January 15th, 2015: <b>GDB 7.8.2 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.8.2, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 7.8.1, fixing the following
 issues:
@@ -1139,7 +1139,7 @@ git clone --branch gdb-7.9-branch ssh://sourceware.org/git/binutils-gdb.git
 <dt>October 29th, 2014: <b>GDB 7.8.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.8.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 7.8, fixing the following
 issues:
@@ -1168,7 +1168,7 @@ issues:
 <dt>July 29th, 2014: <b>GDB 7.8 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.8, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1201,7 +1201,7 @@ git clone --branch gdb-7.8-branch ssh://sourceware.org/git/binutils-gdb.git
 <dt>May 5th, 2014: <b>GDB 7.7.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.7.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 7.7, fixing the following
 issues:
@@ -1223,7 +1223,7 @@ issues:
 <dt>February 6th, 2014: <b>GDB 7.7 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.7, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1262,7 +1262,7 @@ git clone --branch gdb-7.7-branch ssh://sourceware.org/git/binutils-gdb.git
 <dt>December 8th, 2013: <b>GDB 7.6.2 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.6.2, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 7.6.1, fixing the following
 issues:
@@ -1276,7 +1276,7 @@ issues:
 <dt>August 30th, 2013: <b>GDB 7.6.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.6.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 7.6, fixing the following
 issues:
@@ -1301,7 +1301,7 @@ issues:
 <dt>April 26th, 2013: <b>GDB 7.6 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.6, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1337,7 +1337,7 @@ cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_7_6-branch gdb
 <dt>November 29th, 2012: <b>GDB 7.5.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.5.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 7.5, fixing the following
 issues:
@@ -1362,7 +1362,7 @@ issues:
 <dt>August 17th, 2012: <b>GDB 7.5 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.5, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1396,7 +1396,7 @@ cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_7_5-branch gdb
 <dt>April 26th, 2012: <b>GDB 7.4.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.4.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 7.4, fixing the following
 issues:
@@ -1416,7 +1416,7 @@ issues:
 <dt>January 24th, 2012: <b>GDB 7.4 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.4, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1472,7 +1472,7 @@ has been corrected, and the FSF issued the following announcements:
 <dt>September 4, 2011: <b>GDB 7.3.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.3.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release over GDB 7.3 mostly bringing:
 <ul>
@@ -1485,7 +1485,7 @@ This is a minor corrective release over GDB 7.3 mostly bringing:
 <dt>July 26, 2011: <b>GDB 7.3 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.3, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1515,7 +1515,7 @@ cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_7_3-branch gdb
 <dt>September 02, 2010: <b>GDB 7.2 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.2, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1545,7 +1545,7 @@ cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_7_2-branch gdb
 <dt>March 18, 2010: <b>GDB 7.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1577,7 +1577,7 @@ cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_7_1-branch gdb
 <dt>December 22, 2009: <b>GDB 7.0.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.0.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 This is a minor corrective release. The following fixes have been made
 over GDB 7.0:
@@ -1602,7 +1602,7 @@ over GDB 7.0:
 <dt>October 06, 2009: <b>GDB 7.0 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 7.0, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1646,7 +1646,7 @@ in helping to extend and develop
 <dt>March 27, 2008: <b>GDB 6.8 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 6.8, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1676,9 +1676,9 @@ cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_6_8-branch gdb
 <dt>October 29, 2007: <b>GDB 6.7.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 6.7.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
-See the <a href="../../gdb/download/ANNOUNCEMENT">ANNOUNCEMENT</a> file
+See the <a href="../download/ANNOUNCEMENT">ANNOUNCEMENT</a> file
 for a more complete and detailed list of what this release includes.
 <p>
 </dd>
@@ -1686,7 +1686,7 @@ for a more complete and detailed list of what this release includes.
 <dt>October 10, 2007: <b>GDB 6.7 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 6.7, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1715,7 +1715,7 @@ cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_6_7-branch gdb
 <dt>December 18, 2006: <b>GDB 6.6 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 6.6, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1750,7 +1750,7 @@ cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_6_6-branch gdb
 <dt>June 20, 2006: <b>GDB 6.5 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 6.5, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1782,7 +1782,7 @@ cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_6_5-branch gdb
 <dt>December 2, 2005: <b>GDB 6.4 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 6.4, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1810,7 +1810,7 @@ cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_6_4-branch gdb
 <dt>November 9, 2004: <b>GDB 6.3 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 6.3, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this release include:
 <ul>
@@ -1845,7 +1845,7 @@ cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_6_3-branch gdb
 <dt>September 7, 2004: <b>GDB 6.2.1 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 6.2.1, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Changes in this update include:
 <ul>
@@ -1872,7 +1872,7 @@ Thanks goes to Mark Kettenis and Joel Brobecker for contributing fixes.
 <dt>July 30, 2004: <b>GDB 6.2 Released!</b></dt>
 <dd>
 <p> The latest version of GDB, version 6.2, is available for <a
-href="../../gdb/download/">download</a>.
+href="../download/">download</a>.
 <p>
 Please note that GDB 6.2 has serious problems on MIPS native.  It will
 be addressed in the next update.
@@ -2042,7 +2042,7 @@ pay to check for a more local site.
 
 <dt>January 24, 2002: <b>GDB 5.1.1 Released!</b></dt>
 <dd>
-<p> GDB version <a href="../../gdb/5.1.1/">5.1.1</a> has been
+<p> GDB version <a href="../5.1.1/">5.1.1</a> has been
 released.<br> Much thanks to all the contributors.
 <p> The GDB 5.1 branch can be checked out using:
 <pre>
@@ -2079,7 +2079,7 @@ $  gdb --args ./my broken program
 
 <dt>November 21, 2001: <b>GDB 5.1 Released!</b></dt>
 <dd>
-<p> GDB version <a href="../../gdb/5.1/">5.1</a> has been
+<p> GDB version <a href="../5.1/">5.1</a> has been
 released.<br> Much thanks to all the contributors.
 <p>
 </dd>
@@ -2138,7 +2138,7 @@ available bandwidth.
 <dd>
 <p> The branch tag is <tt>gdb_5_1-2001-07-29-branch</tt>.<br>
 Snapshots of the branch are available for <a
-href="../../gdb/download">download</a> from the snapshots
+href="../download">download</a> from the snapshots
 directory.<br> Alternativly, the branch can be checked out using the
 CVS command:
 <pre>
@@ -2157,7 +2157,7 @@ hoped that the 5.1 branch will be cut on or around 2001-07-22.
 </dd>
 
 <dt>June 11, 2001: <b><a
-href="../../gdb/papers/multi-arch/real-multi-arch/">Multi-arch strategy white
+href="../papers/multi-arch/real-multi-arch/">Multi-arch strategy white
 paper</a></b></dt>
 <dd>
 <p> A paper discussing the full set of changes necessary to complete
@@ -2252,16 +2252,16 @@ href="https://www.netwinder.org/build/gdb.html">http://www.netwinder.org/build/g
 
 <dt>May 19, 2000: <b>GDB 5.0 Released!</b></dt>
 <dd>
-<p> GDB version <a href="../../gdb/5/">Five</a> has been released.<br>
+<p> GDB version <a href="../5/">Five</a> has been released.<br>
 Much thanks to all the contributors.<br> Late breaking bugs and fixes
-are being added to the <a href="../../gdb/5/errata/">Errata</a> page
+are being added to the <a href="../5/errata/">Errata</a> page
 <p>
 
 <dt>April 10, 2000: <b>GDB 5.0 branch created</b></dt>
 <dd>
 <p> The branch tag is <tt>gdb_5_0-2000-04-10-branch</tt>.<br>
 Snapshots of the branch are available for <a
-href="../../gdb/download">download</a> from the snapshots
+href="../download">download</a> from the snapshots
 directory.<br> Alternativly, the branch can be checked out using the
 CVS command:
 <pre>
@@ -2280,7 +2280,7 @@ file for an up-to-date status report.
 
 <dt>April 10, 1999: <b>GDB 4.18 is released!</b></dt>
 <dd>
-<p> See the <a href="../../gdb/4.18/">GDB 4.18 announcement</a> for
+<p> See the <a href="../4.18/">GDB 4.18 announcement</a> for
 details about 4.18.
 <p>
 </dd>
@@ -2294,25 +2294,25 @@ development for about five years.  Check it out. <p>
 </dd>
 </dl>
 
-<!-- /body, update below using ../../gdb/index.sh -->
+<!-- /body, update below using ../index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -2326,7 +2326,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../../gdb/">the GDB
+<p>This page is maintained by <a href="../">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
diff --git a/papers/index.html b/papers/index.html
index 519baa7cb1ab..ca5375b20871 100644
--- a/papers/index.html
+++ b/papers/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="../images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../../gdb/css/site.css" />
+<link rel="stylesheet" href="../css/site.css" />
 
 <title>Various GDB Papers</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../../gdb/mascot/"> <img border="0"
-src="../../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="../mascot/"> <img border="0"
+src="../images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,7 +46,7 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../../gdb/index.sh -->
+<!-- body, update above using ../index.sh -->
 
 <ul>
 <li> <a href="libgdb">The original libgdb v0.3 paper (deprecated)</a>
@@ -55,25 +55,25 @@ Fish]" /></a>
 <li> <a href="linux">Notes on SSE registers for LINUX</a>
 </ul>
 
-<!-- /body, update below using ../../gdb/index.sh -->
+<!-- /body, update below using ../index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -87,7 +87,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../../gdb/">the GDB
+<p>This page is maintained by <a href="../">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
diff --git a/schedule/index.html b/schedule/index.html
index 1c0f4b780ab1..24f9759d002b 100644
--- a/schedule/index.html
+++ b/schedule/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="../images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../../gdb/css/site.css" />
+<link rel="stylesheet" href="../css/site.css" />
 
 <title>Release schedule for GDB</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../../gdb/mascot/"> <img border="0"
-src="../../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="../mascot/"> <img border="0"
+src="../images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,7 +46,7 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../../gdb/index.sh -->
+<!-- body, update above using ../index.sh -->
 
 <center>
 <table>
@@ -68,7 +68,7 @@ Fish]" /></a>
 </center>
 
 <p> Problems that should be resolved before the next release are
-marked as ``high priority'' in the <a href="../../gdb/bugs/">bug
+marked as ``high priority'' in the <a href="../bugs/">bug
 database</a>.
 
 <p> GDB's schedule works on a slip-for-slip basis.  If, for some
@@ -369,25 +369,25 @@ ambitious</td> </tr>
 
 </table>
 
-<!-- /body, update below using ../../gdb/index.sh -->
+<!-- /body, update below using ../index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -401,7 +401,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../../gdb/">the GDB
+<p>This page is maintained by <a href="../">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
diff --git a/song/index.html b/song/index.html
index 72a4d2b88e00..eca2b5bc306a 100644
--- a/song/index.html
+++ b/song/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="../images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../../gdb/css/site.css" />
+<link rel="stylesheet" href="../css/site.css" />
 
 <title>Sing along with GDB</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../../gdb/mascot/"> <img border="0"
-src="../../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="../mascot/"> <img border="0"
+src="../images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,7 +46,7 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../../gdb/index.sh -->
+<!-- body, update above using ../index.sh -->
 
 <ul>
 
@@ -64,25 +64,25 @@ Fish]" /></a>
 
 Jason
 
-<!-- /body, update below using ../../gdb/index.sh -->
+<!-- /body, update below using ../index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -96,7 +96,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../../gdb/">the GDB
+<p>This page is maintained by <a href="../">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
diff --git a/talks/index.html b/talks/index.html
index b041105b8091..3f506e0f261a 100644
--- a/talks/index.html
+++ b/talks/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="../images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../../gdb/css/site.css" />
+<link rel="stylesheet" href="../css/site.css" />
 
 <title>GDB Talks and Lectures</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../../gdb/mascot/"> <img border="0"
-src="../../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="../mascot/"> <img border="0"
+src="../images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,7 +46,7 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../../gdb/index.sh -->
+<!-- body, update above using ../index.sh -->
 
 Talks about GDB given at professional conferences and such.
 
@@ -56,25 +56,25 @@ The Heisenberg Debugging Technology: a talk on Introspect given at ESC West.
 </a>
 </ul>
 
-<!-- /body, update below using ../../gdb/index.sh -->
+<!-- /body, update below using ../index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -88,7 +88,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../../gdb/">the GDB
+<p>This page is maintained by <a href="../">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
diff --git a/testing/index.html b/testing/index.html
index 3fe8bed84daf..c6d9497a6ffd 100644
--- a/testing/index.html
+++ b/testing/index.html
@@ -6,9 +6,9 @@
 
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
-<link rel="shortcut icon" type="image/x-icon" href="../../gdb/images/archer-fish.ico" />
+<link rel="shortcut icon" type="image/x-icon" href="../images/archer-fish.ico" />
 <meta name="keywords" content="gdb" />
-<link rel="stylesheet" href="../../gdb/css/site.css" />
+<link rel="stylesheet" href="../css/site.css" />
 
 <title>GDB Test Farms</title>
 
@@ -16,27 +16,27 @@
 
 <body>
 
-<a href="../../gdb/mascot/"> <img border="0"
-src="../../gdb/images/archer.svg" align="right" alt="[image of Archer
+<a href="../mascot/"> <img border="0"
+src="../images/archer.svg" align="right" alt="[image of Archer
 Fish]" /></a>
 
 <center><h1>GDB: The GNU Project Debugger</h1></center>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -46,7 +46,7 @@ Fish]" /></a>
 <!-- NB: CURRENT / LATEST refer to the trunk -->
 <!-- NB: MOST RECENT refers to the branch -->
 
-<!-- body, update above using ../../gdb/index.sh -->
+<!-- body, update above using ../index.sh -->
 
 GDB test results for your target can be published.  See:
 
@@ -55,25 +55,25 @@ GDB test results for your target can be published.  See:
 href="https://sourceware.org/cgi-bin/gdb.cgi">http://sourceware.org/cgi-bin/gdb.cgi</a>
 </ul>
 
-<!-- /body, update below using ../../gdb/index.sh -->
+<!-- /body, update below using ../index.sh -->
 
 <p></p>
 
 <center>
 <small>
-[<a href="../../gdb/bugs/">bugs</a>]
-[<a href="../../gdb/committee/">GDB Maintainers</a>]
-[<a href="../../gdb/contribute/">contributing</a>]
-[<a href="../../gdb/current/">current git</a>]
-[<a href="../../gdb/documentation/">documentation</a>]
-[<a href="../../gdb/download/">download</a>]
-[<a href="../../gdb/">home</a>]
-[<a href="../../gdb/irc/">irc</a>]
-[<a href="../../gdb/links/">links</a>]
-[<a href="../../gdb/mailing-lists/">mailing lists</a>]
-[<a href="../../gdb/news/">news</a>]
-[<a href="../../gdb/schedule/">schedule</a>]
-[<a href="../../gdb/song/">song</a>]
+[<a href="../bugs/">bugs</a>]
+[<a href="../committee/">GDB Maintainers</a>]
+[<a href="../contribute/">contributing</a>]
+[<a href="../current/">current git</a>]
+[<a href="../documentation/">documentation</a>]
+[<a href="../download/">download</a>]
+[<a href="../">home</a>]
+[<a href="../irc/">irc</a>]
+[<a href="../links/">links</a>]
+[<a href="../mailing-lists/">mailing lists</a>]
+[<a href="../news/">news</a>]
+[<a href="../schedule/">schedule</a>]
+[<a href="../song/">song</a>]
 [<a href="https://sourceware.org/gdb/wiki/">wiki</a>]
 </small>
 </center>
@@ -87,7 +87,7 @@ href="mailto:gnu@gnu.org">gnu@gnu.org</a>.  There are also <a
 href="https://www.gnu.org/home.html#ContactInfo">other ways to
 contact</a> the FSF.</p>
 
-<p>This page is maintained by <a href="../../gdb/">the GDB
+<p>This page is maintained by <a href="../">the GDB
 developers</a>.</p>
 
 <p>Copyright Free Software Foundation, Inc., 51 Franklin St - Fifth
-- 
2.39.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-12  5:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-12  5:01 [PATCH htdocs] links: stop assuming/requiring top-level "gdb" name Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).