From: dje@google.com
To: Sergio Durigan Junior <sergiodj@redhat.com>
Cc: Andreas Schwab <schwab@linux-m68k.org>,
Pedro Alves <palves@redhat.com>,
gdb-patches@sourceware.org, ratmice@gmail.com
Subject: Re: [RFA] massively speed up "info var foo" on large programs
Date: Wed, 01 Aug 2012 19:30:00 -0000 [thread overview]
Message-ID: <20505.33712.542750.969953@ruffy2.mtv.corp.google.com> (raw)
In-Reply-To: <m3ehnrmbqd.fsf@redhat.com>
Sergio Durigan Junior writes:
> On Tuesday, July 31 2012, I wrote:
>
> > I have just tested your patch on ppc64 and it works OK; I don't have a
> > s390x machine right now but I'll check tomorrow when I wake up.
>
> FWIW the patch also works OK on s390x RHEL 6.3.
>
> --
> Sergio
Thanks.
How about this?
I will check it into cvs head and 7.5 in a few days if there are no objections.
2012-08-01 Doug Evans <dje@google.com>
* gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
Index: info-fun.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/info-fun.exp,v
retrieving revision 1.2
diff -u -p -r1.2 info-fun.exp
--- info-fun.exp 21 Jun 2012 20:46:22 -0000 1.2
+++ info-fun.exp 1 Aug 2012 18:34:44 -0000
@@ -67,9 +67,17 @@ foreach libsepdebug {NO IN SEP} { with_t
append match_str {int foo\(void\);[\r\n]*}
}
append match_str {Non-debugging symbols:[\r\n]*}
+ # Note: Targets like {m68k,ppc64,s390x}-linux also have, e.g.,
+ # 00000011.plt_call.foo+0 (m68k).
+ set plt_foo_match "($hex \[^\r\n\]*plt\[^\r\n\]*foo\[^\r\n\]*\[\r\n\]*)?"
+ append match_str $plt_foo_match
+ # This text we want to match precisely.
append match_str "$hex *foo(@plt)?\[\r\n\]*"
+ # Watch for again to not have to worry about the order of appearance.
+ append match_str $plt_foo_match
if { "$libsepdebug" == "NO" } {
- append match_str "$hex *foo\[\r\n\]*"
+ # Note: The ".?" is for targets like m68k-linux that have ".foo" here.
+ append match_str "$hex *.?foo\[\r\n\]*"
}
gdb_test "info fun foo" "$match_str"
next prev parent reply other threads:[~2012-08-01 19:30 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-24 17:59 Doug Evans
2012-05-24 21:28 ` Doug Evans
2012-05-25 4:29 ` Matt Rice
2012-05-25 8:21 ` Doug Evans
2012-05-25 8:51 ` Pedro Alves
2012-05-28 4:49 ` Doug Evans
2012-05-31 18:53 ` Doug Evans
2012-06-01 19:38 ` Pedro Alves
2012-06-04 4:06 ` Doug Evans
2012-06-04 15:03 ` Pedro Alves
2012-06-19 0:58 ` Doug Evans
2012-07-19 9:18 ` Andreas Schwab
2012-07-30 17:29 ` dje
2012-07-31 7:19 ` Sergio Durigan Junior
2012-08-01 5:18 ` Sergio Durigan Junior
2012-08-01 19:30 ` dje [this message]
2012-05-25 10:04 ` Matt Rice
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=20505.33712.542750.969953@ruffy2.mtv.corp.google.com \
--to=dje@google.com \
--cc=gdb-patches@sourceware.org \
--cc=palves@redhat.com \
--cc=ratmice@gmail.com \
--cc=schwab@linux-m68k.org \
--cc=sergiodj@redhat.com \
/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