Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: RFC: optimized-out pieces
Date: Mon, 07 Jun 2010 22:35:00 -0000	[thread overview]
Message-ID: <20100607223524.GA2897@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <m3typivc5b.fsf@fleche.redhat.com>

Hi Tom,

On Fri, 04 Jun 2010 21:19:28 +0200, Tom Tromey wrote:
> I'd appreciate comments on this patch.  In the absence of comments I
> plan to check it in.

currently it has a lot of regressions, at least tested on Fedora 13 with
-lefence.  Most of them are for x86_64-m32 and i686.  64bit x86_64 is not
regressing much as it has few DW_OP_piece in use.

Good reproducer for x86_64-m32 was for me on current FSF GDB HEAD:
	file gdb.base/store
	b 213
	run
	print u
	print 42

set_value_address sets there value->location.address despite it is an
lval_computed value that time.  Later it crashes on next command:
==4402== Jump to the invalid address stated on the next line
==4402==    at 0x300000: ???
==4402==    by 0x5D6169: free_all_values (value.c:708)
==4402==    by 0x412EED: prepare_execute_command (top.c:339)
==4402==    by 0x412F78: execute_command (top.c:379)
==4402==    by 0x4133B4: command_loop (top.c:524)


x86_64-m32:
	gdb.base/siginfo-obj.exp
	gdb.base/store.exp
x86_64:
	gdb.base/siginfo-obj.exp
	gdb.opt/clobbered-registers-O2.exp - only expected output change
i686:
	gdb.base/siginfo-obj.exp
	gdb.base/store.exp
	gdb.dwarf2/pieces.exp


Regards,
Jan


  parent reply	other threads:[~2010-06-07 22:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-04 19:19 Tom Tromey
2010-06-04 21:42 ` Tom Tromey
2010-06-07 22:35 ` Jan Kratochvil [this message]
2010-06-08 18:36   ` Tom Tromey
2010-06-08 18:42     ` Jan Kratochvil
2010-06-08 18:57       ` Tom Tromey
2010-06-09  5:50         ` Jan Kratochvil
2010-06-10 17:14           ` Tom Tromey
2010-06-11 15:34             ` Tom Tromey
2010-06-14 12:07               ` Frederic Riss
2010-06-15 15:54                 ` Tom Tromey
2010-06-09 18:44         ` Jan Kratochvil
2010-06-14 12:13 ` [commit] Fix "return" command (Re: RFC: optimized-out pieces) Ulrich Weigand
2010-06-15 15:58   ` Tom Tromey

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=20100607223524.GA2897@host0.dyn.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@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