From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Ulrich Weigand <uweigand@de.ibm.com>, gdb-patches@sourceware.org
Subject: gdbindex crash: Re: Regression: Re: RFC: implement typed DWARF stack
Date: Sun, 15 May 2011 08:26:00 -0000 [thread overview]
Message-ID: <20110515082601.GA30005@host1.jankratochvil.net> (raw)
In-Reply-To: <m3iptek3m8.fsf@fleche.redhat.com>
On Fri, 13 May 2011 17:43:43 +0200, Tom Tromey wrote:
> I didn't run the final version through the
> tester, neglecting that I had made a major change.
>
> Here is the fix I am checking in.
The new testcase crashes with .gdb_index:
print j
ERROR: Process no longer exists
UNRESOLVED: gdb.dwarf2/typeddwarf.exp: check value of j at typeddwarf.c:29
Thanks,
Jan
#0 0x08365f0f in follow_die_offset (offset=48, ref_cu=0xffdec0a4) at dwarf2read.c:13555
13555 gdb_assert (cu->per_cu != NULL);
(gdb) p cu
$1 = (struct dwarf2_cu *) 0x0
(gdb) bt
#0 in follow_die_offset (offset=48, ref_cu=0xffdec0a4) at dwarf2read.c:13555
#1 in dwarf2_get_die_type (die_offset=48, per_cu=0xb566398) at dwarf2read.c:13680
#2 in dwarf_expr_get_base_type (ctx=0xb811838, die_offset=48) at dwarf2loc.c:296
#3 in dwarf_get_base_type (ctx=0xb811838, die=48, size=0) at dwarf2expr.c:449
#4 in execute_stack_op (ctx=0xb811838, op_ptr=0xb5675a2 "\367)\237\006l", op_end=0xb5675a5 "\006l") at dwarf2expr.c:850
#5 in dwarf_expr_eval (ctx=0xb811838, addr=0xb56759d "\221\030\366\004\060\367)\237\006l", len=8) at dwarf2expr.c:343
#6 in dwarf2_evaluate_loc_desc_full (type=0xb567e84, frame=0xb56646c, data=0xb56759d "\221\030\366\004\060\367)\237\006l", size=8, per_cu=0xb566398,
#7 in dwarf2_evaluate_loc_desc (type=0xb567e84, frame=0xb56646c, data=0xb56759d "\221\030\366\004\060\367)\237\006l", size=8, per_cu=0xb566398)
#8 in locexpr_read_variable (symbol=0xb569f1c, frame=0xb56646c) at dwarf2loc.c:2163
#9 in read_var_value (var=0xb569f1c, frame=0xb56646c) at findvar.c:555
#10 in value_of_variable (var=0xb569f1c, b=0x0) at valops.c:1510
#11 in evaluate_subexp_standard (expect_type=0x0, exp=0xb54ed08, pos=0xffdec7dc, noside=EVAL_NORMAL) at eval.c:847
#12 in evaluate_subexp_c (expect_type=0x0, exp=0xb54ed08, pos=0xffdec7dc, noside=EVAL_NORMAL) at c-lang.c:1076
#13 in evaluate_subexp (expect_type=0x0, exp=0xb54ed08, pos=0xffdec7dc, noside=EVAL_NORMAL) at eval.c:76
#14 in evaluate_expression (exp=0xb54ed08) at eval.c:151
#15 in print_command_1 (exp=0xb2f624e "j", inspect=0, voidprint=1) at ./printcmd.c:973
#16 in print_command (exp=0xb2f624e "j", from_tty=1) at ./printcmd.c:1021
next prev parent reply other threads:[~2011-05-15 8:26 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-04 20:48 Tom Tromey
2011-05-05 16:47 ` Tom Tromey
2011-05-05 18:07 ` Ulrich Weigand
2011-05-05 18:38 ` Tom Tromey
2011-05-05 20:15 ` Tom Tromey
2011-05-09 22:02 ` Ulrich Weigand
2011-05-10 14:15 ` Tom Tromey
2011-05-11 0:15 ` Ulrich Weigand
2011-05-11 14:59 ` Tom Tromey
2011-05-11 19:44 ` Tom Tromey
2011-05-12 0:03 ` Ulrich Weigand
2011-05-12 16:33 ` Tom Tromey
2011-05-13 7:52 ` Regression: " Jan Kratochvil
2011-05-13 15:44 ` Tom Tromey
2011-05-15 8:26 ` Jan Kratochvil [this message]
2011-05-16 17:37 ` gdbindex crash: " Tom Tromey
2011-05-17 17:01 ` Tom Tromey
2011-05-13 17:17 ` Tom Tromey
2011-05-13 17:34 ` Jan Kratochvil
2011-05-12 19:32 ` Tom Tromey
2011-05-16 15:50 ` Ulrich Weigand
2011-05-16 18:09 ` Tom Tromey
2011-05-17 8:35 ` Jakub Jelinek
2011-06-03 13:52 ` Tom Tromey
2011-05-10 16:39 ` 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=20110515082601.GA30005@host1.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@redhat.com \
--cc=uweigand@de.ibm.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