* [ppc64-linux]: Recognize dl event entry point symbol
@ 2003-06-11 13:01 Jim Blandy
2003-06-11 22:54 ` Kevin Buettner
0 siblings, 1 reply; 4+ messages in thread
From: Jim Blandy @ 2003-06-11 13:01 UTC (permalink / raw)
To: gdb-patches
2003-06-11 Jim Blandy <jimb@redhat.com>
* solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPC
Linux entry point symbols for _dl_debug_state, too.
Index: gdb/solib-svr4.c
===================================================================
RCS file: /cvs/src/src/gdb/solib-svr4.c,v
retrieving revision 1.32.8.1
diff -c -r1.32.8.1 solib-svr4.c
*** gdb/solib-svr4.c 11 Jun 2003 08:57:46 -0000 1.32.8.1
--- gdb/solib-svr4.c 11 Jun 2003 12:59:25 -0000
***************
*** 79,84 ****
--- 79,85 ----
"r_debug_state",
"_r_debug_state",
"_dl_debug_state",
+ "._dl_debug_state",
"rtld_db_dlactivity",
"_rtld_debug_state",
NULL
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ppc64-linux]: Recognize dl event entry point symbol
2003-06-11 13:01 [ppc64-linux]: Recognize dl event entry point symbol Jim Blandy
@ 2003-06-11 22:54 ` Kevin Buettner
2003-06-12 21:20 ` Jim Blandy
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Buettner @ 2003-06-11 22:54 UTC (permalink / raw)
To: Jim Blandy, gdb-patches
On Jun 11, 8:02am, Jim Blandy wrote:
> 2003-06-11 Jim Blandy <jimb@redhat.com>
>
> * solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPC
> Linux entry point symbols for _dl_debug_state, too.
>
> Index: gdb/solib-svr4.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/solib-svr4.c,v
> retrieving revision 1.32.8.1
> diff -c -r1.32.8.1 solib-svr4.c
> *** gdb/solib-svr4.c 11 Jun 2003 08:57:46 -0000 1.32.8.1
> --- gdb/solib-svr4.c 11 Jun 2003 12:59:25 -0000
> ***************
> *** 79,84 ****
> --- 79,85 ----
> "r_debug_state",
> "_r_debug_state",
> "_dl_debug_state",
> + "._dl_debug_state",
> "rtld_db_dlactivity",
> "_rtld_debug_state",
> NULL
Okay.
(I wonder why the tools implementor's felt compelled to add that
leading ".".)
Kevin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ppc64-linux]: Recognize dl event entry point symbol
2003-06-11 22:54 ` Kevin Buettner
@ 2003-06-12 21:20 ` Jim Blandy
2003-06-12 23:09 ` Kevin Buettner
0 siblings, 1 reply; 4+ messages in thread
From: Jim Blandy @ 2003-06-12 21:20 UTC (permalink / raw)
To: Kevin Buettner; +Cc: gdb-patches
Kevin Buettner <kevinb@redhat.com> writes:
> On Jun 11, 8:02am, Jim Blandy wrote:
>
> > 2003-06-11 Jim Blandy <jimb@redhat.com>
> >
> > * solib-svr4.c (solib_break_names): Recognize the 64-bit PowerPC
> > Linux entry point symbols for _dl_debug_state, too.
> >
> > Index: gdb/solib-svr4.c
> > ===================================================================
> > RCS file: /cvs/src/src/gdb/solib-svr4.c,v
> > retrieving revision 1.32.8.1
> > diff -c -r1.32.8.1 solib-svr4.c
> > *** gdb/solib-svr4.c 11 Jun 2003 08:57:46 -0000 1.32.8.1
> > --- gdb/solib-svr4.c 11 Jun 2003 12:59:25 -0000
> > ***************
> > *** 79,84 ****
> > --- 79,85 ----
> > "r_debug_state",
> > "_r_debug_state",
> > "_dl_debug_state",
> > + "._dl_debug_state",
> > "rtld_db_dlactivity",
> > "_rtld_debug_state",
> > NULL
>
> Okay.
>
> (I wonder why the tools implementor's felt compelled to add that
> leading ".".)
On PPC64 Linux, the symbol whose name lacks the dot points to the
function descriptor; the symbol with the dot is the entry point. So
this change works along with this patch I just posted:
http://sources.redhat.com/ml/gdb-patches/2003-06/msg00430.html
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ppc64-linux]: Recognize dl event entry point symbol
2003-06-12 21:20 ` Jim Blandy
@ 2003-06-12 23:09 ` Kevin Buettner
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Buettner @ 2003-06-12 23:09 UTC (permalink / raw)
To: Jim Blandy; +Cc: gdb-patches
On Jun 12, 4:20pm, Jim Blandy wrote:
> > (I wonder why the tools implementor's felt compelled to add that
> > leading ".".)
>
> On PPC64 Linux, the symbol whose name lacks the dot points to the
> function descriptor; the symbol with the dot is the entry point. So
> this change works along with this patch I just posted:
>
> http://sources.redhat.com/ml/gdb-patches/2003-06/msg00430.html
I see.
Thanks for the explanation.
Kevin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-06-12 23:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-11 13:01 [ppc64-linux]: Recognize dl event entry point symbol Jim Blandy
2003-06-11 22:54 ` Kevin Buettner
2003-06-12 21:20 ` Jim Blandy
2003-06-12 23:09 ` Kevin Buettner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox