[Bug gdb/34566] GDB cannot interrupt debuginofd until server responds, stuck waiting 1.5 min for ubuntu

tromey at sourceware dot org via Gdb-prs <[email protected]>
Newsgroups gmane.comp.gdb.bugs.discuss
Message-ID <[email protected]/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=34566

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
I suspect this is more of a debuginfod problem than a gdb problem.
gdb is just a user of the debuginfod API.

In the gdb code, I see that gdb's "progress function" callback
does check whether C-c has been done:

  if (check_quit_flag ())
    {
      ui_file *outstream = get_unbuffered (gdb_stdout);
      gdb_printf (outstream, _("Cancelling download of %s %s...\n"),
                  data->desc, styled_fname.c_str ());
      return 1;
    }

I guess something similar would have to be done during the
initial connection.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
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.