Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: gdb@sources.redhat.com
Subject: Re: [RFC] Is inside_entry_file useful and needed?
Date: Thu, 27 Mar 2003 17:24:00 -0000	[thread overview]
Message-ID: <20030327172408.GO23762@cygbert.vinschen.de> (raw)
In-Reply-To: <3E833001.8070809@redhat.com>

On Thu, Mar 27, 2003 at 12:08:17PM -0500, Andrew Cagney wrote:
> >Hi,
> >
> >the reason I'm going to discuss the inside_entry_file() function is that
> >I had trouble with the asm-source.exp tests on both platforms I currently
> >care about, Cygwin and XStormy16, one native, one embedded target.
> 
> Please note that these tests work on i386 GNU/Linux (and d10v).

I don't doubt that they work on other targets but they apparently fail
due to the calls of the inside_entry_file() for these two targets.

Note that Linux doesn't need the inside_entry_file() function.  All
tests are still working as expected if all calls are dropped as in
my patch on gdb-patches.

> >frame.c::get_prev_frame():
> >[...]
> This thest terminates the unwind after there has been a stack frame in 
> the startup file.  Remember, the d10v, which only relies on this test, 
> works.

Please note that I don't say to remove the inside_entry_file() tests
entirely from gdb.  But it's obviously wrong to call this stuff inside
of the generic functionality.  This should remain in some way inside
of the target specific code.  Either by having a way to disable the calls
for a target or by having a architecture method which is called from
inside the inside_entry_file() function itself.

> Is there something significnatly different between i386 GNU/Linux and, 
> say, cygwin?

I'm not quite sure what you're up to.  There are a whole bunch of
differences probably, e. g. how applications (even assembler apps)
are linked.

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com


      reply	other threads:[~2003-03-27 17:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-26 13:55 Corinna Vinschen
2003-03-27 17:08 ` Andrew Cagney
2003-03-27 17:24   ` Corinna Vinschen [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=20030327172408.GO23762@cygbert.vinschen.de \
    --to=vinschen@redhat.com \
    --cc=gdb@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