public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] [gdb/testsuite] Call ldd --version in gdb.testsuite/dump-system-info.exp
@ 2024-01-18 10:13 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2024-01-18 10:13 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e3e640b1cfac8dd8bcd7f0b730ded101a733bf76

commit e3e640b1cfac8dd8bcd7f0b730ded101a733bf76
Author: Tom de Vries <tdevries@suse.de>
Date:   Thu Jan 18 11:14:19 2024 +0100

    [gdb/testsuite] Call ldd --version in gdb.testsuite/dump-system-info.exp
    
    Once in a while I'm looking at the gdb.log of an entire testsuite run, and I'm
    trying to establish what glibc version is used.  Sometimes this is possible,
    sometimes not.
    
    Make this easy by calling ldd --version in test-case
    gdb.testsuite/dump-system-info.exp, which for instance on openSUSE Leap 15.4
    gives:
    ...
    $ ldd --version
    ldd (GNU libc) 2.31
      ...
    $
    ...
    
    Tested on x86_64-linux.
    
    Approved-By: Tom Tromey <tom@tromey.com>

Diff:
---
 gdb/testsuite/gdb.testsuite/dump-system-info.exp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gdb/testsuite/gdb.testsuite/dump-system-info.exp b/gdb/testsuite/gdb.testsuite/dump-system-info.exp
index 72f90f0cf5d..353f3661916 100644
--- a/gdb/testsuite/gdb.testsuite/dump-system-info.exp
+++ b/gdb/testsuite/gdb.testsuite/dump-system-info.exp
@@ -36,3 +36,4 @@ proc dump_info {cmd {what ""}} {
 dump_info "cat /proc/cpuinfo" "Cpuinfo"
 dump_info "uname -a"
 dump_info "lsb_release -a"
+dump_info "ldd --version"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-18 10:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-18 10:13 [binutils-gdb] [gdb/testsuite] Call ldd --version in gdb.testsuite/dump-system-info.exp Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).