* Shared library Error in GDB
@ 2006-06-22 13:33 Fahd Abidi
2006-06-22 13:40 ` Daniel Jacobowitz
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Fahd Abidi @ 2006-06-22 13:33 UTC (permalink / raw)
To: gdb
Hello,
When I start GDB to debug my helloword app I get the following warning:
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializes
and track explicitly loaded dynamic code.
Does anyone know what this warning means and how to resolve it?
Fahd
-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On
Behalf Of Daniel Jacobowitz
Sent: Thursday, June 22, 2006 8:46 AM
To: Dave Murphy
Cc: gdb@sources.redhat.com
Subject: Re: What's the difference between gdb arm targets?
Please don't reply to random messages to post to the list. In this day
and age, everyone is expected to use a mail reader which supports
threading; you've attached yourself to an unrelated conversation.
On Thu, Jun 22, 2006 at 10:04:47AM +0100, Dave Murphy wrote:
> Hi,
>
> Is there any significant difference between a gdb targeted for
> arm-linux, arm-eabi and arm-elf? Is it possible to combine all 3
targets
> within one build?
The defaults are different. I believe that as long as you give GDB an
ELF file every time, it will figure out the right behavior. To include
the Linux support code you need to configure for arm-linux, but the
other two don't have their own support code.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Shared library Error in GDB
2006-06-22 13:33 Shared library Error in GDB Fahd Abidi
@ 2006-06-22 13:40 ` Daniel Jacobowitz
2006-06-22 16:38 ` Ramana Radhakrishnan
2006-06-22 19:54 ` PAUL GILLIAM
2 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2006-06-22 13:40 UTC (permalink / raw)
To: Fahd Abidi; +Cc: gdb
On Thu, Jun 22, 2006 at 09:20:23AM -0400, Fahd Abidi wrote:
> Hello,
>
> When I start GDB to debug my helloword app I get the following warning:
>
> warning: Unable to find dynamic linker breakpoint function.
> GDB will be unable to debug shared library initializes
> and track explicitly loaded dynamic code.
>
>
> Does anyone know what this warning means and how to resolve it?
Usually it means that either GDB can not find your dynamic linker, or
that it has been stripped (symbols have been removed).
You haven't given us enough information to offer any more suggestions.
If you're using remote debugging, check solib-absolute-prefix. If
you're using native debugging, this may be a problem to refer to your
OS vendor.
> Please don't reply to random messages to post to the list. In this day
> and age, everyone is expected to use a mail reader which supports
> threading; you've attached yourself to an unrelated conversation.
Gosh, which part of this was unclear? Please write a new message to
this list to start a discussion or ask a question!
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Shared library Error in GDB
2006-06-22 13:33 Shared library Error in GDB Fahd Abidi
2006-06-22 13:40 ` Daniel Jacobowitz
@ 2006-06-22 16:38 ` Ramana Radhakrishnan
2006-06-22 19:54 ` PAUL GILLIAM
2 siblings, 0 replies; 4+ messages in thread
From: Ramana Radhakrishnan @ 2006-06-22 16:38 UTC (permalink / raw)
To: Fahd Abidi; +Cc: gdb
Whats the target ? This usually means your host and target systems are
different and your gdb is using the wrong dl.
Is solib-absolute-prefix set in your GDB?
cheers
Ramana
> Hello,
>
> When I start GDB to debug my helloword app I get the following warning:
>
> warning: Unable to find dynamic linker breakpoint function.
> GDB will be unable to debug shared library initializes
> and track explicitly loaded dynamic code.
>
>
> Does anyone know what this warning means and how to resolve it?
>
> Fahd
>
>
>
> -----Original Message-----
> From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On
> Behalf Of Daniel Jacobowitz
> Sent: Thursday, June 22, 2006 8:46 AM
> To: Dave Murphy
> Cc: gdb@sources.redhat.com
> Subject: Re: What's the difference between gdb arm targets?
>
>
> Please don't reply to random messages to post to the list. In this day
> and age, everyone is expected to use a mail reader which supports
> threading; you've attached yourself to an unrelated conversation.
>
> On Thu, Jun 22, 2006 at 10:04:47AM +0100, Dave Murphy wrote:
>> Hi,
>>
>> Is there any significant difference between a gdb targeted for
>> arm-linux, arm-eabi and arm-elf? Is it possible to combine all 3
> targets
>> within one build?
>
> The defaults are different. I believe that as long as you give GDB an
> ELF file every time, it will figure out the right behavior. To include
> the Linux support code you need to configure for arm-linux, but the
> other two don't have their own support code.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>
>
>
>
----
Ramana Radhakrishnan
GNU Tools
Codito Technologies
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Shared library Error in GDB
2006-06-22 13:33 Shared library Error in GDB Fahd Abidi
2006-06-22 13:40 ` Daniel Jacobowitz
2006-06-22 16:38 ` Ramana Radhakrishnan
@ 2006-06-22 19:54 ` PAUL GILLIAM
2 siblings, 0 replies; 4+ messages in thread
From: PAUL GILLIAM @ 2006-06-22 19:54 UTC (permalink / raw)
To: Fahd Abidi; +Cc: gdb
On Thu, 2006-06-22 at 09:20 -0400, Fahd Abidi wrote:
> Hello,
>
> When I start GDB to debug my helloword app I get the following warning:
>
> warning: Unable to find dynamic linker breakpoint function.
> GDB will be unable to debug shared library initializes
> and track explicitly loaded dynamic code.
>
>
> Does anyone know what this warning means and how to resolve it?
>
> Fahd
If you happen to be running on ppc64, see this thread:
http://sourceware.org/ml/gdb-patches/2006-05/msg00457.html
-=# Paul #=-
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-06-22 16:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-22 13:33 Shared library Error in GDB Fahd Abidi
2006-06-22 13:40 ` Daniel Jacobowitz
2006-06-22 16:38 ` Ramana Radhakrishnan
2006-06-22 19:54 ` PAUL GILLIAM
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox