Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Missing separate debuginfos
@ 2013-02-19 17:46 Mahmood Naderan
  2013-02-19 20:14 ` Sergio Durigan Junior
  0 siblings, 1 reply; 5+ messages in thread
From: Mahmood Naderan @ 2013-02-19 17:46 UTC (permalink / raw)
  To: gdb

Hi
What is the meaning of this message I see in gdb?

Loaded symbols for /usr/lib64/libstdc++.so.6
0x00000037d6c0f3cb in raise () from /lib64/libpthread.so.0
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.5-7.el6_0.x86_64 compat-libstdc++-33-3.2.3-69.el6.x86_64 glibc-2.12-1.80.el6_3.5.x86_64 libICE-1.0.6-1.el6.x86_64 libSM-1.1.0-7.1.el6.x86_64 libX11-1.3-2.el6.x86_64 libXau-1.0.5-1.el6.x86_64 libXext-1.1-3.el6.x86_64 libXpm-3.5.8-2.el6.x86_64 libgcc-4.4.6-4.el6.x86_64 libstdc++-4.4.6-4.el6.x86_64 libuuid-2.17.2-12.7.el6.x86_64 libxcb-1.5-1.el6.x86_64 zlib-1.2.3-27.el6.x86_64


There are some pages on the web but I didn't find a clear answer. Indeed those packages are installed on my system. Is tat a critical message?
 

Regards,
Mahmood


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Missing separate debuginfos
  2013-02-19 17:46 Missing separate debuginfos Mahmood Naderan
@ 2013-02-19 20:14 ` Sergio Durigan Junior
  2013-02-19 20:36   ` Pedro Alves
  0 siblings, 1 reply; 5+ messages in thread
From: Sergio Durigan Junior @ 2013-02-19 20:14 UTC (permalink / raw)
  To: Mahmood Naderan; +Cc: gdb

On Tuesday, February 19 2013, Mahmood Naderan wrote:

> What is the meaning of this message I see in gdb?
>
> Loaded symbols for /usr/lib64/libstdc++.so.6
> 0x00000037d6c0f3cb in raise () from /lib64/libpthread.so.0
> Missing separate debuginfos, use: debuginfo-install
> bzip2-libs-1.0.5-7.el6_0.x86_64
> compat-libstdc++-33-3.2.3-69.el6.x86_64 glibc-2.12-1.80.el6_3.5.x86_64
> libICE-1.0.6-1.el6.x86_64 libSM-1.1.0-7.1.el6.x86_64
> libX11-1.3-2.el6.x86_64 libXau-1.0.5-1.el6.x86_64
> libXext-1.1-3.el6.x86_64 libXpm-3.5.8-2.el6.x86_64
> libgcc-4.4.6-4.el6.x86_64 libstdc++-4.4.6-4.el6.x86_64
> libuuid-2.17.2-12.7.el6.x86_64 libxcb-1.5-1.el6.x86_64
> zlib-1.2.3-27.el6.x86_64
>
>
> There are some pages on the web but I didn't find a clear answer. Indeed those packages are installed on my system. Is tat a critical message?

No, it is not critical.

It means you don't have the debug information for these specific
packages/versions.  Unless you want to debug them, you don't really need
to worry.  If you ever want to debug them, you can run the command
suggested.

-- 
Sergio


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Missing separate debuginfos
  2013-02-19 20:14 ` Sergio Durigan Junior
@ 2013-02-19 20:36   ` Pedro Alves
  2013-03-15 15:26     ` Tom Tromey
  0 siblings, 1 reply; 5+ messages in thread
From: Pedro Alves @ 2013-02-19 20:36 UTC (permalink / raw)
  To: Sergio Durigan Junior; +Cc: Debug List, nt_mahmood, gdb

On 02/19/2013 08:14 PM, Sergio Durigan Junior wrote:
> On Tuesday, February 19 2013, Mahmood Naderan wrote:
> 
>> > What is the meaning of this message I see in gdb?
>> >
>> > Loaded symbols for /usr/lib64/libstdc++.so.6
>> > 0x00000037d6c0f3cb in raise () from /lib64/libpthread.so.0
>> > Missing separate debuginfos, use: debuginfo-install
> It means you don't have the debug information for these specific
> packages/versions.  Unless you want to debug them, you don't really need
> to worry.  If you ever want to debug them, you can run the command
> suggested.

A bit off topic for this list, but I've thought before that
message isn't as clear as it could be.

> Missing separate debuginfos, use: debuginfo-install

I think we could drop "separate", as it is an implementation
detail that shouldn't matter to the user.  "debuginfos" being
plural reads a bit weird to me.  I think this would be a bit
clearer:

Debug info for packages used by the program missing. Install with: debuginfo-install

But of course that may well just be me.

-- 
Pedro Alves


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Missing separate debuginfos
  2013-02-19 20:36   ` Pedro Alves
@ 2013-03-15 15:26     ` Tom Tromey
  2013-03-15 15:29       ` [debug-list] " Jan Kratochvil
  0 siblings, 1 reply; 5+ messages in thread
From: Tom Tromey @ 2013-03-15 15:26 UTC (permalink / raw)
  To: Pedro Alves; +Cc: Sergio Durigan Junior, Debug List, nt_mahmood, gdb

>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> Debug info for packages used by the program missing. Install with:
Pedro> debuginfo-install

Pedro> But of course that may well just be me.

Maybe be even wordier, like

    Some debug info for packages used by the program is missing.  You can
    install this with:

       debuginfo-install package-1 \
           package-2 \
           package-3

    Once the packages are installed, you can use them in the current gdb
    with:

       nosharedlibrary
       sharedlibrary .*

    Future invocations of gdb will pick them up automatically.

Of course then you get into pagination, especially if you have a ton of
uninstalled debug packages.

We could trim this down the second time it is printed.

Maybe it would be nice if debuginfo-install were a gdb command.
Then it could do the sharedlibrary dance for the user, without needing
nosharedlibrary.


The "nosharedlibrary" thing is also hard to figure out.
See http://sourceware.org/bugzilla/show_bug.cgi?id=12794
and http://sourceware.org/bugzilla/show_bug.cgi?id=14479

This could definitely use an enhancement.

Tom


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [debug-list] Missing separate debuginfos
  2013-03-15 15:26     ` Tom Tromey
@ 2013-03-15 15:29       ` Jan Kratochvil
  0 siblings, 0 replies; 5+ messages in thread
From: Jan Kratochvil @ 2013-03-15 15:29 UTC (permalink / raw)
  To: Tom Tromey; +Cc: Pedro Alves, gdb, nt_mahmood, Debug List

On Fri, 15 Mar 2013 16:26:14 +0100, Tom Tromey wrote:
> Maybe it would be nice if debuginfo-install were a gdb command.

It should be a question installing it on its own if answered 'y', according to
some feedback in the meantime.

And it should run some PackageKit or even apt-get etc. depending on the OS.


Jan


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-03-15 15:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-19 17:46 Missing separate debuginfos Mahmood Naderan
2013-02-19 20:14 ` Sergio Durigan Junior
2013-02-19 20:36   ` Pedro Alves
2013-03-15 15:26     ` Tom Tromey
2013-03-15 15:29       ` [debug-list] " Jan Kratochvil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox