Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Daniel Jacobowitz <dmj+@andrew.cmu.edu>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfa] MIPS/Linux, take 3
Date: Mon, 09 Jul 2001 12:04:00 -0000	[thread overview]
Message-ID: <3B4A003B.2090201@cygnus.com> (raw)
In-Reply-To: <20010706151402.A14469@nevyn.them.org>

Daniel, see attached.  One big glitch, copyright, sigh.

	Andrew
From fnasser@cygnus.com Mon Jul 09 13:25:00 2001
From: Fernando Nasser <fnasser@cygnus.com>
To: Michael Snyder <msnyder@cygnus.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH RFA] ending-run.exp
Date: Mon, 09 Jul 2001 13:25:00 -0000
Message-id: <3B4A132E.AA2DE377@cygnus.com>
References: <3B40EB11.A026F84D@cygnus.com>
X-SW-Source: 2001-07/msg00205.html
Content-length: 995

Michael Snyder wrote:
> 
> This script seems to expect that, if you step past the return from main,
> you will end up in some sort of "start" function.
> 
> Can anyone think of any reason why "Program exited normally" is not
> a legitimate output to see after stepping past the return from main?
> 

Sorry for the delay, I was on vacation.

Well, main() is normally called from inside crt0  from some sort of "start" function.  When you step past the return from main you should return to the frame above main, i.e., to after the call to main inside the "start" function in crt0.

If it is not stopping there it is either a bug or some new situation that did not use to exist.

I don't think we should accept "Program exited normally" until we understand a little bit more of what is actually happening when we get this message.

Regards,
Fernando

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


  reply	other threads:[~2001-07-09 12:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-06 15:14 Daniel Jacobowitz
2001-07-09 12:04 ` Andrew Cagney [this message]
2001-07-09 14:28   ` Daniel Jacobowitz
2001-07-09 20:50   ` Daniel Jacobowitz
2001-07-10 12:50     ` Andrew Cagney
2001-07-10 12:55       ` Daniel Jacobowitz
2001-07-10 12:52   ` Daniel Jacobowitz
2001-07-10 13:27     ` Andrew Cagney
2001-07-10 13:42       ` Daniel Jacobowitz

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=3B4A003B.2090201@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=dmj+@andrew.cmu.edu \
    --cc=gdb-patches@sources.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