Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jonny Grant <jg@jguk.org>
To: Simon Marchi <simark@simark.ca>, gdb@sourceware.org
Subject: Re: http://mail.gnu.org/mailman/listinfo/bug-gdb/ down
Date: Wed, 27 May 2020 23:12:32 +0100	[thread overview]
Message-ID: <3a66feb1-686f-d0c0-7124-ca3887b52507@jguk.org> (raw)
In-Reply-To: <43ae98ef-54f1-8cd3-1183-ad33ba6dec27@simark.ca>

[-- Attachment #1: Type: text/plain, Size: 2283 bytes --]

Hi Simon

On 26/05/2020 15:17, Simon Marchi wrote:
> On 2020-05-26 7:07 a.m., Jonny Grant wrote:
>> Hi GDB maintainers
>>
>> Just wondering if this is down for you as well
>>
>> https://www.gnu.org/software/gdb/mailing-lists/
>>
>> I clicked "bug-gdb"
>>
>>
>> This site can’t be reached mail.gnu.org refused to connect.
>> Try:
>>
>> Checking the connection
>> Checking the proxy and the firewall
>> ERR_CONNECTION_REFUSED
> 
> Maybe it was temporary, the GNU mailing list page works for me right now.

Unfortunately it is still down for me from laptop and android mobile.


> However, there has been no activity there for many years, I think we should
> either remove it from our page, or at least mention that it's there for
> archive purposes only.

Sounds reasonable. I didn't receive a reply from the gnu webmasters, maybe they are overloaded with lockdown.

>> I was going to ask if gdb@sourceware.org could be added to the $ gdb --help output and also the man page?
> 
> Yes, I think it would be nice.  Would you mind providing patches for that?

I've attached a patch for the 'gdb --help' output


>> Also this page
>>
>> https://sourceware.org/gdb/onlinedocs/gdb/
> 
> This is generated from the gdb.texinfo file in the GDB source code, so you
> could provide a patch for this as well:
> 
> https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=gdb/doc/gdb.texinfo;h=641816284954a492d6079560b9e6ab8312efa159;hb=HEAD
> 
> You can generate the HTML manual using the "make html" command in the gdb/doc
> build directory.

Could the scripts that need 'html' command make a suggestion to install texinfo html convertor package 'texi2html' ?


Otherwise it's this error:

html  -I . ./annotate.texinfo
/bin/bash: html: command not found


>> BTW, the footer has a link "Previous: (dir)" and "Up: (dir)" is a broken link to
>> https://sourceware.org/gdb/onlinedocs/dir/index.html
>>
>> Could someone fix that link, or should I file a bug report on sourceware?
> 
> Hmm, we would have to find out if it's a texinfo bug, or just us using texinfo wrong.
> 
> Again, you can generate this file using the "make html" command mentioned above and
> try to find out why.

Yes, it is the same in the html created.
I've attached a patch that removes those broken links.

Cheers, Jonny


[-- Attachment #2: 0001-add-gdb-sourceware.org-to-help-output.patch --]
[-- Type: text/x-patch, Size: 1552 bytes --]

From 2334596062fb2ee0345fc067596f1a1845181d3a Mon Sep 17 00:00:00 2001
From: Jonathan Grant <jg@jguk.org>
Date: Wed, 27 May 2020 22:52:15 +0100
Subject: [PATCH] add gdb@sourceware.org to help output

Signed-off-by: Jonathan Grant <jg@jguk.org>
---
 gdb/main.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gdb/main.c b/gdb/main.c
index 59cb14161b..3ee0ba8d81 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -328,7 +328,7 @@ get_init_files (std::vector<std::string> *system_gdbinit,
 			 sizeof (struct stat)))
 	    localinit = GDBINIT;
 	}
-      
+
       initialized = 1;
     }
 
@@ -504,7 +504,7 @@ enum cmdarg_kind
 
   /* Option type -ix.  */
   CMDARG_INIT_FILE,
-    
+
   /* Option type -iex.  */
   CMDARG_INIT_COMMAND
 };
@@ -644,7 +644,7 @@ captured_main_1 (struct captured_main_args *context)
 
   /* There will always be an interpreter.  Either the one passed into
      this captured main, or one specified by the user at start up, or
-     the console.  Initialize the interpreter to the one requested by 
+     the console.  Initialize the interpreter to the one requested by
      the application.  */
   interpreter_p = xstrdup (context->interpreter_p);
 
@@ -1394,5 +1394,8 @@ GDB manual (available as on-line info or a printed manual).\n\
   if (REPORT_BUGS_TO[0] && stream == gdb_stdout)
     fprintf_unfiltered (stream, _("\
 Report bugs to \"%s\".\n\
+"), REPORT_BUGS_TO);
+    fprintf_unfiltered (stream, _("\
+GDB mailing list \"mailto:gdb@sourceware.org\"\n\
 "), REPORT_BUGS_TO);
 }
-- 
2.17.1



[-- Attachment #3: 0001-Remove-broken-links-Previous-and-Up-from-contents.patch --]
[-- Type: text/x-patch, Size: 649 bytes --]

From 5720d8615a6ac74299c5e56f1d1bcb0f1fd73b49 Mon Sep 17 00:00:00 2001
From: Jonathan Grant <jg@jguk.org>
Date: Wed, 27 May 2020 23:11:17 +0100
Subject: [PATCH] Remove broken links Previous and Up from contents

Signed-off-by: Jonathan Grant <jg@jguk.org>
---
 gdb/doc/gdb.texinfo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 6418162849..d90c33d67a 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -108,7 +108,7 @@ ISBN 978-0-9831592-3-0 @*
 @page
 
 @ifnottex
-@node Top, Summary, (dir), (dir)
+@node Top, Summary
 
 @top Debugging with @value{GDBN}
 
-- 
2.17.1


  reply	other threads:[~2020-05-27 22:12 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-26 11:07 Jonny Grant
2020-05-26 14:17 ` Simon Marchi
2020-05-27 22:12   ` Jonny Grant [this message]
2020-05-27 22:26     ` Jonny Grant
2020-05-28  6:47       ` Eli Zaretskii
2020-05-30  0:20         ` Jonny Grant
2020-05-30  6:19           ` Eli Zaretskii
2020-06-27 19:37             ` Jonny Grant
2020-06-28  1:27               ` Joel Brobecker
2020-06-28  5:20                 ` Andreas Schwab
2020-06-28 15:26                   ` Jonny Grant
2020-06-28 15:36                   ` Joel Brobecker
2020-06-29 11:44                     ` Pedro Alves
2020-06-29 17:48                       ` Joel Brobecker
2020-07-06 18:54                         ` Joel Brobecker
2020-07-08 22:03                         ` Jonny Grant
2020-06-28 15:21                 ` Jonny Grant
2020-05-28  6:31     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3a66feb1-686f-d0c0-7124-ca3887b52507@jguk.org \
    --to=jg@jguk.org \
    --cc=gdb@sourceware.org \
    --cc=simark@simark.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox