public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30784] New: Single stepping until exit from function _ZN6shibsp8SPConfig4initEPKcS2_@plt, which has no line number information
@ 2023-08-20 16:11 koteswararao18 at gmail dot com
  2023-08-20 16:13 ` [Bug c++/30784] " koteswararao18 at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: koteswararao18 at gmail dot com @ 2023-08-20 16:11 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30784

            Bug ID: 30784
           Summary: Single stepping until exit from function
                    _ZN6shibsp8SPConfig4initEPKcS2_@plt, which has no line
                    number information
           Product: gdb
           Version: 12.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
          Assignee: unassigned at sourceware dot org
          Reporter: koteswararao18 at gmail dot com
  Target Milestone: ---

Hi

built shibboleth-sp-3.3.0 package by passing '-g' option to enable debug
symbols.
but gdb fails with below error when break point is set in SPConfig::init()
(shibboleth-sp-3.3.0/shibsp/SPConfig.cpp)
{{
(gdb) n

Thread 1 "dbd" hit Breakpoint 3, 0x00007ffff132bf50 in
shibsp::SPConfig::init(char const*, char const*)@plt () from
/lib64/libshibsp-lite.so.10
(gdb) n
Single stepping until exit from function _ZN6shibsp8SPConfig4initEPKcS2_@plt,
which has no line number information.
0x00007ffff1329020 in ?? () from /lib64/libshibsp-lite.so.10
}}
libs build using shiboleth-sp-3.3.0 are given below.
{{
lrwxrwxrwx 1 root root       24 Aug 20 05:48 libshibsp-lite.so ->
libshibsp-lite.so.10.0.3
lrwxrwxrwx 1 root root       24 Aug 20 05:48 libshibsp-lite.so.10 ->
libshibsp-lite.so.10.0.3
-rwxr-xr-x 1 root root 24714944 Aug 20 05:48 libshibsp-lite.so.10.0.3
lrwxrwxrwx 1 root root       19 Aug 20 05:47 libshibsp.so ->
libshibsp.so.10.0.3
lrwxrwxrwx 1 root root       19 Aug 20 05:47 libshibsp.so.10 ->
libshibsp.so.10.0.3
-rwxr-xr-x 1 root root 57520408 Aug 20 05:47 libshibsp.so.10.0.3
}}
shibboleth-sp-3.3.0/shibsp$ file .libs/libshibsp.so.10.0.3
.libs/libshibsp.so.10.0.3: ELF 64-bit LSB shared object, x86-64, version 1
(GNU/Linux), dynamically linked, with debug_info, not stripped

shibsp$ file .libs/libshibsp-lite.so.10.0.3
.libs/libshibsp-lite.so.10.0.3: ELF 64-bit LSB shared object, x86-64, version 1
(GNU/Linux), dynamically linked, with debug_info, not stripped
shibboleth-sp-3.3.0/shibsp$
}}
is it required to load above so file using gdb command before setting
breakpoint ? or symbol links to .so files is causing failure?
any insight in to the isuse?

regards
koti

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2023-08-22 15:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-20 16:11 [Bug c++/30784] New: Single stepping until exit from function _ZN6shibsp8SPConfig4initEPKcS2_@plt, which has no line number information koteswararao18 at gmail dot com
2023-08-20 16:13 ` [Bug c++/30784] " koteswararao18 at gmail dot com
2023-08-21  1:44 ` simark at simark dot ca
2023-08-21  3:04 ` koteswararao18 at gmail dot com
2023-08-21 19:35 ` tromey at sourceware dot org
2023-08-21 19:41 ` simark at simark dot ca
2023-08-22 14:16 ` koteswararao18 at gmail dot com
2023-08-22 15:08 ` simark at simark dot ca

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).