Index: gdb-7.0.1/gdb/symfile.c =================================================================== --- gdb-7.0.1.orig/gdb/symfile.c 2010-03-11 15:49:51.000000000 +0100 +++ gdb-7.0.1/gdb/symfile.c 2010-03-11 15:51:47.000000000 +0100 @@ -2308,9 +2308,12 @@ debug_print_missing (const char *binary, fprintf_unfiltered (gdb_stdlog, _("Missing separate debuginfo for %s\n"), binary); if (debug != NULL) - fprintf_unfiltered (gdb_stdlog, _("Try: %s %s\n"), - "yum --disablerepo='*' --enablerepo='*-debuginfo'" - " install", debug); + { + const char *p = strrchr (debug, '/'); + fprintf_unfiltered (gdb_stdlog, _("Try: %s%.2s%.38s\"\n"), + "zypper install -C \"debuginfo(build-id)=", + p - 2, p + 1); + } } }