From: Frank Meerkoetter <frank@betaversion.net>
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb@sourceware.org
Subject: Re: multithreaded programs on arm-linux
Date: Thu, 03 Nov 2005 15:00:00 -0000 [thread overview]
Message-ID: <20051103160009.8sy1s7ydxhwok0ww@admin.betaversion.net> (raw)
In-Reply-To: <20051103135617.GA29302@nevyn.them.org>
Quoting Daniel Jacobowitz <drow@false.org>:
Hi,
> OK, let's start at the top then.
>
> 1. Is gdbserver linked to libthread_db.so during build?
I'm not using the gdbserver but rather running the gdb on
the target. The reason is that i didn't managed to
remote debug a program which is dynamically linked.
I assume gdb is linked against libthread_db.so
frank@linux:~/gdb/gdb-host-arm/gdb> arm-linux-readelf --syms gdb | grep
thread_db
1896: 0005be00 28 FUNC GLOBAL DEFAULT 13 thread_db_init
3751: 0005d7f4 80 FUNC GLOBAL DEFAULT 13 _initialize_thread_db
647: 0005b6e4 400 FUNC LOCAL DEFAULT 13 thread_db_err_str
649: 0005b874 168 FUNC LOCAL DEFAULT 13 thread_db_state_str
653: 0005bac4 168 FUNC LOCAL DEFAULT 13 thread_db_map_id2thr
656: 0005bb6c 140 FUNC LOCAL DEFAULT 13 thread_db_get_info
662: 0005be58 1044 FUNC LOCAL DEFAULT 13 thread_db_load
686: 0005c5d0 428 FUNC LOCAL DEFAULT 13 thread_db_new_objfile
687: 0005d3e8 108 FUNC LOCAL DEFAULT 13 thread_db_find_new_threads
688: 0026d4fc 0 NOTYPE LOCAL DEFAULT 22 using_thread_db
690: 0026d3b0 0 NOTYPE LOCAL DEFAULT 22 thread_db_ops
692: 0005c908 76 FUNC LOCAL DEFAULT 13 thread_db_attach
694: 0005c9e8 88 FUNC LOCAL DEFAULT 13 thread_db_detach
696: 0005ca74 168 FUNC LOCAL DEFAULT 13 thread_db_resume
698: 0005cca0 304 FUNC LOCAL DEFAULT 13 thread_db_wait
699: 0005cdd0 204 FUNC LOCAL DEFAULT 13 thread_db_xfer_memory
700: 0005ce9c 272 FUNC LOCAL DEFAULT 13 thread_db_fetch_registers
701: 0005cfac 340 FUNC LOCAL DEFAULT 13 thread_db_store_registers
702: 0005d100 52 FUNC LOCAL DEFAULT 13 thread_db_kill
703: 0005d134 96 FUNC LOCAL DEFAULT 13 thread_db_create_inferior
704: 0005d194 68 FUNC LOCAL DEFAULT 13
thread_db_post_startup_inferior
705: 0005d1d8 80 FUNC LOCAL DEFAULT 13 thread_db_mourn_inferior
706: 0005d228 248 FUNC LOCAL DEFAULT 13 thread_db_thread_alive
709: 0005d454 292 FUNC LOCAL DEFAULT 13 thread_db_pid_to_str
710: 0005d578 372 FUNC LOCAL DEFAULT 13
thread_db_get_thread_local_address
711: 0005d6ec 264 FUNC LOCAL DEFAULT 13 init_thread_db_ops
7239: 0005be00 28 FUNC GLOBAL DEFAULT 13 thread_db_init
9093: 0005d7f4 80 FUNC GLOBAL DEFAULT 13 _initialize_thread_db
The libthread_db.so of the toolchain and the target have matching md5sums.
Regards,
Frank
next prev parent reply other threads:[~2005-11-03 15: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
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 [this message]
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=20051103160009.8sy1s7ydxhwok0ww@admin.betaversion.net \
--to=frank@betaversion.net \
--cc=drow@false.org \
--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).