Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michal Ludvig <mludvig@suse.cz>
To: Andrew Cagney <ac131313@redhat.com>
Cc: Mark Kettenis <kettenis@chello.nl>,
	GDB Patches <gdb-patches@sources.redhat.com>
Subject: Re: [offbyone RFC] Merge i386newframe
Date: Fri, 14 Mar 2003 11:54:00 -0000	[thread overview]
Message-ID: <3E71C2F9.3060504@suse.cz> (raw)
In-Reply-To: <3E70D673.1040504@redhat.com>

Andrew Cagney wrote:
>> Hi Andrew,
>> this patch is a merge of Mark's i386newframe-branch to your 
>> offbyone-branch. It works quite well, unwinds through signal frames 
>> and frameless functions, but still has some strange regressions that 
>> aren't present in i386newframe branch.
>>
>> For example this program:
>> int var;
>> void foo ()
>> {
>>   var = 0x1234;
>> }
>> int main ()
>> {
>>   foo ();
>>   return 0;
>> }
>>
>> Running it in the GDB:
>> (gdb) b main
>> Breakpoint 1 at 0x804832c: file tst.c, line 8.
>> (gdb) r
>> Starting program: tst
>>
>> Breakpoint 1, main () at tst.c:8
>> 8         foo ();
>> (gdb) n
> 
> 
> I suspect Daniel's answered this.  The frame ID needs to be constant 
> through out the lifetime of the frame.  Getting that right isn't 
> trivial.  However, getting it right can receive a bonus: d10v now 
> passing mips_pro.exp.

You mean the whole ID should be constant or just id.base? If id.pc must 
be constant as well, it couldn't represent the PC register anymore...
I'm confused.

Michal Ludvig
-- 
* SuSE CR, s.r.o     * mludvig@suse.cz
* (+420) 296.545.373 * http://www.suse.cz


  parent reply	other threads:[~2003-03-14 11:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-12 22:06 Michal Ludvig
2003-03-12 22:42 ` Daniel Jacobowitz
2003-03-13 19:05 ` Andrew Cagney
2003-03-13 22:46   ` Mark Kettenis
2003-03-14 15:48     ` Andrew Cagney
2003-03-14 16:19       ` Andrew Cagney
2003-03-14 18:20       ` Andrew Cagney
2003-04-06 17:10     ` Andrew Cagney
2003-04-07 18:53       ` Mark Kettenis
2003-03-14 11:54   ` Michal Ludvig [this message]
2003-03-14 15:59     ` Andrew Cagney
2003-03-14 15:43 ` Michal Ludvig
2003-03-16 12:48   ` Mark Kettenis
2003-03-17  7:52     ` Michal Ludvig

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=3E71C2F9.3060504@suse.cz \
    --to=mludvig@suse.cz \
    --cc=ac131313@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kettenis@chello.nl \
    /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