public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug backtrace/10770] New: Hang on some CFI programs
@ 2009-10-13 17:51 jan dot kratochvil at redhat dot com
  2009-10-13 17:52 ` [Bug backtrace/10770] " jan dot kratochvil at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2009-10-13 17:51 UTC (permalink / raw)
  To: gdb-prs

The attached testcase contains all the known CFI OP_*s, written by Jakub Jelinek.

(gdb) b force_unwind
Breakpoint 1 at 0x400690: file cleanup-13.c, line 285.
(gdb) r
Starting program: .../cleanup-13 
Breakpoint 1, force_unwind () at cleanup-13.c:285
285	  struct _Unwind_Exception *exc = malloc (sizeof (*exc));
(gdb) bt
#0  force_unwind () at cleanup-13.c:285
#1  0x00000000004006ff in callme () at cleanup-13.c:306
<hang>

-- 
           Summary: Hang on some CFI programs
           Product: gdb
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: backtrace
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: jan dot kratochvil at redhat dot com
                CC: gdb-prs at sourceware dot org
GCC target triplet: x86_64-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=10770

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug backtrace/10770] Hang on some CFI programs
  2009-10-13 17:51 [Bug backtrace/10770] New: Hang on some CFI programs jan dot kratochvil at redhat dot com
@ 2009-10-13 17:52 ` jan dot kratochvil at redhat dot com
  2010-01-19 18:36 ` tromey at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2009-10-13 17:52 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From jan dot kratochvil at redhat dot com  2009-10-13 17:52 -------
Created an attachment (id=4277)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4277&action=view)
testcase


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10770

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug backtrace/10770] Hang on some CFI programs
  2009-10-13 17:51 [Bug backtrace/10770] New: Hang on some CFI programs jan dot kratochvil at redhat dot com
  2009-10-13 17:52 ` [Bug backtrace/10770] " jan dot kratochvil at redhat dot com
@ 2010-01-19 18:36 ` tromey at redhat dot com
  2010-01-20 18:06 ` cvs-commit at gcc dot gnu dot org
  2010-01-20 18:08 ` tromey at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2010-01-19 18:36 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From tromey at redhat dot com  2010-01-19 18:36 -------
Testing a patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at sourceware dot|tromey at redhat dot com
                   |org                         |
             Status|UNCONFIRMED                 |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=10770

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug backtrace/10770] Hang on some CFI programs
  2009-10-13 17:51 [Bug backtrace/10770] New: Hang on some CFI programs jan dot kratochvil at redhat dot com
  2009-10-13 17:52 ` [Bug backtrace/10770] " jan dot kratochvil at redhat dot com
  2010-01-19 18:36 ` tromey at redhat dot com
@ 2010-01-20 18:06 ` cvs-commit at gcc dot gnu dot org
  2010-01-20 18:08 ` tromey at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2010-01-20 18:06 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-01-20 18:06 -------
Subject: Bug 10770

CVSROOT:	/cvs/src
Module name:	src
Changes by:	tromey@sourceware.org	2010-01-20 18:06:16

Modified files:
	gdb            : ChangeLog dwarf2expr.c valarith.c 
	gdb/testsuite  : ChangeLog 
	gdb/testsuite/gdb.dwarf2: Makefile.in 
Added files:
	gdb/testsuite/gdb.dwarf2: pr10770.c pr10770.exp 

Log message:
	gdb
	PR backtrace/10770:
	* valarith.c (value_binop): Handle BINOP_GTR, BINOP_LEQ, and
	BINOP_GEQ.  Handle BINOP_NOTEQUAL in the signed case.
	* dwarf2expr.c (new_dwarf_expr_context): Allocate
	dwarf_stack_values, not CORE_ADDRs.
	(execute_stack_op): Change DW_OP_div and comparison operators to
	use signed operands.
	gdb/testsuite
	PR backtrace/10770:
	* gdb.dwarf2/pr10770.exp: New file.
	* gdb.dwarf2/pr10770.c: New file.
	* gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11282&r2=1.11283
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/dwarf2expr.c.diff?cvsroot=src&r1=1.39&r2=1.40
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/valarith.c.diff?cvsroot=src&r1=1.78&r2=1.79
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2096&r2=1.2097
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/pr10770.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/pr10770.exp.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.dwarf2/Makefile.in.diff?cvsroot=src&r1=1.5&r2=1.6



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10770

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug backtrace/10770] Hang on some CFI programs
  2009-10-13 17:51 [Bug backtrace/10770] New: Hang on some CFI programs jan dot kratochvil at redhat dot com
                   ` (2 preceding siblings ...)
  2010-01-20 18:06 ` cvs-commit at gcc dot gnu dot org
@ 2010-01-20 18:08 ` tromey at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2010-01-20 18:08 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From tromey at redhat dot com  2010-01-20 18:08 -------
Fix checked in.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=10770

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-01-20 18:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-13 17:51 [Bug backtrace/10770] New: Hang on some CFI programs jan dot kratochvil at redhat dot com
2009-10-13 17:52 ` [Bug backtrace/10770] " jan dot kratochvil at redhat dot com
2010-01-19 18:36 ` tromey at redhat dot com
2010-01-20 18:06 ` cvs-commit at gcc dot gnu dot org
2010-01-20 18:08 ` tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).