Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Mark Williams <mark@myosotissp.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Fix assertion fi->level
Date: Fri, 07 Feb 2020 21:04:00 -0000	[thread overview]
Message-ID: <87r1z6w1l5.fsf@tromey.com> (raw)
In-Reply-To: <CAN0QdPUw5nw8-ELYV5cWtqsr5z_Gwxb4bq61m9m4omWtofVAnQ@mail.gmail.com>	(Mark Williams's message of "Sun, 2 Feb 2020 19:05:08 -0800")

>>>>> "Mark" == Mark Williams <mark@myosotissp.com> writes:

Mark> Apparently I should ping the thread after 2 weeks with no response...

Yeah.

Mark> Note that python unwinders are completely unusable in gdb-8.1 and
Mark> later without this fix...

Thanks.

I read the patch, and I think it looks reasonable.  However, since we
were considering it for gdb 9 in another thread, I applied it and ran
the test suite.  It caused a few regressions, like:

gdb.base/jit-reader.exp: with jit-reader: after mangling: caller frame: cannot a
ssign to register: PASS => FAIL
gdb.mi/mi-reg-undefined.exp: register values, format r, frame 1: PASS => FAIL
gdb.mi/mi-reg-undefined.exp: register values, format r, frame 2: PASS => FAIL
gdb.mi/mi-reg-undefined.exp: register values, format x, frame 1: PASS => FAIL
gdb.mi/mi-reg-undefined.exp: register values, format x, frame 2: PASS => FAIL


Here's some stuff from gdb.log:

me: print pseudo register
print $rbp = -1
Left operand of assignment is not an lvalue.
(gdb) FAIL: gdb.base/jit-reader.exp: with jit-reader: after mangling: caller frame: cannot assign to register


221-data-list-register-values --thread 1 --frame 1 x  0 1 2 8 9
~"../../binutils-gdb/gdb/value.c:389: internal-error: int value_bits_any_optimiz
ed_out(const value*, int, int): Assertion `!value->lazy' failed.\nA problem inte
rnal to GDB has been detected,\nfurther debugging may prove unreliable.\nQuit th
is debugging session? (y or n) "
FAIL: gdb.mi/mi-reg-undefined.exp: register values, format x, frame 1 (timeout)


I didn't investigate any further but there's still some issue to be
worked out.

thanks,
Tom


  reply	other threads:[~2020-02-07 21:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-18 23:04 Mark Williams
2020-01-19 17:27 ` Mark Williams
2020-02-03  3:05   ` Mark Williams
2020-02-07 21:04     ` Tom Tromey [this message]
2020-02-07 21:09       ` Mark Williams
2020-02-09 18:57         ` Mark Williams

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=87r1z6w1l5.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=gdb-patches@sourceware.org \
    --cc=mark@myosotissp.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