From: "Tedeschi, Walfred" <walfred.tedeschi@intel.com>
To: "palves@redhat.com" <palves@redhat.com>,
"simon.marchi@polymtl.ca" <simon.marchi@polymtl.ca>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: RE: [PATCH v2] symlookup: improves symbol lookup when a file is specified.
Date: Mon, 16 Oct 2017 13:23:00 -0000 [thread overview]
Message-ID: <AC542571535E904D8E8ADAE745D60B197A9A2DDC@IRSMSX104.ger.corp.intel.com> (raw)
In-Reply-To: <1507727728-30540-1-git-send-email-walfred.tedeschi@intel.com>
Hi all,
> +set lib_opts debug
> +set exec_opts [list debug shlib_load
> +additional_flags=-DSHLIB_NAME=\"${lib_dlopen1}\"
> +additional_flags=-DSHLIB_NAME2=\"${lib_dlopen2}\"]
> +
> +if { [gdb_compile_shlib $libsrc1 $libobj1 $lib_opts] != ""
> + || [gdb_compile_shlib $libsrc2 $libobj2 $lib_opts] != ""
> + || [gdb_compile $srcfile $binfile executable $exec_opts] != ""} {
> + untested "failed to compile"
> + return -1
> +}
I have revmoved the code below from my sandbox.
Next review will not have that.
> +
> +if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib1}.c \
> + ${libobj1} \
> + ${lib_opts} ] != "" } {
> + return -1
> +}
> +if { [gdb_compile_shlib ${srcdir}/${subdir}/${lib2}.c \
> + ${libobj2} \
> + ${lib_opts} ] != "" } {
> + return -1
> +}
> +if { [gdb_compile "${srcdir}/${subdir}/${executable}.c" \
> + [standard_output_file ${executable}] \
> + executable \
> + [list debug shlib=-ldl]]
> + != ""} {
> + return -1
> +}
> +
Would it help to have a branch with those changes?
Thanks and regards,
/Fred
Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928
next prev parent reply other threads:[~2017-10-16 13:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-11 13:15 Walfred Tedeschi
2017-10-16 13:23 ` Tedeschi, Walfred [this message]
2017-10-16 17:07 ` Simon Marchi
2017-10-17 7:57 ` Tedeschi, Walfred
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=AC542571535E904D8E8ADAE745D60B197A9A2DDC@IRSMSX104.ger.corp.intel.com \
--to=walfred.tedeschi@intel.com \
--cc=gdb-patches@sourceware.org \
--cc=palves@redhat.com \
--cc=simon.marchi@polymtl.ca \
/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).