Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Fernando Nasser <fnasser@redhat.com>
To: Michael Snyder <msnyder@redhat.com>
Cc: fnf@redhat.com, gdb-patches@sources.redhat.com, fnf@ninemoons.com
Subject: Re: [RFA] Accept compiler internal use of memcpy/bcopy for structs
Date: Tue, 26 Mar 2002 15:24:00 -0000	[thread overview]
Message-ID: <3CA102BB.72DF85F4@redhat.com> (raw)
In-Reply-To: <3CA0F7BD.FB3F4EAF@redhat.com>

Michael Snyder wrote:
> 
> Fred Fish wrote:
> >
> > > Would you please try the attached modification of your patch,
> > > and let me know if it is acceptable?
> >
> > Yes, that works.  I've attached the actual patch I tried (there was an
> > extra '}' in the patch you suggested).  OK to check in?
> 
> OK by me...
> 

Thanks for looking into this one Michael.

And thanks for the patch Fred.  Please check it in.

Regards to all.

Fernando

> >
> > -Fred
> >
> > 2002-03-25  Fred Fish  <fnf@redhat.com>
> >
> >         * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
> >         have debugging info for those functions and the compiler uses them
> >         internally to copy structs around.
> >
> > Index: gdb.base/step-test.exp
> > ===================================================================
> > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/step-test.exp,v
> > retrieving revision 1.3
> > diff -c -p -r1.3 step-test.exp
> > *** step-test.exp       2001/03/06 08:21:51     1.3
> > --- step-test.exp       2002/03/26 03:20:34
> > *************** gdb_test \
> > *** 212,220 ****
> >   gdb_test "continue" \
> >            ".*Breakpoint ${decimal},.*large_struct_by_value.*" \
> >          "run to pass large struct"
> > ! gdb_test "step" \
> > !          ".*step-test.exp: arrive here 1.*" \
> > !          "large struct by value"
> >
> >   gdb_continue_to_end "step-test.exp"
> >
> > --- 212,234 ----
> >   gdb_test "continue" \
> >            ".*Breakpoint ${decimal},.*large_struct_by_value.*" \
> >          "run to pass large struct"
> > ! send_gdb "step\n"
> > ! gdb_expect {
> > !     -re ".*step-test.exp: arrive here 1.*$gdb_prompt $" {
> > !       pass "large struct by value"
> > !     }
> > !     -re ".*(memcpy|bcopy).*$gdb_prompt $" {
> > !       send_gdb "finish\n" ; gdb_expect -re "$gdb_prompt $"
> > !       send_gdb "step\n"
> > !       exp_continue
> > !     }
> > !     -re ".*$gdb_prompt $" {
> > !       fail "large struct by value"
> > !     }
> > !     timeout {
> > !       fail "large struct by value (timeout)"
> > !     }
> > ! }
> >
> >   gdb_continue_to_end "step-test.exp"
> >

-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


      reply	other threads:[~2002-03-26 23:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-08  9:00 Fred Fish
2002-01-08 15:15 ` Michael Snyder
2002-01-10 16:03 ` Michael Snyder
2002-03-25 19:22   ` Fred Fish
2002-03-26 14:46     ` Michael Snyder
2002-03-26 15:24       ` Fernando Nasser [this message]

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=3CA102BB.72DF85F4@redhat.com \
    --to=fnasser@redhat.com \
    --cc=fnf@ninemoons.com \
    --cc=fnf@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=msnyder@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