Re: [RFC PATCH] Support debuginfo and source file fetching via debuginfo server

Frank Ch. Eigler
2019-11-04T15:03:35Z

fche@redhat.com (Frank Ch. Eigler) writes:

> Actually we can probably do even better: trap the SIGINT ourselves in
> libdebuginfod, but upon return to gdb with an -EINTR, the caller can
> call set_quit_flag(). Then the rest of gdb can react the normal way.

Actually2, prototyped a solution whereby the library temporarily hijacks
SIGINT to interrupt its ongoing transfers, then raises a SIGINT back to
gdb or other caller upon return. If this works, then no changes at all
are required to the gdb/libdebuginfod interface code.

- FChe