public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: frank@betaversion.net
To: gdb@sourceware.org
Subject: Re: multithreaded programs on arm-linux
Date: Wed, 02 Nov 2005 08:00:00 -0000	[thread overview]
Message-ID: <20051102090018.va9dq0zxu4eocc0o@admin.betaversion.net> (raw)
In-Reply-To: <20051101182213.GA388@nevyn.them.org>

Quoting Daniel Jacobowitz <drow@false.org>:

> On Tue, Nov 01, 2005 at 07:10:51PM +0100, frank@betaversion.net wrote:
>> libthread_db is available on the system (/lib/libthread_db.so.1).
>> gdb successfully ran "thread_db_load()".
>>
>> Any ideas how i can debug this?
>
> Has libpthread.so been stripped?  Debug info can be removed, but you
> must leave the static symbol table (.symtab) to use native libthread_db.

No, it hasn't been stripped. And the the section .symtab also seems
to be available.

$ file libthread_db.so.1
libthread_db.so.1: ELF 32-bit LSB shared object, ARM, version 1 (ARM), not
stripped

$ readelf -a libthread_db.so.1
Section Headers:
[...]
[26] .symtab           SYMTAB          00000000 0047ec 000f80 10     27 189  4
[...]
Symbol table '.symtab' contains 248 entries:
    Num:    Value  Size Type    Bind   Vis      Ndx Name
      0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND
      1: 00000100     0 SECTION LOCAL  DEFAULT    1
      2: 00000120     0 SECTION LOCAL  DEFAULT    2
      3: 0000041c     0 SECTION LOCAL  DEFAULT    3
[...]
    245: 00003254   268 FUNC    GLOBAL DEFAULT   13 td_ta_clear_event
    246: 000022a0   204 FUNC    GLOBAL DEFAULT   13 td_thr_setfpregs
    247: 00000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
[...]

Regards,
   Frank


  reply	other threads:[~2005-11-02  8:00 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-01 18:11 frank
2005-11-01 18:22 ` Daniel Jacobowitz
2005-11-02  8:00   ` frank [this message]
2005-11-02 12:36     ` Andreas Schwab
2005-11-02 12:46       ` frank
2005-11-02 13:28         ` Andreas Schwab
2005-11-02 13:43           ` Daniel Jacobowitz
2005-11-02 14:33             ` Andreas Schwab
2005-11-02 14:39               ` Daniel Jacobowitz
2005-11-02 15:56                 ` Frank Meerkoetter
2005-11-02 16:49                   ` Daniel Jacobowitz
2005-11-03  8:33                     ` Frank Meerkoetter
2005-11-03 13:56                       ` Daniel Jacobowitz
2005-11-03 15:00                         ` Frank Meerkoetter
2005-11-03 15:07                           ` Daniel Jacobowitz
2005-11-03 15:51                             ` Frank Meerkoetter
2005-11-03 15:59                               ` Daniel Jacobowitz
2005-11-03 16:28                                 ` Frank Meerkoetter
2005-11-03 16:42                                   ` Daniel Jacobowitz
2005-11-03 17:51                                     ` Frank Meerkoetter
2005-11-03 21:13                                       ` Daniel Jacobowitz
2005-11-04  9:23                                         ` Frank Meerkoetter
2005-11-04 14:25                                           ` Daniel Jacobowitz
2005-11-04 15:39                                             ` Frank Meerkoetter
2005-11-04 15:40                                               ` Daniel Jacobowitz
2005-11-04 15:51                                                 ` Frank Meerkoetter
2005-11-04 16:06                                                 ` Frank Meerkoetter
2005-11-04 16:14                                                   ` Daniel Jacobowitz
2005-11-04 15:41                                               ` Daniel Jacobowitz
2005-11-07  9:26                                                 ` Frank Meerkoetter
2005-11-02 16:52                   ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051102090018.va9dq0zxu4eocc0o@admin.betaversion.net \
    --to=frank@betaversion.net \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).