This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC PATCH] Support debuginfo and source file fetching via debuginfo server
- From: Tom Tromey <tom at tromey dot com>
- To: "Christian Biesinger via gdb-patches" <gdb-patches at sourceware dot org>
- Cc: Aaron Merey <amerey at redhat dot com>, Christian Biesinger <cbiesinger at google dot com>
- Date: Wed, 09 Oct 2019 08:55:43 -0600
- Subject: Re: [RFC PATCH] Support debuginfo and source file fetching via debuginfo server
- References: <20190820202809.25367-1-amerey@redhat.com> <CAPTJ0XEyOeZHUDr2zFovuSjMDxZ-XB1Wq1rftFE39Uiz9QFCmQ@mail.gmail.com>
>>>>> "Christian" == Christian Biesinger via gdb-patches <gdb-patches@sourceware.org> writes:
>> Debuginfo server is a lightweight web service that indexes debuginfo
>> and source files by build-id and serves them over HTTP.
Christian> You wrote that the debuginfo server will download symbols over HTTP.
Christian> Does that mean that this call to dbgserver_find_debuginfo will block
Christian> as it downloads the file? (will ctrl+c work as it does that?)
The control-c question is a good one -- I'd also like to know the
answer. Most things in gdb are interruptible this way.
Christian> If so, any way to do this download on a background thread?
I think gdb can't support this without some additional re-architecting.
It's a good goal, but I think I would not require it in order to get the
patch in.
Tom