Re: http://mail.gnu.org/mailman/listinfo/bug-gdb/ down

Jonny Grant <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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 [email protected] 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
0001-add-gdb-sourceware.org-to-help-output.patch (text/x-patch, 1.5 KB)
>From 2334596062fb2ee0345fc067596f1a1845181d3a Mon Sep 17 00:00:00 2001
From: Jonathan Grant <[email protected]>
Date: Wed, 27 May 2020 22:52:15 +0100
Subject: [PATCH] add [email protected] to help output

Signed-off-by: Jonathan Grant <[email protected]>
---
 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:[email protected]\"\n\
 "), REPORT_BUGS_TO);
 }
-- 
2.17.1
0001-Remove-broken-links-Previous-and-Up-from-contents.patch (text/x-patch, 649 B)
From 5720d8615a6ac74299c5e56f1d1bcb0f1fd73b49 Mon Sep 17 00:00:00 2001
From: Jonathan Grant <[email protected]>
Date: Wed, 27 May 2020 23:11:17 +0100
Subject: [PATCH] Remove broken links Previous and Up from contents

Signed-off-by: Jonathan Grant <[email protected]>
---
 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.