On 12/5/20 12:00 AM, Dominique Leuenberger wrote:
gdb (9.2 -> 10.1)
Hello. I just wanted to announce that the package now supports debuginfod. For more information, please take a look at: https://debuginfod.opensuse.org/ For now the support is experimental and one needs to explicitly set the corresponding environment variable: $ DEBUGINFOD_URLS="https://debuginfod.opensuse.org" gdb `which gcc` ... Reading symbols from /usr/bin/gcc... Downloading separate debug info for /usr/bin/gcc... Reading symbols from /home/marxin/.cache/debuginfod_client/b254e8725372853c8e92e6dc0d059b8ebf6d0226/debuginfo... (gdb) start Downloading source file /usr/src/debug/gcc10-10.2.1+git958-1.1.x86_64/obj-x86_64-suse-linux/gcc/../../gcc/gcc-main.c... Temporary breakpoint 1 at 0x42ee30: file ../../gcc/gcc-main.c, line 44. Starting program: /usr/bin/gcc Downloading separate debug info for /lib64/ld-linux-x86-64.so.2... Downloading separate debug info for /lib64/libc.so.6... Temporary breakpoint 1, main (argc=1, argv=0x7fffffffe008) at ../../gcc/gcc-main.c:44 44 driver d (false, /* can_finalize */ (gdb) list 39 extern int main (int, char **); 40 41 int 42 main (int argc, char **argv) 43 { 44 driver d (false, /* can_finalize */ 45 false); /* debug */ 46 47 return d.main (argc, argv); 48 } Martin