-----Original Message----- From: Martin Liška <mliska@suse.cz> Sent: 07 December 2020 12:58 To: opensuse-factory@opensuse.org Subject: gdb now supports debuginfod
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/
According to this webpage, only x86_64 is supported for now. Could we enable support for other architectures such as aarch64? I would be happy to help if somebody could guide me. Cheers, Guillaume
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/b254e8725372853c8e92e6dc0d059b8e bf6d0226/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 39extern int main (int, char **); 40 41int 42main (int argc, char **argv) 43{ 44 driver d (false, /* can_finalize */ 45 false); /* debug */ 46 47 return d.main (argc, argv); 48}
Martin _______________________________________________ openSUSE Factory mailing list -- factory@lists.opensuse.org To unsubscribe, email factory-leave@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/factory@lists.opensuse.org
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.